From 9d7e1bae325b275591e083b79f95afc53b97322e Mon Sep 17 00:00:00 2001 From: BlazingSky Date: Sun, 18 Jun 2017 18:39:57 +0100 Subject: [PATCH] Update to latest (#15) * Settings panel injection fix * css fixes * 1.792 * 1.792 * Fix scrolling and tools * Fix scrolling and tools --- css/main.css | 229 ++++++++++++ css/main.min.css | 2 +- js/main.js | 36 +- js/main.min.js | 953 +++++++++++++++++------------------------------ 4 files changed, 597 insertions(+), 623 deletions(-) diff --git a/css/main.css b/css/main.css index 332ca77..db9dc84 100644 --- a/css/main.css +++ b/css/main.css @@ -1901,6 +1901,235 @@ display: block; } +#bd-settings-sidebar .ui-tab-bar-item { + color: #b9bbbe; + padding-top: 6px; + padding-bottom: 6px; + margin-bottom: 2px; + padding: 6px 10px; + position: relative; + font-size: 16px; + line-height: 20px; + border-radius: 3px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + flex-shrink: 0; + font-weight: 500; + cursor: pointer; +} + +#bd-settings-sidebar .ui-tab-bar-item:hover { + color: #f6f6f7; + background-color: hsla(216,4%,74%,.1); +} + +#bd-settings-sidebar .ui-tab-bar-item.selected { + color: #fff; + background-color: #7289da; +} + +#bd-settings-sidebar .ui-tab-bar-header { + color: #72767d; + padding: 6px 10px; + font-size: 12px; + line-height: 16px; + text-transform: uppercase; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + flex-shrink: 0; + font-weight: 500; +} + +#bd-settings-sidebar .ui-tab-bar-separator { + background-color: hsla(218,5%,47%,.3); + margin-left: 10px; + margin-right: 10px; + height: 1px; + margin-bottom: 8px; + margin-top: 8px; +} + +#bd-settingspane-container h2.ui-form-title { + color: #f6f6f7; + text-transform: uppercase; + font-weight: 600; +} + +#bd-settingspane-container .ui-switch-item { + flex-direction: column; +} + +#bd-settingspane-container .ui-switch-item h3 { + font-weight: 500; + color: #f6f6f7; + flex: 1; + line-height: 24px; +} + +#bd-settingspane-container .ui-switch-item .style-description { + color: #72767d; + font-size: 14px; + font-weight: 500; + margin-bottom: 10px; + line-height: 30px; + border-bottom: 1px solid hsla(218,5%,47%,.3); +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + position: relative; + width: 44px; + height: 24px; + display: block; + flex: 0 0 auto; +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper input { + position: absolute; + opacity: 0; + cursor: pointer; + width: 100%; + height: 100%; + z-index: 1; +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch { + background: #7289da; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: #72767d; + border-radius: 14px; + transition: background .15s ease-in-out,box-shadow .15s ease-in-out,border .15s ease-in-out; +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch:before { + content: ""; + display: block; + width: 18px; + height: 18px; + position: absolute; + top: 3px; + left: 3px; + bottom: 3px; + background: #f6f6f7; + border-radius: 10px; + transition: all .15s ease; + box-shadow: 0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05); +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch.checked { + background: #7289da; +} + +#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch.checked:before { + transform: translateX(20px); +} + +#pubslayer .ui-tab-bar-item { + color: #b9bbbe; + padding-top: 6px; + padding-bottom: 6px; + margin-bottom: 2px; + padding: 6px 10px; + position: relative; + font-size: 16px; + line-height: 20px; + border-radius: 3px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + flex-shrink: 0; + font-weight: 500; + cursor: pointer; +} + +#pubslayer .ui-tab-bar-item:hover { + color: #f6f6f7; + background-color: hsla(216,4%,74%,.1); +} + +#pubslayer .ui-tab-bar-item.selected { + color: #fff; + background-color: #7289da; +} + +#pubslayer .ui-tab-bar-header { + color: #72767d; + padding: 6px 10px; + font-size: 12px; + line-height: 16px; + text-transform: uppercase; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + flex-shrink: 0; + font-weight: 500; +} + +#pubslayer #bd-settings-sidebar .ui-tab-bar-separator { + background-color: hsla(218,5%,47%,.3); + margin-left: 10px; + margin-right: 10px; + height: 1px; + margin-bottom: 8px; + margin-top: 8px; +} + +#pubslayer h2.ui-form-title { + color: #f6f6f7; + text-transform: uppercase; + font-weight: 600; +} + +#pubslayer h5.ui-form-title { + color: #f6f6f7; +} + +#pubslayer button { + background: #7289da; + color: #FFF; + font-size: 14px; + font-weight: 500; + line-height: 16px; + padding: 2px 16px; + border: none; + border-radius: 3px; + transition: background-color .17s ease; +} + +#pubslayer button:hover { + background-color: #677bc4; +} + +#pubslayer input { + color: #f6f6f7; + background-color: rgba(0,0,0,.1); + border-color: rgba(0,0,0,.3); + padding: 10px; + height: 30px; + border-width: 1px; + border-style: solid; + border-radius: 3px; + outline: none; + transition: background-color .15s ease,border .15s ease; +} + +#bd-settingspane-container .scroller-wrap { + height: 100%; +} + +#bd-settingspane-container .scroller-wrap .scroller { + display: flex; +} + /*BD BLUE*/ .bd-blue .bd-pfbtn { background: #3a71c1; } .bd-blue .bot-tag {background: #3a71c1;} diff --git a/css/main.min.css b/css/main.min.css index 0d58a08..c69829f 100644 --- a/css/main.min.css +++ b/css/main.min.css @@ -1 +1 @@ -.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.bd-loaderv2{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45ICAgSDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNiAgIEMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjMgICBjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNiAgIGMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjcgICBDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==);position:fixed;bottom:5px;right:5px;z-index:2147483647;display:block;width:20px;height:20px;background-size:100% 100%;-webkit-animation:bd-loaderv2-animation 1.5s ease-in-out infinite}@-webkit-keyframes bd-loaderv2-animation{0%{opacity:.05}50%{opacity:.6}100%{opacity:.05}}.ui-standard-sidebar-view .bda-slist li:nth-child(odd){background:#292b2f;border-top:1px solid #2b2b2b}.ui-standard-sidebar-view .bda-slist li{background:#26272b;border-bottom:1px solid #3f4146}.ui-standard-sidebar-view .bda-slist .bda-description{border-top:1px solid #3f4146;color:#b0b6b9}.ui-standard-sidebar-view .bda-slist .bda-right button{background:#7289da;color:#FFF;border-radius:5px;height:30px;display:block;width:100px;margin:5px}.ui-standard-sidebar-view .bd-psm{background-color:#292b2f;box-shadow:0 0 12px 6px rgba(31,31,31,.32);border:1px solid #3f4146;width:60vw;height:80vh;border-radius:6px}.bd-server-card.bd-server-card-pinned{margin-bottom:11px}.bd-server-card.bd-server-card-pinned:after{background:#3a71c1;content:"";height:3px;width:100%;display:block;position:absolute;margin-top:5px}.ui-standard-sidebar-view #bd-customcss-attach-controls button,.bd-detached-css-editor #bd-customcss-attach-controls button{margin:0;width:100px;background:#36393f;color:#FFF;height:26px;font-weight:600;margin-top:5px;border-radius:3px}.ui-standard-sidebar-view #bd-customcss-attach-controls button:hover,.bd-detached-css-editor #bd-customcss-attach-controls button:hover{background:#3b3e44}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000!important}#custom-css-ta{background:#D8D8D8;height:200px;font-family:"Consolas"}.content-region .CodeMirror,.content-region .cm-s-material .CodeMirror-gutters,#bd-customcss-detach-container .CodeMirror,#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{background:#292b2f!important}.content-region #bd-customcss-attach-controls,#bd-customcss-detach-container #bd-customcss-attach-controls{background:#292b2f;color:#FFF;border:none;box-shadow:0 1px 0 0 #36393f inset}.content-region #bd-customcss-pane,.content-region #bd-customcss-innerpane,#bd-customcss-detach-container #bd-customcss-pane,#bd-customcss-detach-container #bd-customcss-innerpane{min-height:calc(80vh - 165px)}.content-region .CodeMirror,.content-region .CodeMirror-scroll{max-height:calc(95vh - 165px);min-height:calc(95vh - 165px);height:auto}.content-region .CodeMirror-simplescroll-vertical,.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{background:transparent!important}.content-region .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical{margin-right:3px!important}.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{margin-bottom:3px!important}.content-region .CodeMirror-simplescroll-vertical div,.content-region .CodeMirror-simplescroll-horizontal div,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div{background:#18191c!important;border:none!important;border-radius:5px!important}.content-region .CodeMirror-scrollbar-filler,#bd-customcss-detach-container .CodeMirror-scrollbar-filler{display:none!important}.ui-standard-sidebar-view #editor-detached h3{color:#87909c;font-weight:600;font-size:22px}.ui-standard-sidebar-view #editor-detached button{margin:auto;margin-left:calc(50% - 100px);margin-top:20px;background:#7289da;color:#FFF;font-weight:600;border-radius:5px;font-size:20px}.bd-blue .ui-standard-sidebar-view #editor-detached button{background:#3a71c1}.ui-standard-sidebar-view .bd-versioninfo-wrapper{bottom:0;left:0;position:fixed;background:inherit;right:0;padding:5px}.ui-standard-sidebar-view .bd-versioninfo-wrapper span{color:#b9bbbe;font-weight:600;font-size:11px}.ui-standard-sidebar-view .bd-versioninfo-wrapper a{font-size:11px}.bd-server-card .bd-server-tags{flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:0;line-height:24px;font-size:12px;color:#b9bbbe;font-weight:700;margin-right:10px}.ui-card.ui-card-primary.bd-server-card:first-child{margin-bottom:13px}.ui-card.ui-card-primary.bd-server-card:first-child:after{border:3px solid #7289da;content:"";display:block;position:absolute;left:0;right:0;margin-top:4px}.bd-layer{background:#36393f;z-index:900}.spoiler{color:transparent!important}.spoiler img{display:none}.spoiler:before{content:"Spoiler";display:block;background:#1D1D1D;color:#ADADAD!important;min-height:30px;text-align:center;line-height:100%;font-family:"Consolas";padding-top:5px}.emotemenu-enabled .channel-textarea-inner textarea{margin-right:45px!important}#bdbeta{background:red}#emote-menu{background:#36393E;height:0;width:300px;position:absolute;bottom:45px;right:0;border:1px solid #000;border-radius:5px 0 0 0;overflow:hidden;visibility:hidden;transition:all 1s;-webkit-transition:all 1s}.emotemenu-open{height:450px!important;visibility:visible!important}#emote-menu-header{width:100%;height:30px;background-color:#36393E}.emote-menu-tab{float:left;width:130px;text-align:center;padding:7px;color:#ADADAD;background-color:#424549;cursor:pointer}.emote-menu-tab:hover{background-color:#45484C}#emote-menu-inner,#emote-menu-inner-fav{height:412px}.emote-menu-tab-selected{background-color:#36393E}.emote-menu-tab-selected:hover{background-color:#36393E}#emote-container{padding:10px}.emote-container{display:inline-block;padding:2px;border-radius:5px;width:30px;height:30px;position:relative}.emote-icon{max-width:100%;max-height:100%;position:absolute;margin:auto;top:0;right:0;bottom:0;left:0;cursor:pointer}.emote-container:hover{background:rgba(123,123,123,.37)}.emoteflip,.emotespinflip{transform:scaleX(-1)}.emotespin{animation:1s emote-spin infinite linear}.emote1spin{animation:1s emote-spin-reverse infinite linear}.emotespin2{animation:0.5s emote-spin infinite linear}.emote2spin{animation:0.5s emote-spin-reverse infinite linear}.emotespin3{animation:0.2s emote-spin infinite linear}.emote3spin{animation:0.2s emote-spin-reverse infinite linear}.emotepulse{animation:1s emote-pulse infinite linear}.emotetr{transform:translateX(-3px)}.emotebl{transform:translateY(-3px)}.emotebr{transform:translate(-3px,-3px)}.emoteshake{animation:1s emote-shake infinite linear}.emoteflap{transform:scaleY(-1)!important}.emoteshake2{animation:emote-shake2 0.3s linear infinite}.emoteshake3{animation:emote-shake3 0.1s linear infinite}@keyframes emote-shake2{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-shake3{25%{transform:translate(-1px,-1px)}50%{transform:translate(-1px,1px)}75%{transform:translate(1px,1px)}75%{transform:translate(1px,-1px)}}@keyframes emote-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes emote-spin-reverse{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}@keyframes emote-pulse{0%{-webkit-transform:scale(1,1)}50%{-webkit-transform:scale(1.2,1.2)}100%{-webkit-transform:scale(1,1)}}@keyframes emote-shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}#tc-settings-panel{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#tc-settings-panel-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#tc-settings-panel-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#tc-settings-panel-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#rmenu{width:auto;background:#505050;position:absolute;z-index:999999;display:none;box-shadow:0 0 2px #000;padding:2px}#rmenu ul a{text-decoration:none;color:#FFF;padding:3px}#tc-settings-panel-body{overflow:auto}#tc-settings-panel-body ul{overflow:auto;position:absolute;padding:0;margin-top:0;border-bottom:1px solid #000;left:0;right:0;bottom:40px;top:61px}#tc-settings-panel-body ul li{padding:15px;color:#ADADAD;background:#2E3136;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#tc-settings-panel-body ul li:nth-child(odd){background:#33363B}#tc-settings-panel-body ul li h2{display:inline}#tc-links a{color:#FFF}#tc-settings-panel-footer{background:#36393e;height:40px;position:absolute;bottom:0;right:0;left:0;border-top:1px solid #000;box-shadow:0 1px 0 #505050 inset;line-height:40px;padding-left:10px;color:#ADADAD!important}#tc-links{float:right;margin-right:10px}.tc-switch{background:#2e3136;width:100px;height:24px;display:inline-block;float:right;margin:-7px;border:1px solid #000;outline:1px solid #404040;cursor:pointer}.tc-switch.disabled{background:gray;cursor:default}.tc-switch.disabled span{background:gray!important}.tc-switch.disabled .tc-switch-on{border-left:1px gray!important}.tc-switch span{line-height:24px;display:inline-block;width:49px;text-align:center;height:24px}.tc-switch-off{border-right:1px solid #000}.tc-switch-on{border-left:1px solid #404040}.tc-switch-on.active{background:green;border-left:1px solid #00AE08}.tc-switch-off.active{background:#860606}.bd-minimal .avatar-large{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .comment{border-left:2px solid #EBEBEB;padding-left:2px}.bd-minimal .theme-dark .comment{border-left:2px solid #303030}.bd-minimal .user-name{font-size:small}.bd-minimal.bd-minimal-chan .channels-wrap{display:none}.bd-minimal .message-group{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .channel-members .avatar-small{max-width:15px;max-height:15px;background-size:15px 15px}.bd-minimal .channel-members .avatar-small .status{height:5px;width:5px}.bd-minimal .channel-members .member{padding:5px}.bd-minimal .channel-members-wrap{min-width:0}.bd-minimal .channel-members h2{margin-top:3px}.bd-minimal .account .avatar-small,.bd-minimal .account .username{display:none}.bd-minimal .channel-text a{padding:5px!important;font-size:small}.bd-minimal .guild-channels ul .channel-text.unread:not(.selected):not(.channel-muted):before{width:10px;top:8px}.bd-minimal .guild-channels ul .channel-voice{padding:5px!important;font-size:small}.bd-minimal .guild-channels h2{padding:5px}.bd-minimal .guild-channels header spann{font-size:12px}.bd-minimal .channels-wrap{width:160px}.bd-minimal .channels-wrap .guild-channels{padding:0}.bd-minimal .guilds-wrapper .guilds .guild{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner a.avatar-small{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-icon{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-online{margin-left:-15px;font-size:7px}.bd-minimal .guilds-wrapper{width:45px}.bd-minimal .guilds-wrapper .guild-separator{margin-left:-15px}.bd-minimal .guilds-wrapper .guilds .guild.selected:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds .audio .guild-inner:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}.bd-minimal .btn-hamburger{margin-right:-30px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}#bd-changelog{float:right;height:30px;line-height:30px;margin-right:10px;font-size:11px;font-weight:700;cursor:pointer}.fav{display:none;position:absolute;width:15px;height:15px;right:-7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAzFBMVEUAAABQUFBMTExLS0tNTU1MTExNTU1NTU1MTExMTExNTU1LS0tEREBEREBEREBEREBJSUhLS0tLS0tEREBNTU1NTU1NTU1EREArKyhNTU1NTU0AAABMTExKSklMTExNTU1NTU1NTU1KSkpMTExKSkhNTU1KSkpISEZNTU1LS0tAQDxOTk5KSkpLS0tNTU1MTExMTEx/f39MTExMTExLS0pLS0tMTExNTU1NTU1LS0pNTU1NTU1NTU1NTU1NTU1NTUxNTU1NTU1NTUxMTEzB8C/5AAAAOnRSTlMAI8X96oWAgYSF68QBAg0PMCb9BIuLgQUD4N0Bh0mKhZSOQ4gcrKscaW8QRE6fmJyjAshASceG7cIpqQOxTQAAALVJREFUGFddx6FOA0EYAOGZvd07Qm6vVCAAgUUgQEDfX/YZMAigqaFN7iC5tsmPqGPUN/AvUVeoEbGOCElJz08Uzeixqu4AqomVVSNngOVjTqDGZSl3UFtPGV2ot2zaq96YM9p5Ddzcf/nTTAlj+/sNtNu8OcwkIsbPBtrUfMQeEhGQmHbmGIFMwLPzu6UMIwBNgToshgq8Nr2ki+Oy7ebDHp70LRPWB6OZgfWLWei7fJonOOsPCGA9kVlssOoAAAAASUVORK5CYII=);border:none;background-size:100% 100%;background-repeat:no-repeat;background-color:#303030;border-radius:5px;top:-7px;cursor:pointer}#bd-ps-container{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#bd-ps-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#bd-ps-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#bd-ps-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:700;color:#ADADAD}#bd-ps-body{position:absolute;padding:0;margin-top:0;left:0;right:0;bottom:0;top:61px;overflow:auto}.bd-ps-server{width:100%;height:200px}.bd-ps-server-header{height:50px;width:100%;margin-top:1px;background:#202020;color:#AEAEAE;line-height:50px;font-size:20px}.bd-ps-server-header span{margin-left:10px}.bd-ps-server-body{padding:5px}.bd-ps-server-icon{width:90px;height:90px;background:#202020;display:inline-block}.bd-ps-server-info{position:absolute;height:190px;display:inline-block;left:100px;right:5px;color:#AEAEAE;overflow:auto}#bd-ps-body table{width:100%;margin:0;padding:0;border-color:red;border-collapse:collapse;text-align:left}#bd-ps-body table th{background-color:#202020;color:#EDEDED;height:50px;padding-left:5px}#bd-ps-body table tr{margin:0;padding:0;height:50px;background-color:#33363B;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#bd-ps-body table tr td{padding-left:5px;color:#EDEDED;min-width:100px}#bd-ps-body .description{overflow:auto;max-height:60px;word-wrap:break-word}#bd-ps-body table tr:nth-child(odd){background-color:#2E3136}#bd-show-channels{display:none;width:12px;height:18px;background:#2e3136;position:absolute;left:33px;top:79px;text-align:left!important;padding:0px!important;padding-left:3px!important;color:#EBEBEB;z-index:90000}.bd-minimal-chan #bd-show-channels{display:block!important}.tipsy{z-index:9000000001!important;position:absolute;padding:5px;display:block;visibility:visible;opacity:.8}.tipsy-arrow{position:absolute;width:0;height:0;border:5px solid transparent;bottom:0;right:10px;border-bottom:none;border-top-color:black}.tipsy-inner{background-color:black;color:white;max-width:300px;padding:5px 8px 4px;text-align:center;overflow:hidden!important;text-overflow:ellipsis}#bd-psd-container{position:fixed;width:50%;height:75%;display:block;margin-left:25%;margin-top:5%;box-shadow:0 0 20px 0 #000;background:#2E3135;border:1px solid #25282C;min-width:750px;min-height:800px}#bd-psd-header{width:100%;height:40px;border-bottom:1px solid #25282C;line-height:40px;color:#ADADAD}#bd-psd-header span{margin-left:10px}#bd-psd-body{height:100%;width:100%}#bd-psd-table{width:100%;margin:0;padding:0;text-align:left;color:#ADADAD}#bd-psd-table thead th{background:#1D1D1D;padding:5px}#bd-psd-table tbody td{padding:5px}#bd-psd-table tbody tr{background:#292C30}#bd-psd-table tbody tr:nth-child(odd){background:#2E3135}#bd-psd-table button{background:#292C30;border:1px solid #1D1D1D;width:60px;height:30px;color:#ADADAD;cursor:pointer}#bd-psd-table button:hover{background:#2E3135}#bd-psd-header a{float:right;margin-right:10px;font-size:30px;color:#ADADAD;text-decoration:none;margin-top:-7px}.bd-g-table{text-align:left;width:520px;white-space:nowrap}.bd-g-table thead th{background:#EBEBEB!important;color:#87909c!important;padding:5px!important}.bd-g-table tbody tr{background:#E0E0E0!important}.bd-g-table tbody tr:nth-child(odd){background:#ECECEC!important}.bd-g-table tbody td{color:#87909c!important;padding:5px!important;font-size:small}.bd-g-table textarea{width:100%!important;background:#E0E0E0!important;border:none!important;resize:none!important;font-size:small!important;margin:0!important;padding:0!important}.bd-g-table input{margin:0!important;padding:0!important}.message-group.compact .message .markup .message-content{text-indent:0}.bd-psb{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAG6ElEQVR4XtWZS0xTWRjHP54+H+WhQRO0GAQxxikxmhhMKBu2upLoTDKsaupmcGVYVTdjxhUrG9kMG0OYTDKSuGIzZQHGUQNEowaJ4lt8UXwBPuf7kV5ycrmXW26bVP/JlxR6zvc63+uc5n379k1+ZOTLD45CPnR2dkoWcUgpqhS2LUgoxZX+kiwgEolYBmSGlpYWsdDT0xMoLi7uaW5ulk2bNomJJ0+ehPv6+sIfP37s0z1JY893FUKt27ZtQ3n58OGDTE1NQXyWiooKqa6uFtZkN4QyhK0IHFi/fr3MzMyIelos8DkvL09Wr17Nmp/Yk4skDimdNGPbREFBAR+Cq1atki9fvogdGFBSUiLwYa0L4I2MULYNOFtWVja0e/fumIbHvyLyj1KzpLBs2TLp7u6OrFmzJrhx40b5+vWr2PH582fZsmWL6JoQa9ljoBme8EYGspApaYA+4FWFztbU1ETD4bBYGB8fl0QiQWicJkKUfg0qVLiocJmcnBQncAKvXr2Sa9euwWM8VZVI/Hb4KwuxAP/R0VG+P+a7CpnK48G3b9/ibQTJkSNHUKRdhYuuwbMCWOMG9mOgVik+B2/cuPEHCzAcPiT77OwsvCTlsKgaIRjhJ4nDGg7RxsZG+fTpk6XYfIIS6/v27RPA91QbYn8xsO7169fky4L9yWRyPvTevHmDEaKykRt9+vQpvSOx1BA6uWPHjpiS5BI3b96ETqHPUkNo/P3795LrWQkd0MVPCHXdv3//N20+oXXr1kk6IE9IUsKJMEM4IFyIcfiQA4WFiPXGixcvRHVIoIvfMhq/dOkSMSqLgdjVOJWRkREEEs8kJLUf4jP/4zvWsJY9nvlCtUKHTDpxpwqv04rXpifhKujOnTuWtz1Boj98+JBkFsaOoqIicYLKxPAOhr+sjBKUT0qcCcLk9u3b86PCUsCp3Lp1S7Zv3054iQH+zuos1FpbW4uCZkLzWe7evUvcS36+v5mQvfCgj5gOgB+95vr16wdF5HgmBkS2bt0aWL58udgr0vPnz2V6etoS7BvwgNeGDRvEAidN166srAxquEUI5XQNCChhdaNSiLmlvr4exUk6M46pEG6ex8rzSr1KA0qggUlV6Wd6j1O1oTrR4Cz+yNu7dy/Jf45mJiLDSv1KF5SSTgYc4jLC0THPwxCCGbON4X2rKzsZwKJTKTLxd4rGlGJORlB68bqZI/x9+PBhSnMI0ktRqyb3n5pzLSS33YCodZNCWZTEM8SpDbR6t9A5j/LiDr6jnP0iNrx7904CgYBZ3QgtegYFhIpFrnCzk4sXL0btBgRXrlwZZjFKs9mjRruFT694o9fBACoZjnOSBWGgWXLDAkwDVqxYYXrbq3G5GTAg3hhw4+kBDFk0idOaezglwifLgCe8UdLXnTjJxjQHN47S7bQaSFaP7Q0uPJEP+TJgWBMTCq1du9ZrFCCp3Gb/A54GsMYBdN90vE8BQV+nEIpfvnz5HDMPRmgPwCuOBlAtuNg4gDo/tkgliqXW2IFMV+9bFyqUHxuDvcTdLjQ1qVe1EFRaWhqgkdkNoTM/ePAAgVlpZMT/5s2bccqCLj00NITiSbwOpZQfdbvQjBqzBxPj7zqste/cuXNByeP95+XLl475SJmEJD3Ay6mM4m2UPyEiZ/zOQmcmJibamRipEGYYad8QSi9zSybgNOFD57UPeo8fP05ayvs1IKmMOh49etTGm479eHkupDMizA9wCt6nSdmhMvnQlbWnRfKAYzZPgcTCCC4nGLQU4HXNMXPKNSuS5ZTpTA1oVsXb6urqUNipe6IAVYn7LmOIV0elg+N1Epe9rHc8mV27dlEo2rUCcSfu82tAdM+ePXiEsdax6mAYIcAozEyPgvxNblgnxn56B5d7eHBa7HMD3+MUZA8ODkb9GhDWcfpgeXk5Cnl61jIEYAwv0SgOMMR62Ut31oIXstFBR+mwr4ctvY3FqqqqJJe4d+8e105fD1sJvcjEuODkENZDccLPuxAGdPGG43Ih53kE8iqjfvfzaoEBcXTxm8RxmChaKZfG7YkXA1p/R+qY24hXbk0er27sYT1dHMXZz0MXlY68MZWXZ8+eGc/r/l7m/ksZ0YXCPDbB+MqVK8OqyFHGjqampuOqSIkKO83c4gXW6NoT7GEvPNQhR+EJb2Qgy1t5exJ742BqyBs3OiTv+OaPEpP79+8PuJ0CJ3f16tVh3VNv7BEDrUrB1NB2IZ2fWfMlfcDwpEd7H0ZJ4GYAa8QdXchAVq5+Zu2n4XkYMPI9/8wa1yGMH+lISLvyxLXgZfbkwABP8JPQRH9//1F9Fo/qKBAySiYGDGOgrkmKD/hPYv8IG5+tG1XWQBLPG/Aj439gf0WR+WMvWwAAAABJRU5ErkJggg==);width:25px;height:25px;background-color:transparent;background-size:100%}.bd-psm{position:fixed;pointer-events:auto;width:490px;height:460px;background-color:white;z-index:900000;margin:auto;right:0;left:170px;top:-60px;bottom:0;box-shadow:0 0 10px 5px rgba(193,193,193,.75);border:1px solid #EBEBEB}.bd-alert{position:absolute;width:600px;height:200px;left:0;right:0;top:300px;background-color:#2E3136;margin:auto;border:1px solid #323232;box-shadow:0 0 5px 3px rgba(30,30,30,.5);color:#EBEBEB}.bd-alert-header{height:25px;background:#36393E}.bd-alert-header span{line-height:25px;margin-left:5px}.bd-alert-closebtn{cursor:pointer;float:right;margin-right:5px;margin-top:2px}.bd-alert-closebtn:hover{color:#ADADAD}.bd-alert-body{height:178px}.bd-alert-body a{color:#FFF!important}.bd-alert-body .scroller-wrap{height:178px}.bd-alert-body .scroller-wrap .scroller{padding:5px;word-wrap:break-word}.channel-textarea-inner textarea{margin-right:40px}.servericon{width:64px;display:inline-block;background-size:100% auto;height:64px}.serverinfo{display:inline-block}#pubs-container{width:800px;position:fixed;top:50%;left:50%;margin-top:-284.5px;margin-left:-400px;background:#FFF;z-index:9000000}#pubs-container .scroller-wrap{height:500px}#pubs-header{background:#7289da;padding:5px 12px 5px 5px}#pubs-header h2{display:inline-block;font-weight:600;color:#FFF}#pubs-header input,#pubs-header button{float:right}#pubs-sterm{outline:none!important;padding-left:3px}.bd-dropdown{position:absolute;display:inline-block;width:150px;right:225px}.bd-dropdown button{width:150px}.bd-dropdown .bd-dropdown-list ul{height:0}.bd-dropdown.open .bd-dropdown-list ul{height:140px}.bd-dropdown-list{position:absolute;right:0;top:32px;z-index:90001;width:150px;background:#F3F3F3}.bd-dropdown-list ul{height:0;overflow-y:auto;overflow-x:hidden;transition:all 0.5s ease-in-out}.bd-dropdown-list ul li{padding:5px;background:#E6E6E6;cursor:pointer;color:#87909c;font-weight:600}.bd-dropdown-list ul li:nth-child(odd){background:#E2E1E1}.bd-dropdown-list ul li:hover{background:#F9F5F5}#pubs-header input{border:none;height:30px;width:150px;color:#555;background-color:#fff;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}#pubs-header button{height:32px;background-color:#f9f9f9;color:#949494}#pubs-footer{height:25px;line-height:25px;background:#7289da}#pubs-footer div{float:right;margin-right:5px;font-weight:600px;color:#FFF}#pubs-footer a{color:#FFF;text-decoration:none;font-weight:800}#pubs-container .scroller-wrap{margin-top:75px}.server-row{padding:5px;display:flex;background-color:#FFF}.server-row:nth-child(odd){background-color:#F3F3F3}.server-icon{width:64px;height:64px;background-size:100% auto}.server-info{display:flex;flex-flow:column;line-height:64px;margin-left:20px}.server-info span{font-size:16px;color:#000;font-weight:600}.server-info a{color:#4056a2;text-decoration:none;font-weight:800;margin-left:5px}.server-info button{width:90px;height:48px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.server-info button:hover{background-color:#697ec4}.server-information{flex-grow:1;position:relative}.server-name,.server-desription{flex-grow:100}.server-name span{overflow:hidden;text-overflow:ellipsis;max-width:300px;white-space:nowrap}.server-name-span,.server-description{position:absolute;top:0;transition:visibility 0s,opacity 0.8s linear}.server-official,.server-tags{visibility:visible;opacity:1;transition:visibility 0s,opacity 0.8s linear}.server-information:hover .server-description{visibility:visible;opacity:1}.server-information:hover .server-name-span{visibility:hidden;opacity:0}.server-information:hover .server-tags{visibility:hidden;opacity:0}.server-information:hover .server-official{visibility:hidden;opacity:0}.server-tags{position:absolute!important;bottom:0!important;height:38px!important;font-size:10px!important;visibility:visible;opacity:1}.server-official{position:absolute!important;top:0!important;height:20px!important;font-size:14px!important;line-height:14px!important;color:#7289DA!important;font-weight:700!important;text-shadow:0 0 4px #7289DA;visibility:visible;opacity:1;padding-left:2px;padding-right:2px}.server-description{visibility:hidden;opacity:0;font-size:12px!important;line-height:12px!important;text-overflow:initial!important;white-space:inherit!important;overflow-y:auto!important;height:64px!important}.server-region{min-width:85px}.server-pinned{position:absolute;width:777px;padding-right:-10px;padding-right:17px;border-bottom:2px solid #272727}#server-bd-tag{position:absolute!important;bottom:0!important;height:20px!important;line-height:20px!important;font-size:13px!important;font-weight:600!important}#pubs-spinner{position:fixed;top:50%;left:50%;margin-left:-16px;margin-top:-16px}#pubs-container .scroller::-webkit-scrollbar-track-piece,#pubs-container .scroller::-webkit-scrollbar-thumb{border-radius:0}.bd-hide-bd .callout-backdrop{display:none}.bd-detached-editor .app{width:70%}.bd-detached-editor #bd-customcss-detach-container{display:block}#bd-customcss-detach-container{display:none;position:absolute;width:30%;top:0;right:0;bottom:0;padding-top:58px;background-color:#36393e}#bd-customcss-detach-editor{height:calc(100% - 87px)}#bd-customcss-detach-editor #bd-customcss-innerpane,#bd-customcss-detach-editor .CodeMirror{height:100%}#bd-customcss-detach-controls{background:#E8E8E8;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0 1px 0 0 white;height:100%;padding:5px}#bd-customcss-detach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-detach-controls button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}#bd-customcss-detach-controls-buttons{bottom:5px}#editor-detached{margin-top:50px}#editor-detached h3{text-align:center;font-size:30px}#editor-detached .btn{left:50%;margin-left:-100px;margin-top:10px;width:200px;height:60px}#bd-customcss-attach-controls{background:#E8E8E8;border:1px solid #FFF;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0 1px 0 0 white;height:100%;padding:5px;height:75px}#bd-customcss-attach-controls .checkbox-group{margin-bottom:0}#bd-customcss-attach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-attach-controls button{margin:0;width:100px}#bd-customcss-detach-container #bd-customcss-detach-controls-buttons button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.emoji-picker{box-shadow:none;border-top:none;border-radius:0 0 5px 5px}#bda-qem{border-radius:5px 5px 0 0;background:#FFF;border-bottom:1px solid rgba(0,0,0,.1)!important;height:30px;display:flex;flex-direction:row;padding-right:1px!important}#bda-qem button{border-left:1px solid #EFEFEF;background:transparent;box-shadow:#CECECE 1px 0 0 0;flex-grow:1}#bda-qem button:hover{background:#ECECEC}#bda-qem-twitch{border-radius:5px 0 0 0;order:2}#bda-qem-emojis{border-radius:0 5px 0 0;order:3}#bda-qem-favourite{order:3}#bda-qem button.active{background-color:#E2E2E2}#bda-qem-twitch-container,#bda-qem-favourite-container{width:346px;height:327px;background-color:#FFF;border-radius:0 0 5px 5px}#bda-qem-twitch-container .scroller-wrap,#bda-qem-favourite-container .scroller-wrap{height:100%}.emote-menu-inner{padding:5px 0 0 15px}#rmenu{left:25px;display:block!important;cursor:pointer;color:#FFF;position:fixed}.bda-qme-hidden #bda-qem-emojis{display:none}.bd-select select{width:100%;margin:0;outline:none;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;padding-right:2em;background:none;border:1px solid transparent!important;-webkit-appearance:none;appearance:none;color:#404040;outline:none!important}.bd-select::after{content:" ";position:absolute;top:50%;right:1em;z-index:2;pointer-events:none;display:none}.bd-select select:focus{border-color:#aaa}.bd-select:focus::after{display:block}.bd-select{position:absolute;right:220px;height:32px;top:5px;border-radius:0;display:inline-block;border:none;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:none!important}.bd-select:before{content:"Category";color:#FFF;position:absolute;right:100%;margin-right:5px;line-height:32px}#bd-pane .tab-bar.TOP{margin-bottom:0}#bd-settings-pane{margin-top:18px}.bda-slist-top{height:25px;flex-grow:1}.bda-slist-top>.btn{height:20px;line-height:20px;font-size:13px;padding:6px;padding-top:0;margin-left:5px!important;float:right}.bda-slist li{background:#F3F3F3;padding:5px;border-bottom:1px solid #ADADAD;min-height:116px;max-height:116px}.bda-slist li:nth-child(odd){background:#F3F3F3;border-top:1px solid #FFF}.bda-slist .bda-name{color:#87909C;font-weight:700;font-size:12px;overflow:hidden;display:block;max-height:12px}.bda-slist li div:not(.bda-right):nth-of-type(2){margin-top:30px}.bda-slist .bda-description{margin-top:5px;color:#4E4E4E;width:400px;overflow-y:scroll;min-height:90px;max-height:90px;border-top:1px solid #DADADA;padding-top:5px;word-break:break-word}.bda-slist .scroller::-webkit-scrollbar-track-piece,.bda-slist .scroller::-webkit-scrollbar-thumb{border-radius:0!important;border-color:transparent}.bda-slist .bda-left{width:400px;display:inline-block}.bda-slist .bda-right{display:inline-block;float:right}.bda-slist .checkbox{margin-left:18px}.bda-slist .checkbox:before{content:"Enabled";color:#87909C;margin-right:5px;font-weight:600}.bda-slist .bda-right .btn{height:30px;width:100px;line-height:12px;margin-left:0;text-align:center;display:block}.bda-slist .bda-right .bda-plugin-reload{margin-top:35px}.bda-slist .bda-right .bda-plugin-settings{margin-top:5px}#bd-themes-pane .bda-plugin-reload{margin-top:70px}.bda-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;background:rgba(0,0,0,.5)}.bd-settings{max-width:516px}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark #bda-qem{border-bottom:1px solid #464646!important;background:#353535}.bda-dark #bda-qem button{background:#353535;border-left:1px solid #242424;box-shadow:#424242 1px 0 0 0;color:#FFF}.bda-dark #bda-qem button.active{background-color:#292929}.bda-dark #bda-qem button:hover{background-color:#303030}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark .emoji-picker{background-color:#353535}.bda-dark .emoji-picker .category{background-color:#353535}.bda-dark .emoji-picker .header .search-bar{background-color:#2B2B2B}.bda-dark .emoji-picker .search-bar input{color:#FFF}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder{color:#FFF}.bda-dark .emoji-picker .scroller .emoji-item.selected{background:rgba(123,123,123,.37)}.bda-dark .emoji-picker .dimmer.visible{background-color:rgba(62,62,62,.65)}.bda-dark .emoji-picker .diversity-selector .popout{background:#353535;border-color:#202020}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track-piece,.bda-dark #pubs-container .scroller::-webkit-scrollbar,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark .emoji-picker .scroller::-webkit-scrollbar,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track-piece{background-color:#303030!important;border-color:#303030!important}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-thumb,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-thumb,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-thumb,.bda-dark #pubs-container .scroller::-webkit-scrollbar-thumb{border-color:#202020!important;background-color:#202020!important}.bda-dark .server-row{background-color:#36393E}.bda-dark .server-row:nth-child(odd),.bda-dark #pubs-container{background-color:#2E3136}.bda-dark .server-info span{color:#D6D6D6}.bda-dark #pubs-header,.bda-dark #pubs-footer{background:#202020}.bda-dark #pubs-sterm{background:#36393E;color:#FFF}.bda-dark #pubs-searchbtn{background:#2E3136}.bda-dark .bd-select{background:#36393E}.bda-dark .server-info button{background-color:#202020}.bda-dark #pubs-cat{color:#FFF}.bda-dark .bd-dropdown-select{background-color:#2E3136}.bda-dark .bd-dropdown-list ul li:nth-child(odd){background:#36393E}.bda-dark .bd-dropdown-list ul li{background:#3D4046}.bda-dark .bd-dropdown-list ul li:hover{background:#2D2F33}.bda-dark #pubs-header button{background-color:#2E3136}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar,.server-description::-webkit-scrollbar{width:12px}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-track,.server-description::-webkit-scrollbar-track{background:#303030}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-thumb,.server-description::-webkit-scrollbar-thumb{background:#202020}.bd-pfbtn{position:relative;top:-40px;left:80px;margin-bottom:-19px;background:#7289da;color:#FFF;border-radius:5px;display:block}.bd-blue .bd-pfbtn{background:#3a71c1}.bd-blue .bot-tag{background:#3a71c1}.bd-blue .bot-tag.bot-tag-invert{color:#3a71c1!important}.bd-blue .spinner-wandering-cubes .spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .spinner-item{background-color:#3a71c1}.bd-blue .spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .note textarea::-moz-selection{background:#3a71c1}.bd-blue .note textarea::selection{background:#3a71c1}.bd-blue .scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue #autocomplete-popout .empty h4{color:#3a71c1}.bd-blue .user-popout .header{background:#3a71c1 url(/assets/8cd2f31a12333149b89ef3931626ab83.png)}.bd-blue .checkbox .checkbox-inner input[type=checkbox]:checked+span{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .checkbox .checkbox-inner.alt input[type=checkbox]:checked+span:after{border-color:#3a71c1}.bd-blue .download-apps .footer a{color:#3a71c1}.bd-blue .download-apps .platforms .platform.active{border-color:#3a71c1}.bd-blue .download-apps .platforms .platform.active .download-button{background-color:#3a71c1}.bd-blue .radio .radio-inner span:after{background:#3a71c1}.bd-blue .radio:hover span:after{background:#3a71c1}.bd-blue .radio-image .radio-inner span:after{border:2px solid #3a71c1}.bd-blue .radio-image:hover span:after{border-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .guild-panel-header{background-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .btn-call{color:#3a71c1}.bd-blue .overlay-user-popout .user-popout-options .btn{background-color:#3a71c1}.bd-blue .clipboard-input-inner input::-moz-selection{background:#3a71c1}.bd-blue .clipboard-input-inner input::selection{background:#3a71c1}.bd-blue .btn-help:hover{background:#3a71c1}.bd-blue .popout.popout-left header:before{border-left-color:#3a71c1}.bd-blue .popout.popout-right header:before{border-right-color:#3a71c1}.bd-blue .popout.popout-bottom header:before{border-bottom-color:#3a71c1}.bd-blue .popout.popout-invert:not(.popout-bottom).popout-top header:before{border-top-color:#3a71c1}.bd-blue .guild-channels .channel-text.selected:before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text:hover:not(.unread):before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text.unread:not(.selected):not(.channel-muted).selected:before{background-color:#3a71c1}.bd-blue .guild-channels .channel-voice-states li.speaking .avatar-small{background-color:#3a71c1}.bd-blue .tooltip{background-color:#3a71c1}.bd-blue .tooltip.tooltip-top:after{border-top-color:#3a71c1}.bd-blue .tooltip.tooltip-bottom:after{border-bottom-color:#3a71c1}.bd-blue .tooltip.tooltip-left:after{border-left-color:#3a71c1}.bd-blue .tooltip.tooltip-right:after{border-right-color:#3a71c1}.bd-blue .button{background-color:#3a71c1}.bd-blue .tutorial-popout .button-area .skip-tips a{color:#3a71c1}.bd-blue .chat .has-more button{color:#3a71c1}.bd-blue .chat .new-messages-bar:hover{background-color:#3a71c1}.bd-blue .message-group .edit-message .edit-operation>a{color:#3a71c1}.bd-blue .message-group .edit-message .channel-textarea-inner{border-color:#3a71c1}.bd-blue .mention{color:#3a71c1}.bd-blue .mention:hover{background-color:#3a71c1}.bd-blue .mentioned .mention:hover{color:#3a71c1}.bd-blue .markdown-modal .markdown-modal-header b{color:#3a71c1}.bd-blue .change-log .changelog-fixed{background-color:#3a71c1}.bd-blue .change-log .changelog-button .cta{background-color:#3a71c1}.bd-blue .form .form-header{color:#3a71c1}.bd-blue .form header{color:#3a71c1}.bd-blue .form .control-group textarea:focus{border-bottom:2px solid #3a71c1}.bd-blue .form .btn-primary{background-color:#3a71c1}.bd-blue .region-select button{color:#3a71c1}.bd-blue .region-select:hover button{border-color:#3a71c1}.bd-blue .region-select:hover button{background-color:#3a71c1}.bd-blue .region-select-flag{background-color:#3a71c1}.bd-blue .region-select-flag.vip:after{background:#3a71c1}.bd-blue .region-select-modal .region-select-modal-header{color:#3a71c1}.bd-blue .region-select-modal .region-select-modal-option:hover{border-color:#3a71c1}.bd-blue .upload-drop-modal .bgScale{background:#3a71c1}.bd-blue .upload-modal{background-color:#3a71c1}.bd-blue .upload-modal .inner .file .icon.image{border:2px solid #3a71c1}.bd-blue .avatar-uploader-inner{background-color:#3a71c1}.bd-blue .create-guild-container h5{color:#3a71c1}.bd-blue .create-guild-container .join-server .sample-link{color:#3a71c1}.bd-blue .create-guild-container .action.create .action-header{color:#3a71c1}.bd-blue .tab-bar.TOP .tab-bar-item.selected{border-bottom:2px solid #3a71c1;color:#3a71c1}.bd-blue .tab-bar.SIDE .tab-bar-item:before{border-left:4px solid #3a71c1}.bd-blue .color-picker-popout input:focus{border-color:#3a71c1}.bd-blue #settings-roles .roles li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue #settings-roles .roles li.sorting:after{border:2px solid #3a71c1}.bd-blue .guild-settings-modal-overview a{color:#3a71c1}.bd-blue .need-help-modal .header{background-color:#3a71c1}.bd-blue .search-popout .date-picker .date-picker-hint .hint-value{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day:hover{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day.react-datepicker__day--today:after{background-color:#3a71c1}.bd-blue .messages-popout-wrap .has-more button{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .emoji-picker .premium-promo .btn{background-color:#3a71c1}.bd-blue .channel-textarea.has-results .channel-textarea-inner{border-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner{border:2px solid #3a71c1}.bd-blue .channel-textarea-autocomplete-inner header{background-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner ul.images li.active{border-color:#3a71c1}.bd-blue .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .theme-dark .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .spinner-wandering-cubes .ui-spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-light .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path-2{stroke:#3a71c1}.bd-blue .ui-button.brand.filled{background-color:#3a71c1}.bd-blue .ui-button.brand.filled:disabled{background-color:#3a71c1}.bd-blue .ui-button.brand.inverted{color:#3a71c1}.bd-blue .ui-button.brand.outlined{color:#3a71c1}.bd-blue .ui-button.brand.outlined:active{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-button.brand.outlined:disabled{color:#3a71c1}.bd-blue .ui-button.brand.link{color:#3a71c1}.bd-blue .ui-button.brand.link:not(:disabled):hover .ui-button-contents{background-image:-webkit-linear-gradient(bottom,transparent,transparent 1px,#3a71c1 0,#3a71c1 2px,transparent 0);background-image:linear-gradient(to top,transparent,transparent 1px,#3a71c1 1px,#3a71c1 2px,transparent 2px)}.bd-blue .ui-button.brand.ghost{color:#3a71c1}.bd-blue .ui-button.brand .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-blurple .ui-button.primary.filled{color:#3a71c1}.bd-blue .theme-blurple .ui-form-title.h5{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .progress .progress-bar{background-color:#3a71c1}.bd-blue .radio-theme input[type=radio]:checked~label{border-color:#3a71c1}.bd-blue .now-playing{background:#3a71c1}.bd-blue .user-settings-modal-account .discord-tag{color:#3a71c1}.bd-blue .modal-new-user>.steps .step-3 .instant-invite input{color:#3a71c1}.bd-blue .modal-new-user h5{color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.on:before{background-color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.selected{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item:active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.brand{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control .Select-arrow{border-color:#3a71c1 transparent transparent}.bd-blue .theme-blurple .ui-select .Select.is-open .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer .Select-option{color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-value-label{color:#3a71c1}.bd-blue .ui-card-brand{background:#3a71c1;border-color:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked polyline{stroke:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked.inverted{background:#3a71c1}.bd-blue .ui-region-flag.vip:after{background:#3a71c1}.bd-blue .ui-scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue .ui-quick-select-popout-option .ui-icon-check-mark .ui-icon-fg{stroke:#3a71c1}.bd-blue .ui-switch-checkbox:checked+.ui-switch{background:#3a71c1}.bd-blue #instant-invite-modal .clipboard-input-inner input{color:#3a71c1}.bd-blue #instant-invite-modal .copy{background-color:#3a71c1}.bd-blue .color-brand{color:#3a71c1}.bd-blue .webkhook-modal-header.ui-form-title.h5{color:#3a71c1}.bd-blue .ui-bot-tag{background:#3a71c1}.bd-blue .ui-bot-tag.invert{color:#3a71c1}.bd-blue #user-profile-modal .btn{background-color:#3a71c1}.bd-blue #user-profile-modal .guilds .avatar-large{background-color:#3a71c1}.bd-blue .premium-payment-modal{background-color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button{color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button .spinner .spinner-item{background-color:#3a71c1}.bd-blue .invite-modal .avatar-xxxlarge{background-color:#3a71c1}.bd-blue .ui-screenshare-modal-tile .image-container img.selected{border-color:#3a71c1}.bd-blue .detected-platform-accounts-modal .btn-group .btn-primary{background-color:#3a71c1}.bd-blue .ui-new-terms-modal .title{color:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner header{background:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner footer button.primary{background:#3a71c1}.bd-blue #oauth2-authorize .select select:focus{border-color:#3a71c1}.bd-blue #oauth2-authorize .select.focus:after{border-top-color:#3a71c1}.bd-blue #oauth2-authorize .scope-bot .avatar-large{background-color:#3a71c1}.bd-blue .invite-header .invite-guild-icon{background-color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-header{color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-button{color:#3a71c1;border:2px solid #3a71c1}.bd-blue .invite-mobile .top{background-color:#3a71c1}.bd-blue .invite-mobile .link.purple{background-color:#3a71c1}.bd-blue .verify-connected-account .btn{background-color:#3a71c1}.bd-blue #unsupported-browser li:hover{border-color:#3a71c1}.bd-blue #unsupported-browser li:hover .btn{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-slider .slider-bar-fill{background:#3a71c1}.bd-blue .popout-menu .popout-menu-item.invite{color:#3a71c1}.bd-blue .channel-members .invite-btn{background-color:#3a71c1}.bd-blue .chat .welcome-message h1{color:#3a71c1}.bd-blue .channel-textarea-guard button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button:disabled:hover{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .error-state.not-friends .btn{background:#3a71c1}.bd-blue .ui-call-avatar-border.voice.video.selected{box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .ui-call-avatar-border.video.selected:not(.speaking){box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .invite-banner{background-color:#3a71c1}.bd-blue .invite-banner .instant-invite:not(.clipboard-input-copied) .clipboard-input-inner button{color:#3a71c1}.bd-blue .invite-banner.invite-banner-1 .instant-invite .clipboard-input-inner button:before{background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#3a71c1);background:linear-gradient(to right,hsla(0,0%,100%,0),#3a71c1)}.bd-blue .add-friend-input-wrapper .btn:disabled{background-color:#3a71c1}.bd-blue #friends .btn{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue #friends .friends-table .friends-row .friends-column-guilds .avatar-small{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.selected .badge{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected{color:#3a71c1;background-color:#fff}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected .badge{background-color:#3a71c1}.bd-blue .private-channels .search-result:hover:before{border-left:2px solid #3a71c1}.bd-blue .private-channels .channel.selected .icon-friends{background-color:#3a71c1}.bd-blue .private-channels .channel.selected:before{border-left:2px solid #3a71c1}.bd-blue #rtc-debug-modal #users-section .user-list li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue .notice.notice-brand{background-color:#3a71c1}.bd-blue .notice.notice-brand .btn:hover{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-navigation .button{color:#3a71c1}.bd-blue .onboarding-navigation .step-status .step.current{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide.mic-test .content.waiting .button{color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .ui-switch-wrapper:not(.disabled):not(.clear):hover .ui-switch-checkbox:checked+.ui-switch{background:#3f79ce}.bd-blue *[style*="border-color: rgb(114, 137, 218)"]{border-color:#3a71c1!important}.bd-blue *[style*="background-color: rgb(114, 137, 218)"]{background-color:#3a71c1!important} +.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes "blink"{50%{background-color:transparent;}}@-webkit-keyframes "blink"{50%{background-color:transparent;}}@keyframes "blink"{50%{background-color:transparent;}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll !important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0 !important;border:none !important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}.bd-loaderv2{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAwIDIwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGZpbGw9IiMzRTgyRTUiIGQ9Ik0xNDAyLjIsNjMxLjdjLTkuNy0zNTMuNC0yODYuMi00OTYtNjQyLjYtNDk2SDY4LjR2NzE0LjFsNDQyLDM5OFY0OTAuN2gyNTdjMjc0LjUsMCwyNzQuNSwzNDQuOSwwLDM0NC45ICAgSDU5Ny42djMyOS41aDE2OS44YzI3NC41LDAsMjc0LjUsMzQ0LjgsMCwzNDQuOGgtNjk5djM1NC45aDY5MS4yYzM1Ni4zLDAsNjMyLjgtMTQyLjYsNjQyLjYtNDk2YzAtMTYyLjYtNDQuNS0yODQuMS0xMjIuOS0zNjguNiAgIEMxMzU3LjcsOTE1LjgsMTQwMi4yLDc5NC4zLDE0MDIuMiw2MzEuN3oiLz48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTI2Mi41LDEzNS4yTDEyNjIuNSwxMzUuMmwtNzYuOCwwYzI2LjYsMTMuMyw1MS43LDI4LjEsNzUsNDQuM2M3MC43LDQ5LjEsMTI2LjEsMTExLjUsMTY0LjYsMTg1LjMgICBjMzkuOSw3Ni42LDYxLjUsMTY1LjYsNjQuMywyNjQuNmwwLDEuMnYxLjJjMCwxNDEuMSwwLDU5Ni4xLDAsNzM3LjF2MS4ybDAsMS4yYy0yLjcsOTktMjQuMywxODgtNjQuMywyNjQuNiAgIGMtMzguNSw3My44LTkzLjgsMTM2LjItMTY0LjYsMTg1LjNjLTIyLjYsMTUuNy00Ni45LDMwLjEtNzIuNiw0My4xaDcyLjVjMzQ2LjIsMS45LDY3MS0xNzEuMiw2NzEtNTY3LjlWNzE2LjcgICBDMTkzMy41LDMxMi4yLDE2MDguNywxMzUuMiwxMjYyLjUsMTM1LjJ6Ii8+PC9nPjwvc3ZnPg==);position:fixed;bottom:5px;right:5px;z-index:2147483647;display:block;width:20px;height:20px;background-size:100% 100%;-webkit-animation:bd-loaderv2-animation 1.5s ease-in-out infinite}@-webkit-keyframes "bd-loaderv2-animation"{0%{opacity:0.05;}50%{opacity:0.6;}100%{opacity:0.05;}}.ui-standard-sidebar-view .bda-slist li:nth-child(odd){background:#292b2f;border-top:1px solid #2b2b2b}.ui-standard-sidebar-view .bda-slist li{background:#26272b;border-bottom:1px solid #3f4146}.ui-standard-sidebar-view .bda-slist .bda-description{border-top:1px solid #3f4146;color:#b0b6b9}.ui-standard-sidebar-view .bda-slist .bda-right button{background:#7289da;color:#FFF;border-radius:5px;height:30px;display:block;width:100px;margin:5px}.ui-standard-sidebar-view .bd-psm{background-color:#292b2f;box-shadow:0 0 12px 6px rgba(31, 31, 31, 0.32);border:1px solid #3f4146;width:60vw;height:80vh;border-radius:6px}.bd-server-card.bd-server-card-pinned{margin-bottom:11px}.bd-server-card.bd-server-card-pinned:after{background:#3a71c1;content:"";height:3px;width:100%;display:block;position:absolute;margin-top:5px}.ui-standard-sidebar-view #bd-customcss-attach-controls button,.bd-detached-css-editor #bd-customcss-attach-controls button{margin:0;width:100px;background:#36393f;color:#FFF;height:26px;font-weight:600;margin-top:5px;border-radius:3px}.ui-standard-sidebar-view #bd-customcss-attach-controls button:hover,.bd-detached-css-editor #bd-customcss-attach-controls button:hover{background:#3b3e44}.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000 !important}#custom-css-ta{background:#D8D8D8;height:200px;font-family:"Consolas"}.content-region .CodeMirror,.content-region .cm-s-material .CodeMirror-gutters,#bd-customcss-detach-container .CodeMirror,#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{background:#292b2f !important}.content-region #bd-customcss-attach-controls,#bd-customcss-detach-container #bd-customcss-attach-controls{background:#292b2f;color:#FFF;border:none;box-shadow:0px 1px 0px 0px #36393f inset}.content-region #bd-customcss-pane,.content-region #bd-customcss-innerpane,#bd-customcss-detach-container #bd-customcss-pane,#bd-customcss-detach-container #bd-customcss-innerpane{min-height:calc(80vh - 165px)}.content-region .CodeMirror,.content-region .CodeMirror-scroll{max-height:calc(95vh - 165px);min-height:calc(95vh - 165px);height:auto}.content-region .CodeMirror-simplescroll-vertical,.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{background:transparent !important}.content-region .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical{margin-right:3px !important}.content-region .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{margin-bottom:3px !important}.content-region .CodeMirror-simplescroll-vertical div,.content-region .CodeMirror-simplescroll-horizontal div,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div{background:#18191c !important;border:none !important;border-radius:5px !important}.content-region .CodeMirror-scrollbar-filler,#bd-customcss-detach-container .CodeMirror-scrollbar-filler{display:none !important}.ui-standard-sidebar-view #editor-detached h3{color:#87909c;font-weight:600;font-size:22px}.ui-standard-sidebar-view #editor-detached button{margin:auto;margin-left:calc(50% - 100px);margin-top:20px;background:#7289da;color:#FFF;font-weight:600;border-radius:5px;font-size:20px}.bd-blue .ui-standard-sidebar-view #editor-detached button{background:#3a71c1}.ui-standard-sidebar-view .bd-versioninfo-wrapper{bottom:0;left:0;position:fixed;background:inherit;right:0;padding:5px}.ui-standard-sidebar-view .bd-versioninfo-wrapper span{color:#b9bbbe;font-weight:600;font-size:11px}.ui-standard-sidebar-view .bd-versioninfo-wrapper a{font-size:11px}.bd-server-card .bd-server-tags{flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:0;line-height:24px;font-size:12px;color:#b9bbbe;font-weight:700;margin-right:10px}.ui-card.ui-card-primary.bd-server-card:first-child{margin-bottom:13px}.ui-card.ui-card-primary.bd-server-card:first-child:after{border:3px solid #7289da;content:"";display:block;position:absolute;left:0;right:0;margin-top:4px}.bd-layer{background:#36393f;z-index:900}.spoiler{color:transparent !important}.spoiler img{display:none}.spoiler:before{content:"Spoiler";display:block;background:#1D1D1D;color:#ADADAD !important;min-height:30px;text-align:center;line-height:100%;font-family:"Consolas";padding-top:5px}.emotemenu-enabled .channel-textarea-inner textarea{margin-right:45px !important}#bdbeta{background:red}#emote-menu{background:#36393E;height:0;width:300px;position:absolute;bottom:45px;right:0;border:1px solid #000;border-radius:5px 0 0 0;overflow:hidden;visibility:hidden;transition:all 1s;-webkit-transition:all 1s}.emotemenu-open{height:450px !important;visibility:visible !important}#emote-menu-header{width:100%;height:30px;background-color:#36393E}.emote-menu-tab{float:left;width:130px;text-align:center;padding:7px;color:#ADADAD;background-color:#424549;cursor:pointer}.emote-menu-tab:hover{background-color:#45484C}#emote-menu-inner,#emote-menu-inner-fav{height:412px}.emote-menu-tab-selected{background-color:#36393E}.emote-menu-tab-selected:hover{background-color:#36393E}#emote-container{padding:10px}.emote-container{display:inline-block;padding:2px;border-radius:5px;width:30px;height:30px;position:relative}.emote-icon{max-width:100%;max-height:100%;position:absolute;margin:auto;top:0;right:0;bottom:0;left:0;cursor:pointer}.emote-container:hover{background:rgba(123, 123, 123, 0.37)}.emoteflip,.emotespinflip{transform:scaleX(-1)}.emotespin{animation:1s emote-spin infinite linear}.emote1spin{animation:1s emote-spin-reverse infinite linear}.emotespin2{animation:0.5s emote-spin infinite linear}.emote2spin{animation:0.5s emote-spin-reverse infinite linear}.emotespin3{animation:0.2s emote-spin infinite linear}.emote3spin{animation:0.2s emote-spin-reverse infinite linear}.emotepulse{animation:1s emote-pulse infinite linear}.emotetr{transform:translateX(-3px)}.emotebl{transform:translateY(-3px)}.emotebr{transform:translate(-3px, -3px)}.emoteshake{animation:1s emote-shake infinite linear}.emoteflap{transform:scaleY(-1) !important}.emoteshake2{animation:emote-shake2 0.3s linear infinite}.emoteshake3{animation:emote-shake3 0.1s linear infinite}@keyframes "emote-shake2"{25%{transform:translate(-1px, -1px);}50%{transform:translate(-1px, 1px);}75%{transform:translate(1px, 1px);}75%{transform:translate(1px, -1px);}}@keyframes "emote-shake3"{25%{transform:translate(-1px, -1px);}50%{transform:translate(-1px, 1px);}75%{transform:translate(1px, 1px);}75%{transform:translate(1px, -1px);}}@keyframes "emote-spin"{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}@keyframes "emote-spin-reverse"{from{transform:rotate(0deg);}to{transform:rotate(-360deg);}}@keyframes "emote-pulse"{0%{-webkit-transform:scale(1, 1);}50%{-webkit-transform:scale(1.2, 1.2);}100%{-webkit-transform:scale(1, 1);}}@keyframes "emote-shake"{10%,90%{transform:translate3d(-1px, 0, 0);}20%,80%{transform:translate3d(2px, 0, 0);}30%,50%,70%{transform:translate3d(-4px, 0, 0);}40%,60%{transform:translate3d(4px, 0, 0);}}#tc-settings-panel{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#tc-settings-panel-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#tc-settings-panel-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#tc-settings-panel-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:bold;color:#ADADAD}#rmenu{width:auto;background:#505050;position:absolute;z-index:999999;display:none;box-shadow:0 0 2px #000;padding:2px}#rmenu ul a{text-decoration:none;color:#FFF;padding:3px}#tc-settings-panel-body{overflow:auto}#tc-settings-panel-body ul{overflow:auto;position:absolute;padding:0;margin-top:0;border-bottom:1px solid #000;left:0;right:0;bottom:40px;top:61px}#tc-settings-panel-body ul li{padding:15px;color:#ADADAD;background:#2E3136;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#tc-settings-panel-body ul li:nth-child(odd){background:#33363B}#tc-settings-panel-body ul li h2{display:inline}#tc-links a{color:#FFF}#tc-settings-panel-footer{background:#36393e;height:40px;position:absolute;bottom:0;right:0;left:0;border-top:1px solid #000;box-shadow:0 1px 0 #505050 inset;line-height:40px;padding-left:10px;color:#ADADAD !important}#tc-links{float:right;margin-right:10px}.tc-switch{background:#2e3136;width:100px;height:24px;display:inline-block;float:right;margin:-7px;border:1px solid #000;outline:1px solid #404040;cursor:pointer}.tc-switch.disabled{background:gray;cursor:default}.tc-switch.disabled span{background:gray !important}.tc-switch.disabled .tc-switch-on{border-left:1px gray !important}.tc-switch span{line-height:24px;display:inline-block;width:49px;text-align:center;height:24px}.tc-switch-off{border-right:1px solid #000}.tc-switch-on{border-left:1px solid #404040}.tc-switch-on.active{background:green;border-left:1px solid #00AE08}.tc-switch-off.active{background:#860606}.bd-minimal .avatar-large{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .comment{border-left:2px solid #EBEBEB;padding-left:2px}.bd-minimal .theme-dark .comment{border-left:2px solid #303030}.bd-minimal .user-name{font-size:small}.bd-minimal.bd-minimal-chan .channels-wrap{display:none}.bd-minimal .message-group{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .channel-members .avatar-small{max-width:15px;max-height:15px;background-size:15px 15px}.bd-minimal .channel-members .avatar-small .status{height:5px;width:5px}.bd-minimal .channel-members .member{padding:5px}.bd-minimal .channel-members-wrap{min-width:0px}.bd-minimal .channel-members h2{margin-top:3px}.bd-minimal .account .avatar-small,.bd-minimal .account .username{display:none}.bd-minimal .channel-text a{padding:5px !important;font-size:small}.bd-minimal .guild-channels ul .channel-text.unread:not(.selected):not(.channel-muted):before{width:10px;top:8px}.bd-minimal .guild-channels ul .channel-voice{padding:5px !important;font-size:small}.bd-minimal .guild-channels h2{padding:5px}.bd-minimal .guild-channels header spann{font-size:12px}.bd-minimal .channels-wrap{width:160px}.bd-minimal .channels-wrap .guild-channels{padding:0}.bd-minimal .guilds-wrapper .guilds .guild{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner a.avatar-small{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild .guild-inner{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-icon{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds .friends-online{margin-left:-15px;font-size:7px}.bd-minimal .guilds-wrapper{width:45px}.bd-minimal .guilds-wrapper .guild-separator{margin-left:-15px}.bd-minimal .guilds-wrapper .guilds .guild.selected:before{height:20px;margin-top:-10px}.bd-minimal .guilds-add{font-size:20px;line-height:14px}.bd-minimal .guilds .audio .guild-inner:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}.bd-minimal .btn-hamburger{margin-right:-30px}.emotewrapper{display:inline-block;position:relative}.emotewrapper:hover .fav{display:block}#bd-changelog{float:right;height:30px;line-height:30px;margin-right:10px;font-size:11px;font-weight:700;cursor:pointer}.fav{display:none;position:absolute;width:15px;height:15px;right:-7px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAzFBMVEUAAABQUFBMTExLS0tNTU1MTExNTU1NTU1MTExMTExNTU1LS0tEREBEREBEREBEREBJSUhLS0tLS0tEREBNTU1NTU1NTU1EREArKyhNTU1NTU0AAABMTExKSklMTExNTU1NTU1NTU1KSkpMTExKSkhNTU1KSkpISEZNTU1LS0tAQDxOTk5KSkpLS0tNTU1MTExMTEx/f39MTExMTExLS0pLS0tMTExNTU1NTU1LS0pNTU1NTU1NTU1NTU1NTU1NTUxNTU1NTU1NTUxMTEzB8C/5AAAAOnRSTlMAI8X96oWAgYSF68QBAg0PMCb9BIuLgQUD4N0Bh0mKhZSOQ4gcrKscaW8QRE6fmJyjAshASceG7cIpqQOxTQAAALVJREFUGFddx6FOA0EYAOGZvd07Qm6vVCAAgUUgQEDfX/YZMAigqaFN7iC5tsmPqGPUN/AvUVeoEbGOCElJz08Uzeixqu4AqomVVSNngOVjTqDGZSl3UFtPGV2ot2zaq96YM9p5Ddzcf/nTTAlj+/sNtNu8OcwkIsbPBtrUfMQeEhGQmHbmGIFMwLPzu6UMIwBNgToshgq8Nr2ki+Oy7ebDHp70LRPWB6OZgfWLWei7fJonOOsPCGA9kVlssOoAAAAASUVORK5CYII=");border:none;background-size:100% 100%;background-repeat:no-repeat;background-color:#303030;border-radius:5px;top:-7px;cursor:pointer}#bd-ps-container{position:fixed;width:50%;height:75%;background:#2e3136;display:block;z-index:9001;margin-left:25%;margin-top:5%;border:1px solid #000;box-shadow:0 0 20px 0 #000;max-height:800px;min-width:750px}#bd-ps-header{background:#36393e;height:60px;border-bottom:1px solid #000;box-shadow:0 1px 0 0 #4e4e4e}#bd-ps-header h2{margin:0;line-height:60px;margin-left:10px;color:#ADADAD;display:inline-block;float:left}#bd-ps-header span{float:right;display:inline;line-height:50px;margin-right:15px;font-size:29px;font-weight:bold;color:#ADADAD}#bd-ps-body{position:absolute;padding:0;margin-top:0;left:0;right:0;bottom:0;top:61px;overflow:auto}.bd-ps-server{width:100%;height:200px}.bd-ps-server-header{height:50px;width:100%;margin-top:1px;background:#202020;color:#AEAEAE;line-height:50px;font-size:20px}.bd-ps-server-header span{margin-left:10px}.bd-ps-server-body{padding:5px}.bd-ps-server-icon{width:90px;height:90px;background:#202020;display:inline-block}.bd-ps-server-info{position:absolute;height:190px;display:inline-block;left:100px;right:5px;color:#AEAEAE;overflow:auto}#bd-ps-body table{width:100%;margin:0;padding:0;border-color:red;border-collapse:collapse;text-align:left}#bd-ps-body table th{background-color:#202020;color:#EDEDED;height:50px;padding-left:5px}#bd-ps-body table tr{margin:0;padding:0;height:50px;background-color:#33363B;border-bottom:1px solid #000;box-shadow:0 1px 0 #404040 inset}#bd-ps-body table tr td{padding-left:5px;color:#EDEDED;min-width:100px}#bd-ps-body .description{overflow:auto;max-height:60px;word-wrap:break-word}#bd-ps-body table tr:nth-child(odd){background-color:#2E3136}#bd-show-channels{display:none;width:12px;height:18px;background:#2e3136;position:absolute;left:33px;top:79px;text-align:left !important;padding:0px !important;padding-left:3px !important;color:#EBEBEB;z-index:90000}.bd-minimal-chan #bd-show-channels{display:block !important}.tipsy{z-index:9000000001 !important;position:absolute;padding:5px;display:block;visibility:visible;opacity:0.8}.tipsy-arrow{position:absolute;width:0;height:0;border:5px solid transparent;bottom:0;right:10px;border-bottom:none;border-top-color:black}.tipsy-inner{background-color:black;color:white;max-width:300px;padding:5px 8px 4px;text-align:center;overflow:hidden !important;text-overflow:ellipsis}#bd-psd-container{position:fixed;width:50%;height:75%;display:block;margin-left:25%;margin-top:5%;box-shadow:0 0 20px 0 #000;background:#2E3135;border:1px solid #25282C;min-width:750px;min-height:800px}#bd-psd-header{width:100%;height:40px;border-bottom:1px solid #25282C;line-height:40px;color:#ADADAD}#bd-psd-header span{margin-left:10px}#bd-psd-body{height:100%;width:100%}#bd-psd-table{width:100%;margin:0;padding:0;text-align:left;color:#ADADAD}#bd-psd-table thead th{background:#1D1D1D;padding:5px}#bd-psd-table tbody td{padding:5px}#bd-psd-table tbody tr{background:#292C30}#bd-psd-table tbody tr:nth-child(odd){background:#2E3135}#bd-psd-table button{background:#292C30;border:1px solid #1D1D1D;width:60px;height:30px;color:#ADADAD;cursor:pointer}#bd-psd-table button:hover{background:#2E3135}#bd-psd-header a{float:right;margin-right:10px;font-size:30px;color:#ADADAD;text-decoration:none;margin-top:-7px}.bd-g-table{text-align:left;width:520px;white-space:nowrap}.bd-g-table thead th{background:#EBEBEB !important;color:#87909c !important;padding:5px !important}.bd-g-table tbody tr{background:#E0E0E0 !important}.bd-g-table tbody tr:nth-child(odd){background:#ECECEC !important}.bd-g-table tbody td{color:#87909c !important;padding:5px !important;font-size:small}.bd-g-table textarea{width:100% !important;background:#E0E0E0 !important;border:none !important;resize:none !important;font-size:small !important;margin:0 !important;padding:0 !important}.bd-g-table input{margin:0 !important;padding:0 !important}.message-group.compact .message .markup .message-content{text-indent:0}.bd-psb{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAG6ElEQVR4XtWZS0xTWRjHP54+H+WhQRO0GAQxxikxmhhMKBu2upLoTDKsaupmcGVYVTdjxhUrG9kMG0OYTDKSuGIzZQHGUQNEowaJ4lt8UXwBPuf7kV5ycrmXW26bVP/JlxR6zvc63+uc5n379k1+ZOTLD45CPnR2dkoWcUgpqhS2LUgoxZX+kiwgEolYBmSGlpYWsdDT0xMoLi7uaW5ulk2bNomJJ0+ehPv6+sIfP37s0z1JY893FUKt27ZtQ3n58OGDTE1NQXyWiooKqa6uFtZkN4QyhK0IHFi/fr3MzMyIelos8DkvL09Wr17Nmp/Yk4skDimdNGPbREFBAR+Cq1atki9fvogdGFBSUiLwYa0L4I2MULYNOFtWVja0e/fumIbHvyLyj1KzpLBs2TLp7u6OrFmzJrhx40b5+vWr2PH582fZsmWL6JoQa9ljoBme8EYGspApaYA+4FWFztbU1ETD4bBYGB8fl0QiQWicJkKUfg0qVLiocJmcnBQncAKvXr2Sa9euwWM8VZVI/Hb4KwuxAP/R0VG+P+a7CpnK48G3b9/ibQTJkSNHUKRdhYuuwbMCWOMG9mOgVik+B2/cuPEHCzAcPiT77OwsvCTlsKgaIRjhJ4nDGg7RxsZG+fTpk6XYfIIS6/v27RPA91QbYn8xsO7169fky4L9yWRyPvTevHmDEaKykRt9+vQpvSOx1BA6uWPHjpiS5BI3b96ETqHPUkNo/P3795LrWQkd0MVPCHXdv3//N20+oXXr1kk6IE9IUsKJMEM4IFyIcfiQA4WFiPXGixcvRHVIoIvfMhq/dOkSMSqLgdjVOJWRkREEEs8kJLUf4jP/4zvWsJY9nvlCtUKHTDpxpwqv04rXpifhKujOnTuWtz1Boj98+JBkFsaOoqIicYLKxPAOhr+sjBKUT0qcCcLk9u3b86PCUsCp3Lp1S7Zv3054iQH+zuos1FpbW4uCZkLzWe7evUvcS36+v5mQvfCgj5gOgB+95vr16wdF5HgmBkS2bt0aWL58udgr0vPnz2V6etoS7BvwgNeGDRvEAidN166srAxquEUI5XQNCChhdaNSiLmlvr4exUk6M46pEG6ex8rzSr1KA0qggUlV6Wd6j1O1oTrR4Cz+yNu7dy/Jf45mJiLDSv1KF5SSTgYc4jLC0THPwxCCGbON4X2rKzsZwKJTKTLxd4rGlGJORlB68bqZI/x9+PBhSnMI0ktRqyb3n5pzLSS33YCodZNCWZTEM8SpDbR6t9A5j/LiDr6jnP0iNrx7904CgYBZ3QgtegYFhIpFrnCzk4sXL0btBgRXrlwZZjFKs9mjRruFT694o9fBACoZjnOSBWGgWXLDAkwDVqxYYXrbq3G5GTAg3hhw4+kBDFk0idOaezglwifLgCe8UdLXnTjJxjQHN47S7bQaSFaP7Q0uPJEP+TJgWBMTCq1du9ZrFCCp3Gb/A54GsMYBdN90vE8BQV+nEIpfvnz5HDMPRmgPwCuOBlAtuNg4gDo/tkgliqXW2IFMV+9bFyqUHxuDvcTdLjQ1qVe1EFRaWhqgkdkNoTM/ePAAgVlpZMT/5s2bccqCLj00NITiSbwOpZQfdbvQjBqzBxPj7zqste/cuXNByeP95+XLl475SJmEJD3Ay6mM4m2UPyEiZ/zOQmcmJibamRipEGYYad8QSi9zSybgNOFD57UPeo8fP05ayvs1IKmMOh49etTGm479eHkupDMizA9wCt6nSdmhMvnQlbWnRfKAYzZPgcTCCC4nGLQU4HXNMXPKNSuS5ZTpTA1oVsXb6urqUNipe6IAVYn7LmOIV0elg+N1Epe9rHc8mV27dlEo2rUCcSfu82tAdM+ePXiEsdax6mAYIcAozEyPgvxNblgnxn56B5d7eHBa7HMD3+MUZA8ODkb9GhDWcfpgeXk5Cnl61jIEYAwv0SgOMMR62Ut31oIXstFBR+mwr4ctvY3FqqqqJJe4d+8e105fD1sJvcjEuODkENZDccLPuxAGdPGG43Ih53kE8iqjfvfzaoEBcXTxm8RxmChaKZfG7YkXA1p/R+qY24hXbk0er27sYT1dHMXZz0MXlY68MZWXZ8+eGc/r/l7m/ksZ0YXCPDbB+MqVK8OqyFHGjqampuOqSIkKO83c4gXW6NoT7GEvPNQhR+EJb2Qgy1t5exJ742BqyBs3OiTv+OaPEpP79+8PuJ0CJ3f16tVh3VNv7BEDrUrB1NB2IZ2fWfMlfcDwpEd7H0ZJ4GYAa8QdXchAVq5+Zu2n4XkYMPI9/8wa1yGMH+lISLvyxLXgZfbkwABP8JPQRH9//1F9Fo/qKBAySiYGDGOgrkmKD/hPYv8IG5+tG1XWQBLPG/Aj439gf0WR+WMvWwAAAABJRU5ErkJggg==");width:25px;height:25px;background-color:transparent;background-size:100%}.bd-psm{position:fixed;pointer-events:auto;width:490px;height:460px;background-color:white;z-index:900000;margin:auto;right:0;left:170px;top:-60px;bottom:0;box-shadow:0 0 10px 5px rgba(193, 193, 193, 0.75);border:1px solid #EBEBEB}.bd-alert{position:absolute;width:600px;height:200px;left:0;right:0;top:300px;background-color:#2E3136;margin:auto;border:1px solid #323232;box-shadow:0 0 5px 3px rgba(30, 30, 30, 0.5);color:#EBEBEB}.bd-alert-header{height:25px;background:#36393E}.bd-alert-header span{line-height:25px;margin-left:5px}.bd-alert-closebtn{cursor:pointer;float:right;margin-right:5px;margin-top:2px}.bd-alert-closebtn:hover{color:#ADADAD}.bd-alert-body{height:178px}.bd-alert-body a{color:#FFF !important}.bd-alert-body .scroller-wrap{height:178px}.bd-alert-body .scroller-wrap .scroller{padding:5px;word-wrap:break-word}.channel-textarea-inner textarea{margin-right:40px}.servericon{width:64px;display:inline-block;background-size:100% auto;height:64px}.serverinfo{display:inline-block}#pubs-container{width:800px;position:fixed;top:50%;left:50%;margin-top:-284.5px;margin-left:-400px;background:#FFF;z-index:9000000}#pubs-container .scroller-wrap{height:500px}#pubs-header{background:#7289da;padding:5px 12px 5px 5px}#pubs-header h2{display:inline-block;font-weight:600;color:#FFF}#pubs-header input,#pubs-header button{float:right}#pubs-sterm{outline:none !important;padding-left:3px}.bd-dropdown{position:absolute;display:inline-block;width:150px;right:225px}.bd-dropdown button{width:150px}.bd-dropdown .bd-dropdown-list ul{height:0}.bd-dropdown.open .bd-dropdown-list ul{height:140px}.bd-dropdown-list{position:absolute;right:0;top:32px;z-index:90001;width:150px;background:#F3F3F3}.bd-dropdown-list ul{height:0;overflow-y:auto;overflow-x:hidden;transition:all 0.5s ease-in-out}.bd-dropdown-list ul li{padding:5px;background:#E6E6E6;cursor:pointer;color:#87909c;font-weight:600}.bd-dropdown-list ul li:nth-child(odd){background:#E2E1E1}.bd-dropdown-list ul li:hover{background:#F9F5F5}#pubs-header input{border:none;height:30px;width:150px;color:#555;background-color:#fff;-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}#pubs-header button{height:32px;background-color:#f9f9f9;color:#949494}#pubs-footer{height:25px;line-height:25px;background:#7289da}#pubs-footer div{float:right;margin-right:5px;font-weight:600px;color:#FFF}#pubs-footer a{color:#FFF;text-decoration:none;font-weight:800}#pubs-container .scroller-wrap{margin-top:75px}.server-row{padding:5px;display:flex;background-color:#FFF}.server-row:nth-child(odd){background-color:#F3F3F3}.server-icon{width:64px;height:64px;background-size:100% auto}.server-info{display:flex;flex-flow:column;line-height:64px;margin-left:20px}.server-info span{font-size:16px;color:#000;font-weight:600}.server-info a{color:#4056a2;text-decoration:none;font-weight:800;margin-left:5px}.server-info button{width:90px;height:48px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.server-info button:hover{background-color:#697ec4}.server-information{flex-grow:1;position:relative}.server-name,.server-desription{flex-grow:100}.server-name span{overflow:hidden;text-overflow:ellipsis;max-width:300px;white-space:nowrap}.server-name-span,.server-description{position:absolute;top:0;transition:visibility 0s, opacity 0.8s linear}.server-official,.server-tags{visibility:visible;opacity:1;transition:visibility 0s, opacity 0.8s linear}.server-information:hover .server-description{visibility:visible;opacity:1}.server-information:hover .server-name-span{visibility:hidden;opacity:0}.server-information:hover .server-tags{visibility:hidden;opacity:0}.server-information:hover .server-official{visibility:hidden;opacity:0}.server-tags{position:absolute !important;bottom:0 !important;height:38px !important;font-size:10px !important;visibility:visible;opacity:1}.server-official{position:absolute !important;top:0 !important;height:20px !important;font-size:14px !important;line-height:14px !important;color:#7289DA !important;font-weight:700 !important;text-shadow:0px 0px 4px #7289DA;visibility:visible;opacity:1;padding-left:2px;padding-right:2px}.server-description{visibility:hidden;opacity:0;font-size:12px !important;line-height:12px !important;text-overflow:initial !important;white-space:inherit !important;overflow-y:auto !important;height:64px !important}.server-region{min-width:85px}.server-pinned{position:absolute;width:777px;padding-right:-10px;padding-right:17px;border-bottom:2px solid #272727}#server-bd-tag{position:absolute !important;bottom:0 !important;height:20px !important;line-height:20px !important;font-size:13px !important;font-weight:600 !important}#pubs-spinner{position:fixed;top:50%;left:50%;margin-left:-16px;margin-top:-16px}#pubs-container .scroller::-webkit-scrollbar-track-piece,#pubs-container .scroller::-webkit-scrollbar-thumb{border-radius:0}.bd-hide-bd .callout-backdrop{display:none}.bd-detached-editor .app{width:70%}.bd-detached-editor #bd-customcss-detach-container{display:block}#bd-customcss-detach-container{display:none;position:absolute;width:30%;top:0;right:0;bottom:0;padding-top:58px;background-color:#36393e}#bd-customcss-detach-editor{height:calc(100% - 87px)}#bd-customcss-detach-editor #bd-customcss-innerpane,#bd-customcss-detach-editor .CodeMirror{height:100%}#bd-customcss-detach-controls{background:#E8E8E8;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0px 1px 0px 0px white;height:100%;padding:5px}#bd-customcss-detach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-detach-controls button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}#bd-customcss-detach-controls-buttons{bottom:5px}#editor-detached{margin-top:50px}#editor-detached h3{text-align:center;font-size:30px}#editor-detached .btn{left:50%;margin-left:-100px;margin-top:10px;width:200px;height:60px}#bd-customcss-attach-controls{background:#E8E8E8;border:1px solid #FFF;border-top:1px solid #ADADAD;-webkit-box-shadow:inset 0px 1px 0px 0px white;height:100%;padding:5px;height:75px}#bd-customcss-attach-controls .checkbox-group{margin-bottom:0}#bd-customcss-attach-controls .checkbox-group li{margin-top:5px;display:inline-block}#bd-customcss-attach-controls button{margin:0;width:100px}#bd-customcss-detach-container #bd-customcss-detach-controls-buttons button{width:90px;height:30px;margin-top:8px;background-color:#738bd7;color:#fff;font-size:19px}.emoji-picker{box-shadow:none;border-top:none;border-radius:0 0 5px 5px}#bda-qem{border-radius:5px 5px 0 0;background:#FFF;border-bottom:1px solid rgba(0, 0, 0, 0.1) !important;height:30px;display:flex;flex-direction:row;padding-right:1px !important}#bda-qem button{border-left:1px solid #EFEFEF;background:transparent;box-shadow:#CECECE 1px 0 0 0;flex-grow:1}#bda-qem button:hover{background:#ECECEC}#bda-qem-twitch{border-radius:5px 0 0 0;order:2}#bda-qem-emojis{border-radius:0 5px 0 0;order:3}#bda-qem-favourite{order:3}#bda-qem button.active{background-color:#E2E2E2}#bda-qem-twitch-container,#bda-qem-favourite-container{width:346px;height:327px;background-color:#FFF;border-radius:0 0 5px 5px}#bda-qem-twitch-container .scroller-wrap,#bda-qem-favourite-container .scroller-wrap{height:100%}.emote-menu-inner{padding:5px 0 0 15px}#rmenu{left:25px;display:block !important;cursor:pointer;color:#FFF;position:fixed}.bda-qme-hidden #bda-qem-emojis{display:none}.bd-select select{width:100%;margin:0;outline:none;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;padding-right:2em;background:none;border:1px solid transparent !important;-webkit-appearance:none;appearance:none;color:#404040;outline:none !important}.bd-select::after{content:" ";position:absolute;top:50%;right:1em;z-index:2;pointer-events:none;display:none}.bd-select select:focus{border-color:#aaa}.bd-select:focus::after{display:block}.bd-select{position:absolute;right:220px;height:32px;top:5px;border-radius:0;display:inline-block;border:none;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:none !important}.bd-select:before{content:"Category";color:#FFF;position:absolute;right:100%;margin-right:5px;line-height:32px}#bd-pane .tab-bar.TOP{margin-bottom:0}#bd-settings-pane{margin-top:18px}.bda-slist-top{height:25px;flex-grow:1}.bda-slist-top > .btn{height:20px;line-height:20px;font-size:13px;padding:6px;padding-top:0;margin-left:5px !important;float:right}.bda-slist li{background:#F3F3F3;padding:5px;border-bottom:1px solid #ADADAD;min-height:116px;max-height:116px}.bda-slist li:nth-child(odd){background:#F3F3F3;border-top:1px solid #FFF}.bda-slist .bda-name{color:#87909C;font-weight:700;font-size:12px;overflow:hidden;display:block;max-height:12px}.bda-slist li div:not(.bda-right):nth-of-type(2){margin-top:30px}.bda-slist .bda-description{margin-top:5px;color:#4E4E4E;width:400px;overflow-y:scroll;min-height:90px;max-height:90px;border-top:1px solid #DADADA;padding-top:5px;word-break:break-word}.bda-slist .scroller::-webkit-scrollbar-track-piece,.bda-slist .scroller::-webkit-scrollbar-thumb{border-radius:0 !important;border-color:transparent}.bda-slist .bda-left{width:400px;display:inline-block}.bda-slist .bda-right{display:inline-block;float:right}.bda-slist .checkbox{margin-left:18px}.bda-slist .checkbox:before{content:"Enabled";color:#87909C;margin-right:5px;font-weight:600}.bda-slist .bda-right .btn{height:30px;width:100px;line-height:12px;margin-left:0;text-align:center;display:block}.bda-slist .bda-right .bda-plugin-reload{margin-top:35px}.bda-slist .bda-right .bda-plugin-settings{margin-top:5px}#bd-themes-pane .bda-plugin-reload{margin-top:70px}.bda-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;background:rgba(0,0,0,0.5)}.bd-settings{max-width:516px}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark #bda-qem{border-bottom:1px solid #464646 !important;background:#353535}.bda-dark #bda-qem button{background:#353535;border-left:1px solid #242424;box-shadow:#424242 1px 0 0 0;color:#FFF}.bda-dark #bda-qem button.active{background-color:#292929}.bda-dark #bda-qem button:hover{background-color:#303030}.bda-dark #bda-qem-favourite-container,.bda-dark #bda-qem-twitch-container{background-color:#353535}.bda-dark .emoji-picker{background-color:#353535}.bda-dark .emoji-picker .category{background-color:#353535}.bda-dark .emoji-picker .header .search-bar{background-color:#2B2B2B}.bda-dark .emoji-picker .search-bar input{color:#FFF}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder{color:#FFF}.bda-dark .emoji-picker .scroller .emoji-item.selected{background:rgba(123, 123, 123, 0.37)}.bda-dark .emoji-picker .dimmer.visible{background-color:rgba(62, 62, 62, 0.65)}.bda-dark .emoji-picker .diversity-selector .popout{background:#353535;border-color:#202020}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-track-piece,.bda-dark #pubs-container .scroller::-webkit-scrollbar,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track,.bda-dark #pubs-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030 !important;border-color:#303030 !important}.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-track-piece{background-color:#303030 !important;border-color:#303030 !important}.bda-dark .emoji-picker .scroller::-webkit-scrollbar,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-track-piece{background-color:#303030 !important;border-color:#303030 !important}.bda-dark #bda-qem-twitch-container .scroller::-webkit-scrollbar-thumb,.bda-dark #bda-qem-favourite-container .scroller::-webkit-scrollbar-thumb,.bda-dark .emoji-picker .scroller::-webkit-scrollbar-thumb,.bda-dark #pubs-container .scroller::-webkit-scrollbar-thumb{border-color:#202020 !important;background-color:#202020 !important}.bda-dark .server-row{background-color:#36393E}.bda-dark .server-row:nth-child(odd),.bda-dark #pubs-container{background-color:#2E3136}.bda-dark .server-info span{color:#D6D6D6}.bda-dark #pubs-header,.bda-dark #pubs-footer{background:#202020}.bda-dark #pubs-sterm{background:#36393E;color:#FFF}.bda-dark #pubs-searchbtn{background:#2E3136}.bda-dark .bd-select{background:#36393E}.bda-dark .server-info button{background-color:#202020}.bda-dark #pubs-cat{color:#FFF}.bda-dark .bd-dropdown-select{background-color:#2E3136}.bda-dark .bd-dropdown-list ul li:nth-child(odd){background:#36393E}.bda-dark .bd-dropdown-list ul li{background:#3D4046}.bda-dark .bd-dropdown-list ul li:hover{background:#2D2F33}.bda-dark #pubs-header button{background-color:#2E3136}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar,.server-description::-webkit-scrollbar{width:12px}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-track,.server-description::-webkit-scrollbar-track{background:#303030}.bda-dark .bd-dropdown .bd-dropdown-list ul::-webkit-scrollbar-thumb,.server-description::-webkit-scrollbar-thumb{background:#202020}.bd-pfbtn{position:relative;top:-40px;left:80px;margin-bottom:-19px;background:#7289da;color:#FFF;border-radius:5px;display:block}#bd-settings-sidebar .ui-tab-bar-item{color:#b9bbbe;padding-top:6px;padding-bottom:6px;margin-bottom:2px;padding:6px 10px;position:relative;font-size:16px;line-height:20px;border-radius:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-shrink:0;font-weight:500;cursor:pointer}#bd-settings-sidebar .ui-tab-bar-item:hover{color:#f6f6f7;background-color:hsla(216,4%,74%,.1)}#bd-settings-sidebar .ui-tab-bar-item.selected{color:#fff;background-color:#7289da}#bd-settings-sidebar .ui-tab-bar-header{color:#72767d;padding:6px 10px;font-size:12px;line-height:16px;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-shrink:0;font-weight:500}#bd-settings-sidebar .ui-tab-bar-separator{background-color:hsla(218,5%,47%,.3);margin-left:10px;margin-right:10px;height:1px;margin-bottom:8px;margin-top:8px}#bd-settingspane-container h2.ui-form-title{color:#f6f6f7;text-transform:uppercase;font-weight:600}#bd-settingspane-container .ui-switch-item{flex-direction:column}#bd-settingspane-container .ui-switch-item h3{font-weight:500;color:#f6f6f7;flex:1;line-height:24px}#bd-settingspane-container .ui-switch-item .style-description{color:#72767d;font-size:14px;font-weight:500;margin-bottom:10px;line-height:30px;border-bottom:1px solid hsla(218,5%,47%,.3)}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:44px;height:24px;display:block;flex:0 0 auto}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper input{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;z-index:1}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch{background:#7289da;position:absolute;top:0;right:0;bottom:0;left:0;background:#72767d;border-radius:14px;transition:background .15s ease-in-out,box-shadow .15s ease-in-out,border .15s ease-in-out}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch:before{content:"";display:block;width:18px;height:18px;position:absolute;top:3px;left:3px;bottom:3px;background:#f6f6f7;border-radius:10px;transition:all .15s ease;box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05)}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch.checked{background:#7289da}#bd-settingspane-container .ui-switch-item .ui-switch-wrapper .ui-switch.checked:before{transform:translateX(20px)}#pubslayer .ui-tab-bar-item{color:#b9bbbe;padding-top:6px;padding-bottom:6px;margin-bottom:2px;padding:6px 10px;position:relative;font-size:16px;line-height:20px;border-radius:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-shrink:0;font-weight:500;cursor:pointer}#pubslayer .ui-tab-bar-item:hover{color:#f6f6f7;background-color:hsla(216,4%,74%,.1)}#pubslayer .ui-tab-bar-item.selected{color:#fff;background-color:#7289da}#pubslayer .ui-tab-bar-header{color:#72767d;padding:6px 10px;font-size:12px;line-height:16px;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-shrink:0;font-weight:500}#pubslayer #bd-settings-sidebar .ui-tab-bar-separator{background-color:hsla(218,5%,47%,.3);margin-left:10px;margin-right:10px;height:1px;margin-bottom:8px;margin-top:8px}#pubslayer h2.ui-form-title{color:#f6f6f7;text-transform:uppercase;font-weight:600}#pubslayer h5.ui-form-title{color:#f6f6f7}#pubslayer button{background:#7289da;color:#FFF;font-size:14px;font-weight:500;line-height:16px;padding:2px 16px;border:none;border-radius:3px;transition:background-color .17s ease}#pubslayer button:hover{background-color:#677bc4}#pubslayer input{color:#f6f6f7;background-color:rgba(0,0,0,.1);border-color:rgba(0,0,0,.3);padding:10px;height:30px;border-width:1px;border-style:solid;border-radius:3px;outline:none;transition:background-color .15s ease,border .15s ease}#bd-settingspane-container .scroller-wrap{height:100%}#bd-settingspane-container .scroller-wrap .scroller{display:flex}.bd-blue .bd-pfbtn{background:#3a71c1}.bd-blue .bot-tag{background:#3a71c1}.bd-blue .bot-tag.bot-tag-invert{color:#3a71c1 !important}.bd-blue .spinner-wandering-cubes .spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .spinner-item{background-color:#3a71c1}.bd-blue .spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .note textarea::-moz-selection{background:#3a71c1}.bd-blue .note textarea::selection{background:#3a71c1}.bd-blue .scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue #autocomplete-popout .empty h4{color:#3a71c1}.bd-blue .user-popout .header{background:#3a71c1 url(/assets/8cd2f31a12333149b89ef3931626ab83.png)}.bd-blue .checkbox .checkbox-inner input[type=checkbox]:checked+span{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .checkbox .checkbox-inner.alt input[type=checkbox]:checked+span:after{border-color:#3a71c1}.bd-blue .download-apps .footer a{color:#3a71c1}.bd-blue .download-apps .platforms .platform.active{border-color:#3a71c1}.bd-blue .download-apps .platforms .platform.active .download-button{background-color:#3a71c1}.bd-blue .radio .radio-inner span:after{background:#3a71c1}.bd-blue .radio:hover span:after{background:#3a71c1}.bd-blue .radio-image .radio-inner span:after{border:2px solid #3a71c1}.bd-blue .radio-image:hover span:after{border-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .guild-panel-header{background-color:#3a71c1}.bd-blue #overlay-wrapper .overlay .guild-panel .btn-call{color:#3a71c1}.bd-blue .overlay-user-popout .user-popout-options .btn{background-color:#3a71c1}.bd-blue .clipboard-input-inner input::-moz-selection{background:#3a71c1}.bd-blue .clipboard-input-inner input::selection{background:#3a71c1}.bd-blue .btn-help:hover{background:#3a71c1}.bd-blue .popout.popout-left header:before{border-left-color:#3a71c1}.bd-blue .popout.popout-right header:before{border-right-color:#3a71c1}.bd-blue .popout.popout-bottom header:before{border-bottom-color:#3a71c1}.bd-blue .popout.popout-invert:not(.popout-bottom).popout-top header:before{border-top-color:#3a71c1}.bd-blue .guild-channels .channel-text.selected:before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text:hover:not(.unread):before{border-left:2px solid #3a71c1}.bd-blue .guild-channels .channel-text.unread:not(.selected):not(.channel-muted).selected:before{background-color:#3a71c1}.bd-blue .guild-channels .channel-voice-states li.speaking .avatar-small{background-color:#3a71c1}.bd-blue .tooltip{background-color:#3a71c1}.bd-blue .tooltip.tooltip-top:after{border-top-color:#3a71c1}.bd-blue .tooltip.tooltip-bottom:after{border-bottom-color:#3a71c1}.bd-blue .tooltip.tooltip-left:after{border-left-color:#3a71c1}.bd-blue .tooltip.tooltip-right:after{border-right-color:#3a71c1}.bd-blue .button{background-color:#3a71c1}.bd-blue .tutorial-popout .button-area .skip-tips a{color:#3a71c1}.bd-blue .chat .has-more button{color:#3a71c1}.bd-blue .chat .new-messages-bar:hover{background-color:#3a71c1}.bd-blue .message-group .edit-message .edit-operation>a{color:#3a71c1}.bd-blue .message-group .edit-message .channel-textarea-inner{border-color:#3a71c1}.bd-blue .mention{color:#3a71c1}.bd-blue .mention:hover{background-color:#3a71c1}.bd-blue .mentioned .mention:hover{color:#3a71c1}.bd-blue .markdown-modal .markdown-modal-header b{color:#3a71c1}.bd-blue .change-log .changelog-fixed{background-color:#3a71c1}.bd-blue .change-log .changelog-button .cta{background-color:#3a71c1}.bd-blue .form .form-header{color:#3a71c1}.bd-blue .form header{color:#3a71c1}.bd-blue .form .control-group textarea:focus{border-bottom:2px solid #3a71c1}.bd-blue .form .btn-primary{background-color:#3a71c1}.bd-blue .region-select button{color:#3a71c1}.bd-blue .region-select:hover button{border-color:#3a71c1}.bd-blue .region-select:hover button{background-color:#3a71c1}.bd-blue .region-select-flag{background-color:#3a71c1}.bd-blue .region-select-flag.vip:after{background:#3a71c1}.bd-blue .region-select-modal .region-select-modal-header{color:#3a71c1}.bd-blue .region-select-modal .region-select-modal-option:hover{border-color:#3a71c1}.bd-blue .upload-drop-modal .bgScale{background:#3a71c1}.bd-blue .upload-modal{background-color:#3a71c1}.bd-blue .upload-modal .inner .file .icon.image{border:2px solid #3a71c1}.bd-blue .avatar-uploader-inner{background-color:#3a71c1}.bd-blue .create-guild-container h5{color:#3a71c1}.bd-blue .create-guild-container .join-server .sample-link{color:#3a71c1}.bd-blue .create-guild-container .action.create .action-header{color:#3a71c1}.bd-blue .tab-bar.TOP .tab-bar-item.selected{border-bottom:2px solid #3a71c1;color:#3a71c1}.bd-blue .tab-bar.SIDE .tab-bar-item:before{border-left:4px solid #3a71c1}.bd-blue .color-picker-popout input:focus{border-color:#3a71c1}.bd-blue #settings-roles .roles li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue #settings-roles .roles li.sorting:after{border:2px solid #3a71c1}.bd-blue .guild-settings-modal-overview a{color:#3a71c1}.bd-blue .need-help-modal .header{background-color:#3a71c1}.bd-blue .search-popout .date-picker .date-picker-hint .hint-value{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day:hover{background-color:#3a71c1}.bd-blue .react-datepicker .react-datepicker__day.react-datepicker__day--today:after{background-color:#3a71c1}.bd-blue .messages-popout-wrap .has-more button{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .emoji-picker .premium-promo .btn{background-color:#3a71c1}.bd-blue .channel-textarea.has-results .channel-textarea-inner{border-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner{border:2px solid #3a71c1}.bd-blue .channel-textarea-autocomplete-inner header{background-color:#3a71c1}.bd-blue .channel-textarea-autocomplete-inner ul.images li.active{border-color:#3a71c1}.bd-blue .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .theme-dark .reaction.reaction-me .reaction-count{color:#3a71c1}.bd-blue .spinner-wandering-cubes .ui-spinner-item{background-color:#3a71c1}.bd-blue .spinner-chasing-dots .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-light .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path{stroke:#3a71c1}.bd-blue .theme-dark .ui-spinner.spinner-spinning-circle .path-2{stroke:#3a71c1}.bd-blue .ui-button.brand.filled{background-color:#3a71c1}.bd-blue .ui-button.brand.filled:disabled{background-color:#3a71c1}.bd-blue .ui-button.brand.inverted{color:#3a71c1}.bd-blue .ui-button.brand.outlined{color:#3a71c1}.bd-blue .ui-button.brand.outlined:active{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-button.brand.outlined:disabled{color:#3a71c1}.bd-blue .ui-button.brand.link{color:#3a71c1}.bd-blue .ui-button.brand.link:not(:disabled):hover .ui-button-contents{background-image:-webkit-linear-gradient(bottom, transparent, transparent 1px, #3a71c1 0, #3a71c1 2px, transparent 0);background-image:linear-gradient(to top, transparent, transparent 1px, #3a71c1 1px, #3a71c1 2px, transparent 2px)}.bd-blue .ui-button.brand.ghost{color:#3a71c1}.bd-blue .ui-button.brand .ui-spinner-item{background-color:#3a71c1}.bd-blue .theme-blurple .ui-button.primary.filled{color:#3a71c1}.bd-blue .theme-blurple .ui-form-title.h5{color:#3a71c1}.bd-blue .btn-filled{background-color:#3a71c1}.bd-blue .btn-filled.white{color:#3a71c1}.bd-blue .progress .progress-bar{background-color:#3a71c1}.bd-blue .radio-theme input[type=radio]:checked~label{border-color:#3a71c1}.bd-blue .now-playing{background:#3a71c1}.bd-blue .user-settings-modal-account .discord-tag{color:#3a71c1}.bd-blue .modal-new-user>.steps .step-3 .instant-invite input{color:#3a71c1}.bd-blue .modal-new-user h5{color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.on:before{background-color:#3a71c1}.bd-blue .modal-new-user .steps-wrap .steps li.active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.selected{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item:active{background-color:#3a71c1}.bd-blue .ui-tab-bar.SIDE .ui-tab-bar-item.brand{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select:hover .Select .Select-control .Select-arrow{border-color:#3a71c1 transparent transparent}.bd-blue .theme-blurple .ui-select .Select.is-open .Select-control{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer{border-color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-menu-outer .Select-option{color:#3a71c1}.bd-blue .theme-blurple .ui-select .Select-value-label{color:#3a71c1}.bd-blue .ui-card-brand{background:#3a71c1;border-color:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked polyline{stroke:#3a71c1}.bd-blue .ui-checkbox-wrapper .ui-checkbox.checked.inverted{background:#3a71c1}.bd-blue .ui-region-flag.vip:after{background:#3a71c1}.bd-blue .ui-scroller-wrap .scrollbar .thumb:after{background-color:#3a71c1}.bd-blue .ui-quick-select-popout-option .ui-icon-check-mark .ui-icon-fg{stroke:#3a71c1}.bd-blue .ui-switch-checkbox:checked+.ui-switch{background:#3a71c1}.bd-blue #instant-invite-modal .clipboard-input-inner input{color:#3a71c1}.bd-blue #instant-invite-modal .copy{background-color:#3a71c1}.bd-blue .color-brand{color:#3a71c1}.bd-blue .webkhook-modal-header.ui-form-title.h5{color:#3a71c1}.bd-blue .ui-bot-tag{background:#3a71c1}.bd-blue .ui-bot-tag.invert{color:#3a71c1}.bd-blue #user-profile-modal .btn{background-color:#3a71c1}.bd-blue #user-profile-modal .guilds .avatar-large{background-color:#3a71c1}.bd-blue .premium-payment-modal{background-color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button{color:#3a71c1}.bd-blue .premium-payment-modal .premium-payment-button .spinner .spinner-item{background-color:#3a71c1}.bd-blue .invite-modal .avatar-xxxlarge{background-color:#3a71c1}.bd-blue .ui-screenshare-modal-tile .image-container img.selected{border-color:#3a71c1}.bd-blue .detected-platform-accounts-modal .btn-group .btn-primary{background-color:#3a71c1}.bd-blue .ui-new-terms-modal .title{color:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner header{background:#3a71c1}.bd-blue #oauth2-authorize .authorize-inner footer button.primary{background:#3a71c1}.bd-blue #oauth2-authorize .select select:focus{border-color:#3a71c1}.bd-blue #oauth2-authorize .select.focus:after{border-top-color:#3a71c1}.bd-blue #oauth2-authorize .scope-bot .avatar-large{background-color:#3a71c1}.bd-blue .invite-header .invite-guild-icon{background-color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-header{color:#3a71c1}.bd-blue .invite-marketing .invite-marketing-button{color:#3a71c1;border:2px solid #3a71c1}.bd-blue .invite-mobile .top{background-color:#3a71c1}.bd-blue .invite-mobile .link.purple{background-color:#3a71c1}.bd-blue .verify-connected-account .btn{background-color:#3a71c1}.bd-blue #unsupported-browser li:hover{border-color:#3a71c1}.bd-blue #unsupported-browser li:hover .btn{background-color:#3a71c1;border-color:#3a71c1}.bd-blue .ui-slider .slider-bar-fill{background:#3a71c1}.bd-blue .popout-menu .popout-menu-item.invite{color:#3a71c1}.bd-blue .channel-members .invite-btn{background-color:#3a71c1}.bd-blue .chat .welcome-message h1{color:#3a71c1}.bd-blue .channel-textarea-guard button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .footer button:disabled:hover{background-color:#3a71c1}.bd-blue .private-channel-recipients-invite .error-state.not-friends .btn{background:#3a71c1}.bd-blue .ui-call-avatar-border.voice.video.selected{box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .ui-call-avatar-border.video.selected:not(.speaking){box-shadow:inset 0 0 0 2px #3a71c1}.bd-blue .invite-banner{background-color:#3a71c1}.bd-blue .invite-banner .instant-invite:not(.clipboard-input-copied) .clipboard-input-inner button{color:#3a71c1}.bd-blue .invite-banner.invite-banner-1 .instant-invite .clipboard-input-inner button:before{background:-webkit-linear-gradient(left, hsla(0, 0%, 100%, 0), #3a71c1);background:linear-gradient(to right, hsla(0, 0%, 100%, 0), #3a71c1)}.bd-blue .add-friend-input-wrapper .btn:disabled{background-color:#3a71c1}.bd-blue #friends .btn{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue #friends .friends-table .friends-row .friends-column-guilds .avatar-small{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.selected .badge{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary{background-color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary .badge{color:#3a71c1}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected{color:#3a71c1;background-color:#fff}.bd-blue .theme-dark #friends .friends-header .tab-bar .tab-bar-item.tab-bar-item-primary.selected .badge{background-color:#3a71c1}.bd-blue .private-channels .search-result:hover:before{border-left:2px solid #3a71c1}.bd-blue .private-channels .channel.selected .icon-friends{background-color:#3a71c1}.bd-blue .private-channels .channel.selected:before{border-left:2px solid #3a71c1}.bd-blue #rtc-debug-modal #users-section .user-list li.selected:before{color:#3a71c1;background-color:#3a71c1}.bd-blue .notice.notice-brand{background-color:#3a71c1}.bd-blue .notice.notice-brand .btn:hover{color:#3a71c1}.bd-blue .theme-light .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-dark .ui-text-input .input:focus{border-color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input{color:#3a71c1}.bd-blue .theme-blurple .ui-text-input .input:hover{border-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-navigation .button{color:#3a71c1}.bd-blue .onboarding-navigation .step-status .step.current{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide.mic-test .content.waiting .button{color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .onboarding-slide textarea:focus{box-shadow:0 2px 0 #3a71c1}.bd-blue .nuf-page .button.filled{background-color:#3a71c1}.bd-blue .ui-switch-wrapper:not(.disabled):not(.clear):hover .ui-switch-checkbox:checked+.ui-switch{background:#3f79ce}.bd-blue *[style*="border-color: rgb(114, 137, 218)"]{border-color:#3a71c1 !important}.bd-blue *[style*="background-color: rgb(114, 137, 218)"]{background-color:#3a71c1 !important} diff --git a/js/main.js b/js/main.js index 2bf6dbc..dad991c 100644 --- a/js/main.js +++ b/js/main.js @@ -85,7 +85,7 @@ betterDiscordIPC.on('asynchronous-reply', (event, arg) => { }); var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode; -var jsVersion = 1.791; +var jsVersion = 1.792; var supportedVersion = "0.2.81"; var mainObserver; @@ -191,11 +191,16 @@ var bdchangelog = { }, "fixes": { "0a": { + "title": "1.792 : Fixed settingspanel injection", + "text": "Still has some minor bugs", + "img": "" + }, + "0b": { "title": "1.791 : Restored Buttons", "text": "Restored Open Theme Folder and Open Plugin Folder buttons", "img": "" }, - "0b": { + "0c": { "title": "1.79 : Settings Saving", "text": "Fixed settings not saving with new settings panel", "img": "" @@ -3224,7 +3229,7 @@ class V2C_Switch extends BDV2.reactComponent { "label", { className: "ui-switch-wrapper ui-flex-child", style: { flex: '0 0 auto' } }, BDV2.react.createElement("input", { className: "ui-switch-checkbox", type: "checkbox", checked: checked, onChange: e => this.onChange(e) }), - BDV2.react.createElement("div", { className: "ui-switch" }) + BDV2.react.createElement("div", { className: `ui-switch ${checked ? 'checked' : ''}` }) ) ), BDV2.react.createElement( @@ -3287,7 +3292,6 @@ class V2C_TabBarItem extends BDV2.reactComponent { } onClick() { - if (this.props.onClick) { this.props.onClick(this.props.id); } @@ -3323,7 +3327,15 @@ class V2C_SideBar extends BDV2.reactComponent { constructor(props) { super(props); let self = this; - $('.ui-tab-bar-item').on('click', e => { + const si = $("[class*=side] > [class*=selected]"); + if(si.length) { + self.scn = si.attr("class"); + } + const ns = $("[class*=side] > [class*=notSelected]"); + if(ns.length) { + self.nscn = ns.attr("class"); + } + $("[class*=side] > [class*=item]").on("click", e => { self.setState({ 'selected': null }); @@ -3365,6 +3377,14 @@ class V2C_SideBar extends BDV2.reactComponent { onClick(id) { let self = this; + const si = $("[class*=side] > [class*=selected]"); + if(si.length) { + si.off("click.bdsb").on("click.bsb", e => { + $(e.target).attr("class", self.scn); + }); + si.attr("class", self.nscn); + } + $('.ui-tab-bar-item').removeClass('selected'); self.setState({ 'selected': id @@ -4800,7 +4820,7 @@ class V2_SettingsPanel_Sidebar { } injectRoot() { - let changeLog = $(".ui-tab-bar-item:not(.danger)").last(); + let changeLog = $("[class*=side] > [class*=item]:not([class*=Danger])").last(); if (!changeLog.length) return false; $("", { 'id': 'bd-settings-sidebar' }).insertBefore(changeLog.prev()); return true; @@ -4809,7 +4829,7 @@ class V2_SettingsPanel_Sidebar { render() { let root = this.root; if (!root) { - console.log("FAILED TO LOCATE ROOT: .ui-tab-bar-item:not(.danger)"); + console.log("FAILED TO LOCATE ROOT: [class*=side] > [class*=item]:not([class*=Danger])"); return; } BDV2.reactDom.render(this.component, root); @@ -4965,7 +4985,7 @@ class V2_SettingsPanel { renderSidebar() { let self = this; - $(".ui-tab-bar-item").off('click.v2settingspanel').on('click.v2settingspanel', e => { + $("[class*=side] > [class*=item]").off('click.v2settingspanel').on('click.v2settingspanel', e => { BDV2.reactDom.unmountComponentAtNode(self.root); $(self.root).hide(); $(".content-region").first().show(); diff --git a/js/main.min.js b/js/main.min.js index 8a04698..1b9f536 100644 --- a/js/main.min.js +++ b/js/main.min.js @@ -1,620 +1,345 @@ -(function(){let __fs=window.require("fs");let __process=window.require("process");let __platform=__process.platform;let __dataPath=(__platform==='win32'?__process.env.APPDATA:__platform==='darwin'?__process.env.HOME+'/Library/Preferences':process.env.HOME+'/.config')+'/BetterDiscord/';let __data={};if(__fs.existsSync(`${__dataPath}localStorage.json`)){try{__data=JSON.parse(__fs.readFileSync(`${__dataPath}localStorage.json`))}catch(err){console.log(err)}}else if(__fs.existsSync("localStorage.json")){try{__data=JSON.parse(__fs.readFileSync("localStorage.json"))}catch(err){console.log(err)}} -var __ls=__data;__ls.setItem=function(i,v){__ls[i]=v;this.save()};__ls.getItem=function(i){return __ls[i]||null};__ls.save=function(){__fs.writeFileSync(`${__dataPath}/localStorage.json`,JSON.stringify(this),null,4)};var __proxy=new Proxy(__ls,{set:function(target,name,val,receiver){__ls[name]=val;__ls.save()},get:function(target,name,receiver){return __ls[name]||null}});window.localStorage=__proxy})();(()=>{let v2Loader=document.createElement('div');v2Loader.className="bd-loaderv2";v2Loader.title="BetterDiscord is loading...";document.body.appendChild(v2Loader)})();window.bdStorage={};window.bdStorage.get=function(i){return betterDiscordIPC.sendSync('synchronous-message',{'arg':'storage','cmd':'get','var':i})};window.bdStorage.set=function(i,v){betterDiscordIPC.sendSync('synchronous-message',{'arg':'storage','cmd':'set','var':i,'data':v})};window.bdPluginStorage={};window.bdPluginStorage.get=function(pn,i){return betterDiscordIPC.sendSync('synchronous-message',{'arg':'pluginstorage','cmd':'get','pn':pn,'var':i})};window.bdPluginStorage.set=function(pn,i,v){betterDiscordIPC.sendSync('synchronous-message',{'arg':'pluginstorage','cmd':'set','pn':pn,'var':i,'data':v})};betterDiscordIPC.on('asynchronous-reply',(event,arg)=>{console.log(event);console.log(arg)});var settingsPanel,emoteModule,utils,quickEmoteMenu,opublicServers,voiceMode,pluginModule,themeModule,customCssEditor,dMode;var jsVersion=1.791;var supportedVersion="0.2.81";var mainObserver;var twitchEmoteUrlStart="https://static-cdn.jtvnw.net/emoticons/v1/";var twitchEmoteUrlEnd="/1.0";var ffzEmoteUrlStart="https://cdn.frankerfacez.com/emoticon/";var ffzEmoteUrlEnd="/1";var bttvEmoteUrlStart="https://cdn.betterttv.net/emote/";var bttvEmoteUrlEnd="/1x";var mainCore;var settings={"Save logs locally":{"id":"bda-gs-0","info":"Saves chat logs locally","implemented":!1,"hidden":!1,"cat":"core"},"Public Servers":{"id":"bda-gs-1","info":"Display public servers button","implemented":!0,"hidden":!1,"cat":"core"},"Minimal Mode":{"id":"bda-gs-2","info":"Hide elements and reduce the size of elements.","implemented":!0,"hidden":!1,"cat":"core"},"Voice Mode":{"id":"bda-gs-4","info":"Only show voice chat","implemented":!0,"hidden":!1,"cat":"core"},"Hide Channels":{"id":"bda-gs-3","info":"Hide channels in minimal mode","implemented":!0,"hidden":!1,"cat":"core"},"Dark Mode":{"id":"bda-gs-5","info":"Make certain elements dark by default(wip)","implemented":!0,"hidden":!1,"cat":"core"},"Override Default Emotes":{"id":"bda-es-5","info":"Override default emotes","implemented":!1,"hidden":!1,"cat":"core"},"Voice Disconnect":{"id":"bda-dc-0","info":"Disconnect from voice server when closing Discord","implemented":!0,"hidden":!1,"cat":"core"},"Custom css live update":{"id":"bda-css-0","info":"","implemented":!0,"hidden":!0,"cat":"core"},"Custom css auto udpate":{"id":"bda-css-1","info":"","implemented":!0,"hidden":!0,"cat":"core"},"24 Hour Timestamps":{"id":"bda-gs-6","info":"Replace 12hr timestamps with proper ones","implemented":!0,"hidden":!1,"cat":"core"},"Coloured Text":{"id":"bda-gs-7","info":"Make text colour the same as role colour","implemented":!0,"hidden":!1,"cat":"core"},"BetterDiscord Blue":{"id":"bda-gs-b","info":"Replace Discord blue with BD Blue","implemented":!0,"hidden":!1,"cat":"core"},"Developer Mode":{"id":"bda-gs-8","info":"Developer Mode","implemented":!0,"hidden":!1,"cat":"core"},"Twitch Emotes":{"id":"bda-es-7","info":"Show Twitch emotes","implemented":!0,"hidden":!1,"cat":"emote"},"FrankerFaceZ Emotes":{"id":"bda-es-1","info":"Show FrankerFaceZ Emotes","implemented":!0,"hidden":!1,"cat":"emote"},"BetterTTV Emotes":{"id":"bda-es-2","info":"Show BetterTTV Emotes","implemented":!0,"hidden":!1,"cat":"emote"},"Emote Menu":{"id":"bda-es-0","info":"Show Twitch/Favourite emotes in emote menu","implemented":!0,"hidden":!1,"cat":"emote"},"Emoji Menu":{"id":"bda-es-9","info":"Show Discord emoji menu","implemented":!0,"hidden":!1,"cat":"emote"},"Emote Autocomplete":{"id":"bda-es-3","info":"Autocomplete emote commands","implemented":!1,"hidden":!1,"cat":"emote"},"Emote Auto Capitalization":{"id":"bda-es-4","info":"Autocapitalize emote commands","implemented":!0,"hidden":!1,"cat":"emote"},"Show Names":{"id":"bda-es-6","info":"Show emote names on hover","implemented":!0,"hidden":!1,"cat":"emote"},"Show emote modifiers":{"id":"bda-es-8","info":"Enable emote mods","implemented":!0,"hidden":!1,"cat":"emote"},};var links={"Jiiks.net":{"text":"Jiiks.net","href":"thtp://jiiks.net","target":"_blank"},"twitter":{"text":"Twitter","href":"http://twitter.com/jiiksi","target":"_blank"},"github":{"text":"Github","href":"http://github.com/jiiks","target":"_blank"}};var defaultCookie={"version":jsVersion,"bda-gs-0":!1,"bda-gs-1":!0,"bda-gs-2":!1,"bda-gs-3":!1,"bda-gs-4":!1,"bda-gs-5":!0,"bda-gs-6":!1,"bda-gs-7":!1,"bda-gs-8":!1,"bda-es-0":!0,"bda-es-1":!0,"bda-es-2":!0,"bda-es-3":!1,"bda-es-4":!1,"bda-es-5":!0,"bda-es-6":!0,"bda-es-7":!0,"bda-gs-b":!0,"bda-es-8":!0,"bda-jd":!0,"bda-es-8":!0,"bda-dc-0":!1,"bda-css-0":!1,"bda-css-1":!1,"bda-es-9":!0};var bdchangelog={"changes":{"0a":{"title":"1.78 : Temp support for new settingspanel","text":"Added temp support for Discord's new settingspanel until v2.","img":""},"0b":{"title":"1.78 : Public Servers","text":"New look and flow for public servers","img":""},"0c":{"title":"1.78 : New loading icon","text":"New loading icon will now display in bottom right when BD is loading.","img":""},"0d":{"title":"1.78 : New CustomCSS editor look","text":"Updated CustomCSS editor with dark theme","img":""},"0e":{"title":"1.78 : BetterDiscord Blue","text":"Replace Discord blue with BetterDiscord blue!","img":""}},"fixes":{"0a":{"title":"1.791 : Restored Buttons","text":"Restored Open Theme Folder and Open Plugin Folder buttons","img":""},"0b":{"title":"1.79 : Settings Saving","text":"Fixed settings not saving with new settings panel","img":""}}};var settingsCookie={};function Core(){} -Core.prototype.init=function(){var self=this;var lVersion=(typeof(version)==="undefined")?bdVersion:version;if(lVersion
Please download the latest version from BetterDiscord.net");return} -utils=new Utils();var sock=new BdWSocket();sock.start();utils.getHash();emoteModule=new EmoteModule();quickEmoteMenu=new QuickEmoteMenu();voiceMode=new VoiceMode();dMode=new devMode();emoteModule.init();this.initSettings();this.initObserver();function gwDefer(){console.log(new Date().getTime()+" Defer");if($(".guilds-wrapper .guilds").children().length>0){console.log(new Date().getTime()+" Defer Loaded");var guilds=$(".guilds>li:first-child");var showChannelsButton=$("'+' '+'
'+'
';if(bdchangelog.changes!=null){changeLog+=''+'

'+' New Stuff'+'

'+'
    ';for(var change in bdchangelog.changes){change=bdchangelog.changes[change];changeLog+=''+'
  • '+' '+change.title+''+'
    '+change.text+'
    '+'
  • '} -changeLog+='
'} -if(bdchangelog.fixes!=null){changeLog+=''+'

'+' Fixed'+'

'+'
    ';for(var fix in bdchangelog.fixes){fix=bdchangelog.fixes[fix];changeLog+=''+'
  • '+' '+fix.title+''+'
    '+fix.text+'
    '+'
  • '} -changeLog+='
'} -if(bdchangelog.upcoming!=null){changeLog+=''+'

'+' Coming Soon'+'

'+'
    ';for(var upc in bdchangelog.upcoming){upc=bdchangelog.upcoming[upc];changeLog+=''+'
  • '+' '+upc.title+''+'
    '+upc.text+'
    '+'
  • '} -changeLog+='
'} -changeLog+=''+'
'+'
'+' '+' '+' '+'';return changeLog};Core.prototype.alert=function(title,text){var id='';for(var i=0;i<5;i++) -id+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(Math.random()*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".length));var bdAlert='\ - \ - ';$("body").append(bdAlert);utils.addBackdrop(id)};var emotesFfz={};var emotesBTTV={};var emotesTwitch={"emotes":{"emote":{"image_id":0}}};var subEmotesTwitch={};function EmoteModule(){} -EmoteModule.prototype.init=function(){};EmoteModule.prototype.getBlacklist=function(){$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/data/emotefilter.json",function(data){bemotes=data.blacklist})};EmoteModule.prototype.obsCallback=function(mutation){var self=this;for(var i=0;i-1){w=w.replace("[!s]","");parent.data("spoilered",!1);parent.addClass("spoiler")} -var allowedClasses=["flip","spin","pulse","spin2","spin3","1spin","2spin","3spin","tr","bl","br","shake","shake2","shake3","flap"];var useEmoteClass=!1;var emoteClass="";var skipffz=!1;var sw=w;if(w.indexOf(":")>-1){var split=w.split(":");if(split[0]!=""&&split[1]!=""){if(allowedClasses.indexOf(split[1])>-1){sw=split[0];emoteClass=settingsCookie["bda-es-8"]?"emote"+split[1]:""} -if(split[1]=="bttv"){sw=split[0];skipffz=!0}}} -if($.inArray(sw,bemotes)==-1){if(typeof emotesTwitch!=='undefined'&&settingsCookie["bda-es-7"]){if(emotesTwitch.emotes.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null} -var url=twitchEmoteUrlStart+emotesTwitch.emotes[sw].image_id+twitchEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=!0;return}} -if(typeof subEmotesTwitch!=='undefined'&&settingsCookie["bda-es-7"]){if(subEmotesTwitch.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null} -var url=twitchEmoteUrlStart+subEmotesTwitch[sw]+twitchEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=!0;return}} -if(typeof emotesBTTV!=='undefined'&&settingsCookie["bda-es-2"]){if(emotesBTTV.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null} -var url=emotesBTTV[sw];contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=!0;return}} -if((typeof emotesFfz!=='undefined'&&settingsCookie["bda-es-1"])&&(!skipffz||!emotesBTTV2.hasOwnProperty(sw))){if(emotesFfz.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null} -var url=ffzEmoteUrlStart+emotesFfz[sw]+ffzEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=!0;return}} -if(typeof emotesBTTV2!=='undefined'&&settingsCookie["bda-es-2"]){if(emotesBTTV2.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null} -var url=bttvEmoteUrlStart+emotesBTTV2[sw]+bttvEmoteUrlEnd;if(skipffz&&emotesFfz.hasOwnProperty(sw))sw=sw+":bttv";contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=!0;return}}} -if(text==null){text=w}else{text+=""+w} -if(index===a.length-1){contents.splice(i+splice,0,document.createTextNode(text))}});if(doInject){var oldHeight=parent.outerHeight();parent.html(contents);var scrollPane=$(".scroller.messages").first();scrollPane.scrollTop(scrollPane.scrollTop()+(parent.outerHeight()-oldHeight))}})} -inject();if(parent.children().hasClass("edited")){setTimeout(inject,250)}};EmoteModule.prototype.createEmoteElement=function(word,url,mod){var len=Math.round(word.length/4);var name=word.substr(0,len)+"\uFDD9"+word.substr(len,len)+"\uFDD9"+word.substr(len*2,len)+"\uFDD9"+word.substr(len*3);var html=''+name+'';return $.parseHTML(html.replace(new RegExp("\uFDD9","g"),""))[0]};EmoteModule.prototype.autoCapitalize=function(){var self=this;$('body').delegate($(".channel-textarea-inner textarea:first"),'keyup change paste',function(){if(!settingsCookie["bda-es-4"])return;var text=$(".channel-textarea-inner textarea:first").val();if(text==undefined)return;var lastWord=text.split(" ").pop();if(lastWord.length>3){if(lastWord=="danSgame")return;var ret=self.capitalize(lastWord.toLowerCase());if(ret!==null&&ret!==undefined){$(".channel-textarea-inner textarea:first").val(text.replace(lastWord,ret))}}})};EmoteModule.prototype.capitalize=function(value){var res=emotesTwitch.emotes;for(var p in res){if(res.hasOwnProperty(p)&&value==(p+'').toLowerCase()){return p}}};class PublicServers{constructor(){this.v2p=new V2_PublicServers()} -get endPoint(){return 'https://search.discordservers.com'} -get button(){let self=this;let btn=$("
",{class:'guild',id:'bd-pub-li',css:{'height':'20px','display':settingsCookie['bda-gs-1']?"":"none"}}).append($("
",{class:'guild-inner',css:{'height':'20px','border-radius':'4px'}}).append($("",{}).append($("
",{text:'public',id:'bd-pub-button',css:{'line-height':'20px','font-size':'12px'},click:()=>{self.v2p.render()}}))));return btn} -init(){let self=this;let guilds=$(".guilds>:first-child");guilds.after(self.button)} -get layer(){let self=this;let layer=``;layer=$(layer);layer.on("blur",e=>{if(e.relatedTarget.id==='bd-pubs-search')return;layer.focus();console.log("blur:");console.log(e)});layer.on("keydown",e=>{if(e.which===13&&e.target.id==='bd-pubs-search'){let category=$("#bd-pubs-layer .ui-tab-bar-item.selected").text();if(category==='All')category='';self.search(self.query({'term':e.target.value,'category':category}),!0);return} -if(e.which!==27)return;self.hide()});layer.find('.btn-close').on('click',e=>{self.hide()});layer.find('.ui-tab-bar.SIDE .ui-tab-bar-item').on('click',e=>{let category=e.target.textContent;if(category==='All')category='';self.search(self.query({'term':$("#bd-pubs-search").val(),'category':category}),!0)});return layer} -serverCard(serverInfo){return `
-
-
-
-
-
-
-
-
${serverInfo.name}
-
-
-
${serverInfo.online}/${serverInfo.members} Members
-
-
-
-
-
-
- ${serverInfo.description} -
-
-
-
-
-
${serverInfo.categories.join(" ,")}
- -
-
-
-
`} -get bdServerCard(){let serverInfo={'name':'BetterDiscord','icon':'https://cdn.discordapp.com/icons/86004744966914048/c8d49dc02248e1f55caeb897c3e1a26e.webp','online':'7500+','members':'20000+','description':'Official BetterDiscord support server'};return `
-
-
-
-
-
-
-
-
${serverInfo.name}
-
-
-
Too many members
-
-
-
-
-
-
- ${serverInfo.description} -
-
-
-
-
-
- -
-
-
-
`} -getPanel(){console.log("pubs get panel");return '
'} -getPinnedServer(){console.log("pubs get pinned server");return '
'} -hidePinnedServer(){console.log("pubs hide pinned server")} -showPinnedServer(){console.log("pubs show pinned server")} -show(){let self=this;$(".layers").append(self.layer)} -hide(){$("#bd-pubs-layer").remove()} -loadServers(dataset,search,clear){console.log("pubs load servers")} -search(query,clear){let self=this;let $list=$("#bd-pubs-listing");if(clear){$list.empty();$("#bd-pubs-listing-container").hide();$("#bd-pubs-bg-spinner").show()} -$.ajax({method:'GET',url:`${self.endPoint}?${query}`,success:data=>{$list.append(self.bdServerCard);data.results.map(server=>{$list.append(self.serverCard(server))});$("#bd-pubs-listing-container").show();$("#bd-pubs-bg-spinner").hide();self.setSearchText(1,$(".bd-server-card").size(),data.total,null,$("#bd-pubs-search").val())}})} -setSearchText(start,end,total,category,term){if(!category)category=$("#bd-pubs-layer .ui-tab-bar-item.selected").text();let text=`Showing ${start}-${end} of ${total} results in ${category}`;if(term&&term.length)text+=` for: ${term}`;$("#bd-pubs-results").text(text)} -get next(){let self=this;if(!self.next)return null} -joinServer(code){console.log("pubs join")} -joinServerDirect(code){console.log("pubs join direct")} -escape(unsafe){console.log("pubs escape")} -query(params){return require('querystring').stringify(params)}} +(function(){let __fs=window.require("fs");let __process=window.require("process");let __platform=__process.platform;let __dataPath=(__platform==='win32'?__process.env.APPDATA:__platform==='darwin'?__process.env.HOME+'/Library/Preferences':process.env.HOME+'/.config')+'/BetterDiscord/';let __data={};if(__fs.existsSync(`${__dataPath}localStorage.json`)){try{__data=JSON.parse(__fs.readFileSync(`${__dataPath}localStorage.json`))}catch(err){console.log(err);}}else if(__fs.existsSync("localStorage.json")){try{__data=JSON.parse(__fs.readFileSync("localStorage.json"));}catch(err){console.log(err);}} +var __ls=__data;__ls.setItem=function(i,v){__ls[i]=v;this.save();};__ls.getItem=function(i){return __ls[i]||null;};__ls.save=function(){__fs.writeFileSync(`${__dataPath}/localStorage.json`,JSON.stringify(this),null,4);};var __proxy=new Proxy(__ls,{set:function(target,name,val,receiver){__ls[name]=val;__ls.save();},get:function(target,name,receiver){return __ls[name]||null;}});window.localStorage=__proxy;})();(()=>{let v2Loader=document.createElement('div');v2Loader.className="bd-loaderv2";v2Loader.title="BetterDiscord is loading...";document.body.appendChild(v2Loader);})();window.bdStorage={};window.bdStorage.get=function(i){return betterDiscordIPC.sendSync('synchronous-message',{'arg':'storage','cmd':'get','var':i});};window.bdStorage.set=function(i,v){betterDiscordIPC.sendSync('synchronous-message',{'arg':'storage','cmd':'set','var':i,'data':v});};window.bdPluginStorage={};window.bdPluginStorage.get=function(pn,i){return betterDiscordIPC.sendSync('synchronous-message',{'arg':'pluginstorage','cmd':'get','pn':pn,'var':i});};window.bdPluginStorage.set=function(pn,i,v){betterDiscordIPC.sendSync('synchronous-message',{'arg':'pluginstorage','cmd':'set','pn':pn,'var':i,'data':v});};betterDiscordIPC.on('asynchronous-reply',(event,arg)=>{console.log(event);console.log(arg);});var settingsPanel,emoteModule,utils,quickEmoteMenu,opublicServers,voiceMode,pluginModule,themeModule,customCssEditor,dMode;var jsVersion=1.792;var supportedVersion="0.2.81";var mainObserver;var twitchEmoteUrlStart="https://static-cdn.jtvnw.net/emoticons/v1/";var twitchEmoteUrlEnd="/1.0";var ffzEmoteUrlStart="https://cdn.frankerfacez.com/emoticon/";var ffzEmoteUrlEnd="/1";var bttvEmoteUrlStart="https://cdn.betterttv.net/emote/";var bttvEmoteUrlEnd="/1x";var mainCore;var settings={"Save logs locally":{"id":"bda-gs-0","info":"Saves chat logs locally","implemented":false,"hidden":false,"cat":"core"},"Public Servers":{"id":"bda-gs-1","info":"Display public servers button","implemented":true,"hidden":false,"cat":"core"},"Minimal Mode":{"id":"bda-gs-2","info":"Hide elements and reduce the size of elements.","implemented":true,"hidden":false,"cat":"core"},"Voice Mode":{"id":"bda-gs-4","info":"Only show voice chat","implemented":true,"hidden":false,"cat":"core"},"Hide Channels":{"id":"bda-gs-3","info":"Hide channels in minimal mode","implemented":true,"hidden":false,"cat":"core"},"Dark Mode":{"id":"bda-gs-5","info":"Make certain elements dark by default(wip)","implemented":true,"hidden":false,"cat":"core"},"Override Default Emotes":{"id":"bda-es-5","info":"Override default emotes","implemented":false,"hidden":false,"cat":"core"},"Voice Disconnect":{"id":"bda-dc-0","info":"Disconnect from voice server when closing Discord","implemented":true,"hidden":false,"cat":"core"},"Custom css live update":{"id":"bda-css-0","info":"","implemented":true,"hidden":true,"cat":"core"},"Custom css auto udpate":{"id":"bda-css-1","info":"","implemented":true,"hidden":true,"cat":"core"},"24 Hour Timestamps":{"id":"bda-gs-6","info":"Replace 12hr timestamps with proper ones","implemented":true,"hidden":false,"cat":"core"},"Coloured Text":{"id":"bda-gs-7","info":"Make text colour the same as role colour","implemented":true,"hidden":false,"cat":"core"},"BetterDiscord Blue":{"id":"bda-gs-b","info":"Replace Discord blue with BD Blue","implemented":true,"hidden":false,"cat":"core"},"Developer Mode":{"id":"bda-gs-8","info":"Developer Mode","implemented":true,"hidden":false,"cat":"core"},"Twitch Emotes":{"id":"bda-es-7","info":"Show Twitch emotes","implemented":true,"hidden":false,"cat":"emote"},"FrankerFaceZ Emotes":{"id":"bda-es-1","info":"Show FrankerFaceZ Emotes","implemented":true,"hidden":false,"cat":"emote"},"BetterTTV Emotes":{"id":"bda-es-2","info":"Show BetterTTV Emotes","implemented":true,"hidden":false,"cat":"emote"},"Emote Menu":{"id":"bda-es-0","info":"Show Twitch/Favourite emotes in emote menu","implemented":true,"hidden":false,"cat":"emote"},"Emoji Menu":{"id":"bda-es-9","info":"Show Discord emoji menu","implemented":true,"hidden":false,"cat":"emote"},"Emote Autocomplete":{"id":"bda-es-3","info":"Autocomplete emote commands","implemented":false,"hidden":false,"cat":"emote"},"Emote Auto Capitalization":{"id":"bda-es-4","info":"Autocapitalize emote commands","implemented":true,"hidden":false,"cat":"emote"},"Show Names":{"id":"bda-es-6","info":"Show emote names on hover","implemented":true,"hidden":false,"cat":"emote"},"Show emote modifiers":{"id":"bda-es-8","info":"Enable emote mods","implemented":true,"hidden":false,"cat":"emote"},};var links={"Jiiks.net":{"text":"Jiiks.net","href":"thtp://jiiks.net","target":"_blank"},"twitter":{"text":"Twitter","href":"http://twitter.com/jiiksi","target":"_blank"},"github":{"text":"Github","href":"http://github.com/jiiks","target":"_blank"}};var defaultCookie={"version":jsVersion,"bda-gs-0":false,"bda-gs-1":true,"bda-gs-2":false,"bda-gs-3":false,"bda-gs-4":false,"bda-gs-5":true,"bda-gs-6":false,"bda-gs-7":false,"bda-gs-8":false,"bda-es-0":true,"bda-es-1":true,"bda-es-2":true,"bda-es-3":false,"bda-es-4":false,"bda-es-5":true,"bda-es-6":true,"bda-es-7":true,"bda-gs-b":true,"bda-es-8":true,"bda-jd":true,"bda-es-8":true,"bda-dc-0":false,"bda-css-0":false,"bda-css-1":false,"bda-es-9":true};var bdchangelog={"changes":{"0a":{"title":"1.78 : Temp support for new settingspanel","text":"Added temp support for Discord's new settingspanel until v2.","img":""},"0b":{"title":"1.78 : Public Servers","text":"New look and flow for public servers","img":""},"0c":{"title":"1.78 : New loading icon","text":"New loading icon will now display in bottom right when BD is loading.","img":""},"0d":{"title":"1.78 : New CustomCSS editor look","text":"Updated CustomCSS editor with dark theme","img":""},"0e":{"title":"1.78 : BetterDiscord Blue","text":"Replace Discord blue with BetterDiscord blue!","img":""}},"fixes":{"0a":{"title":"1.792 : Fixed settingspanel injection","text":"Still has some minor bugs","img":""},"0b":{"title":"1.791 : Restored Buttons","text":"Restored Open Theme Folder and Open Plugin Folder buttons","img":""},"0c":{"title":"1.79 : Settings Saving","text":"Fixed settings not saving with new settings panel","img":""}}};var settingsCookie={};function Core(){} +Core.prototype.init=function(){var self=this;var lVersion=(typeof(version)==="undefined")?bdVersion:version;if(lVersion
Please download the latest version from
BetterDiscord.net");return;} +utils=new Utils();var sock=new BdWSocket();sock.start();utils.getHash();emoteModule=new EmoteModule();quickEmoteMenu=new QuickEmoteMenu();voiceMode=new VoiceMode();dMode=new devMode();emoteModule.init();this.initSettings();this.initObserver();function gwDefer(){console.log(new Date().getTime()+" Defer");if($(".guilds-wrapper .guilds").children().length>0){console.log(new Date().getTime()+" Defer Loaded");var guilds=$(".guilds>li:first-child");var showChannelsButton=$("'+'
'+'
'+'
';if(bdchangelog.changes!=null){changeLog+=''+'

'+' New Stuff'+'

'+'
    ';for(var change in bdchangelog.changes){change=bdchangelog.changes[change];changeLog+=''+'
  • '+' '+change.title+''+'
    '+change.text+'
    '+'
  • ';} +changeLog+='
';} +if(bdchangelog.fixes!=null){changeLog+=''+'

'+' Fixed'+'

'+'
    ';for(var fix in bdchangelog.fixes){fix=bdchangelog.fixes[fix];changeLog+=''+'
  • '+' '+fix.title+''+'
    '+fix.text+'
    '+'
  • ';} +changeLog+='
';} +if(bdchangelog.upcoming!=null){changeLog+=''+'

'+' Coming Soon'+'

'+'
    ';for(var upc in bdchangelog.upcoming){upc=bdchangelog.upcoming[upc];changeLog+=''+'
  • '+' '+upc.title+''+'
    '+upc.text+'
    '+'
  • ';} +changeLog+='
';} +changeLog+=''+'
'+'
'+' '+'
'+'
'+'';return changeLog;};Core.prototype.alert=function(title,text){var id='';for(var i=0;i<5;i++) +id+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(Math.random()*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".length));var bdAlert=' ';$("body").append(bdAlert);utils.addBackdrop(id);};var emotesFfz={};var emotesBTTV={};var emotesTwitch={"emotes":{"emote":{"image_id":0}}};var subEmotesTwitch={};function EmoteModule(){} +EmoteModule.prototype.init=function(){};EmoteModule.prototype.getBlacklist=function(){$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/data/emotefilter.json",function(data){bemotes=data.blacklist;});};EmoteModule.prototype.obsCallback=function(mutation){var self=this;for(var i=0;i-1){w=w.replace("[!s]","");parent.data("spoilered",false);parent.addClass("spoiler");} +var allowedClasses=["flip","spin","pulse","spin2","spin3","1spin","2spin","3spin","tr","bl","br","shake","shake2","shake3","flap"];var useEmoteClass=false;var emoteClass="";var skipffz=false;var sw=w;if(w.indexOf(":")>-1){var split=w.split(":");if(split[0]!=""&&split[1]!=""){if(allowedClasses.indexOf(split[1])>-1){sw=split[0];emoteClass=settingsCookie["bda-es-8"]?"emote"+split[1]:"";} +if(split[1]=="bttv"){sw=split[0];skipffz=true;}}} +if($.inArray(sw,bemotes)==-1){if(typeof emotesTwitch!=='undefined'&&settingsCookie["bda-es-7"]){if(emotesTwitch.emotes.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null;} +var url=twitchEmoteUrlStart+emotesTwitch.emotes[sw].image_id+twitchEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=true;return;}} +if(typeof subEmotesTwitch!=='undefined'&&settingsCookie["bda-es-7"]){if(subEmotesTwitch.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null;} +var url=twitchEmoteUrlStart+subEmotesTwitch[sw]+twitchEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=true;return;}} +if(typeof emotesBTTV!=='undefined'&&settingsCookie["bda-es-2"]){if(emotesBTTV.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null;} +var url=emotesBTTV[sw];contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=true;return;}} +if((typeof emotesFfz!=='undefined'&&settingsCookie["bda-es-1"])&&(!skipffz||!emotesBTTV2.hasOwnProperty(sw))){if(emotesFfz.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null;} +var url=ffzEmoteUrlStart+emotesFfz[sw]+ffzEmoteUrlEnd;contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=true;return;}} +if(typeof emotesBTTV2!=='undefined'&&settingsCookie["bda-es-2"]){if(emotesBTTV2.hasOwnProperty(sw)&&sw.length>=4){if(text!=null){contents.splice(i+splice++,0,document.createTextNode(text));text=null;} +var url=bttvEmoteUrlStart+emotesBTTV2[sw]+bttvEmoteUrlEnd;if(skipffz&&emotesFfz.hasOwnProperty(sw))sw=sw+":bttv";contents.splice(i+splice++,0,self.createEmoteElement(sw,url,emoteClass));doInject=true;return;}}} +if(text==null){text=w;}else{text+=""+w;} +if(index===a.length-1){contents.splice(i+splice,0,document.createTextNode(text));}});if(doInject){var oldHeight=parent.outerHeight();parent.html(contents);var scrollPane=$(".scroller.messages").first();scrollPane.scrollTop(scrollPane.scrollTop()+(parent.outerHeight()-oldHeight));}});} +inject();if(parent.children().hasClass("edited")){setTimeout(inject,250);}};EmoteModule.prototype.createEmoteElement=function(word,url,mod){var len=Math.round(word.length / 4);var name=word.substr(0,len)+"\uFDD9"+word.substr(len,len)+"\uFDD9"+word.substr(len*2,len)+"\uFDD9"+word.substr(len*3);var html=''+name+'';return $.parseHTML(html.replace(new RegExp("\uFDD9","g"),""))[0];};EmoteModule.prototype.autoCapitalize=function(){var self=this;$('body').delegate($(".channel-textarea-inner textarea:first"),'keyup change paste',function(){if(!settingsCookie["bda-es-4"])return;var text=$(".channel-textarea-inner textarea:first").val();if(text==undefined)return;var lastWord=text.split(" ").pop();if(lastWord.length>3){if(lastWord=="danSgame")return;var ret=self.capitalize(lastWord.toLowerCase());if(ret!==null&&ret!==undefined){$(".channel-textarea-inner textarea:first").val(text.replace(lastWord,ret));}}});};EmoteModule.prototype.capitalize=function(value){var res=emotesTwitch.emotes;for(var p in res){if(res.hasOwnProperty(p)&&value==(p+'').toLowerCase()){return p;}}};class PublicServers{constructor(){this.v2p=new V2_PublicServers();} +get endPoint(){return'https://search.discordservers.com';} +get button(){let self=this;let btn=$("
",{class:'guild',id:'bd-pub-li',css:{'height':'20px','display':settingsCookie['bda-gs-1']?"":"none"}}).append($("
",{class:'guild-inner',css:{'height':'20px','border-radius':'4px'}}).append($("",{}).append($("
",{text:'public',id:'bd-pub-button',css:{'line-height':'20px','font-size':'12px'},click:()=>{self.v2p.render();}}))));return btn;} +init(){let self=this;let guilds=$(".guilds>:first-child");guilds.after(self.button);} +get layer(){let self=this;let layer=``;layer=$(layer);layer.on("blur",e=>{if(e.relatedTarget.id==='bd-pubs-search')return;layer.focus();console.log("blur:");console.log(e);});layer.on("keydown",e=>{if(e.which===13&&e.target.id==='bd-pubs-search'){let category=$("#bd-pubs-layer .ui-tab-bar-item.selected").text();if(category==='All')category='';self.search(self.query({'term':e.target.value,'category':category}),true);return;} +if(e.which!==27)return;self.hide();});layer.find('.btn-close').on('click',e=>{self.hide();});layer.find('.ui-tab-bar.SIDE .ui-tab-bar-item').on('click',e=>{let category=e.target.textContent;if(category==='All')category='';self.search(self.query({'term':$("#bd-pubs-search").val(),'category':category}),true);});return layer;} +serverCard(serverInfo){return`
${serverInfo.name}
${serverInfo.online}/${serverInfo.members}Members
${serverInfo.description}
${serverInfo.categories.join(" ,")}
`;} +get bdServerCard(){let serverInfo={'name':'BetterDiscord','icon':'https://cdn.discordapp.com/icons/86004744966914048/c8d49dc02248e1f55caeb897c3e1a26e.webp','online':'7500+','members':'20000+','description':'Official BetterDiscord support server'};return`
${serverInfo.name}
Too many members
${serverInfo.description}
`;} +getPanel(){console.log("pubs get panel");return'
';} +getPinnedServer(){console.log("pubs get pinned server");return'
';} +hidePinnedServer(){console.log("pubs hide pinned server");} +showPinnedServer(){console.log("pubs show pinned server");} +show(){let self=this;$(".layers").append(self.layer);} +hide(){$("#bd-pubs-layer").remove();} +loadServers(dataset,search,clear){console.log("pubs load servers");} +search(query,clear){let self=this;let $list=$("#bd-pubs-listing");if(clear){$list.empty();$("#bd-pubs-listing-container").hide();$("#bd-pubs-bg-spinner").show();} +$.ajax({method:'GET',url:`${self.endPoint}?${query}`,success:data=>{$list.append(self.bdServerCard);data.results.map(server=>{$list.append(self.serverCard(server));});$("#bd-pubs-listing-container").show();$("#bd-pubs-bg-spinner").hide();self.setSearchText(1,$(".bd-server-card").size(),data.total,null,$("#bd-pubs-search").val());}});} +setSearchText(start,end,total,category,term){if(!category)category=$("#bd-pubs-layer .ui-tab-bar-item.selected").text();let text=`Showing ${start}-${end}of ${total}results in ${category}`;if(term&&term.length)text+=`for:${term}`;$("#bd-pubs-results").text(text);} +get next(){let self=this;if(!self.next)return null;} +joinServer(code){console.log("pubs join");} +joinServerDirect(code){console.log("pubs join direct");} +escape(unsafe){console.log("pubs escape");} +query(params){return require('querystring').stringify(params);}} function QuickEmoteMenu(){} -QuickEmoteMenu.prototype.init=function(){$(document).on("mousedown",function(e){if(e.target.id!="rmenu")$("#rmenu").remove()});this.favoriteEmotes={};var fe=bdStorage.get("bdfavemotes");if(fe!==""&&fe!==null){this.favoriteEmotes=JSON.parse(atob(fe))} -var qmeHeader="";qmeHeader+="
";qmeHeader+=" ";attachEditor+=" <\/div>";attachEditor+="<\/div>";this.attachEditor=attachEditor;$("#bd-customcss-innerpane").append(attachEditor);$("#bd-customcss-detached-update").on("click",function(){self.applyCustomCss(self.editor.getValue(),!0,!1);return!1});$("#bd-customcss-detached-save").on("click",function(){self.applyCustomCss(self.editor.getValue(),!1,!0);return!1});var detachEditor="";detachEditor+="
";detachEditor+="
";detachEditor+=" <\/div>";detachEditor+="<\/div>";this.detachedEditor=detachEditor};CustomCssEditor.prototype.attach=function(){$("#editor-detached").hide();$("#app-mount").removeClass("bd-detached-editor");$("#bd-customcss-pane").append($("#bd-customcss-innerpane"));$("#bd-customcss-detached-detach").show();$("#bd-customcss-detach-container").remove()};CustomCssEditor.prototype.detach=function(){var self=this;this.attach();$("#editor-detached").show();$("#bd-customcss-detached-detach").hide();$("#app-mount").addClass("bd-detached-editor");$(".app").parent().append(this.detachedEditor);$("#bd-customcss-detach-editor").append($("#bd-customcss-innerpane"))};CustomCssEditor.prototype.applyCustomCss=function(css,forceupdate,forcesave){if($("#customcss").length==0){$("head").append('')} -if(forceupdate||settingsCookie["bda-css-0"]){$("#customcss").html(css)} -if(forcesave){window.bdStorage.set("bdcustomcss",btoa(css))}};var settingsButton=null;var panel=null;function SettingsPanel(){utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/css/css.min.js");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.js");utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.css");utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/theme/material.min.css");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.4.2/Sortable.min.js")} -SettingsPanel.prototype.init=function(){var self=this;self.v2SettingsPanel=new V2_SettingsPanel();self.construct();var body=$("body");if(settingsCookie["bda-es-0"]){$("#twitchcord-button-container").show()}else{$("#twitchcord-button-container").hide()} -if(settingsCookie["bda-gs-2"]){body.addClass("bd-minimal")}else{body.removeClass("bd-minimal")} -if(settingsCookie["bda-gs-3"]){body.addClass("bd-minimal-chan")}else{body.removeClass("bd-minimal-chan")} -if(settingsCookie["bda-gs-4"]){voiceMode.enable()} -if(settingsCookie["bda-gs-5"]){$("#app-mount").addClass("bda-dark")} -if(settingsCookie["bda-es-6"]){emoteNamePopup=$("
");$(document).on("mouseover",".emote",function(){var x=$(this).offset();var title=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(title);$(emoteNamePopup).css('left',x.left-25);$(emoteNamePopup).css('top',x.top-37);$(".app").append($(emoteNamePopup))});$(document).on("mouseleave",".emote",function(){$(".tipsy").remove()})}else{$(document).off('mouseover','.emote')} -if(settingsCookie["bda-gs-8"]){dMode.enable()}else{dMode.disable()} -if(settingsCookie["bda-gs-b"]){$("body").addClass("bd-blue")}else{$("body").removeClass("bd-blue")}};var customCssInitialized=!1;var lastTab="";SettingsPanel.prototype.changeTab=function(tab){var self=this;lastTab=tab;var controlGroups=$("#bd-control-groups");$(".bd-tab").removeClass("selected");$(".bd-pane").hide();$("#"+tab).addClass("selected");$("#"+tab.replace("tab","pane")).show();switch(tab){case "bd-settings-tab":$(".bda-slist-top").show();break;case "bd-emotes-tab":$(".bda-slist-top").show();break;case "bd-customcss-tab":$(".bda-slist-top").show();if(!customCssInitialized){customCssEditor.init();customCssInitialized=!0} -break;case "bd-themes-tab":$(".bda-slist-top:first").hide();break;case "bd-plugins-tab":$(".bda-slist-top:first").hide();break;default:$(".bda-slist-top").show();break}};SettingsPanel.prototype.updateSetting=function(checkbox){var cb=$(checkbox).children().find('input[type="checkbox"]');var enabled=!cb.is(":checked");var id=cb.attr("id");cb.prop("checked",enabled);if(id=="bda-css-2"){$("#app-mount").removeClass("bd-hide-bd");customCssEditor.hideBackdrop=enabled;if(enabled){$("#app-mount").addClass("bd-hide-bd")}} +QuickEmoteMenu.prototype.init=function(){$(document).on("mousedown",function(e){if(e.target.id!="rmenu")$("#rmenu").remove();});this.favoriteEmotes={};var fe=bdStorage.get("bdfavemotes");if(fe!==""&&fe!==null){this.favoriteEmotes=JSON.parse(atob(fe));} +var qmeHeader="";qmeHeader+="
";qmeHeader+=" ";attachEditor+=" <\/div>";attachEditor+="<\/div>";this.attachEditor=attachEditor;$("#bd-customcss-innerpane").append(attachEditor);$("#bd-customcss-detached-update").on("click",function(){self.applyCustomCss(self.editor.getValue(),true,false);return false;});$("#bd-customcss-detached-save").on("click",function(){self.applyCustomCss(self.editor.getValue(),false,true);return false;});var detachEditor="";detachEditor+="
";detachEditor+="
";detachEditor+=" <\/div>";detachEditor+="<\/div>";this.detachedEditor=detachEditor;};CustomCssEditor.prototype.attach=function(){$("#editor-detached").hide();$("#app-mount").removeClass("bd-detached-editor");$("#bd-customcss-pane").append($("#bd-customcss-innerpane"));$("#bd-customcss-detached-detach").show();$("#bd-customcss-detach-container").remove();};CustomCssEditor.prototype.detach=function(){var self=this;this.attach();$("#editor-detached").show();$("#bd-customcss-detached-detach").hide();$("#app-mount").addClass("bd-detached-editor");$(".app").parent().append(this.detachedEditor);$("#bd-customcss-detach-editor").append($("#bd-customcss-innerpane"));};CustomCssEditor.prototype.applyCustomCss=function(css,forceupdate,forcesave){if($("#customcss").length==0){$("head").append('');} +if(forceupdate||settingsCookie["bda-css-0"]){$("#customcss").html(css);} +if(forcesave){window.bdStorage.set("bdcustomcss",btoa(css));}};var settingsButton=null;var panel=null;function SettingsPanel(){utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/css/css.min.js");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.js");utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/addon/scroll/simplescrollbars.min.css");utils.injectCss("https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/theme/material.min.css");utils.injectJs("https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.4.2/Sortable.min.js");} +SettingsPanel.prototype.init=function(){var self=this;self.v2SettingsPanel=new V2_SettingsPanel();self.construct();var body=$("body");if(settingsCookie["bda-es-0"]){$("#twitchcord-button-container").show();}else{$("#twitchcord-button-container").hide();} +if(settingsCookie["bda-gs-2"]){body.addClass("bd-minimal");}else{body.removeClass("bd-minimal");} +if(settingsCookie["bda-gs-3"]){body.addClass("bd-minimal-chan");}else{body.removeClass("bd-minimal-chan");} +if(settingsCookie["bda-gs-4"]){voiceMode.enable();} +if(settingsCookie["bda-gs-5"]){$("#app-mount").addClass("bda-dark");} +if(settingsCookie["bda-es-6"]){emoteNamePopup=$("
");$(document).on("mouseover",".emote",function(){var x=$(this).offset();var title=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(title);$(emoteNamePopup).css('left',x.left-25);$(emoteNamePopup).css('top',x.top-37);$(".app").append($(emoteNamePopup));});$(document).on("mouseleave",".emote",function(){$(".tipsy").remove();});}else{$(document).off('mouseover','.emote');} +if(settingsCookie["bda-gs-8"]){dMode.enable();}else{dMode.disable();} +if(settingsCookie["bda-gs-b"]){$("body").addClass("bd-blue");}else{$("body").removeClass("bd-blue");}};var customCssInitialized=false;var lastTab="";SettingsPanel.prototype.changeTab=function(tab){var self=this;lastTab=tab;var controlGroups=$("#bd-control-groups");$(".bd-tab").removeClass("selected");$(".bd-pane").hide();$("#"+tab).addClass("selected");$("#"+tab.replace("tab","pane")).show();switch(tab){case"bd-settings-tab":$(".bda-slist-top").show();break;case"bd-emotes-tab":$(".bda-slist-top").show();break;case"bd-customcss-tab":$(".bda-slist-top").show();if(!customCssInitialized){customCssEditor.init();customCssInitialized=true;} +break;case"bd-themes-tab":$(".bda-slist-top:first").hide();break;case"bd-plugins-tab":$(".bda-slist-top:first").hide();break;default:$(".bda-slist-top").show();break;}};SettingsPanel.prototype.updateSetting=function(checkbox){var cb=$(checkbox).children().find('input[type="checkbox"]');var enabled=!cb.is(":checked");var id=cb.attr("id");cb.prop("checked",enabled);if(id=="bda-css-2"){$("#app-mount").removeClass("bd-hide-bd");customCssEditor.hideBackdrop=enabled;if(enabled){$("#app-mount").addClass("bd-hide-bd")}} if(id=="bda-gs-8"&&enabled){mainCore.alert("Developer Mode Enabled","Use F8 to break/resume execution
More coming soon")} -settingsCookie[id]=enabled;this.updateSettings()};SettingsPanel.prototype.updateSettings=function(){if(settingsCookie["bda-es-0"]){$("#twitchcord-button-container").show()}else{$("#twitchcord-button-container").hide()} -if(settingsCookie["bda-gs-b"]){$("body").addClass("bd-blue")}else{$("body").removeClass("bd-blue")} -if(settingsCookie["bda-gs-2"]){$("body").addClass("bd-minimal")}else{$("body").removeClass("bd-minimal")} -if(settingsCookie["bda-gs-3"]){$("body").addClass("bd-minimal-chan")}else{$("body").removeClass("bd-minimal-chan")} -if(settingsCookie["bda-gs-1"]){$("#bd-pub-li").show()}else{$("#bd-pub-li").hide()} -if(settingsCookie["bda-gs-4"]){voiceMode.enable()}else{voiceMode.disable()} -$("#app-mount").removeClass("bda-dark");if(settingsCookie["bda-gs-5"]){$("#app-mount").addClass("bda-dark")} -if(settingsCookie["bda-es-6"]){emoteNamePopup=$("
");$(document).on("mouseover",".emote",function(){var x=$(this).offset();var title=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(title);$(emoteNamePopup).css('left',x.left-25);$(emoteNamePopup).css('top',x.top-32);$("div[data-reactid='.0.1.1']").append($(emoteNamePopup))});$(document).on("mouseleave",".emote",function(){$(".tipsy").remove()})}else{$(document).off('mouseover','.emote')} -if(settingsCookie["bda-gs-8"]){dMode.enable()}else{dMode.disable()} -mainCore.saveSettings()};SettingsPanel.prototype.construct=function(){var self=this;panel=$("
",{id:"bd-pane",class:"settings-inner",css:{"display":"none"}});var settingsInner='\ -
\ -
\ -
\ -
Core\ -
\ -
Emotes\ -
\ -
Custom CSS\ -
\ -
Plugins\ -
\ -
Themes\ -
\ -
\ - \ - \ -
\ -
\ -
\ - \ - ';settingsInner+='\ - \ - ';var _ccss=window.bdStorage.get("bdcustomcss");var ccss="";if(_ccss!==null&&_ccss!==""){ccss=atob(_ccss)} -customCssEditor.applyCustomCss(ccss,!0,!1);settingsInner+='\ - \ - ';settingsInner+='\ -
\ -
\ - \ - \ -
\ -
    \ - ';$.each(bdplugins,function(){var plugin=this["plugin"];var hasSettings=!1;if(typeof(plugin.getSettingsPanel)=="function"){hasSettings=plugin.getSettingsPanel()!=null&&plugin.getSettingsPanel()!=""} -settingsInner+='\ -
  • \ -
    \ - '+plugin.getName()+' v'+plugin.getVersion()+' by '+plugin.getAuthor()+'\ -
    \ -
    '+plugin.getDescription()+'
    \ -
    \ -
    \ -
    \ -
    \ -
    \ - \ - \ -
    \ - \ -
    \ - \ - \ -
    \ -
  • \ - '});settingsInner+='\ -
\ -
\ - ';settingsInner+='\ - \ - ';settingsInner+='\ -
\ - BetterDiscord v'+((typeof(version)=="undefined")?bdVersion:version)+'(JSv'+jsVersion+') by Jiiks\ - BetterDiscord.net\ - changelog\ -
\ -
\ - ';function showSettings(){$(".tab-bar-item").removeClass("selected");settingsButton.addClass("selected");$(".form .settings-right .settings-inner").first().hide();panel.show();if(lastTab==""){self.changeTab("bd-settings-tab")}else{self.changeTab(lastTab)}} -settingsButton=$("
",{class:"tab-bar-item",text:"BetterDiscord",id:"bd-settings-new",click:showSettings});panel.html(settingsInner);this.panel=panel};SettingsPanel.prototype.inject=function(mutation){if(this.injectNew(mutation))return;if(mutation.type!="childList")return;if(mutation.addedNodes.length<=0)return;if($(mutation.addedNodes[0]).find(".user-settings-modal").length<=0)return;var self=this;this.panel.hide();var tabBar=$(".tab-bar.SIDE").first();$(".tab-bar.SIDE .tab-bar-item").click(function(){$(".form .settings-right .settings-inner").first().show();$("#bd-settings-new").removeClass("selected");self.panel.hide()});tabBar.append(settingsButton);$(".form .settings-right .settings-inner").last().after(self.panel);$("#bd-settings-new").removeClass("selected")};SettingsPanel.prototype.injectNew=function(mutation){let self=this;if(!mutation.target.classList.contains("layers"))return;if($(".guild-settings-base-section").length){try{mutation.addedNodes[0].setAttribute('layer-id','server-settings')}catch(err){}} -if(!$(".user-settings-account").length)return;try{mutation.addedNodes[0].setAttribute('layer-id','user-settings')}catch(err){} -if($("#bd-settings-sidebar").length)return;self.v2SettingsPanel.renderSidebar();return!0};SettingsPanel.prototype.versionInfo=function(){let self=this;let element=$("
",{class:'bd-versioninfo-wrapper'}).append($("",{text:`BetterDiscord v${(typeof(version) === "undefined" ? bdVersion : version)}:${jsVersion} by `})).append($("",{text:'Jiiks',href:'https://google.com',target:'_blank'}));return element} -SettingsPanel.prototype.tabBarNew=function(){let self=this;let _tabBar=$("
",{class:'tab-bar TOP',style:'border-bottom:none'});let items=[{'id':'bd-core','text':'Core'},{'id':'bd-emotes','text':'Emotes'},{'id':'bd-customcss','text':'Custom CSS'},{'id':'bd-plugins','text':'Plugins'},{'id':'bd-themes','text':'Themes'}];items.map(value=>{_tabBar.append($("
",{class:'tab-bar-item bd-tab',text:value.text,id:value.id,click:()=>self.changeTabNew(value.id)}))});return _tabBar} -SettingsPanel.prototype.changeTabNew=function(id){$(".bd-tab").removeClass("selected");$(`#${id}`).addClass("selected");$(".bd-pane").hide();$(`#${id}-pane`).show();if(id==='bd-customcss'){if(!customCssInitialized){customCssEditor.init();customCssInitialized=!0}}} +settingsCookie[id]=enabled;this.updateSettings();};SettingsPanel.prototype.updateSettings=function(){if(settingsCookie["bda-es-0"]){$("#twitchcord-button-container").show();}else{$("#twitchcord-button-container").hide();} +if(settingsCookie["bda-gs-b"]){$("body").addClass("bd-blue");}else{$("body").removeClass("bd-blue");} +if(settingsCookie["bda-gs-2"]){$("body").addClass("bd-minimal");}else{$("body").removeClass("bd-minimal");} +if(settingsCookie["bda-gs-3"]){$("body").addClass("bd-minimal-chan");}else{$("body").removeClass("bd-minimal-chan");} +if(settingsCookie["bda-gs-1"]){$("#bd-pub-li").show();}else{$("#bd-pub-li").hide();} +if(settingsCookie["bda-gs-4"]){voiceMode.enable();}else{voiceMode.disable();} +$("#app-mount").removeClass("bda-dark");if(settingsCookie["bda-gs-5"]){$("#app-mount").addClass("bda-dark");} +if(settingsCookie["bda-es-6"]){emoteNamePopup=$("
");$(document).on("mouseover",".emote",function(){var x=$(this).offset();var title=$(this).attr("alt");$(emoteNamePopup).find(".tipsy-inner").text(title);$(emoteNamePopup).css('left',x.left-25);$(emoteNamePopup).css('top',x.top-32);$("div[data-reactid='.0.1.1']").append($(emoteNamePopup));});$(document).on("mouseleave",".emote",function(){$(".tipsy").remove();});}else{$(document).off('mouseover','.emote');} +if(settingsCookie["bda-gs-8"]){dMode.enable();}else{dMode.disable();} +mainCore.saveSettings();};SettingsPanel.prototype.construct=function(){var self=this;panel=$("
",{id:"bd-pane",class:"settings-inner",css:{"display":"none"}});var settingsInner='
Core
Emotes
Custom CSS
Plugins
Themes
';settingsInner+=' ';var _ccss=window.bdStorage.get("bdcustomcss");var ccss="";if(_ccss!==null&&_ccss!==""){ccss=atob(_ccss);} +customCssEditor.applyCustomCss(ccss,true,false);settingsInner+=' ';settingsInner+='
    ';$.each(bdplugins,function(){var plugin=this["plugin"];var hasSettings=false;if(typeof(plugin.getSettingsPanel)=="function"){hasSettings=plugin.getSettingsPanel()!=null&&plugin.getSettingsPanel()!="";} +settingsInner+='
  • '+plugin.getName()+' v'+plugin.getVersion()+' by '+plugin.getAuthor()+'
    '+plugin.getDescription()+'
  • ';});settingsInner+='
';settingsInner+=' ';settingsInner+='
';function showSettings(){$(".tab-bar-item").removeClass("selected");settingsButton.addClass("selected");$(".form .settings-right .settings-inner").first().hide();panel.show();if(lastTab==""){self.changeTab("bd-settings-tab");}else{self.changeTab(lastTab);}} +settingsButton=$("
",{class:"tab-bar-item",text:"BetterDiscord",id:"bd-settings-new",click:showSettings});panel.html(settingsInner);this.panel=panel;};SettingsPanel.prototype.inject=function(mutation){if(this.injectNew(mutation))return;if(mutation.type!="childList")return;if(mutation.addedNodes.length<=0)return;if($(mutation.addedNodes[0]).find(".user-settings-modal").length<=0)return;var self=this;this.panel.hide();var tabBar=$(".tab-bar.SIDE").first();$(".tab-bar.SIDE .tab-bar-item").click(function(){$(".form .settings-right .settings-inner").first().show();$("#bd-settings-new").removeClass("selected");self.panel.hide();});tabBar.append(settingsButton);$(".form .settings-right .settings-inner").last().after(self.panel);$("#bd-settings-new").removeClass("selected");};SettingsPanel.prototype.injectNew=function(mutation){let self=this;if(!mutation.target.classList.contains("layers"))return;if($(".guild-settings-base-section").length){try{mutation.addedNodes[0].setAttribute('layer-id','server-settings');}catch(err){}} +if(!$(".user-settings-account").length)return;try{mutation.addedNodes[0].setAttribute('layer-id','user-settings');}catch(err){} +if($("#bd-settings-sidebar").length)return;self.v2SettingsPanel.renderSidebar();return true;};SettingsPanel.prototype.versionInfo=function(){let self=this;let element=$("
",{class:'bd-versioninfo-wrapper'}).append($("",{text:`BetterDiscord v${(typeof(version)==="undefined"?bdVersion:version)}:${jsVersion}by`})).append($("",{text:'Jiiks',href:'https://google.com',target:'_blank'}));return element;} +SettingsPanel.prototype.tabBarNew=function(){let self=this;let _tabBar=$("
",{class:'tab-bar TOP',style:'border-bottom:none'});let items=[{'id':'bd-core','text':'Core'},{'id':'bd-emotes','text':'Emotes'},{'id':'bd-customcss','text':'Custom CSS'},{'id':'bd-plugins','text':'Plugins'},{'id':'bd-themes','text':'Themes'}];items.map(value=>{_tabBar.append($("
",{class:'tab-bar-item bd-tab',text:value.text,id:value.id,click:()=>self.changeTabNew(value.id)}));});return _tabBar;} +SettingsPanel.prototype.changeTabNew=function(id){$(".bd-tab").removeClass("selected");$(`#${id}`).addClass("selected");$(".bd-pane").hide();$(`#${id}-pane`).show();if(id==='bd-customcss'){if(!customCssInitialized){customCssEditor.init();customCssInitialized=true;}}} SettingsPanel.prototype.updateSettingNew=function(id,checked){if(id=="bda-css-2"){$("#app-mount").removeClass("bd-hide-bd");customCssEditor.hideBackdrop=checked;if(checked){$("#app-mount").addClass("bd-hide-bd")}} if(id=="bda-gs-8"&&checked){mainCore.alert("Developer Mode Enabled","Use F8 to break/resume execution
More coming soon")} -settingsCookie[id]=checked;this.updateSettings()};SettingsPanel.prototype.settingsSwitch=function(key){let self=this;let setting=settings[key];return $("
",{class:'ui-flex flex-vertical flex-justify-start flex-align-stretch flex-nowrap ui-switch-item'}).append($("
",{class:'ui-flex flex-horizontal flex-justify-start flex-align-stretch flex-nowrap'}).append($("

",{class:'ui-form-title h3 margin-reset margin-reset ui-flex-child',text:key})).append($("