From faa4747f428ae1f48c3e987a40b14decf4ea8aa3 Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Sun, 28 Oct 2018 20:34:29 -0400 Subject: [PATCH] new class normalizer and social patch --- css/main.css | 11 +- css/main.min.css | 2 +- js/main.js | 314 +++++++++++++++++++++++++---------------------- js/main.min.js | 9 +- 4 files changed, 179 insertions(+), 157 deletions(-) diff --git a/css/main.css b/css/main.css index ab1d224e..c12412b8 100644 --- a/css/main.css +++ b/css/main.css @@ -1,5 +1,5 @@ /*New loader*/ -.bd-logo, + .bd-loaderv2 { background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+IDwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIj4gICAgPG1ldGFkYXRhIC8+ICAgIDxkZWZzPiAgICAgICAgPGZpbHRlciBpZD0ic2hhZG93MSI+ICAgICAgICA8ZmVEcm9wU2hhZG93IGR4PSIyMCIgZHk9IjAiIHN0ZERldmlhdGlvbj0iMjAiIGZsb29kLWNvbG9yPSJyZ2JhKDAsMCwwLDAuMzUpIi8+ICAgICAgICA8L2ZpbHRlcj4gICAgICAgIDxmaWx0ZXIgaWQ9InNoYWRvdzIiPiAgICAgICAgPGZlRHJvcFNoYWRvdyBkeD0iMTUiIGR5PSIwIiBzdGREZXZpYXRpb249IjIwIiBmbG9vZC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwLjE1KSIvPiAgICAgICAgPC9maWx0ZXI+ICAgICAgICA8ZmlsdGVyIGlkPSJzaGFkb3czIj4gICAgICAgIDxmZURyb3BTaGFkb3cgZHg9IjEwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIyMCIgZmxvb2QtY29sb3I9InJnYmEoMCwwLDAsMC4zNSkiLz4gICAgICAgIDwvZmlsdGVyPiAgICA8L2RlZnM+ICAgIDxnPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3czKSIgZD0iTTExOTUuNDQrMTM1LjQ0MkwxMTk1LjQ0KzEzNS40NDJMOTk3LjYrMTM2LjQ0MkMxMDI0LjIrMTQ5Ljc0MisxMTcwLjM0KzE2My41NDIrMTE5My42NCsxNzkuNzQyQzEyNjQuMzQrMjI4Ljg0MisxMzE5Ljc0KzI5MS4yNDIrMTM1OC4yNCszNjUuMDQyQzEzOTguMTQrNDQxLjY0MisxNDE5Ljc0KzUzMC42NDIrMTQyMi41NCs2MjkuNjQyTDE0MjIuNTQrNjMwLjg0MkwxNDIyLjU0KzYzMi4wNDJDMTQyMi41NCs3NzMuMTQyKzE0MjIuNTQrMTIyOC4xNCsxNDIyLjU0KzEzNjkuMTRMMTQyMi41NCsxMzcwLjM0TDE0MjIuNTQrMTM3MS41NEMxNDE5Ljg0KzE0NzAuNTQrMTM5OC4yNCsxNTU5LjU0KzEzNTguMjQrMTYzNi4xNEMxMzE5Ljc0KzE3MDkuOTQrMTI2NC40NCsxNzcyLjM0KzExOTMuNjQrMTgyMS40NEMxMTcxLjA0KzE4MzcuMTQrMTAyNS43KzE4NTAuNTQrMTAwMCsxODYzLjU0TDExOTMuNTQrMTg2NC41NEMxNTM5Ljc0KzE4NjYuNDQrMTg2NC41NCsxNjkzLjM0KzE4NjQuNTQrMTI5Ni42NEwxODY0LjU0KzcxNi45NDJDMTg2Ni40NCszMTIuNDQyKzE1NDEuNjQrMTM1LjQ0MisxMTk1LjQ0KzEzNS40NDJaIiBmaWxsPSIjMTcxNzE3IiBvcGFjaXR5PSIxIi8+ICAgICAgICA8cGF0aCBzdHlsZT0iZmlsdGVyOiB1cmwoI3NoYWRvdzIpIiBkPSJNMTY5NS41NCs2MzEuNDQyQzE2ODUuODQrMjc4LjA0MisxNDA5LjM0KzEzNS40NDIrMTA1Mi45NCsxMzUuNDQyTDM2MS43NCsxMzYuNDQyTDgwMy43NCs0OTAuNDQyTDEwNjAuNzQrNDkwLjQ0MkMxMzM1LjI0KzQ5MC40NDIrMTMzNS4yNCs4MzUuMzQyKzEwNjAuNzQrODM1LjM0MkwxMDYwLjc0KzExNjQuODRDMTE1MC4yMisxMTY0Ljg0KzEyMTAuNTMrMTIwMS40OCsxMjQxLjY4KzEyNTAuODdDMTMwNi4wNysxMzUzKzEyNDUuNzYrMTUwOS42NCsxMDYwLjc0KzE1MDkuNjRMMzYxLjc0KzE4NjMuNTRMMTA1Mi45NCsxODY0LjU0QzE0MDkuMjQrMTg2NC41NCsxNjg1Ljc0KzE3MjEuOTQrMTY5NS41NCsxMzY4LjU0QzE2OTUuNTQrMTIwNS45NCsxNjUxLjA0KzEwODQuNDQrMTU3Mi42NCs5OTkuOTQyQzE2NTEuMDQrOTE1LjU0MisxNjk1LjU0Kzc5NC4wNDIrMTY5NS41NCs2MzEuNDQyWiIgZmlsbD0iIzNFODJFNSIgb3BhY2l0eT0iMSIvPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3cxKSIgZD0iTTE0NjkuMjUrNjMxLjQ0MkMxNDU5LjU1KzI3OC4wNDIrMTE4My4wNSsxMzUuNDQyKzgyNi42NSsxMzUuNDQyTDEzNS40NSsxMzUuNDQyTDEzNS40NSsxMDA0QzEzNS40NSsxMDA0KzEzNS40MjcrMTI1NS4yMSszNTUuNjI2KzEyNTUuMjFDNTc1LjgyNSsxMjU1LjIxKzU3NS44NDgrMTAwNCs1NzUuODQ4KzEwMDRMNTc3LjQ1KzQ5MC40NDJMODM0LjQ1KzQ5MC40NDJDMTEwOC45NSs0OTAuNDQyKzExMDguOTUrODM1LjM0Mis4MzQuNDUrODM1LjM0Mkw2NjQuNjUrODM1LjM0Mkw2NjQuNjUrMTE2NC44NEw4MzQuNDUrMTE2NC44NEM5MjMuOTMyKzExNjQuODQrOTg0LjI0NCsxMjAxLjQ4KzEwMTUuMzkrMTI1MC44N0MxMDc5Ljc4KzEzNTMrMTAxOS40NysxNTA5LjY0KzgzNC40NSsxNTA5LjY0TDEzNS40NSsxNTA5LjY0TDEzNS40NSsxODY0LjU0TDgyNi42NSsxODY0LjU0QzExODIuOTUrMTg2NC41NCsxNDU5LjQ1KzE3MjEuOTQrMTQ2OS4yNSsxMzY4LjU0QzE0NjkuMjUrMTIwNS45NCsxNDI0Ljc1KzEwODQuNDQrMTM0Ni4zNSs5OTkuOTQyQzE0MjQuNzUrOTE1LjU0MisxNDY5LjI1Kzc5NC4wNDIrMTQ2OS4yNSs2MzEuNDQyWiIgZmlsbD0iI0ZGRkZGRiIgb3BhY2l0eT0iMSIvPiAgICA8L2c+PC9zdmc+); } @@ -22,6 +22,15 @@ } /* // */ +.bd-social-logo { + opacity: 0.6; +} + +.bd-social-link:hover .bd-social-logo { + opacity: 1; +} + + .bd-reload { cursor: pointer; vertical-align: top; diff --git a/css/main.min.css b/css/main.min.css index f33a0549..d5b29214 100644 --- a/css/main.min.css +++ b/css/main.min.css @@ -1 +1 @@ -.bd-logo,.bd-loaderv2{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+IDwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIj4gICAgPG1ldGFkYXRhIC8+ICAgIDxkZWZzPiAgICAgICAgPGZpbHRlciBpZD0ic2hhZG93MSI+ICAgICAgICA8ZmVEcm9wU2hhZG93IGR4PSIyMCIgZHk9IjAiIHN0ZERldmlhdGlvbj0iMjAiIGZsb29kLWNvbG9yPSJyZ2JhKDAsMCwwLDAuMzUpIi8+ICAgICAgICA8L2ZpbHRlcj4gICAgICAgIDxmaWx0ZXIgaWQ9InNoYWRvdzIiPiAgICAgICAgPGZlRHJvcFNoYWRvdyBkeD0iMTUiIGR5PSIwIiBzdGREZXZpYXRpb249IjIwIiBmbG9vZC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwLjE1KSIvPiAgICAgICAgPC9maWx0ZXI+ICAgICAgICA8ZmlsdGVyIGlkPSJzaGFkb3czIj4gICAgICAgIDxmZURyb3BTaGFkb3cgZHg9IjEwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIyMCIgZmxvb2QtY29sb3I9InJnYmEoMCwwLDAsMC4zNSkiLz4gICAgICAgIDwvZmlsdGVyPiAgICA8L2RlZnM+ICAgIDxnPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3czKSIgZD0iTTExOTUuNDQrMTM1LjQ0MkwxMTk1LjQ0KzEzNS40NDJMOTk3LjYrMTM2LjQ0MkMxMDI0LjIrMTQ5Ljc0MisxMTcwLjM0KzE2My41NDIrMTE5My42NCsxNzkuNzQyQzEyNjQuMzQrMjI4Ljg0MisxMzE5Ljc0KzI5MS4yNDIrMTM1OC4yNCszNjUuMDQyQzEzOTguMTQrNDQxLjY0MisxNDE5Ljc0KzUzMC42NDIrMTQyMi41NCs2MjkuNjQyTDE0MjIuNTQrNjMwLjg0MkwxNDIyLjU0KzYzMi4wNDJDMTQyMi41NCs3NzMuMTQyKzE0MjIuNTQrMTIyOC4xNCsxNDIyLjU0KzEzNjkuMTRMMTQyMi41NCsxMzcwLjM0TDE0MjIuNTQrMTM3MS41NEMxNDE5Ljg0KzE0NzAuNTQrMTM5OC4yNCsxNTU5LjU0KzEzNTguMjQrMTYzNi4xNEMxMzE5Ljc0KzE3MDkuOTQrMTI2NC40NCsxNzcyLjM0KzExOTMuNjQrMTgyMS40NEMxMTcxLjA0KzE4MzcuMTQrMTAyNS43KzE4NTAuNTQrMTAwMCsxODYzLjU0TDExOTMuNTQrMTg2NC41NEMxNTM5Ljc0KzE4NjYuNDQrMTg2NC41NCsxNjkzLjM0KzE4NjQuNTQrMTI5Ni42NEwxODY0LjU0KzcxNi45NDJDMTg2Ni40NCszMTIuNDQyKzE1NDEuNjQrMTM1LjQ0MisxMTk1LjQ0KzEzNS40NDJaIiBmaWxsPSIjMTcxNzE3IiBvcGFjaXR5PSIxIi8+ICAgICAgICA8cGF0aCBzdHlsZT0iZmlsdGVyOiB1cmwoI3NoYWRvdzIpIiBkPSJNMTY5NS41NCs2MzEuNDQyQzE2ODUuODQrMjc4LjA0MisxNDA5LjM0KzEzNS40NDIrMTA1Mi45NCsxMzUuNDQyTDM2MS43NCsxMzYuNDQyTDgwMy43NCs0OTAuNDQyTDEwNjAuNzQrNDkwLjQ0MkMxMzM1LjI0KzQ5MC40NDIrMTMzNS4yNCs4MzUuMzQyKzEwNjAuNzQrODM1LjM0MkwxMDYwLjc0KzExNjQuODRDMTE1MC4yMisxMTY0Ljg0KzEyMTAuNTMrMTIwMS40OCsxMjQxLjY4KzEyNTAuODdDMTMwNi4wNysxMzUzKzEyNDUuNzYrMTUwOS42NCsxMDYwLjc0KzE1MDkuNjRMMzYxLjc0KzE4NjMuNTRMMTA1Mi45NCsxODY0LjU0QzE0MDkuMjQrMTg2NC41NCsxNjg1Ljc0KzE3MjEuOTQrMTY5NS41NCsxMzY4LjU0QzE2OTUuNTQrMTIwNS45NCsxNjUxLjA0KzEwODQuNDQrMTU3Mi42NCs5OTkuOTQyQzE2NTEuMDQrOTE1LjU0MisxNjk1LjU0Kzc5NC4wNDIrMTY5NS41NCs2MzEuNDQyWiIgZmlsbD0iIzNFODJFNSIgb3BhY2l0eT0iMSIvPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3cxKSIgZD0iTTE0NjkuMjUrNjMxLjQ0MkMxNDU5LjU1KzI3OC4wNDIrMTE4My4wNSsxMzUuNDQyKzgyNi42NSsxMzUuNDQyTDEzNS40NSsxMzUuNDQyTDEzNS40NSsxMDA0QzEzNS40NSsxMDA0KzEzNS40MjcrMTI1NS4yMSszNTUuNjI2KzEyNTUuMjFDNTc1LjgyNSsxMjU1LjIxKzU3NS44NDgrMTAwNCs1NzUuODQ4KzEwMDRMNTc3LjQ1KzQ5MC40NDJMODM0LjQ1KzQ5MC40NDJDMTEwOC45NSs0OTAuNDQyKzExMDguOTUrODM1LjM0Mis4MzQuNDUrODM1LjM0Mkw2NjQuNjUrODM1LjM0Mkw2NjQuNjUrMTE2NC44NEw4MzQuNDUrMTE2NC44NEM5MjMuOTMyKzExNjQuODQrOTg0LjI0NCsxMjAxLjQ4KzEwMTUuMzkrMTI1MC44N0MxMDc5Ljc4KzEzNTMrMTAxOS40NysxNTA5LjY0KzgzNC40NSsxNTA5LjY0TDEzNS40NSsxNTA5LjY0TDEzNS40NSsxODY0LjU0TDgyNi42NSsxODY0LjU0QzExODIuOTUrMTg2NC41NCsxNDU5LjQ1KzE3MjEuOTQrMTQ2OS4yNSsxMzY4LjU0QzE0NjkuMjUrMTIwNS45NCsxNDI0Ljc1KzEwODQuNDQrMTM0Ni4zNSs5OTkuOTQyQzE0MjQuNzUrOTE1LjU0MisxNDY5LjI1Kzc5NC4wNDIrMTQ2OS4yNSs2MzEuNDQyWiIgZmlsbD0iI0ZGRkZGRiIgb3BhY2l0eT0iMSIvPiAgICA8L2c+PC9zdmc+)}.bd-loaderv2{position:fixed;bottom:5px;right:5px;z-index:2147483647;display:block;width:20px;height:20px;background-size:100% 100%;animation:bd-loaderv2-animation 1.5s ease-in-out infinite}@keyframes bd-loaderv2-animation{0%{opacity:.05}50%{opacity:.6}to{opacity:.05}}.bd-reload{cursor:pointer;vertical-align:top;fill:#dcddde}.bd-reload:hover{fill:#fff}.bd-reload-header{margin-left:5px}.bd-reload-card{margin-right:5px}.bda-controls{display:flex}.standardSidebarView-3F1I7i .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}.standardSidebarView-3F1I7i #bd-customcss-attach-controls button,.bd-detached-css-editor #bd-customcss-attach-controls button{margin:0;width:100px;background:#31332b;color:#fff;height:26px;font-weight:600;margin-top:5px;border-radius:3px}.standardSidebarView-3F1I7i #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:gray solid 1px;color:#000!important}#custom-css-ta{background:#d8d8d8;height:200px;font-family:"Consolas"}.contentRegion-3nDuYy .CodeMirror,.contentRegion-3nDuYy .cm-s-material .CodeMirror-gutters,#bd-customcss-detach-container .CodeMirror,#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{background:#292b2f!important}.contentRegion-3nDuYy #bd-customcss-attach-controls,#bd-customcss-detach-container #bd-customcss-attach-controls{background:#272822;color:#fff;border:0;box-shadow:0 1px 0 0 #2f3129 inset}.contentRegion-3nDuYy #bd-customcss-pane,.contentRegion-3nDuYy #bd-customcss-innerpane,#bd-customcss-detach-container #bd-customcss-pane,#bd-customcss-detach-container #bd-customcss-innerpane{min-height:calc(80vh - 165px)}.contentRegion-3nDuYy .CodeMirror,.contentRegion-3nDuYy .CodeMirror-scroll{max-height:calc(95vh - 165px);min-height:calc(95vh - 165px);height:auto}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical,.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{background:0 0!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical{margin-right:3px!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{margin-bottom:3px!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical div,.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal div,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div{background:#18191c!important;border:0!important;border-radius:5px!important}.contentRegion-3nDuYy .CodeMirror-scrollbar-filler,#bd-customcss-detach-container .CodeMirror-scrollbar-filler{display:none!important}.standardSidebarView-3F1I7i #editor-detached h3{color:#87909c;font-weight:600;font-size:22px}.standardSidebarView-3F1I7i #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 .standardSidebarView-3F1I7i #editor-detached button{background:#3a71c1}.standardSidebarView-3F1I7i .bd-versioninfo-wrapper{bottom:0;left:0;position:fixed;background:inherit;right:0;padding:5px}.standardSidebarView-3F1I7i .bd-versioninfo-wrapper span{color:#b9bbbe;font-weight:600;font-size:11px}.standardSidebarView-3F1I7i .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-server-card.bd-server-card-pinned{margin-bottom:15px}.bd-server-card.bd-server-card-pinned:after{background:#3a71c1;content:"";height:3px;width:100%;display:block;margin-top:7px;position:absolute;top:100%}.bd-server-description-container{color:#b9bbbe;min-height:65px;max-height:65px;border-top:1px solid #3f4146;border-bottom:1px solid #3f4146;padding-top:5px;font-size:13px}.bd-server-header{justify-content:space-between;font-weight:600}.bd-server-card{display:flex}.bd-server-content{padding:5px 10px;flex:1}.bd-server-image{min-width:115px;min-height:115px;max-width:115px;max-height:115px}.bd-server-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-right:15px;max-width:330px;flex:1 1 50%}.bd-layer{-ms-flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0}.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}.editor-wrapper{display:flex}.line-numbers,.editor{line-height:normal;font-family:Consolas,monospace;box-sizing:border-box;height:calc(100vh - 250px);font-size:14px}.line-numbers{white-space:pre;color:gray;padding:10px 5px 0 5px;background:#24262a;overflow:hidden}.editor{width:100%;background:#292b2f;outline:0;color:#fff;padding:10px;resize:none}#bd-customcss-detach-container .editor-wrapper,#bd-customcss-detach-container .line-numbers,#bd-customcss-detach-container .editor{height:100%}#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.stop-animation{animation:none!important}.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:.5s emote-spin infinite linear}.emote2spin{animation:.5s emote-spin-reverse infinite linear}.emotespin3{animation:.2s emote-spin infinite linear}.emote3spin{animation:.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 .3s linear infinite}.emoteshake3{animation:emote-shake3 .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{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes emote-spin-reverse{0%{transform:rotate(0deg)}to{transform:rotate(-360deg)}}@keyframes emote-pulse{0%{-webkit-transform:scale(1,1)}50%{-webkit-transform:scale(1.2,1.2)}to{-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 .divider-32i8lo{opacity:0}.bd-minimal .large-3ChYtB{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .content-3dzVd8{border-left:2px solid #ebebeb;padding-left:2px}.bd-minimal .theme-dark .content-3dzVd8{border-left:2px solid #303030}.bd-minimal .username-_4ZSMR{font-size:small}.bd-minimal.bd-minimal-chan .channels-Ie2l6A{display:none}.bd-minimal .container-1YxwTf{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .members-1998pB .small-5Os1Bb{max-width:15px;max-height:15px;background-size:15px 15px}.bd-minimal .members-1998pB .small-5Os1Bb .status-oxiHuE{height:5px;width:5px}.bd-minimal .members-1998pB .member-3W1lQa{padding:5px}.bd-minimal .members-1998pB .memberInner-2CPc3V{transform:scale(.9)}.bd-minimal .membersWrap-2h-GB4{min-width:0}.bd-minimal .members-1998pB .membersGroup-v9BXpm{margin-top:3px;transform:scale(.9)}.bd-minimal .channels-Ie2l6A header span{font-size:12px}.bd-minimal .channels-Ie2l6A .channels-Ie2l6A{padding:0}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ .guildInner-3DSoA4 a,.bd-minimal .guild-1EfMGQ .guildInner-3DSoA4 .guildIcon-CT-ZDq{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild-1EfMGQ .guildInner-3DSoA4{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds-1q_RqH .homeIcon-1FoKUJ{width:10px;height:10px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds-1q_RqH .friendsOnline-_wi_fM{margin-left:-15px;font-size:7px}.bd-minimal .guildsWrapper-5TJh6A{width:45px}.bd-minimal .guildsWrapper-5TJh6A .guildSeparator-1X4GQ1{margin-left:-15px}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ.selected-ML3OIq:before{height:20px;margin-top:-10px}.bd-minimal .guildsAdd-21_IdK{font-size:20px;line-height:14px}.bd-minimal .guilds-1q_RqH .audio-3vVhBi .guildInner-3DSoA4:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}.bd-minimal .btn-hamburger{margin-right:-30px}.bd-minimal .container-2Thooq .avatar-small{width:15px;height:15px;background-size:15px 15px}.bd-minimal .container-2Thooq .avatar-small .status-oxiHuE{height:5px;width:5px}.bd-minimal .container-2Thooq .accountDetails-3k9g4n{transform:scale(.8)}.bd-minimal .container-2Thooq .button-2b6hmh{height:14px;width:14px;background-size:14px 14px;margin-left:3px}.bd-minimal .container-2Thooq .button-2b6hmh svg{height:14px;width:14px}.bd-minimal .channels-Ie2l6A{width:160px}.bd-minimal .content-20Aix8{transform:scale(.9)}.bd-minimal .containerDefault-3GGEv_{transform:scale(.9)}.bd-minimal .icon-sxakjD{width:14px;height:14px}.emotewrapper{position:relative;display:inline-flex;object-fit:contain;margin:-.1em .05em -.2em .1em;vertical-align:top}.emotewrapper.jumboable{margin-bottom:0;margin-top:.2em;vertical-align:-.3em}.emote{height:1.45em}.emote.jumboable{height:2rem}.emotewrapper:hover .fav{display:block}#bd-changelog h2{font-size:150%;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.5)}.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:0;background-size:100% 100%;background-repeat:no-repeat;background-color:#303030;border-radius:5px;top:-7px;cursor:pointer}.fav.active{background-color:#ff0}#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:0!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:fixed;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:#000}.tipsy-inner{background-color:#000;color:#fff;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:0!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:#fff;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:0!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 .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:0;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 .8s linear}.server-official,.server-tags{visibility:visible;opacity:1;transition:visibility 0s,opacity .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;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 #fff;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 #fff;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,.emojiPicker-3m1S-j{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:0 0;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:0;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;padding-right:2em;background:0 0;border:1px solid transparent!important;-webkit-appearance:none;appearance:none;color:#404040;outline:0!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:0;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:0!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}#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,.bda-dark .emojiPicker-3m1S-j{background-color:#353535}.bda-dark .emoji-picker .category,.bda-dark .emojiPicker-3m1S-j .category-2U57w6{background-color:#353535}.bda-dark .emoji-picker .header .search-bar,.bda-dark .emojiPicker-3m1S-j .header-1nkwgG .search-bar{background-color:#2b2b2b}.bda-dark .emoji-picker .search-bar input,.bda-dark .emojiPicker-3m1S-j .search-bar input{color:#fff}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder,.bda-dark .emojiPicker-3m1S-j .search-bar input::-webkit-input-placeholder{color:#fff}.bda-dark .emoji-picker .scroller .emoji-item.selected,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7 .emojiItem-109bjA.selected-39BZ4S{background-color:rgba(123,123,123,.37)}.bda-dark .emoji-picker .dimmer.visible,.bda-dark .emojiPicker-3m1S-j .dimmer-3iH-5D.visible-3k45bQ{background-color:rgba(62,62,62,.65)}.bda-dark .emoji-picker .diversity-selector .popout-3sVMXz,.bda-dark .emojiPicker-3m1S-j .diversitySelector-tmmMv0 .popout-2nUePc{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,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-webkit-scrollbar,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-webkit-scrollbar-track,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-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 emojiPicker-3g68GS .scroller-3vODG7::-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{background:#7289da;color:#fff;border-radius:5px;margin-left:10px}#bd-settings-sidebar .ui-tab-bar-item{font-size:16px;font-weight:500;line-height:20px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;flex-shrink:0;padding:6px 10px;border-radius:3px;position:relative;overflow:hidden}#bd-settings-sidebar .ui-tab-bar-item.selected{cursor:default}.theme-dark #bd-settings-sidebar .ui-tab-bar-item{color:#b9bbbe}.theme-dark #bd-settings-sidebar .ui-tab-bar-item:hover{background-color:rgba(185,187,190,.1);color:#f6f6f7}.theme-dark #bd-settings-sidebar .ui-tab-bar-item.selected{background-color:#7289da;color:#fff}.theme-light #bd-settings-sidebar .ui-tab-bar-item{color:#72767d}.theme-light #bd-settings-sidebar .ui-tab-bar-item:hover{background-color:rgba(79,84,92,.1);color:#4f545c}.theme-light #bd-settings-sidebar .ui-tab-bar-item.selected{background-color:#7289da;color:#fff}#bd-settings-sidebar .ui-tab-bar-header{font-size:12px;font-weight:700;line-height:16px;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;padding:6px 10px;overflow:hidden}.theme-dark #bd-settings-sidebar .ui-tab-bar-header{color:#72767d}.theme-light #bd-settings-sidebar .ui-tab-bar-header{color:#b9bbbe}#bd-settings-sidebar .ui-tab-bar-separator{height:1px;margin:8px 10px}.theme-dark #bd-settings-sidebar .ui-tab-bar-separator{background-color:rgba(114,118,125,.3)}.theme-light #bd-settings-sidebar .ui-tab-bar-separator{background-color:rgba(185,187,190,.3)}#bd-settingspane-container h2.ui-form-title{font-size:16px;font-weight:600;line-height:20px;text-transform:uppercase;display:inline-block;margin-bottom:20px}.theme-dark #bd-settingspane-container h2.ui-form-title{color:#f6f6f7}.theme-light #bd-settingspane-container h2.ui-form-title{color:#4f545c}#bd-settingspane-container .ui-switch-item{flex-direction:column;margin-top:8px}#bd-settingspane-container .ui-switch-item h3{font-size:16px;font-weight:500;line-height:24px;flex:1}.theme-dark #bd-settingspane-container .ui-switch-item h3{color:#f6f6f7}.theme-light #bd-settingspane-container .ui-switch-item h3{color:#4f545c}#bd-settingspane-container .ui-switch-item .style-description{font-size:14px;font-weight:500;line-height:20px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(114,118,126,.3)}.theme-dark #bd-settingspane-container .ui-switch-item .style-description{color:#72767d}.theme-light #bd-settingspane-container .ui-switch-item .style-description{color:rgba(114,118,125,.6)}#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:rgba(186,188,191,.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:rgba(114,118,126,.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:0;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:0;transition:background-color .15s ease,border .15s ease}#bd-settingspane-container .scroller-wrap{height:100%}#bd-settingspane-container .scroller-wrap .scroller{display:flex}.bda-slist{user-select:text}.bda-slist li{max-height:175px;margin-bottom:20px;padding:5px 8px;border:1px solid transparent;border-radius:5px;overflow:hidden}.theme-dark .bda-slist li{background-color:rgba(32,34,37,.6);color:#f6f6f7;border-color:#202225}.theme-light .bda-slist li{background-color:#f8f9f9;color:#4f545c;border-color:#dcddde}.bda-slist li.settings-open{max-height:800px;overflow-y:auto}.bda-slist .bda-header{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid transparent;overflow:hidden}.theme-dark .bda-slist .bda-header{color:#f6f6f7;border-bottom-color:rgba(114,118,125,.3)}.theme-light .bda-slist .bda-header{color:#4f545c;border-bottom-color:rgba(185,187,190,.3)}.bda-slist .bda-description{word-break:break-word;max-height:100px;margin:5px 0;padding:5px 0;overflow-y:auto}.theme-dark .bda-slist .bda-description{color:#b9bbbe}.theme-light .bda-slist .bda-description{color:#72767d}.bda-slist .scroller::-webkit-scrollbar-track-piece,.bda-slist .scroller::-webkit-scrollbar-thumb{border-radius:0!important;border-color:transparent}.bda-slist .bda-footer{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding-top:5px;border-top:1px solid transparent;overflow:hidden}.theme-dark .bda-slist .bda-footer{border-top-color:rgba(114,118,125,.3)}.theme-light .bda-slist .bda-footer{border-top-color:rgba(185,187,190,.3)}.bda-slist .bda-footer button{background:#7289da;color:#fff;border-radius:5px;display:block;margin-left:auto;padding:2px 16px;transition:opacity 250ms ease}.bda-slist .bda-footer button:disabled{opacity:.4}.bda-slist .bda-footer a{color:#7289da}.bda-slist .bda-footer a:hover{text-decoration:underline}@keyframes bd-backdrop{to{opacity:.85}}@keyframes bd-modal-wrapper{to{transform:scale(1);opacity:1}}@keyframes bd-backdrop-closing{to{opacity:0}}@keyframes bd-modal-wrapper-closing{to{transform:scale(.7);opacity:0}}.bd-backdrop{animation:bd-backdrop 250ms ease;animation-fill-mode:forwards;opacity:0;background-color:#000;transform:translateZ(0)}.bd-modal-wrapper.closing .bd-backdrop{animation:bd-backdrop-closing 200ms linear;animation-fill-mode:forwards;animation-delay:50ms;opacity:.85}.bd-modal-wrapper.closing .bd-modal{animation:bd-modal-wrapper-closing 250ms cubic-bezier(.19,1,.22,1);animation-fill-mode:forwards;opacity:1;transform:scale(1)}.bd-modal-wrapper .bd-modal{animation:bd-modal-wrapper 250ms cubic-bezier(.175,.885,.32,1.275);animation-fill-mode:forwards;transform:scale(.7);transform-origin:50% 50%;display:flex;align-items:center;box-sizing:border-box;contain:content;justify-content:center;top:0;left:0;bottom:0;right:0;opacity:0;pointer-events:none;position:absolute;z-index:1000}.bd-modal-wrapper .bd-modal-inner{display:flex;contain:layout;flex-direction:column;pointer-events:auto;border:1px solid rgba(28,36,43,.6);border-radius:5px;box-shadow:0 2px 10px 0 rgba(0,0,0,.2);overflow:hidden;max-height:660px;min-height:200px;width:440px;user-select:text}.bd-modal-wrapper .bd-content-modal .bd-modal-inner{height:500px;width:700px}.bd-modal-wrapper .header{background-color:#35393e;box-shadow:0 2px 3px 0 rgba(0,0,0,.2);padding:12px 20px;z-index:1;color:#fff;font-size:16px;font-weight:700;line-height:19px}.bd-modal-wrapper .bd-modal-body{background-color:#36393f;color:#fff;flex-direction:row;overflow:hidden;display:flex;flex-direction:column;flex:1;contain:layout;position:relative}.bd-modal-wrapper .scroller{padding:10px}.bd-modal-wrapper .bd-content-modal .bd-modal-body{padding:0}.bd-modal-wrapper .scroller{overflow-y:auto}.bd-modal-wrapper .footer{display:flex;justify-content:flex-end;padding:10px 20px}.bd-modal-wrapper .footer button{background-color:#7289da;color:#fff;min-height:32px;min-width:60px;align-items:center;border-radius:3px;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:16px;padding:2px 16px;user-select:none}.bd-modal-wrapper .footer button:hover{background-color:#677bc4}.bd-modal-wrapper .footer button:active{background-color:#5f6fb9}.bd-modal-wrapper .tab-bar-container{align-items:center;border-bottom:0;background:rgba(0,0,0,.2);box-shadow:0 2px 3px 0 rgba(0,0,0,.1);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:15px}.bd-modal-wrapper .tab-bar.TOP{margin:0;border:0}.bd-modal-wrapper .tab-bar-container .tab-bar-item{margin:0 15px;padding:15px 0;color:#fff!important;opacity:.5;transition:opacity 200ms ease}.bd-modal-wrapper .tab-bar-container .tab-bar-item:hover{border-color:#fff}.bd-modal-wrapper .tab-bar-container .tab-bar-item.selected{opacity:1;border-color:#fff}.bd-modal-wrapper .tab-bar.TOP .tab-bar-item+.tab-bar-item{margin:0}.bd-modal-wrapper .table-header{display:flex;justify-content:space-between;color:#fff;font-weight:700;padding-bottom:10px;margin:3px 15px 0 15px;border-bottom:1px solid #fff;font-size:14px}.bd-modal-wrapper .table-column{width:25%}.bd-modal-wrapper .table-column.column-error{width:50%}.bd-modal-wrapper .table-column{word-wrap:break-word}.bd-modal-wrapper .errors{display:flex;flex-direction:column;padding:0;font-size:14px;padding:0 5px}.bd-modal-wrapper .error{display:flex;color:#fff;border-bottom:1px solid rgba(255,255,255,.25);padding:15px 0;align-items:center}.bd-modal-wrapper .bd-content-modal .scroller{padding-top:0}.bd-toasts{position:fixed;display:flex;top:0;flex-direction:column;align-items:center;justify-content:flex-end;pointer-events:none;z-index:4000}@keyframes bd-toast-up{0%{transform:translateY(0);opacity:0}}.bd-toast{animation:bd-toast-up 300ms ease;transform:translateY(-10px);background:#36393f;padding:10px;border-radius:5px;box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);font-weight:500;color:#fff;user-select:text;font-size:14px;opacity:1;margin-top:10px;pointer-events:none;user-select:none}@keyframes bd-toast-down{to{transform:translateY(0);opacity:0}}.bd-toast.closing{animation:bd-toast-down 200ms ease;animation-fill-mode:forwards;opacity:1;transform:translateY(-10px)}.bd-toast.icon{padding-left:30px;background-size:20px 20px;background-repeat:no-repeat;background-position:6px 50%}.bd-toast.toast-info{background-color:#4a90e2}.bd-toast.toast-info.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtNmgydjZ6bTAtOGgtMlY3aDJ2MnoiLz48L3N2Zz4=)}.bd-toast.toast-success{background-color:#43b581}.bd-toast.toast-success.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}.bd-toast.toast-danger,.bd-toast.toast-error{background-color:#f04747}.bd-toast.toast-danger.icon,.bd-toast.toast-error.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTUgMTMuNTlMMTUuNTkgMTcgMTIgMTMuNDEgOC40MSAxNyA3IDE1LjU5IDEwLjU5IDEyIDcgOC40MSA4LjQxIDcgMTIgMTAuNTkgMTUuNTkgNyAxNyA4LjQxIDEzLjQxIDEyIDE3IDE1LjU5eiIvPiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+)}.bd-toast.toast-warning,.bd-toast.toast-warn{background-color:#ffa600;color:#fff}.bd-toast.toast-warning.icon,.bd-toast.toast-warn.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMSAyMWgyMkwxMiAyIDEgMjF6bTEyLTNoLTJ2LTJoMnYyem0wLTRoLTJ2LTRoMnY0eiIvPjwvc3ZnPg==)}.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-3sVMXz.popoutLeft-30WmrD header:before{border-left-color:#3a71c1}.bd-blue .popout-3sVMXz.popout-right header:before{border-right-color:#3a71c1}.bd-blue .popout-3sVMXz.popoutBottom-1YbShG header:before{border-bottom-color:#3a71c1}.bd-blue .popout-3sVMXz.popoutInvert-3UdKhn:not(.popoutBottom-1YbShG).popoutTop-3uu9vG 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 .emojiPicker-3m1S-j .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,rgba(255,255,255,0),#3a71c1);background:linear-gradient(to right,rgba(255,255,255,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}.bd-blue .bda-slist .bda-footer button{background-color:#3a71c1}.bd-blue .bda-slist .bda-footer a{color:#3a71c1}.bd-blue .bd-modal-wrapper .footer button{background-color:#3a71c1}.bd-blue .bd-modal-wrapper .footer button:hover{background-color:#356bbb}.bd-blue .bd-modal-wrapper .footer button:active{background-color:#2a61b1} \ No newline at end of file +.bd-loaderv2{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+IDwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMjAwMCAyMDAwIj4gICAgPG1ldGFkYXRhIC8+ICAgIDxkZWZzPiAgICAgICAgPGZpbHRlciBpZD0ic2hhZG93MSI+ICAgICAgICA8ZmVEcm9wU2hhZG93IGR4PSIyMCIgZHk9IjAiIHN0ZERldmlhdGlvbj0iMjAiIGZsb29kLWNvbG9yPSJyZ2JhKDAsMCwwLDAuMzUpIi8+ICAgICAgICA8L2ZpbHRlcj4gICAgICAgIDxmaWx0ZXIgaWQ9InNoYWRvdzIiPiAgICAgICAgPGZlRHJvcFNoYWRvdyBkeD0iMTUiIGR5PSIwIiBzdGREZXZpYXRpb249IjIwIiBmbG9vZC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwLjE1KSIvPiAgICAgICAgPC9maWx0ZXI+ICAgICAgICA8ZmlsdGVyIGlkPSJzaGFkb3czIj4gICAgICAgIDxmZURyb3BTaGFkb3cgZHg9IjEwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIyMCIgZmxvb2QtY29sb3I9InJnYmEoMCwwLDAsMC4zNSkiLz4gICAgICAgIDwvZmlsdGVyPiAgICA8L2RlZnM+ICAgIDxnPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3czKSIgZD0iTTExOTUuNDQrMTM1LjQ0MkwxMTk1LjQ0KzEzNS40NDJMOTk3LjYrMTM2LjQ0MkMxMDI0LjIrMTQ5Ljc0MisxMTcwLjM0KzE2My41NDIrMTE5My42NCsxNzkuNzQyQzEyNjQuMzQrMjI4Ljg0MisxMzE5Ljc0KzI5MS4yNDIrMTM1OC4yNCszNjUuMDQyQzEzOTguMTQrNDQxLjY0MisxNDE5Ljc0KzUzMC42NDIrMTQyMi41NCs2MjkuNjQyTDE0MjIuNTQrNjMwLjg0MkwxNDIyLjU0KzYzMi4wNDJDMTQyMi41NCs3NzMuMTQyKzE0MjIuNTQrMTIyOC4xNCsxNDIyLjU0KzEzNjkuMTRMMTQyMi41NCsxMzcwLjM0TDE0MjIuNTQrMTM3MS41NEMxNDE5Ljg0KzE0NzAuNTQrMTM5OC4yNCsxNTU5LjU0KzEzNTguMjQrMTYzNi4xNEMxMzE5Ljc0KzE3MDkuOTQrMTI2NC40NCsxNzcyLjM0KzExOTMuNjQrMTgyMS40NEMxMTcxLjA0KzE4MzcuMTQrMTAyNS43KzE4NTAuNTQrMTAwMCsxODYzLjU0TDExOTMuNTQrMTg2NC41NEMxNTM5Ljc0KzE4NjYuNDQrMTg2NC41NCsxNjkzLjM0KzE4NjQuNTQrMTI5Ni42NEwxODY0LjU0KzcxNi45NDJDMTg2Ni40NCszMTIuNDQyKzE1NDEuNjQrMTM1LjQ0MisxMTk1LjQ0KzEzNS40NDJaIiBmaWxsPSIjMTcxNzE3IiBvcGFjaXR5PSIxIi8+ICAgICAgICA8cGF0aCBzdHlsZT0iZmlsdGVyOiB1cmwoI3NoYWRvdzIpIiBkPSJNMTY5NS41NCs2MzEuNDQyQzE2ODUuODQrMjc4LjA0MisxNDA5LjM0KzEzNS40NDIrMTA1Mi45NCsxMzUuNDQyTDM2MS43NCsxMzYuNDQyTDgwMy43NCs0OTAuNDQyTDEwNjAuNzQrNDkwLjQ0MkMxMzM1LjI0KzQ5MC40NDIrMTMzNS4yNCs4MzUuMzQyKzEwNjAuNzQrODM1LjM0MkwxMDYwLjc0KzExNjQuODRDMTE1MC4yMisxMTY0Ljg0KzEyMTAuNTMrMTIwMS40OCsxMjQxLjY4KzEyNTAuODdDMTMwNi4wNysxMzUzKzEyNDUuNzYrMTUwOS42NCsxMDYwLjc0KzE1MDkuNjRMMzYxLjc0KzE4NjMuNTRMMTA1Mi45NCsxODY0LjU0QzE0MDkuMjQrMTg2NC41NCsxNjg1Ljc0KzE3MjEuOTQrMTY5NS41NCsxMzY4LjU0QzE2OTUuNTQrMTIwNS45NCsxNjUxLjA0KzEwODQuNDQrMTU3Mi42NCs5OTkuOTQyQzE2NTEuMDQrOTE1LjU0MisxNjk1LjU0Kzc5NC4wNDIrMTY5NS41NCs2MzEuNDQyWiIgZmlsbD0iIzNFODJFNSIgb3BhY2l0eT0iMSIvPiAgICAgICAgPHBhdGggc3R5bGU9ImZpbHRlcjogdXJsKCNzaGFkb3cxKSIgZD0iTTE0NjkuMjUrNjMxLjQ0MkMxNDU5LjU1KzI3OC4wNDIrMTE4My4wNSsxMzUuNDQyKzgyNi42NSsxMzUuNDQyTDEzNS40NSsxMzUuNDQyTDEzNS40NSsxMDA0QzEzNS40NSsxMDA0KzEzNS40MjcrMTI1NS4yMSszNTUuNjI2KzEyNTUuMjFDNTc1LjgyNSsxMjU1LjIxKzU3NS44NDgrMTAwNCs1NzUuODQ4KzEwMDRMNTc3LjQ1KzQ5MC40NDJMODM0LjQ1KzQ5MC40NDJDMTEwOC45NSs0OTAuNDQyKzExMDguOTUrODM1LjM0Mis4MzQuNDUrODM1LjM0Mkw2NjQuNjUrODM1LjM0Mkw2NjQuNjUrMTE2NC44NEw4MzQuNDUrMTE2NC44NEM5MjMuOTMyKzExNjQuODQrOTg0LjI0NCsxMjAxLjQ4KzEwMTUuMzkrMTI1MC44N0MxMDc5Ljc4KzEzNTMrMTAxOS40NysxNTA5LjY0KzgzNC40NSsxNTA5LjY0TDEzNS40NSsxNTA5LjY0TDEzNS40NSsxODY0LjU0TDgyNi42NSsxODY0LjU0QzExODIuOTUrMTg2NC41NCsxNDU5LjQ1KzE3MjEuOTQrMTQ2OS4yNSsxMzY4LjU0QzE0NjkuMjUrMTIwNS45NCsxNDI0Ljc1KzEwODQuNDQrMTM0Ni4zNSs5OTkuOTQyQzE0MjQuNzUrOTE1LjU0MisxNDY5LjI1Kzc5NC4wNDIrMTQ2OS4yNSs2MzEuNDQyWiIgZmlsbD0iI0ZGRkZGRiIgb3BhY2l0eT0iMSIvPiAgICA8L2c+PC9zdmc+)}.bd-loaderv2{position:fixed;bottom:5px;right:5px;z-index:2147483647;display:block;width:20px;height:20px;background-size:100% 100%;animation:bd-loaderv2-animation 1.5s ease-in-out infinite}@keyframes bd-loaderv2-animation{0%{opacity:.05}50%{opacity:.6}to{opacity:.05}}.bd-social-logo{opacity:.6}.bd-social-link:hover .bd-social-logo{opacity:1}.bd-reload{cursor:pointer;vertical-align:top;fill:#dcddde}.bd-reload:hover{fill:#fff}.bd-reload-header{margin-left:5px}.bd-reload-card{margin-right:5px}.bda-controls{display:flex}.standardSidebarView-3F1I7i .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}.standardSidebarView-3F1I7i #bd-customcss-attach-controls button,.bd-detached-css-editor #bd-customcss-attach-controls button{margin:0;width:100px;background:#31332b;color:#fff;height:26px;font-weight:600;margin-top:5px;border-radius:3px}.standardSidebarView-3F1I7i #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:gray solid 1px;color:#000!important}#custom-css-ta{background:#d8d8d8;height:200px;font-family:"Consolas"}.contentRegion-3nDuYy .CodeMirror,.contentRegion-3nDuYy .cm-s-material .CodeMirror-gutters,#bd-customcss-detach-container .CodeMirror,#bd-customcss-detach-container .cm-s-material .CodeMirror-gutters{background:#292b2f!important}.contentRegion-3nDuYy #bd-customcss-attach-controls,#bd-customcss-detach-container #bd-customcss-attach-controls{background:#272822;color:#fff;border:0;box-shadow:0 1px 0 0 #2f3129 inset}.contentRegion-3nDuYy #bd-customcss-pane,.contentRegion-3nDuYy #bd-customcss-innerpane,#bd-customcss-detach-container #bd-customcss-pane,#bd-customcss-detach-container #bd-customcss-innerpane{min-height:calc(80vh - 165px)}.contentRegion-3nDuYy .CodeMirror,.contentRegion-3nDuYy .CodeMirror-scroll{max-height:calc(95vh - 165px);min-height:calc(95vh - 165px);height:auto}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical,.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{background:0 0!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical{margin-right:3px!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal{margin-bottom:3px!important}.contentRegion-3nDuYy .CodeMirror-simplescroll-vertical div,.contentRegion-3nDuYy .CodeMirror-simplescroll-horizontal div,#bd-customcss-detach-container .CodeMirror-simplescroll-vertical div,#bd-customcss-detach-container .CodeMirror-simplescroll-horizontal div{background:#18191c!important;border:0!important;border-radius:5px!important}.contentRegion-3nDuYy .CodeMirror-scrollbar-filler,#bd-customcss-detach-container .CodeMirror-scrollbar-filler{display:none!important}.standardSidebarView-3F1I7i #editor-detached h3{color:#87909c;font-weight:600;font-size:22px}.standardSidebarView-3F1I7i #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 .standardSidebarView-3F1I7i #editor-detached button{background:#3a71c1}.standardSidebarView-3F1I7i .bd-versioninfo-wrapper{bottom:0;left:0;position:fixed;background:inherit;right:0;padding:5px}.standardSidebarView-3F1I7i .bd-versioninfo-wrapper span{color:#b9bbbe;font-weight:600;font-size:11px}.standardSidebarView-3F1I7i .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-server-card.bd-server-card-pinned{margin-bottom:15px}.bd-server-card.bd-server-card-pinned:after{background:#3a71c1;content:"";height:3px;width:100%;display:block;margin-top:7px;position:absolute;top:100%}.bd-server-description-container{color:#b9bbbe;min-height:65px;max-height:65px;border-top:1px solid #3f4146;border-bottom:1px solid #3f4146;padding-top:5px;font-size:13px}.bd-server-header{justify-content:space-between;font-weight:600}.bd-server-card{display:flex}.bd-server-content{padding:5px 10px;flex:1}.bd-server-image{min-width:115px;min-height:115px;max-width:115px;max-height:115px}.bd-server-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-right:15px;max-width:330px;flex:1 1 50%}.bd-layer{-ms-flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0}.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}.editor-wrapper{display:flex}.line-numbers,.editor{line-height:normal;font-family:Consolas,monospace;box-sizing:border-box;height:calc(100vh - 250px);font-size:14px}.line-numbers{white-space:pre;color:gray;padding:10px 5px 0 5px;background:#24262a;overflow:hidden}.editor{width:100%;background:#292b2f;outline:0;color:#fff;padding:10px;resize:none}#bd-customcss-detach-container .editor-wrapper,#bd-customcss-detach-container .line-numbers,#bd-customcss-detach-container .editor{height:100%}#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.stop-animation{animation:none!important}.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:.5s emote-spin infinite linear}.emote2spin{animation:.5s emote-spin-reverse infinite linear}.emotespin3{animation:.2s emote-spin infinite linear}.emote3spin{animation:.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 .3s linear infinite}.emoteshake3{animation:emote-shake3 .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{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes emote-spin-reverse{0%{transform:rotate(0deg)}to{transform:rotate(-360deg)}}@keyframes emote-pulse{0%{-webkit-transform:scale(1,1)}50%{-webkit-transform:scale(1.2,1.2)}to{-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 .divider-32i8lo{opacity:0}.bd-minimal .large-3ChYtB{max-width:20px;max-height:20px;background-size:100%;margin-right:2px;margin-top:0;border-radius:0}.bd-minimal .content-3dzVd8{border-left:2px solid #ebebeb;padding-left:2px}.bd-minimal .theme-dark .content-3dzVd8{border-left:2px solid #303030}.bd-minimal .username-_4ZSMR{font-size:small}.bd-minimal.bd-minimal-chan .channels-Ie2l6A{display:none}.bd-minimal .container-1YxwTf{padding:5px}.bd-minimal .embed{padding:2px}.bd-minimal .members-1998pB .small-5Os1Bb{max-width:15px;max-height:15px;background-size:15px 15px}.bd-minimal .members-1998pB .small-5Os1Bb .status-oxiHuE{height:5px;width:5px}.bd-minimal .members-1998pB .member-3W1lQa{padding:5px}.bd-minimal .members-1998pB .memberInner-2CPc3V{transform:scale(.9)}.bd-minimal .membersWrap-2h-GB4{min-width:0}.bd-minimal .members-1998pB .membersGroup-v9BXpm{margin-top:3px;transform:scale(.9)}.bd-minimal .channels-Ie2l6A header span{font-size:12px}.bd-minimal .channels-Ie2l6A .channels-Ie2l6A{padding:0}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ .guildInner-3DSoA4 a,.bd-minimal .guild-1EfMGQ .guildInner-3DSoA4 .guildIcon-CT-ZDq{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guild-1EfMGQ .guildInner-3DSoA4{width:20px;height:20px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds-1q_RqH .homeIcon-1FoKUJ{width:10px;height:10px;background-size:100%;font-size:15px;line-height:20px}.bd-minimal .guilds-1q_RqH .friendsOnline-_wi_fM{margin-left:-15px;font-size:7px}.bd-minimal .guildsWrapper-5TJh6A{width:45px}.bd-minimal .guildsWrapper-5TJh6A .guildSeparator-1X4GQ1{margin-left:-15px}.bd-minimal .guildsWrapper-5TJh6A .guilds-1q_RqH .guild-1EfMGQ.selected-ML3OIq:before{height:20px;margin-top:-10px}.bd-minimal .guildsAdd-21_IdK{font-size:20px;line-height:14px}.bd-minimal .guilds-1q_RqH .audio-3vVhBi .guildInner-3DSoA4:after{width:12px;height:12px;background-size:12px}.bd-minimal .guild-header header span{margin-left:-20px}.bd-minimal .btn-hamburger{margin-right:-30px}.bd-minimal .container-2Thooq .avatar-small{width:15px;height:15px;background-size:15px 15px}.bd-minimal .container-2Thooq .avatar-small .status-oxiHuE{height:5px;width:5px}.bd-minimal .container-2Thooq .accountDetails-3k9g4n{transform:scale(.8)}.bd-minimal .container-2Thooq .button-2b6hmh{height:14px;width:14px;background-size:14px 14px;margin-left:3px}.bd-minimal .container-2Thooq .button-2b6hmh svg{height:14px;width:14px}.bd-minimal .channels-Ie2l6A{width:160px}.bd-minimal .content-20Aix8{transform:scale(.9)}.bd-minimal .containerDefault-3GGEv_{transform:scale(.9)}.bd-minimal .icon-sxakjD{width:14px;height:14px}.emotewrapper{position:relative;display:inline-flex;object-fit:contain;margin:-.1em .05em -.2em .1em;vertical-align:top}.emotewrapper.jumboable{margin-bottom:0;margin-top:.2em;vertical-align:-.3em}.emote{height:1.45em}.emote.jumboable{height:2rem}.emotewrapper:hover .fav{display:block}#bd-changelog h2{font-size:150%;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.5)}.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:0;background-size:100% 100%;background-repeat:no-repeat;background-color:#303030;border-radius:5px;top:-7px;cursor:pointer}.fav.active{background-color:#ff0}#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:0!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:fixed;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:#000}.tipsy-inner{background-color:#000;color:#fff;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:0!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:#fff;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:0!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 .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:0;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 .8s linear}.server-official,.server-tags{visibility:visible;opacity:1;transition:visibility 0s,opacity .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;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 #fff;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 #fff;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,.emojiPicker-3m1S-j{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:0 0;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:0;padding:.6em .8em .5em .8em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;padding-right:2em;background:0 0;border:1px solid transparent!important;-webkit-appearance:none;appearance:none;color:#404040;outline:0!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:0;border-radius:0;box-shadow:0 1px 0 1px rgba(0,0,0,.04);background:#fff;outline:0!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}#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,.bda-dark .emojiPicker-3m1S-j{background-color:#353535}.bda-dark .emoji-picker .category,.bda-dark .emojiPicker-3m1S-j .category-2U57w6{background-color:#353535}.bda-dark .emoji-picker .header .search-bar,.bda-dark .emojiPicker-3m1S-j .header-1nkwgG .search-bar{background-color:#2b2b2b}.bda-dark .emoji-picker .search-bar input,.bda-dark .emojiPicker-3m1S-j .search-bar input{color:#fff}.bda-dark .emoji-picker .search-bar input::-webkit-input-placeholder,.bda-dark .emojiPicker-3m1S-j .search-bar input::-webkit-input-placeholder{color:#fff}.bda-dark .emoji-picker .scroller .emoji-item.selected,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7 .emojiItem-109bjA.selected-39BZ4S{background-color:rgba(123,123,123,.37)}.bda-dark .emoji-picker .dimmer.visible,.bda-dark .emojiPicker-3m1S-j .dimmer-3iH-5D.visible-3k45bQ{background-color:rgba(62,62,62,.65)}.bda-dark .emoji-picker .diversity-selector .popout-3sVMXz,.bda-dark .emojiPicker-3m1S-j .diversitySelector-tmmMv0 .popout-2nUePc{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,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-webkit-scrollbar,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-webkit-scrollbar-track,.bda-dark .emojiPicker-3m1S-j .scroller-3vODG7::-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 emojiPicker-3g68GS .scroller-3vODG7::-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{background:#7289da;color:#fff;border-radius:5px;margin-left:10px}#bd-settings-sidebar .ui-tab-bar-item{font-size:16px;font-weight:500;line-height:20px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;flex-shrink:0;padding:6px 10px;border-radius:3px;position:relative;overflow:hidden}#bd-settings-sidebar .ui-tab-bar-item.selected{cursor:default}.theme-dark #bd-settings-sidebar .ui-tab-bar-item{color:#b9bbbe}.theme-dark #bd-settings-sidebar .ui-tab-bar-item:hover{background-color:rgba(185,187,190,.1);color:#f6f6f7}.theme-dark #bd-settings-sidebar .ui-tab-bar-item.selected{background-color:#7289da;color:#fff}.theme-light #bd-settings-sidebar .ui-tab-bar-item{color:#72767d}.theme-light #bd-settings-sidebar .ui-tab-bar-item:hover{background-color:rgba(79,84,92,.1);color:#4f545c}.theme-light #bd-settings-sidebar .ui-tab-bar-item.selected{background-color:#7289da;color:#fff}#bd-settings-sidebar .ui-tab-bar-header{font-size:12px;font-weight:700;line-height:16px;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;padding:6px 10px;overflow:hidden}.theme-dark #bd-settings-sidebar .ui-tab-bar-header{color:#72767d}.theme-light #bd-settings-sidebar .ui-tab-bar-header{color:#b9bbbe}#bd-settings-sidebar .ui-tab-bar-separator{height:1px;margin:8px 10px}.theme-dark #bd-settings-sidebar .ui-tab-bar-separator{background-color:rgba(114,118,125,.3)}.theme-light #bd-settings-sidebar .ui-tab-bar-separator{background-color:rgba(185,187,190,.3)}#bd-settingspane-container h2.ui-form-title{font-size:16px;font-weight:600;line-height:20px;text-transform:uppercase;display:inline-block;margin-bottom:20px}.theme-dark #bd-settingspane-container h2.ui-form-title{color:#f6f6f7}.theme-light #bd-settingspane-container h2.ui-form-title{color:#4f545c}#bd-settingspane-container .ui-switch-item{flex-direction:column;margin-top:8px}#bd-settingspane-container .ui-switch-item h3{font-size:16px;font-weight:500;line-height:24px;flex:1}.theme-dark #bd-settingspane-container .ui-switch-item h3{color:#f6f6f7}.theme-light #bd-settingspane-container .ui-switch-item h3{color:#4f545c}#bd-settingspane-container .ui-switch-item .style-description{font-size:14px;font-weight:500;line-height:20px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(114,118,126,.3)}.theme-dark #bd-settingspane-container .ui-switch-item .style-description{color:#72767d}.theme-light #bd-settingspane-container .ui-switch-item .style-description{color:rgba(114,118,125,.6)}#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:rgba(186,188,191,.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:rgba(114,118,126,.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:0;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:0;transition:background-color .15s ease,border .15s ease}#bd-settingspane-container .scroller-wrap{height:100%}#bd-settingspane-container .scroller-wrap .scroller{display:flex}.bda-slist{user-select:text}.bda-slist li{max-height:175px;margin-bottom:20px;padding:5px 8px;border:1px solid transparent;border-radius:5px;overflow:hidden}.theme-dark .bda-slist li{background-color:rgba(32,34,37,.6);color:#f6f6f7;border-color:#202225}.theme-light .bda-slist li{background-color:#f8f9f9;color:#4f545c;border-color:#dcddde}.bda-slist li.settings-open{max-height:800px;overflow-y:auto}.bda-slist .bda-header{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid transparent;overflow:hidden}.theme-dark .bda-slist .bda-header{color:#f6f6f7;border-bottom-color:rgba(114,118,125,.3)}.theme-light .bda-slist .bda-header{color:#4f545c;border-bottom-color:rgba(185,187,190,.3)}.bda-slist .bda-description{word-break:break-word;max-height:100px;margin:5px 0;padding:5px 0;overflow-y:auto}.theme-dark .bda-slist .bda-description{color:#b9bbbe}.theme-light .bda-slist .bda-description{color:#72767d}.bda-slist .scroller::-webkit-scrollbar-track-piece,.bda-slist .scroller::-webkit-scrollbar-thumb{border-radius:0!important;border-color:transparent}.bda-slist .bda-footer{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding-top:5px;border-top:1px solid transparent;overflow:hidden}.theme-dark .bda-slist .bda-footer{border-top-color:rgba(114,118,125,.3)}.theme-light .bda-slist .bda-footer{border-top-color:rgba(185,187,190,.3)}.bda-slist .bda-footer button{background:#7289da;color:#fff;border-radius:5px;display:block;margin-left:auto;padding:2px 16px;transition:opacity 250ms ease}.bda-slist .bda-footer button:disabled{opacity:.4}.bda-slist .bda-footer a{color:#7289da}.bda-slist .bda-footer a:hover{text-decoration:underline}@keyframes bd-backdrop{to{opacity:.85}}@keyframes bd-modal-wrapper{to{transform:scale(1);opacity:1}}@keyframes bd-backdrop-closing{to{opacity:0}}@keyframes bd-modal-wrapper-closing{to{transform:scale(.7);opacity:0}}.bd-backdrop{animation:bd-backdrop 250ms ease;animation-fill-mode:forwards;opacity:0;background-color:#000;transform:translateZ(0)}.bd-modal-wrapper.closing .bd-backdrop{animation:bd-backdrop-closing 200ms linear;animation-fill-mode:forwards;animation-delay:50ms;opacity:.85}.bd-modal-wrapper.closing .bd-modal{animation:bd-modal-wrapper-closing 250ms cubic-bezier(.19,1,.22,1);animation-fill-mode:forwards;opacity:1;transform:scale(1)}.bd-modal-wrapper .bd-modal{animation:bd-modal-wrapper 250ms cubic-bezier(.175,.885,.32,1.275);animation-fill-mode:forwards;transform:scale(.7);transform-origin:50% 50%;display:flex;align-items:center;box-sizing:border-box;contain:content;justify-content:center;top:0;left:0;bottom:0;right:0;opacity:0;pointer-events:none;position:absolute;z-index:1000}.bd-modal-wrapper .bd-modal-inner{display:flex;contain:layout;flex-direction:column;pointer-events:auto;border:1px solid rgba(28,36,43,.6);border-radius:5px;box-shadow:0 2px 10px 0 rgba(0,0,0,.2);overflow:hidden;max-height:660px;min-height:200px;width:440px;user-select:text}.bd-modal-wrapper .bd-content-modal .bd-modal-inner{height:500px;width:700px}.bd-modal-wrapper .header{background-color:#35393e;box-shadow:0 2px 3px 0 rgba(0,0,0,.2);padding:12px 20px;z-index:1;color:#fff;font-size:16px;font-weight:700;line-height:19px}.bd-modal-wrapper .bd-modal-body{background-color:#36393f;color:#fff;flex-direction:row;overflow:hidden;display:flex;flex-direction:column;flex:1;contain:layout;position:relative}.bd-modal-wrapper .scroller{padding:10px}.bd-modal-wrapper .bd-content-modal .bd-modal-body{padding:0}.bd-modal-wrapper .scroller{overflow-y:auto}.bd-modal-wrapper .footer{display:flex;justify-content:flex-end;padding:10px 20px}.bd-modal-wrapper .footer button{background-color:#7289da;color:#fff;min-height:32px;min-width:60px;align-items:center;border-radius:3px;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:16px;padding:2px 16px;user-select:none}.bd-modal-wrapper .footer button:hover{background-color:#677bc4}.bd-modal-wrapper .footer button:active{background-color:#5f6fb9}.bd-modal-wrapper .tab-bar-container{align-items:center;border-bottom:0;background:rgba(0,0,0,.2);box-shadow:0 2px 3px 0 rgba(0,0,0,.1);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:15px}.bd-modal-wrapper .tab-bar.TOP{margin:0;border:0}.bd-modal-wrapper .tab-bar-container .tab-bar-item{margin:0 15px;padding:15px 0;color:#fff!important;opacity:.5;transition:opacity 200ms ease}.bd-modal-wrapper .tab-bar-container .tab-bar-item:hover{border-color:#fff}.bd-modal-wrapper .tab-bar-container .tab-bar-item.selected{opacity:1;border-color:#fff}.bd-modal-wrapper .tab-bar.TOP .tab-bar-item+.tab-bar-item{margin:0}.bd-modal-wrapper .table-header{display:flex;justify-content:space-between;color:#fff;font-weight:700;padding-bottom:10px;margin:3px 15px 0 15px;border-bottom:1px solid #fff;font-size:14px}.bd-modal-wrapper .table-column{width:25%}.bd-modal-wrapper .table-column.column-error{width:50%}.bd-modal-wrapper .table-column{word-wrap:break-word}.bd-modal-wrapper .errors{display:flex;flex-direction:column;padding:0;font-size:14px;padding:0 5px}.bd-modal-wrapper .error{display:flex;color:#fff;border-bottom:1px solid rgba(255,255,255,.25);padding:15px 0;align-items:center}.bd-modal-wrapper .bd-content-modal .scroller{padding-top:0}.bd-toasts{position:fixed;display:flex;top:0;flex-direction:column;align-items:center;justify-content:flex-end;pointer-events:none;z-index:4000}@keyframes bd-toast-up{0%{transform:translateY(0);opacity:0}}.bd-toast{animation:bd-toast-up 300ms ease;transform:translateY(-10px);background:#36393f;padding:10px;border-radius:5px;box-shadow:0 0 0 1px rgba(32,34,37,.6),0 2px 10px 0 rgba(0,0,0,.2);font-weight:500;color:#fff;user-select:text;font-size:14px;opacity:1;margin-top:10px;pointer-events:none;user-select:none}@keyframes bd-toast-down{to{transform:translateY(0);opacity:0}}.bd-toast.closing{animation:bd-toast-down 200ms ease;animation-fill-mode:forwards;opacity:1;transform:translateY(-10px)}.bd-toast.icon{padding-left:30px;background-size:20px 20px;background-repeat:no-repeat;background-position:6px 50%}.bd-toast.toast-info{background-color:#4a90e2}.bd-toast.toast-info.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtNmgydjZ6bTAtOGgtMlY3aDJ2MnoiLz48L3N2Zz4=)}.bd-toast.toast-success{background-color:#43b581}.bd-toast.toast-success.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}.bd-toast.toast-danger,.bd-toast.toast-error{background-color:#f04747}.bd-toast.toast-danger.icon,.bd-toast.toast-error.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTUgMTMuNTlMMTUuNTkgMTcgMTIgMTMuNDEgOC40MSAxNyA3IDE1LjU5IDEwLjU5IDEyIDcgOC40MSA4LjQxIDcgMTIgMTAuNTkgMTUuNTkgNyAxNyA4LjQxIDEzLjQxIDEyIDE3IDE1LjU5eiIvPiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+)}.bd-toast.toast-warning,.bd-toast.toast-warn{background-color:#ffa600;color:#fff}.bd-toast.toast-warning.icon,.bd-toast.toast-warn.icon{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMSAyMWgyMkwxMiAyIDEgMjF6bTEyLTNoLTJ2LTJoMnYyem0wLTRoLTJ2LTRoMnY0eiIvPjwvc3ZnPg==)}.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-3sVMXz.popoutLeft-30WmrD header:before{border-left-color:#3a71c1}.bd-blue .popout-3sVMXz.popout-right header:before{border-right-color:#3a71c1}.bd-blue .popout-3sVMXz.popoutBottom-1YbShG header:before{border-bottom-color:#3a71c1}.bd-blue .popout-3sVMXz.popoutInvert-3UdKhn:not(.popoutBottom-1YbShG).popoutTop-3uu9vG 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 .emojiPicker-3m1S-j .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,rgba(255,255,255,0),#3a71c1);background:linear-gradient(to right,rgba(255,255,255,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}.bd-blue .bda-slist .bda-footer button{background-color:#3a71c1}.bd-blue .bda-slist .bda-footer a{color:#3a71c1}.bd-blue .bd-modal-wrapper .footer button{background-color:#3a71c1}.bd-blue .bd-modal-wrapper .footer button:hover{background-color:#356bbb}.bd-blue .bd-modal-wrapper .footer button:active{background-color:#2a61b1} \ No newline at end of file diff --git a/js/main.js b/js/main.js index e2d1c005..81289f40 100644 --- a/js/main.js +++ b/js/main.js @@ -181,7 +181,7 @@ window.bdPluginStorage = class bdPluginStorage { var settingsPanel, emoteModule, quickEmoteMenu, voiceMode, pluginModule, themeModule, dMode, publicServersModule; var minSupportedVersion = "0.3.0"; -var bbdVersion = "0.2.3"; +var bbdVersion = "0.2.4"; var mainCore; @@ -273,8 +273,6 @@ function Core(config) { window.bdConfig = config; } -var classNormalizer; - Core.prototype.init = async function() { if (bdConfig.version < minSupportedVersion) { this.alert("Not Supported", "BetterDiscord v" + bdConfig.version + " (your version)" + " is not supported by the latest js (" + bbdVersion + ").

Please download the latest version from GitHub"); @@ -290,7 +288,6 @@ Core.prototype.init = async function() { Utils.log("Initializing Settings"); this.initSettings(); - classNormalizer = new ClassNormalizer(); emoteModule = new EmoteModule(); quickEmoteMenu = new QuickEmoteMenu(); Utils.log("Initializing EmoteModule"); @@ -300,13 +297,14 @@ Core.prototype.init = async function() { quickEmoteMenu.init(); }); publicServersModule = new V2_PublicServers(); - + voiceMode = new VoiceMode(); dMode = new devMode(); - + this.injectExternals(); await this.checkForGuilds(); + BDV2.initialize(); Utils.log("Updating Settings"); settingsPanel = new V2_SettingsPanel(); settingsPanel.updateSettings(); @@ -339,20 +337,12 @@ Core.prototype.init = async function() { Utils.log("Collecting Startup Errors"); this.showContentErrors({plugins: bdpluginErrors, themes: bdthemeErrors}); } - - if (!DataStore.getBDData("RNMAnnouncement")) { - DataStore.setBDData("RNMAnnouncement", true); - this.alert("Significant Changes", ` - The lastest release of BBD has made a lot of improvements including being able to automatically load, unload, and reload plugins and themes.

- If you had the RestartNoMore plugin, I suggest removing it (or turning off BBD's loader in settings) so things aren't being loaded multiple times. - `); - } }; Core.prototype.checkForGuilds = function() { return new Promise(resolve => { const checkForGuilds = function() { - if (document.querySelectorAll(`.${BDV2.guildClasses.guilds} .${BDV2.guildClasses.guild}`).length > 0) return resolve(bdConfig.deferLoaded = true); + if (document.querySelectorAll(`.${BDV2.guildClasses.guilds.split(" ")[0]} .${BDV2.guildClasses.guild.split(" ")[0]}`).length > 0) return resolve(bdConfig.deferLoaded = true); setTimeout(checkForGuilds, 100); }; $(document).ready(function () { @@ -850,7 +840,7 @@ EmoteModule.prototype.loadEmoteData = async function(emoteInfo) { _fs.unlinkSync(file); } - if (!settingsCookie["fork-es-3"]) return quickEmoteMenu.init(); + if (!settingsCookie["fork-es-3"]) return; if (settingsCookie["fork-ps-2"]) mainCore.showToast("Downloading emotes in the background do not reload.", {type: "info"}); for (let e in emoteInfo) { @@ -863,8 +853,6 @@ EmoteModule.prototype.loadEmoteData = async function(emoteInfo) { try { _fs.writeFileSync(file, JSON.stringify(window.bdEmotes), "utf8"); } catch (err) { Utils.err("[Emotes] Could not save emote data.", err); } - - quickEmoteMenu.init(); }; EmoteModule.prototype.downloadEmotes = function(emoteMeta) { @@ -2116,89 +2104,115 @@ devMode.prototype.getSelector = function(element) { }; -var ClassNormalizer = class ClassNormalizer { - constructor() { - this.classFormat = new RegExp(`^(?!da-)[A-Za-z]+-([A-Za-z]|[0-9]|-|_){6}$`); - this.normFormat = new RegExp(`^(?!da-)(?:-?[a-z])+$`); - this.mainObserver = new MutationObserver((changes) => { - for (let c = 0; c < changes.length; c++) { - const change = changes[c]; - const elements = change.addedNodes; - if (!elements) continue; - for (let n = 0; n < elements.length; n++) { - if (!(elements[n] instanceof Element) || !elements[n].classList) continue; - this.normalizeClasses(elements[n]); +var ClassNormalizer = (() => { + const normalizedPrefix = "da"; + const randClass = new RegExp(`^(?!${normalizedPrefix}-)((?:[A-Za-z]|[0-9]|-)+)-(?:[A-Za-z]|[0-9]|-|_){6}$`); + + return new class ClassNormalizer { + + stop() { + if (!this.hasPatched) return; + this.unpatchClassModules(BdApi.findAllModules(this.moduleFilter.bind(this))); + this.revertElement(document.querySelector("#app-mount")); + this.hasPatched = false; + } + + start() { + if (this.hasPatched) return; + this.patchClassModules(BdApi.findAllModules(this.moduleFilter.bind(this))); + this.normalizeElement(document.querySelector("#app-mount")); + this.hasPatched = true; + } + + patchClassModules(modules) { + for (const module of modules) { + this.patchClassModule(normalizedPrefix, module); + } + } + + unpatchClassModules(modules) { + for (const module of modules) { + this.unpatchClassModule(normalizedPrefix, module); + } + } + + shouldIgnore(value) { + if (!isNaN(value)) return true; + if (value.endsWith("px") || value.endsWith("ch") || value.endsWith("em") || value.endsWith("ms")) return true; + if (value.startsWith("#") && (value.length == 7 || value.length == 4)) return true; + if (value.includes("calc(") || value.includes("rgba")) return true; + return false; + } + + moduleFilter(module) { + if (typeof module !== "object" || Array.isArray(module)) return false; + if (module.__esModule) return false; + if (!Object.keys(module).length) return false; + for (const baseClassName in module) { + const value = module[baseClassName]; + if (typeof value !== "string") return false; + if (this.shouldIgnore(value)) continue; + if (value.split("-").length === 1) return false; + if (!randClass.test(value.split(" ")[0])) return false; + } + + return true; + } + + patchClassModule(componentName, classNames) { + for (const baseClassName in classNames) { + const value = classNames[baseClassName]; + if (this.shouldIgnore(value)) continue; + const classList = value.split(" "); + for (const normalClass of classList) { + const match = normalClass.match(randClass)[1]; + if (!match) continue; // Shouldn't ever happen since they passed the moduleFilter, but you never know + const camelCase = match.split("-").map((s, i) => i ? s[0].toUpperCase() + s.slice(1) : s).join(""); + classNames[baseClassName] += ` ${componentName}-${camelCase}`; } } - }); - - this.cache = {}; - this.isActive = false; - } + } - stop() { - if (!this.isActive) return; - this.isActive = false; - this.mainObserver.disconnect(); - this.revertClasses(document.querySelector("#app-mount")); - } - - start() { - if (this.isActive) return; - this.isActive = true; - this.normalizeClasses(document.querySelector("#app-mount")); - this.mainObserver.observe(document.querySelector("#app-mount"), {childList: true, subtree: true}); - } - - toCamelCase(className) { - return className.split("-").map((s, i) => i ? s[0].toUpperCase() + s.slice(1) : s).join(""); - } - - isRandomizedClass(className) { - return this.classFormat.test(className); - } - - isNormalClass(className) { - return this.normFormat.test(className); - } - - normalizeClasses(element) { - if (!(element instanceof Element)) return; - if (element.children && element.children.length) this.normalizeClasses(element.children[0]); - if (element.nextElementSibling) this.normalizeClasses(element.nextElementSibling); - const classes = element.classList; - const toAdd = []; - for (let c = 0; c < classes.length; c++) { - if (this.cache[classes[c]]) { - toAdd.push(this.cache[classes[c]]); - } - else if (this.isNormalClass(classes[c])) { - const newClass = "da-" + this.toCamelCase(classes[c]); - toAdd.push(newClass); - this.cache[classes[c]] = newClass; - } - else if (this.isRandomizedClass(classes[c])) { - const newClass = "da-" + classes[c].split("-")[0]; - toAdd.push(newClass); - this.cache[classes[c]] = newClass; + unpatchClassModule(componentName, classNames) { + for (const baseClassName in classNames) { + const value = classNames[baseClassName]; + if (this.shouldIgnore(value)) continue; + let newString = ""; + const classList = value.split(" "); + for (const normalClass of classList) { + if (normalClass.startsWith(`${componentName}-`)) continue; + newString += ` ${normalClass}`; + } + classNames[baseClassName] = newString.trim(); } } - element.classList.add(...toAdd); - } - revertClasses(element) { - if (!(element instanceof Element)) return; - if (element.children && element.children.length) this.revertClasses(element.children[0]); - if (element.nextElementSibling) this.revertClasses(element.nextElementSibling); - const classes = element.classList; - const toRemove = []; - for (let c = 0; c < classes.length; c++) { - if (classes[c].startsWith("da-")) toRemove.push(classes[c]); + normalizeElement(element) { + if (!(element instanceof Element)) return; + const classes = element.classList; + for (let c = 0, clen = classes.length; c < clen; c++) { + if (!randClass.test(classes[c])) continue; + const match = classes[c].match(randClass)[1]; + const newClass = match.split("-").map((s, i) => i ? s[0].toUpperCase() + s.slice(1) : s).join(""); + element.classList.add(`${normalizedPrefix}-${newClass}`); + } + for (const child of element.children) this.normalizeElement(child); } - element.classList.remove(...toRemove); - } -}; + revertElement(element) { + if (!(element instanceof Element)) return; + if (element.children && element.children.length) this.revertElement(element.children[0]); + if (element.nextElementSibling) this.revertElement(element.nextElementSibling); + const classes = element.classList; + const toRemove = []; + for (let c = 0; c < classes.length; c++) { + if (classes[c].startsWith(`${normalizedPrefix}-`)) toRemove.push(classes[c]); + } + element.classList.remove(...toRemove); + } + + }; +})(); @@ -2403,61 +2417,22 @@ class V2 { this.getInternalInstance = e => e[Object.keys(e).find(k => k.startsWith("__reactInternalInstance"))]; } - get messageClasses() { - return this.WebpackModules.findByUniqueProperties(["message", "containerCozy"]) || {}; + initialize() { + this.patchSocial(); } - get guildClasses() { - return this.WebpackModules.findByUniqueProperties(["guildsWrapper"]) || { - guildsWrapper: "guilds-wrapper", - scrollerWrap: "scroller-wrap", - guilds: "guilds", - friendsIcon: "friends-icon", - homeIcon: "home-icon", - guildPlaceholder: "guild-placeholder", - guild: "guild", - selected: "selected", - unread: "unread", - guildInner: "guild-inner", - audio: "audio", - video: "video", - guildIcon: "guild-icon", - badge: "badge", - dms: "dms", - guildSeparator: "guild-separator", - guildsError: "guilds-error", - guildsAdd: "guilds-add", - guildsAddInner: "guilds-add-inner", - unreadMentionsIndicatorBottom: "unread-mentions-indicator-bottom", - unreadMentionsIndicatorTop: "unread-mentions-indicator-top", - unreadMentionsBar: "unread-mentions-bar", - unreadMentionBar: "unread-mention-bar" - }; - } - - get MessageContentComponent() {return BDV2.WebpackModules.find(m => m.defaultProps && m.defaultProps.hasOwnProperty("disableButtons"));} - - get TimeFormatter() {return BDV2.WebpackModules.findByUniqueProperties(["dateFormat"]);} - - get TooltipWrapper() {return BDV2.WebpackModules.find(m => m.prototype && m.prototype.showDelayed);} - - get NativeModule() {return BDV2.WebpackModules.findByUniqueProperties(["setBadge"]);} - - get Tooltips() {return BDV2.WebpackModules.find(m => m.hide && m.show && !m.search && !m.submit && !m.search && !m.activateRagingDemon && !m.dismiss);} - - get KeyGenerator() {return BDV2.WebpackModules.find(m => m.toString && /"binary"/.test(m.toString()));} - - get reactComponent() { - return this.internal.react.Component; - } - - get react() { - return this.internal.react; - } - - get reactDom() { - return this.internal.reactDom; - } + get react() {return this.internal.react;} + get reactDom() {return this.internal.reactDom;} + get reactComponent() {return this.internal.react.Component;} + + get messageClasses() {return this.WebpackModules.findByUniqueProperties(["message", "containerCozy"]);} + get guildClasses() {return this.WebpackModules.findByUniqueProperties(["guildsWrapper"]);} + get MessageContentComponent() {return this.WebpackModules.find(m => m.defaultProps && m.defaultProps.hasOwnProperty("disableButtons"));} + get TimeFormatter() {return this.WebpackModules.findByUniqueProperties(["dateFormat"]);} + get TooltipWrapper() {return this.WebpackModules.find(m => m.prototype && m.prototype.showDelayed);} + get NativeModule() {return this.WebpackModules.findByUniqueProperties(["setBadge"]);} + get Tooltips() {return this.WebpackModules.find(m => m.hide && m.show && !m.search && !m.submit && !m.search && !m.activateRagingDemon && !m.dismiss);} + get KeyGenerator() {return this.WebpackModules.find(m => m.toString && /"binary"/.test(m.toString()));} parseSettings(cat) { return Object.keys(settings).reduce((arr, key) => { @@ -2469,11 +2444,52 @@ class V2 { }, []); } + patchSocial() { + if (this.socialPatch) return; + const TabBar = BdApi.findModule(m => m.displayName == "TabBar"); + const Anchor = BdApi.findModule(m => m.displayName == "Anchor"); + if (!TabBar || !Anchor) return; + this.socialPatch = BdApi.monkeyPatch(TabBar.prototype, "render", {after: (data) => { + const children = data.returnValue.props.children; + if (!children || !children.length) return; + if (children[children.length - 1].type.displayName !== "SocialLinks") return; + const original = children[children.length - 1].type; + const newOne = function() { + const returnVal = original(...arguments); + returnVal.props.children.push(BdApi.React.createElement(Anchor, {className: "bd-social-link", href: "https://github.com/rauenzi/BetterDiscordApp", rel: "author", title: "BandagedBD", target: "_blank"}, + BdApi.React.createElement(BDLogo, {size: "16px", className: "bd-social-logo"}) + )); + return returnVal; + }; + children[children.length - 1].type = newOne; + }}); + } + } var BDV2 = new V2(); +class BDLogo extends BDV2.reactComponent { + render() { + return BDV2.react.createElement( + "svg", + {height: "100%", width: this.props.size || "16px", className: "bd-logo " + this.props.className, style: {fillRule: "evenodd", clipRule: "evenodd", strokeLinecap: "round", strokeLinejoin: "round"}, viewBox: "0 0 2000 2000"}, + BDV2.react.createElement("metadata", null), + BDV2.react.createElement("defs", null, + BDV2.react.createElement("filter", {id: "shadow1"}, BDV2.react.createElement("feDropShadow", {"dx": "20", "dy": "0", "stdDeviation": "20", "flood-color": "rgba(0,0,0,0.35)"})), + BDV2.react.createElement("filter", {id: "shadow2"}, BDV2.react.createElement("feDropShadow", {"dx": "15", "dy": "0", "stdDeviation": "20", "flood-color": "rgba(255,255,255,0.15)"})), + BDV2.react.createElement("filter", {id: "shadow3"}, BDV2.react.createElement("feDropShadow", {"dx": "10", "dy": "0", "stdDeviation": "20", "flood-color": "rgba(0,0,0,0.35)"})) + ), + BDV2.react.createElement("g", null, + BDV2.react.createElement("path", {style: {filter: "url(#shadow3)"}, d: "M1195.44+135.442L1195.44+135.442L997.6+136.442C1024.2+149.742+1170.34+163.542+1193.64+179.742C1264.34+228.842+1319.74+291.242+1358.24+365.042C1398.14+441.642+1419.74+530.642+1422.54+629.642L1422.54+630.842L1422.54+632.042C1422.54+773.142+1422.54+1228.14+1422.54+1369.14L1422.54+1370.34L1422.54+1371.54C1419.84+1470.54+1398.24+1559.54+1358.24+1636.14C1319.74+1709.94+1264.44+1772.34+1193.64+1821.44C1171.04+1837.14+1025.7+1850.54+1000+1863.54L1193.54+1864.54C1539.74+1866.44+1864.54+1693.34+1864.54+1296.64L1864.54+716.942C1866.44+312.442+1541.64+135.442+1195.44+135.442Z", fill: "#171717", opacity: "1"}), + BDV2.react.createElement("path", {style: {filter: "url(#shadow2)"}, d: "M1695.54+631.442C1685.84+278.042+1409.34+135.442+1052.94+135.442L361.74+136.442L803.74+490.442L1060.74+490.442C1335.24+490.442+1335.24+835.342+1060.74+835.342L1060.74+1164.84C1150.22+1164.84+1210.53+1201.48+1241.68+1250.87C1306.07+1353+1245.76+1509.64+1060.74+1509.64L361.74+1863.54L1052.94+1864.54C1409.24+1864.54+1685.74+1721.94+1695.54+1368.54C1695.54+1205.94+1651.04+1084.44+1572.64+999.942C1651.04+915.542+1695.54+794.042+1695.54+631.442Z", fill: "#3E82E5", opacity: "1"}), + BDV2.react.createElement("path", {style: {filter: "url(#shadow1)"}, d: "M1469.25+631.442C1459.55+278.042+1183.05+135.442+826.65+135.442L135.45+135.442L135.45+1004C135.45+1004+135.427+1255.21+355.626+1255.21C575.825+1255.21+575.848+1004+575.848+1004L577.45+490.442L834.45+490.442C1108.95+490.442+1108.95+835.342+834.45+835.342L664.65+835.342L664.65+1164.84L834.45+1164.84C923.932+1164.84+984.244+1201.48+1015.39+1250.87C1079.78+1353+1019.47+1509.64+834.45+1509.64L135.45+1509.64L135.45+1864.54L826.65+1864.54C1182.95+1864.54+1459.45+1721.94+1469.25+1368.54C1469.25+1205.94+1424.75+1084.44+1346.35+999.942C1424.75+915.542+1469.25+794.042+1469.25+631.442Z", fill: "#FFFFFF", opacity: "1"}) + ) + ); + } +} + class BDEmote extends BDV2.reactComponent { constructor(props) { super(props); @@ -3901,8 +3917,8 @@ class V2_SettingsPanel { mainCore.removeColoredText(); } - if (_c["fork-ps-4"]) classNormalizer.start(); - else classNormalizer.stop(); + if (_c["fork-ps-4"]) ClassNormalizer.start(); + else ClassNormalizer.stop(); if (_c["fork-ps-5"]) { ContentManager.watchContent("plugin"); @@ -4282,7 +4298,7 @@ class V2_PublicServers { } initialize() { - let guilds = $(`.${BDV2.guildClasses.guilds}>:first-child`); + let guilds = $(`.${BDV2.guildClasses.guilds.split(" ")[0]}>:first-child`); guilds.after(this.button); } } diff --git a/js/main.min.js b/js/main.min.js index dab0ac43..67957506 100644 --- a/js/main.min.js +++ b/js/main.min.js @@ -1,10 +1,7 @@ -(function(){let e=window.require("fs"),t=window.require("process"),a=t.platform,n=("win32"===a?t.env.APPDATA:"darwin"===a?t.env.HOME+"/Library/Preferences":process.env.HOME+"/.config")+"/BetterDiscord/",o="localStorage.json",s={};if(e.existsSync(`${n}${o}`))try{s=JSON.parse(e.readFileSync(`${n}${o}`))}catch(e){console.log(e)}else if(e.existsSync(o))try{s=JSON.parse(e.readFileSync(o))}catch(e){console.log(e)}var r=s;r.setItem=function(e,t){r[e]=t,this.save()},r.getItem=function(e){return r[e]||null},r.save=function(){e.writeFileSync(`${n}${o}`,JSON.stringify(this),null,4)};var i=new Proxy(r,{set:function(e,t,a){r[t]=a,r.save()},get:function(e,t){return r[t]||null}});window.localStorage=i})(),(()=>{let e=document.createElement("div");e.className="bd-loaderv2",e.title="BandagedBD is loading...",document.body.appendChild(e)})();var DataStore=(()=>{const e=require("fs"),t=require("path"),a=DiscordNative.globals.releaseChannel;return new class{constructor(){this.data={settings:{stable:{},canary:{},ptb:{}}},this.pluginData={}}initialize(){try{if(e.existsSync(this.BDFile)?this.data=require(this.BDFile):e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4)),!e.existsSync(this.settingsFile))return;let t=require(this.settingsFile);e.unlinkSync(this.settingsFile),t=t.hasOwnProperty("settings")?Object.assign({stable:{},canary:{},ptb:{}},{[a]:t}):Object.assign({stable:{},canary:{},ptb:{}},t),this.setBDData("settings",t)}catch(e){BdApi.alert("Corrupt Storage","The bd storage has somehow become corrupt. You may either try to salvage the file or delete it then reload.")}}get BDFile(){return this._BDFile||(this._BDFile=t.resolve(bdConfig.dataPath,"bdstorage.json"))}get settingsFile(){return this._settingsFile||(this._settingsFile=t.resolve(bdConfig.dataPath,"bdsettings.json"))}getPluginFile(e){return t.resolve(ContentManager.pluginsFolder,e+".config.json")}getSettingGroup(e){return this.data.settings[a][e]||null}setSettingGroup(t,n){this.data.settings[a][t]=n,e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4))}getBDData(e){return this.data[e]||""}setBDData(t,a){this.data[t]=a,e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4))}getPluginData(t,a){return void 0===this.pluginData[t]?e.existsSync(this.getPluginFile(t))?(this.pluginData[t]=JSON.parse(e.readFileSync(this.getPluginFile(t))),this.pluginData[t][a]||void 0):void 0:this.pluginData[t][a]||void 0}setPluginData(t,a,n){void 0===n||(this.pluginData[t]===void 0&&(this.pluginData[t]={}),this.pluginData[t][a]=n,e.writeFileSync(this.getPluginFile(t),JSON.stringify(this.pluginData[t],null,4)))}deletePluginData(t,a){this.pluginData[t]===void 0&&(this.pluginData[t]={}),delete this.pluginData[t][a],e.writeFileSync(this.getPluginFile(t),JSON.stringify(this.pluginData[t],null,4))}}})(),BDEvents=(()=>{const e=require("events");return new class extends e{dispatch(e,...t){this.emit(e,...t)}off(e,t){this.removeListener(e,t)}}})();window.bdStorage=class{static get(e){return Utils.warn("[Deprecation Notice] Please use BdApi.getBDData(). bdStorage may be removed in future versions."),DataStore.getBDData(e)}static set(e,t){Utils.warn("[Deprecation Notice] Please use BdApi.setBDData(). bdStorage may be removed in future versions."),DataStore.setBDData(e,t)}},window.bdPluginStorage=class{static get(e,t){return Utils.warn(`[Deprecation Notice] Please use BdApi.loadData() or BdApi.getData(). bdPluginStorage may be removed in future versions.`),DataStore.getPluginData(e,t)||null}static set(e,t,a){return Utils.warn("[Deprecation Notice] Please use BdApi.saveData() or BdApi.setData(). bdPluginStorage may be removed in future versions."),"undefined"==typeof a?Utils.warn("Trying to set undefined value in plugin "+e):void DataStore.setPluginData(e,t,a)}static delete(e,t){Utils.warn("[Deprecation Notice] Please use BdApi.deleteData(). bdPluginStorage may be removed in future versions."),DataStore.deletePluginData(e,t)}};var settingsPanel,emoteModule,quickEmoteMenu,voiceMode,pluginModule,themeModule,dMode,publicServersModule,mainCore,minSupportedVersion="0.3.0",bbdVersion="0.2.3",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"},"Content Error Modal":{id:"fork-ps-1",info:"Shows a modal with plugin/theme errors",implemented:!0,hidden:!1,cat:"fork"},"Show Toasts":{id:"fork-ps-2",info:"Shows a small notification for important information",implemented:!0,hidden:!1,cat:"fork"},"Scroll To Settings":{id:"fork-ps-3",info:"Auto-scrolls to a plugin's settings when the button is clicked (only if out of view)",implemented:!0,hidden:!1,cat:"fork"},"Animate On Hover":{id:"fork-es-2",info:"Only animate the emote modifiers on hover",implemented:!0,hidden:!1,cat:"fork"},"Copy Selector":{id:"fork-dm-1",info:"Adds a \"Copy Selector\" option to context menus when developer mode is active",implemented:!0,hidden:!1,cat:"fork"},"Download Emotes":{id:"fork-es-3",info:"Download emotes when the cache is expired",implemented:!0,hidden:!1,cat:"fork"},"Normalize Classes":{id:"fork-ps-4",info:"Adds stable classes to elements to help themes. (e.g. adds .da-channels to .channels-Ie2l6A)",implemented:!0,hidden:!1,cat:"fork"},"Automatic Loading":{id:"fork-ps-5",info:"Automatically loads, reloads, and unloads plugins and themes",implemented:!0,hidden:!1,cat:"fork"},"Enable Transparency":{id:"fork-wp-1",info:"Enables the main window to be see-through (requires restart)",implemented:!0,hidden:!1,cat:"fork"},"Window Frame":{id:"fork-wp-2",info:"Adds the native os window frame to the main window",implemented:!1,hidden:!0,cat:"fork"},"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 (flip, spin, pulse, spin2, spin3, 1spin, 2spin, 3spin, tr, bl, br, shake, shake2, shake3, flap)",implemented:!0,hidden:!1,cat:"emote"}},defaultCookie={"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":!1,"bda-es-8":!0,"bda-dc-0":!1,"bda-css-0":!1,"bda-css-1":!1,"bda-es-9":!0,"fork-dm-1":!1,"fork-ps-1":!0,"fork-ps-2":!0,"fork-ps-3":!0,"fork-ps-4":!0,"fork-ps-5":!0,"fork-es-2":!1,"fork-es-3":!0,"fork-wp-1":!1,"fork-wp-2":!1},settingsCookie={},bdpluginErrors=[],bdthemeErrors=[],bdConfig=null;function Core(e){window.bdConfig=e}var classNormalizer;Core.prototype.init=async function(){return bdConfig.version
Please download the latest version from GitHub"):void(bdConfig.updater.LatestVersion>bdConfig.version&&this.alert("Update Available",` +(function(){let e=window.require("fs"),t=window.require("process"),a=t.platform,n=("win32"===a?t.env.APPDATA:"darwin"===a?t.env.HOME+"/Library/Preferences":process.env.HOME+"/.config")+"/BetterDiscord/",o="localStorage.json",s={};if(e.existsSync(`${n}${o}`))try{s=JSON.parse(e.readFileSync(`${n}${o}`))}catch(e){console.log(e)}else if(e.existsSync(o))try{s=JSON.parse(e.readFileSync(o))}catch(e){console.log(e)}var r=s;r.setItem=function(e,t){r[e]=t,this.save()},r.getItem=function(e){return r[e]||null},r.save=function(){e.writeFileSync(`${n}${o}`,JSON.stringify(this),null,4)};var i=new Proxy(r,{set:function(e,t,a){r[t]=a,r.save()},get:function(e,t){return r[t]||null}});window.localStorage=i})(),(()=>{let e=document.createElement("div");e.className="bd-loaderv2",e.title="BandagedBD is loading...",document.body.appendChild(e)})();var DataStore=(()=>{const e=require("fs"),t=require("path"),a=DiscordNative.globals.releaseChannel;return new class{constructor(){this.data={settings:{stable:{},canary:{},ptb:{}}},this.pluginData={}}initialize(){try{if(e.existsSync(this.BDFile)?this.data=require(this.BDFile):e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4)),!e.existsSync(this.settingsFile))return;let t=require(this.settingsFile);e.unlinkSync(this.settingsFile),t=t.hasOwnProperty("settings")?Object.assign({stable:{},canary:{},ptb:{}},{[a]:t}):Object.assign({stable:{},canary:{},ptb:{}},t),this.setBDData("settings",t)}catch(e){BdApi.alert("Corrupt Storage","The bd storage has somehow become corrupt. You may either try to salvage the file or delete it then reload.")}}get BDFile(){return this._BDFile||(this._BDFile=t.resolve(bdConfig.dataPath,"bdstorage.json"))}get settingsFile(){return this._settingsFile||(this._settingsFile=t.resolve(bdConfig.dataPath,"bdsettings.json"))}getPluginFile(e){return t.resolve(ContentManager.pluginsFolder,e+".config.json")}getSettingGroup(e){return this.data.settings[a][e]||null}setSettingGroup(t,n){this.data.settings[a][t]=n,e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4))}getBDData(e){return this.data[e]||""}setBDData(t,a){this.data[t]=a,e.writeFileSync(this.BDFile,JSON.stringify(this.data,null,4))}getPluginData(t,a){return void 0===this.pluginData[t]?e.existsSync(this.getPluginFile(t))?(this.pluginData[t]=JSON.parse(e.readFileSync(this.getPluginFile(t))),this.pluginData[t][a]||void 0):void 0:this.pluginData[t][a]||void 0}setPluginData(t,a,n){void 0===n||(this.pluginData[t]===void 0&&(this.pluginData[t]={}),this.pluginData[t][a]=n,e.writeFileSync(this.getPluginFile(t),JSON.stringify(this.pluginData[t],null,4)))}deletePluginData(t,a){this.pluginData[t]===void 0&&(this.pluginData[t]={}),delete this.pluginData[t][a],e.writeFileSync(this.getPluginFile(t),JSON.stringify(this.pluginData[t],null,4))}}})(),BDEvents=(()=>{const e=require("events");return new class extends e{dispatch(e,...t){this.emit(e,...t)}off(e,t){this.removeListener(e,t)}}})();window.bdStorage=class{static get(e){return Utils.warn("[Deprecation Notice] Please use BdApi.getBDData(). bdStorage may be removed in future versions."),DataStore.getBDData(e)}static set(e,t){Utils.warn("[Deprecation Notice] Please use BdApi.setBDData(). bdStorage may be removed in future versions."),DataStore.setBDData(e,t)}},window.bdPluginStorage=class{static get(e,t){return Utils.warn(`[Deprecation Notice] Please use BdApi.loadData() or BdApi.getData(). bdPluginStorage may be removed in future versions.`),DataStore.getPluginData(e,t)||null}static set(e,t,a){return Utils.warn("[Deprecation Notice] Please use BdApi.saveData() or BdApi.setData(). bdPluginStorage may be removed in future versions."),"undefined"==typeof a?Utils.warn("Trying to set undefined value in plugin "+e):void DataStore.setPluginData(e,t,a)}static delete(e,t){Utils.warn("[Deprecation Notice] Please use BdApi.deleteData(). bdPluginStorage may be removed in future versions."),DataStore.deletePluginData(e,t)}};var settingsPanel,emoteModule,quickEmoteMenu,voiceMode,pluginModule,themeModule,dMode,publicServersModule,mainCore,minSupportedVersion="0.3.0",bbdVersion="0.2.4",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"},"Content Error Modal":{id:"fork-ps-1",info:"Shows a modal with plugin/theme errors",implemented:!0,hidden:!1,cat:"fork"},"Show Toasts":{id:"fork-ps-2",info:"Shows a small notification for important information",implemented:!0,hidden:!1,cat:"fork"},"Scroll To Settings":{id:"fork-ps-3",info:"Auto-scrolls to a plugin's settings when the button is clicked (only if out of view)",implemented:!0,hidden:!1,cat:"fork"},"Animate On Hover":{id:"fork-es-2",info:"Only animate the emote modifiers on hover",implemented:!0,hidden:!1,cat:"fork"},"Copy Selector":{id:"fork-dm-1",info:"Adds a \"Copy Selector\" option to context menus when developer mode is active",implemented:!0,hidden:!1,cat:"fork"},"Download Emotes":{id:"fork-es-3",info:"Download emotes when the cache is expired",implemented:!0,hidden:!1,cat:"fork"},"Normalize Classes":{id:"fork-ps-4",info:"Adds stable classes to elements to help themes. (e.g. adds .da-channels to .channels-Ie2l6A)",implemented:!0,hidden:!1,cat:"fork"},"Automatic Loading":{id:"fork-ps-5",info:"Automatically loads, reloads, and unloads plugins and themes",implemented:!0,hidden:!1,cat:"fork"},"Enable Transparency":{id:"fork-wp-1",info:"Enables the main window to be see-through (requires restart)",implemented:!0,hidden:!1,cat:"fork"},"Window Frame":{id:"fork-wp-2",info:"Adds the native os window frame to the main window",implemented:!1,hidden:!0,cat:"fork"},"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 (flip, spin, pulse, spin2, spin3, 1spin, 2spin, 3spin, tr, bl, br, shake, shake2, shake3, flap)",implemented:!0,hidden:!1,cat:"emote"}},defaultCookie={"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":!1,"bda-es-8":!0,"bda-dc-0":!1,"bda-css-0":!1,"bda-css-1":!1,"bda-es-9":!0,"fork-dm-1":!1,"fork-ps-1":!0,"fork-ps-2":!0,"fork-ps-3":!0,"fork-ps-4":!0,"fork-ps-5":!0,"fork-es-2":!1,"fork-es-3":!0,"fork-wp-1":!1,"fork-wp-2":!1},settingsCookie={},bdpluginErrors=[],bdthemeErrors=[],bdConfig=null;function Core(e){window.bdConfig=e}Core.prototype.init=async function(){return bdConfig.version
Please download the latest version from GitHub"):void(bdConfig.updater.LatestVersion>bdConfig.version&&this.alert("Update Available",` An update for BandagedBD is available (${bdConfig.updater.LatestVersion})! Please Reinstall!

