S30N1K / d2ruforum

// ==UserScript==
// @namespace     https://openuserjs.org/users/S30N1K
// @name          d2ruforum
// @description   superforum
// @copyright     2021, S30N1K (https://openuserjs.org/users/S30N1K)
// @license       MIT
// @version       2.5
// @include       https://dota2.ru/*
// @grant none
// ==/UserScript==

// ==OpenUserJS==
// @author S30N1K
// ==/OpenUserJS==
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(r){var J=0;return function(){return J<r.length?{done:!1,value:r[J++]}:{done:!0}}};$jscomp.arrayIterator=function(r){return{next:$jscomp.arrayIteratorImpl(r)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(r,J,L){if(r==Array.prototype||r==Object.prototype)return r;r[J]=L.value;return r};$jscomp.getGlobal=function(r){r=["object"==typeof globalThis&&globalThis,r,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var J=0;J<r.length;++J){var L=r[J];if(L&&L.Math==Math)return L}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(r,J){var L=$jscomp.propertyToPolyfillSymbol[J];if(null==L)return r[J];L=r[L];return void 0!==L?L:r[J]};
$jscomp.polyfill=function(r,J,L,d){J&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(r,J,L,d):$jscomp.polyfillUnisolated(r,J,L,d))};$jscomp.polyfillUnisolated=function(r,J,L,d){L=$jscomp.global;r=r.split(".");for(d=0;d<r.length-1;d++){var e=r[d];if(!(e in L))return;L=L[e]}r=r[r.length-1];d=L[r];J=J(d);J!=d&&null!=J&&$jscomp.defineProperty(L,r,{configurable:!0,writable:!0,value:J})};
$jscomp.polyfillIsolated=function(r,J,L,d){var e=r.split(".");r=1===e.length;d=e[0];d=!r&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var b=0;b<e.length-1;b++){var a=e[b];if(!(a in d))return;d=d[a]}e=e[e.length-1];L=$jscomp.IS_SYMBOL_NATIVE&&"es6"===L?d[e]:null;J=J(L);null!=J&&(r?$jscomp.defineProperty($jscomp.polyfills,e,{configurable:!0,writable:!0,value:J}):J!==L&&(void 0===$jscomp.propertyToPolyfillSymbol[e]&&($jscomp.propertyToPolyfillSymbol[e]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(e):
$jscomp.POLYFILL_PREFIX+e),$jscomp.defineProperty(d,$jscomp.propertyToPolyfillSymbol[e],{configurable:!0,writable:!0,value:J})))};$jscomp.initSymbol=function(){};
$jscomp.polyfill("Symbol",function(r){if(r)return r;var J=function(e,b){this.$jscomp$symbol$id_=e;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:b})};J.prototype.toString=function(){return this.$jscomp$symbol$id_};var L=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new J("jscomp_symbol_"+(e||"")+"_"+L++,e)};return d},"es6","es3");
$jscomp.polyfill("Symbol.iterator",function(r){if(r)return r;r=Symbol("Symbol.iterator");for(var J="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),L=0;L<J.length;L++){var d=$jscomp.global[J[L]];"function"===typeof d&&"function"!=typeof d.prototype[r]&&$jscomp.defineProperty(d.prototype,r,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return r},"es6",
"es3");$jscomp.polyfill("Symbol.asyncIterator",function(r){return r?r:Symbol("Symbol.asyncIterator")},"es9","es3");$jscomp.iteratorPrototype=function(r){r={next:r};r[Symbol.iterator]=function(){return this};return r};
(function(){function r(d){if(L[d])return L[d].exports;var e=L[d]={exports:{}};return J[d].call(e.exports,e,e.exports,r),e.exports}var J={113:function(d){d.exports=JSON.parse('{"soundAlert":true,"threadsTsHighlight":true,"returnSignatures":true,"notificationSmiles":true,"returnHiddenSmiles":true,"userStigma":true,"hideIgnoreUser":true,"superIndex":true,"isIgnoreMe":true,"superForum":true}')},491:function(d){d.exports=JSON.parse('{"development":{"ip":"127.0.0.1","port":8888},"production":{"ip":"nosonic.online","port":8888}}')},
149:function(d){d.exports=JSON.parse('{"id":0,"nick":"","login":""}')},926:function(d){function e(b,a,t,h,c,m,q){try{var p=b[m](q),w=p.value}catch(Q){return void t(Q)}p.done?a(w):Promise.resolve(w).then(h,c)}d.exports=function(b){return function(){var a=this,t=arguments;return new Promise(function(h,c){function m(w){e(p,h,c,m,q,"next",w)}function q(w){e(p,h,c,m,q,"throw",w)}var p=b.apply(a,t);m(void 0)})}}},575:function(d){d.exports=function(e,b){if(!(e instanceof b))throw new TypeError("Cannot call a class as a function");
}},226:function(d){d.exports=function(e,b){var a=b.get(e);if(!a)throw new TypeError("attempted to get private field on non-instance");return a.get?a.get.call(e):a.value}},962:function(d){d.exports=function(e,b,a){b=b.get(e);if(!b)throw new TypeError("attempted to set private field on non-instance");if(b.set)b.set.call(e,a);else{if(!b.writable)throw new TypeError("attempted to set read only private field");b.value=a}return a}},913:function(d){function e(b,a){for(var t=0;t<a.length;t++){var h=a[t];
h.enumerable=h.enumerable||!1;h.configurable=!0;"value"in h&&(h.writable=!0);Object.defineProperty(b,h.key,h)}}d.exports=function(b,a,t){return a&&e(b.prototype,a),t&&e(b,t),b}},713:function(d){d.exports=function(e,b,a){return b in e?Object.defineProperty(e,b,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[b]=a,e}},757:function(d,e,b){d.exports=b(666)},266:function(d,e,b){b.r(e);b.d(e,{"default":function(){return c}});d=b(575);var a=b.n(d);d=b(913);var t=b.n(d);d=b(713);var h=b.n(d),c=new (function(){function m(){a()(this,
m);h()(this,"page",/^\/forum\/conversation\//);h()(this,"waitSocket",!1)}return t()(m,[{key:"init",value:function(){console.log("conversation")}}]),m}())},854:function(d,e,b){b.r(e);b.d(e,{"default":function(){return Q}});d=b(757);var a=b.n(d);d=b(926);var t=b.n(d);d=b(575);var h=b.n(d);d=b(913);var c=b.n(d);d=b(713);var m=b.n(d),q=b(2),p=b(814),w=function(){var F,G,E,M,N,x=null!==(F=window.location.hash.replace("#").match(/\d{1,}/g))&&void 0!==F?F:["0","0","0","0"];return{section:parseInt(null!==
(G=x[0])&&void 0!==G?G:0),theme:parseInt(null!==(E=x[1])&&void 0!==E?E:0),page:parseInt(null!==(M=x[2])&&void 0!==M?M:1),post:parseInt(null!==(N=x[3])&&void 0!==N?N:0)}},Q=new (function(){function F(){h()(this,F);m()(this,"page",/^\/forum\/$/)}var G;return c()(F,[{key:"init",value:function(){var E=this;console.log("forum");q.Z.superForum&&p.Z.wait(function(){return E.initSuperForum()})}},{key:"initSuperForum",value:(G=t()(a().mark(function M(){var N,x,A,k;return a().wrap(function(l){for(;;)switch(l.prev=
l.next){case 0:if((N=document.createElement("div")).setAttribute("id","noSonicElement"),x=$(".page-container-wrap"),k=function(){var u=t()(a().mark(function B(){var H,I;return a().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(!A){P.next=2;break}return P.abrupt("return");case 2:if(A=1,H=w(),console.log(H),H.section){P.next=7;break}return P.abrupt("return");case 7:$(".side-container").remove(),$(".users-online").parent().empty(),x.html(""),0<H.section&&0===H.theme&&0===H.post&&(console.log("section"),
x.empty(),new Vue({el:".page-container-wrap",data:{section:{},themes:[],nav:w()},methods:{click:function(){setImmediate(function(){window.location.reload()})}},mounted:function(){var n=this;p.Z.emit("getForumThemes",{section:H.section,page:H.page});p.Z.on("forumThemes",function(D){console.log("forumThemes",D);n.section=D.data.section;n.themes=D.data.themes;setImmediate(function(){app.checkTime()})})},template:'\n                      <div class="full-page-container">\n\n                      <div class="page-title clearfix">\n                        <h1>{{ section.name }}</h1>\n                        <p>{{ section.description }}</p>\n                      </div>\n\n                      <div class="pull-right">\n                        <a href="?" class="button-theme">\n                          <i class="fa fa-fw fa-plus-circle"></i>\n                          \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0435\u043c\u0443\n                        </a>\n                      </div>\n\n                      <div class="inner-content">\n                        <div class="discussionList section sectionMain">\n\n                          <dl class="sectionHeaders">\n                            <dt class="posterAvatar">\n                              <span>\u041f\u043e\u0440\u044f\u0434\u043e\u043a:</span>\n                            </dt>\n                            <dd class="main">\n                              <span>\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a</span>\n                            </dd>\n                            <dd class="stats no-padding-bottom">\n                              <span>\u041e\u0442\u0432\u0435\u0442\u043e\u0432</span>\n                              <span>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432</span>\n                            </dd>\n                          </dl>\n\n                          <ul class="discussionListItems">\n                            <li class="discussionListItem readed visible" v-for="theme in themes">\n                              <div class="listBlock posterAvatar">\n                                    <span class="avatarContainer">\n                                        <a v-bind:href="\'members/\'+ theme.themeUserLogin +\'.\'+ theme.themeUserId +\'/\'"\n                                           class="avatar" data-avatarhtml="true">                                 \n                                            <img v-bind:src="theme.themeUserAvatar" width="50" height="50"\n                                                 v-bind:alt="theme.themeUserLogin">\n                                        </a>\n                                    </span>\n                              </div>\n\n                              <div class="listBlock main">\n                                <div class="titleText">\n                                  <h3 class="title">\n                                    <a v-bind:href="\'#\' + nav.section + \'-\' + theme.themeId + \'-1-0\'"\n                                       @click="click">{{ theme.themeName }}</a>\n                                  </h3>\n\n                                  <div class="secondRow">\n                                    <div class="posterDate muted">\n                                      <a v-bind:href="\'members/\'+ theme.themeUserLogin +\'.\'+ theme.themeUserId +\'/\'"\n                                         style="color: #ACACAC" class="username"\n                                         title="\u0410\u0432\u0442\u043e\u0440 \u0442\u0435\u043c\u044b">{{ theme.themeUserNick }}</a>,\n                                      <span class="date-time" v-bind:data-time="theme.themeDateCreate"\n                                            title="\u0414\u0430\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0435\u043c\u044b">{{ theme.themeDateCreate }}</span>\n                                    </div>\n                                  </div>\n                                </div>\n                              </div>\n\n                              <div class="listBlock stats pairsJustified">\n                                <dl class="major">\n                                  <dt>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439:</dt>\n                                  <dd>{{ theme.messagesCount }}</dd>\n                                </dl>\n                                <dl class="minor">\n                                  <dt>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432:</dt>\n                                  <dd> {{ theme.themeViews }}</dd>\n                                </dl>\n                              </div>\n\n\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n\n                      </div>\n                    '})),
H.section&&H.theme&&(console.log("theme"),I=b(582),Vue.component("paginate",I),new Vue({el:".full-page-container",data:{tinymce:null,page:1,countPages:1,theme:{},messages:[],isSubscribe:!1,online:[]},mounted:function(){var n=this;$(".subscribe-link").button("loading");this.load();setImmediate(function(){var D;(D=document.createElement("script")).setAttribute("src","/js/forum/tinymce5/tinymce.min.js?v=715");document.body.appendChild(D);setTimeout(t()(a().mark(function f(){var g;return a().wrap(function(v){for(;;)switch(v.prev=
v.next){case 0:return v.next=2,app.redactor(".bbcode-editor");case 2:g=v.sent,n.tinymce=g[0];case 4:case "end":return v.stop()}},f)})),1E3)});p.Z.emit("getOnline",{type:"theme",theme:H.theme});p.Z.on("userDisconnect",function(D){console.log("userDisconnect",D);setTimeout(function(){p.Z.emit("getOnline",{type:"theme",theme:H.theme})},1E3)});p.Z.on("userConnect",function(D){console.log("userConnect",D);setTimeout(function(){p.Z.emit("getOnline",{type:"theme",theme:H.theme})},1E3)});p.Z.on("online-theme",
function(D){n.online=D});p.Z.on("onForumThemeSubscribe",function(D){n.isSubscribe="subscribe"===D.status;$(".subscribe-link").button(n.isSubscribe?"unsubscribe":"subscribe")});p.Z.on("forumTheme",function(D){n.isSubscribe=!!D.data.theme.isSubscribe;$(".subscribe-link").button(n.isSubscribe?"unsubscribe":"subscribe");var T=w();n.page=T.page;n.countPages=D.data.pages;n.theme=D.data.theme;n.messages=D.data.messages;setImmediate(function(){return app.checkTime()})});p.Z.on("newMessage",function(D){n.load();
n.page===n.countPages&&n.messages.length;setImmediate(function(){return app.checkTime()})});p.Z.on("removeForumMessage",function(D){n.messages=n.messages.filter(function(T){return T.id!==D})});p.Z.on("addMessageSuccessful",function(){Utils.notify("\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e","warning",5E3);$("#send-message").button("reset");n.onPaginate(n.countPages)})},methods:{load:function(){var n=w();p.Z.emit("getForumTheme",
{section:n.section,theme:n.theme,page:n.page})},subscribe:function(){$(".subscribe-link").button("loading");p.Z.emit("setForumTheme"+(this.isSubscribe?"Un":"")+"Subscribe",{id:this.theme.id})},onPaginate:function(n){window.location.hash="#".concat(H.section,"-").concat(H.theme,"-").concat(n,"-0");this.load()},reply:function(n){console.log(n.message);n.message=n.message.replace(/<div class="messageText baseHtml">([\s\S]*)<\/blockquote><\/div><\/div>/gm,"");console.log(n.message);this.tinymce.insertContent('<p>[QUOTE="'.concat(Utils.escapeHTML(n.userNick),
", post: ").concat(n.id,", member: ").concat(n.userUserId,'"]</p> ').concat(n.message,"<p>[/QUOTE]</p>"));$("html").scrollTo(".quick-reply");console.log(n)},remove:function(n){p.Z.emit("removeForumMessage",{message:n.id})},sendMessage:function(){p.Z.emit("addForumMessage",{theme:H.theme,message:this.tinymce.getContent()});this.tinymce.setContent("");$("#send-message").button("loading")}},template:'\n                      <div class="full-page-container">\n\n\n                      <div class="breadcrumb" style="display: none">\n                        <div class="crust"><a href="" class="crumb"></a></div>\n                      </div>\n                      <div class="topic-head">\n                        <div class="left-corner">\n                          <div class="page-title">\n                            <h1 id="topicTitle">{{ theme.title }}</h1>\n                          </div>\n                          <div class="topic-title-information-about-topicstarter">\n                            <img v-bind:src="theme.userAvatar">\n                            <span class="topic-topicstarter">\n                                              <a v-bind:href="\'/forum/members/\'+theme.userLogin+\'.\'+theme.userUserId+\'/\'">{{ theme.userNick }}</a>\n                                            </span>\n                            <span class="topic-created-time">\n                                                <i class="fa fa-clock-o" aria-hidden="true"></i>\n                                                <time\n                                                    v-bind:data-time="theme.date_create">{{ theme.date_create }}</time>\n                                            </span>\n                          </div>\n\n                          <paginate\n                              v-model="page"\n                              :clickHandler="onPaginate"\n                              :page-count="countPages"\n                              :page-range="3"\n                              :margin-pages="2"\n                              :prev-text="\'< \u041d\u0430\u0437\u0430\u0434\'"\n                              :next-text="\'\u0412\u043f\u0435\u0440\u0435\u0434 >\'"\n                              :container-class="\'pagination pull-left\'"\n                              :active-class="\'current active\'"\n                              :page-class="\'page-item\'">\n                          </paginate>\n                        </div>\n                        <div class="right-corner">\n                          <div class="margin-5">\n                            <div class="pull-right options-bar">\n                              <button class="button-theme subscribe-link" @click.prevent="subscribe" style=""\n                                      data-subscribe-text="\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0442\u0435\u043c\u0443" data-unsubscribe-text="\u041d\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0442\u0435\u043c\u0443"\n                                      data-loading-text="\u041e\u0436\u0438\u0434\u0430\u0439\u0442\u0435..."></button>\n                            </div>\n                          </div>\n                        </div>\n\n                      </div>\n\n                      <div class="inner-content">\n\n                        <ul id="message-list" class="message-list">\n                          <li v-bind:data-id="message.id" v-bind:data-username="message.userNick"\n                              v-bind:data-user-id="message.userUserId" class="message staff"\n                              v-for="message in messages">\n                            <div class="message-user-info user-block-810364">\n                              <div class="message-user-block ">\n                                <div class="userText" style="color: rgb(172, 172, 172);"><a\n                                    v-bind:href="\'members/\'+message.userLogin+\'.\'+message.userUserId+\'/\'"\n                                    class="username"><span>{{ message.userNick }}</span></a>\n                                </div>\n                                <div class="avatarHolder"><a\n                                    v-bind:href="\'members/\'+message.userLogin+\'.\'+message.userUserId+\'/\'"\n                                    class="avatar">\n                                  <img v-bind:src="message.userAvatar" v-bind:alt="message.userLogin">\n                                </a>\n                                  <span></span>\n                                </div>\n                                <div class="extraUserInfo"><span class="userBanner bannerStaff wrapped">\n                        \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c                    </span>\n                                  <dl class="pairsJustified self-registered">\n                                    <dt>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f:</dt>\n                                    <dd>\n                                      <time data-time-format="D MMM YYYY" data-time="?">?</time>\n                                    </dd>\n                                  </dl>\n                                  <dl class="pairsJustified uposts-count self-posts">\n                                    <dt>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f:</dt>\n                                    <dd>?</dd>\n                                  </dl>\n                                  <dl class="pairsJustified self-likes">\n                                    <dt>\u0420\u0435\u0439\u0442\u0438\u043d\u0433:</dt>\n                                    <dd>?</dd>\n                                  </dl>\n                                </div>\n                                <span class="arrow"><span></span></span></div>\n                            </div>\n                            <div class="messageInfo primary-content">\n                              <div class="messageContent">\n                                <article v-bind:id="\'message-container-\' + message.id">\n                                  <blockquote v-bind:id="\'message-content-\' + message.id"\n                                              class="messageText baseHtml" v-html="message.message">\n\n                                  </blockquote>\n                                </article>\n                              </div>\n                              <div class="postDataHolder">\n                                <div class="messageMeta">\n                                  <div class="privateControls">\n                                    <span class="item muted">\n                                      <div class="post-time"><span\n                                          class="post-send-time"><time\n                                          v-bind:data-time="message.time">{{ message.time }}</time></span>\n                                      </div>\n                                    </span>\n                                  </div>\n                                  <div class="publicControls">\n                                    <a @click.prevent="reply(message)" class="item control">\u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c</a>\n                                  </div>\n                                  <div class="publicControls">\n                                    <a @click.prevent="remove(message)" class="item control">\u0423\u0434\u0430\u043b\u0438\u0442\u044c</a>\n                                  </div>\n                                </div>\n                              </div>\n                            </div>\n                          </li>\n                        </ul>\n                      </div>\n\n                      <paginate\n                          v-model="page"\n                          :clickHandler="onPaginate"\n                          :page-count="countPages"\n                          :page-range="3"\n                          :margin-pages="2"\n                          :prev-text="\'< \u041d\u0430\u0437\u0430\u0434\'"\n                          :next-text="\'\u0412\u043f\u0435\u0440\u0435\u0434 >\'"\n                          :container-class="\'pagination pull-left\'"\n                          :active-class="\'current active\'"\n                          :page-class="\'page-item\'">\n                      </paginate>\n\n\n                      <div id="quick-reply" class="quick-reply message ">\n                        <div class="message-user-info">\n                          <div class="message-user-block">\n\n                            <div class="userText">\n                              <a style="color:#ACACAC!important" href="" class="username">\n                                ??? </a>\n                            </div>\n\n                            <div class="avatarHolder">\n                              <a href="" class="avatar">\n                                <img src="/img/forum/avatars/default/avatar_l.png" width="150" height="150">\n                              </a>\n                            </div>\n                            <span class="arrow">\n                <span></span>\n            </span>\n                          </div>\n                        </div>\n\n                        <div class="reply-box">\n                          <div class="editor-loader">\n                            <img src="/img/forum/loader.gif">\n                          </div>\n                          <form method="post" action="">\n                            <input type="hidden" name="action" value="fullEditor">\n                            <textarea name="edit-content" id="forumPost" class="bbcode-editor form-ctrl"\n                                      rows="9"></textarea>\n                            <div class="editor-controls">\n                              <div class="pull-right">\n                                <button id="send-message" class="button-theme" type="button"\n                                        @click.prevent="sendMessage"\n                                        data-loading-text="<i class=\'fa fa-cog fa-spin\'></i> \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430...">\n                                  \u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442\n                                  <i class="fa fa-envelope fa-fw"></i>\n                                </button>\n                              </div>\n\n                            </div>\n                          </form>\n                        </div>\n                      </div>\n\n                      <div class="section secondary-content view-container" v-if="online.length">\n                        <div class="read-now">\u041a\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u0442\u0435\u043c\u0443 <span class="footnote">(\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438: {{ online.length }}\n                          , \u0413\u043e\u0441\u0442\u0438: ?)</span></div>\n                        <ul class="listInline">\n                          <li class="isComma" v-for="user in online">\n                            <a v-bind:href="\'members/\'+user.login+\'.\'+user.id+\'/\'" style="margin-right: 5px" class="username">{{ user.nick }}</a>\n                          </li>\n                        </ul>\n                      </div>\n\n                      </div>\n                    '}));
case 12:case "end":return P.stop()}},B)}));return function(){return u.apply(this,arguments)}}(),window.addEventListener("hashchange",function(){var u=t()(a().mark(function H(B){return a().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,k();case 2:return I.abrupt("return",I.sent);case 3:case "end":return I.stop()}},H)}));return function(B){return u.apply(this,arguments)}}()),!window.location.hash){l.next=10;break}return l.next=8,k(window.location.href,null);case 8:l.next=12;break;
case 10:$("#cat-3").prepend(N),new Vue({el:"#noSonicElement",mounted:function(){var u=this;p.Z.emit("getForumSections",{});p.Z.on("forumSections",function(z){console.log(z);u.sections=z.data;app.checkTime()})},data:{sections:[]},template:'\n                  <li class="node category level_1">\n                  <div class="content-info categoryStrip">\n                    <h3 class="content-title">\u0417\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043a\u0430</h3>\n                  </div>\n                  <ul class="content-list">\n                    <li class="node forum level_2" v-for="section in sections">\n\n                      <div class="content-info forumNodeInfo primary-content unread">\n                        <img class="nodeIcon" v-bind:src="section.sectionIcon">\n                        <div class="nodeText">\n                          <h3 class="content-title">\n                            <a v-bind:href="\'#\' + section.sectionId + \'-0-1-0\'">{{ section.sectionName }}</a>\n                          </h3>\n                        </div>\n                        <div class="nodeControls">\n                          <dl class="pairs pairs--rows">\n                            <dt>\u0422\u0435\u043c\u044b</dt>\n                            <dd>{{ section.themesCount }}</dd>\n                          </dl>\n                          <dl class="pairs pairs--rows">\n                            <dt>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f</dt>\n                            <dd>{{ section.messagesCount }}</dd>\n                          </dl>\n                        </div>\n                        <div class="content-sub-info">\n                          <a class="avatar"><img v-bind:src="section.lastThemeUserAvatar"></a>\n                          <span class="lastThreadTitle"><a>{{ section.lastThemeTitle }}</a></span>\n                          <span class="last-thread-meta">\n                                    <abbr class="muted date-time"\n                                          v-bind:data-time="section.lastThemeTime">{{ section.lastThemeTime }}</abbr>\n                                    <span class="lastThreadUser">\n                                        <a class="username">{{ section.lastThemeUserNick }}</a>\n                                    </span>\n                                </span>\n                        </div>\n                      </div>\n                    </li>\n                  </ul>\n                  </li>\n                '});
case 12:case "end":return l.stop()}},M)})),function(){return G.apply(this,arguments)})}]),F}())},135:function(d,e,b){b.r(e);b.d(e,{"default":function(){return c}});d=b(575);var a=b.n(d);d=b(913);var t=b.n(d);d=b(713);var h=b.n(d),c=new (function(){function m(){a()(this,m);h()(this,"page",/^\/$/);h()(this,"waitSocket",!1)}return t()(m,[{key:"init",value:function(){console.log("index")}}]),m}())},115:function(d,e,b){function a(F,G){var E;if("undefined"==typeof Symbol||null==F[Symbol.iterator]){if(Array.isArray(F)||
(E=function(l,u){if(l){if("string"==typeof l)return t(l,u);var z=Object.prototype.toString.call(l).slice(8,-1);"Object"===z&&l.constructor&&(z=l.constructor.name);if("Map"===z||"Set"===z)return Array.from(l);if("Arguments"===z||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return t(l,u)}}(F))||G&&F&&"number"==typeof F.length){E&&(F=E);var M=0,N=function(){};return{s:N,n:function(){return M>=F.length?{done:!0}:{done:!1,value:F[M++]}},e:function(l){throw l;},f:N}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}var x,A=!0,k=!1;return{s:function(){E=F[Symbol.iterator]()},n:function(){var l=E.next();return A=l.done,l},e:function(l){k=!0;x=l},f:function(){try{A||null==E["return"]||E["return"]()}finally{if(k)throw x;}}}}function t(F,G){(null==G||G>F.length)&&(G=F.length);for(var E=0,M=Array(G);E<G;E++)M[E]=F[E];return M}b.r(e);b.d(e,{"default":function(){return Q}});d=b(757);var h=b.n(d);d=b(926);var c=b.n(d);d=b(575);var m=b.n(d);d=b(913);var q=b.n(d);d=b(713);var p=b.n(d),w=b(814),Q=new (function(){function F(){m()(this,
F);p()(this,"page",/^\/forum\/notifications\//)}var G;return q()(F,[{key:"init",value:function(){var E=this;console.log("conversation");w.Z.wait(function(){return E.initSuperNotifications()})}},{key:"initSuperNotifications",value:(G=c()(h().mark(function M(){return h().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:w.Z.emit("getNotifications",{}),w.Z.on("notifications",function(x){w.Z.emit("readAllEvents",{});var A;x=a(x.data);try{for(x.s();!(A=x.n()).done;){var k=A.value;console.log(k);$("#pagination-vue").after('\n                <div class="notices-item background">\n                    <a href="members/'.concat(k.userLogin,
".").concat(k.userNick,'/" class="notices-item-avatar">\n                        <img width="40" height="40" src="').concat(k.userAvatar,'" class="avatar icon">\n                    </a> \n                    <div class="notices-item-content">\n                        <div class="description">').concat(k.source,'</div> \n                        <abbr data-time="').concat(k.time,'" class="date-time">').concat(k.time,"</abbr>\n                    </div>\n                </div>\n                "))}}catch(l){x.e(l)}finally{x.f()}setImmediate(function(){app.checkTime()})});
case 2:case "end":return N.stop()}},M)})),function(){return G.apply(this,arguments)})}]),F}())},584:function(d,e,b){b.r(e);b.d(e,{"default":function(){return m}});d=b(575);var a=b.n(d);d=b(913);var t=b.n(d);d=b(713);var h=b.n(d),c=b(2),m=new (function(){function q(){a()(this,q);h()(this,"page",/^\/forum\/settings\//)}return t()(q,[{key:"init",value:function(){console.log("Settings");$(".container").prepend("<div id='noPolina'></div>");new Vue({el:"#noPolina",mounted:function(){for(var p=0,w=Object.keys(c.Z);p<
w.length;p++){var Q=w[p];c.Z[Q]&&this.selected.push(Q)}},methods:{change:function(){for(var p=0,w=Object.keys(c.Z);p<w.length;p++){var Q=w[p];c.Z[Q]=-1<this.selected.indexOf(Q)}localStorage.setItem("noPolinaConfig",JSON.stringify(c.Z))}},data:{selected:[],items:[{key:"soundAlert",name:"\u0417\u0432\u0443\u043a\u043e\u0432\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f"},{key:"threadsTsHighlight",name:"\u0412\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0430 \u0442\u0435\u043c\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c"},
{key:"returnSignatures",name:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043d\u0430 \u0444\u043e\u0440\u0443\u043c"},{key:"notificationSmiles",name:"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0441\u043c\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0442\u0435\u0431\u044f \u043e\u0446\u0435\u043d\u0438\u043b\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439"},
{key:"returnHiddenSmiles",name:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u0441\u043c\u0430\u0439\u043b\u044b"},{key:"userStigma",name:"\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u0435\u0439\u043c\u043e \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"},{key:"hideIgnoreUser",name:"\u0421\u0443\u043f\u0435\u0440 \u0433\u043b\u0430\u0432\u043d\u0430\u044f"},
{key:"superIndex",name:"\u0421\u0443\u043f\u0435\u0440 \u0438\u0433\u043d\u043e\u0440"},{key:"isIgnoreMe",name:"\u041f\u043e\u043c\u0435\u0447\u0430\u0442\u044c \u0432 \u0442\u0435\u043c\u0430\u0445 \u0442\u0435\u0445, \u043a\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u043c\u0435\u043d\u044f"},{key:"superForum",name:"\u0421\u0443\u043f\u0435\u0440 \u0444\u043e\u0440\u0443\u043c"}]},template:'\n              <div>\n              <div>\n                <div v-for="item in items" :key="item.key">\n                  <div class="text-left">\n                    <label>\n                      <input type="checkbox" v-model="selected" :value="item.key" @change="change">\n                      <h3 class="inline margin-left-5">\n                        {{ item.name }}\n                      </h3>\n                    </label>\n                  </div>\n                  <div style="padding: 0 10px 10px 14px;"></div>\n                </div>\n              </div>\n              </div>\n            '})}}]),
q}())},2:function(d,e,b){function a(m,q){var p=Object.keys(m);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(m);q&&(w=w.filter(function(Q){return Object.getOwnPropertyDescriptor(m,Q).enumerable}));p.push.apply(p,w)}return p}function t(m){for(var q=1;q<arguments.length;q++){var p=null!=arguments[q]?arguments[q]:{};q%2?a(Object(p),!0).forEach(function(w){h()(m,w,p[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(p)):a(Object(p)).forEach(function(w){Object.defineProperty(m,
w,Object.getOwnPropertyDescriptor(p,w))})}return m}b.d(e,{Z:function(){return c}});d=b(713);var h=b.n(d);b=b(113);var c=t(t({},b),JSON.parse(localStorage.getItem("noPolinaConfig"))||b)},814:function(d,e,b){function a(k,l,u){if(k!==l)throw new TypeError("Private static access of wrong provenance");return u}function t(k,l){var u;if("undefined"==typeof Symbol||null==k[Symbol.iterator]){if(Array.isArray(k)||(u=function(n,D){if(n){if("string"==typeof n)return h(n,D);var T=Object.prototype.toString.call(n).slice(8,
-1);"Object"===T&&n.constructor&&(T=n.constructor.name);if("Map"===T||"Set"===T)return Array.from(n);if("Arguments"===T||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return h(n,D)}}(k))||l&&k&&"number"==typeof k.length){u&&(k=u);var z=0,B=function(){};return{s:B,n:function(){return z>=k.length?{done:!0}:{done:!1,value:k[z++]}},e:function(n){throw n;},f:B}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}var H,I=!0,P=!1;return{s:function(){u=k[Symbol.iterator]()},n:function(){var n=u.next();return I=n.done,n},e:function(n){P=!0;H=n},f:function(){try{I||null==u["return"]||u["return"]()}finally{if(P)throw H;}}}}function h(k,l){(null==l||l>k.length)&&(l=k.length);for(var u=0,z=Array(l);u<l;u++)z[u]=k[u];return z}b.d(e,{Z:function(){return A}});d=b(757);var c=b.n(d);d=b(926);var m=b.n(d);d=b(575);var q=b.n(d);d=b(913);var p=b.n(d);d=b(226);var w=b.n(d);d=b(962);var Q=b.n(d);d=b(713);d=b.n(d);var F,G,
E=function(){function k(){q()(this,k)}var l,u,z,B,H,I,P,n,D,T;return p()(k,null,[{key:"changeStatus",value:(T=m()(c().mark(function v(g){return c().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,a(this,k,M).call(this,"/forum/api/user/changeStatus",{text:g});case 2:return K.abrupt("return",K.sent);case 3:case "end":return K.stop()}},v,this)})),function(g){return T.apply(this,arguments)})},{key:"makeWallPost",value:(D=m()(c().mark(function R(v,K,y){return c().wrap(function(C){for(;;)switch(C.prev=
C.next){case 0:return C.next=2,a(this,k,M).call(this,"/forum/api/user/makeWallPost",{uid:v,content:K,replyTo:y});case 2:return C.abrupt("return",C.sent);case 3:case "end":return C.stop()}},R,this)})),function(v,K,y){return D.apply(this,arguments)})},{key:"removeWallPost",value:(n=m()(c().mark(function y(K){var R,C=arguments;return c().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return R=1<C.length&&void 0!==C[1]&&C[1],O.next=3,a(this,k,M).call(this,"/forum/api/user/removeWallPost",{pid:K,
comment:R});case 3:return O.abrupt("return",O.sent);case 4:case "end":return O.stop()}},y,this)})),function(K){return n.apply(this,arguments)})},{key:"setForumFeedChangeOrder",value:(P=m()(c().mark(function R(y){return c().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,a(this,k,M).call(this,"/forum/api/feed/changeOrder",{order:y});case 2:return C.abrupt("return",C.sent);case 3:case "end":return C.stop()}},R,this)})),function(y){return P.apply(this,arguments)})},{key:"getForumFeed",
value:(I=m()(c().mark(function O(R,C){return c().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,a(this,k,M).call(this,"/forum/api/feed/get",{offset:R,order:C});case 2:return V.abrupt("return",V.sent);case 3:case "end":return V.stop()}},O,this)})),function(R,C){return I.apply(this,arguments)})},{key:"getNotifications",value:(H=m()(c().mark(function C(){return c().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,a(this,k,M).call(this,"/forum/api/notices/load",
{});case 2:return O.abrupt("return",O.sent);case 3:case "end":return O.stop()}},C,this)})),function(){return H.apply(this,arguments)})},{key:"parseIgnoreList",value:(B=m()(c().mark(function V(O){return c().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,a(this,k,M).call(this,"/forum/settings/ignorelist/page-".concat(O));case 2:return S.abrupt("return",S.sent);case 3:case "end":return S.stop()}},V,this)})),function(O){return B.apply(this,arguments)})},{key:"getUserSignature",value:(z=
m()(c().mark(function S(V){return c().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,a(this,k,M).call(this,"/forum/api/user/getUserSignature",{user_id:V});case 2:return U.abrupt("return",U.sent);case 3:case "end":return U.stop()}},S,this)})),function(V){return z.apply(this,arguments)})},{key:"setRateOnPost",value:(u=m()(c().mark(function W(S,U){return c().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,a(this,k,M).call(this,"/forum/api/forum/setRateOnPost",
{pid:S,smileId:U});case 2:return X.abrupt("return",X.sent);case 3:case "end":return X.stop()}},W,this)})),function(S,U){return u.apply(this,arguments)})},{key:"getSmiles",value:(l=m()(c().mark(function U(){return c().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,a(this,k,M).call(this,"/replies/get_smiles");case 2:return W.abrupt("return",W.sent);case 3:case "end":return W.stop()}},U,this)})),function(){return l.apply(this,arguments)})}]),k}(),M=function(){var k=m()(c().mark(function B(u,
z){var H,I;return c().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return H={method:z?"POST":"GET",headers:this.headers},z&&(H.body=JSON.stringify(z)),P.next=5,fetch(u,H);case 5:return I=P.sent,P.abrupt("return",{toJson:function(){var n=m()(c().mark(function T(){return c().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,I.json();case 2:return f.abrupt("return",f.sent);case 3:case "end":return f.stop()}},T)}));return function(){return n.apply(this,arguments)}}(),toText:function(){var n=
m()(c().mark(function T(){return c().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,I.text();case 2:return f.abrupt("return",f.sent);case 3:case "end":return f.stop()}},T)}));return function(){return n.apply(this,arguments)}}()});case 7:case "end":return P.stop()}},B,this)}));return function(u,z){return k.apply(this,arguments)}}();d()(E,"headers",{"X-Requested-With":"XMLHttpRequest"});var N=b(491).production,x=b(149),A=new (F=new WeakMap,G=new WeakMap,function(){function k(){q()(this,
k);F.set(this,{writable:!0,value:[]});G.set(this,{writable:!0,value:void 0})}return p()(k,[{key:"connect",value:function(){var l,u,z=this;Q()(this,G,io("ws".concat("s","://").concat(N.ip,":").concat(N.port),{reconnection:!1,transports:["websocket"],query:{userId:x.id,userLogin:x.login,userNick:x.nick,token:null!==(l=localStorage.getItem("NoSonicToken"))&&void 0!==l?l:"",version:noSonicVersion}}));this.emit("getNotificationsCount",{});this.on("token",function(){var B=m()(c().mark(function P(I){var n;
return c().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,E.changeStatus(I);case 2:return D.next=4,D.sent.toJson();case 4:n=D.sent;D.t0=n.status;D.next="success"===D.t0?8:"unauthorized"===D.t0?11:"accessDenied"===D.t0?13:16;break;case 8:return z.emit("tokenCheck",{}),localStorage.setItem("NoSonicToken",I),D.abrupt("break",16);case 11:return $("#NoSonicAuthorizationStatus").html("\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u0442\u043a \u0432\u044b \u043d\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u044b"),
D.abrupt("break",16);case 13:return $("#NoSonicAuthorizationStatus").html("\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0435 \u0443\u0434\u0430\u043b\u0430\u0441\u044c. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435."),z.emit("tokenAccessDenied",{}),D.abrupt("break",16);case 16:case "end":return D.stop()}},P)}));return function(I){return B.apply(this,arguments)}}());this.on("tokenSuccess",
function(){var B=m()(c().mark(function P(I){return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:$("#NoSonicAuthorizationStatus").html("\u041f\u0440\u0438\u0432\u0435\u0442");case 1:case "end":return n.stop()}},P)}));return function(I){return B.apply(this,arguments)}}());this.on("removeToken",function(){var B=m()(c().mark(function P(I){return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,E.changeStatus("");case 2:return n.next=4,n.sent.toJson();case 4:case "end":return n.stop()}},
P)}));return function(I){return B.apply(this,arguments)}}());this.on("tokenError",function(){var B=m()(c().mark(function P(I){return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:$("#NoSonicAuthorizationStatus").html("\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0432\u0430\u043b\u0435\u043d\u0430, \u0442\u044b \u043d\u0435");case 1:case "end":return n.stop()}},P)}));return function(I){return B.apply(this,arguments)}}());this.on("notification",function(B){var H=
'<div class="notification" id="notification-'.concat(B.eventId,'">\n                <span class="closeButton"><i class="fa fa-times"></i></span>\n                <span class="text">').concat(B.source,"</span>\n            </div>");$(".notificationBlock").append(H);$("#notification-".concat(B.eventId," .closeButton")).on("click",function(){$("#notification-".concat(B.eventId)).remove();z.emit("clearNotification",B.eventId)})});this.on("notificationCount",function(B){if(console.log(B.count),B.count){var H=
$("i.fa-bell-o"),I=H.parent().find(".new");I.length?(H=parseInt(I.html()),I.html(H+B.count)):(console.log(111),I=document.createElement("span"),I.innerHTML=B.count,I.classList.add("new"),H.append(I))}});w()(this,G).on("connect",function(){console.log("socket connect");$("#NoSonicAuthorizationStatus").html("\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f..");var B,H=t(w()(z,F));try{for(H.s();!(B=H.n()).done;)(0,B.value)()}catch(I){H.e(I)}finally{H.f()}Q()(z,F,[])});this.on("goUpdate",
function(B){u=B.url});w()(this,G).on("disconnect",function(){u?$("#NoSonicAuthorizationStatus").html('<span><a style="color:red" href="'.concat(u,'">\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d, \u043e\u0431\u043d\u043e\u0432\u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u0416\u041c\u0418</a></span>')):$("#NoSonicAuthorizationStatus").html("\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d")})}},
{key:"wait",value:function(l){w()(this,F).push(l)}},{key:"emit",value:function(l,u){w()(this,G).emit(l,u)}},{key:"on",value:function(l,u){w()(this,G).on(l,u)}},{key:"sync",value:function(l,u){}}]),k}())},666:function(d){d=function(e){function b(f,g,v){return Object.defineProperty(f,g,{value:v,enumerable:!0,configurable:!0,writable:!0}),f[g]}function a(f,g,v,K){g=Object.create((g&&g.prototype instanceof h?g:h).prototype);K=new G(K||[]);return g._invoke=function(y,R,C){var O=B;return function(V,S){if(O===
I)throw Error("Generator is already running");if(O===P){if("throw"===V)throw S;return M()}C.method=V;for(C.arg=S;;){var U=C.delegate;if(U&&(U=w(U,C))){if(U===n)continue;return U}if("next"===C.method)C.sent=C._sent=C.arg;else if("throw"===C.method){if(O===B)throw O=P,C.arg;C.dispatchException(C.arg)}else"return"===C.method&&C.abrupt("return",C.arg);O=I;U=t(y,R,C);if("normal"===U.type){if(O=C.done?P:H,U.arg===n)continue;return{value:U.arg,done:C.done}}"throw"===U.type&&(O=P,C.method="throw",C.arg=U.arg)}}}(f,
v,K),g}function t(f,g,v){try{return{type:"normal",arg:f.call(g,v)}}catch(K){return{type:"throw",arg:K}}}function h(){}function c(){}function m(){}function q(f){["next","throw","return"].forEach(function(g){b(f,g,function(v){return this._invoke(g,v)})})}function p(f,g){function v(y,R,C,O){y=t(f[y],f,R);if("throw"!==y.type){var V=y.arg;return(y=V.value)&&"object"==typeof y&&A.call(y,"__await")?g.resolve(y.__await).then(function(S){v("next",S,C,O)},function(S){v("throw",S,C,O)}):g.resolve(y).then(function(S){V.value=
S;C(V)},function(S){return v("throw",S,C,O)})}O(y.arg)}var K;this._invoke=function(y,R){function C(){return new g(function(O,V){v(y,R,O,V)})}return K=K?K.then(C,C):C()}}function w(f,g){var v=f.iterator[g.method];if(v===N){if(g.delegate=null,"throw"===g.method){if(f.iterator["return"]&&(g.method="return",g.arg=N,w(f,g),"throw"===g.method))return n;g.method="throw";g.arg=new TypeError("The iterator does not provide a 'throw' method")}return n}v=t(v,f.iterator,g.arg);return"throw"===v.type?(g.method=
"throw",g.arg=v.arg,g.delegate=null,n):(v=v.arg)?v.done?(g[f.resultName]=v.value,g.next=f.nextLoc,"return"!==g.method&&(g.method="next",g.arg=N),g.delegate=null,n):v:(g.method="throw",g.arg=new TypeError("iterator result is not an object"),g.delegate=null,n)}function Q(f){var g={tryLoc:f[0]};1 in f&&(g.catchLoc=f[1]);2 in f&&(g.finallyLoc=f[2],g.afterLoc=f[3]);this.tryEntries.push(g)}function F(f){var g=f.completion||{};g.type="normal";delete g.arg;f.completion=g}function G(f){this.tryEntries=[{tryLoc:"root"}];
f.forEach(Q,this);this.reset(!0)}function E(f){if(f){var g=f[l];if(g)return g.call(f);if("function"==typeof f.next)return f;if(!isNaN(f.length)){var v=-1;g=function y(){for(;++v<f.length;)if(A.call(f,v))return y.value=f[v],y.done=!1,y;return y.value=N,y.done=!0,y};return g.next=g}}return{next:M}}function M(){return{value:N,done:!0}}var N,x=Object.prototype,A=x.hasOwnProperty,k="function"==typeof Symbol?Symbol:{},l=k.iterator||"@@iterator",u=k.asyncIterator||"@@asyncIterator",z=k.toStringTag||"@@toStringTag";
try{b({},"")}catch(f){b=function(g,v,K){return g[v]=K}}e.wrap=a;var B="suspendedStart",H="suspendedYield",I="executing",P="completed",n={};k={};k[l]=function(){return this};var D=Object.getPrototypeOf;(D=D&&D(D(E([]))))&&D!==x&&A.call(D,l)&&(k=D);var T=m.prototype=h.prototype=Object.create(k);return c.prototype=T.constructor=m,m.constructor=c,c.displayName=b(m,z,"GeneratorFunction"),e.isGeneratorFunction=function(f){f="function"==typeof f&&f.constructor;return!!f&&(f===c||"GeneratorFunction"===(f.displayName||
f.name))},e.mark=function(f){return Object.setPrototypeOf?Object.setPrototypeOf(f,m):(f.__proto__=m,b(f,z,"GeneratorFunction")),f.prototype=Object.create(T),f},e.awrap=function(f){return{__await:f}},q(p.prototype),p.prototype[u]=function(){return this},e.AsyncIterator=p,e.async=function(f,g,v,K,y){void 0===y&&(y=Promise);var R=new p(a(f,g,v,K),y);return e.isGeneratorFunction(g)?R:R.next().then(function(C){return C.done?C.value:R.next()})},q(T),b(T,z,"Generator"),T[l]=function(){return this},T.toString=
function(){return"[object Generator]"},e.keys=function(f){var g=[],v;for(v in f)g.push(v);return g.reverse(),function y(){for(;g.length;){var R=g.pop();if(R in f)return y.value=R,y.done=!1,y}return y.done=!0,y}},e.values=E,G.prototype={constructor:G,reset:function(f){if(this.prev=0,this.next=0,this.sent=this._sent=N,this.done=!1,this.delegate=null,this.method="next",this.arg=N,this.tryEntries.forEach(F),!f)for(var g in this)"t"===g.charAt(0)&&A.call(this,g)&&!isNaN(+g.slice(1))&&(this[g]=N)},stop:function(){this.done=
!0;var f=this.tryEntries[0].completion;if("throw"===f.type)throw f.arg;return this.rval},dispatchException:function(f){function g(V,S){return R.type="throw",R.arg=f,v.next=V,S&&(v.method="next",v.arg=N),!!S}if(this.done)throw f;for(var v=this,K=this.tryEntries.length-1;0<=K;--K){var y=this.tryEntries[K],R=y.completion;if("root"===y.tryLoc)return g("end");if(y.tryLoc<=this.prev){var C=A.call(y,"catchLoc"),O=A.call(y,"finallyLoc");if(C&&O){if(this.prev<y.catchLoc)return g(y.catchLoc,!0);if(this.prev<
y.finallyLoc)return g(y.finallyLoc)}else if(C){if(this.prev<y.catchLoc)return g(y.catchLoc,!0)}else{if(!O)throw Error("try statement without catch or finally");if(this.prev<y.finallyLoc)return g(y.finallyLoc)}}}},abrupt:function(f,g){for(var v=this.tryEntries.length-1;0<=v;--v){var K=this.tryEntries[v];if(K.tryLoc<=this.prev&&A.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var y=K;break}}y&&("break"===f||"continue"===f)&&y.tryLoc<=g&&g<=y.finallyLoc&&(y=null);v=y?y.completion:{};return v.type=f,v.arg=
g,y?(this.method="next",this.next=y.finallyLoc,n):this.complete(v)},complete:function(f,g){if("throw"===f.type)throw f.arg;return"break"===f.type||"continue"===f.type?this.next=f.arg:"return"===f.type?(this.rval=this.arg=f.arg,this.method="return",this.next="end"):"normal"===f.type&&g&&(this.next=g),n},finish:function(f){for(var g=this.tryEntries.length-1;0<=g;--g){var v=this.tryEntries[g];if(v.finallyLoc===f)return this.complete(v.completion,v.afterLoc),F(v),n}},"catch":function(f){for(var g=this.tryEntries.length-
1;0<=g;--g){var v=this.tryEntries[g];if(v.tryLoc===f){f=v.completion;if("throw"===f.type){var K=f.arg;F(v)}return K}}throw Error("illegal catch attempt");},delegateYield:function(f,g,v){return this.delegate={iterator:E(f),resultName:g,nextLoc:v},"next"===this.method&&(this.arg=N),n}},e}(d.exports);try{regeneratorRuntime=d}catch(e){Function("r","regeneratorRuntime = r")(d)}},582:function(d){d.exports=function(e){function b(t){if(a[t])return a[t].exports;var h=a[t]={exports:{},id:t,loaded:!1};return e[t].call(h.exports,
h,h.exports,b),h.loaded=!0,h.exports}var a={};return b.m=e,b.c=a,b.p="",b(0)}([function(e,b,a){b=a(1);e.exports=(b&&b.__esModule?b:{"default":b})["default"]},function(e,b,a){a(2);b=a(6)(a(7),a(8),"data-v-82963a40",null);e.exports=b.exports},function(e,b,a){b=a(3);"string"==typeof b&&(b=[[e.id,b,""]]);a(5)(b,{});b.locals&&(e.exports=b.locals)},function(e,b,a){(e.exports=a(4)()).push([e.id,"a[data-v-82963a40]{cursor:pointer}",""])},function(e,b){e.exports=function(){var a=[];return a.toString=function(){for(var t=
[],h=0;h<this.length;h++){var c=this[h];c[2]?t.push("@media "+c[2]+"{"+c[1]+"}"):t.push(c[1])}return t.join("")},a.i=function(t,h){"string"==typeof t&&(t=[[null,t,""]]);for(var c={},m=0;m<this.length;m++){var q=this[m][0];"number"==typeof q&&(c[q]=!0)}for(m=0;m<t.length;m++)q=t[m],"number"==typeof q[0]&&c[q[0]]||(h&&!q[2]?q[2]=h:h&&(q[2]="("+q[2]+") and ("+h+")"),a.push(q))},a}},function(e,b,a){function t(x,A){for(var k=0;k<x.length;k++){var l=x[k],u=w[l.id];if(u){u.refs++;for(var z=0;z<u.parts.length;z++)u.parts[z](l.parts[z]);
for(;z<l.parts.length;z++)u.parts.push(m(l.parts[z],A))}else{u=[];for(z=0;z<l.parts.length;z++)u.push(m(l.parts[z],A));w[l.id]={id:l.id,refs:1,parts:u}}}}function h(x){for(var A=[],k={},l=0;l<x.length;l++){var u=x[l],z=u[0];u={css:u[1],media:u[2],sourceMap:u[3]};k[z]?k[z].parts.push(u):A.push(k[z]={id:z,parts:[u]})}return A}function c(x){var A=document.createElement("style");A.type="text/css";var k=F(),l=M[M.length-1];if("top"===x.insertAt)l?l.nextSibling?k.insertBefore(A,l.nextSibling):k.appendChild(A):
k.insertBefore(A,k.firstChild),M.push(A);else{if("bottom"!==x.insertAt)throw Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");k.appendChild(A)}return A}function m(x,A){if(A.singleton){var k=E++;var l=G||(G=c(A));var u=q.bind(null,l,k,!1);var z=q.bind(null,l,k,!0)}else l=c(A),u=p.bind(null,l),z=function(){var B=l;B.parentNode.removeChild(B);B=M.indexOf(B);0<=B&&M.splice(B,1)};return u(x),function(B){B?(B.css!==x.css||B.media!==x.media||B.sourceMap!==x.sourceMap)&&u(x=B):
z()}}function q(x,A,k,l){k=k?"":l.css;x.styleSheet?x.styleSheet.cssText=N(A,k):(k=document.createTextNode(k),l=x.childNodes,l[A]&&x.removeChild(l[A]),l.length?x.insertBefore(k,l[A]):x.appendChild(k))}function p(x,A){var k=A.css,l=A.media,u=A.sourceMap;if(l&&x.setAttribute("media",l),u&&(k+="\n/*# sourceURL="+u.sources[0]+" */",k+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(u))))+" */"),x.styleSheet)x.styleSheet.cssText=k;else{for(;x.firstChild;)x.removeChild(x.firstChild);
x.appendChild(document.createTextNode(k))}}var w={};b=function(x){var A;return function(){return void 0===A&&(A=x.apply(this,arguments)),A}};var Q=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),F=b(function(){return document.head||document.getElementsByTagName("head")[0]}),G=null,E=0,M=[];e.exports=function(x,A){void 0===(A=A||{}).singleton&&(A.singleton=Q());void 0===A.insertAt&&(A.insertAt="bottom");var k=h(x);return t(k,A),function(l){for(var u=[],z=0;z<k.length;z++)(B=
w[k[z].id]).refs--,u.push(B);l&&t(h(l),A);for(z=0;z<u.length;z++){var B;if(0===(B=u[z]).refs){for(l=0;l<B.parts.length;l++)B.parts[l]();delete w[B.id]}}}};var N=function(){var x=[];return function(A,k){return x[A]=k,x.filter(Boolean).join("\n")}}()},function(e,b){e.exports=function(a,t,h,c){var m,q=a=a||{},p=typeof a["default"];"object"!==p&&"function"!==p||(m=a,q=a["default"]);a="function"==typeof q?q.options:q;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),h&&(a._scopeId=h),c){var w=
a.computed||(a.computed={});Object.keys(c).forEach(function(Q){var F=c[Q];w[Q]=function(){return F}})}return{esModule:m,exports:q,options:a}}},function(e,b){Object.defineProperty(b,"__esModule",{value:!0});b["default"]={props:{value:{type:Number},pageCount:{type:Number,required:!0},forcePage:{type:Number},clickHandler:{type:Function,"default":function(){}},pageRange:{type:Number,"default":3},marginPages:{type:Number,"default":1},prevText:{type:String,"default":"Prev"},nextText:{type:String,"default":"Next"},
breakViewText:{type:String,"default":"\u2026"},containerClass:{type:String},pageClass:{type:String},pageLinkClass:{type:String},prevClass:{type:String},prevLinkClass:{type:String},nextClass:{type:String},nextLinkClass:{type:String},breakViewClass:{type:String},breakViewLinkClass:{type:String},activeClass:{type:String,"default":"active"},disabledClass:{type:String,"default":"disabled"},noLiSurround:{type:Boolean,"default":!1},firstLastButton:{type:Boolean,"default":!1},firstButtonText:{type:String,
"default":"First"},lastButtonText:{type:String,"default":"Last"},hidePrevNext:{type:Boolean,"default":!1}},beforeUpdate:function(){void 0!==this.forcePage&&this.forcePage!==this.selected&&(this.selected=this.forcePage)},computed:{selected:{get:function(){return this.value||this.innerValue},set:function(a){this.innerValue=a}},pages:function(){var a=this,t={};if(this.pageCount<=this.pageRange)for(var h=0;h<this.pageCount;h++)t[h]={index:h,content:h+1,selected:h===this.selected-1};else{var c=Math.floor(this.pageRange/
2);h=function(w){t[w]={index:w,content:w+1,selected:w===a.selected-1}};for(var m=function(w){t[w]={disabled:!0,breakView:!0}},q=0;q<this.marginPages;q++)h(q);q=0;0<this.selected-c&&(q=this.selected-1-c);c=q+this.pageRange-1;c>=this.pageCount&&(q=(c=this.pageCount-1)-this.pageRange+1);for(var p=q;p<=c&&p<=this.pageCount-1;p++)h(p);q>this.marginPages&&m(q-1);c+1<this.pageCount-this.marginPages&&m(c+1);for(m=this.pageCount-1;m>=this.pageCount-this.marginPages;m--)h(m)}return t}},data:function(){return{innerValue:1}},
methods:{handlePageSelected:function(a){this.selected!==a&&(this.innerValue=a,this.$emit("input",a),this.clickHandler(a))},prevPage:function(){1>=this.selected||this.handlePageSelected(this.selected-1)},nextPage:function(){this.selected>=this.pageCount||this.handlePageSelected(this.selected+1)},firstPageSelected:function(){return 1===this.selected},lastPageSelected:function(){return this.selected===this.pageCount||0===this.pageCount},selectFirstPage:function(){1>=this.selected||this.handlePageSelected(1)},
selectLastPage:function(){this.selected>=this.pageCount||this.handlePageSelected(this.pageCount)}}}},function(e,b){e.exports={render:function(){var a=this,t=a.$createElement,h=a._self._c||t;return a.noLiSurround?h("div",{"class":a.containerClass},[a.firstLastButton?h("a",{"class":[a.pageLinkClass,a.firstPageSelected()?a.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:a._s(a.firstButtonText)},on:{click:function(c){a.selectFirstPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,
"enter",13)?void a.selectFirstPage():null}}}):a._e(),a._v(" "),a.firstPageSelected()&&a.hidePrevNext?a._e():h("a",{"class":[a.prevLinkClass,a.firstPageSelected()?a.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:a._s(a.prevText)},on:{click:function(c){a.prevPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.prevPage():null}}}),a._v(" "),a._l(a.pages,function(c){return[c.breakView?h("a",{"class":[a.pageLinkClass,a.breakViewLinkClass,c.disabled?a.disabledClass:
""],attrs:{tabindex:"0"}},[a._t("breakViewContent",[a._v(a._s(a.breakViewText))])],2):c.disabled?h("a",{"class":[a.pageLinkClass,c.selected?a.activeClass:"",a.disabledClass],attrs:{tabindex:"0"}},[a._v(a._s(c.content))]):h("a",{"class":[a.pageLinkClass,c.selected?a.activeClass:""],attrs:{tabindex:"0"},on:{click:function(m){a.handlePageSelected(c.index+1)},keyup:function(m){return"button"in m||!a._k(m.keyCode,"enter",13)?void a.handlePageSelected(c.index+1):null}}},[a._v(a._s(c.content))])]}),a._v(" "),
a.lastPageSelected()&&a.hidePrevNext?a._e():h("a",{"class":[a.nextLinkClass,a.lastPageSelected()?a.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:a._s(a.nextText)},on:{click:function(c){a.nextPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.nextPage():null}}}),a._v(" "),a.firstLastButton?h("a",{"class":[a.pageLinkClass,a.lastPageSelected()?a.disabledClass:""],attrs:{tabindex:"0"},domProps:{innerHTML:a._s(a.lastButtonText)},on:{click:function(c){a.selectLastPage()},
keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.selectLastPage():null}}}):a._e()],2):h("ul",{"class":a.containerClass},[a.firstLastButton?h("li",{"class":[a.pageClass,a.firstPageSelected()?a.disabledClass:""]},[h("a",{"class":a.pageLinkClass,attrs:{tabindex:a.firstPageSelected()?-1:0},domProps:{innerHTML:a._s(a.firstButtonText)},on:{click:function(c){a.selectFirstPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.selectFirstPage():null}}})]):
a._e(),a._v(" "),a.firstPageSelected()&&a.hidePrevNext?a._e():h("li",{"class":[a.prevClass,a.firstPageSelected()?a.disabledClass:""]},[h("a",{"class":a.prevLinkClass,attrs:{tabindex:a.firstPageSelected()?-1:0},domProps:{innerHTML:a._s(a.prevText)},on:{click:function(c){a.prevPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.prevPage():null}}})]),a._v(" "),a._l(a.pages,function(c){return h("li",{"class":[a.pageClass,c.selected?a.activeClass:"",c.disabled?a.disabledClass:
"",c.breakView?a.breakViewClass:""]},[c.breakView?h("a",{"class":[a.pageLinkClass,a.breakViewLinkClass],attrs:{tabindex:"0"}},[a._t("breakViewContent",[a._v(a._s(a.breakViewText))])],2):c.disabled?h("a",{"class":a.pageLinkClass,attrs:{tabindex:"0"}},[a._v(a._s(c.content))]):h("a",{"class":a.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(m){a.handlePageSelected(c.index+1)},keyup:function(m){return"button"in m||!a._k(m.keyCode,"enter",13)?void a.handlePageSelected(c.index+1):null}}},[a._v(a._s(c.content))])])}),
a._v(" "),a.lastPageSelected()&&a.hidePrevNext?a._e():h("li",{"class":[a.nextClass,a.lastPageSelected()?a.disabledClass:""]},[h("a",{"class":a.nextLinkClass,attrs:{tabindex:a.lastPageSelected()?-1:0},domProps:{innerHTML:a._s(a.nextText)},on:{click:function(c){a.nextPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.nextPage():null}}})]),a._v(" "),a.firstLastButton?h("li",{"class":[a.pageClass,a.lastPageSelected()?a.disabledClass:""]},[h("a",{"class":a.pageLinkClass,attrs:{tabindex:a.lastPageSelected()?
-1:0},domProps:{innerHTML:a._s(a.lastButtonText)},on:{click:function(c){a.selectLastPage()},keyup:function(c){return"button"in c||!a._k(c.keyCode,"enter",13)?void a.selectLastPage():null}}})]):a._e()],2)},staticRenderFns:[]}}])},275:function(d,e,b){function a(c){c=t(c);return b(c)}function t(c){if(!b.o(h,c))throw c=Error("Cannot find module '"+c+"'"),c.code="MODULE_NOT_FOUND",c;return h[c]}var h={"./conversation.js":266,"./forum.js":854,"./index.js":135,"./notifications.js":115,"./settings.js":584};
a.keys=function(){return Object.keys(h)};a.resolve=t;d.exports=a;a.id=275}},L={};r.n=function(d){var e=d&&d.__esModule?function(){return d["default"]}:function(){return d};return r.d(e,{a:e}),e};r.d=function(d,e){for(var b in e)r.o(e,b)&&!r.o(d,b)&&Object.defineProperty(d,b,{enumerable:!0,get:e[b]})};r.o=function(d,e){return Object.prototype.hasOwnProperty.call(d,e)};r.r=function(d){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"});Object.defineProperty(d,
"__esModule",{value:!0})};(function(){function d(c,m){var q;if("undefined"==typeof Symbol||null==c[Symbol.iterator]){if(Array.isArray(c)||(q=function(E,M){if(E){if("string"==typeof E)return e(E,M);var N=Object.prototype.toString.call(E).slice(8,-1);"Object"===N&&E.constructor&&(N=E.constructor.name);if("Map"===N||"Set"===N)return Array.from(E);if("Arguments"===N||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return e(E,M)}}(c))||m&&c&&"number"==typeof c.length){q&&(c=q);var p=0,w=function(){};
return{s:w,n:function(){return p>=c.length?{done:!0}:{done:!1,value:c[p++]}},e:function(E){throw E;},f:w}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var Q,F=!0,G=!1;return{s:function(){q=c[Symbol.iterator]()},n:function(){var E=q.next();return F=E.done,E},e:function(E){G=!0;Q=E},f:function(){try{F||null==q["return"]||q["return"]()}finally{if(G)throw Q;}}}}function e(c,m){(null==m||m>
c.length)&&(m=c.length);for(var q=0,p=Array(m);q<m;q++)p[q]=c[q];return p}var b=r(575),a=r.n(b),t=r(814),h=r(149);new (function(){return function m(){a()(this,m);window.noSonicVersion=2.6;var q="#glob-wrap > header > div > div.subline > div.userbar > div > a",p=document.querySelector(q);if(p){var w=p.getAttribute("href").split(".");h.login=w[0].split("/")[3];h.id=parseInt(w[1].match(/\d+/)[0]||0);h.nick=p.innerText}else q=".login";p=document.createElement("span");p.setAttribute("id","NoSonicAuthorizationStatus");
p.style.marginRight="10px";p.innerText="\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443";document.querySelector(q).prepend(p);t.Z.connect();var Q,F=r(275);q=d(F.keys());try{for(p=function(){var G=F(Q.value)["default"];if(G.page.test(window.location.pathname))return console.log("init page",G.page),G.waitSocket?t.Z.wait(function(){return G.init()}):G.init(),"break"},q.s();!(Q=q.n()).done&&"break"!==p(););}catch(G){q.e(G)}finally{q.f()}localStorage.setItem("noSonicVersion",
window.noSonicVersion.toString())}}())})()})();