(window.webpackJsonp=window.webpackJsonp||[]).push([[90,2],{1342:function(t,e,o){"use strict";o(728)},1343:function(t,e,o){var n=o(13)(!1);n.push([t.i,"[data-tooltip][data-v-1e71f48e]{position:relative;margin:0}[data-tooltip][data-v-1e71f48e]:after{content:attr(data-tooltip);position:absolute;width:130px;margin-left:-60px;text-align:center;background:#3babf5;color:#fff;padding:.5em;font-size:16px;transition:.2s;box-shadow:2px 2px 5px rgba(0,0,0,.3);pointer-events:none;opacity:0;font-weight:lighter}[data-tooltip][data-v-1e71f48e]:hover:after{opacity:1;margin-top:-40px}.content[data-v-1e71f48e]{width:1200px;display:inline-block;margin:0 calc(50% - 600px)}.content .left[data-v-1e71f48e]{width:830px;float:left}.heads[data-v-1e71f48e],.news[data-v-1e71f48e]{width:100%}.heads[data-v-1e71f48e]{height:150px;overflow:hidden}.heads .name[data-v-1e71f48e]{float:left;color:#303030;font-weight:200;margin-left:40px!important;font-size:39px}.heads .name .text[data-v-1e71f48e]{float:left;margin-top:20px}.heads .name .text small[data-v-1e71f48e]{font-size:20px;margin-top:-2px;display:block}.heads img[data-v-1e71f48e]{position:relative;float:right;width:219px;margin-top:-13px}.heads .icon[data-v-1e71f48e]{float:right;width:60%;text-align:center;margin-top:-37px}.heads .icon img[data-v-1e71f48e]{width:100%}.tree[data-v-1e71f48e]{font-size:17px;font-weight:200;color:#272727}.tree svg[data-v-1e71f48e]{margin:0 5px;font-size:15px}.tree svg[data-v-1e71f48e]:first-child{margin:0}.forums[data-v-1e71f48e]{margin-top:30px;background:#fff;box-shadow:1px 1px 5px 0 rgba(0,0,0,.25)}.list_name[data-v-1e71f48e]{width:calc(100% - 20px);font-size:18px;font-weight:800;padding-left:20px;height:50px;line-height:50px;color:#222;border-bottom:1px solid #d6d6d6}.list_name .text[data-v-1e71f48e]{float:left}.list_name .sorting[data-v-1e71f48e]{float:right;width:170px}.list_name .sorting select[data-v-1e71f48e]{width:80%;margin-left:10%;overflow:hidden}.list_name a[data-v-1e71f48e]{cursor:pointer;display:block;float:right;position:relative}.moders[data-v-1e71f48e]{margin-top:11px}.moders[data-v-1e71f48e],.moders a[data-v-1e71f48e]{float:left}.moders a img[data-v-1e71f48e]{width:40px;height:40px;float:left;border-radius:50%;border:2px solid #fff;margin-left:30px;transition:.3s;margin-top:-16px;box-shadow:1px 1px 2px rgba(0,0,0,.28)}.moders .m[data-v-1e71f48e]{font-size:19px;float:left;line-height:20px;text-transform:uppercase;text-align:center;margin-top:-10px;margin-right:10px}.forum[data-v-1e71f48e]{width:calc(100% - 10px);height:80px;padding:5px;border-bottom:1px solid #e0e0e0;background:#fff}.forum[data-v-1e71f48e]:hover{background:#fcfcfc}.forum_my[data-v-1e71f48e]{background:#f5fff6}.forum_fixed[data-v-1e71f48e]{background:#fcfce7}.forum .icon[data-v-1e71f48e]{width:60px;height:60px;background:#a2e0f0;border-radius:50%;margin-left:10px;margin-top:10px;float:left;overflow:hidden}.forum .icon img[data-v-1e71f48e]{width:100%;height:100%}.forum .description[data-v-1e71f48e]{float:left;width:calc(100% - 430px);margin-top:17px;margin-left:20px;padding-right:10px;max-height:50px;overflow:hidden}.forum .description .name[data-v-1e71f48e]{font-size:20px;font-weight:600;color:#000}.forum .description .tag[data-v-1e71f48e]{font-size:12px;font-weight:400;padding:2px 5px;color:#fff;vertical-align:text-top;margin-right:10px;box-shadow:3px 3px 5px 1px rgba(0,0,0,.1)}.forum .description .yellow[data-v-1e71f48e]{background:#ffcb00}.forum .description .red[data-v-1e71f48e]{background:#e20000}.forum .description .green[data-v-1e71f48e]{background:green}.forum .description .more[data-v-1e71f48e]{font-size:15px;font-weight:400;color:#3d3d3d}.forum .number[data-v-1e71f48e]{float:right;width:130px;margin-top:20px;text-align:right;padding-right:20px}.forum .number .name[data-v-1e71f48e]{font-weight:400;font-size:15px;color:#3d3d3d}.forum .lastMessage[data-v-1e71f48e]{width:140px;float:right;margin-top:20px;padding-right:10px}.empty[data-v-1e71f48e]{width:50%;text-align:center;font-size:20px;font-weight:400;margin-left:25%;padding-bottom:20px}.empty img[data-v-1e71f48e]{width:40%;margin:20px 0}.pagination[data-v-1e71f48e]{margin:0 auto;display:table}.pagination button[data-v-1e71f48e]{margin:10px auto;padding:15px 20px;float:left;background:#fff;box-shadow:0 6px 30px rgba(0,0,0,.06);border-radius:10px;display:block;transition:.2s;cursor:pointer;border:none;outline:none;font-size:18px}.pagination button .text[data-v-1e71f48e]{background:-webkit-linear-gradient(270deg,#0079f0,#00aef8 51.09%,#00c8e3);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:1000;text-align:center}.pagination button[data-v-1e71f48e]:hover{transition:.2s;box-shadow:0 6px 30px rgba(0,0,0,.2)}.pagination .grey[data-v-1e71f48e]{margin:10px;padding:15px 25px;float:left;background:#fff;box-shadow:0 6px 30px rgba(0,0,0,.06);border-radius:10px;display:block}.pagination .grey .text[data-v-1e71f48e]{color:#4f4f4f;font-weight:800}@media (max-width:800px){.heads[data-v-1e71f48e]{height:auto!important}.heads img[data-v-1e71f48e]{display:none}.forum[data-v-1e71f48e]{width:calc(100% - 10px);height:auto;display:inline-block;padding:5px}.forum .description[data-v-1e71f48e]{float:left;width:calc(100% - 90px);margin-top:5px;margin-left:10px;padding-right:5px}.forum .number[data-v-1e71f48e]{float:left;width:calc(100% - 50px);margin-top:5px;padding-left:0;text-align:left;padding-right:20px}.forum .number .infos[data-v-1e71f48e]{float:left;margin-left:10px}}",""]),t.exports=n},1344:function(t,e,o){"use strict";o(729)},1345:function(t,e,o){var n=o(13)(!1);n.push([t.i,'.bg-gradient1 span[data-v-1e71f48e],.bg-gradient1[data-v-1e71f48e]:before{background:#00e2fa;background:linear-gradient(90deg,#00e2fa 0,#52a0fd 80%,#52a0fd)}.bg-gradient2 span[data-v-1e71f48e],.bg-gradient2[data-v-1e71f48e]:before{background:#38df6a;background:linear-gradient(90deg,#38df6a 0,#1be2be 80%,#1be2be)}.button[data-v-1e71f48e]{display:inline-block;letter-spacing:.03em;text-transform:uppercase;color:#fff;position:absolute}.button[data-v-1e71f48e]:before{content:"";height:20px;position:absolute;bottom:-5px;left:30px;right:30px;z-index:1;filter:blur(15px) brightness(.95)}.button[data-v-1e71f48e]:before,.button span[data-v-1e71f48e]{display:inline-block;transform-style:preserve-3d;transition:all .3s ease-out}.button span[data-v-1e71f48e]{padding:0 15px;position:relative;z-index:2;font-size:18px;will-change:transform,filter;border-radius:1px}.button[data-v-1e71f48e]:active,.button[data-v-1e71f48e]:focus,.button[data-v-1e71f48e]:hover{color:#fff}.button:hover span[data-v-1e71f48e]{filter:brightness(1.05) contrast(1.05);transform:scale(.95)}.button[data-v-1e71f48e]:hover:before{bottom:0;filter:blur(10px) brightness(.95)}.button.onClickEffect[data-v-1e71f48e]:before{opacity:0;bottom:10px}.button.onClickEffect[data-v-1e71f48e]:hover:before{bottom:-7px;opacity:1;filter:blur(20px)}.button.onClickEffect:hover span[data-v-1e71f48e]{transform:scale(1.04)}.button.onClickEffect:hover:active span[data-v-1e71f48e]{filter:brightness(1) contrast(1);transform:scale(1);transition:all .15s ease-out}.button.onClickEffect[data-v-1e71f48e]:hover:active:before{bottom:0;filter:blur(10px) brightness(.95);transition:all .2s ease-out}',""]),t.exports=n},1584:function(t,e,o){"use strict";o.r(e);var n=o(4),r=(o(27),o(48),o(20),o(26)),d={asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var o,n,d,c,l,f,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.route.path.split("/topics/")[1],n=o.split("-")[0],d="",c="",l="",1,null==o&&t.redirect("/forum"),e.next=9,t.$axios.$get(r.a+"forum.topic?type=1&theme_id=".concat(n));case 9:return f=e.sent,e.next=12,t.$axios.$get(r.a+"forum.topic.last");case 12:return _=e.sent,"error"!=f.type?(d=f.topics,c=f.theme_info[0],l=f.section_info[0],f.pages):t.redirect("/404"),e.abrupt("return",{id:n,url:o,topics:d,theme_info:c,section_info:l,lastTopics:_.topics});case 15:case"end":return e.stop()}}),e)})))()},data:function(){return{selected_page:1,pages:0,type_list:0,isModer:!1,topics_hidden:null,sort_status:-1}},created:function(){var t=this;this.loadTopics(),this.loadTopicsHidden(),this.$bus.$on("auth",(function(){t.loadTopicsHidden()}))},head:function(){var t="";return"ru"!=this.$i18n.locale&&(t={name:"robots",content:"noindex"}),{title:this.theme_info.name+" - "+this.$t("forum_topics_meta_title")+" - CubixWorld.net",meta:[{hid:"description",name:"description",content:this.section_info.description+" "+this.$t("forum_topics_meta_description")},{hid:"keywords",name:"keywords",content:this.$t("forum_topics_meta_keywords")},t]}},methods:{millsToDate:function(t){return this.$moment.locale("ru"),this.$moment(t).format("LL")},goToCreating:function(){this.$cookies.set("last_theme",this.theme_info.id,{path:"/",maxAge:259200}),this.$router.push("/forum/new_topic")},loadTopics:function(){var t=this;console.log("id: "+this.id),this.$axios.get(r.a+"forum.topic?type=1&theme_id="+this.id+"&page="+this.selected_page+"&sort_status="+this.sort_status).then((function(e){"success"==e.data.type&&(t.topics=e.data.topics,t.theme_info=e.data.theme_info[0],t.section_info=e.data.section_info[0],t.pages=e.data.pages)}))},loadTopicsHidden:function(){var t=this;this.$axios.get(r.a+"forum.topic.hidden?login="+this.auth.login+"&access_token="+this.auth.accessToken+"&theme_id="+this.id+"&page="+this.selected_page).then((function(e){"success"==e.data.type&&(console.log(e.data),t.isModer=!0,t.topics_hidden=e.data.topics)}))}},computed:{auth:function(){return this.$store.state.auth},isAuthenticated:function(){return this.$store.getters.authenticated},API:function(){return r.a}},components:{RightPanel:o(354).default}},c=(o(1342),o(1344),o(8)),component=Object(c.a)(d,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{staticClass:"content"},[o("div",{staticClass:"left"},[o("div",{staticClass:"whitePage heads"},[o("div",{staticClass:"name"},[o("div",{staticClass:"text"},[o("div",{staticClass:"tree"},[o("nuxt-link",{attrs:{to:t.localePath("/")}},[o("fa",{attrs:{icon:["fas","home"]}}),t._v("\n "+t._s(t.$t("forum_section_crumbz_main"))+"\n ")],1),t._v(" "),o("fa",{attrs:{icon:["fas","angle-right"]}}),t._v(" "),o("nuxt-link",{attrs:{to:t.localePath("/forum")}},[t._v("\n "+t._s(t.$t("forum_section_crumbz_forum"))+"\n ")]),t._v(" "),o("fa",{attrs:{icon:["fas","angle-right"]}}),t._v(" "),o("nuxt-link",{attrs:{to:t.localePath("/forum/section/"+t.section_info.url)}},[t._v("\n "+t._s(t.section_info.name)+"\n ")]),t._v(" "),o("fa",{attrs:{icon:["fas","angle-right"]}})],1),t._v(" "),o("div",[t._v(t._s(t.theme_info.name))]),t._v(" "),o("div",{staticClass:"moders"},[Object.keys(t.theme_info.moders).length>0?o("div",[o("div",{staticClass:"m"},[o("span",{domProps:{innerHTML:t._s(t.$t("forum_topics_moderation"))}})]),t._v(" "),t._l(t.theme_info.moders,(function(e,n){return o("nuxt-link",{key:n,attrs:{to:t.localePath("/profile/"+e.user_login)}},[o("img",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.user_login,expression:"moder.user_login"}],style:"margin-left:2px",attrs:{src:e.user_avatar_url,alt:t.$t("forum_topics_moderator")+" "+e.user_login}})])}))],2):t._e()])])]),t._v(" "),o("img",{attrs:{src:"/assets/image/icons/figures.png"}})]),t._v(" "),""!=t.topics?o("div",{staticClass:"forums",attrs:{id:"topics"}},[o("div",{staticClass:"list_name"},[o("div",{staticClass:"text",style:t.isModer?"cursor:pointer":"",on:{click:function(e){t.type_list=0}}},[t._v(t._s(t.$t("forum_topics_themes")))]),t._v(" "),t.isModer?o("div",{staticClass:"text",staticStyle:{"margin-left":"20px",cursor:"pointer"},on:{click:function(e){t.type_list=1}}},[t._v(t._s(t.$t("forum_topics_hidden")))]):t._e(),t._v(" "),t.isAuthenticated&&(t.theme_info.canCreate||t.isModer)?o("a",{staticClass:"button bg-gradient1 bg-gradient-1",on:{click:function(e){return t.goToCreating()}}},[o("span",[t._v(t._s(t.$t("forum_topics_button_create")))])]):t._e(),t._v(" "),o("div",{staticClass:"sorting"},[o("select",{directives:[{name:"model",rawName:"v-model",value:t.sort_status,expression:"sort_status"}],on:{change:[function(e){var o=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.sort_status=e.target.multiple?o:o[0]},t.loadTopics]}},[o("option",{domProps:{value:-1}},[t._v(t._s(t.$t("forum_topicStatus_1")))]),t._v(" "),o("option",{domProps:{value:1}},[t._v(t._s(t.$t("forum_topicStatus1")))]),t._v(" "),o("option",{domProps:{value:2}},[t._v(t._s(t.$t("forum_topicStatus2")))]),t._v(" "),o("option",{domProps:{value:3}},[t._v(t._s(t.$t("forum_topicStatus3")))]),t._v(" "),o("option",{domProps:{value:0}},[t._v(t._s(t.$t("forum_topicStatus0")))])])])]),t._v(" "),Object.keys(t.topics).length>0&&0==t.type_list?o("div",{staticClass:"list"},t._l(t.topics,(function(e){return o("div",{key:e.id,class:{forum:!0,forum_my:e.creator_login==t.auth.login,forum_fixed:e.isFixed}},[o("nuxt-link",{staticClass:"icon",attrs:{to:t.localePath("/profile/"+e.creator_login)}},[o("img",{attrs:{alt:t.$t("forum_themeCreator")+" "+e.creator_login,title:t.$t("forum_themeCreator")+" "+e.creator_login,src:e.creator_avatar_url}})]),t._v(" "),o("div",{staticClass:"description"},[e.isLocked?o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_locked"),expression:"$t('forum_status_locked')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","lock"]}})],1):t._e(),t._v(" "),e.isVisible?t._e():o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_hidden"),expression:"$t('forum_status_hidden')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","eye-slash"]}})],1),t._v(" "),e.isFixed?o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_fixed"),expression:"$t('forum_status_fixed')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","paperclip"]}})],1):t._e(),t._v(" "),o("span",{class:{tag:e.tag>0,yellow:1==e.tag,green:2==e.tag,red:3==e.tag}},[1==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus1")))]):t._e(),t._v(" "),2==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus2")))]):t._e(),t._v(" "),3==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus3")))]):t._e()]),t._v(" "),o("nuxt-link",{staticClass:"name",attrs:{to:t.localePath("/forum/topic/"+e.id+"-"+e.url)}},[t._v(t._s(e.name))]),t._v(" "),o("div",{staticClass:"more"},[t._v(t._s(t.$t("forum_author"))+" "),o("nuxt-link",{attrs:{to:t.localePath("/profile/"+e.creator_login)}},[o("b",[t._v(t._s(e.creator_login))])]),t._v(", "+t._s(t.millsToDate(e.date)))],1)],1),t._v(" "),o("div",{staticClass:"lastMessage"},[o("nuxt-link",{staticClass:"infos",attrs:{to:t.localePath("/profile/"+e.last_message_login)}},[o("b",[t._v(t._s(e.last_message_login))])]),t._v(" "),o("div",{staticClass:"infos"},[t._v(t._s(t.millsToDate(e.last_message_date)))])],1),t._v(" "),o("div",{staticClass:"number"},[o("div",{staticClass:"infos"},[t._v(t._s(t.$t("forum_answers"))+": "),o("b",[t._v(t._s(e.messages))])]),t._v(" "),o("div",{staticClass:"infos"},[t._v(t._s(t.$t("forum_views"))+": "),o("b",[t._v(t._s(e.views))])])])],1)})),0):t._e(),t._v(" "),1==t.type_list?o("div",{staticClass:"list"},[Object.keys(t.topics).length>0?o("dir",t._l(t.topics_hidden,(function(e){return o("div",{key:e.id,staticClass:"forum"},[o("nuxt-link",{staticClass:"icon",attrs:{to:t.localePath("/profile/"+e.creator_login)}},[o("img",{attrs:{alt:"Создатель темы "+e.creator_login,title:"Создатель темы "+e.creator_login,src:t.API+"account.load.avatar?login="+e.creator_login}})]),t._v(" "),o("div",{staticClass:"description"},[e.isLocked?o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_locked"),expression:"$t('forum_status_locked')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","lock"]}})],1):t._e(),t._v(" "),e.isVisible?t._e():o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_hidden"),expression:"$t('forum_status_hidden')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","eye-slash"]}})],1),t._v(" "),e.isFixed?o("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("forum_status_fixed"),expression:"$t('forum_status_fixed')"}],staticClass:"isClosed"},[o("fa",{attrs:{icon:["fas","paperclip"]}})],1):t._e(),t._v(" "),o("span",{class:{tag:e.tag>0,yellow:1==e.tag,green:2==e.tag,red:3==e.tag}},[1==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus1")))]):t._e(),t._v(" "),2==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus2")))]):t._e(),t._v(" "),3==e.tag?o("span",[t._v(t._s(t.$t("forum_topicStatus3")))]):t._e()]),t._v(" "),o("nuxt-link",{staticClass:"name",attrs:{to:t.localePath("/forum/topic/"+e.id+"-"+e.url)}},[t._v(t._s(e.name))]),t._v(" "),o("div",{staticClass:"more"},[t._v("Автор "),o("nuxt-link",{attrs:{to:t.localePath("/profile/"+e.creator_login)}},[o("b",[t._v(t._s(e.creator_login))])]),t._v(", "+t._s(t.millsToDate(e.date)))],1)],1),t._v(" "),o("div",{staticClass:"lastMessage"},[o("nuxt-link",{staticClass:"infos",attrs:{to:t.localePath("/profile/"+e.last_message_login)}},[o("b",[t._v(t._s(e.last_message_login))])]),t._v(" "),o("div",{staticClass:"infos"},[t._v(t._s(t.millsToDate(e.last_message_date)))])],1),t._v(" "),o("div",{staticClass:"number"},[o("div",{staticClass:"infos"},[t._v(t._s(t.$t("forum_answers"))+": "),o("b",[t._v(t._s(e.messages))])]),t._v(" "),o("div",{staticClass:"infos"},[t._v(t._s(t.$t("forum_views"))+": "),o("b",[t._v(t._s(e.views))])])])],1)})),0):o("div",[o("h3",[t._v(t._s(t.$t("forum_hidden_empty")))])])],1):0==t.type_list&&0==Object.keys(t.topics).length?o("div",{staticClass:"list"},[o("div",{staticClass:"empty"},[o("img",{attrs:{src:"/assets/image/icons/box.svg"}}),o("br"),t._v("\n "+t._s(t.$t("forum_empty"))+"\n ")])]):t._e()]):t._e(),t._v(" "),o("div",{staticClass:"pagination"},[t.selected_page>1?o("button",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#topics",expression:"'#topics'"}],on:{click:function(e){t.selected_page--,t.loadTopics()}}},[o("div",{staticClass:"text"},[t._v(t._s(t.$t("forum_back")))])]):t._e(),t._v(" "),o("div",{staticClass:"grey"},[o("div",{staticClass:"text"},[t._v(t._s(t.selected_page))])]),t._v(" "),1==t.selected_page&&t.pages>2?o("button",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#n",expression:"'#n'"}],staticClass:"grey",on:{click:function(e){t.selected_page=2,t.loadTopics()}}},[o("div",{staticClass:"text"},[t._v("2")])]):t._e(),t._v(" "),1==t.selected_page&&t.pages>3?o("button",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"#n",expression:"'#n'"}],staticClass:"grey",on:{click:function(e){t.selected_page=3,t.loadTopics()}}},[o("div",{staticClass:"text"},[t._v("3")])]):t._e(),t._v(" "),t.selected_page+1