Download Installer - `),Utils.log("Initializing Settings"),this.initSettings(),classNormalizer=new ClassNormalizer,emoteModule=new EmoteModule,quickEmoteMenu=new QuickEmoteMenu,Utils.log("Initializing EmoteModule"),window.emotePromise=emoteModule.init().then(()=>{emoteModule.initialized=!0,Utils.log("Initializing QuickEmoteMenu"),quickEmoteMenu.init()}),publicServersModule=new V2_PublicServers,voiceMode=new VoiceMode,dMode=new devMode,this.injectExternals(),await this.checkForGuilds(),Utils.log("Updating Settings"),settingsPanel=new V2_SettingsPanel,settingsPanel.updateSettings(),Utils.log("Loading Plugins"),pluginModule=new PluginModule,pluginModule.loadPlugins(),Utils.log("Loading Themes"),themeModule=new ThemeModule,themeModule.loadThemes(),$("#customcss").detach().appendTo(document.head),window.addEventListener("beforeunload",function(){settingsCookie["bda-dc-0"]&&document.querySelector(".btn.btn-disconnect").click()}),publicServersModule.initialize(),emoteModule.autoCapitalize(),Utils.log("Removing Loading Icon"),document.getElementsByClassName("bd-loaderv2")[0].remove(),Utils.log("Initializing Main Observer"),this.initObserver(),settingsCookie["fork-ps-1"]&&(Utils.log("Collecting Startup Errors"),this.showContentErrors({plugins:bdpluginErrors,themes:bdthemeErrors})),!DataStore.getBDData("RNMAnnouncement")&&(DataStore.setBDData("RNMAnnouncement",!0),this.alert("Significant Changes",` - The lastest release of BBD has made a lot of improvements including being able to automatically load, unload, and reload plugins and themes.

