"use strict";(self["webpackChunkblivechat"]=self["webpackChunkblivechat"]||[]).push([[579],{1579:function(e,t,i){i.r(t),i.d(t,{default:function(){return _}});var s=function(){var e=this,t=e._self._c;return t("el-container",{staticClass:"app-wrapper",class:{mobile:e.isMobile}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&!e.hideSidebar,expression:"isMobile && !hideSidebar"}],staticClass:"drawer-bg",on:{click:function(t){e.hideSidebar=!0}}}),t("el-aside",{staticClass:"sidebar-container",class:{"hide-sidebar":e.hideSidebar},attrs:{width:"230px"}},[t("div",{staticClass:"logo-container"},[t("router-link",{attrs:{to:{name:"home"}}},[t("img",{staticClass:"sidebar-logo",attrs:{src:i(5080)}}),t("h1",{staticClass:"sidebar-title"},[e._v("blivechat")])])],1),t("div",{staticClass:"version"},[e._v(e._s(e.APP_VERSION))]),t("sidebar")],1),t("el-main",[t("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isMobile,expression:"isMobile"}],attrs:{icon:"el-icon-s-unfold"},on:{click:function(t){e.hideSidebar=!1}}}),t("keep-alive",[t("router-view")],1)],1)],1)},a=[],l=function(){var e=this,t=e._self._c;return t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{router:"","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"rgb(64, 158, 255)","default-active":e.$route.path}},[t("el-menu-item",{attrs:{index:"/"}},[t("i",{staticClass:"el-icon-s-home"}),e._v(e._s(e.$t("sidebar.home"))+" ")]),t("el-menu-item",{attrs:{index:e.$router.resolve({name:"stylegen"}).href}},[t("i",{staticClass:"el-icon-brush"}),e._v(e._s(e.$t("sidebar.stylegen"))+" ")]),t("el-menu-item",{attrs:{index:e.$router.resolve({name:"help"}).href}},[t("i",{staticClass:"el-icon-question"}),e._v(e._s(e.$t("sidebar.help"))+" ")]),t("el-menu-item",{attrs:{index:e.$router.resolve({name:"plugins"}).href}},[t("i",{staticClass:"el-icon-magic-stick"}),e._v(e._s(e.$t("sidebar.plugins"))+" ")]),t("el-submenu",{attrs:{index:"1"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-link"}),e._v(e._s(e.$t("sidebar.links"))+" ")]),t("a",{attrs:{href:"https://github.com/xfgryujk/blivechat",target:"_blank"}},[t("el-menu-item",[t("i",{staticClass:"el-icon-share"}),e._v(e._s(e.$t("sidebar.projectAddress"))+" ")])],1),t("a",{attrs:{href:"https://github.com/xfgryujk/blivechat/discussions",target:"_blank"}},[t("el-menu-item",[t("i",{staticClass:"el-icon-s-comment"}),e._v(e._s(e.$t("sidebar.discussion"))+" ")])],1),t("a",{attrs:{href:"https://github.com/xfgryujk/blivechat/wiki",target:"_blank"}},[t("el-menu-item",[t("i",{staticClass:"el-icon-document"}),e._v(e._s(e.$t("sidebar.documentation"))+" ")])],1),t("a",{attrs:{href:"https://play-live.bilibili.com/details/1694397161340",target:"_blank"}},[t("el-menu-item",[t("i",{staticClass:"el-icon-s-goods"}),e._v(e._s(e.$t("sidebar.mall"))+" ")])],1),t("a",{attrs:{href:"https://link.bilibili.com/p/center/index#/live-data/gift-list",target:"_blank"}},[t("el-menu-item",[t("i",{staticClass:"el-icon-s-finance"}),e._v(e._s(e.$t("sidebar.giftRecordOfficial"))+" ")])],1)],2),t("el-submenu",{attrs:{index:"2"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-chat-line-square"}),e._v("Language ")]),e._l(e.LOCALES,(function(i){return t("el-menu-item",{key:i.locale,on:{click:function(t){return e.onSelectLanguage(i.locale)}}},[[e._v(e._s(i.name))]],2)}))],2)],1)],1)},n=[],r=i(9234),o={name:"Sidebar",data(){return{LOCALES:[{locale:"zh",name:"中文"},{locale:"ja",name:"日本語"},{locale:"en",name:"English"}]}},methods:{onSelectLanguage(e){r.i(e)}}},c=o,d=i(1001),u=(0,d.Z)(c,l,n,!1,null,"2497c50e",null),b=u.exports,m={name:"Layout",components:{Sidebar:b},data(){return{APP_VERSION:"v1.10.2",isMobile:!1,hideSidebar:!0}},mounted(){window.addEventListener("resize",this.onResize),this.onResize()},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{onResize(){this.isMobile=document.body.clientWidth<=992}}},h=m,v=(0,d.Z)(h,s,a,!1,null,"1c8633e6",null),_=v.exports},5080:function(e,t,i){e.exports=i.p+"img/logo.68f1dea3.png"}}]);
//# sourceMappingURL=579.0707f6d2.js.map