- If you had the RestartNoMore plugin, I suggest removing it (or turning off BBD's loader in settings) so things aren't being loaded multiple times. - `)))},Core.prototype.checkForGuilds=function(){return new Promise(e=>{const t=function(){return 0").html(atob(DataStore.getBDData("bdcustomcss"))).appendTo(document.head),defaultCookie)null==settingsCookie[e]&&(settingsCookie[e]=defaultCookie[e],this.saveSettings())},Core.prototype.saveSettings=function(){DataStore.setSettingGroup("settings",settingsCookie)},Core.prototype.loadSettings=function(){settingsCookie=DataStore.getSettingGroup("settings")},Core.prototype.initObserver=function(){const e=new MutationObserver(e=>{for(let t,a=0,n=e.length;a{if(settingsCookie["bda-gs-6"]){const a=t.returnValue.match(e);return a&&4===a.length?"AM"===a[3]?t.returnValue=t.returnValue.replace(a[0],`${"12"===a[1]?"00":a[1].padStart(2,"0")}:${a[2]}`):t.returnValue=t.returnValue.replace(a[0],`${"12"===a[1]?"12":parseInt(a[1])+12}:${a[2]}`):void 0}}})},Core.prototype.injectColoredText=function(){this.cancelColoredText||(this.cancelColoredText=Utils.monkeyPatch(BDV2.MessageContentComponent.prototype,"render",{after:e=>{settingsCookie["bda-gs-7"]&&Utils.monkeyPatch(e.returnValue.props,"children",{silent:!0,after:({returnValue:t})=>{const a=t.props.children[1],n=e.thisObject.props.message.colorString;return a&&n&&(a.props.style={color:n}),t}})}}))},Core.prototype.removeColoredText=function(){document.querySelectorAll(".markup-2BOw-j").forEach(e=>{e.style.setProperty("color","")})},Core.prototype.alert=function(e,t){let a=$(`
+ `),Utils.log("Initializing Settings"),this.initSettings(),emoteModule=new EmoteModule,quickEmoteMenu=new QuickEmoteMenu,Utils.log("Initializing EmoteModule"),window.emotePromise=emoteModule.init().then(()=>{emoteModule.initialized=!0,Utils.log("Initializing QuickEmoteMenu"),quickEmoteMenu.init()}),publicServersModule=new V2_PublicServers,voiceMode=new VoiceMode,dMode=new devMode,this.injectExternals(),await this.checkForGuilds(),BDV2.initialize(),Utils.log("Updating Settings"),settingsPanel=new V2_SettingsPanel,settingsPanel.updateSettings(),Utils.log("Loading Plugins"),pluginModule=new PluginModule,pluginModule.loadPlugins(),Utils.log("Loading Themes"),themeModule=new ThemeModule,themeModule.loadThemes(),$("#customcss").detach().appendTo(document.head),window.addEventListener("beforeunload",function(){settingsCookie["bda-dc-0"]&&document.querySelector(".btn.btn-disconnect").click()}),publicServersModule.initialize(),emoteModule.autoCapitalize(),Utils.log("Removing Loading Icon"),document.getElementsByClassName("bd-loaderv2")[0].remove(),Utils.log("Initializing Main Observer"),this.initObserver(),settingsCookie["fork-ps-1"]&&(Utils.log("Collecting Startup Errors"),this.showContentErrors({plugins:bdpluginErrors,themes:bdthemeErrors})))},Core.prototype.checkForGuilds=function(){return new Promise(e=>{const t=function(){return 0").html(atob(DataStore.getBDData("bdcustomcss"))).appendTo(document.head),defaultCookie)null==settingsCookie[e]&&(settingsCookie[e]=defaultCookie[e],this.saveSettings())},Core.prototype.saveSettings=function(){DataStore.setSettingGroup("settings",settingsCookie)},Core.prototype.loadSettings=function(){settingsCookie=DataStore.getSettingGroup("settings")},Core.prototype.initObserver=function(){const e=new MutationObserver(e=>{for(let t,a=0,n=e.length;a{if(settingsCookie["bda-gs-6"]){const a=t.returnValue.match(e);return a&&4===a.length?"AM"===a[3]?t.returnValue=t.returnValue.replace(a[0],`${"12"===a[1]?"00":a[1].padStart(2,"0")}:${a[2]}`):t.returnValue=t.returnValue.replace(a[0],`${"12"===a[1]?"12":parseInt(a[1])+12}:${a[2]}`):void 0}}})},Core.prototype.injectColoredText=function(){this.cancelColoredText||(this.cancelColoredText=Utils.monkeyPatch(BDV2.MessageContentComponent.prototype,"render",{after:e=>{settingsCookie["bda-gs-7"]&&Utils.monkeyPatch(e.returnValue.props,"children",{silent:!0,after:({returnValue:t})=>{const a=t.props.children[1],n=e.thisObject.props.message.colorString;return a&&n&&(a.props.style={color:n}),t}})}}))},Core.prototype.removeColoredText=function(){document.querySelectorAll(".markup-2BOw-j").forEach(e=>{e.style.setProperty("color","")})},Core.prototype.alert=function(e,t){let a=$(`
-
`),o=[a(e),a(t)];n.find(".tab-bar-item").on("click",t=>{t.preventDefault(),n.find(".tab-bar-item").removeClass("selected"),$(t.target).addClass("selected"),n.find(".scroller").empty().append(o[$(t.target).index()])}),n.find(".footer button").on("click",()=>{n.addClass("closing"),setTimeout(()=>{n.remove()},300)}),n.find(".bd-backdrop").on("click",()=>{n.addClass("closing"),setTimeout(()=>{n.remove()},300)}),n.appendTo("#app-mount"),e.length?n.find(".tab-bar-item")[0].click():n.find(".tab-bar-item")[1].click()},Core.prototype.showToast=function(e,t={}){if(!bdConfig.deferLoaded)return;if(!document.querySelector(".bd-toasts")){let e=document.createElement("div");e.classList.add("bd-toasts");let t=document.querySelector(".chat-3bRxxu form, #friends, .noChannel-Z1DQK7, .activityFeed-28jde9");e.style.setProperty("left",t?t.getBoundingClientRect().left+"px":"0px"),e.style.setProperty("width",t?t.offsetWidth+"px":"100%"),e.style.setProperty("bottom",(document.querySelector(".chat-3bRxxu form")?document.querySelector(".chat-3bRxxu form").offsetHeight:80)+"px"),document.querySelector(".app").appendChild(e)}const{type:a="",icon:n=!0,timeout:o=3e3}=t;let s=document.createElement("div");s.classList.add("bd-toast"),a&&s.classList.add("toast-"+a),a&&n&&s.classList.add("icon"),s.innerText=e,document.querySelector(".bd-toasts").appendChild(s),setTimeout(()=>{s.classList.add("closing"),setTimeout(()=>{s.remove(),document.querySelectorAll(".bd-toasts .bd-toast").length||document.querySelector(".bd-toasts").remove()},300)},o)},window.emotesFfz={},window.emotesBTTV={},window.emotesBTTV2={},window.emotesTwitch={},window.subEmotesTwitch={},window.bdEmotes={TwitchGlobal:{},TwitchSubscriber:{},BTTV:{},FrankerFaceZ:{},BTTV2:{}},window.bdEmoteSettingIDs={TwitchGlobal:"bda-es-7",TwitchSubscriber:"bda-es-7",BTTV:"bda-es-2",FrankerFaceZ:"bda-es-1",BTTV2:"bda-es-2"};function EmoteModule(){}EmoteModule.prototype.init=async function(){this.modifiers=["flip","spin","pulse","spin2","spin3","1spin","2spin","3spin","tr","bl","br","shake","shake2","shake3","flap"],this.overrides=["twitch","bttv","ffz"],this.categories=["TwitchGlobal","TwitchSubscriber","BTTV","BTTV2","FrankerFaceZ"];let e={TwitchGlobal:{url:"https://twitchemotes.com/api_cache/v3/global.json",backup:"https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/master/data/emotedata_twitch_global.json",variable:"TwitchGlobal",oldVariable:"emotesTwitch",getEmoteURL:t=>`https://static-cdn.jtvnw.net/emoticons/v1/${t.id}/1.0`,getOldData:(e,t)=>({id:e.match(/\/([0-9]+)\//)[1],code:t,emoticon_set:0,description:null})},TwitchSubscriber:{url:"https://twitchemotes.com/api_cache/v3/subscriber.json",backup:"https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/master/data/emotedata_twitch_subscriber.json",variable:"TwitchSubscriber",oldVariable:"subEmotesTwitch",parser:e=>{let t={};for(let a in e){let n=e[a];for(let a,o=0,e=n.emotes.length;oe,getEmoteURL:t=>`https://static-cdn.jtvnw.net/emoticons/v1/${t}/1.0`,getOldData:e=>e.match(/\/([0-9]+)\//)[1]},FrankerFaceZ:{url:"https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/master/data/emotedata_ffz.json",variable:"FrankerFaceZ",oldVariable:"emotesFfz",getEmoteURL:t=>`https://cdn.frankerfacez.com/emoticon/${t}/1`,getOldData:e=>e.match(/\/([0-9]+)\//)[1]},BTTV:{url:"https://api.betterttv.net/emotes",variable:"BTTV",oldVariable:"emotesBTTV",parser:t=>{let a={};for(let n,o=0,e=t.emotes.length;o`${t}`,getOldData:e=>e},BTTV2:{url:"https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/master/data/emotedata_bttv.json",variable:"BTTV2",oldVariable:"emotesBTTV2",getEmoteURL:t=>`https://cdn.betterttv.net/emote/${t}/1x`,getOldData:e=>e.match(/emote\/(.+)\//)[1]}};for(await this.getBlacklist(),await this.loadEmoteData(e);!BDV2.MessageContentComponent;)await new Promise(e=>setTimeout(e,100));this.cancelEmoteRender||(this.cancelEmoteRender=Utils.monkeyPatch(BDV2.MessageContentComponent.prototype,"render",{after:({returnValue:e})=>{Utils.monkeyPatch(e.props,"children",{silent:!0,after:({returnValue:e})=>{const t=e.props.children[1];if(t.props.children){const e=t.props.children[1];if(e&&e.length){for(let t=0;ti.length)continue;this.modifiers.includes(l)&&settingsCookie["bda-es-8"]||(l=""),this.overrides.includes(d)?l=d:d="";let c=this.categories[a];if("twitch"===d?window.bdEmotes.TwitchGlobal[i]?c="TwitchGlobal":window.bdEmotes.TwitchSubscriber[i]&&(c="TwitchSubscriber"):"bttv"===d?window.bdEmotes.BTTV[i]?c="BTTV":window.bdEmotes.BTTV2[i]&&(c="BTTV2"):"ffz"===d&&window.bdEmotes.FrankerFaceZ[i]&&(c="FrankerFaceZ"),!window.bdEmotes[c][i]||!settingsCookie[window.bdEmoteSettingIDs[c]])continue;const m=e[t].match(new RegExp(`([\\s]|^)${Utils.escape(l?i+":"+l:i)}([\\s]|$)`));if(!m)continue;const p=e[t].substring(0,m.index+m[1].length),u=e[t].substring(m.index+m[0].length-m[2].length);e[t]=p;const h=BDV2.react.createElement(BDEmote,{name:i,url:window.bdEmotes[c][i],modifier:l});e.splice(t+1,0,u),e.splice(t+1,0,h)}}const t=e.every(e=>"string"==typeof e&&""==e.replace(/\s*/,"")||!!(e.type&&"BDEmote"==e.type.name)||!!(e.props&&e.props.children&&e.props.children.props&&e.props.children.props.emojiName));if(t)for(let t of e)"object"==typeof t&&("BDEmote"==t.type.name?t.props.jumboable=!0:t.props&&t.props.children&&t.props.children.props&&t.props.children.props.emojiName&&(t.props.children.props.jumboable=!0))}}}})}}))},EmoteModule.prototype.clearEmoteData=async function(){let e=require("fs"),t=bdConfig.dataPath+"emote_data.json",a=e.existsSync(t);a&&e.unlinkSync(t),DataStore.setBDData("emoteCacheDate",new Date().toJSON()),window.bdEmotes={TwitchGlobal:{},TwitchSubscriber:{},BTTV:{},FrankerFaceZ:{},BTTV2:{}}},EmoteModule.prototype.goBack=async function(t){for(let a in t)for(let e in window.bdEmotes[t[a].variable])window[t[a].oldVariable][e]=t[a].getOldData(window.bdEmotes[t[a].variable][e],e)},EmoteModule.prototype.isCacheValid=function(){const e=new Date(DataStore.getBDData("emoteCacheDate")||null),t=new Date,a=Math.round(Math.abs((t.getTime()-e.getTime())/86400000));return!(a>bdConfig.cache.days)||(DataStore.setBDData("emoteCacheDate",t.toJSON()),!1)},EmoteModule.prototype.loadEmoteData=async function(t){const a=require("fs"),n=bdConfig.dataPath+"emote_data.json",o=a.existsSync(n);if(o&&this.isCacheValid()){settingsCookie["fork-ps-2"]&&mainCore.showToast("Loading emotes from cache.",{type:"info"}),Utils.log("[Emotes] Loading emotes from local cache.");const o=await new Promise(e=>{a.readFile(n,"utf8",(t,a)=>{Utils.log("[Emotes] Emotes loaded from cache."),t&&(a={}),e(a)})});let s=Utils.testJSON(o);for(const a in s&&(window.bdEmotes=JSON.parse(o)),t)s=0setTimeout(e,1e3));let e=await this.downloadEmotes(t[a]);window.bdEmotes[t[a].variable]=e}settingsCookie["fork-ps-2"]&&mainCore.showToast("All emotes successfully downloaded.",{type:"success"});try{a.writeFileSync(n,JSON.stringify(window.bdEmotes),"utf8")}catch(e){Utils.err("[Emotes] Could not save emote data.",e)}quickEmoteMenu.init()},EmoteModule.prototype.downloadEmotes=function(e){let t=require("request"),a={url:e.url,timeout:e.timeout?e.timeout:5e3};return Utils.log("[Emotes] Downloading: "+e.variable),new Promise((n,o)=>{t(a,(t,a,s)=>{if(t)return Utils.err("[Emotes] Could not download "+e.variable,t),e.backup?(e.url=e.backup,e.backup=null,e.backupParser&&(e.parser=e.backupParser),n(this.downloadEmotes(e))):o({});let r={};try{r=JSON.parse(s)}catch(a){return Utils.err("[Emotes] Could not download "+e.variable,t),e.backup?(e.url=e.backup,e.backup=null,e.backupParser&&(e.parser=e.backupParser),n(this.downloadEmotes(e))):o({})}for(let n in"function"==typeof e.parser&&(r=e.parser(r)),r)r[n]=e.getEmoteURL(r[n]);n(r),Utils.log("[Emotes] Downloaded: "+e.variable)})})},EmoteModule.prototype.getBlacklist=function(){return new Promise(e=>{$.getJSON("https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/master/data/emotefilter.json",function(t){e(bemotes=t.blacklist)})})};var bemotes=[];EmoteModule.prototype.autoCapitalize=function(){$("body").delegate($(".channelTextArea-1LDbYG textarea:first"),"keyup change paste",()=>{if(settingsCookie["bda-es-4"]){var e=$(".channelTextArea-1LDbYG textarea:first").val();if(null!=e){var t=e.split(" ").pop();if(3",t+=" ",t+=" ",t+="