diff --git a/.nuxt/dist/client/1c08c6ce1f8aeedba28d.js b/.nuxt/dist/client/1c08c6ce1f8aeedba28d.js new file mode 100644 index 00000000..bbf2aa6c --- /dev/null +++ b/.nuxt/dist/client/1c08c6ce1f8aeedba28d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{0:function(t,e,n){"use strict";n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return v})),n.d(e,"a",(function(){return y})),n.d(e,"o",(function(){return w})),n.d(e,"e",(function(){return x})),n.d(e,"f",(function(){return _})),n.d(e,"c",(function(){return j})),n.d(e,"n",(function(){return k})),n.d(e,"h",(function(){return O})),n.d(e,"p",(function(){return S})),n.d(e,"k",(function(){return C})),n.d(e,"m",(function(){return T})),n.d(e,"d",(function(){return R})),n.d(e,"b",(function(){return P})),n.d(e,"g",(function(){return N})),n.d(e,"l",(function(){return A}));n(37),n(27),n(35),n(161),n(34),n(169),n(30),n(163),n(164),n(46),n(8),n(249),n(28),n(73),n(36),n(267),n(74),n(269),n(76),n(50),n(20),n(38);var r=n(70),o=n(15),c=(n(29),n(2)),l=n(80),h=n(1);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function _(t){return x(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function j(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function k(t,e){return Promise.all(j(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=w(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function O(t){return $.apply(this,arguments)}function $(){return($=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,k(e);case 4:return t.abrupt("return",d({},e,{meta:x(e).map((function(t,n){return d({},t.options.meta,{},(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function S(t,e){return E.apply(this,arguments)}function E(){return(E=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,l,h,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=B(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([O(n.route),O(n.from)]);case 3:c=t.sent,l=Object(r.a)(c,2),h=l[0],f=l[1],n.route&&(e.context.route=h),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function C(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():T(t[0],e).then((function(){return C(t.slice(1),e)}))}function T(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function R(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function P(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){l.unobserve(this.$el);var t=this.getPrefetchComponents(),e=!0,n=!1,r=void 0;try{for(var o,c=t[Symbol.iterator]();!(e=(o=c.next()).done);e=!0){var h=o.value,f=h();f instanceof Promise&&f.catch((function(){})),h.__prefetched=!0}}catch(t){n=!0,r=t}finally{try{e||null==c.return||c.return()}finally{if(n)throw r}}}}}}},152:function(t,e,n){"use strict";e.a={}},162:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return h})),n.d(e,"e",(function(){return f}));n(30);var r=function(t,e){var n=e.slug;return t.$axios.$get("v1/tag/show",{params:{slug:n}})},o=function(t,e){var n=e.name,r=e.parent_slug;return t.$axios.$post("v1/tag/create",{name:n,parent_slug:r})},c=function(t,e){var n=e.name,r=e.slug,o=e.avatar,c=e.alias,l=e.intro;return t.$axios.$post("v1/tag/update",{name:n,slug:r,avatar:o,alias:c,intro:l})},l=function(t,e){var n=e.slug;return t.$axios.$post("v1/tag/delete",{slug:n})},h=function(t,e){var n=e.slug;return t.$axios.$get("v1/tag/bookmarks",{params:{slug:n}})},f=function(t,e){var n=e.slug,r=e.page,o=e.take;return t.$axios.$get("v1/tag/children",{params:{slug:n,page:r,take:o}})}},202:function(t,e,n){t.exports=n.p+"img/b07f58f.jpeg"},205:function(t,e,n){"use strict";n.r(e),n.d(e,"getUserMessage",(function(){return r})),n.d(e,"getUserRelation",(function(){return o})),n.d(e,"getUserDrafts",(function(){return c})),n.d(e,"getUserTimeline",(function(){return l})),n.d(e,"getPinComments",(function(){return h})),n.d(e,"getTagFlows",(function(){return f})),n.d(e,"getATField",(function(){return d})),n.d(e,"getZoneQuestions",(function(){return m})),n.d(e,"getMixinSearch",(function(){return v})),n.d(e,"getTimeline",(function(){return y})),n.d(e,"getFlowRecommendedIndex",(function(){return w})),n.d(e,"tagHottest",(function(){return x})),n.d(e,"getBangumiQuestionTrials",(function(){return _})),n.d(e,"getIdolFans",(function(){return j})),n.d(e,"getBangumiLiker",(function(){return k}));n(8),n(36),n(38),n(45);var r=function(t){var e=t.$axios,n=t.channel,r=t.since_id,o=t.is_up,c=t.count;return e.$get("v1/message/history",{params:{channel:n,since_id:r,count:c,is_up:o}})},o=function(t){var e=t.$axios,n=t.seen_ids,r=t.slug,o=t.relation;return e.$get("v1/user/relation",{params:{seen_ids:n,slug:r,relation:o}})},c=function(t){var e=t.$axios,n=t.page,r=t.count;return e.$get("v1/pin/drafts",{params:{page:n,count:r}})},l=function(t){var e=t.$axios,n=t.page,r=t.count,o=t.slug;return e.$get("v1/user/timeline",{params:{page:n,count:r,slug:o}})},h=function(t){var e=t.$axios,n=t.sort,r=t.slug,o=t.count,c=t.last_id,l=t.seen_ids,h=t.mode,f=t.page;return e.$get("v1/comment/list",{params:{sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:f}})},f=function(t){var e=t.$axios,n=t.slug,r=t.sort,time=t.time,o=t.take,c=t.seen_ids,l=t.last_id;return new Promise((function(t,h){Promise.all([e.$get("v1/flow/pins",{params:{slug:n,sort:r,time:time,take:o,is_up:0,spec_id:"newest"===r?l:c}}),new Promise((function(t){return setTimeout(t,400)}))]).then((function(data){t(data[0])})).catch(h)}))},d=function(t){var e=t.$axios,n=t.page,r=t.count,o=t.sort,c=t.slug;return new Promise((function(t,l){Promise.all([e.$get("v1/atfield/flow",{params:{page:n,count:r,sort:o,slug:c}}),new Promise((function(t){return setTimeout(t,400)}))]).then((function(data){t(data[0])})).catch(l)}))},m=function(t){var e=t.$axios,n=t.slug;return e.$get("v1/atfield/list",{params:{slug:n}})},v=function(t){var e=t.$axios,n=t.page,r=t.type,q=t.q;return e.$get("v1/search/mixin",{params:{page:n,type:r,q:q}})},y=function(t){var e=t.$axios,n=t.type,r=t.slug;return e.$get("v1/".concat(n,"/timeline"),{params:{slug:r}})},w=function(t){var e=t.$axios,n=t.seen_ids;return e.$get("v1/flow/index",{params:{seen_ids:n}})},x=function(t){var e=t.$axios,n=t.page,r=t.take;return e.$get("v1/tag/hottest",{params:{page:n,take:r}})},_=function(t){var e=t.$axios,n=t.page,r=t.take,o=t.bangumi_slug,c=t.user_slug,l=t.status,h=t.sort;return e.$get("v1/join/flow",{params:{page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}})},j=function(t){var e=t.$axios,n=t.page,r=t.take,o=t.slug,c=t.sort;return e.$get("v1/idol/fans",{params:{page:n,take:r,slug:o,sort:c}})},k=function(t){var e=t.$axios,n=t.page,r=t.take,o=t.slug;return e.$get("v1/bangumi/liker",{params:{page:n,take:r,slug:o}})}},224:function(t,e,n){"use strict";n(30),n(45);var r=n(170),o=n.n(r),c=n(229),l=n.n(c),h=n(104),f=n(39),d=n(225),m={components:{ElBadge:l.a,ElSwitch:o.a,VSearch:d.a},props:{showUser:{type:Boolean,default:!0}},data:function(){return{night_mode:!1}},computed:{headers:function(){return[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}]},isAuth:function(){return this.$store.state.isAuth},user:function(){return this.$store.state.user},mailbox:function(){return this.$store.state.mailbox},headerType:function(){this.$route.name;return"fixed"}},mounted:function(){var t=this;this.$channel.$when("user-signed",(function(){t.getUnreadMessageCount()}))},methods:{handleLogout:function(){Object(f.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn:function(){this.$channel.$emit("sign-in")},getUnreadMessageCount:function(){var t=this;this.$store.dispatch("refreshMailbox");var e=Date.now();window.addEventListener("mousemove",Object(h.b)(3e3,(function(){e=Date.now()}))),setInterval((function(){"visible"===document.visibilityState&&!t.$store.state.socket.isConnected&&Date.now()-e<3e4&&t.$store.dispatch("refreshMailbox")}),1e4)},handleNightModeSwitch:function(){this.$toast.success("开个玩笑,还没支持~")}}},v=(n(277),n(19)),component=Object(v.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{attrs:{id:"page-header"}},[n("div",{staticClass:"header-text",class:"header-"+t.headerType},[n("div",{staticClass:"container nav"},[n("nav",{staticClass:"left"},[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),t._v(" "),n("VSwitcher",{attrs:{headers:t.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},t._l(t.headers,(function(e,r){return n("NLink",{key:r,attrs:{slot:"tab-"+r,to:e.route},slot:"tab-"+r},[n("span",{domProps:{textContent:t._s(e.name)}})])})),1)],1),t._v(" "),n("div",{staticClass:"right"},[n("div",{staticClass:"search-container"},[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),t._v(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],1),t._v(" "),t.showUser?[t.isAuth?[n("div",{staticClass:"user-panel icon-link"},[n("NLink",{staticClass:"avatar",attrs:{to:t.$alias.user(t.user.slug)}},[n("VImg",{attrs:{src:t.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:t.user.nickname}})],1),t._v(" "),n("div",{staticClass:"user-popover"},[n("p",{staticClass:"nickname oneline",domProps:{innerHTML:t._s(t.user.nickname)}}),t._v(" "),n("div",{staticClass:"field"},[t._m(0),t._v(" "),n("div",{staticClass:"value"},[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:t.handleNightModeSwitch},model:{value:t.night_mode,callback:function(e){t.night_mode=e},expression:"night_mode"}})],1)]),t._v(" "),n("NLink",{attrs:{to:t.$alias.user(t.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),t._v(" "),n("span",[t._v("设置")])])])]),t._v(" "),n("button",{staticClass:"sign-out",on:{click:t.handleLogout}},[t._v("\n 退出\n ")])],1)],1),t._v(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:t.$alias.user(t.user.slug,"message")}},[n("ElBadge",{attrs:{value:t.mailbox.unread_notice_total+t.mailbox.unread_message_total,hidden:!t.mailbox.unread_message_total&&!t.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:t.handleSignIn}},[t._v("\n 登录\n ")]),t._v(" "),n("NLink",{attrs:{to:t.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[t._v("\n 登录  \n ")])],1)]]:t._e(),t._v(" "),n("div",{staticClass:"creator-wrap only-pc"},[n("NLink",{attrs:{target:"_blank",to:t.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[t._v("\n 投稿\n ")])],1)],1)],2)])]),t._v(" "),n("div",{staticClass:"header-shim"})])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"label"},[e("i",{staticClass:"iconfont ic-night"}),this._v(" "),e("span",[this._v("夜间模式")])])}],!1,null,null,null);e.a=component.exports},225:function(t,e,n){"use strict";n(35),n(59),n(30),n(77),n(234),n(45);var r={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data:function(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion:function(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted:function(){var t=this;this.$watch("value",(function(e){t.word=e,t.typing=!0,t.selectedIndex=-1,t.handleEnter(e)})),this.$watch("word",(function(e){t.$emit("input",e)})),this.$watch("$route",(function(e){"search"===e.name&&(t.word=e.query.q,t.selectedType=e.query.type,setTimeout((function(){t.typing=!1}),0))})),this.getSearchTags()},methods:{getSearchTags:function(){var t=this;this.showSuggestion&&this.$nextTick((function(){t.$cache.expired("search-all-tags",86400)?t.$axios.$get("v1/search/tags").then((function(e){t.tags=e,t.$cache.set("search-all-tags",e),t.word&&(t.handleEnter(t.word),t.filteredSelect.length&&(t.handleInputFocus(),t.typing=!0))})).catch((function(){})):t.tags=t.$cache.get("search-all-tags")}))},submit:function(){var q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter:function(t){this.filteredSelect=t?this.tags.filter((function(option){return option.alias.includes(t)||option.name.includes(t)})):[]},handleInputFocus:function(){this.state="focus",this.$emit("focus")},handleInputBlur:function(){this.state="blur",this.$emit("blur")}}},o=(n(276),n(19)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"search-input-wrap",class:"search-"+t.state,attrs:{action:"#",method:"get"},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("button",{staticClass:"search-input-btn",attrs:{type:"submit"}},[t._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),t._v(" "),n("div",{staticClass:"search-input-text"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.word,expression:"word",modifiers:{trim:!0}}],staticClass:"search-input",attrs:{placeholder:t.placeholder,autofocus:t.autofocus,type:"text",name:"q","aria-autocomplete":"both","aria-haspopup":"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",role:"combobox",spellcheck:"false",maxlength:"50"},domProps:{value:t.word},on:{focus:t.handleInputFocus,blur:[t.handleInputBlur,function(e){return t.$forceUpdate()}],input:function(e){e.target.composing||(t.word=e.target.value.trim())}}})]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.displaySuggestion,expression:"displaySuggestion"}],staticClass:"search-suggestions"},t._l(t.filteredSelect,(function(e,r){return n("NLink",{key:e.id,class:{active:r===t.selectedIndex},attrs:{to:t.$alias.tag(e.slug),tag:"li"}},[n("img",{attrs:{src:t.$resize(e.avatar,{width:60})}}),t._v(" "),n("span",{domProps:{textContent:t._s(e.name)}})])})),1)])}),[],!1,null,null,null);e.a=component.exports},230:function(t,e){},25:function(t,e,n){"use strict";n.r(e),n.d(e,"convertTA",(function(){return r})),n.d(e,"randomStr",(function(){return o})),n.d(e,"adjustDate",(function(){return c})),n.d(e,"shortenNumber",(function(){return l})),n.d(e,"timeAgo",(function(){return h})),n.d(e,"checkInView",(function(){return f})),n.d(e,"on",(function(){return d})),n.d(e,"off",(function(){return m}));n(27),n(8),n(28),n(73),n(74);var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?"我":0===t?"TA":1===t?"他":2===t?"她":"TA"},o=function(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(3,6))},c=function(time){if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);var t=new Date(time);return"Invalid Date"===t.toString()&&(t=new Date(time.replace(/-/g,"/"))),t},l=function(t){return t>1e3?"".concat(Math.floor(t/1e3*10)/10,"k"):t},h=function(time){var t=c(time),e=Date.now()-t.getTime(),n=[t.getFullYear(),"0".concat(t.getMonth()+1).substr(-2),"0".concat(t.getDate()).substr(-2),"0".concat(t.getHours()).substr(-2),"0".concat(t.getMinutes()).substr(-2)];if(e>31536e6||e<=0)return"".concat(n[0],"-").concat(n[1],"-").concat(n[2]);var r=(new Date).setHours(0,0,0,0);return r1&&void 0!==arguments[1]?arguments[1]:1;if(!t)return!1;var rect=t.getBoundingClientRect();return rect.top0&&rect.left0},d=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,t,e){element&&t&&e&&element.addEventListener(t,e,!1)}:function(element,t,e){element&&t&&e&&element.attachEvent("on"+t,e)}}(),m=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,t,e){element&&t&&element.removeEventListener(t,e,!1)}:function(element,t,e){element&&t&&element.detachEvent("on"+t,e)}}()},252:function(t,e,n){t.exports=n(253)},253:function(t,e,n){"use strict";n.r(e),function(t){n(37),n(62),n(92),n(27),n(35),n(59),n(34),n(30),n(46),n(8),n(28),n(77),n(36),n(174),n(20),n(38);var e=n(15),r=(n(29),n(2)),o=(n(175),n(260),n(265),n(266),n(1)),c=n(226),l=n(152),h=n(0),f=n(26),d=n(113);o.default.component(d.a.name,d.a),o.default.component("NLink",d.a),t.fetch||(t.fetch=c.a);var m,v,y=[],w=window.__NUXT__||{};Object.assign(o.default.config,{silent:!0,performance:!1});var x=o.default.config.errorHandler||console.error;function _(t,e,n){var r=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:w,n=arguments.length>2?arguments[2]:void 0;return x.call(this,t,e,n)},c.default.use(v.a);var _={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(y.e)(t);o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop}))?r={x:0,y:0}:o.some((function(t){return t.options.scrollToTop}))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return t.path===e.path&&t.hash!==e.hash&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/about",component:function(){return Object(y.j)(n.e(13).then(n.bind(null,680)))},props:!1,name:"about",children:[{path:"managers",component:function(){return Object(y.j)(n.e(14).then(n.bind(null,681)))},props:!1,name:"about-index-managers"}]},{path:"/search",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(69),n.e(34)]).then(n.bind(null,673)))},props:!1,name:"search"},{path:"/sign",component:function(){return Object(y.j)(Promise.all([n.e(6),n.e(35)]).then(n.bind(null,682)))},props:!1,name:"sign"},{path:"/write",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(59)]).then(n.bind(null,670)))},props:!1,name:"write"},{path:"/app/admin",component:function(){return Object(y.j)(n.e(17).then(n.bind(null,683)))},props:!1,name:"app-admin"},{path:"/callback/auth-error",component:function(){return Object(y.j)(n.e(29).then(n.bind(null,684)))},props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:function(){return Object(y.j)(n.e(30).then(n.bind(null,685)))},props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:function(){return Object(y.j)(n.e(31).then(n.bind(null,686)))},props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:function(){return Object(y.j)(n.e(60).then(n.bind(null,687)))},props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(61)]).then(n.bind(null,688)))},props:!1,name:"zone-bangumi"},{path:"/zone/game",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(62)]).then(n.bind(null,689)))},props:!1,name:"zone-game"},{path:"/zone/topic",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(63)]).then(n.bind(null,690)))},props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(15)]).then(n.bind(null,691)))},props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.bind(null,692)))},props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:function(){return Object(y.j)(n.e(18).then(n.bind(null,693)))},props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:function(){return Object(y.j)(n.e(19).then(n.bind(null,694)))},props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:function(){return Object(y.j)(n.e(20).then(n.bind(null,695)))},props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.bind(null,696)))},props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:function(){return Object(y.j)(n.e(22).then(n.bind(null,697)))},props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(67),n.e(23)]).then(n.bind(null,698)))},props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:function(){return Object(y.j)(Promise.all([n.e(68),n.e(24)]).then(n.bind(null,699)))},props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:function(){return Object(y.j)(n.e(25).then(n.bind(null,700)))},props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(26)]).then(n.bind(null,701)))},props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(27)]).then(n.bind(null,702)))},props:!1,name:"app-user-edit"},{path:"/app/user/list",component:function(){return Object(y.j)(n.e(28).then(n.bind(null,677)))},props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(33)]).then(n.bind(null,668)))},props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(38)]).then(n.bind(null,672)))},props:!0,name:"tag-slug"},{path:"/user/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(40)]).then(n.bind(null,678)))},props:!0,name:"user-slug",children:[{path:"draft",component:function(){return Object(y.j)(n.e(41).then(n.bind(null,703)))},props:!0,name:"user-slug-draft"},{path:"emotion",component:function(){return Object(y.j)(n.e(47).then(n.bind(null,704)))},props:!0,name:"user-slug-emotion"},{path:"message",component:function(){return Object(y.j)(Promise.all([n.e(71),n.e(48)]).then(n.bind(null,669)))},props:!0,name:"user-slug-message"},{path:"setting",component:function(){return Object(y.j)(n.e(49).then(n.bind(null,705)))},props:!0,children:[{path:"",component:function(){return Object(y.j)(n.e(51).then(n.bind(null,706)))},name:"user-slug-setting"},{path:"basic",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(50)]).then(n.bind(null,707)))},name:"user-slug-setting-basic"},{path:"oauth2",component:function(){return Object(y.j)(n.e(52).then(n.bind(null,708)))},name:"user-slug-setting-oauth2"}]},{path:"social",component:function(){return Object(y.j)(n.e(53).then(n.bind(null,709)))},props:!0,children:[{path:"",component:function(){return Object(y.j)(n.e(57).then(n.bind(null,710)))},name:"user-slug-social"},{path:"followers",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(54)]).then(n.bind(null,711)))},name:"user-slug-social-followers"},{path:"following",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(55)]).then(n.bind(null,712)))},name:"user-slug-social-following"},{path:"friends",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(56)]).then(n.bind(null,713)))},name:"user-slug-social-friends"}]},{path:"timeline",component:function(){return Object(y.j)(n.e(58).then(n.bind(null,671)))},props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:function(){return Object(y.j)(n.e(42).then(n.bind(null,714)))},props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:function(){return Object(y.j)(n.e(43).then(n.bind(null,715)))},name:"user-slug-emotion-category-bangumi"},{path:"game",component:function(){return Object(y.j)(n.e(44).then(n.bind(null,716)))},name:"user-slug-emotion-category-game"},{path:"notebook",component:function(){return Object(y.j)(n.e(45).then(n.bind(null,717)))},name:"user-slug-emotion-category-notebook"},{path:"topic",component:function(){return Object(y.j)(n.e(46).then(n.bind(null,718)))},name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:function(){return Object(y.j)(n.e(36).then(n.bind(null,679)))},props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(37)]).then(n.bind(null,674)))},props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:function(){return Object(y.j)(Promise.all([n.e(70),n.e(39)]).then(n.bind(null,675)))},props:!0,name:"tag-slug-qa"},{path:"/",component:function(){return Object(y.j)(n.e(32).then(n.bind(null,719)))},props:!1,name:"index"}],fallback:!1};var j,k={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props;data.nuxtChild=!0;for(var o=n,c=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var f=c[h]||l,d={};O.forEach((function(t){void 0!==f[t]&&(d[t]=f[t])}));var m={};$.forEach((function(t){"function"==typeof f[t]&&(m[t]=f[t].bind(o))}));var v=m.beforeEnter;if(m.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),v)return v.call(o,t)},!1===f.css){var y=m.leave;(!y||y.length<2)&&(m.leave=function(t,e){y&&y.call(o,t),o.$nextTick(e)})}var w=t("routerView",data);return r.keepAlive&&(w=t("keep-alive",{props:r.keepAliveProps},[w])),t("transition",{props:d,on:m},[w])}},O=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],$=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],S={name:"nuxt-error",components:{VHeader:n(224).a},props:{error:{type:Object,default:null}},computed:{statusCode:function(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message:function(){return this.error&&this.error.message}},mounted:function(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin:function(){this.$channel.$emit("sign-in")},toastMessage:function(){this.$toast.error(this.message)}},head:{title:"出错了"}},E=(n(278),n(19)),C=Object(E.a)(S,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"error-page"}},[r("VHeader",{attrs:{"show-user":!1}}),t._v(" "),r("div",{staticClass:"error-main"},[401===t.statusCode?r("div",{attrs:{id:"error-401"}},[r("img",{attrs:{src:n(273),alt:"error-401"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v(t._s(t.message||"请登录后重新访问"))]),t._v(" "),r("button",{staticClass:"back",on:{click:t.handleLogin}},[t._v("\n 登录\n ")])]):403===t.statusCode?r("div",{attrs:{id:"error-403"}},[r("img",{attrs:{src:n(202),alt:"error-403"}}),t._v(" "),r("h3",[t._v(t._s(t.message||"您没有权限访问该页面"))]),t._v(" "),r("a",{staticClass:"back",attrs:{href:"/"}},[t._v("回到首页")])]):404===t.statusCode?r("div",{attrs:{id:"error-404"}},[r("img",{attrs:{src:n(274),alt:"error-404"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v("您要找的页面不存在")]),t._v(" "),r("div",{staticClass:"subtitle"},[t._v("\n 不存在的内容,或者正在审核中。\n ")]),t._v(" "),r("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[t._v("\n 返回首页\n ")]),t._v(" "),r("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1):t.statusCode>=500?r("div",{attrs:{id:"error-500"}},[r("img",{attrs:{src:n(202),alt:"error-500"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v("服务器出错了")]),t._v(" "),r("div",{staticClass:"subtitle"},[t._v("\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n ")]),t._v(" "),r("NLink",{staticClass:"back",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1):t._e()])],1)}),[],!1,null,null,null).exports,T=(n(28),n(73),n(74),n(70)),R={name:"Nuxt",components:{NuxtChild:k,NuxtError:C},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.b)(this.$route.matched[0].path)(this.$route.params);var t=Object(T.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occured while showing the error page"),t("p","Unfortunately an error occured and while showing the error page another error occured"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(C,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},P=(n(62),n(27),n(36),n(38),n(45),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100?(t.skipTimerCount=1,t.reversed=!t.reversed):t.percent<=0&&(t.skipTimerCount=1,t.reversed=!t.reversed)))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),N=(n(279),Object(E.a)(P,void 0,void 0,!1,null,null,null).exports),A=(n(280),n(281),n(282),{_app:function(){return n.e(10).then(n.bind(null,720)).then((function(t){return t.default||t}))},_default:function(){return n.e(11).then(n.bind(null,722)).then((function(t){return t.default||t}))},_web:function(){return Promise.all([n.e(66),n.e(6),n.e(12)]).then(n.bind(null,676)).then((function(t){return t.default||t}))}}),L={},M={head:{titleTemplate:function(t){return t?"".concat(t," - ").concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"):"".concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur")},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:function(t){return t?"".concat(t,",").concat("咔哩吧是一个二次元社区"):"".concat("咔哩吧是一个二次元社区")}},{hid:"keywords",name:"keywords",content:"",template:function(t){return t?"".concat(t,",").concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"):"".concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交")}}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render:function(t,e){var n=t("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&C){var r=(C.options||C).layout;r&&this.setLayout("function"==typeof r?r.call(C,this.context):r)}var o=t(this.layout||"nuxt"),c=t("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),l=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[c]);return t("div",{domProps:{id:"__nuxt"}},[n,l])},data:function(){return{isOnline:!0,layout:null,layoutName:""}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){c.default.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:(j=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((e=Object(y.f)(this.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return this.$loading.start(),n=e.map((function(t){var p=[];return t.$options.fetch&&p.push(Object(y.m)(t.$options.fetch,r.context)),t.$options.asyncData&&p.push(Object(y.m)(t.$options.asyncData,r.context).then((function(e){for(var n in e)c.default.set(t.$data,n,e[n])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(n);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),this.$loading.fail(),Object(y.i)(t.t0),this.error(t.t0);case 15:this.$loading.finish();case 16:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(){return j.apply(this,arguments)}),errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout:function(t){t&&L["_"+t]||(t="default"),this.layoutName=t;var e="_"+t;return this.layout=L[e],this.layout},loadLayout:function(t){var e=this,n=!t,r=!(A["_"+t]||L["_"+t]),o="_"+(n||r?"default":t);return L[o]?Promise.resolve(L[o]):A[o]().then((function(t){return L[o]=t,delete A[o],L[o]})).catch((function(t){if(e.$nuxt)return e.$nuxt.error({statusCode:500,message:t.message})}))}},components:{NuxtLoading:N}},I=(n(92),n(59),n(76),n(154));c.default.use(I.a);var D=["state","getters","actions","mutations"],U={};(U=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),z(t,e)}(n(283),"store/index.js")).modules=U.modules||{},F(n(284),"flow.js"),F(n(285),"global.js"),F(n(286),"social.js");var B=U instanceof Function?U:function(){return new I.a.Store(Object.assign({strict:!1},U))};function z(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}function F(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);if(t="state"===r?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var n=Object.assign({},t);return function(){return n}}return z(t,e)}(t,o):z(t,o),D.includes(r)){var c=r;H(G(U,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=G(U,n),h=!0,f=!1,d=void 0;try{for(var m,v=D[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var y=m.value;H(l,t[y],y)}}catch(t){f=!0,d=t}finally{try{h||null==v.return||v.return()}finally{if(f)throw d}}!1===t.namespaced&&delete l.namespaced}}function G(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,r=void 0!==n&&n;if(!e.length||r&&1===e.length)return t;var o=e.shift();return t.modules[o]=t.modules[o]||{},t.modules[o].namespaced=!0,t.modules[o].modules=t.modules[o].modules||{},G(t.modules[o],e,{isProperty:r})}function H(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}for(var K=n(57),W=n.n(K),J=n(231),V=n.n(J),Q={setBaseURL:function(t){this.defaults.baseURL=t},setHeader:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=!0,o=!1,c=void 0;try{for(var l,h=(Array.isArray(n)?n:[n])[Symbol.iterator]();!(r=(l=h.next()).done);r=!0){var f=l.value;if(!e)return void delete this.defaults.headers[f][t];this.defaults.headers[f][t]=e}}catch(t){o=!0,c=t}finally{try{r||null==h.return||h.return()}finally{if(o)throw c}}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return tt(V()(t,this.defaults))}},X=function(){var t=Z[Y];Q["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Y=0,Z=["request","delete","get","head","options","post","put","patch"];Yl&&(c=parseInt(l/o*c,10),o=l),c>9999&&(o=parseInt(9999/c*o,10),c=9999),o0&&void 0!==arguments[0]?arguments[0]:"";return"/sign?redirect=".concat(encodeURIComponent(t||("undefined"==typeof window?"/":window.location.href)))},tag:function(t){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"/tag/".concat(t,"/").concat(path)},user:function(t){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"timeline";return"/user/".concat(t,"/").concat(path)},pin:function(t){return"/pin/".concat(t)},create:function(t){return t?"/write?slug=".concat(t):"/write"}},Tt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"";if(/imageMogr2/.test(t))return t;var n,r,link=t.startsWith("http")?t:"https://m1.calibur.tv/".concat(t),o=function(){if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;var t=document.createElement("canvas");if(t.getContext&&t.getContext("2d")){var e=0===t.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=e,e}return!1},c=!1===e.webP?"":o()?"/format/webp":"",l=void 0===e.mode?1:e.mode;if(1===l&&!e.width||!e.width&&!e.height)return"".concat(link,"?imageMogr2/auto-orient/strip").concat(c);var h=function(){if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;var t=window.devicePixelRatio;return window.computedRadio=t,t},f=h();return 1===l?(n="/w/".concat(e.width*f|0),r=e.height?"/h/".concat(e.height*f|0):"/h/".concat(e.width*f|0)):(n=e.width?"/w/".concat(e.width*f|0):"",r=e.height?"/h/".concat(e.height*f|0):""),"".concat(link,"?imageMogr2/auto-orient/strip|imageView2/").concat(l).concat(n).concat(r).concat(c)},Rt=function(t){var e=t.store;c.default.use({install:function(t){t.prototype.$alias=Ct,t.prototype.$utils=jt,t.prototype.$resize=Tt,t.prototype.$hasRole=e.getters.hasRole,t.prototype.$isMine=e.getters.isMine}})},Pt=n(232),Nt=n.n(Pt),At=(n(338),n(160)),Lt=n.n(At),Mt=n(109),It=n.n(Mt),qt=(n(342),n(110)),Dt=n.n(qt),Ut=n(15),Bt=n(47),zt=n(48),Ft=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500;return new Promise((function(e){setTimeout(e,t)}))},Gt=function(){function t(e){Object(Bt.a)(this,t),this.isMobile=e}return Object(zt.a)(t,[{key:"error",value:function(t){this.stop();var time,text="";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text||"操作失败",iconClass:"iconfont icon-cuowuhttp"}):It.a.error(text),Ft(time)}},{key:"success",value:function(t){this.stop();var time,text="操作成功";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text,iconClass:"iconfont icon-caozuochenggong"}):It.a.success(text),Ft(time)}},{key:"info",value:function(t){this.stop();var time,text="操作成功";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text}):It.a.info(text),Ft(time)}},{key:"loading",value:function(t){var e=this;this.stop();var time,n="";if("object"===Object(Ut.a)(t)?(n=t.tip,time=t.time):n=t,Lt.a.open({text:n||"加载中…",spinnerType:"triple-bounce"}),time)return Ft(time).then((function(){return e.stop()}))}},{key:"stop",value:function(){Lt.a.close()}}]),t}(),Ht={data:function(){return{handler:{},events:{}}},methods:{socketConnect:function(){this.$connect()},socketDisconnect:function(){this.$disconnect()},send:function(data){this.$socket&&this.$socket.sendObj(data)},$when:function(t,e){this.events[t]?e(this.events[t]):this.handler[t]?this.handler[t].push(e):this.handler[t]=[e]},$fire:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.events[t]||(this.events[t]=e,this.handler[t]&&this.handler[t].forEach((function(t){return t(e)})))}}},Kt=n(56),Wt=window.screen.width<=768;c.default.use({install:function(t){t.prototype.$cookie=Nt.a,t.prototype.$channel=new t(Ht),t.prototype.$toast=new Gt(Wt),t.prototype.$cache=Kt}});n(343);var Jt=n(111),Vt=n.n(Jt),Qt=(n(167),function(){function t(e){Object(Bt.a)(this,t),this.config=e}return Object(zt.a)(t,[{key:"init",value:function(){"undefined"!=typeof window&&void 0!==window.setShareInfo&&setShareInfo({title:this.getShareTitle(),summary:this.getShareDesc(),pic:this.getShareImage(),url:this.getShareLink(),WXconfig:{swapTitleInWX:!0,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature}})}},{key:"getShareTitle",value:function(){return this.shareData().title}},{key:"getShareLink",value:function(){return this.shareData().link}},{key:"getShareDesc",value:function(){return this.shareData().desc}},{key:"getShareImage",value:function(){return this.shareData().image}},{key:"shareData",value:function(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}]),t}()),Xt=(n(174),function(){function t(e){Object(Bt.a)(this,t),this.config=e}return Object(zt.a)(t,[{key:"init",value:function(){var t=this;"undefined"!=typeof window&&void 0!==window.wx&&(wx.config({debug:!1,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature,jsApiList:["previewImage","onMenuShareTimeline","onMenuShareAppMessage","updateTimelineShareData","updateAppMessageShareData"]}),wx.ready((function(){var e=[];[].forEach.call(document.querySelectorAll(".is-full"),(function(t){var image=t.querySelector("img");if(image){var n=image.getAttribute("origin-src");n.match(/^\/\//)&&(n="http:".concat(n)),e.push(n),t.addEventListener("click",(function(){wx.previewImage({current:n,urls:e})}))}})),wx.updateTimelineShareData({title:t.getShareTitle(),link:t.getShareLink(),imgUrl:t.getShareImage(),success:function(){}}),wx.updateAppMessageShareData({title:t.getShareTitle(),desc:t.getShareDesc(),link:t.getShareLink(),imgUrl:t.getShareImage(),type:"link",success:function(){}}),wx.onMenuShareTimeline({title:t.getShareTitle(),link:t.getShareLink(),imgUrl:t.getShareImage(),success:function(){}}),wx.onMenuShareAppMessage({title:t.getShareTitle(),desc:t.getShareDesc(),link:t.getShareLink(),imgUrl:t.getShareImage(),type:"link",success:function(){}})})))}},{key:"getShareTitle",value:function(){return this.shareData().title}},{key:"getShareLink",value:function(){return this.shareData().link}},{key:"getShareDesc",value:function(){return this.shareData().desc}},{key:"getShareImage",value:function(){return this.shareData().image}},{key:"shareData",value:function(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}]),t}()),Yt=function(t){if(/mqqbrowser|qq|micromessenger/.test((window.navigator.userAgent||"").toLowerCase())){var e=/qq/.test((window.navigator.userAgent||"").toLowerCase());W.a.get("".concat("https://api.calibur.tv/","v1/door/oauth2/ticket"),{params:{url:t,isQQ:e}}).then((function(t){var n=t.data.data;e?new Qt(n).init():new Xt(n).init()})).catch((function(){}))}};window.screen.width<=768&&(c.default.use({install:function(t){t.prototype.$alert=Vt.a.alert,t.prototype.$confirm=Vt.a.confirm,t.prototype.$prompt=Vt.a.prompt}}),Yt(window.location.href));var Zt=n(112),te=n.n(Zt);window.screen.width<=768||c.default.use({install:function(t){t.prototype.$alert=te.a.alert,t.prototype.$confirm=te.a.confirm,t.prototype.$prompt=te.a.prompt}});var ee=n(233),ne=n.n(ee),re=function(t){var e=t.store;c.default.use(ne.a,"".concat("wss://api.calibur.tv/ws","?token=").concat(Object(nt.a)()),{connectManually:!0,reconnection:!1,reconnectionAttempts:12,reconnectionDelay:5e3,store:e,format:"json"})},oe=function(t){t.app.router.afterEach((function(t,e){e&&e.name&&(window._hmt&&_hmt.push(["_trackPageview",t.fullPath]),Yt(window.location.origin+t.fullPath))}))};function ae(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ie(t){for(var i=1;i has been deprecated and will be removed in Nuxt 3, please use instead")),m.a.render(t,e)}})),c.default.component(k.name,k),c.default.component("NChild",k),c.default.component(R.name,R),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var se={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function ue(t){return ce.apply(this,arguments)}function ce(){return(ce=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,l,h,f,path,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new v.a(_);case 2:return n=t.sent,(r=B(e)).$router=n,o=r.registerModule,r.registerModule=function(path,t,e){return o.call(r,path,t,Object.assign({preserveState:!0},e))},l=ie({store:r,router:n,nuxt:{defaultTransition:se,transitions:[se],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},se,{name:t}):Object.assign({},se,t):se})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,l.context._errored=Boolean(t),t=t?Object(y.l)(t):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},M),r.app=l,h=e?e.next:function(t){return l.router.push(t)},e?f=n.resolve(e.url).route:(path=Object(y.d)(n.options.base,n.options.mode),f=n.resolve(path).route),t.next=13,Object(y.p)(l,{store:r,route:f,next:h,error:l.nuxt.error.bind(l),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 13:if(d=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject(key, value) has no value provided");l[t="$"+t]=e,r[t]=l[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),"function"!=typeof et){t.next=18;break}return t.next=18,et(l.context,d);case 18:if("function"!=typeof ot){t.next=21;break}return t.next=21,ot(l.context,d);case 21:t.next=24;break;case 24:if("function"!=typeof Rt){t.next=27;break}return t.next=27,Rt(l.context,d);case 27:t.next=30;break;case 30:t.next=33;break;case 33:t.next=36;break;case 36:if("function"!=typeof re){t.next=39;break}return t.next=39,re(l.context,d);case 39:if("function"!=typeof oe){t.next=42;break}return t.next=42,oe(l.context,d);case 42:t.next=45;break;case 45:return t.abrupt("return",{store:r,app:l,router:n});case 46:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},273:function(t,e,n){t.exports=n.p+"img/d465ab1.jpeg"},274:function(t,e,n){t.exports=n.p+"img/adea640.jpeg"},276:function(t,e,n){"use strict";var r=n(103);n.n(r).a},277:function(t,e,n){"use strict";var r=n(105);n.n(r).a},278:function(t,e,n){"use strict";var r=n(106);n.n(r).a},279:function(t,e,n){"use strict";var r=n(107);n.n(r).a},281:function(t,e,n){},282:function(t,e,n){},283:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return v})),n.d(e,"mutations",(function(){return y})),n.d(e,"actions",(function(){return w})),n.d(e,"getters",(function(){return x}));n(115),n(28),n(76),n(20),n(29);var r,o,c,l=n(2),h=n(1),f=n(39),d=n(56),m=n(25),v=function(){return{user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}},y={SET_USER_INFO:function(t,e){var n=!(!e||!e.slug);t.user=e,t.haveAuthToken=n,t.isAuth=n,t.logging=!1},SET_USER_TOKEN:function(t,e){t.isLogout||(t.haveAuthToken=!!e)},SET_LOGGING:function(t){t.logging=!0},USER_LOGOUT:function(t){t.haveAuthToken=!1,t.isAuth=!1,t.logging=!1,t.isLogout=!0,t.user={}},UPDATE_USER_INFO:function(t,e){var n=e.key,r=e.value;h.default.set(t.user,n,r)},SOCKET_AUTO_CONNECT:function(t){t.socket.isConnected=!0,t.socket.reconnectErr=!1,t.socket.isMaster=!1},SOCKET_ONOPEN:function(t,e){t.socket.isConnected=!0,t.socket.reconnectErr=!1,t.socket.isMaster=!0},SOCKET_ONCLOSE:function(t,e){t.socket.isConnected=!1},SOCKET_ONERROR:function(t,e){t.socket.reconnectErr=!0},SOCKET_ONMESSAGE:function(t,e){if("unread_total"===e.channel)t.mailbox=e;else if("message-menu"===e.channel){var n=[];e.data.forEach((function(e){t.messageRoom[e.channel]||h.default.set(t.messageRoom,e.channel,{time:"",data:null}),n.push(Object.assign(e,{user:{}}))})),t.messageMenu.list=n,t.messageMenu.time=Object(m.randomStr)()}else t.messageRoom[e.channel].data=e,t.messageRoom[e.channel].time=Object(m.randomStr)();t.socket.isMaster&&(Object(d.set)("socket-on-message-data",e),Object(d.set)("socket-on-message-time",Date.now()))},SOCKET_RECONNECT:function(t,e){},SOCKET_RECONNECT_ERROR:function(t){t.socket.reconnectErr=!0},SET_MESSAGE_MENU:function(t,menu){var e=[];menu.forEach((function(n){t.messageRoom[n.channel]?h.default.set(t.messageRoom,n.channel,{time:Object(m.randomStr)(),data:null}):h.default.set(t.messageRoom,n.channel,{time:"",data:null}),n.user={},e.push(n)})),t.messageMenu.list=e,t.messageMenu.time=Object(m.randomStr)()},UPDATE_MESSAGE_MENU_USER:function(t,e){var n=e.channel,r=e.user;t.messageMenu.list.forEach((function(t){t.channel===n&&(t.user=r)}))},DELETE_MESSAGE_MENU:function(t,e){t.messageMenu.list.forEach((function(n,r){n.channel===e&&t.messageMenu.list.splice(r,1)}))},INIT_MESSAGE_ROOM:function(t,e){h.default.set(t.messageRoom,e,{time:"",data:null})},CLEAR_NOTIFICATION:function(t,e){var n=e.channel,r=e.count;t.messageMenu.list.forEach((function(e,o){e.channel===n&&(t.messageMenu.list[o].count-=r,t.mailbox.unread_message_total-=r)}))},SET_USER_ROLE:function(t,data){t.roles=data}},w={initAuth:(c=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.state,r=e.commit,n.haveAuthToken&&!n.logging){t.next=3;break}return t.abrupt("return",null);case 3:if(!n.user.slug){t.next=5;break}return t.abrupt("return",n.user);case 5:return t.prev=5,r("SET_LOGGING"),t.next=9,Object(f.b)(this);case 9:return o=t.sent,r("SET_USER_INFO",o),t.abrupt("return",o);case 14:return t.prev=14,t.t0=t.catch(5),r("SET_USER_INFO",{}),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[5,14]])}))),function(t){return c.apply(this,arguments)}),refreshMailbox:(o=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,r,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.state,r=e.commit,!n.socket.isConnected){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,Object(f.c)(this,{slug:n.user.slug});case 5:data=t.sent,r("SOCKET_ONMESSAGE",data);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)}),getMessageMenu:(r=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,menu;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,this.$axios.$get("v1/message/menu");case 3:menu=t.sent,n("SET_MESSAGE_MENU",menu);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)}),updateMessageMenu:function(t){var e=this,n=t.state,r=t.commit,o=n.user.slug;n.messageMenu.list.forEach(function(){var t=Object(l.a)(regeneratorRuntime.mark((function t(n){var c,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=n.channel.split("@"),(l=c[2])===o&&(l=c[3]),t.next=5,Object(d.getUserFromSessionStore)(e,l);case 5:h=t.sent,r("UPDATE_MESSAGE_MENU_USER",{channel:n.channel,user:h});case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},getUserRoles:function(t){var e=t.state,n=t.commit;!e.roles&&e.user&&e.user.title.length&&this.$axios.$get("v1/user/roles").then((function(data){n("SET_USER_ROLE",data)})).catch((function(){}))}},x={isMine:function(t){return function(e){return!!t.isAuth&&t.user.slug===e}},isAdmin:function(t){return!!t.isAuth&&t.user.is_admin},hasRole:function(t){return function(e){return!!t.user.is_admin||!!t.roles&&~t.roles.indexOf(e)}}}},284:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return h})),n.d(e,"mutations",(function(){return f})),n.d(e,"actions",(function(){return d})),n.d(e,"getters",(function(){return m}));var r=n(71),o=n.n(r),c=n(205),l=o.a.FlowStore(c),h=l.state,f=l.mutations,d=l.actions,m=l.getters},285:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return l})),n.d(e,"mutations",(function(){return h})),n.d(e,"actions",(function(){return f}));n(46),n(20),n(29);var r,o=n(2),c=n(162),l=function(){return{myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}},h={SET_MY_TAGS_STATE:function(t){t.myTagsFetched=!0},SET_HOTTEST_TAGS:function(t,e){t.hottest_tags=e.result},SET_MY_TAGS:function(t,data){Object.keys(data).forEach((function(e){t.myTags.forEach((function(t){t.slug===e&&(t.children=data[e])}))}))}},f={getMyTags:(r=Object(o.a)(regeneratorRuntime.mark((function t(e){var n,r,o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.rootState,r=e.state,o=e.commit,!r.myTagsFetched&&n.isAuth){t.next=3;break}return t.abrupt("return");case 3:return o("SET_MY_TAGS_STATE"),t.next=6,Object(c.a)(this,{slug:n.user.slug});case 6:data=t.sent,o("SET_MY_TAGS",data);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)}),getHottestTags:function(t){var e=t.state,n=t.commit;if(!e.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then((function(t){n("SET_HOTTEST_TAGS",t)})).catch((function(){}))}}},286:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return d})),n.d(e,"mutations",(function(){return v})),n.d(e,"actions",(function(){return y})),n.d(e,"getters",(function(){return w}));n(27),n(35),n(59),n(34),n(115),n(46),n(77),n(20),n(29);var r,o,c=n(2),l=n(15),h=n(1),f=n(230),d=function(){return{}},m=function(t,e){return"".concat(t,"-").concat(e)},v={set:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,data=e.data,r=e.slug,o=!1;Object.keys(data).forEach((function(e){if("object"===Object(l.a)(data[e])){var r=data[e];Object.keys(r).forEach((function(t){r["".concat(t,"_loading")]=!1})),h.default.set(t,"".concat(n,"-").concat(e),r)}else o=!0,data["".concat(e,"_loading")]=!1})),o&&h.default.set(t,"".concat(n,"-").concat(r),data)},PUSH_USERS:function(t,e){var n=e.type,r=e.slug,o=e.key,data=e.data,c=m(n,r),l="".concat(o,"_users"),h=t[c][l].list,f=data.list.map((function(t){return t.slug}));t[c][l].list=h.filter((function(t){return!f.includes(t.slug)})).concat(data.list),t[c][l].total=data.total,t[c][l].no_more=data.no_more,t[c][l].loading=!1},SET_STATE:function(t,e){var n=e.type,r=e.slug,o=e.key,c=e.result,l=e.user;if(0!==c){var h=m(n,r),f="".concat(o,"_users");t[h][o]=c>0,t[h]["".concat(o,"_loading")]=!1,t[h][f]&&(c>0?(t[h][f].total++,t[h][f].no_more=!1,t[h][f].list.unshift(l)):(t[h][f].total--,t[h][f].list.forEach((function(e,n){e.slug===l.slug&&t[h][f].list.splice(n,1)}))))}},SET_STATUS:function(t,e){var n=e.type,r=e.slug,o=e.key,c=e.value;t[m(n,r)]["".concat(o,"_users")][c]=!0},SET_LOADING:function(t,e){var n=e.type,r=e.slug,o=e.action,c=e.result;t[m(n,r)]["".concat(o,"_loading")]=c}},y={users:(o=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,d,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state,o=e.commit,c=n.type,l=n.slug,h=n.key,!(d=r[m(c,l)]["".concat(h,"_users")]).loading&&!d.no_more){t.next=5;break}return t.abrupt("return");case 5:return o("SET_STATUS",{type:c,key:h,slug:l,value:"loading"}),t.prev=6,t.next=9,f.users({ctx:this,type:h,slug:l,last_slug:d.list.length?d.list[d.list.length-1].slug:0,model:c,take:15});case 9:v=t.sent,o("PUSH_USERS",{type:c,slug:l,key:h,data:v}),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(6),o("SET_STATUS",{type:c,key:h,slug:l,value:"error"});case 16:case"end":return t.stop()}}),t,this,[[6,13]])}))),function(t,e){return o.apply(this,arguments)}),toggle:(r=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,f,d,v,y;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state,o=e.commit,c=e.rootState,l=n.type,h=n.slug,f=n.action,d=n.params,!r[m(l,h)]["".concat(f,"_loading")]){t.next=5;break}return t.abrupt("return");case 5:return o("SET_LOADING",{action:f,type:l,slug:h,result:!0}),t.prev=6,t.next=9,this.$axios.$post("v1/social/toggle",d);case 9:return v=t.sent,y=c.user,o("SET_STATE",{type:l,key:f,slug:h,result:v,user:{slug:y.slug,nickname:y.nickname,avatar:y.avatar,created_at:parseInt(Date.now()/1e3)}}),t.abrupt("return",{success:!0,result:v});case 15:return t.prev=15,t.t0=t.catch(6),o("SET_LOADING",{action:f,type:l,slug:h,result:!1}),t.abrupt("return",{success:!1});case 19:case"end":return t.stop()}}),t,this,[[6,15]])}))),function(t,e){return r.apply(this,arguments)})},w={get:function(t){return function(e,n){return t[m(e,n)]}}}},337:function(t,e,n){"use strict";var r=n(108);n.n(r).a},39:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"e",(function(){return m})),n.d(e,"f",(function(){return v})),n.d(e,"h",(function(){return y}));var r=function(t){return t.$axios.$post("v1/door/get_user_info")},o=function(t,e){return t.$axios.$post("v1/user/update_info",e)},c=function(t,e){var n=e.slug;return t.$axios.$get("v1/user/show",{params:{slug:n}})},l=function(t,e){var n=e.slug,r=e.phone,o=e.password,c=e.authCode;return t.$axios.$post("v1/door/bind_phone",{slug:n,phone:r,password:o,authCode:c})},h=function(t,e){var n=e.slug;return t.$axios.$get("v1/message/total",{params:{slug:n},progress:!1})},f=function(t,e){var n=e.phone_number,r=e.type,o=e.geetest;return t.$axios.$post("v1/door/message",{phone_number:n,type:r,geetest:o})},d=function(t,e){var n=e.access,r=e.secret,o=e.authCode,c=e.inviteCode;return t.$axios.$post("v1/door/register",{access:n,secret:r,authCode:o,inviteCode:c})},m=function(t,e){var n=e.access,r=e.secret,o=e.remember,c=e.geetest;return t.$axios.$post("v1/door/login",{access:n,secret:r,remember:o,geetest:c})},v=function(t){return t.$axios.$post("v1/door/logout")},y=function(t,e){var n=e.method,r=e.access,o=e.authCode,c=e.secret;return t.$axios.$post("v1/door/reset_password",{method:n,access:r,authCode:o,secret:c})}},56:function(t,e,n){"use strict";n.r(e),n.d(e,"getUserFromSessionStore",(function(){return c})),n.d(e,"setUserSessionStore",(function(){return l})),n.d(e,"has",(function(){return h})),n.d(e,"expired",(function(){return f})),n.d(e,"set",(function(){return d})),n.d(e,"get",(function(){return m})),n.d(e,"remove",(function(){return v})),n.d(e,"clear",(function(){return y}));n(29);var r=n(2),o=n(39),c=function(t,e){var n=function(){var n=Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(o.d)(t,{slug:e});case 2:return(r=n.sent)&&l(r),n.abrupt("return",r);case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();try{return sessionStorage.getItem("user-item-".concat(e))?JSON.parse(sessionStorage.getItem("user-item-".concat(e))):n()}catch(t){return n()}},l=function(t){try{sessionStorage.setItem("user-item-".concat(t.slug),JSON.stringify(t))}catch(t){}},h=function(t){try{return null!==localStorage.getItem(t)}catch(t){return!1}},f=function(t,e){try{var n=localStorage.getItem("".concat(t,"-created-at"));return!n||Date.now()-n>1e3*e}catch(t){return!0}},d=function(t,e){try{localStorage.setItem(t,JSON.stringify(e)),localStorage.setItem("".concat(t,"-created-at"),Date.now())}catch(t){}},m=function(t,e){try{var n=localStorage.getItem(t);return null===n?e:JSON.parse(n)}catch(t){return e}},v=function(t){try{localStorage.removeItem(t)}catch(t){}},y=function(){try{localStorage.clear()}catch(t){}}},85:function(t,e,n){"use strict";n(28),n(76),n(50),n(20);var r=function(t){if(!t)return"";var e="";return t.split("; ").forEach((function(t){t.startsWith("JWT-TOKEN=")&&(e=t.split("JWT-TOKEN=")[1])})),e};e.a=function(t){var e="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;var n;try{n=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(t){n={authToken:""}}(e=n.authToken)||(e=r(document.cookie))}else e=r(t.context.req.headers.cookie);return!e&&t&&(e=t.context.query.token),e=~["undefined","null"].indexOf(e)?"":e,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=e),e}}},[[252,64,9,65]]]); \ No newline at end of file diff --git a/.nuxt/dist/client/55836ba071505dc58ecd.js b/.nuxt/dist/client/55836ba071505dc58ecd.js new file mode 100644 index 00000000..83319b77 --- /dev/null +++ b/.nuxt/dist/client/55836ba071505dc58ecd.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{0:function(e,t,n){"use strict";n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"a",(function(){return f})),n.d(t,"n",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return w})),n.d(t,"c",(function(){return _})),n.d(t,"m",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return k})),n.d(t,"d",(function(){return C})),n.d(t,"b",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"k",(function(){return N}));n(14),n(127),n(9),n(206),n(51),n(52),n(231),n(54),n(33),n(19);var r=n(2),o=n(58),c=n(1);function l(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function h(e){for(var i=1;ie.default||e)}function f(e,t){if(t||!e.options.__hasNuxtData){var n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),h({},data,{},t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function v(e){return e.options&&e._Ctor===e?e:(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=c.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file),e)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((e,r)=>Object.keys(e[n]).map(o=>(t&&t.push(r),e[n][o]))))}function w(e){return y(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function _(e,t){return Array.prototype.concat.apply([],e.matched.map((e,n)=>Object.keys(e.components).reduce((r,o)=>(e.components[o]?r.push(t(e.components[o],e.instances[o],e,o,n)):delete e.components[o],r),[])))}function x(e,t){return Promise.all(_(e,function(){var e=Object(r.a)((function*(e,n,r,o){return"function"!=typeof e||e.options||(e=yield e()),r.components[o]=e=v(e),"function"==typeof t?t(e,n,r,o):e}));return function(t,n,r,o){return e.apply(this,arguments)}}()))}function O(e){return $.apply(this,arguments)}function $(){return($=Object(r.a)((function*(e){if(e)return yield x(e),h({},e,{meta:y(e).map((t,n)=>h({},t.options.meta,{},(e.matched[n]||{}).meta))})}))).apply(this,arguments)}function S(e,t){return j.apply(this,arguments)}function j(){return(j=Object(r.a)((function*(e,t){e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:t.payload,error:t.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},t.req&&(e.context.req=t.req),t.res&&(e.context.res=t.res),t.ssrContext&&(e.context.ssrContext=t.ssrContext),e.context.redirect=(t,path,n)=>{if(t){e.context._redirected=!0;var r=typeof path;if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},r=typeof(path=t),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=function(e,t){var n,r=e.indexOf("://");-1!==r?(n=e.substring(0,r),e=e.substring(r+3)):e.startsWith("//")&&(e=e.substring(2));var o,c=e.split("/"),l=(n?n+"://":"//")+c.shift(),path=c.filter(Boolean).join("/");2===(c=path.split("#")).length&&([path,o]=c);l+=path?"/"+path:"",t&&"{}"!==JSON.stringify(t)&&(l+=(2===e.split("?").length?"&":"?")+function(e){return Object.keys(e).sort().map(t=>{var n=e[t];return null==n?"":Array.isArray(n)?n.slice().map(e=>[t,"=",e].join("")).join("&"):t+"="+n}).filter(Boolean).join("&")}(t));return l+=o?"#"+o:""}(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__);var[n,r]=yield Promise.all([O(t.route),O(t.from)]);t.route&&(e.context.route=n),t.from&&(e.context.from=r),e.context.next=t.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{}}))).apply(this,arguments)}function E(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():k(e[0],t).then(()=>E(e.slice(1),t))}function k(e,t){var n;return(n=2===e.length?new Promise(n=>{e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))}):e(t))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function C(base,e){var path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function T(e,t){return function(e,t){for(var n=new Array(e.length),i=0;i{window.onNuxtReadyCbs.push(e)};var R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function A(e,t){var n=t?/[?#]/g:/[/?#]/g;return encodeURI(e).replace(n,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())}function L(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function M(e){return e.replace(/([=!:$/()])/g,"\\$1")}function I(e){return e&&e.sensitive?"":"i"}},114:function(e,t,n){"use strict";t.a={}},123:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return d}));var r=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/tag/show",{params:{slug:n}})},o=(e,t)=>{var{name:n,parent_slug:r}=t;return e.$axios.$post("v1/tag/create",{name:n,parent_slug:r})},c=(e,t)=>{var{name:n,slug:r,avatar:o,alias:c,intro:l}=t;return e.$axios.$post("v1/tag/update",{name:n,slug:r,avatar:o,alias:c,intro:l})},l=(e,t)=>{var{slug:n}=t;return e.$axios.$post("v1/tag/delete",{slug:n})},h=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/tag/bookmarks",{params:{slug:n}})},d=(e,t)=>{var{slug:n,page:r,take:o}=t;return e.$axios.$get("v1/tag/children",{params:{slug:n,page:r,take:o}})}},157:function(e,t,n){e.exports=n.p+"img/b07f58f.jpeg"},159:function(e,t,n){"use strict";n.r(t),n.d(t,"getUserMessage",(function(){return r})),n.d(t,"getUserRelation",(function(){return o})),n.d(t,"getUserDrafts",(function(){return c})),n.d(t,"getUserTimeline",(function(){return l})),n.d(t,"getPinComments",(function(){return h})),n.d(t,"getTagFlows",(function(){return d})),n.d(t,"getATField",(function(){return m})),n.d(t,"getZoneQuestions",(function(){return f})),n.d(t,"getMixinSearch",(function(){return v})),n.d(t,"getTimeline",(function(){return y})),n.d(t,"getFlowRecommendedIndex",(function(){return w})),n.d(t,"tagHottest",(function(){return _})),n.d(t,"getBangumiQuestionTrials",(function(){return x})),n.d(t,"getIdolFans",(function(){return O})),n.d(t,"getBangumiLiker",(function(){return $}));n(14),n(127),n(9),n(19);var r=e=>{var{$axios:t,channel:n,since_id:r,is_up:o,count:c}=e;return t.$get("v1/message/history",{params:{channel:n,since_id:r,count:c,is_up:o}})},o=e=>{var{$axios:t,seen_ids:n,slug:r,relation:o}=e;return t.$get("v1/user/relation",{params:{seen_ids:n,slug:r,relation:o}})},c=e=>{var{$axios:t,page:n,count:r}=e;return t.$get("v1/pin/drafts",{params:{page:n,count:r}})},l=e=>{var{$axios:t,page:n,count:r,slug:o}=e;return t.$get("v1/user/timeline",{params:{page:n,count:r,slug:o}})},h=e=>{var{$axios:t,sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:d}=e;return t.$get("v1/comment/list",{params:{sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:d}})},d=e=>{var{$axios:t,slug:n,sort:r,time:time,take:o,seen_ids:c,last_id:l}=e;return new Promise((e,h)=>{Promise.all([t.$get("v1/flow/pins",{params:{slug:n,sort:r,time:time,take:o,is_up:0,spec_id:"newest"===r?l:c}}),new Promise(e=>setTimeout(e,400))]).then(data=>{e(data[0])}).catch(h)})},m=e=>{var{$axios:t,page:n,count:r,sort:o,slug:c}=e;return new Promise((e,l)=>{Promise.all([t.$get("v1/atfield/flow",{params:{page:n,count:r,sort:o,slug:c}}),new Promise(e=>setTimeout(e,400))]).then(data=>{e(data[0])}).catch(l)})},f=e=>{var{$axios:t,slug:n}=e;return t.$get("v1/atfield/list",{params:{slug:n}})},v=e=>{var{$axios:t,page:n,type:r,q:q}=e;return t.$get("v1/search/mixin",{params:{page:n,type:r,q:q}})},y=e=>{var{$axios:t,type:n,slug:r}=e;return t.$get("v1/".concat(n,"/timeline"),{params:{slug:r}})},w=e=>{var{$axios:t,seen_ids:n}=e;return t.$get("v1/flow/index",{params:{seen_ids:n}})},_=e=>{var{$axios:t,page:n,take:r}=e;return t.$get("v1/tag/hottest",{params:{page:n,take:r}})},x=e=>{var{$axios:t,page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}=e;return t.$get("v1/join/flow",{params:{page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}})},O=e=>{var{$axios:t,page:n,take:r,slug:o,sort:c}=e;return t.$get("v1/idol/fans",{params:{page:n,take:r,slug:o,sort:c}})},$=e=>{var{$axios:t,page:n,take:r,slug:o}=e;return t.$get("v1/bangumi/liker",{params:{page:n,take:r,slug:o}})}},17:function(e,t,n){"use strict";n.r(t),n.d(t,"convertTA",(function(){return r})),n.d(t,"randomStr",(function(){return o})),n.d(t,"adjustDate",(function(){return c})),n.d(t,"shortenNumber",(function(){return l})),n.d(t,"timeAgo",(function(){return h})),n.d(t,"checkInView",(function(){return d})),n.d(t,"on",(function(){return m})),n.d(t,"off",(function(){return f}));n(51),n(52);var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"我":0===e?"TA":1===e?"他":2===e?"她":"TA"},o=()=>"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(3,6)),c=time=>{if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);var e=new Date(time);return"Invalid Date"===e.toString()&&(e=new Date(time.replace(/-/g,"/"))),e},l=e=>e>1e3?"".concat(Math.floor(e/1e3*10)/10,"k"):e,h=time=>{var e=c(time),t=Date.now()-e.getTime(),n=[e.getFullYear(),"0".concat(e.getMonth()+1).substr(-2),"0".concat(e.getDate()).substr(-2),"0".concat(e.getHours()).substr(-2),"0".concat(e.getMinutes()).substr(-2)];if(t>31536e6||t<=0)return"".concat(n[0],"-").concat(n[1],"-").concat(n[2]);var r=(new Date).setHours(0,0,0,0);return r1&&void 0!==arguments[1]?arguments[1]:1;if(!e)return!1;var rect=e.getBoundingClientRect();return rect.top0&&rect.left0},m=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,e,t){element&&e&&t&&element.addEventListener(e,t,!1)}:function(element,e,t){element&&e&&t&&element.attachEvent("on"+e,t)}}(),f=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,e,t){element&&e&&element.removeEventListener(e,t,!1)}:function(element,e,t){element&&e&&element.detachEvent("on"+e,t)}}()},178:function(e,t,n){"use strict";var r=n(130),o=n.n(r),c=n(183),l=n.n(c),h=n(73),d=n(24),m=n(179),f={components:{ElBadge:l.a,ElSwitch:o.a,VSearch:m.a},props:{showUser:{type:Boolean,default:!0}},data:()=>({night_mode:!1}),computed:{headers:()=>[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}],isAuth(){return this.$store.state.isAuth},user(){return this.$store.state.user},mailbox(){return this.$store.state.mailbox},headerType(){var{name:e}=this.$route;return"fixed"}},mounted(){this.$channel.$when("user-signed",()=>{this.getUnreadMessageCount()})},methods:{handleLogout(){Object(d.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn(){this.$channel.$emit("sign-in")},getUnreadMessageCount(){this.$store.dispatch("refreshMailbox");var e=Date.now();window.addEventListener("mousemove",Object(h.b)(3e3,()=>{e=Date.now()})),setInterval(()=>{"visible"===document.visibilityState&&!this.$store.state.socket.isConnected&&Date.now()-e<3e4&&this.$store.dispatch("refreshMailbox")},1e4)},handleNightModeSwitch(){this.$toast.success("开个玩笑,还没支持~")}}},v=(n(240),n(11)),component=Object(v.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{attrs:{id:"page-header"}},[n("div",{staticClass:"header-text",class:"header-"+e.headerType},[n("div",{staticClass:"container nav"},[n("nav",{staticClass:"left"},[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),e._v(" "),n("VSwitcher",{attrs:{headers:e.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},e._l(e.headers,(function(t,r){return n("NLink",{key:r,attrs:{slot:"tab-"+r,to:t.route},slot:"tab-"+r},[n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],1),e._v(" "),n("div",{staticClass:"right"},[n("div",{staticClass:"search-container"},[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),e._v(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],1),e._v(" "),e.showUser?[e.isAuth?[n("div",{staticClass:"user-panel icon-link"},[n("NLink",{staticClass:"avatar",attrs:{to:e.$alias.user(e.user.slug)}},[n("VImg",{attrs:{src:e.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:e.user.nickname}})],1),e._v(" "),n("div",{staticClass:"user-popover"},[n("p",{staticClass:"nickname oneline",domProps:{innerHTML:e._s(e.user.nickname)}}),e._v(" "),n("div",{staticClass:"field"},[e._m(0),e._v(" "),n("div",{staticClass:"value"},[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:e.handleNightModeSwitch},model:{value:e.night_mode,callback:function(t){e.night_mode=t},expression:"night_mode"}})],1)]),e._v(" "),n("NLink",{attrs:{to:e.$alias.user(e.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),e._v(" "),n("span",[e._v("设置")])])])]),e._v(" "),n("button",{staticClass:"sign-out",on:{click:e.handleLogout}},[e._v("\n 退出\n ")])],1)],1),e._v(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:e.$alias.user(e.user.slug,"message")}},[n("ElBadge",{attrs:{value:e.mailbox.unread_notice_total+e.mailbox.unread_message_total,hidden:!e.mailbox.unread_message_total&&!e.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:e.handleSignIn}},[e._v("\n 登录\n ")]),e._v(" "),n("NLink",{attrs:{to:e.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[e._v("\n 登录  \n ")])],1)]]:e._e(),e._v(" "),n("div",{staticClass:"creator-wrap only-pc"},[n("NLink",{attrs:{target:"_blank",to:e.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[e._v("\n 投稿\n ")])],1)],1)],2)])]),e._v(" "),n("div",{staticClass:"header-shim"})])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("i",{staticClass:"iconfont ic-night"}),this._v(" "),t("span",[this._v("夜间模式")])])}],!1,null,null,null);t.a=component.exports},179:function(e,t,n){"use strict";n(55),n(188);var r={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted(){this.$watch("value",e=>{this.word=e,this.typing=!0,this.selectedIndex=-1,this.handleEnter(e)}),this.$watch("word",e=>{this.$emit("input",e)}),this.$watch("$route",e=>{"search"===e.name&&(this.word=e.query.q,this.selectedType=e.query.type,setTimeout(()=>{this.typing=!1},0))}),this.getSearchTags()},methods:{getSearchTags(){this.showSuggestion&&this.$nextTick(()=>{this.$cache.expired("search-all-tags",86400)?this.$axios.$get("v1/search/tags").then(e=>{this.tags=e,this.$cache.set("search-all-tags",e),this.word&&(this.handleEnter(this.word),this.filteredSelect.length&&(this.handleInputFocus(),this.typing=!0))}).catch(()=>{}):this.tags=this.$cache.get("search-all-tags")})},submit(){var q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter(e){this.filteredSelect=e?this.tags.filter(option=>option.alias.includes(e)||option.name.includes(e)):[]},handleInputFocus(){this.state="focus",this.$emit("focus")},handleInputBlur(){this.state="blur",this.$emit("blur")}}},o=(n(239),n(11)),component=Object(o.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"search-input-wrap",class:"search-"+e.state,attrs:{action:"#",method:"get"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[n("button",{staticClass:"search-input-btn",attrs:{type:"submit"}},[e._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),e._v(" "),n("div",{staticClass:"search-input-text"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.word,expression:"word",modifiers:{trim:!0}}],staticClass:"search-input",attrs:{placeholder:e.placeholder,autofocus:e.autofocus,type:"text",name:"q","aria-autocomplete":"both","aria-haspopup":"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",role:"combobox",spellcheck:"false",maxlength:"50"},domProps:{value:e.word},on:{focus:e.handleInputFocus,blur:[e.handleInputBlur,function(t){return e.$forceUpdate()}],input:function(t){t.target.composing||(e.word=t.target.value.trim())}}})]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.displaySuggestion,expression:"displaySuggestion"}],staticClass:"search-suggestions"},e._l(e.filteredSelect,(function(t,r){return n("NLink",{key:t.id,class:{active:r===e.selectedIndex},attrs:{to:e.$alias.tag(t.slug),tag:"li"}},[n("img",{attrs:{src:e.$resize(t.avatar,{width:60})}}),e._v(" "),n("span",{domProps:{textContent:e._s(t.name)}})])})),1)])}),[],!1,null,null,null);t.a=component.exports},18:function(e,t,n){"use strict";n(31),n(9);var r=n(2),o=n(58),c=n(1),l=n(181),h=n(115),d=n.n(h),m=n(40),f=n.n(m),v=n(50),y=n(0);"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual",window.addEventListener("beforeunload",()=>{window.history.scrollRestoration="auto"}),window.addEventListener("load",()=>{window.history.scrollRestoration="manual"}));var w=()=>{},_=v.a.prototype.push;v.a.prototype.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,n=arguments.length>2?arguments[2]:void 0;return _.call(this,e,t,n)},c.default.use(v.a);var x={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){var r=!1,o=Object(y.e)(e);o.length<2&&o.every(e=>!1!==e.options.scrollToTop)?r={x:0,y:0}:o.some(e=>e.options.scrollToTop)&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return e.path===t.path&&e.hash!==t.hash&&c.$nextTick(()=>c.$emit("triggerScroll")),new Promise(t=>{c.$once("triggerScroll",()=>{if(e.hash){var n=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(r)})})},routes:[{path:"/about",component:()=>Object(y.i)(n.e(13).then(n.bind(null,638))),props:!1,name:"about",children:[{path:"managers",component:()=>Object(y.i)(n.e(14).then(n.bind(null,639))),props:!1,name:"about-index-managers"}]},{path:"/search",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(69),n.e(34)]).then(n.bind(null,631))),props:!1,name:"search"},{path:"/sign",component:()=>Object(y.i)(Promise.all([n.e(6),n.e(35)]).then(n.bind(null,640))),props:!1,name:"sign"},{path:"/write",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(59)]).then(n.bind(null,628))),props:!1,name:"write"},{path:"/app/admin",component:()=>Object(y.i)(n.e(17).then(n.bind(null,641))),props:!1,name:"app-admin"},{path:"/callback/auth-error",component:()=>Object(y.i)(n.e(29).then(n.bind(null,642))),props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:()=>Object(y.i)(n.e(30).then(n.bind(null,643))),props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:()=>Object(y.i)(n.e(31).then(n.bind(null,644))),props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:()=>Object(y.i)(n.e(60).then(n.bind(null,645))),props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(61)]).then(n.bind(null,646))),props:!1,name:"zone-bangumi"},{path:"/zone/game",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(62)]).then(n.bind(null,647))),props:!1,name:"zone-game"},{path:"/zone/topic",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(63)]).then(n.bind(null,648))),props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(15)]).then(n.bind(null,649))),props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.bind(null,650))),props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:()=>Object(y.i)(n.e(18).then(n.bind(null,651))),props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:()=>Object(y.i)(n.e(19).then(n.bind(null,652))),props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:()=>Object(y.i)(n.e(20).then(n.bind(null,653))),props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.bind(null,654))),props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:()=>Object(y.i)(n.e(22).then(n.bind(null,655))),props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(67),n.e(23)]).then(n.bind(null,656))),props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:()=>Object(y.i)(Promise.all([n.e(68),n.e(24)]).then(n.bind(null,657))),props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:()=>Object(y.i)(n.e(25).then(n.bind(null,658))),props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(26)]).then(n.bind(null,659))),props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(27)]).then(n.bind(null,660))),props:!1,name:"app-user-edit"},{path:"/app/user/list",component:()=>Object(y.i)(n.e(28).then(n.bind(null,635))),props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(33)]).then(n.bind(null,626))),props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(38)]).then(n.bind(null,630))),props:!0,name:"tag-slug"},{path:"/user/:slug?",component:()=>Object(y.i)(n.e(40).then(n.bind(null,636))),props:!0,name:"user-slug",children:[{path:"draft",component:()=>Object(y.i)(n.e(41).then(n.bind(null,661))),props:!0,name:"user-slug-draft"},{path:"emotion",component:()=>Object(y.i)(n.e(47).then(n.bind(null,662))),props:!0,name:"user-slug-emotion"},{path:"message",component:()=>Object(y.i)(Promise.all([n.e(71),n.e(48)]).then(n.bind(null,627))),props:!0,name:"user-slug-message"},{path:"setting",component:()=>Object(y.i)(n.e(49).then(n.bind(null,663))),props:!0,children:[{path:"",component:()=>Object(y.i)(n.e(51).then(n.bind(null,664))),name:"user-slug-setting"},{path:"basic",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(50)]).then(n.bind(null,665))),name:"user-slug-setting-basic"},{path:"oauth2",component:()=>Object(y.i)(n.e(52).then(n.bind(null,666))),name:"user-slug-setting-oauth2"}]},{path:"social",component:()=>Object(y.i)(n.e(53).then(n.bind(null,667))),props:!0,children:[{path:"",component:()=>Object(y.i)(n.e(57).then(n.bind(null,668))),name:"user-slug-social"},{path:"followers",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(54)]).then(n.bind(null,669))),name:"user-slug-social-followers"},{path:"following",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(55)]).then(n.bind(null,670))),name:"user-slug-social-following"},{path:"friends",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(56)]).then(n.bind(null,671))),name:"user-slug-social-friends"}]},{path:"timeline",component:()=>Object(y.i)(n.e(58).then(n.bind(null,629))),props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:()=>Object(y.i)(n.e(42).then(n.bind(null,672))),props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:()=>Object(y.i)(n.e(43).then(n.bind(null,673))),name:"user-slug-emotion-category-bangumi"},{path:"game",component:()=>Object(y.i)(n.e(44).then(n.bind(null,674))),name:"user-slug-emotion-category-game"},{path:"notebook",component:()=>Object(y.i)(n.e(45).then(n.bind(null,675))),name:"user-slug-emotion-category-notebook"},{path:"topic",component:()=>Object(y.i)(n.e(46).then(n.bind(null,676))),name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:()=>Object(y.i)(n.e(36).then(n.bind(null,637))),props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(37)]).then(n.bind(null,632))),props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:()=>Object(y.i)(Promise.all([n.e(70),n.e(39)]).then(n.bind(null,633))),props:!0,name:"tag-slug-qa"},{path:"/",component:()=>Object(y.i)(n.e(32).then(n.bind(null,677))),props:!1,name:"index"}],fallback:!1};var O={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(e,t){var{parent:n,data:data,props:r}=t;data.nuxtChild=!0;for(var o=n,c=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var d=c[h]||l,m={};$.forEach(e=>{void 0!==d[e]&&(m[e]=d[e])});var f={};S.forEach(e=>{"function"==typeof d[e]&&(f[e]=d[e].bind(o))});var v=f.beforeEnter;if(f.beforeEnter=e=>{if(window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),v)return v.call(o,e)},!1===d.css){var y=f.leave;(!y||y.length<2)&&(f.leave=(e,t)=>{y&&y.call(o,e),o.$nextTick(t)})}var w=e("routerView",data);return r.keepAlive&&(w=e("keep-alive",{props:r.keepAliveProps},[w])),e("transition",{props:m,on:f},[w])}},$=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],S=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],j={name:"nuxt-error",components:{VHeader:n(178).a},props:{error:{type:Object,default:null}},computed:{statusCode(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message(){return this.error&&this.error.message}},mounted(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin(){this.$channel.$emit("sign-in")},toastMessage(){this.$toast.error(this.message)}},head:{title:"出错了"}},E=(n(241),n(11)),k=Object(E.a)(j,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"error-page"}},[r("VHeader",{attrs:{"show-user":!1}}),e._v(" "),r("div",{staticClass:"error-main"},[401===e.statusCode?r("div",{attrs:{id:"error-401"}},[r("img",{attrs:{src:n(235),alt:"error-401"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v(e._s(e.message||"请登录后重新访问"))]),e._v(" "),r("button",{staticClass:"back",on:{click:e.handleLogin}},[e._v("\n 登录\n ")])]):403===e.statusCode?r("div",{attrs:{id:"error-403"}},[r("img",{attrs:{src:n(157),alt:"error-403"}}),e._v(" "),r("h3",[e._v(e._s(e.message||"您没有权限访问该页面"))]),e._v(" "),r("a",{staticClass:"back",attrs:{href:"/"}},[e._v("回到首页")])]):404===e.statusCode?r("div",{attrs:{id:"error-404"}},[r("img",{attrs:{src:n(236),alt:"error-404"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v("您要找的页面不存在")]),e._v(" "),r("div",{staticClass:"subtitle"},[e._v("\n 不存在的内容,或者正在审核中。\n ")]),e._v(" "),r("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[e._v("\n 返回首页\n ")]),e._v(" "),r("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],1):e.statusCode>=500?r("div",{attrs:{id:"error-500"}},[r("img",{attrs:{src:n(157),alt:"error-500"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v("服务器出错了")]),e._v(" "),r("div",{staticClass:"subtitle"},[e._v("\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n ")]),e._v(" "),r("NLink",{staticClass:"back",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],1):e._e()])],1)}),[],!1,null,null,null).exports,C=(n(14),n(51),n(52),n(19),{name:"Nuxt",components:{NuxtChild:O,NuxtError:k},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.b)(this.$route.matched[0].path)(this.$route.params);var[e]=this.$route.matched;if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var{options:n}=t;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(e){return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick(()=>this.errorFromNuxtError=!1),e("div",{},[e("h2","An error occured while showing the error page"),e("p","Unfortunately an error occured and while showing the error page another error occured"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(()=>this.displayingNuxtError=!1),e(k,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),T=(n(208),{name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(()=>this.startTimer(),this.throttle):this.startTimer(),this},set(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get(){return this.percent},increase(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),setTimeout(()=>{this.show=!1,this.$nextTick(()=>{this.percent=0,this.reversed=!1})},500),this},fail(){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100?(this.skipTimerCount=1,this.reversed=!this.reversed):this.percent<=0&&(this.skipTimerCount=1,this.reversed=!this.reversed)))},100)}},render(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),P=(n(242),Object(E.a)(T,void 0,void 0,!1,null,null,null).exports),N=(n(243),n(244),n(245),{_app:()=>n.e(10).then(n.bind(null,678)).then(e=>e.default||e),_default:()=>n.e(11).then(n.bind(null,680)).then(e=>e.default||e),_web:()=>Promise.all([n.e(66),n.e(6),n.e(12)]).then(n.bind(null,634)).then(e=>e.default||e)}),R={},A={head:{titleTemplate:function(e){return e?"".concat(e," - ").concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"):"".concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur")},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:e=>e?"".concat(e,",").concat("咔哩吧是一个二次元社区"):"".concat("咔哩吧是一个二次元社区")},{hid:"keywords",name:"keywords",content:"",template:e=>e?"".concat(e,",").concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"):"".concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交")}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render(e,t){var n=e("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&k){var r=(k.options||k).layout;r&&this.setLayout("function"==typeof r?r.call(k,this.context):r)}var o=e(this.layout||"nuxt"),c=e("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),l=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(e){window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}},[c]);return e("div",{domProps:{id:"__nuxt"}},[n,l])},data:()=>({isOnline:!0,layout:null,layoutName:""}),beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){c.default.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline}},methods:{refreshOnlineStatus(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh(){var e=this;return Object(r.a)((function*(){var t=Object(y.f)(e.$route);if(t.length){e.$loading.start();var n=t.map(t=>{var p=[];return t.$options.fetch&&p.push(Object(y.l)(t.$options.fetch,e.context)),t.$options.asyncData&&p.push(Object(y.l)(t.$options.asyncData,e.context).then(e=>{for(var n in e)c.default.set(t.$data,n,e[n])})),Promise.all(p)});try{yield Promise.all(n)}catch(t){e.$loading.fail(),Object(y.h)(t),e.error(t)}e.$loading.finish()}}))()},errorChanged(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout(e){e&&R["_"+e]||(e="default"),this.layoutName=e;var t="_"+e;return this.layout=R[t],this.layout},loadLayout(e){var t=!e,n=!(N["_"+e]||R["_"+e]),r="_"+(t||n?"default":e);return R[r]?Promise.resolve(R[r]):N[r]().then(e=>(R[r]=e,delete N[r],R[r])).catch(e=>{if(this.$nuxt)return this.$nuxt.error({statusCode:500,message:e.message})})}},components:{NuxtLoading:P}},L=(n(54),n(116));c.default.use(L.a);var M=["state","getters","actions","mutations"],I={};(I=function(e,t){if((e=e.default||e).commit)throw new Error("[nuxt] ".concat(t," should export a method that returns a Vuex instance."));return"function"!=typeof e&&(e=Object.assign({},e)),U(e,t)}(n(246),"store/index.js")).modules=I.modules||{},B(n(247),"flow.js"),B(n(248),"global.js"),B(n(249),"social.js");var D=I instanceof Function?I:()=>new L.a.Store(Object.assign({strict:!1},I));function U(e,t){if(e.state&&"function"!=typeof e.state){console.warn("'state' should be a method that returns an object in ".concat(t));var n=Object.assign({},e.state);e=Object.assign({},e,{state:()=>n})}return e}function B(e,t){e=e.default||e;var n=t.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(t);if(e="state"===r?function(e,t){if("function"!=typeof e){console.warn("".concat(t," should export a method that returns an object"));var n=Object.assign({},e);return()=>n}return U(e,t)}(e,o):U(e,o),M.includes(r)){var c=r;F(z(I,n,{isProperty:!0}),e,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=z(I,n);for(var h of M)F(l,e[h],h);!1===e.namespaced&&delete l.namespaced}}function z(e,t){var{isProperty:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length||n&&1===t.length)return e;var r=t.shift();return e.modules[r]=e.modules[r]||{},e.modules[r].namespaced=!0,e.modules[r].modules=e.modules[r].modules||{},z(e.modules[r],t,{isProperty:n})}function F(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var G=n(39),H=n.n(G),K=n(185),W=n.n(K),J={setBaseURL(e){this.defaults.baseURL=e},setHeader(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common";for(var r of Array.isArray(n)?n:[n]){if(!t)return void delete this.defaults.headers[r][e];this.defaults.headers[r][e]=t}},setToken(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",r,n)},onRequest(e){this.interceptors.request.use(t=>e(t)||t)},onResponse(e){this.interceptors.response.use(t=>e(t)||t)},onRequestError(e){this.interceptors.request.use(void 0,t=>e(t)||Promise.reject(t))},onResponseError(e){this.interceptors.response.use(void 0,t=>e(t)||Promise.reject(t))},onError(e){this.onRequestError(e),this.onResponseError(e)},create(e){return X(W()(e,this.defaults))}},V=function(e){J["$"+e]=function(){return this[e].apply(this,arguments).then(e=>e&&e.data)}};for(var Q of["request","delete","get","head","options","post","put","patch"])V(Q);var X=e=>{var t=H.a.create(e);return t.CancelToken=H.a.CancelToken,t.isCancel=H.a.isCancel,(e=>{for(var t in J)e[t]=J[t].bind(e)})(t),t},Y=(e,t)=>{var n={baseURL:"http://localhost:3000/",headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}};n.headers.common=e.req&&e.req.headers?Object.assign({},e.req.headers):{},delete n.headers.common.accept,delete n.headers.common.host,delete n.headers.common["cf-ray"],delete n.headers.common["cf-connecting-ip"],delete n.headers.common["content-length"],delete n.headers.common["content-md5"],delete n.headers.common["content-type"];var r=X(n);e.$axios=r,t("axios",r)},Z=n(60),ee=e=>{var{$axios:t,app:n}=e,r="undefined"!=typeof window;t.setToken(Object(Z.a)(n),"Bearer"),t.onRequest(e=>{e.baseURL=r?"https://api.calibur.tv/":"http://localhost/",e.timeout=1e4}),t.onResponse(e=>e.data),t.onError(e=>{var t=(e=>{var t={};return/timeout of/.test(e.message)?(t.statusCode=504,t.message="网络请求超时,请重试!",t):e.response?(t.statusCode=e.response.status,t.message=e.response.data.message||"发生错误了,请稍后再试!","string"!=typeof t.message&&(t.message="网络错误,请重试!"),t):(t.statusCode=502,t.message="网络错误,请重试!",t)})(e);return Promise.reject(t)})},input=n(56),te=n.n(input),ne=n(117),re=n.n(ne),ae=n(118),oe=n.n(ae),se=n(113),ie=n.n(se),col=n(119),ce=n.n(col),ue=n(120),le=n.n(ue),he=n(71),de=n.n(he),pe=n(121),me=n.n(pe),fe=(n(298),n(49)),ge=n.n(fe),ve=n(73),be=n(17),ye={install(e,t){if(!e.prototype.$isServer){var n=[],r=t||{preload:1},o=window.screen.width<=768;e.directive("lazyload",{bind(e,t){t.arg&&"pc"===t.arg&&o||n.push({el:e,handler:t.value})},inserted(){h()},update(){h()},unbind(e){c(e)}});var c=e=>{for(var i=0,t=n.length;i{c(e),e.handler()},h=Object(ve.b)(200,()=>n.filter(e=>e&&Object(be.checkInView)(e.el,r.preload)).map(l));["scroll","resize","load"].forEach(e=>{window.addEventListener(e,()=>{h()})})}}},we=(e,t)=>{var n=[];for(var p in t)null!=t[p]&&n.push(p+"="+encodeURIComponent(t[p]));var r=e+n.join("&");return window.open(r,"","width=760, height=640, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no"),!1},_e={install(e){e.directive("share",{bind(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{},e.addEventListener("click",()=>{((e,t)=>{switch(e){case"weibo":we("https://service.weibo.com/share/share.php?",{url:t.url,type:"3",count:"1",appkey:t.appkey.weibo,title:t.title+t.weiboTag,pic:t.pic[0],searchPic:t.searchPic,ralateUid:"",language:"zh_cn",rnd:(new Date).valueOf()});break;case"qzone":we("https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?",{url:t.url,showcount:1,desc:t.desc,summary:t.summary,title:t.shortTitle,site:"咔哩吧",pics:t.pic,style:"203",width:98,height:22});break;case"qq":we("https://connect.qq.com/widget/shareqq/index.html?",{url:t.url,desc:t.desc,title:t.title,summary:t.summary,pics:t.pic,flash:"",site:"",style:"201",width:32,height:32});break;case"tieba":we("https://tieba.baidu.com/f/commit/share/openShareApi?",{title:t.title,url:t.url,uid:726865,to:"tieba",type:"text",relateUid:"",pic:t.pic[0],key:"",sign:"on",desc:"",comment:t.desc});break;default:throw new Error("This type is not defined.")}})(e.vtype,Object.assign({title:document.title,url:location.href,desc:"",pic:"",summary:"",shortTitle:"",searchPic:!1,appkey:{weibo:""},weiboTag:"",tp_id:0,aid:""},e.options))},!1)},update(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{}}})}},xe=(n(299),n(33),{name:"VImg",props:{src:{type:String,required:!0},def:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},radius:{type:String,default:""},stretched:{type:Boolean,default:!1},blur:{type:Boolean,default:!1}},data(){var{def:e,width:t}=this,n=e?e.startsWith("http")?e:"https://m1.calibur.tv/".concat(e):"",r="number"==typeof t&&"number"==typeof this.height&&!this.radius;return{show:n,source:n,isFull:r,useBlur:!!r||this.blur,isLarge:t.toString().endsWith("%"),extraStyle:{},animate:!1}},computed:{style(){var style={},{width:e,height:t,radius:n,isFull:r,isLarge:o}=this;return r?(style.paddingTop="".concat(t/e*100,"%"),style):(e&&!o&&(style.width="".concat(e,"px")),t&&(style.height="".concat(t,"px")),n&&(style.borderRadius=n),style)}},methods:{handle(){var{src:e,isFull:t,isLarge:n}=this,r=n?2:1,{width:o,height:c}=this;if(t){var l=window.screen.width<=768?420:660;o>l&&(c=parseInt(l/o*c,10),o=l),c>9999&&(o=parseInt(9999/c*o,10),c=9999),o0&&void 0!==arguments[0]?arguments[0]:"";return"/sign?redirect=".concat(encodeURIComponent(e||("undefined"==typeof window?"/":window.location.href)))},tag(e){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"/tag/".concat(e,"/").concat(path)},user(e){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"timeline";return"/user/".concat(e,"/").concat(path)},pin:e=>"/pin/".concat(e),create:e=>e?"/write?slug=".concat(e):"/write"},Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";if(/imageMogr2/.test(e))return e;var n,r,link=e.startsWith("http")?e:"https://m1.calibur.tv/".concat(e),o=()=>{if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;var e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){var t=0===e.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=t,t}return!1},c=!1===t.webP?"":o()?"/format/webp":"",l=void 0===t.mode?1:t.mode;if(1===l&&!t.width||!t.width&&!t.height)return"".concat(link,"?imageMogr2/auto-orient/strip").concat(c);var h=()=>{if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;var e=window.devicePixelRatio;return window.computedRadio=e,e},d=h();return 1===l?(n="/w/".concat(t.width*d|0),r=t.height?"/h/".concat(t.height*d|0):"/h/".concat(t.width*d|0)):(n=t.width?"/w/".concat(t.width*d|0):"",r=t.height?"/h/".concat(t.height*d|0):""),"".concat(link,"?imageMogr2/auto-orient/strip|imageView2/").concat(l).concat(n).concat(r).concat(c)},je=e=>{var{store:t}=e;c.default.use({install(e){e.prototype.$alias=$e,e.prototype.$utils=be,e.prototype.$resize=Se,e.prototype.$hasRole=t.getters.hasRole,e.prototype.$isMine=t.getters.isMine}})},Ee=n(186),ke=n.n(Ee),Ce=(n(301),n(122)),Te=n.n(Ce),Pe=n(78),Ne=n.n(Pe),Re=(n(305),n(79)),Ae=n.n(Re),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500;return new Promise(t=>{setTimeout(t,e)})},Me={data:()=>({handler:{},events:{}}),methods:{socketConnect(){this.$connect()},socketDisconnect(){this.$disconnect()},send(data){this.$socket&&this.$socket.sendObj(data)},$when(e,t){this.events[e]?t(this.events[e]):this.handler[e]?this.handler[e].push(t):this.handler[e]=[t]},$fire(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.events[e]||(this.events[e]=t,this.handler[e]&&this.handler[e].forEach(e=>e(t)))}}},Ie=n(38),qe=window.screen.width<=768;c.default.use({install(e){e.prototype.$cookie=ke.a,e.prototype.$channel=new e(Me),e.prototype.$toast=new class{constructor(e){this.isMobile=e}error(e){this.stop();var time,text="";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text||"操作失败",iconClass:"iconfont icon-cuowuhttp"}):Ne.a.error(text),Le(time)}success(e){this.stop();var time,text="操作成功";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text,iconClass:"iconfont icon-caozuochenggong"}):Ne.a.success(text),Le(time)}info(e){this.stop();var time,text="操作成功";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text}):Ne.a.info(text),Le(time)}loading(e){this.stop();var time,t="";if("object"==typeof e?(t=e.tip,time=e.time):t=e,Te.a.open({text:t||"加载中…",spinnerType:"triple-bounce"}),time)return Le(time).then(()=>this.stop())}stop(){Te.a.close()}}(qe),e.prototype.$cache=Ie}});n(306);var De=n(80),Ue=n.n(De),Be=(n(133),e=>{if(/mqqbrowser|qq|micromessenger/.test((window.navigator.userAgent||"").toLowerCase())){var t=/qq/.test((window.navigator.userAgent||"").toLowerCase());H.a.get("".concat("https://api.calibur.tv/","v1/door/oauth2/ticket"),{params:{url:e,isQQ:t}}).then(e=>{var n=e.data.data;t?new class{constructor(e){this.config=e}init(){"undefined"!=typeof window&&void 0!==window.setShareInfo&&setShareInfo({title:this.getShareTitle(),summary:this.getShareDesc(),pic:this.getShareImage(),url:this.getShareLink(),WXconfig:{swapTitleInWX:!0,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature}})}getShareTitle(){return this.shareData().title}getShareLink(){return this.shareData().link}getShareDesc(){return this.shareData().desc}getShareImage(){return this.shareData().image}shareData(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}(n).init():new class{constructor(e){this.config=e}init(){"undefined"!=typeof window&&void 0!==window.wx&&(wx.config({debug:!1,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature,jsApiList:["previewImage","onMenuShareTimeline","onMenuShareAppMessage","updateTimelineShareData","updateAppMessageShareData"]}),wx.ready(()=>{var e=[];[].forEach.call(document.querySelectorAll(".is-full"),t=>{var image=t.querySelector("img");if(image){var n=image.getAttribute("origin-src");n.match(/^\/\//)&&(n="http:".concat(n)),e.push(n),t.addEventListener("click",()=>{wx.previewImage({current:n,urls:e})})}}),wx.updateTimelineShareData({title:this.getShareTitle(),link:this.getShareLink(),imgUrl:this.getShareImage(),success:()=>{}}),wx.updateAppMessageShareData({title:this.getShareTitle(),desc:this.getShareDesc(),link:this.getShareLink(),imgUrl:this.getShareImage(),type:"link",success:()=>{}}),wx.onMenuShareTimeline({title:this.getShareTitle(),link:this.getShareLink(),imgUrl:this.getShareImage(),success:()=>{}}),wx.onMenuShareAppMessage({title:this.getShareTitle(),desc:this.getShareDesc(),link:this.getShareLink(),imgUrl:this.getShareImage(),type:"link",success:()=>{}})}))}getShareTitle(){return this.shareData().title}getShareLink(){return this.shareData().link}getShareDesc(){return this.shareData().desc}getShareImage(){return this.shareData().image}shareData(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}(n).init()}).catch(()=>{})}});window.screen.width<=768&&(c.default.use({install(e){e.prototype.$alert=Ue.a.alert,e.prototype.$confirm=Ue.a.confirm,e.prototype.$prompt=Ue.a.prompt}}),Be(window.location.href));var ze=n(81),Fe=n.n(ze);window.screen.width<=768||c.default.use({install(e){e.prototype.$alert=Fe.a.alert,e.prototype.$confirm=Fe.a.confirm,e.prototype.$prompt=Fe.a.prompt}});var Ge=n(187),He=n.n(Ge),Ke=e=>{var{store:t}=e;c.default.use(He.a,"".concat("wss://api.calibur.tv/ws","?token=").concat(Object(Z.a)()),{connectManually:!0,reconnection:!1,reconnectionAttempts:12,reconnectionDelay:5e3,store:t,format:"json"})},We=e=>{var{app:t}=e;t.router.afterEach((e,t)=>{t&&t.name&&(window._hmt&&_hmt.push(["_trackPageview",e.fullPath]),Be(window.location.origin+e.fullPath))})};function Je(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function Ve(e){for(var i=1;i(f.a._warned||(f.a._warned=!0,console.warn(" has been deprecated and will be removed in Nuxt 3, please use instead")),f.a.render(e,t))})),c.default.component(O.name,O),c.default.component("NChild",O),c.default.component(C.name,C),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Qe={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function Xe(e){return Ye.apply(this,arguments)}function Ye(){return(Ye=Object(r.a)((function*(e){var t=yield new v.a(x),n=D(e);n.$router=t;var r=n.registerModule;n.registerModule=(path,e,t)=>r.call(n,path,e,Object.assign({preserveState:!0},t));var o=Ve({store:n,router:t,nuxt:{defaultTransition:Qe,transitions:[Qe],setTransitions(e){return Array.isArray(e)||(e=[e]),e=e.map(e=>e=e?"string"==typeof e?Object.assign({},Qe,{name:e}):Object.assign({},Qe,e):Qe),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error(t){t=t||null,o.context._errored=Boolean(t),t=t?Object(y.k)(t):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},A);n.app=o;var l,h=e?e.next:e=>o.router.push(e);if(e)l=t.resolve(e.url).route;else{var path=Object(y.d)(t.options.base,t.options.mode);l=t.resolve(path).route}yield Object(y.o)(o,{store:n,route:l,next:h,error:o.nuxt.error.bind(o),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});var d=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject(key, value) has no value provided");o[e="$"+e]=t,n[e]=o[e];var r="__nuxt_"+e+"_installed__";c.default[r]||(c.default[r]=!0,c.default.use(()=>{Object.prototype.hasOwnProperty.call(c.default,e)||Object.defineProperty(c.default.prototype,e,{get(){return this.$root.$options[e]}})}))};return window.__NUXT__&&window.__NUXT__.state&&n.replaceState(window.__NUXT__.state),"function"==typeof Y&&(yield Y(o.context,d)),"function"==typeof ee&&(yield ee(o.context,d)),"function"==typeof je&&(yield je(o.context,d)),"function"==typeof Ke&&(yield Ke(o.context,d)),"function"==typeof We&&(yield We(o.context,d)),{store:n,app:o,router:t}}))).apply(this,arguments)}},184:function(e,t){},210:function(e,t,n){e.exports=n(211)},211:function(e,t,n){"use strict";n.r(t),function(e){n(14),n(31),n(9),n(55),n(133),n(19);var t=n(2),r=n(1),o=n(180),c=n(114),l=n(0),h=n(18),d=n(82);r.default.component(d.a.name,d.a),r.default.component("NLink",d.a),e.fetch||(e.fetch=o.a);var m,f,v=[],y=window.__NUXT__||{};Object.assign(r.default.config,{silent:!0,performance:!1});var w=r.default.config.errorHandler||console.error;function _(e,t,n){var r=component=>{var e=function(component,e){if(!component||!component.options||!component.options[e])return{};var option=component.options[e];if("function"==typeof option){for(var t=arguments.length,n=new Array(t>2?t-2:0),r=2;r{var t=Object.assign({},r(e));if(n&&n.matched.length&&n.matched[0].components.default){var o=r(n.matched[0].components.default);Object.keys(o).filter(e=>o[e]&&e.toLowerCase().includes("leave")).forEach(e=>{t[e]=o[e]})}return t})}function x(e,t,n){return O.apply(this,arguments)}function O(){return(O=Object(t.a)((function*(e,t,n){this._pathChanged=Boolean(m.nuxt.err)||t.path!==e.path,this._queryChanged=JSON.stringify(e.query)!==JSON.stringify(t.query),this._diffQuery=this._queryChanged?Object(l.g)(e.query,t.query):[],this._pathChanged&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();try{if(!this._pathChanged&&this._queryChanged)(yield Object(l.m)(e,(e,t)=>({Component:e,instance:t}))).some(n=>{var{Component:r,instance:o}=n,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some(e=>this._diffQuery[e]):"function"==typeof c&&c.apply(o,[e.query,t.query]))})&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();n()}catch(l){var r=l||{},o=r.statusCode||r.status||r.response&&r.response.status||500,c=r.message||"";if(/^Loading( CSS)? chunk (\d)+ failed\./.test(c))return void window.location.reload(!0);this.error({statusCode:o,message:c}),this.$nuxt.$emit("routeChanged",e,t,r),n()}}))).apply(this,arguments)}function $(e){var path=Object(l.d)(e.options.base,e.options.mode);return Object(l.c)(e.match(path),function(){var e=Object(t.a)((function*(e,t,n,r,o){"function"!=typeof e||e.options||(e=yield e());var c=function(e,t){return y.serverRendered&&t&&Object(l.a)(e,t),e._Ctor=e,e}(Object(l.n)(e),y.data?y.data[o]:null);return n.components[r]=c,c}));return function(t,n,r,o,c){return e.apply(this,arguments)}}())}function S(e,t,n){var r=[],o=!1;if(void 0!==n&&(r=[],(n=Object(l.n)(n)).options.middleware&&(r=r.concat(n.options.middleware)),e.forEach(e=>{e.options.middleware&&(r=r.concat(e.options.middleware))})),r=r.map(e=>"function"==typeof e?e:("function"!=typeof c.a[e]&&(o=!0,this.error({statusCode:500,message:"Unknown middleware "+e})),c.a[e])),!o)return Object(l.j)(r,t)}function j(e,t,n){return E.apply(this,arguments)}function E(){return(E=Object(t.a)((function*(e,t,n){if(!1===this._pathChanged&&!1===this._queryChanged)return n();if(e===t)v=[];else{var r=[];v=Object(l.e)(t,r).map((e,i)=>Object(l.b)(t.matched[r[i]].path)(t.params))}var o=!1;yield Object(l.o)(m,{route:e,from:t,next:(path=>{t.path===path.path&&this.$loading.finish&&this.$loading.finish(),t.path!==path.path&&this.$loading.pause&&this.$loading.pause(),o||(o=!0,n(path))}).bind(this)}),this._dateLastError=m.nuxt.dateErr,this._hadError=Boolean(m.nuxt.err);var c=[],d=Object(l.e)(e,c);if(!d.length){if(yield S.call(this,d,m.context),o)return;var f=(h.a.options||h.a).layout,y=yield this.loadLayout("function"==typeof f?f.call(h.a,m.context):f);if(yield S.call(this,d,m.context,y),o)return;return m.context.error({statusCode:404,message:"This page could not be found"}),n()}d.forEach(e=>{e._Ctor&&e._Ctor.options&&(e.options.asyncData=e._Ctor.options.asyncData,e.options.fetch=e._Ctor.options.fetch)}),this.setTransitions(_(d,e,t));try{if(yield S.call(this,d,m.context),o)return;if(m.context._errored)return n();var w=d[0].options.layout;if("function"==typeof w&&(w=w(m.context)),w=yield this.loadLayout(w),yield S.call(this,d,m.context,w),o)return;if(m.context._errored)return n();var x,O=!0;try{for(var $ of d)if("function"==typeof $.options.validate&&!(O=yield $.options.validate(m.context)))break}catch(e){return this.error({statusCode:e.statusCode||"500",message:e.message}),n()}if(!O)return this.error({statusCode:404,message:"This page could not be found"}),n();yield Promise.all(d.map((n,i)=>{if(n._path=Object(l.b)(e.matched[c[i]].path)(e.params),n._dataRefresh=!1,this._pathChanged&&this._queryChanged||n._path!==v[i])n._dataRefresh=!0;else if(!this._pathChanged&&this._queryChanged){var r=n.options.watchQuery;!0===r?n._dataRefresh=!0:Array.isArray(r)?n._dataRefresh=r.some(e=>this._diffQuery[e]):"function"==typeof r&&(x||(x=Object(l.f)(e)),n._dataRefresh=r.apply(x[i],[e.query,t.query]))}if(this._hadError||!this._isMounted||n._dataRefresh){var o=[],h=n.options.asyncData&&"function"==typeof n.options.asyncData,d=Boolean(n.options.fetch),f=h&&d?30:45;if(h){var y=Object(l.l)(n.options.asyncData,m.context).then(e=>{Object(l.a)(n,e),this.$loading.increase&&this.$loading.increase(f)});o.push(y)}if(this.$loading.manual=!1===n.options.loading,d){var p=n.options.fetch(m.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then(e=>{this.$loading.increase&&this.$loading.increase(f)}),o.push(p)}return Promise.all(o)}})),o||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),n())}catch(r){var j=r||{};if("ERR_REDIRECT"===j.message)return this.$nuxt.$emit("routeChanged",e,t,j);v=[],Object(l.h)(j);var E=(h.a.options||h.a).layout;"function"==typeof E&&(E=E(m.context)),yield this.loadLayout(E),this.error(j),this.$nuxt.$emit("routeChanged",e,t,j),n()}}))).apply(this,arguments)}function k(e,t){Object(l.c)(e,(e,t,n,o)=>("object"!=typeof e||e.options||((e=r.default.extend(e))._Ctor=e,n.components[o]=e),e))}function C(e){this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&this.error();var t=this.$options.nuxt.err?(h.a.options||h.a).layout:e.matched[0].components.default.options.layout;"function"==typeof t&&(t=t(m.context)),this.setLayout(t)}function T(e,t){if(!1!==this._pathChanged||!1!==this._queryChanged){var n=Object(l.f)(e),o=Object(l.e)(e);r.default.nextTick(()=>{n.forEach((e,i)=>{if(e&&!e._isDestroyed&&e.constructor._dataRefresh&&o[i]===e.constructor&&!0!==e.$vnode.data.keepAlive&&"function"==typeof e.constructor.options.data){var t=e.constructor.options.data.call(e);for(var n in t)r.default.set(e.$data,n,t[n]);window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}),C.call(this,e)})}}function P(){return(P=Object(t.a)((function*(e){m=e.app,f=e.router,e.store;var t=new r.default(m),n=y.layout||"default";yield t.loadLayout(n),t.setLayout(n);var o=()=>{t.$mount("#__nuxt"),f.afterEach(k),f.afterEach(T.bind(t)),r.default.nextTick(()=>{!function(e){window.onNuxtReadyCbs.forEach(t=>{"function"==typeof t&&t(e)}),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(e),f.afterEach((t,n)=>{r.default.nextTick(()=>e.$nuxt.$emit("routeChanged",t,n))})}(t)})},c=yield Promise.all($(f));if(t.setTransitions=t.$options.nuxt.setTransitions.bind(t),c.length&&(t.setTransitions(_(c,f.currentRoute)),v=f.currentRoute.matched.map(e=>Object(l.b)(e.path)(f.currentRoute.params))),t.$loading={},y.error&&t.error(y.error),f.beforeEach(x.bind(t)),f.beforeEach(j.bind(t)),y.serverRendered)o();else{var h=()=>{k(f.currentRoute,f.currentRoute),C.call(t,f.currentRoute),o()};j.call(t,f.currentRoute,f.currentRoute,path=>{if(path){var e=f.afterEach((t,n)=>{e(),h()});f.push(path,void 0,e=>{e&&w(e)})}else h()})}}))).apply(this,arguments)}Object(h.b)().then((function(e){return P.apply(this,arguments)})).catch(w)}.call(this,n(25))},235:function(e,t,n){e.exports=n.p+"img/d465ab1.jpeg"},236:function(e,t,n){e.exports=n.p+"img/adea640.jpeg"},239:function(e,t,n){"use strict";var r=n(72);n.n(r).a},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return y}));var r=e=>e.$axios.$post("v1/door/get_user_info"),o=(e,t)=>e.$axios.$post("v1/user/update_info",t),c=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/user/show",{params:{slug:n}})},l=(e,t)=>{var{slug:n,phone:r,password:o,authCode:c}=t;return e.$axios.$post("v1/door/bind_phone",{slug:n,phone:r,password:o,authCode:c})},h=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/message/total",{params:{slug:n},progress:!1})},d=(e,t)=>{var{phone_number:n,type:r,geetest:o}=t;return e.$axios.$post("v1/door/message",{phone_number:n,type:r,geetest:o})},m=(e,t)=>{var{access:n,secret:r,authCode:o,inviteCode:c}=t;return e.$axios.$post("v1/door/register",{access:n,secret:r,authCode:o,inviteCode:c})},f=(e,t)=>{var{access:n,secret:r,remember:o,geetest:c}=t;return e.$axios.$post("v1/door/login",{access:n,secret:r,remember:o,geetest:c})},v=e=>e.$axios.$post("v1/door/logout"),y=(e,t)=>{var{method:n,access:r,authCode:o,secret:c}=t;return e.$axios.$post("v1/door/reset_password",{method:n,access:r,authCode:o,secret:c})}},240:function(e,t,n){"use strict";var r=n(74);n.n(r).a},241:function(e,t,n){"use strict";var r=n(75);n.n(r).a},242:function(e,t,n){"use strict";var r=n(76);n.n(r).a},244:function(e,t,n){},245:function(e,t,n){},246:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return d})),n.d(t,"mutations",(function(){return m})),n.d(t,"actions",(function(){return f})),n.d(t,"getters",(function(){return v}));n(31),n(54);var r=n(2),o=n(1),c=n(24),l=n(38),h=n(17),d=()=>({user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}),m={SET_USER_INFO(e,t){var n=!(!t||!t.slug);e.user=t,e.haveAuthToken=n,e.isAuth=n,e.logging=!1},SET_USER_TOKEN(e,t){e.isLogout||(e.haveAuthToken=!!t)},SET_LOGGING(e){e.logging=!0},USER_LOGOUT(e){e.haveAuthToken=!1,e.isAuth=!1,e.logging=!1,e.isLogout=!0,e.user={}},UPDATE_USER_INFO(e,t){var{key:n,value:r}=t;o.default.set(e.user,n,r)},SOCKET_AUTO_CONNECT(e){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!1},SOCKET_ONOPEN(e,t){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!0},SOCKET_ONCLOSE(e,t){e.socket.isConnected=!1},SOCKET_ONERROR(e,t){e.socket.reconnectErr=!0},SOCKET_ONMESSAGE(e,t){if("unread_total"===t.channel)e.mailbox=t;else if("message-menu"===t.channel){var n=[];t.data.forEach(t=>{e.messageRoom[t.channel]||o.default.set(e.messageRoom,t.channel,{time:"",data:null}),n.push(Object.assign(t,{user:{}}))}),e.messageMenu.list=n,e.messageMenu.time=Object(h.randomStr)()}else e.messageRoom[t.channel].data=t,e.messageRoom[t.channel].time=Object(h.randomStr)();e.socket.isMaster&&(Object(l.set)("socket-on-message-data",t),Object(l.set)("socket-on-message-time",Date.now()))},SOCKET_RECONNECT(e,t){},SOCKET_RECONNECT_ERROR(e){e.socket.reconnectErr=!0},SET_MESSAGE_MENU(e,menu){var t=[];menu.forEach(n=>{e.messageRoom[n.channel]?o.default.set(e.messageRoom,n.channel,{time:Object(h.randomStr)(),data:null}):o.default.set(e.messageRoom,n.channel,{time:"",data:null}),n.user={},t.push(n)}),e.messageMenu.list=t,e.messageMenu.time=Object(h.randomStr)()},UPDATE_MESSAGE_MENU_USER(e,t){var{channel:n,user:r}=t;e.messageMenu.list.forEach(e=>{e.channel===n&&(e.user=r)})},DELETE_MESSAGE_MENU(e,t){e.messageMenu.list.forEach((n,r)=>{n.channel===t&&e.messageMenu.list.splice(r,1)})},INIT_MESSAGE_ROOM(e,t){o.default.set(e.messageRoom,t,{time:"",data:null})},CLEAR_NOTIFICATION(e,t){var{channel:n,count:r}=t;e.messageMenu.list.forEach((t,o)=>{t.channel===n&&(e.messageMenu.list[o].count-=r,e.mailbox.unread_message_total-=r)})},SET_USER_ROLE(e,data){e.roles=data}},f={initAuth(e){var t=this;return Object(r.a)((function*(){var{state:n,commit:r}=e;if(!n.haveAuthToken||n.logging)return null;if(n.user.slug)return n.user;try{r("SET_LOGGING");var o=yield Object(c.b)(t);return r("SET_USER_INFO",o),o}catch(e){return r("SET_USER_INFO",{}),null}}))()},refreshMailbox(e){var t=this;return Object(r.a)((function*(){var{state:n,commit:r}=e;n.socket.isConnected||r("SOCKET_ONMESSAGE",yield Object(c.c)(t,{slug:n.user.slug}))}))()},getMessageMenu(e){var t=this;return Object(r.a)((function*(){var{commit:n}=e;n("SET_MESSAGE_MENU",yield t.$axios.$get("v1/message/menu"))}))()},updateMessageMenu(e){var t=this,{state:n,commit:o}=e,c=n.user.slug;n.messageMenu.list.forEach(function(){var e=Object(r.a)((function*(e){var n=e.channel.split("@"),r=n[2];r===c&&(r=n[3]);var h=yield Object(l.getUserFromSessionStore)(t,r);o("UPDATE_MESSAGE_MENU_USER",{channel:e.channel,user:h})}));return function(t){return e.apply(this,arguments)}}())},getUserRoles(e){var{state:t,commit:n}=e;!t.roles&&t.user&&t.user.title.length&&this.$axios.$get("v1/user/roles").then(data=>{n("SET_USER_ROLE",data)}).catch(()=>{})}},v={isMine:e=>t=>!!e.isAuth&&e.user.slug===t,isAdmin:e=>!!e.isAuth&&e.user.is_admin,hasRole:e=>t=>!!e.user.is_admin||!!e.roles&&~e.roles.indexOf(t)}},247:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return h})),n.d(t,"mutations",(function(){return d})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var r=n(49),o=n.n(r),c=n(159),l=o.a.FlowStore(c),h=l.state,d=l.mutations,m=l.actions,f=l.getters},248:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return c})),n.d(t,"mutations",(function(){return l})),n.d(t,"actions",(function(){return h}));var r=n(2),o=n(123),c=()=>({myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}),l={SET_MY_TAGS_STATE(e){e.myTagsFetched=!0},SET_HOTTEST_TAGS(e,t){e.hottest_tags=t.result},SET_MY_TAGS(e,data){Object.keys(data).forEach(t=>{e.myTags.forEach(e=>{e.slug===t&&(e.children=data[t])})})}},h={getMyTags(e){var t=this;return Object(r.a)((function*(){var{rootState:n,state:r,commit:c}=e;!r.myTagsFetched&&n.isAuth&&(c("SET_MY_TAGS_STATE"),c("SET_MY_TAGS",yield Object(o.a)(t,{slug:n.user.slug})))}))()},getHottestTags(e){var{state:t,commit:n}=e;if(!t.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then(e=>{n("SET_HOTTEST_TAGS",e)}).catch(()=>{})}}},249:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return l})),n.d(t,"mutations",(function(){return d})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));n(55);var r=n(2),o=n(1),c=n(184),l=()=>({}),h=(e,t)=>"".concat(e,"-").concat(t),d={set(e){var{type:t,data:data,slug:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!1;Object.keys(data).forEach(n=>{if("object"==typeof data[n]){var c=data[n];Object.keys(c).forEach(e=>{c["".concat(e,"_loading")]=!1}),o.default.set(e,"".concat(t,"-").concat(n),c)}else r=!0,data["".concat(n,"_loading")]=!1}),r&&o.default.set(e,"".concat(t,"-").concat(n),data)},PUSH_USERS(e,t){var{type:n,slug:r,key:o,data:data}=t,c=h(n,r),l="".concat(o,"_users"),d=e[c][l].list,m=data.list.map(e=>e.slug);e[c][l].list=d.filter(e=>!m.includes(e.slug)).concat(data.list),e[c][l].total=data.total,e[c][l].no_more=data.no_more,e[c][l].loading=!1},SET_STATE(e,t){var{type:n,slug:r,key:o,result:c,user:l}=t;if(0!==c){var d=h(n,r),m="".concat(o,"_users");e[d][o]=c>0,e[d]["".concat(o,"_loading")]=!1,e[d][m]&&(c>0?(e[d][m].total++,e[d][m].no_more=!1,e[d][m].list.unshift(l)):(e[d][m].total--,e[d][m].list.forEach((t,n)=>{t.slug===l.slug&&e[d][m].list.splice(n,1)})))}},SET_STATUS(e,t){var{type:n,slug:r,key:o,value:c}=t;e[h(n,r)]["".concat(o,"_users")][c]=!0},SET_LOADING(e,t){var{type:n,slug:r,action:o,result:c}=t;e[h(n,r)]["".concat(o,"_loading")]=c}},m={users(e,t){var n=this;return Object(r.a)((function*(){var{state:r,commit:o}=e,{type:l,slug:d,key:m}=t,f=r[h(l,d)]["".concat(m,"_users")];if(!f.loading&&!f.no_more){o("SET_STATUS",{type:l,key:m,slug:d,value:"loading"});try{o("PUSH_USERS",{type:l,slug:d,key:m,data:yield c.users({ctx:n,type:m,slug:d,last_slug:f.list.length?f.list[f.list.length-1].slug:0,model:l,take:15})})}catch(e){o("SET_STATUS",{type:l,key:m,slug:d,value:"error"})}}}))()},toggle(e,t){var n=this;return Object(r.a)((function*(){var{state:r,commit:o,rootState:c}=e,{type:l,slug:d,action:m,params:f}=t;if(!r[h(l,d)]["".concat(m,"_loading")]){o("SET_LOADING",{action:m,type:l,slug:d,result:!0});try{var v=yield n.$axios.$post("v1/social/toggle",f),{user:y}=c;return o("SET_STATE",{type:l,key:m,slug:d,result:v,user:{slug:y.slug,nickname:y.nickname,avatar:y.avatar,created_at:parseInt(Date.now()/1e3)}}),{success:!0,result:v}}catch(e){return o("SET_LOADING",{action:m,type:l,slug:d,result:!1}),{success:!1}}}}))()}},f={get:e=>(t,n)=>e[h(t,n)]}},300:function(e,t,n){"use strict";var r=n(77);n.n(r).a},38:function(e,t,n){"use strict";n.r(t),n.d(t,"getUserFromSessionStore",(function(){return c})),n.d(t,"setUserSessionStore",(function(){return l})),n.d(t,"has",(function(){return h})),n.d(t,"expired",(function(){return d})),n.d(t,"set",(function(){return m})),n.d(t,"get",(function(){return f})),n.d(t,"remove",(function(){return v})),n.d(t,"clear",(function(){return y}));var r=n(2),o=n(24),c=(e,t)=>{var n=function(){var n=Object(r.a)((function*(){var n=yield Object(o.d)(e,{slug:t});return n&&l(n),n}));return function(){return n.apply(this,arguments)}}();try{return sessionStorage.getItem("user-item-".concat(t))?JSON.parse(sessionStorage.getItem("user-item-".concat(t))):n()}catch(e){return n()}},l=e=>{try{sessionStorage.setItem("user-item-".concat(e.slug),JSON.stringify(e))}catch(e){}},h=e=>{try{return null!==localStorage.getItem(e)}catch(e){return!1}},d=(e,t)=>{try{var n=localStorage.getItem("".concat(e,"-created-at"));return!n||Date.now()-n>1e3*t}catch(e){return!0}},m=(e,t)=>{try{localStorage.setItem(e,JSON.stringify(t)),localStorage.setItem("".concat(e,"-created-at"),Date.now())}catch(e){}},f=(e,t)=>{try{var n=localStorage.getItem(e);return null===n?t:JSON.parse(n)}catch(e){return t}},v=e=>{try{localStorage.removeItem(e)}catch(e){}},y=()=>{try{localStorage.clear()}catch(e){}}},60:function(e,t,n){"use strict";n(54),n(33);var r=e=>{if(!e)return"";var t="";return e.split("; ").forEach(e=>{e.startsWith("JWT-TOKEN=")&&(t=e.split("JWT-TOKEN=")[1])}),t};t.a=e=>{var t="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;var n;try{n=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(e){n={authToken:""}}(t=n.authToken)||(t=r(document.cookie))}else t=r(e.context.req.headers.cookie);return!t&&e&&(t=e.context.query.token),t=~["undefined","null"].indexOf(t)?"":t,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=t),t}},72:function(e,t,n){},74:function(e,t,n){},75:function(e,t,n){},76:function(e,t,n){},77:function(e,t,n){},82:function(e,t,n){"use strict";n(14),n(9),n(55),n(19);var r=n(1),o=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)},c=window.cancelIdleCallback||function(e){clearTimeout(e)},l=window.IntersectionObserver&&new window.IntersectionObserver(e=>{e.forEach(e=>{var{intersectionRatio:t,target:link}=e;t<=0||link.__prefetch()})});t.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted(){this.prefetch&&!this.noPrefetch&&(this.handleId=o(this.observe,{timeout:2e3}))},beforeDestroy(){c(this.handleId),this.__observed&&(l.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe(){l&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),l.observe(this.$el),this.__observed=!0)},shouldPrefetch(){return this.getPrefetchComponents().length>0},canPrefetch(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map(e=>e.components.default).filter(e=>"function"==typeof e&&!e.options&&!e.__prefetched)},prefetchLink(){if(this.canPrefetch()){l.unobserve(this.$el);var e=this.getPrefetchComponents();for(var t of e){var n=t();n instanceof Promise&&n.catch(()=>{}),t.__prefetched=!0}}}}}}},[[210,64,9,65]]]); \ No newline at end of file diff --git a/.nuxt/dist/client/56266db245806cd4169f.js b/.nuxt/dist/client/56266db245806cd4169f.js deleted file mode 100644 index b65cbee1..00000000 --- a/.nuxt/dist/client/56266db245806cd4169f.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{0:function(e,t,n){"use strict";n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"a",(function(){return f})),n.d(t,"n",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return w})),n.d(t,"c",(function(){return _})),n.d(t,"m",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return C})),n.d(t,"d",(function(){return k})),n.d(t,"b",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"k",(function(){return N}));n(14),n(127),n(9),n(206),n(51),n(52),n(231),n(54),n(33),n(19);var r=n(2),o=n(58),c=n(1);function l(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function h(e){for(var i=1;ie.default||e)}function f(e,t){if(t||!e.options.__hasNuxtData){var n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),h({},data,{},t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function v(e){return e.options&&e._Ctor===e?e:(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=c.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file),e)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((e,r)=>Object.keys(e[n]).map(o=>(t&&t.push(r),e[n][o]))))}function w(e){return y(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function _(e,t){return Array.prototype.concat.apply([],e.matched.map((e,n)=>Object.keys(e.components).reduce((r,o)=>(e.components[o]?r.push(t(e.components[o],e.instances[o],e,o,n)):delete e.components[o],r),[])))}function x(e,t){return Promise.all(_(e,function(){var e=Object(r.a)((function*(e,n,r,o){return"function"!=typeof e||e.options||(e=yield e()),r.components[o]=e=v(e),"function"==typeof t?t(e,n,r,o):e}));return function(t,n,r,o){return e.apply(this,arguments)}}()))}function O(e){return $.apply(this,arguments)}function $(){return($=Object(r.a)((function*(e){if(e)return yield x(e),h({},e,{meta:y(e).map((t,n)=>h({},t.options.meta,{},(e.matched[n]||{}).meta))})}))).apply(this,arguments)}function S(e,t){return j.apply(this,arguments)}function j(){return(j=Object(r.a)((function*(e,t){e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:t.payload,error:t.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},t.req&&(e.context.req=t.req),t.res&&(e.context.res=t.res),t.ssrContext&&(e.context.ssrContext=t.ssrContext),e.context.redirect=(t,path,n)=>{if(t){e.context._redirected=!0;var r=typeof path;if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},r=typeof(path=t),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=function(e,t){var n,r=e.indexOf("://");-1!==r?(n=e.substring(0,r),e=e.substring(r+3)):e.startsWith("//")&&(e=e.substring(2));var o,c=e.split("/"),l=(n?n+"://":"//")+c.shift(),path=c.filter(Boolean).join("/");2===(c=path.split("#")).length&&([path,o]=c);l+=path?"/"+path:"",t&&"{}"!==JSON.stringify(t)&&(l+=(2===e.split("?").length?"&":"?")+function(e){return Object.keys(e).sort().map(t=>{var n=e[t];return null==n?"":Array.isArray(n)?n.slice().map(e=>[t,"=",e].join("")).join("&"):t+"="+n}).filter(Boolean).join("&")}(t));return l+=o?"#"+o:""}(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__);var[n,r]=yield Promise.all([O(t.route),O(t.from)]);t.route&&(e.context.route=n),t.from&&(e.context.from=r),e.context.next=t.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{}}))).apply(this,arguments)}function E(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():C(e[0],t).then(()=>E(e.slice(1),t))}function C(e,t){var n;return(n=2===e.length?new Promise(n=>{e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))}):e(t))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function k(base,e){var path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function T(e,t){return function(e,t){for(var n=new Array(e.length),i=0;i{window.onNuxtReadyCbs.push(e)};var R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function A(e,t){var n=t?/[?#]/g:/[/?#]/g;return encodeURI(e).replace(n,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())}function L(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function M(e){return e.replace(/([=!:$/()])/g,"\\$1")}function I(e){return e&&e.sensitive?"":"i"}},114:function(e,t,n){"use strict";t.a={}},123:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return d}));var r=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/tag/show",{params:{slug:n}})},o=(e,t)=>{var{name:n,parent_slug:r}=t;return e.$axios.$post("v1/tag/create",{name:n,parent_slug:r})},c=(e,t)=>{var{name:n,slug:r,avatar:o,alias:c,intro:l}=t;return e.$axios.$post("v1/tag/update",{name:n,slug:r,avatar:o,alias:c,intro:l})},l=(e,t)=>{var{slug:n}=t;return e.$axios.$post("v1/tag/delete",{slug:n})},h=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/tag/bookmarks",{params:{slug:n}})},d=(e,t)=>{var{slug:n,page:r,take:o}=t;return e.$axios.$get("v1/tag/children",{params:{slug:n,page:r,take:o}})}},157:function(e,t,n){e.exports=n.p+"img/b07f58f.jpeg"},159:function(e,t,n){"use strict";n.r(t),n.d(t,"getUserMessage",(function(){return r})),n.d(t,"getUserRelation",(function(){return o})),n.d(t,"getUserDrafts",(function(){return c})),n.d(t,"getUserTimeline",(function(){return l})),n.d(t,"getPinComments",(function(){return h})),n.d(t,"getTagFlows",(function(){return d})),n.d(t,"getATField",(function(){return m})),n.d(t,"getZoneQuestions",(function(){return f})),n.d(t,"getMixinSearch",(function(){return v})),n.d(t,"getTimeline",(function(){return y})),n.d(t,"getFlowRecommendedIndex",(function(){return w})),n.d(t,"tagHottest",(function(){return _})),n.d(t,"getBangumiQuestionTrials",(function(){return x})),n.d(t,"getIdolFans",(function(){return O}));n(14),n(127),n(9),n(19);var r=e=>{var{$axios:t,channel:n,since_id:r,is_up:o,count:c}=e;return t.$get("v1/message/history",{params:{channel:n,since_id:r,count:c,is_up:o}})},o=e=>{var{$axios:t,seen_ids:n,slug:r,relation:o}=e;return t.$get("v1/user/relation",{params:{seen_ids:n,slug:r,relation:o}})},c=e=>{var{$axios:t,page:n,count:r}=e;return t.$get("v1/pin/drafts",{params:{page:n,count:r}})},l=e=>{var{$axios:t,page:n,count:r,slug:o}=e;return t.$get("v1/user/timeline",{params:{page:n,count:r,slug:o}})},h=e=>{var{$axios:t,sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:d}=e;return t.$get("v1/comment/list",{params:{sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:d}})},d=e=>{var{$axios:t,slug:n,sort:r,time:time,take:o,seen_ids:c,last_id:l}=e;return new Promise((e,h)=>{Promise.all([t.$get("v1/flow/pins",{params:{slug:n,sort:r,time:time,take:o,is_up:0,spec_id:"newest"===r?l:c}}),new Promise(e=>setTimeout(e,400))]).then(data=>{e(data[0])}).catch(h)})},m=e=>{var{$axios:t,page:n,count:r,sort:o,slug:c}=e;return new Promise((e,l)=>{Promise.all([t.$get("v1/atfield/flow",{params:{page:n,count:r,sort:o,slug:c}}),new Promise(e=>setTimeout(e,400))]).then(data=>{e(data[0])}).catch(l)})},f=e=>{var{$axios:t,slug:n}=e;return t.$get("v1/atfield/list",{params:{slug:n}})},v=e=>{var{$axios:t,page:n,type:r,q:q}=e;return t.$get("v1/search/mixin",{params:{page:n,type:r,q:q}})},y=e=>{var{$axios:t,type:n,slug:r}=e;return t.$get("v1/".concat(n,"/timeline"),{params:{slug:r}})},w=e=>{var{$axios:t,seen_ids:n}=e;return t.$get("v1/flow/index",{params:{seen_ids:n}})},_=e=>{var{$axios:t,page:n,take:r}=e;return t.$get("v1/tag/hottest",{params:{page:n,take:r}})},x=e=>{var{$axios:t,page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}=e;return t.$get("v1/join/flow",{params:{page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}})},O=e=>{var{$axios:t,page:n,take:r,slug:o,sort:c}=e;return t.$get("v1/idol/fans",{params:{page:n,take:r,slug:o,sort:c}})}},17:function(e,t,n){"use strict";n.r(t),n.d(t,"convertTA",(function(){return r})),n.d(t,"randomStr",(function(){return o})),n.d(t,"adjustDate",(function(){return c})),n.d(t,"shortenNumber",(function(){return l})),n.d(t,"timeAgo",(function(){return h})),n.d(t,"checkInView",(function(){return d})),n.d(t,"on",(function(){return m})),n.d(t,"off",(function(){return f}));n(51),n(52);var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"我":0===e?"TA":1===e?"他":2===e?"她":"TA"},o=()=>"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(3,6)),c=time=>{if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);var e=new Date(time);return"Invalid Date"===e.toString()&&(e=new Date(time.replace(/-/g,"/"))),e},l=e=>e>1e3?"".concat(Math.floor(e/1e3*10)/10,"k"):e,h=time=>{var e=c(time),t=Date.now()-e.getTime(),n=[e.getFullYear(),"0".concat(e.getMonth()+1).substr(-2),"0".concat(e.getDate()).substr(-2),"0".concat(e.getHours()).substr(-2),"0".concat(e.getMinutes()).substr(-2)];if(t>31536e6||t<=0)return"".concat(n[0],"-").concat(n[1],"-").concat(n[2]);var r=(new Date).setHours(0,0,0,0);return r1&&void 0!==arguments[1]?arguments[1]:1;if(!e)return!1;var rect=e.getBoundingClientRect();return rect.top0&&rect.left0},m=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,e,t){element&&e&&t&&element.addEventListener(e,t,!1)}:function(element,e,t){element&&e&&t&&element.attachEvent("on"+e,t)}}(),f=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,e,t){element&&e&&element.removeEventListener(e,t,!1)}:function(element,e,t){element&&e&&element.detachEvent("on"+e,t)}}()},178:function(e,t,n){"use strict";var r=n(130),o=n.n(r),c=n(183),l=n.n(c),h=n(73),d=n(24),m=n(179),f={components:{ElBadge:l.a,ElSwitch:o.a,VSearch:m.a},props:{showUser:{type:Boolean,default:!0}},data:()=>({night_mode:!1}),computed:{headers:()=>[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}],isAuth(){return this.$store.state.isAuth},user(){return this.$store.state.user},mailbox(){return this.$store.state.mailbox},headerType(){var{name:e}=this.$route;return"fixed"}},mounted(){this.$channel.$when("user-signed",()=>{this.getUnreadMessageCount()})},methods:{handleLogout(){Object(d.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn(){this.$channel.$emit("sign-in")},getUnreadMessageCount(){this.$store.dispatch("refreshMailbox");var e=Date.now();window.addEventListener("mousemove",Object(h.b)(3e3,()=>{e=Date.now()})),setInterval(()=>{"visible"===document.visibilityState&&!this.$store.state.socket.isConnected&&Date.now()-e<3e4&&this.$store.dispatch("refreshMailbox")},1e4)},handleNightModeSwitch(){this.$toast.success("开个玩笑,还没支持~")}}},v=(n(240),n(11)),component=Object(v.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{attrs:{id:"page-header"}},[n("div",{staticClass:"header-text",class:"header-"+e.headerType},[n("div",{staticClass:"container nav"},[n("nav",{staticClass:"left"},[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),e._v(" "),n("VSwitcher",{attrs:{headers:e.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},e._l(e.headers,(function(t,r){return n("NLink",{key:r,attrs:{slot:"tab-"+r,to:t.route},slot:"tab-"+r},[n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],1),e._v(" "),n("div",{staticClass:"right"},[n("div",{staticClass:"search-container"},[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),e._v(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],1),e._v(" "),e.showUser?[e.isAuth?[n("div",{staticClass:"user-panel icon-link"},[n("NLink",{staticClass:"avatar",attrs:{to:e.$alias.user(e.user.slug)}},[n("VImg",{attrs:{src:e.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:e.user.nickname}})],1),e._v(" "),n("div",{staticClass:"user-popover"},[n("p",{staticClass:"nickname oneline",domProps:{innerHTML:e._s(e.user.nickname)}}),e._v(" "),n("div",{staticClass:"field"},[e._m(0),e._v(" "),n("div",{staticClass:"value"},[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:e.handleNightModeSwitch},model:{value:e.night_mode,callback:function(t){e.night_mode=t},expression:"night_mode"}})],1)]),e._v(" "),n("NLink",{attrs:{to:e.$alias.user(e.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),e._v(" "),n("span",[e._v("设置")])])])]),e._v(" "),n("button",{staticClass:"sign-out",on:{click:e.handleLogout}},[e._v("\n 退出\n ")])],1)],1),e._v(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:e.$alias.user(e.user.slug,"message")}},[n("ElBadge",{attrs:{value:e.mailbox.unread_notice_total+e.mailbox.unread_message_total,hidden:!e.mailbox.unread_message_total&&!e.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:e.handleSignIn}},[e._v("\n 登录\n ")]),e._v(" "),n("NLink",{attrs:{to:e.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[e._v("\n 登录  \n ")])],1)]]:e._e(),e._v(" "),n("div",{staticClass:"creator-wrap only-pc"},[n("NLink",{attrs:{target:"_blank",to:e.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[e._v("\n 投稿\n ")])],1)],1)],2)])]),e._v(" "),n("div",{staticClass:"header-shim"})])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("i",{staticClass:"iconfont ic-night"}),this._v(" "),t("span",[this._v("夜间模式")])])}],!1,null,null,null);t.a=component.exports},179:function(e,t,n){"use strict";n(55),n(188);var r={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted(){this.$watch("value",e=>{this.word=e,this.typing=!0,this.selectedIndex=-1,this.handleEnter(e)}),this.$watch("word",e=>{this.$emit("input",e)}),this.$watch("$route",e=>{"search"===e.name&&(this.word=e.query.q,this.selectedType=e.query.type,setTimeout(()=>{this.typing=!1},0))}),this.getSearchTags()},methods:{getSearchTags(){this.showSuggestion&&this.$nextTick(()=>{this.$cache.expired("search-all-tags",86400)?this.$axios.$get("v1/search/tags").then(e=>{this.tags=e,this.$cache.set("search-all-tags",e),this.word&&(this.handleEnter(this.word),this.filteredSelect.length&&(this.handleInputFocus(),this.typing=!0))}).catch(()=>{}):this.tags=this.$cache.get("search-all-tags")})},submit(){var q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter(e){this.filteredSelect=e?this.tags.filter(option=>option.alias.includes(e)||option.name.includes(e)):[]},handleInputFocus(){this.state="focus",this.$emit("focus")},handleInputBlur(){this.state="blur",this.$emit("blur")}}},o=(n(239),n(11)),component=Object(o.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"search-input-wrap",class:"search-"+e.state,attrs:{action:"#",method:"get"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[n("button",{staticClass:"search-input-btn",attrs:{type:"submit"}},[e._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),e._v(" "),n("div",{staticClass:"search-input-text"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.word,expression:"word",modifiers:{trim:!0}}],staticClass:"search-input",attrs:{placeholder:e.placeholder,autofocus:e.autofocus,type:"text",name:"q","aria-autocomplete":"both","aria-haspopup":"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",role:"combobox",spellcheck:"false",maxlength:"50"},domProps:{value:e.word},on:{focus:e.handleInputFocus,blur:[e.handleInputBlur,function(t){return e.$forceUpdate()}],input:function(t){t.target.composing||(e.word=t.target.value.trim())}}})]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.displaySuggestion,expression:"displaySuggestion"}],staticClass:"search-suggestions"},e._l(e.filteredSelect,(function(t,r){return n("NLink",{key:t.id,class:{active:r===e.selectedIndex},attrs:{to:e.$alias.tag(t.slug),tag:"li"}},[n("img",{attrs:{src:e.$resize(t.avatar,{width:60})}}),e._v(" "),n("span",{domProps:{textContent:e._s(t.name)}})])})),1)])}),[],!1,null,null,null);t.a=component.exports},18:function(e,t,n){"use strict";n(31),n(9);var r=n(2),o=n(58),c=n(1),l=n(181),h=n(115),d=n.n(h),m=n(40),f=n.n(m),v=n(50),y=n(0);"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual",window.addEventListener("beforeunload",()=>{window.history.scrollRestoration="auto"}),window.addEventListener("load",()=>{window.history.scrollRestoration="manual"}));var w=()=>{},_=v.a.prototype.push;v.a.prototype.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,n=arguments.length>2?arguments[2]:void 0;return _.call(this,e,t,n)},c.default.use(v.a);var x={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){var r=!1,o=Object(y.e)(e);o.length<2&&o.every(e=>!1!==e.options.scrollToTop)?r={x:0,y:0}:o.some(e=>e.options.scrollToTop)&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return e.path===t.path&&e.hash!==t.hash&&c.$nextTick(()=>c.$emit("triggerScroll")),new Promise(t=>{c.$once("triggerScroll",()=>{if(e.hash){var n=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(r)})})},routes:[{path:"/about",component:()=>Object(y.i)(n.e(13).then(n.bind(null,638))),props:!1,name:"about",children:[{path:"managers",component:()=>Object(y.i)(n.e(14).then(n.bind(null,639))),props:!1,name:"about-index-managers"}]},{path:"/search",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(69),n.e(34)]).then(n.bind(null,631))),props:!1,name:"search"},{path:"/sign",component:()=>Object(y.i)(Promise.all([n.e(6),n.e(35)]).then(n.bind(null,640))),props:!1,name:"sign"},{path:"/write",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(59)]).then(n.bind(null,628))),props:!1,name:"write"},{path:"/app/admin",component:()=>Object(y.i)(n.e(17).then(n.bind(null,641))),props:!1,name:"app-admin"},{path:"/callback/auth-error",component:()=>Object(y.i)(n.e(29).then(n.bind(null,642))),props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:()=>Object(y.i)(n.e(30).then(n.bind(null,643))),props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:()=>Object(y.i)(n.e(31).then(n.bind(null,644))),props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:()=>Object(y.i)(n.e(60).then(n.bind(null,645))),props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(61)]).then(n.bind(null,646))),props:!1,name:"zone-bangumi"},{path:"/zone/game",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(62)]).then(n.bind(null,647))),props:!1,name:"zone-game"},{path:"/zone/topic",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(63)]).then(n.bind(null,648))),props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(15)]).then(n.bind(null,649))),props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.bind(null,650))),props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:()=>Object(y.i)(n.e(18).then(n.bind(null,651))),props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:()=>Object(y.i)(n.e(19).then(n.bind(null,652))),props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:()=>Object(y.i)(n.e(20).then(n.bind(null,653))),props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.bind(null,654))),props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:()=>Object(y.i)(n.e(22).then(n.bind(null,655))),props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(67),n.e(23)]).then(n.bind(null,656))),props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:()=>Object(y.i)(Promise.all([n.e(68),n.e(24)]).then(n.bind(null,657))),props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:()=>Object(y.i)(n.e(25).then(n.bind(null,658))),props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(26)]).then(n.bind(null,659))),props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(27)]).then(n.bind(null,660))),props:!1,name:"app-user-edit"},{path:"/app/user/list",component:()=>Object(y.i)(n.e(28).then(n.bind(null,635))),props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(33)]).then(n.bind(null,626))),props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(38)]).then(n.bind(null,630))),props:!0,name:"tag-slug"},{path:"/user/:slug?",component:()=>Object(y.i)(n.e(40).then(n.bind(null,636))),props:!0,name:"user-slug",children:[{path:"draft",component:()=>Object(y.i)(n.e(41).then(n.bind(null,661))),props:!0,name:"user-slug-draft"},{path:"emotion",component:()=>Object(y.i)(n.e(47).then(n.bind(null,662))),props:!0,name:"user-slug-emotion"},{path:"message",component:()=>Object(y.i)(Promise.all([n.e(71),n.e(48)]).then(n.bind(null,627))),props:!0,name:"user-slug-message"},{path:"setting",component:()=>Object(y.i)(n.e(49).then(n.bind(null,663))),props:!0,children:[{path:"",component:()=>Object(y.i)(n.e(51).then(n.bind(null,664))),name:"user-slug-setting"},{path:"basic",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(50)]).then(n.bind(null,665))),name:"user-slug-setting-basic"},{path:"oauth2",component:()=>Object(y.i)(n.e(52).then(n.bind(null,666))),name:"user-slug-setting-oauth2"}]},{path:"social",component:()=>Object(y.i)(n.e(53).then(n.bind(null,667))),props:!0,children:[{path:"",component:()=>Object(y.i)(n.e(57).then(n.bind(null,668))),name:"user-slug-social"},{path:"followers",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(54)]).then(n.bind(null,669))),name:"user-slug-social-followers"},{path:"following",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(55)]).then(n.bind(null,670))),name:"user-slug-social-following"},{path:"friends",component:()=>Object(y.i)(Promise.all([n.e(5),n.e(56)]).then(n.bind(null,671))),name:"user-slug-social-friends"}]},{path:"timeline",component:()=>Object(y.i)(n.e(58).then(n.bind(null,629))),props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:()=>Object(y.i)(n.e(42).then(n.bind(null,672))),props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:()=>Object(y.i)(n.e(43).then(n.bind(null,673))),name:"user-slug-emotion-category-bangumi"},{path:"game",component:()=>Object(y.i)(n.e(44).then(n.bind(null,674))),name:"user-slug-emotion-category-game"},{path:"notebook",component:()=>Object(y.i)(n.e(45).then(n.bind(null,675))),name:"user-slug-emotion-category-notebook"},{path:"topic",component:()=>Object(y.i)(n.e(46).then(n.bind(null,676))),name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:()=>Object(y.i)(n.e(36).then(n.bind(null,637))),props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:()=>Object(y.i)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(37)]).then(n.bind(null,632))),props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:()=>Object(y.i)(Promise.all([n.e(70),n.e(39)]).then(n.bind(null,633))),props:!0,name:"tag-slug-qa"},{path:"/",component:()=>Object(y.i)(n.e(32).then(n.bind(null,677))),props:!1,name:"index"}],fallback:!1};var O={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(e,t){var{parent:n,data:data,props:r}=t;data.nuxtChild=!0;for(var o=n,c=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var d=c[h]||l,m={};$.forEach(e=>{void 0!==d[e]&&(m[e]=d[e])});var f={};S.forEach(e=>{"function"==typeof d[e]&&(f[e]=d[e].bind(o))});var v=f.beforeEnter;if(f.beforeEnter=e=>{if(window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),v)return v.call(o,e)},!1===d.css){var y=f.leave;(!y||y.length<2)&&(f.leave=(e,t)=>{y&&y.call(o,e),o.$nextTick(t)})}var w=e("routerView",data);return r.keepAlive&&(w=e("keep-alive",{props:r.keepAliveProps},[w])),e("transition",{props:m,on:f},[w])}},$=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],S=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],j={name:"nuxt-error",components:{VHeader:n(178).a},props:{error:{type:Object,default:null}},computed:{statusCode(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message(){return this.error&&this.error.message}},mounted(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin(){this.$channel.$emit("sign-in")},toastMessage(){this.$toast.error(this.message)}},head:{title:"出错了"}},E=(n(241),n(11)),C=Object(E.a)(j,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"error-page"}},[r("VHeader",{attrs:{"show-user":!1}}),e._v(" "),r("div",{staticClass:"error-main"},[401===e.statusCode?r("div",{attrs:{id:"error-401"}},[r("img",{attrs:{src:n(235),alt:"error-401"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v(e._s(e.message||"请登录后重新访问"))]),e._v(" "),r("button",{staticClass:"back",on:{click:e.handleLogin}},[e._v("\n 登录\n ")])]):403===e.statusCode?r("div",{attrs:{id:"error-403"}},[r("img",{attrs:{src:n(157),alt:"error-403"}}),e._v(" "),r("h3",[e._v(e._s(e.message||"您没有权限访问该页面"))]),e._v(" "),r("a",{staticClass:"back",attrs:{href:"/"}},[e._v("回到首页")])]):404===e.statusCode?r("div",{attrs:{id:"error-404"}},[r("img",{attrs:{src:n(236),alt:"error-404"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v("您要找的页面不存在")]),e._v(" "),r("div",{staticClass:"subtitle"},[e._v("\n 不存在的内容,或者正在审核中。\n ")]),e._v(" "),r("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[e._v("\n 返回首页\n ")]),e._v(" "),r("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],1):e.statusCode>=500?r("div",{attrs:{id:"error-500"}},[r("img",{attrs:{src:n(157),alt:"error-500"},on:{click:e.toastMessage}}),e._v(" "),r("h3",[e._v("服务器出错了")]),e._v(" "),r("div",{staticClass:"subtitle"},[e._v("\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n ")]),e._v(" "),r("NLink",{staticClass:"back",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],1):e._e()])],1)}),[],!1,null,null,null).exports,k=(n(14),n(51),n(52),n(19),{name:"Nuxt",components:{NuxtChild:O,NuxtError:C},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.b)(this.$route.matched[0].path)(this.$route.params);var[e]=this.$route.matched;if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var{options:n}=t;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(e){return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick(()=>this.errorFromNuxtError=!1),e("div",{},[e("h2","An error occured while showing the error page"),e("p","Unfortunately an error occured and while showing the error page another error occured"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(()=>this.displayingNuxtError=!1),e(C,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),T=(n(208),{name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(()=>this.startTimer(),this.throttle):this.startTimer(),this},set(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get(){return this.percent},increase(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),setTimeout(()=>{this.show=!1,this.$nextTick(()=>{this.percent=0,this.reversed=!1})},500),this},fail(){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100?(this.skipTimerCount=1,this.reversed=!this.reversed):this.percent<=0&&(this.skipTimerCount=1,this.reversed=!this.reversed)))},100)}},render(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),P=(n(242),Object(E.a)(T,void 0,void 0,!1,null,null,null).exports),N=(n(243),n(244),n(245),{_app:()=>n.e(10).then(n.bind(null,678)).then(e=>e.default||e),_default:()=>n.e(11).then(n.bind(null,680)).then(e=>e.default||e),_web:()=>Promise.all([n.e(66),n.e(6),n.e(12)]).then(n.bind(null,634)).then(e=>e.default||e)}),R={},A={head:{titleTemplate:function(e){return e?"".concat(e," - ").concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"):"".concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur")},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:e=>e?"".concat(e,",").concat("咔哩吧是一个二次元社区"):"".concat("咔哩吧是一个二次元社区")},{hid:"keywords",name:"keywords",content:"",template:e=>e?"".concat(e,",").concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"):"".concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交")}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render(e,t){var n=e("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&C){var r=(C.options||C).layout;r&&this.setLayout("function"==typeof r?r.call(C,this.context):r)}var o=e(this.layout||"nuxt"),c=e("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),l=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(e){window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}},[c]);return e("div",{domProps:{id:"__nuxt"}},[n,l])},data:()=>({isOnline:!0,layout:null,layoutName:""}),beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){c.default.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline}},methods:{refreshOnlineStatus(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh(){var e=this;return Object(r.a)((function*(){var t=Object(y.f)(e.$route);if(t.length){e.$loading.start();var n=t.map(t=>{var p=[];return t.$options.fetch&&p.push(Object(y.l)(t.$options.fetch,e.context)),t.$options.asyncData&&p.push(Object(y.l)(t.$options.asyncData,e.context).then(e=>{for(var n in e)c.default.set(t.$data,n,e[n])})),Promise.all(p)});try{yield Promise.all(n)}catch(t){e.$loading.fail(),Object(y.h)(t),e.error(t)}e.$loading.finish()}}))()},errorChanged(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout(e){e&&R["_"+e]||(e="default"),this.layoutName=e;var t="_"+e;return this.layout=R[t],this.layout},loadLayout(e){var t=!e,n=!(N["_"+e]||R["_"+e]),r="_"+(t||n?"default":e);return R[r]?Promise.resolve(R[r]):N[r]().then(e=>(R[r]=e,delete N[r],R[r])).catch(e=>{if(this.$nuxt)return this.$nuxt.error({statusCode:500,message:e.message})})}},components:{NuxtLoading:P}},L=(n(54),n(116));c.default.use(L.a);var M=["state","getters","actions","mutations"],I={};(I=function(e,t){if((e=e.default||e).commit)throw new Error("[nuxt] ".concat(t," should export a method that returns a Vuex instance."));return"function"!=typeof e&&(e=Object.assign({},e)),U(e,t)}(n(246),"store/index.js")).modules=I.modules||{},B(n(247),"flow.js"),B(n(248),"global.js"),B(n(249),"social.js");var D=I instanceof Function?I:()=>new L.a.Store(Object.assign({strict:!1},I));function U(e,t){if(e.state&&"function"!=typeof e.state){console.warn("'state' should be a method that returns an object in ".concat(t));var n=Object.assign({},e.state);e=Object.assign({},e,{state:()=>n})}return e}function B(e,t){e=e.default||e;var n=t.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(t);if(e="state"===r?function(e,t){if("function"!=typeof e){console.warn("".concat(t," should export a method that returns an object"));var n=Object.assign({},e);return()=>n}return U(e,t)}(e,o):U(e,o),M.includes(r)){var c=r;F(z(I,n,{isProperty:!0}),e,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=z(I,n);for(var h of M)F(l,e[h],h);!1===e.namespaced&&delete l.namespaced}}function z(e,t){var{isProperty:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length||n&&1===t.length)return e;var r=t.shift();return e.modules[r]=e.modules[r]||{},e.modules[r].namespaced=!0,e.modules[r].modules=e.modules[r].modules||{},z(e.modules[r],t,{isProperty:n})}function F(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var G=n(39),H=n.n(G),K=n(185),W=n.n(K),J={setBaseURL(e){this.defaults.baseURL=e},setHeader(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common";for(var r of Array.isArray(n)?n:[n]){if(!t)return void delete this.defaults.headers[r][e];this.defaults.headers[r][e]=t}},setToken(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",r,n)},onRequest(e){this.interceptors.request.use(t=>e(t)||t)},onResponse(e){this.interceptors.response.use(t=>e(t)||t)},onRequestError(e){this.interceptors.request.use(void 0,t=>e(t)||Promise.reject(t))},onResponseError(e){this.interceptors.response.use(void 0,t=>e(t)||Promise.reject(t))},onError(e){this.onRequestError(e),this.onResponseError(e)},create(e){return X(W()(e,this.defaults))}},V=function(e){J["$"+e]=function(){return this[e].apply(this,arguments).then(e=>e&&e.data)}};for(var Q of["request","delete","get","head","options","post","put","patch"])V(Q);var X=e=>{var t=H.a.create(e);return t.CancelToken=H.a.CancelToken,t.isCancel=H.a.isCancel,(e=>{for(var t in J)e[t]=J[t].bind(e)})(t),t},Y=(e,t)=>{var n={baseURL:"http://localhost:3000/",headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}};n.headers.common=e.req&&e.req.headers?Object.assign({},e.req.headers):{},delete n.headers.common.accept,delete n.headers.common.host,delete n.headers.common["cf-ray"],delete n.headers.common["cf-connecting-ip"],delete n.headers.common["content-length"],delete n.headers.common["content-md5"],delete n.headers.common["content-type"];var r=X(n);e.$axios=r,t("axios",r)},Z=n(60),ee=e=>{var{$axios:t,app:n}=e,r="undefined"!=typeof window;t.setToken(Object(Z.a)(n),"Bearer"),t.onRequest(e=>{e.baseURL=r?"https://api.calibur.tv/":"http://localhost/",e.timeout=1e4}),t.onResponse(e=>e.data),t.onError(e=>{var t=(e=>{var t={};return/timeout of/.test(e.message)?(t.statusCode=504,t.message="网络请求超时,请重试!",t):e.response?(t.statusCode=e.response.status,t.message=e.response.data.message||"发生错误了,请稍后再试!","string"!=typeof t.message&&(t.message="网络错误,请重试!"),t):(t.statusCode=502,t.message="网络错误,请重试!",t)})(e);return Promise.reject(t)})},input=n(56),te=n.n(input),ne=n(117),re=n.n(ne),ae=n(118),oe=n.n(ae),se=n(113),ie=n.n(se),col=n(119),ce=n.n(col),ue=n(120),le=n.n(ue),he=n(71),de=n.n(he),pe=n(121),me=n.n(pe),fe=(n(298),n(49)),ge=n.n(fe),ve=n(73),be=n(17),ye={install(e,t){if(!e.prototype.$isServer){var n=[],r=t||{preload:1},o=window.screen.width<=768;e.directive("lazyload",{bind(e,t){t.arg&&"pc"===t.arg&&o||n.push({el:e,handler:t.value})},inserted(){h()},update(){h()},unbind(e){c(e)}});var c=e=>{for(var i=0,t=n.length;i{c(e),e.handler()},h=Object(ve.b)(200,()=>n.filter(e=>e&&Object(be.checkInView)(e.el,r.preload)).map(l));["scroll","resize","load"].forEach(e=>{window.addEventListener(e,()=>{h()})})}}},we=(e,t)=>{var n=[];for(var p in t)null!=t[p]&&n.push(p+"="+encodeURIComponent(t[p]));var r=e+n.join("&");return window.open(r,"","width=760, height=640, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no"),!1},_e={install(e){e.directive("share",{bind(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{},e.addEventListener("click",()=>{((e,t)=>{switch(e){case"weibo":we("https://service.weibo.com/share/share.php?",{url:t.url,type:"3",count:"1",appkey:t.appkey.weibo,title:t.title+t.weiboTag,pic:t.pic[0],searchPic:t.searchPic,ralateUid:"",language:"zh_cn",rnd:(new Date).valueOf()});break;case"qzone":we("https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?",{url:t.url,showcount:1,desc:t.desc,summary:t.summary,title:t.shortTitle,site:"咔哩吧",pics:t.pic,style:"203",width:98,height:22});break;case"qq":we("https://connect.qq.com/widget/shareqq/index.html?",{url:t.url,desc:t.desc,title:t.title,summary:t.summary,pics:t.pic,flash:"",site:"",style:"201",width:32,height:32});break;case"tieba":we("https://tieba.baidu.com/f/commit/share/openShareApi?",{title:t.title,url:t.url,uid:726865,to:"tieba",type:"text",relateUid:"",pic:t.pic[0],key:"",sign:"on",desc:"",comment:t.desc});break;default:throw new Error("This type is not defined.")}})(e.vtype,Object.assign({title:document.title,url:location.href,desc:"",pic:"",summary:"",shortTitle:"",searchPic:!1,appkey:{weibo:""},weiboTag:"",tp_id:0,aid:""},e.options))},!1)},update(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{}}})}},xe=(n(299),n(33),{name:"VImg",props:{src:{type:String,required:!0},def:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},radius:{type:String,default:""},stretched:{type:Boolean,default:!1},blur:{type:Boolean,default:!1}},data(){var{def:e,width:t}=this,n=e?e.startsWith("http")?e:"https://m1.calibur.tv/".concat(e):"",r="number"==typeof t&&"number"==typeof this.height&&!this.radius;return{show:n,source:n,isFull:r,useBlur:!!r||this.blur,isLarge:t.toString().endsWith("%"),extraStyle:{},animate:!1}},computed:{style(){var style={},{width:e,height:t,radius:n,isFull:r,isLarge:o}=this;return r?(style.paddingTop="".concat(t/e*100,"%"),style):(e&&!o&&(style.width="".concat(e,"px")),t&&(style.height="".concat(t,"px")),n&&(style.borderRadius=n),style)}},methods:{handle(){var{src:e,isFull:t,isLarge:n}=this,r=n?2:1,{width:o,height:c}=this;if(t){var l=window.screen.width<=768?420:660;o>l&&(c=parseInt(l/o*c,10),o=l),c>9999&&(o=parseInt(9999/c*o,10),c=9999),o0&&void 0!==arguments[0]?arguments[0]:"";return"/sign?redirect=".concat(encodeURIComponent(e||("undefined"==typeof window?"/":window.location.href)))},tag(e){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"/tag/".concat(e,"/").concat(path)},user(e){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"timeline";return"/user/".concat(e,"/").concat(path)},pin:e=>"/pin/".concat(e),create:e=>e?"/write?slug=".concat(e):"/write"},Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";if(/imageMogr2/.test(e))return e;var n,r,link=e.startsWith("http")?e:"https://m1.calibur.tv/".concat(e),o=()=>{if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;var e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){var t=0===e.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=t,t}return!1},c=!1===t.webP?"":o()?"/format/webp":"",l=void 0===t.mode?1:t.mode;if(1===l&&!t.width||!t.width&&!t.height)return"".concat(link,"?imageMogr2/auto-orient/strip").concat(c);var h=()=>{if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;var e=window.devicePixelRatio;return window.computedRadio=e,e},d=h();return 1===l?(n="/w/".concat(t.width*d|0),r=t.height?"/h/".concat(t.height*d|0):"/h/".concat(t.width*d|0)):(n=t.width?"/w/".concat(t.width*d|0):"",r=t.height?"/h/".concat(t.height*d|0):""),"".concat(link,"?imageMogr2/auto-orient/strip|imageView2/").concat(l).concat(n).concat(r).concat(c)},je=e=>{var{store:t}=e;c.default.use({install(e){e.prototype.$alias=$e,e.prototype.$utils=be,e.prototype.$resize=Se,e.prototype.$hasRole=t.getters.hasRole,e.prototype.$isMine=t.getters.isMine}})},Ee=n(186),Ce=n.n(Ee),ke=(n(301),n(122)),Te=n.n(ke),Pe=n(78),Ne=n.n(Pe),Re=(n(305),n(79)),Ae=n.n(Re),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500;return new Promise(t=>{setTimeout(t,e)})},Me={data:()=>({handler:{},events:{}}),methods:{socketConnect(){this.$connect()},socketDisconnect(){this.$disconnect()},send(data){this.$socket&&this.$socket.sendObj(data)},$when(e,t){this.events[e]?t(this.events[e]):this.handler[e]?this.handler[e].push(t):this.handler[e]=[t]},$fire(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.events[e]||(this.events[e]=t,this.handler[e]&&this.handler[e].forEach(e=>e(t)))}}},Ie=n(38),qe=window.screen.width<=768;c.default.use({install(e){e.prototype.$cookie=Ce.a,e.prototype.$channel=new e(Me),e.prototype.$toast=new class{constructor(e){this.isMobile=e}error(e){this.stop();var time,text="";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text||"操作失败",iconClass:"iconfont icon-cuowuhttp"}):Ne.a.error(text),Le(time)}success(e){this.stop();var time,text="操作成功";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text,iconClass:"iconfont icon-caozuochenggong"}):Ne.a.success(text),Le(time)}info(e){this.stop();var time,text="操作成功";return"object"==typeof e?(text=e.tip,time=e.time||1500):(text=e,time=1500),this.isMobile?Ae()({duration:time,message:text}):Ne.a.info(text),Le(time)}loading(e){this.stop();var time,t="";if("object"==typeof e?(t=e.tip,time=e.time):t=e,Te.a.open({text:t||"加载中…",spinnerType:"triple-bounce"}),time)return Le(time).then(()=>this.stop())}stop(){Te.a.close()}}(qe),e.prototype.$cache=Ie}});n(306);var De=n(80),Ue=n.n(De),Be=(n(133),e=>{if(/mqqbrowser|qq|micromessenger/.test((window.navigator.userAgent||"").toLowerCase())){var t=/qq/.test((window.navigator.userAgent||"").toLowerCase());H.a.get("".concat("https://api.calibur.tv/","v1/door/oauth2/ticket"),{params:{url:e,isQQ:t}}).then(e=>{var n=e.data.data;t?new class{constructor(e){this.config=e}init(){"undefined"!=typeof window&&void 0!==window.setShareInfo&&setShareInfo({title:this.getShareTitle(),summary:this.getShareDesc(),pic:this.getShareImage(),url:this.getShareLink(),WXconfig:{swapTitleInWX:!0,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature}})}getShareTitle(){return this.shareData().title}getShareLink(){return this.shareData().link}getShareDesc(){return this.shareData().desc}getShareImage(){return this.shareData().image}shareData(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}(n).init():new class{constructor(e){this.config=e}init(){"undefined"!=typeof window&&void 0!==window.wx&&(wx.config({debug:!1,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature,jsApiList:["previewImage","onMenuShareTimeline","onMenuShareAppMessage","updateTimelineShareData","updateAppMessageShareData"]}),wx.ready(()=>{var e=[];[].forEach.call(document.querySelectorAll(".is-full"),t=>{var image=t.querySelector("img");if(image){var n=image.getAttribute("origin-src");n.match(/^\/\//)&&(n="http:".concat(n)),e.push(n),t.addEventListener("click",()=>{wx.previewImage({current:n,urls:e})})}}),wx.updateTimelineShareData({title:this.getShareTitle(),link:this.getShareLink(),imgUrl:this.getShareImage(),success:()=>{}}),wx.updateAppMessageShareData({title:this.getShareTitle(),desc:this.getShareDesc(),link:this.getShareLink(),imgUrl:this.getShareImage(),type:"link",success:()=>{}}),wx.onMenuShareTimeline({title:this.getShareTitle(),link:this.getShareLink(),imgUrl:this.getShareImage(),success:()=>{}}),wx.onMenuShareAppMessage({title:this.getShareTitle(),desc:this.getShareDesc(),link:this.getShareLink(),imgUrl:this.getShareImage(),type:"link",success:()=>{}})}))}getShareTitle(){return this.shareData().title}getShareLink(){return this.shareData().link}getShareDesc(){return this.shareData().desc}getShareImage(){return this.shareData().image}shareData(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}(n).init()}).catch(()=>{})}});window.screen.width<=768&&(c.default.use({install(e){e.prototype.$alert=Ue.a.alert,e.prototype.$confirm=Ue.a.confirm,e.prototype.$prompt=Ue.a.prompt}}),Be(window.location.href));var ze=n(81),Fe=n.n(ze);window.screen.width<=768||c.default.use({install(e){e.prototype.$alert=Fe.a.alert,e.prototype.$confirm=Fe.a.confirm,e.prototype.$prompt=Fe.a.prompt}});var Ge=n(187),He=n.n(Ge),Ke=e=>{var{store:t}=e;c.default.use(He.a,"".concat("wss://api.calibur.tv/ws","?token=").concat(Object(Z.a)()),{connectManually:!0,reconnection:!1,reconnectionAttempts:12,reconnectionDelay:5e3,store:t,format:"json"})},We=e=>{var{app:t}=e;t.router.afterEach((e,t)=>{t&&t.name&&(window._hmt&&_hmt.push(["_trackPageview",e.fullPath]),Be(window.location.origin+e.fullPath))})};function Je(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function Ve(e){for(var i=1;i(f.a._warned||(f.a._warned=!0,console.warn(" has been deprecated and will be removed in Nuxt 3, please use instead")),f.a.render(e,t))})),c.default.component(O.name,O),c.default.component("NChild",O),c.default.component(k.name,k),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Qe={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function Xe(e){return Ye.apply(this,arguments)}function Ye(){return(Ye=Object(r.a)((function*(e){var t=yield new v.a(x),n=D(e);n.$router=t;var r=n.registerModule;n.registerModule=(path,e,t)=>r.call(n,path,e,Object.assign({preserveState:!0},t));var o=Ve({store:n,router:t,nuxt:{defaultTransition:Qe,transitions:[Qe],setTransitions(e){return Array.isArray(e)||(e=[e]),e=e.map(e=>e=e?"string"==typeof e?Object.assign({},Qe,{name:e}):Object.assign({},Qe,e):Qe),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error(t){t=t||null,o.context._errored=Boolean(t),t=t?Object(y.k)(t):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},A);n.app=o;var l,h=e?e.next:e=>o.router.push(e);if(e)l=t.resolve(e.url).route;else{var path=Object(y.d)(t.options.base,t.options.mode);l=t.resolve(path).route}yield Object(y.o)(o,{store:n,route:l,next:h,error:o.nuxt.error.bind(o),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});var d=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject(key, value) has no value provided");o[e="$"+e]=t,n[e]=o[e];var r="__nuxt_"+e+"_installed__";c.default[r]||(c.default[r]=!0,c.default.use(()=>{Object.prototype.hasOwnProperty.call(c.default,e)||Object.defineProperty(c.default.prototype,e,{get(){return this.$root.$options[e]}})}))};return window.__NUXT__&&window.__NUXT__.state&&n.replaceState(window.__NUXT__.state),"function"==typeof Y&&(yield Y(o.context,d)),"function"==typeof ee&&(yield ee(o.context,d)),"function"==typeof je&&(yield je(o.context,d)),"function"==typeof Ke&&(yield Ke(o.context,d)),"function"==typeof We&&(yield We(o.context,d)),{store:n,app:o,router:t}}))).apply(this,arguments)}},184:function(e,t){},210:function(e,t,n){e.exports=n(211)},211:function(e,t,n){"use strict";n.r(t),function(e){n(14),n(31),n(9),n(55),n(133),n(19);var t=n(2),r=n(1),o=n(180),c=n(114),l=n(0),h=n(18),d=n(82);r.default.component(d.a.name,d.a),r.default.component("NLink",d.a),e.fetch||(e.fetch=o.a);var m,f,v=[],y=window.__NUXT__||{};Object.assign(r.default.config,{silent:!0,performance:!1});var w=r.default.config.errorHandler||console.error;function _(e,t,n){var r=component=>{var e=function(component,e){if(!component||!component.options||!component.options[e])return{};var option=component.options[e];if("function"==typeof option){for(var t=arguments.length,n=new Array(t>2?t-2:0),r=2;r{var t=Object.assign({},r(e));if(n&&n.matched.length&&n.matched[0].components.default){var o=r(n.matched[0].components.default);Object.keys(o).filter(e=>o[e]&&e.toLowerCase().includes("leave")).forEach(e=>{t[e]=o[e]})}return t})}function x(e,t,n){return O.apply(this,arguments)}function O(){return(O=Object(t.a)((function*(e,t,n){this._pathChanged=Boolean(m.nuxt.err)||t.path!==e.path,this._queryChanged=JSON.stringify(e.query)!==JSON.stringify(t.query),this._diffQuery=this._queryChanged?Object(l.g)(e.query,t.query):[],this._pathChanged&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();try{if(!this._pathChanged&&this._queryChanged)(yield Object(l.m)(e,(e,t)=>({Component:e,instance:t}))).some(n=>{var{Component:r,instance:o}=n,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some(e=>this._diffQuery[e]):"function"==typeof c&&c.apply(o,[e.query,t.query]))})&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();n()}catch(l){var r=l||{},o=r.statusCode||r.status||r.response&&r.response.status||500,c=r.message||"";if(/^Loading( CSS)? chunk (\d)+ failed\./.test(c))return void window.location.reload(!0);this.error({statusCode:o,message:c}),this.$nuxt.$emit("routeChanged",e,t,r),n()}}))).apply(this,arguments)}function $(e){var path=Object(l.d)(e.options.base,e.options.mode);return Object(l.c)(e.match(path),function(){var e=Object(t.a)((function*(e,t,n,r,o){"function"!=typeof e||e.options||(e=yield e());var c=function(e,t){return y.serverRendered&&t&&Object(l.a)(e,t),e._Ctor=e,e}(Object(l.n)(e),y.data?y.data[o]:null);return n.components[r]=c,c}));return function(t,n,r,o,c){return e.apply(this,arguments)}}())}function S(e,t,n){var r=[],o=!1;if(void 0!==n&&(r=[],(n=Object(l.n)(n)).options.middleware&&(r=r.concat(n.options.middleware)),e.forEach(e=>{e.options.middleware&&(r=r.concat(e.options.middleware))})),r=r.map(e=>"function"==typeof e?e:("function"!=typeof c.a[e]&&(o=!0,this.error({statusCode:500,message:"Unknown middleware "+e})),c.a[e])),!o)return Object(l.j)(r,t)}function j(e,t,n){return E.apply(this,arguments)}function E(){return(E=Object(t.a)((function*(e,t,n){if(!1===this._pathChanged&&!1===this._queryChanged)return n();if(e===t)v=[];else{var r=[];v=Object(l.e)(t,r).map((e,i)=>Object(l.b)(t.matched[r[i]].path)(t.params))}var o=!1;yield Object(l.o)(m,{route:e,from:t,next:(path=>{t.path===path.path&&this.$loading.finish&&this.$loading.finish(),t.path!==path.path&&this.$loading.pause&&this.$loading.pause(),o||(o=!0,n(path))}).bind(this)}),this._dateLastError=m.nuxt.dateErr,this._hadError=Boolean(m.nuxt.err);var c=[],d=Object(l.e)(e,c);if(!d.length){if(yield S.call(this,d,m.context),o)return;var f=(h.a.options||h.a).layout,y=yield this.loadLayout("function"==typeof f?f.call(h.a,m.context):f);if(yield S.call(this,d,m.context,y),o)return;return m.context.error({statusCode:404,message:"This page could not be found"}),n()}d.forEach(e=>{e._Ctor&&e._Ctor.options&&(e.options.asyncData=e._Ctor.options.asyncData,e.options.fetch=e._Ctor.options.fetch)}),this.setTransitions(_(d,e,t));try{if(yield S.call(this,d,m.context),o)return;if(m.context._errored)return n();var w=d[0].options.layout;if("function"==typeof w&&(w=w(m.context)),w=yield this.loadLayout(w),yield S.call(this,d,m.context,w),o)return;if(m.context._errored)return n();var x,O=!0;try{for(var $ of d)if("function"==typeof $.options.validate&&!(O=yield $.options.validate(m.context)))break}catch(e){return this.error({statusCode:e.statusCode||"500",message:e.message}),n()}if(!O)return this.error({statusCode:404,message:"This page could not be found"}),n();yield Promise.all(d.map((n,i)=>{if(n._path=Object(l.b)(e.matched[c[i]].path)(e.params),n._dataRefresh=!1,this._pathChanged&&this._queryChanged||n._path!==v[i])n._dataRefresh=!0;else if(!this._pathChanged&&this._queryChanged){var r=n.options.watchQuery;!0===r?n._dataRefresh=!0:Array.isArray(r)?n._dataRefresh=r.some(e=>this._diffQuery[e]):"function"==typeof r&&(x||(x=Object(l.f)(e)),n._dataRefresh=r.apply(x[i],[e.query,t.query]))}if(this._hadError||!this._isMounted||n._dataRefresh){var o=[],h=n.options.asyncData&&"function"==typeof n.options.asyncData,d=Boolean(n.options.fetch),f=h&&d?30:45;if(h){var y=Object(l.l)(n.options.asyncData,m.context).then(e=>{Object(l.a)(n,e),this.$loading.increase&&this.$loading.increase(f)});o.push(y)}if(this.$loading.manual=!1===n.options.loading,d){var p=n.options.fetch(m.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then(e=>{this.$loading.increase&&this.$loading.increase(f)}),o.push(p)}return Promise.all(o)}})),o||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),n())}catch(r){var j=r||{};if("ERR_REDIRECT"===j.message)return this.$nuxt.$emit("routeChanged",e,t,j);v=[],Object(l.h)(j);var E=(h.a.options||h.a).layout;"function"==typeof E&&(E=E(m.context)),yield this.loadLayout(E),this.error(j),this.$nuxt.$emit("routeChanged",e,t,j),n()}}))).apply(this,arguments)}function C(e,t){Object(l.c)(e,(e,t,n,o)=>("object"!=typeof e||e.options||((e=r.default.extend(e))._Ctor=e,n.components[o]=e),e))}function k(e){this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&this.error();var t=this.$options.nuxt.err?(h.a.options||h.a).layout:e.matched[0].components.default.options.layout;"function"==typeof t&&(t=t(m.context)),this.setLayout(t)}function T(e,t){if(!1!==this._pathChanged||!1!==this._queryChanged){var n=Object(l.f)(e),o=Object(l.e)(e);r.default.nextTick(()=>{n.forEach((e,i)=>{if(e&&!e._isDestroyed&&e.constructor._dataRefresh&&o[i]===e.constructor&&!0!==e.$vnode.data.keepAlive&&"function"==typeof e.constructor.options.data){var t=e.constructor.options.data.call(e);for(var n in t)r.default.set(e.$data,n,t[n]);window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}),k.call(this,e)})}}function P(){return(P=Object(t.a)((function*(e){m=e.app,f=e.router,e.store;var t=new r.default(m),n=y.layout||"default";yield t.loadLayout(n),t.setLayout(n);var o=()=>{t.$mount("#__nuxt"),f.afterEach(C),f.afterEach(T.bind(t)),r.default.nextTick(()=>{!function(e){window.onNuxtReadyCbs.forEach(t=>{"function"==typeof t&&t(e)}),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(e),f.afterEach((t,n)=>{r.default.nextTick(()=>e.$nuxt.$emit("routeChanged",t,n))})}(t)})},c=yield Promise.all($(f));if(t.setTransitions=t.$options.nuxt.setTransitions.bind(t),c.length&&(t.setTransitions(_(c,f.currentRoute)),v=f.currentRoute.matched.map(e=>Object(l.b)(e.path)(f.currentRoute.params))),t.$loading={},y.error&&t.error(y.error),f.beforeEach(x.bind(t)),f.beforeEach(j.bind(t)),y.serverRendered)o();else{var h=()=>{C(f.currentRoute,f.currentRoute),k.call(t,f.currentRoute),o()};j.call(t,f.currentRoute,f.currentRoute,path=>{if(path){var e=f.afterEach((t,n)=>{e(),h()});f.push(path,void 0,e=>{e&&w(e)})}else h()})}}))).apply(this,arguments)}Object(h.b)().then((function(e){return P.apply(this,arguments)})).catch(w)}.call(this,n(25))},235:function(e,t,n){e.exports=n.p+"img/d465ab1.jpeg"},236:function(e,t,n){e.exports=n.p+"img/adea640.jpeg"},239:function(e,t,n){"use strict";var r=n(72);n.n(r).a},24:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return y}));var r=e=>e.$axios.$post("v1/door/get_user_info"),o=(e,t)=>e.$axios.$post("v1/user/update_info",t),c=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/user/show",{params:{slug:n}})},l=(e,t)=>{var{slug:n,phone:r,password:o,authCode:c}=t;return e.$axios.$post("v1/door/bind_phone",{slug:n,phone:r,password:o,authCode:c})},h=(e,t)=>{var{slug:n}=t;return e.$axios.$get("v1/message/total",{params:{slug:n},progress:!1})},d=(e,t)=>{var{phone_number:n,type:r,geetest:o}=t;return e.$axios.$post("v1/door/message",{phone_number:n,type:r,geetest:o})},m=(e,t)=>{var{access:n,secret:r,authCode:o,inviteCode:c}=t;return e.$axios.$post("v1/door/register",{access:n,secret:r,authCode:o,inviteCode:c})},f=(e,t)=>{var{access:n,secret:r,remember:o,geetest:c}=t;return e.$axios.$post("v1/door/login",{access:n,secret:r,remember:o,geetest:c})},v=e=>e.$axios.$post("v1/door/logout"),y=(e,t)=>{var{method:n,access:r,authCode:o,secret:c}=t;return e.$axios.$post("v1/door/reset_password",{method:n,access:r,authCode:o,secret:c})}},240:function(e,t,n){"use strict";var r=n(74);n.n(r).a},241:function(e,t,n){"use strict";var r=n(75);n.n(r).a},242:function(e,t,n){"use strict";var r=n(76);n.n(r).a},244:function(e,t,n){},245:function(e,t,n){},246:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return d})),n.d(t,"mutations",(function(){return m})),n.d(t,"actions",(function(){return f})),n.d(t,"getters",(function(){return v}));n(31),n(54);var r=n(2),o=n(1),c=n(24),l=n(38),h=n(17),d=()=>({user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}),m={SET_USER_INFO(e,t){var n=!(!t||!t.slug);e.user=t,e.haveAuthToken=n,e.isAuth=n,e.logging=!1},SET_USER_TOKEN(e,t){e.isLogout||(e.haveAuthToken=!!t)},SET_LOGGING(e){e.logging=!0},USER_LOGOUT(e){e.haveAuthToken=!1,e.isAuth=!1,e.logging=!1,e.isLogout=!0,e.user={}},UPDATE_USER_INFO(e,t){var{key:n,value:r}=t;o.default.set(e.user,n,r)},SOCKET_AUTO_CONNECT(e){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!1},SOCKET_ONOPEN(e,t){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!0},SOCKET_ONCLOSE(e,t){e.socket.isConnected=!1},SOCKET_ONERROR(e,t){e.socket.reconnectErr=!0},SOCKET_ONMESSAGE(e,t){if("unread_total"===t.channel)e.mailbox=t;else if("message-menu"===t.channel){var n=[];t.data.forEach(t=>{e.messageRoom[t.channel]||o.default.set(e.messageRoom,t.channel,{time:"",data:null}),n.push(Object.assign(t,{user:{}}))}),e.messageMenu.list=n,e.messageMenu.time=Object(h.randomStr)()}else e.messageRoom[t.channel].data=t,e.messageRoom[t.channel].time=Object(h.randomStr)();e.socket.isMaster&&(Object(l.set)("socket-on-message-data",t),Object(l.set)("socket-on-message-time",Date.now()))},SOCKET_RECONNECT(e,t){},SOCKET_RECONNECT_ERROR(e){e.socket.reconnectErr=!0},SET_MESSAGE_MENU(e,menu){var t=[];menu.forEach(n=>{e.messageRoom[n.channel]?o.default.set(e.messageRoom,n.channel,{time:Object(h.randomStr)(),data:null}):o.default.set(e.messageRoom,n.channel,{time:"",data:null}),n.user={},t.push(n)}),e.messageMenu.list=t,e.messageMenu.time=Object(h.randomStr)()},UPDATE_MESSAGE_MENU_USER(e,t){var{channel:n,user:r}=t;e.messageMenu.list.forEach(e=>{e.channel===n&&(e.user=r)})},DELETE_MESSAGE_MENU(e,t){e.messageMenu.list.forEach((n,r)=>{n.channel===t&&e.messageMenu.list.splice(r,1)})},INIT_MESSAGE_ROOM(e,t){o.default.set(e.messageRoom,t,{time:"",data:null})},CLEAR_NOTIFICATION(e,t){var{channel:n,count:r}=t;e.messageMenu.list.forEach((t,o)=>{t.channel===n&&(e.messageMenu.list[o].count-=r,e.mailbox.unread_message_total-=r)})},SET_USER_ROLE(e,data){e.roles=data}},f={initAuth(e){var t=this;return Object(r.a)((function*(){var{state:n,commit:r}=e;if(!n.haveAuthToken||n.logging)return null;if(n.user.slug)return n.user;try{r("SET_LOGGING");var o=yield Object(c.b)(t);return r("SET_USER_INFO",o),o}catch(e){return r("SET_USER_INFO",{}),null}}))()},refreshMailbox(e){var t=this;return Object(r.a)((function*(){var{state:n,commit:r}=e;n.socket.isConnected||r("SOCKET_ONMESSAGE",yield Object(c.c)(t,{slug:n.user.slug}))}))()},getMessageMenu(e){var t=this;return Object(r.a)((function*(){var{commit:n}=e;n("SET_MESSAGE_MENU",yield t.$axios.$get("v1/message/menu"))}))()},updateMessageMenu(e){var t=this,{state:n,commit:o}=e,c=n.user.slug;n.messageMenu.list.forEach(function(){var e=Object(r.a)((function*(e){var n=e.channel.split("@"),r=n[2];r===c&&(r=n[3]);var h=yield Object(l.getUserFromSessionStore)(t,r);o("UPDATE_MESSAGE_MENU_USER",{channel:e.channel,user:h})}));return function(t){return e.apply(this,arguments)}}())},getUserRoles(e){var{state:t,commit:n}=e;!t.roles&&t.user&&t.user.title.length&&this.$axios.$get("v1/user/roles").then(data=>{n("SET_USER_ROLE",data)}).catch(()=>{})}},v={isMine:e=>t=>!!e.isAuth&&e.user.slug===t,isAdmin:e=>!!e.isAuth&&e.user.is_admin,hasRole:e=>t=>!!e.user.is_admin||!!e.roles&&~e.roles.indexOf(t)}},247:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return h})),n.d(t,"mutations",(function(){return d})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var r=n(49),o=n.n(r),c=n(159),l=o.a.FlowStore(c),h=l.state,d=l.mutations,m=l.actions,f=l.getters},248:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return c})),n.d(t,"mutations",(function(){return l})),n.d(t,"actions",(function(){return h}));var r=n(2),o=n(123),c=()=>({myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}),l={SET_MY_TAGS_STATE(e){e.myTagsFetched=!0},SET_HOTTEST_TAGS(e,t){e.hottest_tags=t.result},SET_MY_TAGS(e,data){Object.keys(data).forEach(t=>{e.myTags.forEach(e=>{e.slug===t&&(e.children=data[t])})})}},h={getMyTags(e){var t=this;return Object(r.a)((function*(){var{rootState:n,state:r,commit:c}=e;!r.myTagsFetched&&n.isAuth&&(c("SET_MY_TAGS_STATE"),c("SET_MY_TAGS",yield Object(o.a)(t,{slug:n.user.slug})))}))()},getHottestTags(e){var{state:t,commit:n}=e;if(!t.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then(e=>{n("SET_HOTTEST_TAGS",e)}).catch(()=>{})}}},249:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return l})),n.d(t,"mutations",(function(){return d})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));n(55);var r=n(2),o=n(1),c=n(184),l=()=>({}),h=(e,t)=>"".concat(e,"-").concat(t),d={set(e){var{type:t,data:data,slug:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!1;Object.keys(data).forEach(n=>{if("object"==typeof data[n]){var c=data[n];Object.keys(c).forEach(e=>{c["".concat(e,"_loading")]=!1}),o.default.set(e,"".concat(t,"-").concat(n),c)}else r=!0,data["".concat(n,"_loading")]=!1}),r&&o.default.set(e,"".concat(t,"-").concat(n),data)},PUSH_USERS(e,t){var{type:n,slug:r,key:o,data:data}=t,c=h(n,r),l="".concat(o,"_users"),d=e[c][l].list,m=data.list.map(e=>e.slug);e[c][l].list=d.filter(e=>!m.includes(e.slug)).concat(data.list),e[c][l].total=data.total,e[c][l].no_more=data.no_more,e[c][l].loading=!1},SET_STATE(e,t){var{type:n,slug:r,key:o,result:c,user:l}=t;if(0!==c){var d=h(n,r),m="".concat(o,"_users");e[d][o]=c>0,e[d]["".concat(o,"_loading")]=!1,e[d][m]&&(c>0?(e[d][m].total++,e[d][m].no_more=!1,e[d][m].list.unshift(l)):(e[d][m].total--,e[d][m].list.forEach((t,n)=>{t.slug===l.slug&&e[d][m].list.splice(n,1)})))}},SET_STATUS(e,t){var{type:n,slug:r,key:o,value:c}=t;e[h(n,r)]["".concat(o,"_users")][c]=!0},SET_LOADING(e,t){var{type:n,slug:r,action:o,result:c}=t;e[h(n,r)]["".concat(o,"_loading")]=c}},m={users(e,t){var n=this;return Object(r.a)((function*(){var{state:r,commit:o}=e,{type:l,slug:d,key:m}=t,f=r[h(l,d)]["".concat(m,"_users")];if(!f.loading&&!f.no_more){o("SET_STATUS",{type:l,key:m,slug:d,value:"loading"});try{o("PUSH_USERS",{type:l,slug:d,key:m,data:yield c.users({ctx:n,type:m,slug:d,last_slug:f.list.length?f.list[f.list.length-1].slug:0,model:l,take:15})})}catch(e){o("SET_STATUS",{type:l,key:m,slug:d,value:"error"})}}}))()},toggle(e,t){var n=this;return Object(r.a)((function*(){var{state:r,commit:o,rootState:c}=e,{type:l,slug:d,action:m,params:f}=t;if(!r[h(l,d)]["".concat(m,"_loading")]){o("SET_LOADING",{action:m,type:l,slug:d,result:!0});try{var v=yield n.$axios.$post("v1/social/toggle",f),{user:y}=c;return o("SET_STATE",{type:l,key:m,slug:d,result:v,user:{slug:y.slug,nickname:y.nickname,avatar:y.avatar,created_at:parseInt(Date.now()/1e3)}}),{success:!0,result:v}}catch(e){return o("SET_LOADING",{action:m,type:l,slug:d,result:!1}),{success:!1}}}}))()}},f={get:e=>(t,n)=>e[h(t,n)]}},300:function(e,t,n){"use strict";var r=n(77);n.n(r).a},38:function(e,t,n){"use strict";n.r(t),n.d(t,"getUserFromSessionStore",(function(){return c})),n.d(t,"setUserSessionStore",(function(){return l})),n.d(t,"has",(function(){return h})),n.d(t,"expired",(function(){return d})),n.d(t,"set",(function(){return m})),n.d(t,"get",(function(){return f})),n.d(t,"remove",(function(){return v})),n.d(t,"clear",(function(){return y}));var r=n(2),o=n(24),c=(e,t)=>{var n=function(){var n=Object(r.a)((function*(){var n=yield Object(o.d)(e,{slug:t});return n&&l(n),n}));return function(){return n.apply(this,arguments)}}();try{return sessionStorage.getItem("user-item-".concat(t))?JSON.parse(sessionStorage.getItem("user-item-".concat(t))):n()}catch(e){return n()}},l=e=>{try{sessionStorage.setItem("user-item-".concat(e.slug),JSON.stringify(e))}catch(e){}},h=e=>{try{return null!==localStorage.getItem(e)}catch(e){return!1}},d=(e,t)=>{try{var n=localStorage.getItem("".concat(e,"-created-at"));return!n||Date.now()-n>1e3*t}catch(e){return!0}},m=(e,t)=>{try{localStorage.setItem(e,JSON.stringify(t)),localStorage.setItem("".concat(e,"-created-at"),Date.now())}catch(e){}},f=(e,t)=>{try{var n=localStorage.getItem(e);return null===n?t:JSON.parse(n)}catch(e){return t}},v=e=>{try{localStorage.removeItem(e)}catch(e){}},y=()=>{try{localStorage.clear()}catch(e){}}},60:function(e,t,n){"use strict";n(54),n(33);var r=e=>{if(!e)return"";var t="";return e.split("; ").forEach(e=>{e.startsWith("JWT-TOKEN=")&&(t=e.split("JWT-TOKEN=")[1])}),t};t.a=e=>{var t="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;var n;try{n=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(e){n={authToken:""}}(t=n.authToken)||(t=r(document.cookie))}else t=r(e.context.req.headers.cookie);return!t&&e&&(t=e.context.query.token),t=~["undefined","null"].indexOf(t)?"":t,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=t),t}},72:function(e,t,n){},74:function(e,t,n){},75:function(e,t,n){},76:function(e,t,n){},77:function(e,t,n){},82:function(e,t,n){"use strict";n(14),n(9),n(55),n(19);var r=n(1),o=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)},c=window.cancelIdleCallback||function(e){clearTimeout(e)},l=window.IntersectionObserver&&new window.IntersectionObserver(e=>{e.forEach(e=>{var{intersectionRatio:t,target:link}=e;t<=0||link.__prefetch()})});t.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted(){this.prefetch&&!this.noPrefetch&&(this.handleId=o(this.observe,{timeout:2e3}))},beforeDestroy(){c(this.handleId),this.__observed&&(l.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe(){l&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),l.observe(this.$el),this.__observed=!0)},shouldPrefetch(){return this.getPrefetchComponents().length>0},canPrefetch(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map(e=>e.components.default).filter(e=>"function"==typeof e&&!e.options&&!e.__prefetched)},prefetchLink(){if(this.canPrefetch()){l.unobserve(this.$el);var e=this.getPrefetchComponents();for(var t of e){var n=t();n instanceof Promise&&n.catch(()=>{}),t.__prefetched=!0}}}}}}},[[210,64,9,65]]]); \ No newline at end of file diff --git a/.nuxt/dist/client/cbe0787e6132307898b4.js b/.nuxt/dist/client/cbe0787e6132307898b4.js deleted file mode 100644 index 728c8db0..00000000 --- a/.nuxt/dist/client/cbe0787e6132307898b4.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{0:function(t,e,n){"use strict";n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return v})),n.d(e,"a",(function(){return y})),n.d(e,"o",(function(){return w})),n.d(e,"e",(function(){return x})),n.d(e,"f",(function(){return _})),n.d(e,"c",(function(){return j})),n.d(e,"n",(function(){return k})),n.d(e,"h",(function(){return O})),n.d(e,"p",(function(){return $})),n.d(e,"k",(function(){return C})),n.d(e,"m",(function(){return T})),n.d(e,"d",(function(){return R})),n.d(e,"b",(function(){return P})),n.d(e,"g",(function(){return N})),n.d(e,"l",(function(){return A}));n(37),n(27),n(35),n(161),n(34),n(169),n(30),n(163),n(164),n(46),n(8),n(249),n(28),n(73),n(36),n(267),n(74),n(269),n(76),n(50),n(20),n(38);var r=n(70),o=n(15),c=(n(29),n(2)),l=n(80),h=n(1);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function _(t){return x(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function j(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function k(t,e){return Promise.all(j(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=w(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function O(t){return S.apply(this,arguments)}function S(){return(S=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,k(e);case 4:return t.abrupt("return",d({},e,{meta:x(e).map((function(t,n){return d({},t.options.meta,{},(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function $(t,e){return E.apply(this,arguments)}function E(){return(E=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,l,h,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=B(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([O(n.route),O(n.from)]);case 3:c=t.sent,l=Object(r.a)(c,2),h=l[0],f=l[1],n.route&&(e.context.route=h),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function C(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():T(t[0],e).then((function(){return C(t.slice(1),e)}))}function T(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function R(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function P(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){l.unobserve(this.$el);var t=this.getPrefetchComponents(),e=!0,n=!1,r=void 0;try{for(var o,c=t[Symbol.iterator]();!(e=(o=c.next()).done);e=!0){var h=o.value,f=h();f instanceof Promise&&f.catch((function(){})),h.__prefetched=!0}}catch(t){n=!0,r=t}finally{try{e||null==c.return||c.return()}finally{if(n)throw r}}}}}}},152:function(t,e,n){"use strict";e.a={}},162:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return h})),n.d(e,"e",(function(){return f}));n(30);var r=function(t,e){var n=e.slug;return t.$axios.$get("v1/tag/show",{params:{slug:n}})},o=function(t,e){var n=e.name,r=e.parent_slug;return t.$axios.$post("v1/tag/create",{name:n,parent_slug:r})},c=function(t,e){var n=e.name,r=e.slug,o=e.avatar,c=e.alias,l=e.intro;return t.$axios.$post("v1/tag/update",{name:n,slug:r,avatar:o,alias:c,intro:l})},l=function(t,e){var n=e.slug;return t.$axios.$post("v1/tag/delete",{slug:n})},h=function(t,e){var n=e.slug;return t.$axios.$get("v1/tag/bookmarks",{params:{slug:n}})},f=function(t,e){var n=e.slug,r=e.page,o=e.take;return t.$axios.$get("v1/tag/children",{params:{slug:n,page:r,take:o}})}},202:function(t,e,n){t.exports=n.p+"img/b07f58f.jpeg"},205:function(t,e,n){"use strict";n.r(e),n.d(e,"getUserMessage",(function(){return r})),n.d(e,"getUserRelation",(function(){return o})),n.d(e,"getUserDrafts",(function(){return c})),n.d(e,"getUserTimeline",(function(){return l})),n.d(e,"getPinComments",(function(){return h})),n.d(e,"getTagFlows",(function(){return f})),n.d(e,"getATField",(function(){return d})),n.d(e,"getZoneQuestions",(function(){return m})),n.d(e,"getMixinSearch",(function(){return v})),n.d(e,"getTimeline",(function(){return y})),n.d(e,"getFlowRecommendedIndex",(function(){return w})),n.d(e,"tagHottest",(function(){return x})),n.d(e,"getBangumiQuestionTrials",(function(){return _})),n.d(e,"getIdolFans",(function(){return j}));n(8),n(36),n(38),n(45);var r=function(t){var e=t.$axios,n=t.channel,r=t.since_id,o=t.is_up,c=t.count;return e.$get("v1/message/history",{params:{channel:n,since_id:r,count:c,is_up:o}})},o=function(t){var e=t.$axios,n=t.seen_ids,r=t.slug,o=t.relation;return e.$get("v1/user/relation",{params:{seen_ids:n,slug:r,relation:o}})},c=function(t){var e=t.$axios,n=t.page,r=t.count;return e.$get("v1/pin/drafts",{params:{page:n,count:r}})},l=function(t){var e=t.$axios,n=t.page,r=t.count,o=t.slug;return e.$get("v1/user/timeline",{params:{page:n,count:r,slug:o}})},h=function(t){var e=t.$axios,n=t.sort,r=t.slug,o=t.count,c=t.last_id,l=t.seen_ids,h=t.mode,f=t.page;return e.$get("v1/comment/list",{params:{sort:n,slug:r,count:o,last_id:c,seen_ids:l,mode:h,page:f}})},f=function(t){var e=t.$axios,n=t.slug,r=t.sort,time=t.time,o=t.take,c=t.seen_ids,l=t.last_id;return new Promise((function(t,h){Promise.all([e.$get("v1/flow/pins",{params:{slug:n,sort:r,time:time,take:o,is_up:0,spec_id:"newest"===r?l:c}}),new Promise((function(t){return setTimeout(t,400)}))]).then((function(data){t(data[0])})).catch(h)}))},d=function(t){var e=t.$axios,n=t.page,r=t.count,o=t.sort,c=t.slug;return new Promise((function(t,l){Promise.all([e.$get("v1/atfield/flow",{params:{page:n,count:r,sort:o,slug:c}}),new Promise((function(t){return setTimeout(t,400)}))]).then((function(data){t(data[0])})).catch(l)}))},m=function(t){var e=t.$axios,n=t.slug;return e.$get("v1/atfield/list",{params:{slug:n}})},v=function(t){var e=t.$axios,n=t.page,r=t.type,q=t.q;return e.$get("v1/search/mixin",{params:{page:n,type:r,q:q}})},y=function(t){var e=t.$axios,n=t.type,r=t.slug;return e.$get("v1/".concat(n,"/timeline"),{params:{slug:r}})},w=function(t){var e=t.$axios,n=t.seen_ids;return e.$get("v1/flow/index",{params:{seen_ids:n}})},x=function(t){var e=t.$axios,n=t.page,r=t.take;return e.$get("v1/tag/hottest",{params:{page:n,take:r}})},_=function(t){var e=t.$axios,n=t.page,r=t.take,o=t.bangumi_slug,c=t.user_slug,l=t.status,h=t.sort;return e.$get("v1/join/flow",{params:{page:n,take:r,bangumi_slug:o,user_slug:c,status:l,sort:h}})},j=function(t){var e=t.$axios,n=t.page,r=t.take,o=t.slug,c=t.sort;return e.$get("v1/idol/fans",{params:{page:n,take:r,slug:o,sort:c}})}},224:function(t,e,n){"use strict";n(30),n(45);var r=n(170),o=n.n(r),c=n(229),l=n.n(c),h=n(104),f=n(39),d=n(225),m={components:{ElBadge:l.a,ElSwitch:o.a,VSearch:d.a},props:{showUser:{type:Boolean,default:!0}},data:function(){return{night_mode:!1}},computed:{headers:function(){return[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}]},isAuth:function(){return this.$store.state.isAuth},user:function(){return this.$store.state.user},mailbox:function(){return this.$store.state.mailbox},headerType:function(){this.$route.name;return"fixed"}},mounted:function(){var t=this;this.$channel.$when("user-signed",(function(){t.getUnreadMessageCount()}))},methods:{handleLogout:function(){Object(f.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn:function(){this.$channel.$emit("sign-in")},getUnreadMessageCount:function(){var t=this;this.$store.dispatch("refreshMailbox");var e=Date.now();window.addEventListener("mousemove",Object(h.b)(3e3,(function(){e=Date.now()}))),setInterval((function(){"visible"===document.visibilityState&&!t.$store.state.socket.isConnected&&Date.now()-e<3e4&&t.$store.dispatch("refreshMailbox")}),1e4)},handleNightModeSwitch:function(){this.$toast.success("开个玩笑,还没支持~")}}},v=(n(277),n(19)),component=Object(v.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{attrs:{id:"page-header"}},[n("div",{staticClass:"header-text",class:"header-"+t.headerType},[n("div",{staticClass:"container nav"},[n("nav",{staticClass:"left"},[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),t._v(" "),n("VSwitcher",{attrs:{headers:t.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},t._l(t.headers,(function(e,r){return n("NLink",{key:r,attrs:{slot:"tab-"+r,to:e.route},slot:"tab-"+r},[n("span",{domProps:{textContent:t._s(e.name)}})])})),1)],1),t._v(" "),n("div",{staticClass:"right"},[n("div",{staticClass:"search-container"},[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),t._v(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],1),t._v(" "),t.showUser?[t.isAuth?[n("div",{staticClass:"user-panel icon-link"},[n("NLink",{staticClass:"avatar",attrs:{to:t.$alias.user(t.user.slug)}},[n("VImg",{attrs:{src:t.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:t.user.nickname}})],1),t._v(" "),n("div",{staticClass:"user-popover"},[n("p",{staticClass:"nickname oneline",domProps:{innerHTML:t._s(t.user.nickname)}}),t._v(" "),n("div",{staticClass:"field"},[t._m(0),t._v(" "),n("div",{staticClass:"value"},[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:t.handleNightModeSwitch},model:{value:t.night_mode,callback:function(e){t.night_mode=e},expression:"night_mode"}})],1)]),t._v(" "),n("NLink",{attrs:{to:t.$alias.user(t.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),t._v(" "),n("span",[t._v("设置")])])])]),t._v(" "),n("button",{staticClass:"sign-out",on:{click:t.handleLogout}},[t._v("\n 退出\n ")])],1)],1),t._v(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:t.$alias.user(t.user.slug,"message")}},[n("ElBadge",{attrs:{value:t.mailbox.unread_notice_total+t.mailbox.unread_message_total,hidden:!t.mailbox.unread_message_total&&!t.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:t.handleSignIn}},[t._v("\n 登录\n ")]),t._v(" "),n("NLink",{attrs:{to:t.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[t._v("\n 登录  \n ")])],1)]]:t._e(),t._v(" "),n("div",{staticClass:"creator-wrap only-pc"},[n("NLink",{attrs:{target:"_blank",to:t.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[t._v("\n 投稿\n ")])],1)],1)],2)])]),t._v(" "),n("div",{staticClass:"header-shim"})])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"label"},[e("i",{staticClass:"iconfont ic-night"}),this._v(" "),e("span",[this._v("夜间模式")])])}],!1,null,null,null);e.a=component.exports},225:function(t,e,n){"use strict";n(35),n(59),n(30),n(77),n(234),n(45);var r={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data:function(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion:function(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted:function(){var t=this;this.$watch("value",(function(e){t.word=e,t.typing=!0,t.selectedIndex=-1,t.handleEnter(e)})),this.$watch("word",(function(e){t.$emit("input",e)})),this.$watch("$route",(function(e){"search"===e.name&&(t.word=e.query.q,t.selectedType=e.query.type,setTimeout((function(){t.typing=!1}),0))})),this.getSearchTags()},methods:{getSearchTags:function(){var t=this;this.showSuggestion&&this.$nextTick((function(){t.$cache.expired("search-all-tags",86400)?t.$axios.$get("v1/search/tags").then((function(e){t.tags=e,t.$cache.set("search-all-tags",e),t.word&&(t.handleEnter(t.word),t.filteredSelect.length&&(t.handleInputFocus(),t.typing=!0))})).catch((function(){})):t.tags=t.$cache.get("search-all-tags")}))},submit:function(){var q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter:function(t){this.filteredSelect=t?this.tags.filter((function(option){return option.alias.includes(t)||option.name.includes(t)})):[]},handleInputFocus:function(){this.state="focus",this.$emit("focus")},handleInputBlur:function(){this.state="blur",this.$emit("blur")}}},o=(n(276),n(19)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"search-input-wrap",class:"search-"+t.state,attrs:{action:"#",method:"get"},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("button",{staticClass:"search-input-btn",attrs:{type:"submit"}},[t._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),t._v(" "),n("div",{staticClass:"search-input-text"},[n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.word,expression:"word",modifiers:{trim:!0}}],staticClass:"search-input",attrs:{placeholder:t.placeholder,autofocus:t.autofocus,type:"text",name:"q","aria-autocomplete":"both","aria-haspopup":"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off",role:"combobox",spellcheck:"false",maxlength:"50"},domProps:{value:t.word},on:{focus:t.handleInputFocus,blur:[t.handleInputBlur,function(e){return t.$forceUpdate()}],input:function(e){e.target.composing||(t.word=e.target.value.trim())}}})]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.displaySuggestion,expression:"displaySuggestion"}],staticClass:"search-suggestions"},t._l(t.filteredSelect,(function(e,r){return n("NLink",{key:e.id,class:{active:r===t.selectedIndex},attrs:{to:t.$alias.tag(e.slug),tag:"li"}},[n("img",{attrs:{src:t.$resize(e.avatar,{width:60})}}),t._v(" "),n("span",{domProps:{textContent:t._s(e.name)}})])})),1)])}),[],!1,null,null,null);e.a=component.exports},230:function(t,e){},25:function(t,e,n){"use strict";n.r(e),n.d(e,"convertTA",(function(){return r})),n.d(e,"randomStr",(function(){return o})),n.d(e,"adjustDate",(function(){return c})),n.d(e,"shortenNumber",(function(){return l})),n.d(e,"timeAgo",(function(){return h})),n.d(e,"checkInView",(function(){return f})),n.d(e,"on",(function(){return d})),n.d(e,"off",(function(){return m}));n(27),n(8),n(28),n(73),n(74);var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?"我":0===t?"TA":1===t?"他":2===t?"她":"TA"},o=function(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(3,6))},c=function(time){if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);var t=new Date(time);return"Invalid Date"===t.toString()&&(t=new Date(time.replace(/-/g,"/"))),t},l=function(t){return t>1e3?"".concat(Math.floor(t/1e3*10)/10,"k"):t},h=function(time){var t=c(time),e=Date.now()-t.getTime(),n=[t.getFullYear(),"0".concat(t.getMonth()+1).substr(-2),"0".concat(t.getDate()).substr(-2),"0".concat(t.getHours()).substr(-2),"0".concat(t.getMinutes()).substr(-2)];if(e>31536e6||e<=0)return"".concat(n[0],"-").concat(n[1],"-").concat(n[2]);var r=(new Date).setHours(0,0,0,0);return r1&&void 0!==arguments[1]?arguments[1]:1;if(!t)return!1;var rect=t.getBoundingClientRect();return rect.top0&&rect.left0},d=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,t,e){element&&t&&e&&element.addEventListener(t,e,!1)}:function(element,t,e){element&&t&&e&&element.attachEvent("on"+t,e)}}(),m=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,t,e){element&&t&&element.removeEventListener(t,e,!1)}:function(element,t,e){element&&t&&element.detachEvent("on"+t,e)}}()},252:function(t,e,n){t.exports=n(253)},253:function(t,e,n){"use strict";n.r(e),function(t){n(37),n(62),n(92),n(27),n(35),n(59),n(34),n(30),n(46),n(8),n(28),n(77),n(36),n(174),n(20),n(38);var e=n(15),r=(n(29),n(2)),o=(n(175),n(260),n(265),n(266),n(1)),c=n(226),l=n(152),h=n(0),f=n(26),d=n(113);o.default.component(d.a.name,d.a),o.default.component("NLink",d.a),t.fetch||(t.fetch=c.a);var m,v,y=[],w=window.__NUXT__||{};Object.assign(o.default.config,{silent:!0,performance:!1});var x=o.default.config.errorHandler||console.error;function _(t,e,n){var r=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:w,n=arguments.length>2?arguments[2]:void 0;return x.call(this,t,e,n)},c.default.use(v.a);var _={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(y.e)(t);o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop}))?r={x:0,y:0}:o.some((function(t){return t.options.scrollToTop}))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return t.path===e.path&&t.hash!==e.hash&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/about",component:function(){return Object(y.j)(n.e(13).then(n.bind(null,680)))},props:!1,name:"about",children:[{path:"managers",component:function(){return Object(y.j)(n.e(14).then(n.bind(null,681)))},props:!1,name:"about-index-managers"}]},{path:"/search",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(69),n.e(34)]).then(n.bind(null,673)))},props:!1,name:"search"},{path:"/sign",component:function(){return Object(y.j)(Promise.all([n.e(6),n.e(35)]).then(n.bind(null,682)))},props:!1,name:"sign"},{path:"/write",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(59)]).then(n.bind(null,670)))},props:!1,name:"write"},{path:"/app/admin",component:function(){return Object(y.j)(n.e(17).then(n.bind(null,683)))},props:!1,name:"app-admin"},{path:"/callback/auth-error",component:function(){return Object(y.j)(n.e(29).then(n.bind(null,684)))},props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:function(){return Object(y.j)(n.e(30).then(n.bind(null,685)))},props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:function(){return Object(y.j)(n.e(31).then(n.bind(null,686)))},props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:function(){return Object(y.j)(n.e(60).then(n.bind(null,687)))},props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(61)]).then(n.bind(null,688)))},props:!1,name:"zone-bangumi"},{path:"/zone/game",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(62)]).then(n.bind(null,689)))},props:!1,name:"zone-game"},{path:"/zone/topic",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(63)]).then(n.bind(null,690)))},props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(15)]).then(n.bind(null,691)))},props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.bind(null,692)))},props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:function(){return Object(y.j)(n.e(18).then(n.bind(null,693)))},props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:function(){return Object(y.j)(n.e(19).then(n.bind(null,694)))},props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:function(){return Object(y.j)(n.e(20).then(n.bind(null,695)))},props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.bind(null,696)))},props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:function(){return Object(y.j)(n.e(22).then(n.bind(null,697)))},props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(67),n.e(23)]).then(n.bind(null,698)))},props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:function(){return Object(y.j)(Promise.all([n.e(68),n.e(24)]).then(n.bind(null,699)))},props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:function(){return Object(y.j)(n.e(25).then(n.bind(null,700)))},props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(26)]).then(n.bind(null,701)))},props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(27)]).then(n.bind(null,702)))},props:!1,name:"app-user-edit"},{path:"/app/user/list",component:function(){return Object(y.j)(n.e(28).then(n.bind(null,677)))},props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(33)]).then(n.bind(null,668)))},props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(38)]).then(n.bind(null,672)))},props:!0,name:"tag-slug"},{path:"/user/:slug?",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(40)]).then(n.bind(null,678)))},props:!0,name:"user-slug",children:[{path:"draft",component:function(){return Object(y.j)(n.e(41).then(n.bind(null,703)))},props:!0,name:"user-slug-draft"},{path:"emotion",component:function(){return Object(y.j)(n.e(47).then(n.bind(null,704)))},props:!0,name:"user-slug-emotion"},{path:"message",component:function(){return Object(y.j)(Promise.all([n.e(71),n.e(48)]).then(n.bind(null,669)))},props:!0,name:"user-slug-message"},{path:"setting",component:function(){return Object(y.j)(n.e(49).then(n.bind(null,705)))},props:!0,children:[{path:"",component:function(){return Object(y.j)(n.e(51).then(n.bind(null,706)))},name:"user-slug-setting"},{path:"basic",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(3),n.e(7),n.e(50)]).then(n.bind(null,707)))},name:"user-slug-setting-basic"},{path:"oauth2",component:function(){return Object(y.j)(n.e(52).then(n.bind(null,708)))},name:"user-slug-setting-oauth2"}]},{path:"social",component:function(){return Object(y.j)(n.e(53).then(n.bind(null,709)))},props:!0,children:[{path:"",component:function(){return Object(y.j)(n.e(57).then(n.bind(null,710)))},name:"user-slug-social"},{path:"followers",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(54)]).then(n.bind(null,711)))},name:"user-slug-social-followers"},{path:"following",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(55)]).then(n.bind(null,712)))},name:"user-slug-social-following"},{path:"friends",component:function(){return Object(y.j)(Promise.all([n.e(5),n.e(56)]).then(n.bind(null,713)))},name:"user-slug-social-friends"}]},{path:"timeline",component:function(){return Object(y.j)(n.e(58).then(n.bind(null,671)))},props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:function(){return Object(y.j)(n.e(42).then(n.bind(null,714)))},props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:function(){return Object(y.j)(n.e(43).then(n.bind(null,715)))},name:"user-slug-emotion-category-bangumi"},{path:"game",component:function(){return Object(y.j)(n.e(44).then(n.bind(null,716)))},name:"user-slug-emotion-category-game"},{path:"notebook",component:function(){return Object(y.j)(n.e(45).then(n.bind(null,717)))},name:"user-slug-emotion-category-notebook"},{path:"topic",component:function(){return Object(y.j)(n.e(46).then(n.bind(null,718)))},name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:function(){return Object(y.j)(n.e(36).then(n.bind(null,679)))},props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:function(){return Object(y.j)(Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(37)]).then(n.bind(null,674)))},props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:function(){return Object(y.j)(Promise.all([n.e(70),n.e(39)]).then(n.bind(null,675)))},props:!0,name:"tag-slug-qa"},{path:"/",component:function(){return Object(y.j)(n.e(32).then(n.bind(null,719)))},props:!1,name:"index"}],fallback:!1};var j,k={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props;data.nuxtChild=!0;for(var o=n,c=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var f=c[h]||l,d={};O.forEach((function(t){void 0!==f[t]&&(d[t]=f[t])}));var m={};S.forEach((function(t){"function"==typeof f[t]&&(m[t]=f[t].bind(o))}));var v=m.beforeEnter;if(m.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),v)return v.call(o,t)},!1===f.css){var y=m.leave;(!y||y.length<2)&&(m.leave=function(t,e){y&&y.call(o,t),o.$nextTick(e)})}var w=t("routerView",data);return r.keepAlive&&(w=t("keep-alive",{props:r.keepAliveProps},[w])),t("transition",{props:d,on:m},[w])}},O=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],S=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],$={name:"nuxt-error",components:{VHeader:n(224).a},props:{error:{type:Object,default:null}},computed:{statusCode:function(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message:function(){return this.error&&this.error.message}},mounted:function(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin:function(){this.$channel.$emit("sign-in")},toastMessage:function(){this.$toast.error(this.message)}},head:{title:"出错了"}},E=(n(278),n(19)),C=Object(E.a)($,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"error-page"}},[r("VHeader",{attrs:{"show-user":!1}}),t._v(" "),r("div",{staticClass:"error-main"},[401===t.statusCode?r("div",{attrs:{id:"error-401"}},[r("img",{attrs:{src:n(273),alt:"error-401"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v(t._s(t.message||"请登录后重新访问"))]),t._v(" "),r("button",{staticClass:"back",on:{click:t.handleLogin}},[t._v("\n 登录\n ")])]):403===t.statusCode?r("div",{attrs:{id:"error-403"}},[r("img",{attrs:{src:n(202),alt:"error-403"}}),t._v(" "),r("h3",[t._v(t._s(t.message||"您没有权限访问该页面"))]),t._v(" "),r("a",{staticClass:"back",attrs:{href:"/"}},[t._v("回到首页")])]):404===t.statusCode?r("div",{attrs:{id:"error-404"}},[r("img",{attrs:{src:n(274),alt:"error-404"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v("您要找的页面不存在")]),t._v(" "),r("div",{staticClass:"subtitle"},[t._v("\n 不存在的内容,或者正在审核中。\n ")]),t._v(" "),r("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[t._v("\n 返回首页\n ")]),t._v(" "),r("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1):t.statusCode>=500?r("div",{attrs:{id:"error-500"}},[r("img",{attrs:{src:n(202),alt:"error-500"},on:{click:t.toastMessage}}),t._v(" "),r("h3",[t._v("服务器出错了")]),t._v(" "),r("div",{staticClass:"subtitle"},[t._v("\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n ")]),t._v(" "),r("NLink",{staticClass:"back",attrs:{to:"/"}},[t._v("\n 返回首页\n ")])],1):t._e()])],1)}),[],!1,null,null,null).exports,T=(n(28),n(73),n(74),n(70)),R={name:"Nuxt",components:{NuxtChild:k,NuxtError:C},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(y.b)(this.$route.matched[0].path)(this.$route.params);var t=Object(T.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occured while showing the error page"),t("p","Unfortunately an error occured and while showing the error page another error occured"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(C,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},P=(n(62),n(27),n(36),n(38),n(45),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100?(t.skipTimerCount=1,t.reversed=!t.reversed):t.percent<=0&&(t.skipTimerCount=1,t.reversed=!t.reversed)))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),N=(n(279),Object(E.a)(P,void 0,void 0,!1,null,null,null).exports),A=(n(280),n(281),n(282),{_app:function(){return n.e(10).then(n.bind(null,720)).then((function(t){return t.default||t}))},_default:function(){return n.e(11).then(n.bind(null,722)).then((function(t){return t.default||t}))},_web:function(){return Promise.all([n.e(66),n.e(6),n.e(12)]).then(n.bind(null,676)).then((function(t){return t.default||t}))}}),L={},M={head:{titleTemplate:function(t){return t?"".concat(t," - ").concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"):"".concat("咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur")},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:function(t){return t?"".concat(t,",").concat("咔哩吧是一个二次元社区"):"".concat("咔哩吧是一个二次元社区")}},{hid:"keywords",name:"keywords",content:"",template:function(t){return t?"".concat(t,",").concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"):"".concat("C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交")}}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render:function(t,e){var n=t("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&C){var r=(C.options||C).layout;r&&this.setLayout("function"==typeof r?r.call(C,this.context):r)}var o=t(this.layout||"nuxt"),c=t("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),l=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[c]);return t("div",{domProps:{id:"__nuxt"}},[n,l])},data:function(){return{isOnline:!0,layout:null,layoutName:""}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){c.default.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:(j=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((e=Object(y.f)(this.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return this.$loading.start(),n=e.map((function(t){var p=[];return t.$options.fetch&&p.push(Object(y.m)(t.$options.fetch,r.context)),t.$options.asyncData&&p.push(Object(y.m)(t.$options.asyncData,r.context).then((function(e){for(var n in e)c.default.set(t.$data,n,e[n])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(n);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),this.$loading.fail(),Object(y.i)(t.t0),this.error(t.t0);case 15:this.$loading.finish();case 16:case"end":return t.stop()}}),t,this,[[5,10]])}))),function(){return j.apply(this,arguments)}),errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout:function(t){t&&L["_"+t]||(t="default"),this.layoutName=t;var e="_"+t;return this.layout=L[e],this.layout},loadLayout:function(t){var e=this,n=!t,r=!(A["_"+t]||L["_"+t]),o="_"+(n||r?"default":t);return L[o]?Promise.resolve(L[o]):A[o]().then((function(t){return L[o]=t,delete A[o],L[o]})).catch((function(t){if(e.$nuxt)return e.$nuxt.error({statusCode:500,message:t.message})}))}},components:{NuxtLoading:N}},I=(n(92),n(59),n(76),n(154));c.default.use(I.a);var D=["state","getters","actions","mutations"],U={};(U=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),z(t,e)}(n(283),"store/index.js")).modules=U.modules||{},F(n(284),"flow.js"),F(n(285),"global.js"),F(n(286),"social.js");var B=U instanceof Function?U:function(){return new I.a.Store(Object.assign({strict:!1},U))};function z(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}function F(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);if(t="state"===r?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var n=Object.assign({},t);return function(){return n}}return z(t,e)}(t,o):z(t,o),D.includes(r)){var c=r;H(G(U,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=G(U,n),h=!0,f=!1,d=void 0;try{for(var m,v=D[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var y=m.value;H(l,t[y],y)}}catch(t){f=!0,d=t}finally{try{h||null==v.return||v.return()}finally{if(f)throw d}}!1===t.namespaced&&delete l.namespaced}}function G(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,r=void 0!==n&&n;if(!e.length||r&&1===e.length)return t;var o=e.shift();return t.modules[o]=t.modules[o]||{},t.modules[o].namespaced=!0,t.modules[o].modules=t.modules[o].modules||{},G(t.modules[o],e,{isProperty:r})}function H(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}for(var K=n(57),W=n.n(K),J=n(231),V=n.n(J),Q={setBaseURL:function(t){this.defaults.baseURL=t},setHeader:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=!0,o=!1,c=void 0;try{for(var l,h=(Array.isArray(n)?n:[n])[Symbol.iterator]();!(r=(l=h.next()).done);r=!0){var f=l.value;if(!e)return void delete this.defaults.headers[f][t];this.defaults.headers[f][t]=e}}catch(t){o=!0,c=t}finally{try{r||null==h.return||h.return()}finally{if(o)throw c}}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return tt(V()(t,this.defaults))}},X=function(){var t=Z[Y];Q["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Y=0,Z=["request","delete","get","head","options","post","put","patch"];Yl&&(c=parseInt(l/o*c,10),o=l),c>9999&&(o=parseInt(9999/c*o,10),c=9999),o0&&void 0!==arguments[0]?arguments[0]:"";return"/sign?redirect=".concat(encodeURIComponent(t||("undefined"==typeof window?"/":window.location.href)))},tag:function(t){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"/tag/".concat(t,"/").concat(path)},user:function(t){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"timeline";return"/user/".concat(t,"/").concat(path)},pin:function(t){return"/pin/".concat(t)},create:function(t){return t?"/write?slug=".concat(t):"/write"}},Tt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"";if(/imageMogr2/.test(t))return t;var n,r,link=t.startsWith("http")?t:"https://m1.calibur.tv/".concat(t),o=function(){if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;var t=document.createElement("canvas");if(t.getContext&&t.getContext("2d")){var e=0===t.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=e,e}return!1},c=!1===e.webP?"":o()?"/format/webp":"",l=void 0===e.mode?1:e.mode;if(1===l&&!e.width||!e.width&&!e.height)return"".concat(link,"?imageMogr2/auto-orient/strip").concat(c);var h=function(){if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;var t=window.devicePixelRatio;return window.computedRadio=t,t},f=h();return 1===l?(n="/w/".concat(e.width*f|0),r=e.height?"/h/".concat(e.height*f|0):"/h/".concat(e.width*f|0)):(n=e.width?"/w/".concat(e.width*f|0):"",r=e.height?"/h/".concat(e.height*f|0):""),"".concat(link,"?imageMogr2/auto-orient/strip|imageView2/").concat(l).concat(n).concat(r).concat(c)},Rt=function(t){var e=t.store;c.default.use({install:function(t){t.prototype.$alias=Ct,t.prototype.$utils=jt,t.prototype.$resize=Tt,t.prototype.$hasRole=e.getters.hasRole,t.prototype.$isMine=e.getters.isMine}})},Pt=n(232),Nt=n.n(Pt),At=(n(338),n(160)),Lt=n.n(At),Mt=n(109),It=n.n(Mt),qt=(n(342),n(110)),Dt=n.n(qt),Ut=n(15),Bt=n(47),zt=n(48),Ft=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500;return new Promise((function(e){setTimeout(e,t)}))},Gt=function(){function t(e){Object(Bt.a)(this,t),this.isMobile=e}return Object(zt.a)(t,[{key:"error",value:function(t){this.stop();var time,text="";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text||"操作失败",iconClass:"iconfont icon-cuowuhttp"}):It.a.error(text),Ft(time)}},{key:"success",value:function(t){this.stop();var time,text="操作成功";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text,iconClass:"iconfont icon-caozuochenggong"}):It.a.success(text),Ft(time)}},{key:"info",value:function(t){this.stop();var time,text="操作成功";return"object"===Object(Ut.a)(t)?(text=t.tip,time=t.time||1500):(text=t,time=1500),this.isMobile?Dt()({duration:time,message:text}):It.a.info(text),Ft(time)}},{key:"loading",value:function(t){var e=this;this.stop();var time,n="";if("object"===Object(Ut.a)(t)?(n=t.tip,time=t.time):n=t,Lt.a.open({text:n||"加载中…",spinnerType:"triple-bounce"}),time)return Ft(time).then((function(){return e.stop()}))}},{key:"stop",value:function(){Lt.a.close()}}]),t}(),Ht={data:function(){return{handler:{},events:{}}},methods:{socketConnect:function(){this.$connect()},socketDisconnect:function(){this.$disconnect()},send:function(data){this.$socket&&this.$socket.sendObj(data)},$when:function(t,e){this.events[t]?e(this.events[t]):this.handler[t]?this.handler[t].push(e):this.handler[t]=[e]},$fire:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.events[t]||(this.events[t]=e,this.handler[t]&&this.handler[t].forEach((function(t){return t(e)})))}}},Kt=n(56),Wt=window.screen.width<=768;c.default.use({install:function(t){t.prototype.$cookie=Nt.a,t.prototype.$channel=new t(Ht),t.prototype.$toast=new Gt(Wt),t.prototype.$cache=Kt}});n(343);var Jt=n(111),Vt=n.n(Jt),Qt=(n(167),function(){function t(e){Object(Bt.a)(this,t),this.config=e}return Object(zt.a)(t,[{key:"init",value:function(){"undefined"!=typeof window&&void 0!==window.setShareInfo&&setShareInfo({title:this.getShareTitle(),summary:this.getShareDesc(),pic:this.getShareImage(),url:this.getShareLink(),WXconfig:{swapTitleInWX:!0,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature}})}},{key:"getShareTitle",value:function(){return this.shareData().title}},{key:"getShareLink",value:function(){return this.shareData().link}},{key:"getShareDesc",value:function(){return this.shareData().desc}},{key:"getShareImage",value:function(){return this.shareData().image}},{key:"shareData",value:function(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}]),t}()),Xt=(n(174),function(){function t(e){Object(Bt.a)(this,t),this.config=e}return Object(zt.a)(t,[{key:"init",value:function(){var t=this;"undefined"!=typeof window&&void 0!==window.wx&&(wx.config({debug:!1,appId:this.config.appId,nonceStr:this.config.nonceStr,timestamp:this.config.timestamp,signature:this.config.signature,jsApiList:["previewImage","onMenuShareTimeline","onMenuShareAppMessage","updateTimelineShareData","updateAppMessageShareData"]}),wx.ready((function(){var e=[];[].forEach.call(document.querySelectorAll(".is-full"),(function(t){var image=t.querySelector("img");if(image){var n=image.getAttribute("origin-src");n.match(/^\/\//)&&(n="http:".concat(n)),e.push(n),t.addEventListener("click",(function(){wx.previewImage({current:n,urls:e})}))}})),wx.updateTimelineShareData({title:t.getShareTitle(),link:t.getShareLink(),imgUrl:t.getShareImage(),success:function(){}}),wx.updateAppMessageShareData({title:t.getShareTitle(),desc:t.getShareDesc(),link:t.getShareLink(),imgUrl:t.getShareImage(),type:"link",success:function(){}}),wx.onMenuShareTimeline({title:t.getShareTitle(),link:t.getShareLink(),imgUrl:t.getShareImage(),success:function(){}}),wx.onMenuShareAppMessage({title:t.getShareTitle(),desc:t.getShareDesc(),link:t.getShareLink(),imgUrl:t.getShareImage(),type:"link",success:function(){}})})))}},{key:"getShareTitle",value:function(){return this.shareData().title}},{key:"getShareLink",value:function(){return this.shareData().link}},{key:"getShareDesc",value:function(){return this.shareData().desc}},{key:"getShareImage",value:function(){return this.shareData().image}},{key:"shareData",value:function(){var image=document.querySelector("[name=share-image]");return{link:window.location.href,title:document.title,desc:document.querySelector("[name=description]").content,image:image?"".concat(image.content.startsWith("http")?image.content:"https://m1.calibur.tv/".concat(image.content),"-sharejpg120"):"http://m1.calibur.tv/default-poster-sharejpg120"}}}]),t}()),Yt=function(t){if(/mqqbrowser|qq|micromessenger/.test((window.navigator.userAgent||"").toLowerCase())){var e=/qq/.test((window.navigator.userAgent||"").toLowerCase());W.a.get("".concat("https://api.calibur.tv/","v1/door/oauth2/ticket"),{params:{url:t,isQQ:e}}).then((function(t){var n=t.data.data;e?new Qt(n).init():new Xt(n).init()})).catch((function(){}))}};window.screen.width<=768&&(c.default.use({install:function(t){t.prototype.$alert=Vt.a.alert,t.prototype.$confirm=Vt.a.confirm,t.prototype.$prompt=Vt.a.prompt}}),Yt(window.location.href));var Zt=n(112),te=n.n(Zt);window.screen.width<=768||c.default.use({install:function(t){t.prototype.$alert=te.a.alert,t.prototype.$confirm=te.a.confirm,t.prototype.$prompt=te.a.prompt}});var ee=n(233),ne=n.n(ee),re=function(t){var e=t.store;c.default.use(ne.a,"".concat("wss://api.calibur.tv/ws","?token=").concat(Object(nt.a)()),{connectManually:!0,reconnection:!1,reconnectionAttempts:12,reconnectionDelay:5e3,store:e,format:"json"})},oe=function(t){t.app.router.afterEach((function(t,e){e&&e.name&&(window._hmt&&_hmt.push(["_trackPageview",t.fullPath]),Yt(window.location.origin+t.fullPath))}))};function ae(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ie(t){for(var i=1;i has been deprecated and will be removed in Nuxt 3, please use instead")),m.a.render(t,e)}})),c.default.component(k.name,k),c.default.component("NChild",k),c.default.component(R.name,R),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var se={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function ue(t){return ce.apply(this,arguments)}function ce(){return(ce=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,l,h,f,path,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new v.a(_);case 2:return n=t.sent,(r=B(e)).$router=n,o=r.registerModule,r.registerModule=function(path,t,e){return o.call(r,path,t,Object.assign({preserveState:!0},e))},l=ie({store:r,router:n,nuxt:{defaultTransition:se,transitions:[se],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},se,{name:t}):Object.assign({},se,t):se})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,l.context._errored=Boolean(t),t=t?Object(y.l)(t):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},M),r.app=l,h=e?e.next:function(t){return l.router.push(t)},e?f=n.resolve(e.url).route:(path=Object(y.d)(n.options.base,n.options.mode),f=n.resolve(path).route),t.next=13,Object(y.p)(l,{store:r,route:f,next:h,error:l.nuxt.error.bind(l),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 13:if(d=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject(key, value) has no value provided");l[t="$"+t]=e,r[t]=l[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),"function"!=typeof et){t.next=18;break}return t.next=18,et(l.context,d);case 18:if("function"!=typeof ot){t.next=21;break}return t.next=21,ot(l.context,d);case 21:t.next=24;break;case 24:if("function"!=typeof Rt){t.next=27;break}return t.next=27,Rt(l.context,d);case 27:t.next=30;break;case 30:t.next=33;break;case 33:t.next=36;break;case 36:if("function"!=typeof re){t.next=39;break}return t.next=39,re(l.context,d);case 39:if("function"!=typeof oe){t.next=42;break}return t.next=42,oe(l.context,d);case 42:t.next=45;break;case 45:return t.abrupt("return",{store:r,app:l,router:n});case 46:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},273:function(t,e,n){t.exports=n.p+"img/d465ab1.jpeg"},274:function(t,e,n){t.exports=n.p+"img/adea640.jpeg"},276:function(t,e,n){"use strict";var r=n(103);n.n(r).a},277:function(t,e,n){"use strict";var r=n(105);n.n(r).a},278:function(t,e,n){"use strict";var r=n(106);n.n(r).a},279:function(t,e,n){"use strict";var r=n(107);n.n(r).a},281:function(t,e,n){},282:function(t,e,n){},283:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return v})),n.d(e,"mutations",(function(){return y})),n.d(e,"actions",(function(){return w})),n.d(e,"getters",(function(){return x}));n(115),n(28),n(76),n(20),n(29);var r,o,c,l=n(2),h=n(1),f=n(39),d=n(56),m=n(25),v=function(){return{user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}},y={SET_USER_INFO:function(t,e){var n=!(!e||!e.slug);t.user=e,t.haveAuthToken=n,t.isAuth=n,t.logging=!1},SET_USER_TOKEN:function(t,e){t.isLogout||(t.haveAuthToken=!!e)},SET_LOGGING:function(t){t.logging=!0},USER_LOGOUT:function(t){t.haveAuthToken=!1,t.isAuth=!1,t.logging=!1,t.isLogout=!0,t.user={}},UPDATE_USER_INFO:function(t,e){var n=e.key,r=e.value;h.default.set(t.user,n,r)},SOCKET_AUTO_CONNECT:function(t){t.socket.isConnected=!0,t.socket.reconnectErr=!1,t.socket.isMaster=!1},SOCKET_ONOPEN:function(t,e){t.socket.isConnected=!0,t.socket.reconnectErr=!1,t.socket.isMaster=!0},SOCKET_ONCLOSE:function(t,e){t.socket.isConnected=!1},SOCKET_ONERROR:function(t,e){t.socket.reconnectErr=!0},SOCKET_ONMESSAGE:function(t,e){if("unread_total"===e.channel)t.mailbox=e;else if("message-menu"===e.channel){var n=[];e.data.forEach((function(e){t.messageRoom[e.channel]||h.default.set(t.messageRoom,e.channel,{time:"",data:null}),n.push(Object.assign(e,{user:{}}))})),t.messageMenu.list=n,t.messageMenu.time=Object(m.randomStr)()}else t.messageRoom[e.channel].data=e,t.messageRoom[e.channel].time=Object(m.randomStr)();t.socket.isMaster&&(Object(d.set)("socket-on-message-data",e),Object(d.set)("socket-on-message-time",Date.now()))},SOCKET_RECONNECT:function(t,e){},SOCKET_RECONNECT_ERROR:function(t){t.socket.reconnectErr=!0},SET_MESSAGE_MENU:function(t,menu){var e=[];menu.forEach((function(n){t.messageRoom[n.channel]?h.default.set(t.messageRoom,n.channel,{time:Object(m.randomStr)(),data:null}):h.default.set(t.messageRoom,n.channel,{time:"",data:null}),n.user={},e.push(n)})),t.messageMenu.list=e,t.messageMenu.time=Object(m.randomStr)()},UPDATE_MESSAGE_MENU_USER:function(t,e){var n=e.channel,r=e.user;t.messageMenu.list.forEach((function(t){t.channel===n&&(t.user=r)}))},DELETE_MESSAGE_MENU:function(t,e){t.messageMenu.list.forEach((function(n,r){n.channel===e&&t.messageMenu.list.splice(r,1)}))},INIT_MESSAGE_ROOM:function(t,e){h.default.set(t.messageRoom,e,{time:"",data:null})},CLEAR_NOTIFICATION:function(t,e){var n=e.channel,r=e.count;t.messageMenu.list.forEach((function(e,o){e.channel===n&&(t.messageMenu.list[o].count-=r,t.mailbox.unread_message_total-=r)}))},SET_USER_ROLE:function(t,data){t.roles=data}},w={initAuth:(c=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.state,r=e.commit,n.haveAuthToken&&!n.logging){t.next=3;break}return t.abrupt("return",null);case 3:if(!n.user.slug){t.next=5;break}return t.abrupt("return",n.user);case 5:return t.prev=5,r("SET_LOGGING"),t.next=9,Object(f.b)(this);case 9:return o=t.sent,r("SET_USER_INFO",o),t.abrupt("return",o);case 14:return t.prev=14,t.t0=t.catch(5),r("SET_USER_INFO",{}),t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[5,14]])}))),function(t){return c.apply(this,arguments)}),refreshMailbox:(o=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,r,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.state,r=e.commit,!n.socket.isConnected){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,Object(f.c)(this,{slug:n.user.slug});case 5:data=t.sent,r("SOCKET_ONMESSAGE",data);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)}),getMessageMenu:(r=Object(l.a)(regeneratorRuntime.mark((function t(e){var n,menu;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,this.$axios.$get("v1/message/menu");case 3:menu=t.sent,n("SET_MESSAGE_MENU",menu);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)}),updateMessageMenu:function(t){var e=this,n=t.state,r=t.commit,o=n.user.slug;n.messageMenu.list.forEach(function(){var t=Object(l.a)(regeneratorRuntime.mark((function t(n){var c,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=n.channel.split("@"),(l=c[2])===o&&(l=c[3]),t.next=5,Object(d.getUserFromSessionStore)(e,l);case 5:h=t.sent,r("UPDATE_MESSAGE_MENU_USER",{channel:n.channel,user:h});case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},getUserRoles:function(t){var e=t.state,n=t.commit;!e.roles&&e.user&&e.user.title.length&&this.$axios.$get("v1/user/roles").then((function(data){n("SET_USER_ROLE",data)})).catch((function(){}))}},x={isMine:function(t){return function(e){return!!t.isAuth&&t.user.slug===e}},isAdmin:function(t){return!!t.isAuth&&t.user.is_admin},hasRole:function(t){return function(e){return!!t.user.is_admin||!!t.roles&&~t.roles.indexOf(e)}}}},284:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return h})),n.d(e,"mutations",(function(){return f})),n.d(e,"actions",(function(){return d})),n.d(e,"getters",(function(){return m}));var r=n(71),o=n.n(r),c=n(205),l=o.a.FlowStore(c),h=l.state,f=l.mutations,d=l.actions,m=l.getters},285:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return l})),n.d(e,"mutations",(function(){return h})),n.d(e,"actions",(function(){return f}));n(46),n(20),n(29);var r,o=n(2),c=n(162),l=function(){return{myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}},h={SET_MY_TAGS_STATE:function(t){t.myTagsFetched=!0},SET_HOTTEST_TAGS:function(t,e){t.hottest_tags=e.result},SET_MY_TAGS:function(t,data){Object.keys(data).forEach((function(e){t.myTags.forEach((function(t){t.slug===e&&(t.children=data[e])}))}))}},f={getMyTags:(r=Object(o.a)(regeneratorRuntime.mark((function t(e){var n,r,o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.rootState,r=e.state,o=e.commit,!r.myTagsFetched&&n.isAuth){t.next=3;break}return t.abrupt("return");case 3:return o("SET_MY_TAGS_STATE"),t.next=6,Object(c.a)(this,{slug:n.user.slug});case 6:data=t.sent,o("SET_MY_TAGS",data);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)}),getHottestTags:function(t){var e=t.state,n=t.commit;if(!e.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then((function(t){n("SET_HOTTEST_TAGS",t)})).catch((function(){}))}}},286:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return d})),n.d(e,"mutations",(function(){return v})),n.d(e,"actions",(function(){return y})),n.d(e,"getters",(function(){return w}));n(27),n(35),n(59),n(34),n(115),n(46),n(77),n(20),n(29);var r,o,c=n(2),l=n(15),h=n(1),f=n(230),d=function(){return{}},m=function(t,e){return"".concat(t,"-").concat(e)},v={set:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,data=e.data,r=e.slug,o=!1;Object.keys(data).forEach((function(e){if("object"===Object(l.a)(data[e])){var r=data[e];Object.keys(r).forEach((function(t){r["".concat(t,"_loading")]=!1})),h.default.set(t,"".concat(n,"-").concat(e),r)}else o=!0,data["".concat(e,"_loading")]=!1})),o&&h.default.set(t,"".concat(n,"-").concat(r),data)},PUSH_USERS:function(t,e){var n=e.type,r=e.slug,o=e.key,data=e.data,c=m(n,r),l="".concat(o,"_users"),h=t[c][l].list,f=data.list.map((function(t){return t.slug}));t[c][l].list=h.filter((function(t){return!f.includes(t.slug)})).concat(data.list),t[c][l].total=data.total,t[c][l].no_more=data.no_more,t[c][l].loading=!1},SET_STATE:function(t,e){var n=e.type,r=e.slug,o=e.key,c=e.result,l=e.user;if(0!==c){var h=m(n,r),f="".concat(o,"_users");t[h][o]=c>0,t[h]["".concat(o,"_loading")]=!1,t[h][f]&&(c>0?(t[h][f].total++,t[h][f].no_more=!1,t[h][f].list.unshift(l)):(t[h][f].total--,t[h][f].list.forEach((function(e,n){e.slug===l.slug&&t[h][f].list.splice(n,1)}))))}},SET_STATUS:function(t,e){var n=e.type,r=e.slug,o=e.key,c=e.value;t[m(n,r)]["".concat(o,"_users")][c]=!0},SET_LOADING:function(t,e){var n=e.type,r=e.slug,o=e.action,c=e.result;t[m(n,r)]["".concat(o,"_loading")]=c}},y={users:(o=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,d,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state,o=e.commit,c=n.type,l=n.slug,h=n.key,!(d=r[m(c,l)]["".concat(h,"_users")]).loading&&!d.no_more){t.next=5;break}return t.abrupt("return");case 5:return o("SET_STATUS",{type:c,key:h,slug:l,value:"loading"}),t.prev=6,t.next=9,f.users({ctx:this,type:h,slug:l,last_slug:d.list.length?d.list[d.list.length-1].slug:0,model:c,take:15});case 9:v=t.sent,o("PUSH_USERS",{type:c,slug:l,key:h,data:v}),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(6),o("SET_STATUS",{type:c,key:h,slug:l,value:"error"});case 16:case"end":return t.stop()}}),t,this,[[6,13]])}))),function(t,e){return o.apply(this,arguments)}),toggle:(r=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,f,d,v,y;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state,o=e.commit,c=e.rootState,l=n.type,h=n.slug,f=n.action,d=n.params,!r[m(l,h)]["".concat(f,"_loading")]){t.next=5;break}return t.abrupt("return");case 5:return o("SET_LOADING",{action:f,type:l,slug:h,result:!0}),t.prev=6,t.next=9,this.$axios.$post("v1/social/toggle",d);case 9:return v=t.sent,y=c.user,o("SET_STATE",{type:l,key:f,slug:h,result:v,user:{slug:y.slug,nickname:y.nickname,avatar:y.avatar,created_at:parseInt(Date.now()/1e3)}}),t.abrupt("return",{success:!0,result:v});case 15:return t.prev=15,t.t0=t.catch(6),o("SET_LOADING",{action:f,type:l,slug:h,result:!1}),t.abrupt("return",{success:!1});case 19:case"end":return t.stop()}}),t,this,[[6,15]])}))),function(t,e){return r.apply(this,arguments)})},w={get:function(t){return function(e,n){return t[m(e,n)]}}}},337:function(t,e,n){"use strict";var r=n(108);n.n(r).a},39:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"e",(function(){return m})),n.d(e,"f",(function(){return v})),n.d(e,"h",(function(){return y}));var r=function(t){return t.$axios.$post("v1/door/get_user_info")},o=function(t,e){return t.$axios.$post("v1/user/update_info",e)},c=function(t,e){var n=e.slug;return t.$axios.$get("v1/user/show",{params:{slug:n}})},l=function(t,e){var n=e.slug,r=e.phone,o=e.password,c=e.authCode;return t.$axios.$post("v1/door/bind_phone",{slug:n,phone:r,password:o,authCode:c})},h=function(t,e){var n=e.slug;return t.$axios.$get("v1/message/total",{params:{slug:n},progress:!1})},f=function(t,e){var n=e.phone_number,r=e.type,o=e.geetest;return t.$axios.$post("v1/door/message",{phone_number:n,type:r,geetest:o})},d=function(t,e){var n=e.access,r=e.secret,o=e.authCode,c=e.inviteCode;return t.$axios.$post("v1/door/register",{access:n,secret:r,authCode:o,inviteCode:c})},m=function(t,e){var n=e.access,r=e.secret,o=e.remember,c=e.geetest;return t.$axios.$post("v1/door/login",{access:n,secret:r,remember:o,geetest:c})},v=function(t){return t.$axios.$post("v1/door/logout")},y=function(t,e){var n=e.method,r=e.access,o=e.authCode,c=e.secret;return t.$axios.$post("v1/door/reset_password",{method:n,access:r,authCode:o,secret:c})}},56:function(t,e,n){"use strict";n.r(e),n.d(e,"getUserFromSessionStore",(function(){return c})),n.d(e,"setUserSessionStore",(function(){return l})),n.d(e,"has",(function(){return h})),n.d(e,"expired",(function(){return f})),n.d(e,"set",(function(){return d})),n.d(e,"get",(function(){return m})),n.d(e,"remove",(function(){return v})),n.d(e,"clear",(function(){return y}));n(29);var r=n(2),o=n(39),c=function(t,e){var n=function(){var n=Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(o.d)(t,{slug:e});case 2:return(r=n.sent)&&l(r),n.abrupt("return",r);case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();try{return sessionStorage.getItem("user-item-".concat(e))?JSON.parse(sessionStorage.getItem("user-item-".concat(e))):n()}catch(t){return n()}},l=function(t){try{sessionStorage.setItem("user-item-".concat(t.slug),JSON.stringify(t))}catch(t){}},h=function(t){try{return null!==localStorage.getItem(t)}catch(t){return!1}},f=function(t,e){try{var n=localStorage.getItem("".concat(t,"-created-at"));return!n||Date.now()-n>1e3*e}catch(t){return!0}},d=function(t,e){try{localStorage.setItem(t,JSON.stringify(e)),localStorage.setItem("".concat(t,"-created-at"),Date.now())}catch(t){}},m=function(t,e){try{var n=localStorage.getItem(t);return null===n?e:JSON.parse(n)}catch(t){return e}},v=function(t){try{localStorage.removeItem(t)}catch(t){}},y=function(){try{localStorage.clear()}catch(t){}}},85:function(t,e,n){"use strict";n(28),n(76),n(50),n(20);var r=function(t){if(!t)return"";var e="";return t.split("; ").forEach((function(t){t.startsWith("JWT-TOKEN=")&&(e=t.split("JWT-TOKEN=")[1])})),e};e.a=function(t){var e="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;var n;try{n=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(t){n={authToken:""}}(e=n.authToken)||(e=r(document.cookie))}else e=r(t.context.req.headers.cookie);return!e&&t&&(e=t.context.query.token),e=~["undefined","null"].indexOf(e)?"":e,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=e),e}}},[[252,64,9,65]]]); \ No newline at end of file diff --git a/.nuxt/dist/server/client.manifest.json b/.nuxt/dist/server/client.manifest.json index 80a3d8f8..a40eafd2 100644 --- a/.nuxt/dist/server/client.manifest.json +++ b/.nuxt/dist/server/client.manifest.json @@ -21,6 +21,7 @@ "1ac99402eb7b4297a720.js", "1ada9ac4a6dc423f349c.css", "1b33a1f508fbae3639ba.js", + "1c08c6ce1f8aeedba28d.js", "1de2b68c87ccbff9c1f8.js", "1ec7249b19b4d2458dd4.js", "1fe8c07ed1836c799fec.css", @@ -108,7 +109,6 @@ "ca3c1e57d0dd5c93e023.js", "ca774fa36ca3cd173a39.css", "caa5710ea5beba9b85b4.js", - "cbe0787e6132307898b4.js", "cc1bb49e4a828c1306be.css", "ce81e1297b94829eee1c.css", "ce927bc2c66be594a486.css", @@ -155,7 +155,7 @@ "3003a48add5fa9f415cb.css", "58bc52d375a8034f4b27.js", "40414d968b80a17aced8.css", - "cbe0787e6132307898b4.js" + "1c08c6ce1f8aeedba28d.js" ], "async": [ "000beb7ce0a555ad206c.css", @@ -287,19 +287,19 @@ "modules": { "12343270": [ 111, - 84 + 85 ], "12410842": [ - 33, - 53 + 34, + 54 ], "12455310": [ - 86, - 68 + 87, + 69 ], "13961846": [ - 86, - 68 + 87, + 69 ], "14039698": [ 5, @@ -307,54 +307,54 @@ 146 ], "18730666": [ - 88, - 39 + 89, + 40 ], "19743845": [ - 83 + 84 ], "21764668": [ - 102, - 25 + 103, + 26 ], "21894727": [ 16 ], "24758474": [ - 101 + 102 ], "25947227": [ 129, - 44 + 45 ], "32073284": [ - 22, + 23, 127, 141, 140 ], "32815809": [ - 86, - 68 + 87, + 69 ], "34360752": [ 111, - 84 + 85 ], "34494360": [ 4, - 96 + 97 ], "37722211": [ - 102, - 25 + 103, + 26 ], "37756660": [ - 101 + 102 ], "45283719": [ - 72, - 60, + 73, + 61, 139 ], "53015083": [ @@ -367,2179 +367,2179 @@ 120 ], "63877088": [ - 90, + 91, 8 ], "72978923": [ 129, - 44 + 45 ], "77531116": [ - 86, - 68 + 87, + 69 ], "79985926": [ - 34, - 75 + 35, + 76 ], "94582388": [ 15, - 104 + 105 ], "58ca916c": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "779517e2": [ - 101 + 102 ], "bb10628e": [ - 101 + 102 ], "5fdf5ca7": [ - 101 + 102 ], "57045b04": [ - 101 + 102 ], "5b1fafa2": [ - 101 + 102 ], "0c9b84bb": [ - 101 + 102 ], "64e803c6": [ - 101 + 102 ], "d89edd52": [ - 101 + 102 ], "ba3eee90": [ - 101 + 102 ], "18deb24c": [ - 101 + 102 ], "26f4e242": [ - 101 + 102 ], "ecb959c8": [ - 101 + 102 ], "7106ea0e": [ - 101 + 102 ], "eacaa546": [ - 101 + 102 ], "c8cfbff8": [ - 101 + 102 ], "1db6a7a4": [ - 33, - 53 + 34, + 54 ], "e32318f8": [ - 101 + 102 ], "4762e9e4": [ - 101 + 102 ], "e9b39a92": [ - 101 + 102 ], "301ad700": [ - 101 + 102 ], "9941b3e2": [ - 101 + 102 ], "cfc378ae": [ - 101 + 102 ], "2b3323b7": [ - 101 + 102 ], "7c57c19c": [ - 101 + 102 ], "73c354b4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "a282c0ee": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "63534eea": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "c602f160": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "acdb5c8e": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "c988d682": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "3cc5c60c": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "0e63a11a": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "ec732d36": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "1f010a43": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2ab66299": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2bd275be": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "ef43e778": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "7dba2380": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "7c5f6d26": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "f0b1e7b4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "7f019f08": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5a4ab4d2": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5686e682": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "71d32686": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "603ac224": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "048f1669": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "0106f150": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "3d65019d": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "0ee64767": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "00b9f7a7": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "364418b0": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "487a5470": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "867b9fd8": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "86618bd6": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "297465b5": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "38d7ffd7": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "59910e9c": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "13eac654": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "4f8f358f": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "dd0c18b2": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "20fea8e1": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5eb397cc": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "1c983a4c": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "94219fae": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5f6e72a2": [ - 101 + 102 ], "24e1ebcd": [ - 101 + 102 ], "7a0ea517": [ - 101 + 102 ], "9fd9ff3c": [ - 101 + 102 ], "9dc3e5fe": [ - 101 + 102 ], "16c0122a": [ - 101 + 102 ], "b4fddc00": [ - 101 + 102 ], "567d6188": [ - 101 + 102 ], "606213be": [ - 101 + 102 ], "5cb95258": [ - 101 + 102 ], "64bc09f3": [ - 101 + 102 ], "79f06677": [ - 101 + 102 ], "08ced7e3": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5749613c": [ - 101 + 102 ], "ff4a99b2": [ - 101 + 102 ], "379e1987": [ - 101 + 102 ], "eec89bde": [ - 101 + 102 ], "269e1d54": [ - 33, - 53 + 34, + 54 ], "b94ca00a": [ - 101 + 102 ], "2ffa4bc0": [ - 101 + 102 ], "399a5643": [ - 101 + 102 ], "600d0b1d": [ - 101 + 102 ], "53c6ae91": [ - 101 + 102 ], "48cfd806": [ - 101 + 102 ], "d073d9fe": [ - 101 + 102 ], "8017c05e": [ - 101 + 102 ], "39b761a6": [ - 101 + 102 ], "ba7d6328": [ - 101 + 102 ], "fe920d96": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "093ce05c": [ - 101 + 102 ], "924366f4": [ - 33, - 53 + 34, + 54 ], "186225cb": [ - 101 + 102 ], "3b960d7d": [ - 33, - 53 + 34, + 54 ], "5553f35c": [ - 101 + 102 ], "c7619bb6": [ - 101 + 102 ], "1bae663d": [ - 101 + 102 ], "08d84e80": [ - 101 + 102 ], "06fb75ff": [ - 101 + 102 ], "7053eb77": [ - 101 + 102 ], "cb6d70f8": [ - 101 + 102 ], "1e6bc12e": [ - 101 + 102 ], "19dd1694": [ - 101 + 102 ], "9e3cd966": [ - 101 + 102 ], "b27d3cfe": [ - 101 + 102 ], "79afa3f4": [ - 101 + 102 ], "58214c74": [ - 101 + 102 ], "cb96208a": [ - 33, - 53 + 34, + 54 ], "393f56b8": [ - 101 + 102 ], "2ff053cd": [ - 101 + 102 ], "74774d54": [ - 101 + 102 ], "4e9c6037": [ - 33, - 53 + 34, + 54 ], "179db36e": [ - 101 + 102 ], "115360db": [ - 101 + 102 ], "9327ade6": [ - 33, - 53 + 34, + 54 ], "6258331a": [ - 101 + 102 ], "0d6740f6": [ - 101 + 102 ], "3f5d9bf7": [ - 101 + 102 ], "d6f20d5c": [ - 101 + 102 ], "c7b612da": [ - 101 + 102 ], "0a481256": [ - 101 + 102 ], "f92b919e": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "1dc8cb92": [ - 101 + 102 ], "5e6ee0db": [ - 101 + 102 ], "66c69285": [ - 101 + 102 ], "b115ce00": [ - 101 + 102 ], "84afcf88": [ - 101 + 102 ], "101a82ee": [ - 101 + 102 ], "c4c35542": [ - 101 + 102 ], "573fd327": [ - 101 + 102 ], "cde88c28": [ - 101 + 102 ], "ee26e5d0": [ - 101 + 102 ], "6a7512a8": [ - 101 + 102 ], "4e6929c2": [ - 101 + 102 ], "11d4782e": [ - 101 + 102 ], "1bad4650": [ - 101 + 102 ], "c196c6ca": [ - 101 + 102 ], "52bf7bc5": [ - 101 + 102 ], "9bc80336": [ - 33, - 53 + 34, + 54 ], "beca6294": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "6e9fdac6": [ - 33, - 53 + 34, + 54 ], "345c2110": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "046c3f9c": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "99da2812": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "6d63174a": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "174ef3b0": [ - 33, - 53 + 34, + 54 ], "7d28378a": [ - 33, - 53 + 34, + 54 ], "3f0e9ac6": [ - 33, - 53 + 34, + 54 ], "3080f81c": [ - 33, - 53 + 34, + 54 ], "64a09d8d": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "50ce3ec6": [ - 33, - 53 + 34, + 54 ], "a7c6eb8c": [ - 101 + 102 ], "ca22a09a": [ - 33, - 53 + 34, + 54 ], "d1cbe2ca": [ - 101 + 102 ], "003ebc1a": [ - 101 + 102 ], "944cd942": [ - 101 + 102 ], "77db5f04": [ - 101 + 102 ], "683aa13e": [ - 101 + 102 ], "5d0bb02d": [ - 101 + 102 ], "3d8dcccc": [ - 101 + 102 ], "2c968d0e": [ - 101 + 102 ], "56bdc143": [ - 101 + 102 ], "6fc1050d": [ - 101 + 102 ], "faa9e3e4": [ - 101 + 102 ], "70a2f331": [ - 101 + 102 ], "6dbd4985": [ - 101 + 102 ], "2f76ebcf": [ - 101 + 102 ], "aad2c5ac": [ - 101 + 102 ], "77546ecf": [ - 101 + 102 ], "e32b633a": [ - 101 + 102 ], "4a74e4d0": [ - 101 + 102 ], "3eff3b3c": [ - 101 + 102 ], "440ce851": [ - 101 + 102 ], "48b68393": [ - 101 + 102 ], "b0e28762": [ - 101 + 102 ], "1ea2ef4e": [ - 101 + 102 ], "012ae242": [ - 101 + 102 ], "d08a51d2": [ - 101 + 102 ], "08647a2c": [ - 101 + 102 ], "301c99fe": [ - 101 + 102 ], "9b4b4b5c": [ - 101 + 102 ], "340e7992": [ - 101 + 102 ], "1c4d210c": [ - 101 + 102 ], "6d8d6406": [ - 101 + 102 ], "4c4dd4f4": [ - 101 + 102 ], "6e69ac98": [ - 101 + 102 ], "11ba92ba": [ - 101 + 102 ], "ecdd9186": [ - 33, - 53 + 34, + 54 ], "ad8d23fe": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "65b48d58": [ - 33, - 53 + 34, + 54 ], "e52f0a98": [ - 101 + 102 ], "193fb11b": [ - 33, - 53 + 34, + 54 ], "46cde0da": [ - 33, - 53 + 34, + 54 ], "6d566397": [ - 33, - 53 + 34, + 54 ], "f217d606": [ - 33, - 53 + 34, + 54 ], "5bc85497": [ - 33, - 53 + 34, + 54 ], "9e4e8b5a": [ - 33, - 53 + 34, + 54 ], "3c53508c": [ - 101 + 102 ], "15e82fdc": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "948e9f5e": [ - 101 + 102 ], "017bd58a": [ - 101 + 102 ], "f1f14de8": [ - 33, - 53 + 34, + 54 ], "d05f13b4": [ - 33, - 53 + 34, + 54 ], "40910ecc": [ - 101 + 102 ], "0d03c8da": [ - 33, - 53 + 34, + 54 ], "55cbbf06": [ - 101 + 102 ], "13d95723": [ - 33, - 53 + 34, + 54 ], "5d5174e9": [ - 101 + 102 ], "c33aae26": [ - 101 + 102 ], "34d85066": [ - 101 + 102 ], "c7b41e3a": [ - 101 + 102 ], "63c81748": [ - 101 + 102 ], "1c0013db": [ - 101 + 102 ], "6d28fb4e": [ - 101 + 102 ], "167155c4": [ - 101 + 102 ], "10a1fa37": [ - 101 + 102 ], "5f00d32d": [ - 101 + 102 ], "4a3e4e0a": [ - 101 + 102 ], "397a54da": [ - 101 + 102 ], "7f536398": [ - 101 + 102 ], "504b8c32": [ - 101 + 102 ], "14352ffa": [ - 101 + 102 ], "d6765dba": [ - 101 + 102 ], "069789d7": [ - 101 + 102 ], "2663475c": [ - 101 + 102 ], "8226d8aa": [ - 101 + 102 ], "6f3ef4f5": [ - 101 + 102 ], "133b8a01": [ - 101 + 102 ], "7034f4b4": [ - 101 + 102 ], "401e35dd": [ - 101 + 102 ], "7b90a1ab": [ - 101 + 102 ], "328d05cd": [ - 101 + 102 ], "3b805d88": [ - 101 + 102 ], "e5c863bc": [ - 101 + 102 ], "721a420a": [ - 101 + 102 ], "024e077f": [ - 101 + 102 ], "71f08c3a": [ - 101 + 102 ], "87d78352": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2936e0fe": [ - 101 + 102 ], "28c8d4c6": [ - 101 + 102 ], "7c25d1f4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "dcd2f50e": [ - 101 + 102 ], "00b2b8d6": [ - 101 + 102 ], "6c5b87d6": [ - 101 + 102 ], "19b95d64": [ - 101 + 102 ], "408911ee": [ - 101 + 102 ], "72ca4338": [ - 101 + 102 ], "7f1f5c76": [ - 101 + 102 ], "3b83ea7f": [ - 101 + 102 ], "33f69cac": [ - 101 + 102 ], "6f5de13c": [ - 101 + 102 ], "ddb593ca": [ - 101 + 102 ], "17376f03": [ - 101 + 102 ], "fe5a519e": [ - 101 + 102 ], "7523924a": [ - 101 + 102 ], "3e27a5d6": [ - 101 + 102 ], "1fb8db3e": [ - 101 + 102 ], "340c33b7": [ - 101 + 102 ], "688a12ed": [ - 33, - 53 + 34, + 54 ], "c73ed79e": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "7ed1e36d": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "99cdaafa": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "29f7f4b7": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "18b88329": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "780199d3": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "1a1500ad": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2f2334a3": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "40a29e23": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "d4f9a186": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2ccddc3c": [ - 33, - 53 + 34, + 54 ], "a7922674": [ - 101 + 102 ], "f2baa34a": [ - 101 + 102 ], "1a4caa94": [ - 33, - 53 + 34, + 54 ], "2b22e1ec": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2f7d27da": [ - 33, - 53 + 34, + 54 ], "465b1134": [ - 101 + 102 ], "fcb04ea2": [ - 33, - 53 + 34, + 54 ], "124e0cb8": [ - 101 + 102 ], "2e84d796": [ - 101 + 102 ], "717562c0": [ - 33, - 53 + 34, + 54 ], "41ab845a": [ - 101 + 102 ], "6c33d05c": [ - 33, - 53 + 34, + 54 ], "77fccc74": [ - 33, - 53 + 34, + 54 ], "6c11a7c7": [ - 101 + 102 ], "3d25efec": [ - 33, - 53 + 34, + 54 ], "7b7b55ca": [ - 101 + 102 ], "fa127160": [ - 101 + 102 ], "826333a0": [ - 101 + 102 ], "0d364e09": [ - 101 + 102 ], "a1964756": [ - 101 + 102 ], "3372a69a": [ - 101 + 102 ], "752b9f02": [ - 101 + 102 ], "c80b3c54": [ - 101 + 102 ], "313b659c": [ - 33, - 53 + 34, + 54 ], "12ffa376": [ - 33, - 53 + 34, + 54 ], "6433c1d4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "306ce9b0": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5255c802": [ - 101 + 102 ], "4f917954": [ - 101 + 102 ], "1c7f323d": [ - 101 + 102 ], "61d15439": [ - 101 + 102 ], "215bf980": [ - 101 + 102 ], "365990ce": [ - 101 + 102 ], "53ee6ce8": [ - 101 + 102 ], "466c05e2": [ - 101 + 102 ], "51a9ff1a": [ - 101 + 102 ], "6977e313": [ - 101 + 102 ], "27db699b": [ - 101 + 102 ], "9a2e90b6": [ - 101 + 102 ], "d930a39a": [ - 101 + 102 ], "c5ffcc6a": [ - 101 + 102 ], "a0fcdab6": [ - 101 + 102 ], "2e0cca9e": [ - 101 + 102 ], "5bbf1fa8": [ - 101 + 102 ], "2ab260ce": [ - 101 + 102 ], "3585611c": [ - 101 + 102 ], "7d9a6f98": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5b0673f4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "f8c89390": [ - 101 + 102 ], "aa99fbe0": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "6d4a58f6": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "7771fb76": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "68b4296d": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "0a48a90e": [ - 33, - 53 + 34, + 54 ], "63da0614": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "21de3dfa": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "2ac46cd9": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "fe21a2d6": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "751b2900": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "311b08f6": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "40c65f78": [ - 101 + 102 ], "2e1378ee": [ - 101 + 102 ], "ab13120c": [ - 101 + 102 ], "db5af2d4": [ - 101 + 102 ], "385d620a": [ - 101 + 102 ], "8d84f5cc": [ - 101 + 102 ], "d92a491a": [ - 101 + 102 ], "322202d3": [ - 101 + 102 ], "2cb436f8": [ - 101 + 102 ], "6ed9ada3": [ - 101 + 102 ], "fbb915b2": [ - 101 + 102 ], "3061386e": [ - 101 + 102 ], "2960704a": [ - 101 + 102 ], "074e5a95": [ - 101 + 102 ], "111cd9f6": [ - 101 + 102 ], "0dd768c3": [ - 101 + 102 ], "250ada04": [ - 33, - 53 + 34, + 54 ], "a4ea6bc8": [ - 101 + 102 ], "e3ac062c": [ - 101 + 102 ], "fdbd0938": [ - 101 + 102 ], "8bdfc782": [ - 101 + 102 ], "2106c98e": [ - 101 + 102 ], "098d4338": [ - 101 + 102 ], "449c6273": [ - 101 + 102 ], "71dbf2c6": [ - 101 + 102 ], "7b26be78": [ - 33, - 53 + 34, + 54 ], "7805a616": [ - 101 + 102 ], "6cbe5a5d": [ - 101 + 102 ], "1100021c": [ - 101 + 102 ], "35609bfa": [ - 101 + 102 ], "3eae560a": [ - 101 + 102 ], "a9e53810": [ - 101 + 102 ], "43cb0e6b": [ - 101 + 102 ], "4d59e754": [ - 101 + 102 ], "1ea10aba": [ - 101 + 102 ], "12452d3a": [ - 101 + 102 ], "26b9b7ea": [ - 101 + 102 ], "1c4d660e": [ - 33, - 53 + 34, + 54 ], "7ee6c090": [ - 101 + 102 ], "e1c40f64": [ - 101 + 102 ], "cb5d0144": [ - 101 + 102 ], "2a2880ab": [ - 101 + 102 ], "1025d1cd": [ - 101 + 102 ], "2c4a173a": [ - 101 + 102 ], "3407a801": [ - 101 + 102 ], "f766ec1c": [ - 101 + 102 ], "61464a72": [ - 101 + 102 ], "641b7764": [ - 101 + 102 ], "8e1849f4": [ - 33, - 53 + 34, + 54 ], "8d914826": [ - 101 + 102 ], "777b4aa4": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "5d20b825": [ - 33, - 53 + 34, + 54 ], "0ce77509": [ - 33, - 53 + 34, + 54 ], "f901d922": [ - 33, - 53 + 34, + 54 ], "59b0a42c": [ - 33, - 53 + 34, + 54 ], "65f5cc86": [ - 33, - 53 + 34, + 54 ], "21464c4a": [ - 33, - 53 + 34, + 54 ], "3d2fdac0": [ - 101 + 102 ], "541e3281": [ - 101 + 102 ], "2d098979": [ - 33, - 53 + 34, + 54 ], "5def8b46": [ - 33, - 53 + 34, + 54 ], "2fa2084b": [ - 33, - 53 + 34, + 54 ], "710e9029": [ - 33, - 53 + 34, + 54 ], "5becd664": [ - 33, - 53 + 34, + 54 ], "0c689856": [ - 33, - 53 + 34, + 54 ], "1ade147e": [ - 33, - 53 + 34, + 54 ], "29a8d24c": [ - 33, - 53 + 34, + 54 ], "f7103c2c": [ - 33, - 53 + 34, + 54 ], "5ccfff1a": [ - 33, - 53 + 34, + 54 ], "1bd0089c": [ - 33, - 53 + 34, + 54 ], "43c8e3ab": [ - 33, - 53 + 34, + 54 ], "e44a341c": [ - 33, - 53 + 34, + 54 ], "1376a256": [ - 33, - 53 + 34, + 54 ], "63ac17f7": [ - 33, - 53 + 34, + 54 ], "c2672a4c": [ - 33, - 53 + 34, + 54 ], "36f6a7fc": [ - 33, - 53 + 34, + 54 ], "8d65400c": [ - 33, - 53 + 34, + 54 ], "33964b43": [ - 33, - 53 + 34, + 54 ], "6e266a2d": [ - 33, - 53 + 34, + 54 ], "8f302ac8": [ - 33, - 53 + 34, + 54 ], "3573e1be": [ - 33, - 53 + 34, + 54 ], "8fdb530e": [ - 33, - 53 + 34, + 54 ], "b983a238": [ - 33, - 53 + 34, + 54 ], "4b202446": [ - 33, - 53 + 34, + 54 ], "3e39b769": [ - 33, - 53 + 34, + 54 ], "7f202ba4": [ - 33, - 53 + 34, + 54 ], "c37b440a": [ - 33, - 53 + 34, + 54 ], "4b23a45b": [ 12 ], "09731d94": [ - 99 + 100 ], "edd6ec74": [ - 30 + 31 ], "6fc42588": [ - 77 + 78 ], "8976059e": [ - 77 + 78 ], "bae1a548": [ 118, @@ -2652,7 +2652,7 @@ 121 ], "5bbb0598": [ - 77 + 78 ], "36ea619e": [ 130, @@ -2673,56 +2673,56 @@ 140 ], "4c1b7a30": [ - 92, - 95 + 93, + 96 ], "39b34826": [ - 92, - 95 + 93, + 96 ], "7816e1f6": [ - 92, - 95 + 93, + 96 ], "4998a060": [ - 72, - 60, + 73, + 61, 139 ], "5ebf399d": [ - 86, - 68 + 87, + 69 ], "bc734bba": [ - 86, - 68 + 87, + 69 ], "7159b213": [ - 86, - 68 + 87, + 69 ], "a2733d9e": [ - 86, - 68 + 87, + 69 ], "5446e933": [ 4, - 96 + 97 ], "6589b1fc": [ - 34, - 75 + 35, + 76 ], "42aca2ba": [ - 97, - 78 + 98, + 79 ], "2273b0f7": [ - 66, + 67, 119 ], "2337eca7": [ - 42, + 43, 7, 141, 140 @@ -2746,72 +2746,72 @@ 140 ], "6fb35e19": [ - 57, - 21 + 58, + 22 ], "93d97b78": [ - 63, + 64, 3 ], "48a1f622": [ - 29, - 62 + 30, + 63 ], "5cb31099": [ - 32, - 80 + 33, + 81 ], "043ba0ec": [ 116, - 94 + 95 ], "4248fc77": [ - 79, - 27 + 80, + 28 ], "0acdaed1": [ - 37, - 64 + 38, + 65 ], "f6b8741e": [ - 56, - 58 + 57, + 59 ], "c34908d8": [ 10, - 73 + 74 ], "79a1ce43": [ - 35, - 55 + 36, + 56 ], "0040db7a": [ 2, 123 ], "6d875f59": [ - 81, - 71 + 82, + 72 ], "ff86d87e": [ 14, - 49 + 50 ], "39a05762": [ - 90, + 91, 8 ], "209e4def": [ - 87, - 59 + 88, + 60 ], "71a00d82": [ - 74, - 48 + 75, + 49 ], "7aaf0183": [ - 74, - 48 + 75, + 49 ], "1eacc61a": [ 5, @@ -2870,51 +2870,51 @@ ], "ee5108fc": [ 129, - 44 + 45 ], "4bbc798f": [ 129, - 44 + 45 ], "3bb994a9": [ 111, - 84 + 85 ], "1c5749fb": [ - 26, - 67 + 27, + 68 ], "28dbd7b8": [ - 51, - 23 + 52, + 24 ], "77af4256": [ - 105, + 106, 117, 146 ], "7ab707e2": [ - 105, + 106, 117, 146 ], "e856feba": [ - 105, + 106, 117, 146 ], "fee00e38": [ - 105, + 106, 117, 146 ], "767a4d51": [ - 105, + 106, 117, 146 ], "0f6c87a1": [ - 105, + 106, 117, 146 ], @@ -2923,32 +2923,32 @@ 9 ], "62549eee": [ - 31, + 32, 125 ], "071a9152": [ - 46, - 45 + 47, + 46 ], "3a48c465": [ 128, - 50 + 51 ], "122bd1a5": [ 6, - 103 + 104 ], "76186ee5": [ 6, - 103 + 104 ], "205003ab": [ 6, - 103 + 104 ], "0d9d0679": [ 6, - 103 + 104 ], "72ee5aaa": [ 109, @@ -2956,15 +2956,15 @@ ], "074a1a98": [ 132, - 69 + 70 ], "0e4e6b89": [ 133, - 61 + 62 ], "ea4df76c": [ 115, - 106 + 107 ], "0e51dc1b": [ 11, @@ -2976,135 +2976,135 @@ ], "391a79aa": [ 15, - 104 + 105 ], "d4a02b10": [ 15, - 104 + 105 ], "860c4032": [ 15, - 104 + 105 ], "0468ae37": [ 110, - 28 + 29 ], "7eda4726": [ 110, - 28 + 29 ], "bb98b83e": [ - 22, + 23, 127, 141, 140 ], "06ea48b8": [ - 24, - 98 + 25, + 99 ], "40a41847": [ 12 ], "3516cf66": [ - 99 + 100 ], "45ff1bec": [ - 86, - 68 + 87, + 69 ], "afa64c58": [ - 86, - 68 + 87, + 69 ], "e3156b2c": [ - 65 + 66 ], "4896cfd9": [ - 54 + 55 ], "121814d1": [ - 92, - 95 + 93, + 96 ], "3279a25e": [ - 92, - 95 + 93, + 96 ], "53ea4623": [ - 92, - 95 + 93, + 96 ], "60aa159b": [ - 92, - 95 + 93, + 96 ], "61d3e56e": [ - 92, - 95 + 93, + 96 ], "a3db7f72": [ - 92, - 95 + 93, + 96 ], "3b0b77dc": [ - 92, - 95 + 93, + 96 ], "bf5a6926": [ - 92, - 95 + 93, + 96 ], "961b42b4": [ - 92, - 95 + 93, + 96 ], "1b7e9293": [ - 92, - 95 + 93, + 96 ], "07efa0da": [ - 92, - 95 + 93, + 96 ], "3b32e19e": [ - 92, - 95 + 93, + 96 ], "4b8474ba": [ - 92, - 95 + 93, + 96 ], "40835db2": [ - 92, - 95 + 93, + 96 ], "03fe7086": [ - 92, - 95 + 93, + 96 ], "3a5f3f04": [ - 102, - 25 + 103, + 26 ], "58c0ecf3": [ - 102, - 25 + 103, + 26 ], "909e97ec": [ - 102, - 25 + 103, + 26 ], "5093c664": [ - 102, - 25 + 103, + 26 ], "af1c4366": [ - 30 + 31 ], "4ec308a0": [ - 77 + 78 ], "2c77ab47": [ 130, @@ -3125,100 +3125,100 @@ 140 ], "155caa76": [ - 72, - 60, + 73, + 61, 139 ], "025b5096": [ - 92, - 95 + 93, + 96 ], "2019c2e8": [ - 92, - 95 + 93, + 96 ], "a79ba660": [ - 92, - 95 + 93, + 96 ], "c1a3fa74": [ - 72, - 60, + 73, + 61, 139 ], "4a1c858a": [ - 99 + 100 ], "367c268e": [ - 86, - 68 + 87, + 69 ], "008adb40": [ - 86, - 68 + 87, + 69 ], "70bbdfc4": [ - 86, - 68 + 87, + 69 ], "5070b104": [ - 86, - 68 + 87, + 69 ], "82d35c52": [ - 86, - 68 + 87, + 69 ], "6206f7d4": [ - 86, - 68 + 87, + 69 ], "6e2d060c": [ - 86, - 68 + 87, + 69 ], "4fe062d5": [ - 86, - 68 + 87, + 69 ], "2b963e0d": [ - 86, - 68 + 87, + 69 ], "3f142a11": [ - 86, - 68 + 87, + 69 ], "a842e506": [ - 86, - 68 + 87, + 69 ], "8548350e": [ - 86, - 68 + 87, + 69 ], "6e76a00b": [ - 86, - 68 + 87, + 69 ], "31a82b0d": [ 4, - 96 + 97 ], "4a6276d6": [ - 34, - 75 + 35, + 76 ], "685077a0": [ - 97, - 78 + 98, + 79 ], "342ea751": [ - 66, + 67, 119 ], "598f890d": [ - 42, + 43, 7, 141, 140 @@ -3248,74 +3248,74 @@ 140 ], "b3ea0b02": [ - 57, - 21 + 58, + 22 ], "7e996f9e": [ - 63, + 64, 3 ], "23ee82d5": [ - 29, - 62 + 30, + 63 ], "ae957802": [ - 32, - 80 + 33, + 81 ], "0f9d25e4": [ 116, - 94 + 95 ], "1faa3e51": [ - 79, - 27 + 80, + 28 ], "4cd6af92": [ - 37, - 64 + 38, + 65 ], "536abf57": [ - 56, - 58 + 57, + 59 ], "f9977f24": [ 10, - 73 + 74 ], "2fe1a4a9": [ - 35, - 55 + 36, + 56 ], "62b2e8ae": [ 2, 123 ], "3c4e58bf": [ - 81, - 71 + 82, + 72 ], "eb5671ca": [ 14, - 49 + 50 ], "692f6b54": [ - 65 + 66 ], "a9039dea": [ - 65 + 66 ], "958b836e": [ - 87, - 59 + 88, + 60 ], "5d6fa6ce": [ - 74, - 48 + 75, + 49 ], "0f4af1dd": [ - 74, - 48 + 75, + 49 ], "7f8064cd": [ 5, @@ -3424,79 +3424,79 @@ ], "da20a248": [ 129, - 44 + 45 ], "5d776fe9": [ 129, - 44 + 45 ], "02f5b401": [ 129, - 44 + 45 ], "f80ddae2": [ 111, - 84 + 85 ], "29c3793e": [ - 26, - 67 + 27, + 68 ], "74de0b1e": [ - 51, - 23 + 52, + 24 ], "d72ceb4a": [ - 40, - 76 + 41, + 77 ], "3de0a622": [ - 40, - 76 + 41, + 77 ], "79eb0c8a": [ - 105, + 106, 117, 146 ], "5f12a13d": [ - 40, - 76 + 41, + 77 ], "d5bc45c0": [ - 40, - 76 + 41, + 77 ], "dd291516": [ - 105, + 106, 117, 146 ], "d4269806": [ - 105, + 106, 117, 146 ], "3b4e42fd": [ - 40, - 76 + 41, + 77 ], "14eeb94f": [ - 40, - 76 + 41, + 77 ], "8820aca4": [ - 105, + 106, 117, 146 ], "755c6837": [ - 105, + 106, 117, 146 ], "485abf87": [ - 105, + 106, 117, 146 ], @@ -3505,40 +3505,40 @@ 9 ], "1ad7e3ef": [ - 31, + 32, 125 ], "3b5ecaac": [ - 46, - 45 + 47, + 46 ], "4460f7bf": [ 128, - 50 + 51 ], "19b5c8d0": [ 6, - 103 + 104 ], "501f6a14": [ 6, - 103 + 104 ], "46700aff": [ 6, - 103 + 104 ], "2a23fdcb": [ 6, - 103 + 104 ], "6f9e1411": [ 6, - 103 + 104 ], "1b14695a": [ 6, - 103 + 104 ], "b1ecb4f8": [ 109, @@ -3546,15 +3546,15 @@ ], "205a78e4": [ 132, - 69 + 70 ], "249c4e22": [ 133, - 61 + 62 ], "d03978b8": [ 115, - 106 + 107 ], "426d26f5": [ 11, @@ -3566,66 +3566,66 @@ ], "6d5eb304": [ 15, - 104 + 105 ], "6c17b85c": [ 15, - 104 + 105 ], "88480a66": [ 15, - 104 + 105 ], "8f1785c6": [ 110, - 28 + 29 ], "122b0e5a": [ 110, - 28 + 29 ], "016ae38a": [ - 22, + 23, 127, 141, 140 ], "42b28349": [ - 52 + 53 ], "3768eadc": [ - 24, - 98 + 25, + 99 ], "b95d5000": [ 131, 120 ], "a6ce5e54": [ - 54 + 55 ], "41e6732d": [ - 54 + 55 ], "fd8ce8d0": [ - 54 + 55 ], "48ef834d": [ - 54 + 55 ], "08670301": [ - 41, + 42, 122 ], "f6496788": [ - 41, + 42, 122 ], "078775ad": [ 113 ], "03e155ed": [ - 41, + 42, 122 ], "64d88908": [ @@ -3924,426 +3924,426 @@ 146 ], "1992ef02": [ - 105, + 106, 117, 146 ], "0a24f46c": [ - 105, + 106, 117, 146 ], "0866265c": [ - 105, + 106, 117, 146 ], "9569f494": [ - 105, + 106, 117, 146 ], "616c4578": [ - 105, + 106, 117, 146 ], "04b91794": [ - 105, + 106, 117, 146 ], "174bc1b2": [ - 105, + 106, 117, 146 ], "3aef99a3": [ - 105, + 106, 117, 146 ], "36dc699e": [ - 105, + 106, 117, 146 ], "e046b2f6": [ - 105, + 106, 117, 146 ], "0d78ffa2": [ - 105, + 106, 117, 146 ], "4a95dfed": [ - 105, + 106, 117, 146 ], "539e0544": [ - 105, + 106, 117, 146 ], "c0fa2662": [ - 105, + 106, 117, 146 ], "2a3a9b48": [ - 105, + 106, 117, 146 ], "630a9f70": [ - 105, + 106, 117, 146 ], "959e5200": [ - 105, + 106, 117, 146 ], "2a757871": [ - 105, + 106, 117, 146 ], "42134e1a": [ - 105, + 106, 117, 146 ], "03eb3be4": [ - 105, + 106, 117, 146 ], "baab76ee": [ - 105, + 106, 117, 146 ], "1e5397d4": [ - 105, + 106, 117, 146 ], "2b2b405c": [ - 105, + 106, 117, 146 ], "67e18e43": [ - 105, + 106, 117, 146 ], "c3b79686": [ - 105, + 106, 117, 146 ], "1296f3ec": [ - 105, + 106, 117, 146 ], "6d903c02": [ - 105, + 106, 117, 146 ], "57362eb0": [ - 105, + 106, 117, 146 ], "535d5cb4": [ - 105, + 106, 117, 146 ], "64fe322e": [ - 105, + 106, 117, 146 ], "4cb9e98e": [ - 86, - 68 + 87, + 69 ], "9a2d5b62": [ - 86, - 68 + 87, + 69 ], "bd6823f0": [ - 86, - 68 + 87, + 69 ], "75007f76": [ - 86, - 68 + 87, + 69 ], "637a6422": [ - 86, - 68 + 87, + 69 ], "57dddf00": [ - 86, - 68 + 87, + 69 ], "07b65474": [ - 86, - 68 + 87, + 69 ], "2b378d74": [ - 86, - 68 + 87, + 69 ], "c3bcaad4": [ - 86, - 68 + 87, + 69 ], "ca322cb8": [ - 86, - 68 + 87, + 69 ], "29d2f460": [ - 86, - 68 + 87, + 69 ], "51c52aea": [ - 86, - 68 + 87, + 69 ], "0481a530": [ - 86, - 68 + 87, + 69 ], "66095b6e": [ - 86, - 68 + 87, + 69 ], "0ddab886": [ - 86, - 68 + 87, + 69 ], "d43e800c": [ - 86, - 68 + 87, + 69 ], "345a9826": [ - 86, - 68 + 87, + 69 ], "4aafdb3a": [ - 86, - 68 + 87, + 69 ], "fa24646e": [ - 86, - 68 + 87, + 69 ], "1b8bdb0a": [ - 86, - 68 + 87, + 69 ], "0869fc7a": [ - 86, - 68 + 87, + 69 ], "199d5bb3": [ - 86, - 68 + 87, + 69 ], "46cd00fd": [ - 86, - 68 + 87, + 69 ], "0aa6857e": [ - 86, - 68 + 87, + 69 ], "81043a54": [ 6, - 103 + 104 ], "080da1a3": [ 6, - 103 + 104 ], "3ccc54c0": [ 6, - 103 + 104 ], "7cac8cce": [ 6, - 103 + 104 ], "e9cfde4c": [ 6, - 103 + 104 ], "6e1f0a82": [ 6, - 103 + 104 ], "6a150446": [ 6, - 103 + 104 ], "447b2b0c": [ 6, - 103 + 104 ], "4b85c172": [ 6, - 103 + 104 ], "df018084": [ 6, - 103 + 104 ], "479b35d4": [ 6, - 103 + 104 ], "37d864da": [ 6, - 103 + 104 ], "cc0ae4e4": [ 6, - 103 + 104 ], "6ea7ca9e": [ 6, - 103 + 104 ], "0c021948": [ 6, - 103 + 104 ], "523f869b": [ 6, - 103 + 104 ], "51b0cd6d": [ 6, - 103 + 104 ], "29ab0734": [ 6, - 103 + 104 ], "36e81324": [ 6, - 103 + 104 ], "016651b8": [ 6, - 103 + 104 ], "3c4c1d34": [ 6, - 103 + 104 ], "764c977b": [ 6, - 103 + 104 ], "609f5a6e": [ 6, - 103 + 104 ], "003ff936": [ 6, - 103 + 104 ], "b363e2da": [ 6, - 103 + 104 ], "5d3bcdf8": [ 129, - 44 + 45 ], "4ec31c28": [ 129, - 44 + 45 ], "16bb825c": [ 129, - 44 + 45 ], "847e163c": [ 129, - 44 + 45 ], "701417ec": [ 129, - 44 + 45 ], "572d399f": [ 129, - 44 + 45 ], "28f70bec": [ 129, - 44 + 45 ], "3c4a26ba": [ 129, - 44 + 45 ], "cbb29b52": [ 129, - 44 + 45 ], "bb817940": [ 129, - 44 + 45 ], "23c0d02a": [ 129, - 44 + 45 ], "62d7c430": [ 129, - 44 + 45 ], "0086acf1": [ 129, - 44 + 45 ], "653535d6": [ 129, - 44 + 45 ], "0e0dedc4": [ 129, - 44 + 45 ], "ff40794e": [ 129, - 44 + 45 ], "d55747a6": [ 129, - 44 + 45 ], "1bf865c6": [ 129, - 44 + 45 ], "7d7fec37": [ 129, - 44 + 45 ], "b7616b28": [ 130, @@ -4437,219 +4437,219 @@ ], "3e70d9c8": [ 15, - 104 + 105 ], "2936a87c": [ 15, - 104 + 105 ], "526c0c4c": [ 15, - 104 + 105 ], "09ea1be8": [ 15, - 104 + 105 ], "6f2da7f2": [ 15, - 104 + 105 ], "439f7872": [ 15, - 104 + 105 ], "24bc4815": [ 15, - 104 + 105 ], "d852cc40": [ 15, - 104 + 105 ], "3fbf842f": [ 15, - 104 + 105 ], "1ca826c6": [ 15, - 104 + 105 ], "243753a1": [ 15, - 104 + 105 ], "2d026156": [ 15, - 104 + 105 ], "469f766e": [ 15, - 104 + 105 ], "7dafd78a": [ 15, - 104 + 105 ], "1f614f64": [ 110, - 28 + 29 ], "75d56206": [ 110, - 28 + 29 ], "9bfe0f74": [ 110, - 28 + 29 ], "93e69a60": [ 110, - 28 + 29 ], "35a1456c": [ 110, - 28 + 29 ], "5844b818": [ 110, - 28 + 29 ], "3bc2b29e": [ 110, - 28 + 29 ], "281069fc": [ 110, - 28 + 29 ], "acd9ce0a": [ 110, - 28 + 29 ], "6b3c0cbc": [ 110, - 28 + 29 ], "969b36ae": [ 110, - 28 + 29 ], "8d259176": [ - 24, - 98 + 25, + 99 ], "115b0e82": [ - 24, - 98 + 25, + 99 ], "b0bca61e": [ - 24, - 98 + 25, + 99 ], "8dfea610": [ - 24, - 98 + 25, + 99 ], "73013e8b": [ - 24, - 98 + 25, + 99 ], "6935e3d5": [ - 24, - 98 + 25, + 99 ], "4c21a1ed": [ - 24, - 98 + 25, + 99 ], "3bba0844": [ - 24, - 98 + 25, + 99 ], "839addbe": [ - 24, - 98 + 25, + 99 ], "20dc8b3a": [ - 24, - 98 + 25, + 99 ], "39a46a3b": [ - 24, - 98 + 25, + 99 ], "4b526240": [ - 74, - 48 + 75, + 49 ], "13a3cd38": [ - 74, - 48 + 75, + 49 ], "18b368b6": [ - 74, - 48 + 75, + 49 ], "863e3c4c": [ - 74, - 48 + 75, + 49 ], "091cc050": [ - 74, - 48 + 75, + 49 ], "3ccf369c": [ - 74, - 48 + 75, + 49 ], "3646b6ca": [ - 74, - 48 + 75, + 49 ], "5d3f5bfa": [ - 74, - 48 + 75, + 49 ], "0b6a4211": [ - 74, - 48 + 75, + 49 ], "78c152d8": [ - 74, - 48 + 75, + 49 ], "04cb800a": [ 111, - 84 + 85 ], "24b6d3ca": [ 111, - 84 + 85 ], "1a81fac8": [ 111, - 84 + 85 ], "171f1cc3": [ 111, - 84 + 85 ], "17bc199b": [ 111, - 84 + 85 ], "1a6bd2f1": [ 111, - 84 + 85 ], "3a42e936": [ 111, - 84 + 85 ], "0318d1d2": [ 111, - 84 + 85 ], "5778fbd9": [ 11, @@ -4704,342 +4704,342 @@ 16 ], "065f6f09": [ - 102, - 25 + 103, + 26 ], "0749789c": [ - 102, - 25 + 103, + 26 ], "87734a2a": [ - 102, - 25 + 103, + 26 ], "76422a7c": [ - 102, - 25 + 103, + 26 ], "6e2b69fe": [ - 72, - 60, + 73, + 61, 139 ], "09f7ad9d": [ - 72, - 60, + 73, + 61, 139 ], "dda5381a": [ - 72, - 60, + 73, + 61, 139 ], "96ed2f32": [ - 72, - 60, + 73, + 61, 139 ], "046a1310": [ 4, - 96 + 97 ], "7bd40ba1": [ 4, - 96 + 97 ], "8e512b74": [ 4, - 96 + 97 ], "60f68e97": [ 4, - 96 + 97 ], "d7e141ce": [ - 34, - 75 + 35, + 76 ], "80077da0": [ - 34, - 75 + 35, + 76 ], "8501cc46": [ - 34, - 75 + 35, + 76 ], "0bcad5f7": [ - 34, - 75 + 35, + 76 ], "247a7f5b": [ - 97, - 78 + 98, + 79 ], "7d2c8288": [ - 97, - 78 + 98, + 79 ], "4a158319": [ - 97, - 78 + 98, + 79 ], "18f4ded2": [ - 97, - 78 + 98, + 79 ], "ad27ce82": [ - 97, - 78 + 98, + 79 ], "06449d54": [ - 66, + 67, 119 ], "28697e10": [ - 66, + 67, 119 ], "811bb87c": [ - 66, + 67, 119 ], "a27d9924": [ - 66, + 67, 119 ], "ac817d48": [ - 66, + 67, 119 ], "cd6ed1f0": [ - 42, + 43, 7, 141, 140 ], "7eda531d": [ - 42, + 43, 7, 141, 140 ], "45a04268": [ - 42, + 43, 7, 141, 140 ], "81dcb832": [ - 42, + 43, 7, 141, 140 ], "60d02bf2": [ - 42, + 43, 7, 141, 140 ], "2f7a04fa": [ - 57, - 21 + 58, + 22 ], "136a59fc": [ - 57, - 21 + 58, + 22 ], "37f3a51a": [ - 57, - 21 + 58, + 22 ], "368223cc": [ - 57, - 21 + 58, + 22 ], "88d81b80": [ - 57, - 21 + 58, + 22 ], "5561623e": [ - 63, + 64, 3 ], "29060c5c": [ - 63, + 64, 3 ], "99f1e756": [ - 63, + 64, 3 ], "1cbb2570": [ - 63, + 64, 3 ], "8a9f7e22": [ - 63, + 64, 3 ], "9a963c60": [ - 29, - 62 + 30, + 63 ], "7c23a17a": [ - 29, - 62 + 30, + 63 ], "f4fa4678": [ - 29, - 62 + 30, + 63 ], "ff11aae6": [ - 29, - 62 + 30, + 63 ], "73003b6a": [ - 29, - 62 + 30, + 63 ], "4133347a": [ - 32, - 80 + 33, + 81 ], "42d651f2": [ - 32, - 80 + 33, + 81 ], "f0abf1cc": [ - 32, - 80 + 33, + 81 ], "0df8c3bc": [ - 32, - 80 + 33, + 81 ], "6bb1cb40": [ - 32, - 80 + 33, + 81 ], "831c9eb2": [ 116, - 94 + 95 ], "4baccb42": [ 116, - 94 + 95 ], "5e8663cf": [ 116, - 94 + 95 ], "c5c0e656": [ 116, - 94 + 95 ], "48d38169": [ 116, - 94 + 95 ], "03e23754": [ - 79, - 27 + 80, + 28 ], "d40fa1a0": [ - 79, - 27 + 80, + 28 ], "c46c4afc": [ - 79, - 27 + 80, + 28 ], "7b1ab226": [ - 79, - 27 + 80, + 28 ], "193bb39c": [ - 79, - 27 + 80, + 28 ], "473322b2": [ - 37, - 64 + 38, + 65 ], "757598a4": [ - 37, - 64 + 38, + 65 ], "4c5386e2": [ - 37, - 64 + 38, + 65 ], "f719e110": [ - 37, - 64 + 38, + 65 ], "3f1cd108": [ - 37, - 64 + 38, + 65 ], "d7adfc5c": [ - 56, - 58 + 57, + 59 ], "7eb3a32a": [ - 56, - 58 + 57, + 59 ], "d0de287c": [ - 56, - 58 + 57, + 59 ], "7fd40a35": [ - 56, - 58 + 57, + 59 ], "eb4b9430": [ - 56, - 58 + 57, + 59 ], "43db0eb1": [ 10, - 73 + 74 ], "5245a252": [ 10, - 73 + 74 ], "fe20b576": [ 10, - 73 + 74 ], "df0d7266": [ 10, - 73 + 74 ], "61893d42": [ 10, - 73 + 74 ], "3ceb44b8": [ - 35, - 55 + 36, + 56 ], "17b30d45": [ - 35, - 55 + 36, + 56 ], "0e3880b0": [ - 35, - 55 + 36, + 56 ], "dccc17e2": [ - 35, - 55 + 36, + 56 ], "ed377054": [ - 35, - 55 + 36, + 56 ], "153782a4": [ 2, @@ -5062,124 +5062,124 @@ 123 ], "b949158c": [ - 81, - 71 + 82, + 72 ], "69a643ac": [ - 81, - 71 + 82, + 72 ], "053f9d5a": [ - 81, - 71 + 82, + 72 ], "28d41f76": [ - 81, - 71 + 82, + 72 ], "0fee3100": [ - 81, - 71 + 82, + 72 ], "3f3ddcc4": [ 14, - 49 + 50 ], "74f6a642": [ 14, - 49 + 50 ], "1c9c8738": [ 14, - 49 + 50 ], "27db6b56": [ 14, - 49 + 50 ], "fa06fc5c": [ 14, - 49 + 50 ], "5f484c7f": [ - 90, + 91, 8 ], "eb119526": [ - 90, + 91, 8 ], "cf19a812": [ - 90, + 91, 8 ], "5129fde3": [ - 90, + 91, 8 ], "ee46f8de": [ - 90, + 91, 8 ], "2cc21368": [ - 87, - 59 + 88, + 60 ], "4134aa15": [ - 87, - 59 + 88, + 60 ], "2dc432ca": [ - 87, - 59 + 88, + 60 ], "07e7728b": [ - 87, - 59 + 88, + 60 ], "1e2d8a64": [ - 87, - 59 + 88, + 60 ], "5feea85c": [ - 26, - 67 + 27, + 68 ], "54e9d2c8": [ - 26, - 67 + 27, + 68 ], "0e78d478": [ - 26, - 67 + 27, + 68 ], "1417ae92": [ - 26, - 67 + 27, + 68 ], "01421e9e": [ - 26, - 67 + 27, + 68 ], "fb47194e": [ - 51, - 23 + 52, + 24 ], "5c9c2982": [ - 51, - 23 + 52, + 24 ], "15dc1dca": [ - 51, - 23 + 52, + 24 ], "c65745ee": [ - 51, - 23 + 52, + 24 ], "4dcc957e": [ - 51, - 23 + 52, + 24 ], "4654b0cb": [ 18, @@ -5202,147 +5202,147 @@ 9 ], "f32399e4": [ - 85 + 86 ], "96e93f54": [ - 85 + 86 ], "69ccd706": [ - 85 + 86 ], "7fadd220": [ - 85 + 86 ], "4dd49b2c": [ - 85 + 86 ], "5148d06a": [ - 31, + 32, 125 ], "69c68c62": [ - 31, + 32, 125 ], "cb728dac": [ - 31, + 32, 125 ], "34e8fe2c": [ - 31, + 32, 125 ], "7e4e7d50": [ - 31, + 32, 125 ], "5dd2c56f": [ - 46, - 45 + 47, + 46 ], "4f800960": [ - 46, - 45 + 47, + 46 ], "1842a0f2": [ - 46, - 45 + 47, + 46 ], "2ea85e54": [ - 46, - 45 + 47, + 46 ], "de611fbe": [ - 46, - 45 + 47, + 46 ], "fa8ea97c": [ 128, - 50 + 51 ], "0ec36a25": [ 128, - 50 + 51 ], "0c0c4e14": [ 128, - 50 + 51 ], "3551079b": [ 128, - 50 + 51 ], "726c48ae": [ 128, - 50 + 51 ], "7ca6d5dc": [ - 83 + 84 ], "257279b1": [ - 83 + 84 ], "c2207bf0": [ - 83 + 84 ], "9e22ce6a": [ - 83 + 84 ], "6a1396f0": [ - 88, - 39 + 89, + 40 ], "3d58ce4e": [ - 88, - 39 + 89, + 40 ], "15cac85c": [ - 88, - 39 + 89, + 40 ], "611bd068": [ - 88, - 39 + 89, + 40 ], "d1dab5f8": [ - 88, + 89, 19 ], "1e276b54": [ - 88, + 89, 19 ], "025ea152": [ - 88, + 89, 19 ], "2377e768": [ - 88, + 89, 19 ], "2621a36c": [ - 88, + 89, 19 ], "601b9670": [ - 88, - 89 + 89, + 90 ], "3669905a": [ - 88, - 89 + 89, + 90 ], "9b8ff364": [ - 88, - 89 + 89, + 90 ], "60d55060": [ - 88, - 89 + 89, + 90 ], "4f28c6e8": [ - 88, - 89 + 89, + 90 ], "4d321547": [ 109, @@ -5366,122 +5366,122 @@ ], "13115c5e": [ 132, - 69 + 70 ], "86ba4860": [ 132, - 69 + 70 ], "16b037b6": [ 132, - 69 + 70 ], "f7277074": [ 132, - 69 + 70 ], "3d3c2c3f": [ 132, - 69 + 70 ], "3f43ed2c": [ 133, - 61 + 62 ], "07a9aefb": [ 133, - 61 + 62 ], "294b212a": [ 133, - 61 + 62 ], "786a9276": [ 133, - 61 + 62 ], "7d775f50": [ 133, - 61 + 62 ], "a7f35a5a": [ - 91, + 92, 112 ], "b0e28b4a": [ - 91, + 92, 112 ], "01bf7061": [ - 91, + 92, 112 ], "4e1a65b6": [ - 91, + 92, 112 ], "6897a8f2": [ - 91, + 92, 112 ], "097d7867": [ 115, - 106 + 107 ], "e15ca262": [ 115, - 106 + 107 ], "507d3ae2": [ 115, - 106 + 107 ], "5751a045": [ 115, - 106 + 107 ], "091ce929": [ 115, - 106 + 107 ], "12f3e26d": [ - 22, + 23, 127, 141, 140 ], "4eeda798": [ - 22, + 23, 127, 141, 140 ], "8accfe3a": [ - 22, + 23, 127, 141, 140 ], "1a4d3932": [ - 22, + 23, 127, 141, 140 ], "412eb792": [ - 93 + 94 ], "5a780b22": [ - 93 + 94 ], "3a23a578": [ - 93 + 94 ], "021da998": [ - 93 + 94 ], "a3648244": [ - 93 + 94 ], "67cd7634": [ 131, @@ -5496,177 +5496,177 @@ 120 ], "0f3aa19c": [ - 36 + 37 ], "7c60239a": [ - 36 + 37 ], "70153cae": [ - 36 + 37 ], "063fc2f8": [ - 33, - 53 + 34, + 54 ], "c938282a": [ - 33, - 53 + 34, + 54 ], "274461ee": [ - 33, - 53 + 34, + 54 ], "34bde786": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "0d2c3ecf": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "d21576fc": [ - 33, - 53 + 34, + 54 ], "5e205c9a": [ - 33, - 53 + 34, + 54 ], "1e66f063": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "3ad5130c": [ - 33, - 53 + 34, + 54 ], "0980ec94": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "60ee895e": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "c87d5dfe": [ - 102, - 25 + 103, + 26 ], "4ed526b2": [ - 32, - 80 + 33, + 81 ], "660f0fde": [ 116, - 94 + 95 ], "21c3e2fa": [ 4, - 96 + 97 ], "0fc5f63e": [ - 79, - 27 + 80, + 28 ], "2620242c": [ - 37, - 64 + 38, + 65 ], "66c6050a": [ - 56, - 58 + 57, + 59 ], "0da839db": [ 10, - 73 + 74 ], "18264e48": [ - 35, - 55 + 36, + 56 ], "3bfc5d48": [ 2, 123 ], "4fa99e72": [ - 81, - 71 + 82, + 72 ], "3b3b9070": [ 14, - 49 + 50 ], "5061d22e": [ - 90, + 91, 8 ], "8265e514": [ - 87, - 59 + 88, + 60 ], "18ddc10a": [ - 74, - 48 + 75, + 49 ], "56531f7a": [ - 34, - 75 + 35, + 76 ], "565f6b13": [ - 97, - 78 + 98, + 79 ], "1cec0d04": [ - 66, + 67, 119 ], "2ee1da68": [ - 22, + 23, 127, 141, 140 @@ -5683,8 +5683,8 @@ 140 ], "1c95fcf9": [ - 72, - 60, + 73, + 61, 139 ], "b218597a": [ @@ -5693,23 +5693,23 @@ ], "36b9dd80": [ 15, - 104 + 105 ], "19dd2824": [ 129, - 44 + 45 ], "7b5a9006": [ 110, - 28 + 29 ], "77db5a82": [ 111, - 84 + 85 ], "030cedd8": [ - 26, - 67 + 27, + 68 ], "80d03c1e": [ 109, @@ -5717,22 +5717,22 @@ ], "74ef7a0a": [ 132, - 69 + 70 ], "1aa958a2": [ 133, - 61 + 62 ], "09dbba51": [ 115, - 106 + 107 ], "1afdedd1": [ - 51, - 23 + 52, + 24 ], "1c09370c": [ - 105, + 106, 117, 146 ], @@ -5741,48 +5741,48 @@ 9 ], "7e1072bc": [ - 31, + 32, 125 ], "593b3e59": [ - 46, - 45 + 47, + 46 ], "c7232f28": [ 128, - 50 + 51 ], "7ce9c4c0": [ 6, - 103 + 104 ], "4400bf80": [ - 42, + 43, 7, 141, 140 ], "2a7b11b2": [ - 57, - 21 + 58, + 22 ], "3c24dd4b": [ - 63, + 64, 3 ], "17d0cac8": [ - 29, - 62 + 30, + 63 ], "16eafde9": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 @@ -5806,12 +5806,12 @@ 140 ], "57317b02": [ - 24, - 98 + 25, + 99 ], "29559d46": [ - 74, - 48 + 75, + 49 ], "184cdaa2": [ 5, @@ -5834,12 +5834,12 @@ 146 ], "285cdfa4": [ - 105, + 106, 117, 146 ], "c3b902ac": [ - 105, + 106, 117, 146 ], @@ -5849,8 +5849,8 @@ 146 ], "03ebfe2a": [ - 86, - 68 + 87, + 69 ], "a2e9afcc": [ 118, @@ -5860,31 +5860,31 @@ ], "489e0d90": [ 110, - 28 + 29 ], "e989b29e": [ 15, - 104 + 105 ], "305ed102": [ 15, - 104 + 105 ], "637bc82c": [ - 86, - 68 + 87, + 69 ], "767f2d86": [ - 92, - 95 + 93, + 96 ], "7332f66e": [ - 92, - 95 + 93, + 96 ], "98035a82": [ - 92, - 95 + 93, + 96 ], "5afb6362": [ 11, @@ -5896,21 +5896,21 @@ 146 ], "02c072bd": [ - 38, - 107, + 39, + 20, 143, 145, 142, + 136, 137, 138, - 136, 144, 134, 135 ], "1ad2c216": [ 129, - 44 + 45 ], "2d9bfb8e": [ 118, @@ -5920,7 +5920,7 @@ ], "2a05c0ee": [ 129, - 44 + 45 ], "534fdfba": [ 5, @@ -5929,72 +5929,72 @@ ], "644c7eac": [ 6, - 103 + 104 ], "8b646384": [ 6, - 103 + 104 ], "68d76544": [ 6, - 103 + 104 ], "6ee85dba": [ - 40, - 76 + 41, + 77 ], "7f229e72": [ - 86, - 68 + 87, + 69 ], "27401cdc": [ - 86, - 68 + 87, + 69 ], "3966b1db": [ - 86, - 68 + 87, + 69 ], "731301e7": [ - 86, - 68 + 87, + 69 ], "63352d87": [ 131, 120 ], "a9023ecc": [ - 41, + 42, 122 ], "cd665d14": [ - 86, - 68 + 87, + 69 ], "7e7a275e": [ - 86, - 68 + 87, + 69 ], "02f5f814": [ - 86, - 68 + 87, + 69 ], "3ba7f0ac": [ - 86, - 68 + 87, + 69 ], "d0bd6bb2": [ - 105, + 106, 117, 146 ], "b67289b0": [ - 105, + 106, 117, 146 ], "240bb6ac": [ - 105, + 106, 117, 146 ], @@ -6029,6 +6029,7 @@ "1a859410731cda318148.js": "16774e62", "1ac99402eb7b4297a720.js": "e95569a8", "1b33a1f508fbae3639ba.js": "58d3b817", + "1c08c6ce1f8aeedba28d.js": "1a3ae26b", "1de2b68c87ccbff9c1f8.js": "afe6000c", "1ec7249b19b4d2458dd4.js": "37b42317", "20fb7d31c8b12187d4af.js": "0037b176", @@ -6082,7 +6083,6 @@ "c9ec5e4d306215c70f61.js": "198e89e9", "ca3c1e57d0dd5c93e023.js": "9ba714b6", "caa5710ea5beba9b85b4.js": "6ca808ba", - "cbe0787e6132307898b4.js": "1a3ae26b", "d135ff84f92b139d63f1.js": "0da4b670", "d7917c09eeb0b3848e42.js": "bba68bf6", "dc063adb178129901a6e.js": "f72dc56e", diff --git a/.nuxt/dist/server/index.spa.html b/.nuxt/dist/server/index.spa.html index 5412470e..0bea6158 100644 --- a/.nuxt/dist/server/index.spa.html +++ b/.nuxt/dist/server/index.spa.html @@ -6,5 +6,5 @@ logo {{ APP }} - + diff --git a/.nuxt/dist/server/modern.manifest.json b/.nuxt/dist/server/modern.manifest.json index 2b3f6867..44eed50c 100644 --- a/.nuxt/dist/server/modern.manifest.json +++ b/.nuxt/dist/server/modern.manifest.json @@ -61,7 +61,7 @@ "50861d8d49bf6cd4a5c4.js", "519b514a5142cbcda7f2.css", "51a842cca041821f889c.js", - "56266db245806cd4169f.js", + "55836ba071505dc58ecd.js", "5a2c05789755efbc10dc.js", "5d08c949729692a2af1c.js", "5fba15a2d8f31bfc55d9.js", @@ -154,7 +154,7 @@ "3003a48add5fa9f415cb.css", "26e2ad46c3d02400f76f.js", "40414d968b80a17aced8.css", - "56266db245806cd4169f.js" + "55836ba071505dc58ecd.js" ], "async": [ "000beb7ce0a555ad206c.css", @@ -389,8 +389,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -451,8 +451,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -464,8 +464,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -477,8 +477,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -490,8 +490,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -503,8 +503,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -516,8 +516,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -529,8 +529,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -542,8 +542,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -555,8 +555,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -568,8 +568,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -581,8 +581,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -594,8 +594,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -607,8 +607,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -620,8 +620,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -633,8 +633,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -646,8 +646,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -659,8 +659,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -672,8 +672,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -685,8 +685,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -698,8 +698,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -711,8 +711,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -724,8 +724,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -737,8 +737,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -750,8 +750,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -763,8 +763,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -776,8 +776,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -789,8 +789,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -802,8 +802,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -815,8 +815,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -828,8 +828,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -841,8 +841,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -854,8 +854,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -867,8 +867,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -880,8 +880,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -893,8 +893,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -906,8 +906,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -919,8 +919,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -932,8 +932,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -945,8 +945,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -958,8 +958,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -986,8 +986,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1039,8 +1039,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1120,8 +1120,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1164,8 +1164,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1181,8 +1181,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1194,8 +1194,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1207,8 +1207,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1220,8 +1220,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1249,8 +1249,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1358,8 +1358,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1402,8 +1402,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1518,8 +1518,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1534,8 +1534,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1602,8 +1602,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1615,8 +1615,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1628,8 +1628,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1641,8 +1641,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1654,8 +1654,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1667,8 +1667,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1680,8 +1680,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1693,8 +1693,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1706,8 +1706,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1719,8 +1719,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1746,8 +1746,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1839,8 +1839,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1852,8 +1852,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1934,8 +1934,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1947,8 +1947,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1966,8 +1966,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1979,8 +1979,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -1992,8 +1992,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2005,8 +2005,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2022,8 +2022,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2035,8 +2035,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2048,8 +2048,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2061,8 +2061,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2074,8 +2074,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2087,8 +2087,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -2254,8 +2254,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5380,8 +5380,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5393,8 +5393,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5414,8 +5414,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5431,8 +5431,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5444,8 +5444,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5638,8 +5638,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5759,8 +5759,8 @@ 142, 144, 141, - 136, 137, + 136, 135, 143, 133, @@ -5914,7 +5914,7 @@ "4fa432cd808968372b14.js": "edea4a32", "50861d8d49bf6cd4a5c4.js": "2112c0a8", "51a842cca041821f889c.js": "65fbe49f", - "56266db245806cd4169f.js": "1a3ae26b", + "55836ba071505dc58ecd.js": "1a3ae26b", "5a2c05789755efbc10dc.js": "0526360e", "5d08c949729692a2af1c.js": "63564c52", "5fba15a2d8f31bfc55d9.js": "6cc1d1d6", diff --git a/.nuxt/dist/server/server.js b/.nuxt/dist/server/server.js index 009203b1..9767fdc5 100644 --- a/.nuxt/dist/server/server.js +++ b/.nuxt/dist/server/server.js @@ -1 +1 @@ -module.exports=function(e){var t={},n={0:0};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.e=function(t){if(0!==n[t]){var o=require("./"+{1:"eb295174ce09f9557587",2:"d51116db1ad6960e9dd0",3:"fbd137a64f0160ebad12",4:"5a06eeb06073506cedf9",5:"8793082e867eb3bcec8f",6:"34d15f82f8397d614312",7:"6801d56f9e6216c2a184",8:"8d7c52e87913dacccf8d",9:"9b9941801739d2f82e4a",10:"56da5555dc16bf445eb0",11:"84bfab90b7b54042a070",12:"8be2034645c6b7f3fc0b",13:"7d0be43b6b222b091948",14:"bd95183ae14e201a7c8e",15:"0f7258519e51e10f4c3d",16:"3102cd18955943b2a97a",17:"328b74d9b1caeddbb17c",18:"86cf02b90eaba216a900",19:"f872f4b1e6021a213119",20:"b156e7bb303f717697d5",21:"8f17452bc3649c2908ab",22:"55f9fcf4236f10882ffa",23:"954099c91a6622cc8d6d",24:"9e93679f5e6e86a42891",25:"2975ba0631a0b865f90b",26:"0b7c29ba9d2476192500",27:"50926616a400fa31fb44",28:"0f361ddba3ecca463bad",29:"af1fad0e152e0b7b76f4",30:"e7ed0aa4b28fe51602b3",31:"2e6e2df8d92ca0089ba8",32:"e3c74e20e228f3cbafc3",33:"892fee9fa6dc01c0d700",34:"b6d3f62136b7cd6b9690",35:"0a47d4d137c56043fdfa",36:"942149bf11c7b9d9526d",37:"30ed1fb77736c7205576",38:"438e659850971d4a4e15",39:"38af281e7ac3ece50059",40:"c081cd359e555bd24ce2",41:"a5e834aa7db575df09d9",42:"f1d6298b4d0a17448698",43:"a12fd98896135eddbbe3",44:"7565a115806ae643e358",45:"9cd72ef4c794348307f4",46:"f213e1efcebfca9901a6",47:"4ab311417be120c07c5c",48:"43dbb0b55cc3fca5ffbc",49:"14356f3075990e5a1938",50:"7cd2f8728cd19d6f04d2",51:"bdbefcdd096cd720b015",52:"0f2a81ea800a745fbffd",53:"833145225ba96bbd2b64",54:"13344db5d4460a99c3c6",55:"410a1c8dc9312db3d727",56:"421309a0e939616a0247"}[t]+".js"),r=o.modules,c=o.ids;for(var l in r)e[l]=r[l];for(var i=0;it?"我":0===e?"TA":1===e?"他":2===e?"她":"TA",r=()=>`${Date.now()}-${Math.random().toString(36).substring(3,6)}`,c=time=>{if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);let e=new Date(time);return"Invalid Date"===e.toString()&&(e=new Date(time.replace(/-/g,"/"))),e},l=e=>e>1e3?`${Math.floor(e/1e3*10)/10}k`:e,d=time=>{const e=c(time),t=Date.now()-e.getTime(),n=[e.getFullYear(),`0${e.getMonth()+1}`.substr(-2),`0${e.getDate()}`.substr(-2),`0${e.getHours()}`.substr(-2),`0${e.getMinutes()}`.substr(-2)];if(t>31536e6||t<=0)return`${n[0]}-${n[1]}-${n[2]}`;const o=(new Date).setHours(0,0,0,0);return o{if(!e)return!1;const rect=e.getBoundingClientRect();return rect.top0&&rect.left0},m=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,e,t){element&&e&&t&&element.addEventListener(e,t,!1)}:function(element,e,t){element&&e&&t&&element.attachEvent("on"+e,t)}}(),f=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,e,t){element&&e&&element.removeEventListener(e,t,!1)}:function(element,e,t){element&&e&&element.detachEvent("on"+e,t)}}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"j",(function(){return r})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"h",(function(){return v}));const o=e=>e.$axios.$post("v1/door/get_user_info"),r=(e,t)=>e.$axios.$post("v1/user/update_info",t),c=(e,{slug:t})=>e.$axios.$get("v1/user/show",{params:{slug:t}}),l=(e,{slug:t,phone:n,password:o,authCode:r})=>e.$axios.$post("v1/door/bind_phone",{slug:t,phone:n,password:o,authCode:r}),d=(e,{slug:t})=>e.$axios.$get("v1/message/total",{params:{slug:t},progress:!1}),h=(e,{phone_number:t,type:n,geetest:o})=>e.$axios.$post("v1/door/message",{phone_number:t,type:n,geetest:o}),m=(e,{access:t,secret:n,authCode:o,inviteCode:r})=>e.$axios.$post("v1/door/register",{access:t,secret:n,authCode:o,inviteCode:r}),f=(e,{access:t,secret:n,remember:o,geetest:r})=>e.$axios.$post("v1/door/login",{access:t,secret:n,remember:o,geetest:r}),y=e=>e.$axios.$post("v1/door/logout"),v=(e,{method:t,access:n,authCode:o,secret:r})=>e.$axios.$post("v1/door/reset_password",{method:t,access:n,authCode:o,secret:r})},function(e,t){},function(e,t){e.exports=require("vue-mixin-store")},function(e,t){e.exports=require("vue-router")},function(e,t){e.exports=require("throttle-debounce")},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports=require("vue-no-ssr")},function(e,t){e.exports=require("axios")},function(e,t){e.exports=require("vue-client-only")},function(e,t){e.exports=require("vuex")},function(e,t){e.exports=require("element-ui/lib/input")},function(e,t){e.exports=require("element-ui/lib/form-item")},function(e,t){e.exports=require("element-ui/lib/form")},function(e,t){e.exports=require("element-ui/lib/tag")},function(e,t){e.exports=require("element-ui/lib/col")},function(e,t){e.exports=require("element-ui/lib/row")},function(e,t){e.exports=require("element-ui/lib/button")},function(e,t){e.exports=require("v-switcher")},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return h}));const o=(e,{slug:t})=>e.$axios.$get("v1/tag/show",{params:{slug:t}}),r=(e,{name:t,parent_slug:n})=>e.$axios.$post("v1/tag/create",{name:t,parent_slug:n}),c=(e,{name:t,slug:n,avatar:o,alias:r,intro:c})=>e.$axios.$post("v1/tag/update",{name:t,slug:n,avatar:o,alias:r,intro:c}),l=(e,{slug:t})=>e.$axios.$post("v1/tag/delete",{slug:t}),d=(e,{slug:t})=>e.$axios.$get("v1/tag/bookmarks",{params:{slug:t}}),h=(e,{slug:t,page:n,take:o})=>e.$axios.$get("v1/tag/children",{params:{slug:t,page:n,take:o}})},function(e,t,n){"use strict";const o=e=>{if(!e)return"";let t="";return e.split("; ").forEach(e=>{e.startsWith("JWT-TOKEN=")&&(t=e.split("JWT-TOKEN=")[1])}),t};t.a=e=>{let t="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;let e;try{e=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(t){e={authToken:""}}t=e.authToken,t||(t=o(document.cookie))}else t=o(e.context.req.headers.cookie);return!t&&e&&(t=e.context.query.token),t=~["undefined","null"].indexOf(t)?"":t,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=t),t}},function(e,t){e.exports=require("element-ui/lib/switch")},function(e,t,n){e.exports=n.p+"img/b07f58f.jpeg"},function(e,t,n){"use strict";n.r(t),n.d(t,"getUserMessage",(function(){return o})),n.d(t,"getUserRelation",(function(){return r})),n.d(t,"getUserDrafts",(function(){return c})),n.d(t,"getUserTimeline",(function(){return l})),n.d(t,"getPinComments",(function(){return d})),n.d(t,"getTagFlows",(function(){return h})),n.d(t,"getATField",(function(){return m})),n.d(t,"getZoneQuestions",(function(){return f})),n.d(t,"getMixinSearch",(function(){return y})),n.d(t,"getTimeline",(function(){return v})),n.d(t,"getFlowRecommendedIndex",(function(){return x})),n.d(t,"tagHottest",(function(){return _})),n.d(t,"getBangumiQuestionTrials",(function(){return w})),n.d(t,"getIdolFans",(function(){return $}));const o=({$axios:e,channel:t,since_id:n,is_up:o,count:r})=>e.$get("v1/message/history",{params:{channel:t,since_id:n,count:r,is_up:o}}),r=({$axios:e,seen_ids:t,slug:n,relation:o})=>e.$get("v1/user/relation",{params:{seen_ids:t,slug:n,relation:o}}),c=({$axios:e,page:t,count:n})=>e.$get("v1/pin/drafts",{params:{page:t,count:n}}),l=({$axios:e,page:t,count:n,slug:o})=>e.$get("v1/user/timeline",{params:{page:t,count:n,slug:o}}),d=({$axios:e,sort:t,slug:n,count:o,last_id:r,seen_ids:c,mode:l,page:d})=>e.$get("v1/comment/list",{params:{sort:t,slug:n,count:o,last_id:r,seen_ids:c,mode:l,page:d}}),h=({$axios:e,slug:t,sort:n,time:time,take:o,seen_ids:r,last_id:c})=>{return new Promise((l,d)=>{Promise.all([e.$get("v1/flow/pins",{params:{slug:t,sort:n,time:time,take:o,is_up:0,spec_id:"newest"===n?c:r}}),new Promise(e=>setTimeout(e,400))]).then(data=>{l(data[0])}).catch(d)})},m=({$axios:e,page:t,count:n,sort:o,slug:r})=>{return new Promise((c,l)=>{Promise.all([e.$get("v1/atfield/flow",{params:{page:t,count:n,sort:o,slug:r}}),new Promise(e=>setTimeout(e,400))]).then(data=>{c(data[0])}).catch(l)})},f=({$axios:e,slug:t})=>e.$get("v1/atfield/list",{params:{slug:t}}),y=({$axios:e,page:t,type:n,q:q})=>e.$get("v1/search/mixin",{params:{page:t,type:n,q:q}}),v=({$axios:e,type:t,slug:n})=>e.$get(`v1/${t}/timeline`,{params:{slug:n}}),x=({$axios:e,seen_ids:t})=>e.$get("v1/flow/index",{params:{seen_ids:t}}),_=({$axios:e,page:t,take:n})=>e.$get("v1/tag/hottest",{params:{page:t,take:n}}),w=({$axios:e,page:t,take:n,bangumi_slug:o,user_slug:r,status:c,sort:l})=>e.$get("v1/join/flow",{params:{page:t,take:n,bangumi_slug:o,user_slug:r,status:c,sort:l}}),$=({$axios:e,page:t,take:n,slug:o,sort:r})=>e.$get("v1/idol/fans",{params:{page:t,take:n,slug:o,sort:r}})},function(e,t,n){"use strict";var o=n(27),r=n.n(o),c=n(35),l=n.n(c),d=n(7),h=n(3),m=n(31),f={components:{ElBadge:l.a,ElSwitch:r.a,VSearch:m.a},props:{showUser:{type:Boolean,default:!0}},data:()=>({night_mode:!1}),computed:{headers:()=>[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}],isAuth(){return this.$store.state.isAuth},user(){return this.$store.state.user},mailbox(){return this.$store.state.mailbox},headerType(){const{name:e}=this.$route;return"fixed"}},mounted(){this.$channel.$when("user-signed",()=>{this.getUnreadMessageCount()})},methods:{handleLogout(){Object(h.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn(){this.$channel.$emit("sign-in")},getUnreadMessageCount(){this.$store.dispatch("refreshMailbox");let e=Date.now();window.addEventListener("mousemove",Object(d.throttle)(3e3,()=>{e=Date.now()})),setInterval(()=>{"visible"===document.visibilityState&&!this.$store.state.socket.isConnected&&Date.now()-e<3e4&&this.$store.dispatch("refreshMailbox")},1e4)},handleNightModeSwitch(){this.$toast.success("开个玩笑,还没支持~")}}},y=n(1);var component=Object(y.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{attrs:{id:"page-header"}},[e._ssrNode("","",[e._ssrNode('",[e._ssrNode('",[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),e._ssrNode(" "),n("VSwitcher",{attrs:{headers:e.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},e._l(e.headers,(function(t,o){return n("NLink",{key:o,attrs:{slot:"tab-"+o,to:t.route},slot:"tab-"+o},[n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],2),e._ssrNode(" "),e._ssrNode('
',"
",[e._ssrNode('
',"
",[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),e._ssrNode(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],2),e._ssrNode(" "),e.showUser?[e.isAuth?[e._ssrNode('",[n("NLink",{staticClass:"avatar",attrs:{to:e.$alias.user(e.user.slug)}},[n("VImg",{attrs:{src:e.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:e.user.nickname}})],1),e._ssrNode(" "),e._ssrNode('
',"
",[e._ssrNode('

'+e._s(e.user.nickname)+"

"),e._ssrNode('
',"
",[e._ssrNode('
夜间模式
'),e._ssrNode('
',"
",[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:e.handleNightModeSwitch},model:{value:e.night_mode,callback:function(t){e.night_mode=t},expression:"night_mode"}})],1)],2),e._ssrNode(" "),n("NLink",{attrs:{to:e.$alias.user(e.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),e._v(" "),n("span",[e._v("设置")])])])]),e._ssrNode(' ')],2)],2),e._ssrNode(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:e.$alias.user(e.user.slug,"message")}},[n("ElBadge",{attrs:{value:e.mailbox.unread_notice_total+e.mailbox.unread_message_total,hidden:!e.mailbox.unread_message_total&&!e.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:e.handleSignIn}},[e._v("\n 登录\n ")]),e._ssrNode(" "),n("NLink",{attrs:{to:e.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[e._v("\n 登录  \n ")])],1)]]:e._e(),e._ssrNode(" "),e._ssrNode('
',"
",[n("NLink",{attrs:{target:"_blank",to:e.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[e._v("\n 投稿\n ")])],1)],1)],2)],2)]),e._ssrNode('
')],2)}),[],!1,(function(e){var t=n(42);t.__inject__&&t.__inject__(e)}),null,"c73ed79e");t.a=component.exports},function(e,t,n){"use strict";var o={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted(){this.$watch("value",e=>{this.word=e,this.typing=!0,this.selectedIndex=-1,this.handleEnter(e)}),this.$watch("word",e=>{this.$emit("input",e)}),this.$watch("$route",e=>{"search"===e.name&&(this.word=e.query.q,this.selectedType=e.query.type,setTimeout(()=>{this.typing=!1},0))}),this.getSearchTags()},methods:{getSearchTags(){this.showSuggestion&&this.$nextTick(()=>{this.$cache.expired("search-all-tags",86400)?this.$axios.$get("v1/search/tags").then(e=>{this.tags=e,this.$cache.set("search-all-tags",e),this.word&&(this.handleEnter(this.word),this.filteredSelect.length&&(this.handleInputFocus(),this.typing=!0))}).catch(()=>{}):this.tags=this.$cache.get("search-all-tags")})},submit(){const q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter(e){this.filteredSelect=e?this.tags.filter(option=>option.alias.includes(e)||option.name.includes(e)):[]},handleInputFocus(){this.state="focus",this.$emit("focus")},handleInputBlur(){this.state="blur",this.$emit("blur")}}},r=n(1);var component=Object(r.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"search-input-wrap",class:"search-"+e.state,attrs:{action:"#",method:"get"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[e._ssrNode('",[e._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),e._ssrNode('
'),e._ssrNode('
    ","
",e._l(e.filteredSelect,(function(t,o){return n("NLink",{key:t.id,class:{active:o===e.selectedIndex},attrs:{to:e.$alias.tag(t.slug),tag:"li"}},[n("img",{attrs:{src:e.$resize(t.avatar,{width:60})}}),e._v(" "),n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],2)}),[],!1,(function(e){var t=n(41);t.__inject__&&t.__inject__(e)}),null,"780199d3");t.a=component.exports},function(e,t){e.exports=require("querystring")},function(e,t){e.exports=require("node-fetch")},function(e,t){e.exports=require("vue-meta")},function(e,t){e.exports=require("element-ui/lib/badge")},function(e,t){},function(e,t){e.exports=require("defu")},function(e,t,n){e.exports=n(53)},function(e,t,n){e.exports=n.p+"img/d465ab1.jpeg"},function(e,t,n){e.exports=n.p+"img/adea640.jpeg"},function(e,t,n){"use strict";n.r(t);var o=n(8),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(9),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(10),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(11),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return d})),n.d(t,"mutations",(function(){return h})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var o=n(5),r=n.n(o),c=n(29);const l=r.a.FlowStore(c),d=l.state,h=l.mutations,m=l.actions,f=l.getters},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return r})),n.d(t,"mutations",(function(){return c})),n.d(t,"actions",(function(){return l}));var o=n(25);const r=()=>({myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}),c={SET_MY_TAGS_STATE(e){e.myTagsFetched=!0},SET_HOTTEST_TAGS(e,t){e.hottest_tags=t.result},SET_MY_TAGS(e,data){Object.keys(data).forEach(t=>{e.myTags.forEach(e=>{e.slug===t&&(e.children=data[t])})})}},l={async getMyTags({rootState:e,state:t,commit:n}){if(t.myTagsFetched||!e.isAuth)return;n("SET_MY_TAGS_STATE"),n("SET_MY_TAGS",await Object(o.a)(this,{slug:e.user.slug}))},getHottestTags({state:e,commit:t}){if(!e.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then(e=>{t("SET_HOTTEST_TAGS",e)}).catch(()=>{})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return l})),n.d(t,"mutations",(function(){return h})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var o=n(0),r=n.n(o),c=n(36);const l=()=>({}),d=(e,t)=>`${e}-${t}`,h={set(e,{type:t,data:data,slug:n}={}){let o=!1;Object.keys(data).forEach(n=>{if("object"==typeof data[n]){const o=data[n];Object.keys(o).forEach(e=>{o[`${e}_loading`]=!1}),r.a.set(e,`${t}-${n}`,o)}else o=!0,data[`${n}_loading`]=!1}),o&&r.a.set(e,`${t}-${n}`,data)},PUSH_USERS(e,{type:t,slug:n,key:o,data:data}){const r=d(t,n),c=`${o}_users`,l=e[r][c].list,h=data.list.map(e=>e.slug);e[r][c].list=l.filter(e=>!h.includes(e.slug)).concat(data.list),e[r][c].total=data.total,e[r][c].no_more=data.no_more,e[r][c].loading=!1},SET_STATE(e,{type:t,slug:n,key:o,result:r,user:c}){if(0===r)return;const l=d(t,n),h=`${o}_users`;e[l][o]=r>0,e[l][`${o}_loading`]=!1,e[l][h]&&(r>0?(e[l][h].total++,e[l][h].no_more=!1,e[l][h].list.unshift(c)):(e[l][h].total--,e[l][h].list.forEach((t,n)=>{t.slug===c.slug&&e[l][h].list.splice(n,1)})))},SET_STATUS(e,{type:t,slug:n,key:o,value:r}){e[d(t,n)][`${o}_users`][r]=!0},SET_LOADING(e,{type:t,slug:n,action:o,result:r}){e[d(t,n)][`${o}_loading`]=r}},m={async users({state:e,commit:t},{type:n,slug:o,key:r}){const l=e[d(n,o)][`${r}_users`];if(!l.loading&&!l.no_more){t("SET_STATUS",{type:n,key:r,slug:o,value:"loading"});try{t("PUSH_USERS",{type:n,slug:o,key:r,data:await c.users({ctx:this,type:r,slug:o,last_slug:l.list.length?l.list[l.list.length-1].slug:0,model:n,take:15})})}catch(e){t("SET_STATUS",{type:n,key:r,slug:o,value:"error"})}}},async toggle({state:e,commit:t,rootState:n},{type:o,slug:r,action:c,params:l}){if(!e[d(o,r)][`${c}_loading`]){t("SET_LOADING",{action:c,type:o,slug:r,result:!0});try{const e=await this.$axios.$post("v1/social/toggle",l),{user:d}=n;return t("SET_STATE",{type:o,key:c,slug:r,result:e,user:{slug:d.slug,nickname:d.nickname,avatar:d.avatar,created_at:parseInt(Date.now()/1e3)}}),{success:!0,result:e}}catch(e){return t("SET_LOADING",{action:c,type:o,slug:r,result:!1}),{success:!1}}}}},f={get:e=>(t,n)=>e[d(t,n)]}},function(e,t){e.exports={undefined:void 0}},function(e,t,n){"use strict";n.r(t);var o=n(12),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(32),r=n(0),c=n.n(r),l=n(33),d=n.n(l);var h={};function m(e){return e.then(e=>e.default||e)}function f(e){return e.options&&e._Ctor===e?e:(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=c.a.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file),e)}function y(e,t=!1,n="components"){return Array.prototype.concat.apply([],e.matched.map((e,o)=>Object.keys(e[n]).map(r=>(t&&t.push(o),e[n][r]))))}function v(e,t){return Promise.all(function(e,t){return Array.prototype.concat.apply([],e.matched.map((e,n)=>Object.keys(e.components).reduce((o,r)=>(e.components[r]?o.push(t(e.components[r],e.instances[r],e,r,n)):delete e.components[r],o),[])))}(e,async(e,n,o,r)=>("function"!=typeof e||e.options||(e=await e()),o.components[r]=e=f(e),"function"==typeof t?t(e,n,o,r):e)))}async function x(e){if(e)return await v(e),{...e,meta:y(e).map((t,n)=>({...t.options.meta,...(e.matched[n]||{}).meta}))}}async function _(e,t){e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:t.payload,error:t.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},t.req&&(e.context.req=t.req),t.res&&(e.context.res=t.res),t.ssrContext&&(e.context.ssrContext=t.ssrContext),e.context.redirect=(t,path,n)=>{if(!t)return;e.context._redirected=!0;let o=typeof path;"number"==typeof t||"undefined"!==o&&"object"!==o||(n=path||{},o=typeof(path=t),t=302),"object"===o&&(path=e.router.resolve(path).route.fullPath),/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path)?e.context.next({path:path,query:n,status:t}):(path=function(e,t){let n;const o=e.indexOf("://");-1!==o?(n=e.substring(0,o),e=e.substring(o+3)):e.startsWith("//")&&(e=e.substring(2));let r,c=e.split("/"),l=(n?n+"://":"//")+c.shift(),path=c.filter(Boolean).join("/");c=path.split("#"),2===c.length&&([path,r]=c);l+=path?"/"+path:"",t&&"{}"!==JSON.stringify(t)&&(l+=(2===e.split("?").length?"&":"?")+function(e){return Object.keys(e).sort().map(t=>{const n=e[t];return null==n?"":Array.isArray(n)?n.slice().map(e=>[t,"=",e].join("")).join("&"):t+"="+n}).filter(Boolean).join("&")}(t));return l+=r?"#"+r:"",l}(path,n),e.context.next({path:path,status:t}))},e.context.beforeNuxtRender=e=>t.beforeRenderFns.push(e));const[n,o]=await Promise.all([x(t.route),x(t.from)]);t.route&&(e.context.route=n),t.from&&(e.context.from=o),e.context.next=t.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{}}function w(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():$(e[0],t).then(()=>w(e.slice(1),t))}function $(e,t){let n;return n=2===e.length?new Promise(n=>{e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))}):e(t),n&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function E(e,t){return function(e,t){const n=new Array(e.length);for(let i=0;i"%"+e.charCodeAt(0).toString(16).toUpperCase())}function k(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function C(e){return e.replace(/([=!:$/()])/g,"\\$1")}function N(e){return e&&e.sensitive?"":"i"}var O=n(34),j=n.n(O),A=n(15),R=n.n(A),M=n(13),P=n.n(M),L=n(6),I=n.n(L);const U=()=>{},D=I.a.prototype.push;I.a.prototype.push=function(e,t=U,n){return D.call(this,e,t,n)},c.a.use(I.a);const z={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){let o=!1;const r=y(e);r.length<2&&r.every(e=>!1!==e.options.scrollToTop)?o={x:0,y:0}:r.some(e=>e.options.scrollToTop)&&(o={x:0,y:0}),n&&(o=n);const c=window.$nuxt;return e.path===t.path&&e.hash!==t.hash&&c.$nextTick(()=>c.$emit("triggerScroll")),new Promise(t=>{c.$once("triggerScroll",()=>{if(e.hash){let t=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(t="#"+window.CSS.escape(t.substr(1)));try{document.querySelector(t)&&(o={selector:t})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(o)})})},routes:[{path:"/about",component:()=>m(n.e(4).then(n.bind(null,351))),props:!1,name:"about",children:[{path:"managers",component:()=>m(n.e(5).then(n.bind(null,352))),props:!1,name:"about-index-managers"}]},{path:"/search",component:()=>m(n.e(25).then(n.bind(null,344))),props:!1,name:"search"},{path:"/sign",component:()=>m(n.e(26).then(n.bind(null,353))),props:!1,name:"sign"},{path:"/write",component:()=>m(n.e(50).then(n.bind(null,341))),props:!1,name:"write"},{path:"/app/admin",component:()=>m(n.e(8).then(n.bind(null,354))),props:!1,name:"app-admin"},{path:"/callback/auth-error",component:()=>m(n.e(20).then(n.bind(null,355))),props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:()=>m(n.e(21).then(n.bind(null,356))),props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:()=>m(n.e(22).then(n.bind(null,357))),props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:()=>m(n.e(51).then(n.bind(null,358))),props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:()=>m(n.e(52).then(n.bind(null,359))),props:!1,name:"zone-bangumi"},{path:"/zone/game",component:()=>m(n.e(53).then(n.bind(null,360))),props:!1,name:"zone-game"},{path:"/zone/topic",component:()=>m(n.e(54).then(n.bind(null,361))),props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:()=>m(n.e(6).then(n.bind(null,362))),props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:()=>m(n.e(7).then(n.bind(null,363))),props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:()=>m(n.e(9).then(n.bind(null,364))),props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:()=>m(n.e(10).then(n.bind(null,365))),props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:()=>m(n.e(11).then(n.bind(null,366))),props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:()=>m(n.e(12).then(n.bind(null,367))),props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:()=>m(n.e(13).then(n.bind(null,368))),props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:()=>m(n.e(14).then(n.bind(null,369))),props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:()=>m(n.e(15).then(n.bind(null,370))),props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:()=>m(n.e(16).then(n.bind(null,371))),props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:()=>m(n.e(17).then(n.bind(null,372))),props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:()=>m(n.e(18).then(n.bind(null,373))),props:!1,name:"app-user-edit"},{path:"/app/user/list",component:()=>m(n.e(19).then(n.bind(null,348))),props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:()=>m(n.e(24).then(n.bind(null,339))),props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:()=>m(n.e(29).then(n.bind(null,343))),props:!0,name:"tag-slug"},{path:"/user/:slug?",component:()=>m(n.e(31).then(n.bind(null,349))),props:!0,name:"user-slug",children:[{path:"draft",component:()=>m(n.e(32).then(n.bind(null,374))),props:!0,name:"user-slug-draft"},{path:"emotion",component:()=>m(n.e(38).then(n.bind(null,375))),props:!0,name:"user-slug-emotion"},{path:"message",component:()=>m(n.e(39).then(n.bind(null,340))),props:!0,name:"user-slug-message"},{path:"setting",component:()=>m(n.e(40).then(n.bind(null,376))),props:!0,children:[{path:"",component:()=>m(n.e(42).then(n.bind(null,377))),name:"user-slug-setting"},{path:"basic",component:()=>m(n.e(41).then(n.bind(null,378))),name:"user-slug-setting-basic"},{path:"oauth2",component:()=>m(n.e(43).then(n.bind(null,379))),name:"user-slug-setting-oauth2"}]},{path:"social",component:()=>m(n.e(44).then(n.bind(null,380))),props:!0,children:[{path:"",component:()=>m(n.e(48).then(n.bind(null,381))),name:"user-slug-social"},{path:"followers",component:()=>m(n.e(45).then(n.bind(null,382))),name:"user-slug-social-followers"},{path:"following",component:()=>m(n.e(46).then(n.bind(null,383))),name:"user-slug-social-following"},{path:"friends",component:()=>m(n.e(47).then(n.bind(null,384))),name:"user-slug-social-friends"}]},{path:"timeline",component:()=>m(n.e(49).then(n.bind(null,342))),props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:()=>m(n.e(33).then(n.bind(null,385))),props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:()=>m(n.e(34).then(n.bind(null,386))),name:"user-slug-emotion-category-bangumi"},{path:"game",component:()=>m(n.e(35).then(n.bind(null,387))),name:"user-slug-emotion-category-game"},{path:"notebook",component:()=>m(n.e(36).then(n.bind(null,388))),name:"user-slug-emotion-category-notebook"},{path:"topic",component:()=>m(n.e(37).then(n.bind(null,389))),name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:()=>m(n.e(27).then(n.bind(null,350))),props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:()=>m(n.e(28).then(n.bind(null,345))),props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:()=>m(n.e(30).then(n.bind(null,346))),props:!0,name:"tag-slug-qa"},{path:"/",component:()=>m(n.e(23).then(n.bind(null,390))),props:!1,name:"index"}],fallback:!1};var B={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(e,{parent:t,data:data,props:n}){data.nuxtChild=!0;const o=t,r=t.$nuxt.nuxt.transitions,c=t.$nuxt.nuxt.defaultTransition;let l=0;for(;t;)t.$vnode&&t.$vnode.data.nuxtChild&&l++,t=t.$parent;data.nuxtChildDepth=l;const d=r[l]||c,h={};F.forEach(e=>{void 0!==d[e]&&(h[e]=d[e])});const m={};G.forEach(e=>{"function"==typeof d[e]&&(m[e]=d[e].bind(o))});const f=m.beforeEnter;if(m.beforeEnter=e=>{if(window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),f)return f.call(o,e)},!1===d.css){const e=m.leave;(!e||e.length<2)&&(m.leave=(t,n)=>{e&&e.call(o,t),o.$nextTick(n)})}let y=e("routerView",data);return n.keepAlive&&(y=e("keep-alive",{props:n.keepAliveProps},[y])),e("transition",{props:h,on:m},[y])}};const F=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],G=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"];var H={name:"nuxt-error",components:{VHeader:n(30).a},props:{error:{type:Object,default:null}},computed:{statusCode(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message(){return this.error&&this.error.message}},mounted(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin(){this.$channel.$emit("sign-in")},toastMessage(){this.$toast.error(this.message)}},head:{title:"出错了"}},K=n(1);var V=Object(K.a)(H,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"error-page"}},[o("VHeader",{attrs:{"show-user":!1}}),e._ssrNode(" "),e._ssrNode('
',"
",[401===e.statusCode?e._ssrNode('
',"
",[e._ssrNode("

'+e._ssrEscape(e._s(e.message||"请登录后重新访问"))+'

')],2):403===e.statusCode?e._ssrNode('

'+e._ssrEscape(e._s(e.message||"您没有权限访问该页面"))+'

回到首页
'):404===e.statusCode?e._ssrNode('
',"
",[e._ssrNode("

您要找的页面不存在

\n 不存在的内容,或者正在审核中。\n
'),o("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[e._v("\n 返回首页\n ")]),e._ssrNode(" "),o("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],2):e.statusCode>=500?e._ssrNode('
',"
",[e._ssrNode("

服务器出错了

\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n
'),o("NLink",{staticClass:"back",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],2):e._e()])],2)}),[],!1,(function(e){var t=n(43);t.__inject__&&t.__inject__(e)}),null,"acdb5c8e").exports,W={name:"Nuxt",components:{NuxtChild:B,NuxtError:V},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||E(this.$route.matched[0].path)(this.$route.params);const[e]=this.$route.matched;if(!e)return this.$route.path;const t=e.components.default;if(t&&t.options){const{options:e}=t;if(e.key)return"function"==typeof e.key?e.key(this.$route):e.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(e){return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick(()=>this.errorFromNuxtError=!1),e("div",{},[e("h2","An error occured while showing the error page"),e("p","Unfortunately an error occured and while showing the error page another error occured"),e("p",`Error details: ${this.errorFromNuxtError.toString()}`),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(()=>this.displayingNuxtError=!1),e(V,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}},J={name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(()=>this.startTimer(),this.throttle):this.startTimer(),this},set(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get(){return this.percent},increase(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),setTimeout(()=>{this.show=!1,this.$nextTick(()=>{this.percent=0,this.reversed=!1})},500),this},fail(){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100?(this.skipTimerCount=1,this.reversed=!this.reversed):this.percent<=0&&(this.skipTimerCount=1,this.reversed=!this.reversed)))},100)}},render(e){let t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}};var Y=Object(K.a)(J,void 0,void 0,!1,(function(e){var t=n(44);t.__inject__&&t.__inject__(e)}),null,"603ac224").exports;n(45),n(46),n(47);const X={_app:()=>n.e(1).then(n.bind(null,391)).then(e=>e.default||e),_default:()=>n.e(2).then(n.bind(null,393)).then(e=>e.default||e),_web:()=>n.e(3).then(n.bind(null,347)).then(e=>e.default||e)};let Q={};var Z={head:{titleTemplate:function(e){return e?`${e} - 咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur`:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:e=>e?`${e},咔哩吧是一个二次元社区`:"咔哩吧是一个二次元社区"},{hid:"keywords",name:"keywords",content:"",template:e=>e?`${e},C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交`:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render(e,t){const n=e("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&V){const e=(V.options||V).layout;e&&this.setLayout("function"==typeof e?e.call(V,this.context):e)}const o=e(this.layout||"nuxt"),r=e("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),c=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(e){window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}},[r]);return e("div",{domProps:{id:"__nuxt"}},[n,c])},data:()=>({isOnline:!0,layout:null,layoutName:""}),beforeCreate(){c.a.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){c.a.prototype.$nuxt=this,this.error=this.nuxt.error,this.context=this.$options.context},mounted(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline}},methods:{refreshOnlineStatus(){0},async refresh(){const e=function(e,t=!1){return y(e,t,"instances")}(this.$route);if(!e.length)return;this.$loading.start();const t=e.map(e=>{const p=[];return e.$options.fetch&&p.push($(e.$options.fetch,this.context)),e.$options.asyncData&&p.push($(e.$options.asyncData,this.context).then(t=>{for(const n in t)c.a.set(e.$data,n,t[n])})),Promise.all(p)});try{await Promise.all(t)}catch(e){this.$loading.fail(),function(e){c.a.config.errorHandler&&c.a.config.errorHandler(e)}(e),this.error(e)}this.$loading.finish()},errorChanged(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout(e){e&&Q["_"+e]||(e="default"),this.layoutName=e;let t="_"+e;return this.layout=Q[t],this.layout},loadLayout(e){const t=!e,n=!(X["_"+e]||Q["_"+e]);let o="_"+(t||n?"default":e);return Q[o]?Promise.resolve(Q[o]):X[o]().then(e=>(Q[o]=e,delete X[o],Q[o])).catch(e=>{if(this.$nuxt)return this.$nuxt.error({statusCode:500,message:e.message})})}},components:{NuxtLoading:Y}},ee=n(16),te=n.n(ee);c.a.use(te.a);const ne=["state","getters","actions","mutations"];let se={};se=function(e,t){if((e=e.default||e).commit)throw new Error(`[nuxt] ${t} should export a method that returns a Vuex instance.`);return"function"!=typeof e&&(e=Object.assign({},e)),re(e,t)}(n(54),"store/index.js"),se.modules=se.modules||{},ie(n(48),"flow.js"),ie(n(49),"global.js"),ie(n(50),"social.js");const oe=se instanceof Function?se:()=>new te.a.Store(Object.assign({strict:!1},se));function re(e,t){if(e.state&&"function"!=typeof e.state){console.warn(`'state' should be a method that returns an object in ${t}`);const n=Object.assign({},e.state);e=Object.assign({},e,{state:()=>n})}return e}function ie(e,t){e=e.default||e;const n=t.replace(/\.(js|mjs)$/,"").split("/");let o=n[n.length-1];const r=`store/${t}`;if(e="state"===o?function(e,t){if("function"!=typeof e){console.warn(`${t} should export a method that returns an object`);const n=Object.assign({},e);return()=>n}return re(e,t)}(e,r):re(e,r),ne.includes(o)){const t=o;return void ue(ae(se,n,{isProperty:!0}),e,t)}"index"===o&&(n.pop(),o=n[n.length-1]);const c=ae(se,n);for(const t of ne)ue(c,e[t],t);!1===e.namespaced&&delete c.namespaced}function ae(e,t,{isProperty:n=!1}={}){if(!t.length||n&&1===t.length)return e;const o=t.shift();return e.modules[o]=e.modules[o]||{},e.modules[o].namespaced=!0,e.modules[o].modules=e.modules[o].modules||{},ae(e.modules[o],t,{isProperty:n})}function ue(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var ce=n(14),le=n.n(ce),de=n(37),pe=n.n(de);const he={setBaseURL(e){this.defaults.baseURL=e},setHeader(e,t,n="common"){for(let o of Array.isArray(n)?n:[n]){if(!t)return void delete this.defaults.headers[o][e];this.defaults.headers[o][e]=t}},setToken(e,t,n="common"){const o=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",o,n)},onRequest(e){this.interceptors.request.use(t=>e(t)||t)},onResponse(e){this.interceptors.response.use(t=>e(t)||t)},onRequestError(e){this.interceptors.request.use(void 0,t=>e(t)||Promise.reject(t))},onResponseError(e){this.interceptors.response.use(void 0,t=>e(t)||Promise.reject(t))},onError(e){this.onRequestError(e),this.onResponseError(e)},create(e){return me(pe()(e,this.defaults))}};for(let e of["request","delete","get","head","options","post","put","patch"])he["$"+e]=function(){return this[e].apply(this,arguments).then(e=>e&&e.data)};const me=e=>{const t=le.a.create(e);return t.CancelToken=le.a.CancelToken,t.isCancel=le.a.isCancel,(e=>{for(let t in he)e[t]=he[t].bind(e)})(t),t};var fe=(e,t)=>{const n={baseURL:process.env._AXIOS_BASE_URL_||"http://localhost:3000/",headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}};n.headers.common=e.req&&e.req.headers?Object.assign({},e.req.headers):{},delete n.headers.common.accept,delete n.headers.common.host,delete n.headers.common["cf-ray"],delete n.headers.common["cf-connecting-ip"],delete n.headers.common["content-length"],delete n.headers.common["content-md5"],delete n.headers.common["content-type"],n.headers.common["accept-encoding"]="gzip, deflate";const o=me(n);e.$axios=o,t("axios",o)},ge=n(26),be=({$axios:e,app:t})=>{const n="undefined"!=typeof window;e.setToken(Object(ge.a)(t),"Bearer"),e.onRequest(e=>{e.baseURL=n?"https://api.calibur.tv/":"http://localhost/",e.timeout=1e4}),e.onResponse(e=>e.data),e.onError(e=>{const t=(e=>{const t={};return/timeout of/.test(e.message)?(t.statusCode=504,t.message="网络请求超时,请重试!",t):e.response?(t.statusCode=e.response.status,t.message=e.response.data.message||"发生错误了,请稍后再试!","string"!=typeof t.message&&(t.message="网络错误,请重试!"),t):(t.statusCode=502,t.message="网络错误,请重试!",t)})(e);return Promise.reject(t)})},ye=n(17),ve=n.n(ye),xe=n(18),_e=n.n(xe),we=n(19),$e=n.n(we),Ee=n(20),Se=n.n(Ee),Te=n(21),ke=n.n(Te),Ce=n(22),Ne=n.n(Ce),Oe=n(23),je=n.n(Oe),qe=n(24),Ae=n.n(qe),Re=(n(51),n(5)),Me=n.n(Re),Pe=n(7),Le=n(2),Ie={install(e,t){if(e.prototype.$isServer)return;const n=[],o=t||{preload:1},r=window.screen.width<=768;e.directive("lazyload",{bind(e,t){t.arg&&"pc"===t.arg&&r||n.push({el:e,handler:t.value})},inserted(){d()},update(){d()},unbind(e){c(e)}});const c=e=>{for(let i=0,t=n.length;i{c(e),e.handler()},d=Object(Pe.throttle)(200,()=>n.filter(e=>e&&Object(Le.checkInView)(e.el,o.preload)).map(l));["scroll","resize","load"].forEach(e=>{window.addEventListener(e,()=>{d()})})}};const Ue=(e,t)=>{const n=[];for(const p in t)null!=t[p]&&n.push(p+"="+encodeURIComponent(t[p]));const o=e+n.join("&");return window.open(o,"","width=760, height=640, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no"),!1};var De={install(e){e.directive("share",{bind(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{},e.addEventListener("click",()=>{((e,t)=>{switch(e){case"weibo":Ue("https://service.weibo.com/share/share.php?",{url:t.url,type:"3",count:"1",appkey:t.appkey.weibo,title:t.title+t.weiboTag,pic:t.pic[0],searchPic:t.searchPic,ralateUid:"",language:"zh_cn",rnd:(new Date).valueOf()});break;case"qzone":Ue("https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?",{url:t.url,showcount:1,desc:t.desc,summary:t.summary,title:t.shortTitle,site:"咔哩吧",pics:t.pic,style:"203",width:98,height:22});break;case"qq":Ue("https://connect.qq.com/widget/shareqq/index.html?",{url:t.url,desc:t.desc,title:t.title,summary:t.summary,pics:t.pic,flash:"",site:"",style:"201",width:32,height:32});break;case"tieba":Ue("https://tieba.baidu.com/f/commit/share/openShareApi?",{title:t.title,url:t.url,uid:726865,to:"tieba",type:"text",relateUid:"",pic:t.pic[0],key:"",sign:"on",desc:"",comment:t.desc});break;default:throw new Error("This type is not defined.")}})(e.vtype,Object.assign({title:document.title,url:location.href,desc:"",pic:"",summary:"",shortTitle:"",searchPic:!1,appkey:{weibo:""},weiboTag:"",tp_id:0,aid:""},e.options))},!1)},update(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{}}})}},ze={name:"VImg",props:{src:{type:String,required:!0},def:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},radius:{type:String,default:""},stretched:{type:Boolean,default:!1},blur:{type:Boolean,default:!1}},data(){const{def:e,width:t}=this,n=e?e.startsWith("http")?e:`https://m1.calibur.tv/${e}`:"",o="number"==typeof t&&"number"==typeof this.height&&!this.radius;return{show:n,source:n,isFull:o,useBlur:!!o||this.blur,isLarge:t.toString().endsWith("%"),extraStyle:{},animate:!1}},computed:{style(){const style={},{width:e,height:t,radius:n,isFull:o,isLarge:r}=this;return o?(style.paddingTop=`${t/e*100}%`,style):(e&&!r&&(style.width=`${e}px`),t&&(style.height=`${t}px`),n&&(style.borderRadius=n),style)}},methods:{handle(){const{src:e,isFull:t,isLarge:n}=this,o=n?2:1;let{width:r,height:c}=this;if(t){const e=window.screen.width<=768?420:660;r>e&&(c=parseInt(e/r*c,10),r=e),c>9999&&(r=parseInt(9999/c*r,10),c=9999),r ")])}),[],!1,(function(e){var t=n(52);t.__inject__&&t.__inject__(e)}),null,"0ee64767").exports;c.a.use(Ie),c.a.use(De),c.a.component(Be.name,Be),c.a.component(Ae.a.name,Ae.a),c.a.component(Me.a.FlowLoader.name,Me.a.FlowLoader),c.a.component(je.a.name,je.a),c.a.component(Ne.a.name,Ne.a),c.a.component(ke.a.name,ke.a),c.a.component(Se.a.name,Se.a),c.a.component($e.a.name,$e.a),c.a.component(_e.a.name,_e.a),c.a.component(ve.a.name,ve.a);var Fe={sign:(e="")=>`/sign?redirect=${encodeURIComponent(e||("undefined"==typeof window?"/":window.location.href))}`,tag:(e,path="")=>`/tag/${e}/${path}`,user:(e,path="timeline")=>`/user/${e}/${path}`,pin:e=>`/pin/${e}`,create:e=>e?`/write?slug=${e}`:"/write"},Ge=(e,t={})=>{if(!e)return"";if(/imageMogr2/.test(e))return e;const link=e.startsWith("http")?e:`https://m1.calibur.tv/${e}`,n=!1===t.webP?"":(()=>{if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){const t=0===e.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=t,t}return!1})()?"/format/webp":"",o=void 0===t.mode?1:t.mode;if(1===o&&!t.width||!t.width&&!t.height)return`${link}?imageMogr2/auto-orient/strip${n}`;let r,c;const l=(()=>{if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;const e=window.devicePixelRatio;return window.computedRadio=e,e})();return 1===o?(r=`/w/${t.width*l|0}`,c=t.height?`/h/${t.height*l|0}`:`/h/${t.width*l|0}`):(r=t.width?`/w/${t.width*l|0}`:"",c=t.height?`/h/${t.height*l|0}`:""),`${link}?imageMogr2/auto-orient/strip|imageView2/${o}${r}${c}${n}`},He=({store:e})=>{c.a.use({install(t){t.prototype.$alias=Fe,t.prototype.$utils=Le,t.prototype.$resize=Ge,t.prototype.$hasRole=e.getters.hasRole,t.prototype.$isMine=e.getters.isMine}})};n(4);c.a.component(R.a.name,R.a),c.a.component(P.a.name,{...P.a,render:(e,t)=>P.a.render(e,t)}),c.a.component(B.name,B),c.a.component("NChild",B),c.a.component(W.name,W),c.a.use(j.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});const Ke={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};async function Ve(e){const t=await new I.a(z),n=oe(e);n.$router=t;const o=n.registerModule;n.registerModule=(path,e,t)=>o.call(n,path,e,Object.assign({preserveState:!1},t));const r={store:n,router:t,nuxt:{defaultTransition:Ke,transitions:[Ke],setTransitions(e){return Array.isArray(e)||(e=[e]),e=e.map(e=>e=e?"string"==typeof e?Object.assign({},Ke,{name:e}):Object.assign({},Ke,e):Ke),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error(t){t=t||null,r.context._errored=Boolean(t),t=t?function(e){let t;if(e.message||"string"==typeof e)t=e.message||e;else try{t=JSON.stringify(e,null,2)}catch(n){t=`[${e.constructor.name}]`}return{...e,message:t,statusCode:e.statusCode||e.status||e.response&&e.response.status||500}}(t):null;const n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}},...Z};n.app=r;const l=e?e.next:e=>r.router.push(e);let d;if(e)d=t.resolve(e.url).route;else{const path=function(base,e){let path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}(t.options.base,t.options.mode);d=t.resolve(path).route}await _(r,{store:n,route:d,next:l,error:r.nuxt.error.bind(r),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});const h=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject(key, value) has no value provided");r[e="$"+e]=t,n[e]=r[e];const o="__nuxt_"+e+"_installed__";c.a[o]||(c.a[o]=!0,c.a.use(()=>{Object.prototype.hasOwnProperty.call(c.a,e)||Object.defineProperty(c.a.prototype,e,{get(){return this.$root.$options[e]}})}))};return"function"==typeof fe&&await fe(r.context,h),"function"==typeof be&&await be(r.context,h),"function"==typeof He&&await He(r.context,h),e&&e.url&&await new Promise((n,o)=>{t.push(e.url,n,()=>{const o=t.afterEach(async(t,c,l)=>{e.url=t.fullPath,r.context.route=await x(t),r.context.params=t.params||{},r.context.query=t.query||{},o(),n()})})}),{store:n,app:r,router:t}}var We={name:"NuxtLink",extends:c.a.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}}};c.a.component(We.name,We),c.a.component("NLink",We),global.fetch||(global.fetch=d.a);const Je=()=>new c.a({render:e=>e("div")});const Ye=e=>t=>{if(e.redirected=t,!e.res)return void(e.nuxt.serverRendered=!1);t.query=Object(o.stringify)(t.query),t.path=t.path+(t.query?"?"+t.query:"");t.path.startsWith("http"),t.path!==e.url?(e.res.writeHead(t.status,{Location:t.path}),e.res.end()):e.redirected=!1};t.default=async e=>{e.redirected=!1,e.next=Ye(e),e.beforeRenderFns=[],e.nuxt={layout:"default",data:[],error:null,state:null,serverRendered:!0};const{app:t,router:n,store:o}=await Ve(e),r=new c.a(t);e.meta=r.$meta(),e.asyncData={};const l=async()=>{await Promise.all(e.beforeRenderFns.map(t=>$(t,{Components:v,nuxtState:e.nuxt}))),e.rendered=()=>{e.nuxt.state=o.state}},d=async()=>{const n=(V.options||V).layout,o="function"==typeof n?n.call(V,t.context):n;return e.nuxt.layout=o||"default",await r.loadLayout(o),r.setLayout(o),await l(),r},m=()=>(t.context.error({statusCode:404,path:e.url,message:"This page could not be found"}),d()),v=y(n.match(e.url));if(o._actions&&o._actions.nuxtServerInit)try{await o.dispatch("nuxtServerInit",t.context)}catch(e){throw console.debug("Error occurred when calling nuxtServerInit: ",e.message),e}if(e.redirected)return Je();if(e.nuxt.error)return d();let x=[];if(x=x.map(e=>"function"==typeof e?e:("function"!=typeof h[e]&&t.context.error({statusCode:500,message:"Unknown middleware "+e}),h[e])),await w(x,t.context),e.redirected)return Je();if(e.nuxt.error)return d();let _=v.length?v[0].options.layout:V.layout;if("function"==typeof _&&(_=_(t.context)),await r.loadLayout(_),e.nuxt.error)return d();if(_=r.setLayout(_),e.nuxt.layout=r.layoutName,x=[],_=f(_),_.options.middleware&&(x=x.concat(_.options.middleware)),v.forEach(e=>{e.options.middleware&&(x=x.concat(e.options.middleware))}),x=x.map(e=>"function"==typeof e?e:("function"!=typeof h[e]&&t.context.error({statusCode:500,message:"Unknown middleware "+e}),h[e])),await w(x,t.context),e.redirected)return Je();if(e.nuxt.error)return d();let E=!0;try{for(const e of v)if("function"==typeof e.options.validate&&(E=await e.options.validate(t.context),!E))break}catch(e){return t.context.error({statusCode:e.statusCode||"500",message:e.message}),d()}if(!E)return e._generate&&(e.nuxt.serverRendered=!1),m();if(!v.length)return m();const S=await Promise.all(v.map(n=>{const o=[];if(n.options.asyncData&&"function"==typeof n.options.asyncData){const r=$(n.options.asyncData,t.context);r.then(t=>(e.asyncData[n.cid]=t,function(e,t){if(!t&&e.options.__hasNuxtData)return;const n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){const data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),{...data,...t}},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}(n),t)),o.push(r)}else o.push(null);return n.options.fetch?o.push(n.options.fetch(t.context)):o.push(null),Promise.all(o)}));return e.nuxt.data=S.map(e=>e[0]||{}),e.redirected?Je():e.nuxt.error?d():(await l(),r)}},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),c=n(3);const l=e=>{try{sessionStorage.setItem(`user-item-${e.slug}`,JSON.stringify(e))}catch(e){}},d=(e,t)=>{try{localStorage.setItem(e,JSON.stringify(t)),localStorage.setItem(`${e}-created-at`,Date.now())}catch(e){}};var h=n(2);n.d(t,"state",(function(){return m})),n.d(t,"mutations",(function(){return f})),n.d(t,"actions",(function(){return y})),n.d(t,"getters",(function(){return v}));const m=()=>({user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}),f={SET_USER_INFO(e,t){const n=!(!t||!t.slug);e.user=t,e.haveAuthToken=n,e.isAuth=n,e.logging=!1},SET_USER_TOKEN(e,t){e.isLogout||(e.haveAuthToken=!!t)},SET_LOGGING(e){e.logging=!0},USER_LOGOUT(e){e.haveAuthToken=!1,e.isAuth=!1,e.logging=!1,e.isLogout=!0,e.user={}},UPDATE_USER_INFO(e,{key:t,value:n}){r.a.set(e.user,t,n)},SOCKET_AUTO_CONNECT(e){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!1},SOCKET_ONOPEN(e,t){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!0},SOCKET_ONCLOSE(e,t){e.socket.isConnected=!1},SOCKET_ONERROR(e,t){e.socket.reconnectErr=!0},SOCKET_ONMESSAGE(e,t){if("unread_total"===t.channel)e.mailbox=t;else if("message-menu"===t.channel){const n=[];t.data.forEach(t=>{e.messageRoom[t.channel]||r.a.set(e.messageRoom,t.channel,{time:"",data:null}),n.push(Object.assign(t,{user:{}}))}),e.messageMenu.list=n,e.messageMenu.time=Object(h.randomStr)()}else e.messageRoom[t.channel].data=t,e.messageRoom[t.channel].time=Object(h.randomStr)();e.socket.isMaster&&(d("socket-on-message-data",t),d("socket-on-message-time",Date.now()))},SOCKET_RECONNECT(e,t){},SOCKET_RECONNECT_ERROR(e){e.socket.reconnectErr=!0},SET_MESSAGE_MENU(e,menu){const t=[];menu.forEach(n=>{e.messageRoom[n.channel]?r.a.set(e.messageRoom,n.channel,{time:Object(h.randomStr)(),data:null}):r.a.set(e.messageRoom,n.channel,{time:"",data:null}),n.user={},t.push(n)}),e.messageMenu.list=t,e.messageMenu.time=Object(h.randomStr)()},UPDATE_MESSAGE_MENU_USER(e,{channel:t,user:n}){e.messageMenu.list.forEach(e=>{e.channel===t&&(e.user=n)})},DELETE_MESSAGE_MENU(e,t){e.messageMenu.list.forEach((n,o)=>{n.channel===t&&e.messageMenu.list.splice(o,1)})},INIT_MESSAGE_ROOM(e,t){r.a.set(e.messageRoom,t,{time:"",data:null})},CLEAR_NOTIFICATION(e,{channel:t,count:n}){e.messageMenu.list.forEach((o,r)=>{o.channel===t&&(e.messageMenu.list[r].count-=n,e.mailbox.unread_message_total-=n)})},SET_USER_ROLE(e,data){e.roles=data}},y={async initAuth({state:e,commit:t}){if(!e.haveAuthToken||e.logging)return null;if(e.user.slug)return e.user;try{t("SET_LOGGING");const e=await Object(c.b)(this);return t("SET_USER_INFO",e),e}catch(e){return t("SET_USER_INFO",{}),null}},async refreshMailbox({state:e,commit:t}){if(e.socket.isConnected)return;t("SOCKET_ONMESSAGE",await Object(c.c)(this,{slug:e.user.slug}))},async getMessageMenu({commit:e}){e("SET_MESSAGE_MENU",await this.$axios.$get("v1/message/menu"))},updateMessageMenu({state:e,commit:t}){const n=e.user.slug;e.messageMenu.list.forEach(async e=>{const o=e.channel.split("@");let r=o[2];r===n&&(r=o[3]);const d=await((e,t)=>{const n=async()=>{const n=await Object(c.d)(e,{slug:t});return n&&l(n),n};try{return sessionStorage.getItem(`user-item-${t}`)?JSON.parse(sessionStorage.getItem(`user-item-${t}`)):n()}catch(e){return n()}})(this,r);t("UPDATE_MESSAGE_MENU_USER",{channel:e.channel,user:d})})},getUserRoles({state:e,commit:t}){!e.roles&&e.user&&e.user.title.length&&this.$axios.$get("v1/user/roles").then(data=>{t("SET_USER_ROLE",data)}).catch(()=>{})}},v={isMine:e=>t=>!!e.isAuth&&e.user.slug===t,isAdmin:e=>!!e.isAuth&&e.user.is_admin,hasRole:e=>t=>!!e.user.is_admin||!!e.roles&&~e.roles.indexOf(t)}},function(e,t){e.exports=require("element-ui/lib/select")},function(e,t){e.exports=require("element-ui/lib/upload")},function(e,t){e.exports=require("element-ui/lib/alert")},function(e,t){e.exports=require("element-ui/lib/option")},function(e,t){e.exports=require("element-ui/lib/radio-group")},function(e,t){e.exports=require("element-ui/lib/radio")},function(e,t){e.exports=require("vue-roll-list")},function(e,t){e.exports=require("element-ui/lib/pagination")},function(e,t){e.exports=require("element-ui/lib/checkbox")},function(e,t){e.exports=require("element-ui/lib/slider")},function(e,t){e.exports=require("element-ui/lib/date-picker")},function(e,t){e.exports=require("element-ui/lib/dialog")},function(e,t){e.exports=require("@codexteam/ajax")},function(e,t){e.exports=require("element-ui/lib/collapse-item")},function(e,t){e.exports=require("element-ui/lib/collapse")},function(e,t){e.exports=require("element-ui/lib/tooltip")},function(e,t){e.exports=require("element-ui/lib/popover")},function(e,t){e.exports=require("v-copy")},function(e,t){e.exports=require("element-ui/lib/dropdown-item")},function(e,t){e.exports=require("element-ui/lib/dropdown-menu")},function(e,t){e.exports=require("element-ui/lib/dropdown")},function(e,t){e.exports=require("element-ui/lib/cascader")},function(e,t){e.exports=require("element-ui/lib/loading")},function(e,t){e.exports=require("oh-my-chat")},function(e,t){e.exports=require("@better-scroll/core")},function(e,t){e.exports=require("@better-scroll/mouse-wheel")},function(e,t){e.exports=require("element-ui/lib/timeline-item")},function(e,t){e.exports=require("element-ui/lib/timeline")},function(e,t){e.exports=require("element-ui/lib/backtop")},function(e,t){e.exports=require("url-polyfill")},function(e,t){e.exports=require("@editorjs/editorjs")}]); \ No newline at end of file +module.exports=function(e){var t={},n={0:0};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.e=function(t){if(0!==n[t]){var o=require("./"+{1:"eb295174ce09f9557587",2:"d51116db1ad6960e9dd0",3:"fbd137a64f0160ebad12",4:"5a06eeb06073506cedf9",5:"8793082e867eb3bcec8f",6:"34d15f82f8397d614312",7:"6801d56f9e6216c2a184",8:"8d7c52e87913dacccf8d",9:"9b9941801739d2f82e4a",10:"56da5555dc16bf445eb0",11:"84bfab90b7b54042a070",12:"8be2034645c6b7f3fc0b",13:"7d0be43b6b222b091948",14:"bd95183ae14e201a7c8e",15:"0f7258519e51e10f4c3d",16:"3102cd18955943b2a97a",17:"328b74d9b1caeddbb17c",18:"86cf02b90eaba216a900",19:"f872f4b1e6021a213119",20:"b156e7bb303f717697d5",21:"8f17452bc3649c2908ab",22:"55f9fcf4236f10882ffa",23:"954099c91a6622cc8d6d",24:"9e93679f5e6e86a42891",25:"2975ba0631a0b865f90b",26:"0b7c29ba9d2476192500",27:"50926616a400fa31fb44",28:"0f361ddba3ecca463bad",29:"af1fad0e152e0b7b76f4",30:"e7ed0aa4b28fe51602b3",31:"2e6e2df8d92ca0089ba8",32:"e3c74e20e228f3cbafc3",33:"892fee9fa6dc01c0d700",34:"b6d3f62136b7cd6b9690",35:"0a47d4d137c56043fdfa",36:"942149bf11c7b9d9526d",37:"30ed1fb77736c7205576",38:"438e659850971d4a4e15",39:"38af281e7ac3ece50059",40:"c081cd359e555bd24ce2",41:"a5e834aa7db575df09d9",42:"f1d6298b4d0a17448698",43:"a12fd98896135eddbbe3",44:"7565a115806ae643e358",45:"9cd72ef4c794348307f4",46:"f213e1efcebfca9901a6",47:"4ab311417be120c07c5c",48:"43dbb0b55cc3fca5ffbc",49:"14356f3075990e5a1938",50:"7cd2f8728cd19d6f04d2",51:"bdbefcdd096cd720b015",52:"0f2a81ea800a745fbffd",53:"833145225ba96bbd2b64",54:"13344db5d4460a99c3c6",55:"410a1c8dc9312db3d727",56:"421309a0e939616a0247"}[t]+".js"),r=o.modules,c=o.ids;for(var l in r)e[l]=r[l];for(var i=0;it?"我":0===e?"TA":1===e?"他":2===e?"她":"TA",r=()=>`${Date.now()}-${Math.random().toString(36).substring(3,6)}`,c=time=>{if(/^\d+$/.test(time)&&10===time.toString().length)return new Date(1e3*time);let e=new Date(time);return"Invalid Date"===e.toString()&&(e=new Date(time.replace(/-/g,"/"))),e},l=e=>e>1e3?`${Math.floor(e/1e3*10)/10}k`:e,d=time=>{const e=c(time),t=Date.now()-e.getTime(),n=[e.getFullYear(),`0${e.getMonth()+1}`.substr(-2),`0${e.getDate()}`.substr(-2),`0${e.getHours()}`.substr(-2),`0${e.getMinutes()}`.substr(-2)];if(t>31536e6||t<=0)return`${n[0]}-${n[1]}-${n[2]}`;const o=(new Date).setHours(0,0,0,0);return o{if(!e)return!1;const rect=e.getBoundingClientRect();return rect.top0&&rect.left0},m=function(){if("undefined"!=typeof window)return document.addEventListener?function(element,e,t){element&&e&&t&&element.addEventListener(e,t,!1)}:function(element,e,t){element&&e&&t&&element.attachEvent("on"+e,t)}}(),f=function(){if("undefined"!=typeof window)return document.removeEventListener?function(element,e,t){element&&e&&element.removeEventListener(e,t,!1)}:function(element,e,t){element&&e&&element.detachEvent("on"+e,t)}}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"j",(function(){return r})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"h",(function(){return v}));const o=e=>e.$axios.$post("v1/door/get_user_info"),r=(e,t)=>e.$axios.$post("v1/user/update_info",t),c=(e,{slug:t})=>e.$axios.$get("v1/user/show",{params:{slug:t}}),l=(e,{slug:t,phone:n,password:o,authCode:r})=>e.$axios.$post("v1/door/bind_phone",{slug:t,phone:n,password:o,authCode:r}),d=(e,{slug:t})=>e.$axios.$get("v1/message/total",{params:{slug:t},progress:!1}),h=(e,{phone_number:t,type:n,geetest:o})=>e.$axios.$post("v1/door/message",{phone_number:t,type:n,geetest:o}),m=(e,{access:t,secret:n,authCode:o,inviteCode:r})=>e.$axios.$post("v1/door/register",{access:t,secret:n,authCode:o,inviteCode:r}),f=(e,{access:t,secret:n,remember:o,geetest:r})=>e.$axios.$post("v1/door/login",{access:t,secret:n,remember:o,geetest:r}),y=e=>e.$axios.$post("v1/door/logout"),v=(e,{method:t,access:n,authCode:o,secret:r})=>e.$axios.$post("v1/door/reset_password",{method:t,access:n,authCode:o,secret:r})},function(e,t){},function(e,t){e.exports=require("vue-mixin-store")},function(e,t){e.exports=require("vue-router")},function(e,t){e.exports=require("throttle-debounce")},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports=require("vue-no-ssr")},function(e,t){e.exports=require("axios")},function(e,t){e.exports=require("vue-client-only")},function(e,t){e.exports=require("vuex")},function(e,t){e.exports=require("element-ui/lib/input")},function(e,t){e.exports=require("element-ui/lib/form-item")},function(e,t){e.exports=require("element-ui/lib/form")},function(e,t){e.exports=require("element-ui/lib/tag")},function(e,t){e.exports=require("element-ui/lib/col")},function(e,t){e.exports=require("element-ui/lib/row")},function(e,t){e.exports=require("element-ui/lib/button")},function(e,t){e.exports=require("v-switcher")},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return h}));const o=(e,{slug:t})=>e.$axios.$get("v1/tag/show",{params:{slug:t}}),r=(e,{name:t,parent_slug:n})=>e.$axios.$post("v1/tag/create",{name:t,parent_slug:n}),c=(e,{name:t,slug:n,avatar:o,alias:r,intro:c})=>e.$axios.$post("v1/tag/update",{name:t,slug:n,avatar:o,alias:r,intro:c}),l=(e,{slug:t})=>e.$axios.$post("v1/tag/delete",{slug:t}),d=(e,{slug:t})=>e.$axios.$get("v1/tag/bookmarks",{params:{slug:t}}),h=(e,{slug:t,page:n,take:o})=>e.$axios.$get("v1/tag/children",{params:{slug:t,page:n,take:o}})},function(e,t,n){"use strict";const o=e=>{if(!e)return"";let t="";return e.split("; ").forEach(e=>{e.startsWith("JWT-TOKEN=")&&(t=e.split("JWT-TOKEN=")[1])}),t};t.a=e=>{let t="";if("undefined"!=typeof window){if(window.__AUTH_TOKEN__)return window.__AUTH_TOKEN__;let e;try{e=JSON.parse(document.querySelector('script[data-name="page-data"]').textContent)}catch(t){e={authToken:""}}t=e.authToken,t||(t=o(document.cookie))}else t=o(e.context.req.headers.cookie);return!t&&e&&(t=e.context.query.token),t=~["undefined","null"].indexOf(t)?"":t,"undefined"!=typeof window&&(window.__AUTH_TOKEN__=t),t}},function(e,t){e.exports=require("element-ui/lib/switch")},function(e,t,n){e.exports=n.p+"img/b07f58f.jpeg"},function(e,t,n){"use strict";n.r(t),n.d(t,"getUserMessage",(function(){return o})),n.d(t,"getUserRelation",(function(){return r})),n.d(t,"getUserDrafts",(function(){return c})),n.d(t,"getUserTimeline",(function(){return l})),n.d(t,"getPinComments",(function(){return d})),n.d(t,"getTagFlows",(function(){return h})),n.d(t,"getATField",(function(){return m})),n.d(t,"getZoneQuestions",(function(){return f})),n.d(t,"getMixinSearch",(function(){return y})),n.d(t,"getTimeline",(function(){return v})),n.d(t,"getFlowRecommendedIndex",(function(){return x})),n.d(t,"tagHottest",(function(){return _})),n.d(t,"getBangumiQuestionTrials",(function(){return w})),n.d(t,"getIdolFans",(function(){return $})),n.d(t,"getBangumiLiker",(function(){return E}));const o=({$axios:e,channel:t,since_id:n,is_up:o,count:r})=>e.$get("v1/message/history",{params:{channel:t,since_id:n,count:r,is_up:o}}),r=({$axios:e,seen_ids:t,slug:n,relation:o})=>e.$get("v1/user/relation",{params:{seen_ids:t,slug:n,relation:o}}),c=({$axios:e,page:t,count:n})=>e.$get("v1/pin/drafts",{params:{page:t,count:n}}),l=({$axios:e,page:t,count:n,slug:o})=>e.$get("v1/user/timeline",{params:{page:t,count:n,slug:o}}),d=({$axios:e,sort:t,slug:n,count:o,last_id:r,seen_ids:c,mode:l,page:d})=>e.$get("v1/comment/list",{params:{sort:t,slug:n,count:o,last_id:r,seen_ids:c,mode:l,page:d}}),h=({$axios:e,slug:t,sort:n,time:time,take:o,seen_ids:r,last_id:c})=>{return new Promise((l,d)=>{Promise.all([e.$get("v1/flow/pins",{params:{slug:t,sort:n,time:time,take:o,is_up:0,spec_id:"newest"===n?c:r}}),new Promise(e=>setTimeout(e,400))]).then(data=>{l(data[0])}).catch(d)})},m=({$axios:e,page:t,count:n,sort:o,slug:r})=>{return new Promise((c,l)=>{Promise.all([e.$get("v1/atfield/flow",{params:{page:t,count:n,sort:o,slug:r}}),new Promise(e=>setTimeout(e,400))]).then(data=>{c(data[0])}).catch(l)})},f=({$axios:e,slug:t})=>e.$get("v1/atfield/list",{params:{slug:t}}),y=({$axios:e,page:t,type:n,q:q})=>e.$get("v1/search/mixin",{params:{page:t,type:n,q:q}}),v=({$axios:e,type:t,slug:n})=>e.$get(`v1/${t}/timeline`,{params:{slug:n}}),x=({$axios:e,seen_ids:t})=>e.$get("v1/flow/index",{params:{seen_ids:t}}),_=({$axios:e,page:t,take:n})=>e.$get("v1/tag/hottest",{params:{page:t,take:n}}),w=({$axios:e,page:t,take:n,bangumi_slug:o,user_slug:r,status:c,sort:l})=>e.$get("v1/join/flow",{params:{page:t,take:n,bangumi_slug:o,user_slug:r,status:c,sort:l}}),$=({$axios:e,page:t,take:n,slug:o,sort:r})=>e.$get("v1/idol/fans",{params:{page:t,take:n,slug:o,sort:r}}),E=({$axios:e,page:t,take:n,slug:o})=>e.$get("v1/bangumi/liker",{params:{page:t,take:n,slug:o}})},function(e,t,n){"use strict";var o=n(27),r=n.n(o),c=n(35),l=n.n(c),d=n(7),h=n(3),m=n(31),f={components:{ElBadge:l.a,ElSwitch:r.a,VSearch:m.a},props:{showUser:{type:Boolean,default:!0}},data:()=>({night_mode:!1}),computed:{headers:()=>[{route:"/zone/bangumi",name:"动漫"},{route:"/about/managers",name:"学园"}],isAuth(){return this.$store.state.isAuth},user(){return this.$store.state.user},mailbox(){return this.$store.state.mailbox},headerType(){const{name:e}=this.$route;return"fixed"}},mounted(){this.$channel.$when("user-signed",()=>{this.getUnreadMessageCount()})},methods:{handleLogout(){Object(h.f)(this),this.$cookie.remove("JWT-TOKEN"),this.$channel.socketDisconnect(),window.location="/"},handleSignIn(){this.$channel.$emit("sign-in")},getUnreadMessageCount(){this.$store.dispatch("refreshMailbox");let e=Date.now();window.addEventListener("mousemove",Object(d.throttle)(3e3,()=>{e=Date.now()})),setInterval(()=>{"visible"===document.visibilityState&&!this.$store.state.socket.isConnected&&Date.now()-e<3e4&&this.$store.dispatch("refreshMailbox")},1e4)},handleNightModeSwitch(){this.$toast.success("开个玩笑,还没支持~")}}},y=n(1);var component=Object(y.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{attrs:{id:"page-header"}},[e._ssrNode("","",[e._ssrNode('",[e._ssrNode('",[n("NLink",{staticClass:"logo",attrs:{to:"/"}},[n("i",{staticClass:"iconfont ic-calibur"})]),e._ssrNode(" "),n("VSwitcher",{attrs:{headers:e.headers,routable:!0,"anchor-padding":15,"header-height":50,align:"start"}},e._l(e.headers,(function(t,o){return n("NLink",{key:o,attrs:{slot:"tab-"+o,to:t.route},slot:"tab-"+o},[n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],2),e._ssrNode(" "),e._ssrNode('
',"
",[e._ssrNode('
',"
",[n("VSearch",{staticClass:"only-pc",attrs:{"show-suggestion":!1}}),e._ssrNode(" "),n("NLink",{staticClass:"h5-search-entry only-h5",attrs:{to:"/search"}},[n("i",{staticClass:"iconfont ic-search"})])],2),e._ssrNode(" "),e.showUser?[e.isAuth?[e._ssrNode('",[n("NLink",{staticClass:"avatar",attrs:{to:e.$alias.user(e.user.slug)}},[n("VImg",{attrs:{src:e.user.avatar,def:"default-avatar",width:"33",height:"33",radius:"50%",alt:e.user.nickname}})],1),e._ssrNode(" "),e._ssrNode('
',"
",[e._ssrNode('

'+e._s(e.user.nickname)+"

"),e._ssrNode('
',"
",[e._ssrNode('
夜间模式
'),e._ssrNode('
',"
",[n("ElSwitch",{attrs:{"active-color":"#ff6881","inactive-color":"#c0c0c0"},on:{change:e.handleNightModeSwitch},model:{value:e.night_mode,callback:function(t){e.night_mode=t},expression:"night_mode"}})],1)],2),e._ssrNode(" "),n("NLink",{attrs:{to:e.$alias.user(e.user.slug,"setting")}},[n("div",{staticClass:"field"},[n("div",{staticClass:"label"},[n("i",{staticClass:"iconfont ic-setup_fill"}),e._v(" "),n("span",[e._v("设置")])])])]),e._ssrNode(' ')],2)],2),e._ssrNode(" "),n("NLink",{staticClass:"icon-link only-pc",attrs:{to:e.$alias.user(e.user.slug,"message")}},[n("ElBadge",{attrs:{value:e.mailbox.unread_notice_total+e.mailbox.unread_message_total,hidden:!e.mailbox.unread_message_total&&!e.mailbox.unread_notice_total}},[n("i",{staticClass:"iconfont ic-remind"})])],1)]:[n("ElButton",{staticClass:"only-pc",attrs:{type:"text"},on:{click:e.handleSignIn}},[e._v("\n 登录\n ")]),e._ssrNode(" "),n("NLink",{attrs:{to:e.$alias.sign()}},[n("ElButton",{staticClass:"only-h5",attrs:{type:"text"}},[e._v("\n 登录  \n ")])],1)]]:e._e(),e._ssrNode(" "),e._ssrNode('
',"
",[n("NLink",{attrs:{target:"_blank",to:e.$alias.create()}},[n("ElButton",{attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"}},[e._v("\n 投稿\n ")])],1)],1)],2)],2)]),e._ssrNode('
')],2)}),[],!1,(function(e){var t=n(42);t.__inject__&&t.__inject__(e)}),null,"c73ed79e");t.a=component.exports},function(e,t,n){"use strict";var o={name:"VSearchInput",props:{placeholder:{type:String,default:"搜索"},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,default:"all"},showSuggestion:{type:Boolean,default:!1}},data(){return{word:this.value,selectedType:this.type,state:this.autofocus?"focus":"blur",typing:!1,filteredSelect:[],selectedIndex:-1,tags:[]}},computed:{displaySuggestion(){return"focus"===this.state&&this.showSuggestion&&this.word&&this.word.length&&this.typing&&this.filteredSelect.length}},mounted(){this.$watch("value",e=>{this.word=e,this.typing=!0,this.selectedIndex=-1,this.handleEnter(e)}),this.$watch("word",e=>{this.$emit("input",e)}),this.$watch("$route",e=>{"search"===e.name&&(this.word=e.query.q,this.selectedType=e.query.type,setTimeout(()=>{this.typing=!1},0))}),this.getSearchTags()},methods:{getSearchTags(){this.showSuggestion&&this.$nextTick(()=>{this.$cache.expired("search-all-tags",86400)?this.$axios.$get("v1/search/tags").then(e=>{this.tags=e,this.$cache.set("search-all-tags",e),this.word&&(this.handleEnter(this.word),this.filteredSelect.length&&(this.handleInputFocus(),this.typing=!0))}).catch(()=>{}):this.tags=this.$cache.get("search-all-tags")})},submit(){const q=-1!==this.selectedIndex?this.filteredSelect[this.selectedIndex].name.trim():this.word.trim();q&&(this.$channel.$emit("search-action",{text:q,type:this.selectedType}),this.$router.push({name:"search",query:{q:q,type:this.selectedType}}))},handleEnter(e){this.filteredSelect=e?this.tags.filter(option=>option.alias.includes(e)||option.name.includes(e)):[]},handleInputFocus(){this.state="focus",this.$emit("focus")},handleInputBlur(){this.state="blur",this.$emit("blur")}}},r=n(1);var component=Object(r.a)(o,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"search-input-wrap",class:"search-"+e.state,attrs:{action:"#",method:"get"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[e._ssrNode('",[e._t("submit-btn",[n("i",{staticClass:"iconfont ic-search"})])],2),e._ssrNode('
'),e._ssrNode('
    ","
",e._l(e.filteredSelect,(function(t,o){return n("NLink",{key:t.id,class:{active:o===e.selectedIndex},attrs:{to:e.$alias.tag(t.slug),tag:"li"}},[n("img",{attrs:{src:e.$resize(t.avatar,{width:60})}}),e._v(" "),n("span",{domProps:{textContent:e._s(t.name)}})])})),1)],2)}),[],!1,(function(e){var t=n(41);t.__inject__&&t.__inject__(e)}),null,"780199d3");t.a=component.exports},function(e,t){e.exports=require("querystring")},function(e,t){e.exports=require("node-fetch")},function(e,t){e.exports=require("vue-meta")},function(e,t){e.exports=require("element-ui/lib/badge")},function(e,t){},function(e,t){e.exports=require("defu")},function(e,t,n){e.exports=n(53)},function(e,t,n){e.exports=n.p+"img/d465ab1.jpeg"},function(e,t,n){e.exports=n.p+"img/adea640.jpeg"},function(e,t,n){"use strict";n.r(t);var o=n(8),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(9),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(10),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(11),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t){e.exports={undefined:void 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return d})),n.d(t,"mutations",(function(){return h})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var o=n(5),r=n.n(o),c=n(29);const l=r.a.FlowStore(c),d=l.state,h=l.mutations,m=l.actions,f=l.getters},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return r})),n.d(t,"mutations",(function(){return c})),n.d(t,"actions",(function(){return l}));var o=n(25);const r=()=>({myTagsFetched:!1,myTags:[{name:"动漫",slug:"bangumi",children:[]},{name:"游戏",slug:"game",children:[]},{name:"话题",slug:"topic",children:[]},{name:"专栏",slug:"notebook",children:[]}],hottest_tags:[],tags:[]}),c={SET_MY_TAGS_STATE(e){e.myTagsFetched=!0},SET_HOTTEST_TAGS(e,t){e.hottest_tags=t.result},SET_MY_TAGS(e,data){Object.keys(data).forEach(t=>{e.myTags.forEach(e=>{e.slug===t&&(e.children=data[t])})})}},l={async getMyTags({rootState:e,state:t,commit:n}){if(t.myTagsFetched||!e.isAuth)return;n("SET_MY_TAGS_STATE"),n("SET_MY_TAGS",await Object(o.a)(this,{slug:e.user.slug}))},getHottestTags({state:e,commit:t}){if(!e.hottest_tags.length)return this.$axios.$get("v1/tag/hottest").then(e=>{t("SET_HOTTEST_TAGS",e)}).catch(()=>{})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return l})),n.d(t,"mutations",(function(){return h})),n.d(t,"actions",(function(){return m})),n.d(t,"getters",(function(){return f}));var o=n(0),r=n.n(o),c=n(36);const l=()=>({}),d=(e,t)=>`${e}-${t}`,h={set(e,{type:t,data:data,slug:n}={}){let o=!1;Object.keys(data).forEach(n=>{if("object"==typeof data[n]){const o=data[n];Object.keys(o).forEach(e=>{o[`${e}_loading`]=!1}),r.a.set(e,`${t}-${n}`,o)}else o=!0,data[`${n}_loading`]=!1}),o&&r.a.set(e,`${t}-${n}`,data)},PUSH_USERS(e,{type:t,slug:n,key:o,data:data}){const r=d(t,n),c=`${o}_users`,l=e[r][c].list,h=data.list.map(e=>e.slug);e[r][c].list=l.filter(e=>!h.includes(e.slug)).concat(data.list),e[r][c].total=data.total,e[r][c].no_more=data.no_more,e[r][c].loading=!1},SET_STATE(e,{type:t,slug:n,key:o,result:r,user:c}){if(0===r)return;const l=d(t,n),h=`${o}_users`;e[l][o]=r>0,e[l][`${o}_loading`]=!1,e[l][h]&&(r>0?(e[l][h].total++,e[l][h].no_more=!1,e[l][h].list.unshift(c)):(e[l][h].total--,e[l][h].list.forEach((t,n)=>{t.slug===c.slug&&e[l][h].list.splice(n,1)})))},SET_STATUS(e,{type:t,slug:n,key:o,value:r}){e[d(t,n)][`${o}_users`][r]=!0},SET_LOADING(e,{type:t,slug:n,action:o,result:r}){e[d(t,n)][`${o}_loading`]=r}},m={async users({state:e,commit:t},{type:n,slug:o,key:r}){const l=e[d(n,o)][`${r}_users`];if(!l.loading&&!l.no_more){t("SET_STATUS",{type:n,key:r,slug:o,value:"loading"});try{t("PUSH_USERS",{type:n,slug:o,key:r,data:await c.users({ctx:this,type:r,slug:o,last_slug:l.list.length?l.list[l.list.length-1].slug:0,model:n,take:15})})}catch(e){t("SET_STATUS",{type:n,key:r,slug:o,value:"error"})}}},async toggle({state:e,commit:t,rootState:n},{type:o,slug:r,action:c,params:l}){if(!e[d(o,r)][`${c}_loading`]){t("SET_LOADING",{action:c,type:o,slug:r,result:!0});try{const e=await this.$axios.$post("v1/social/toggle",l),{user:d}=n;return t("SET_STATE",{type:o,key:c,slug:r,result:e,user:{slug:d.slug,nickname:d.nickname,avatar:d.avatar,created_at:parseInt(Date.now()/1e3)}}),{success:!0,result:e}}catch(e){return t("SET_LOADING",{action:c,type:o,slug:r,result:!1}),{success:!1}}}}},f={get:e=>(t,n)=>e[d(t,n)]}},function(e,t){e.exports={undefined:void 0}},function(e,t,n){"use strict";n.r(t);var o=n(12),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t.default=r.a},function(e,t,n){"use strict";n.r(t);var o=n(32),r=n(0),c=n.n(r),l=n(33),d=n.n(l);var h={};function m(e){return e.then(e=>e.default||e)}function f(e){return e.options&&e._Ctor===e?e:(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=c.a.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file),e)}function y(e,t=!1,n="components"){return Array.prototype.concat.apply([],e.matched.map((e,o)=>Object.keys(e[n]).map(r=>(t&&t.push(o),e[n][r]))))}function v(e,t){return Promise.all(function(e,t){return Array.prototype.concat.apply([],e.matched.map((e,n)=>Object.keys(e.components).reduce((o,r)=>(e.components[r]?o.push(t(e.components[r],e.instances[r],e,r,n)):delete e.components[r],o),[])))}(e,async(e,n,o,r)=>("function"!=typeof e||e.options||(e=await e()),o.components[r]=e=f(e),"function"==typeof t?t(e,n,o,r):e)))}async function x(e){if(e)return await v(e),{...e,meta:y(e).map((t,n)=>({...t.options.meta,...(e.matched[n]||{}).meta}))}}async function _(e,t){e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:t.payload,error:t.error,base:"/",env:{API_URL:"http://localhost/",API_URL_BROWSER:"https://api.calibur.tv/",TAGS:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},INJECT:{tags:{newbie:"ugf6",notebook:"uh4f",bangumi:"2he",topic:"3p6",game:"285"},author:"冰淤",description:"咔哩吧是一个二次元社区",keywords:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交",title:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur",name:"咔哩吧",baiduStat:'var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',baiduPush:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();"},SOCKET_HOST:"wss://api.calibur.tv/ws"}},t.req&&(e.context.req=t.req),t.res&&(e.context.res=t.res),t.ssrContext&&(e.context.ssrContext=t.ssrContext),e.context.redirect=(t,path,n)=>{if(!t)return;e.context._redirected=!0;let o=typeof path;"number"==typeof t||"undefined"!==o&&"object"!==o||(n=path||{},o=typeof(path=t),t=302),"object"===o&&(path=e.router.resolve(path).route.fullPath),/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path)?e.context.next({path:path,query:n,status:t}):(path=function(e,t){let n;const o=e.indexOf("://");-1!==o?(n=e.substring(0,o),e=e.substring(o+3)):e.startsWith("//")&&(e=e.substring(2));let r,c=e.split("/"),l=(n?n+"://":"//")+c.shift(),path=c.filter(Boolean).join("/");c=path.split("#"),2===c.length&&([path,r]=c);l+=path?"/"+path:"",t&&"{}"!==JSON.stringify(t)&&(l+=(2===e.split("?").length?"&":"?")+function(e){return Object.keys(e).sort().map(t=>{const n=e[t];return null==n?"":Array.isArray(n)?n.slice().map(e=>[t,"=",e].join("")).join("&"):t+"="+n}).filter(Boolean).join("&")}(t));return l+=r?"#"+r:"",l}(path,n),e.context.next({path:path,status:t}))},e.context.beforeNuxtRender=e=>t.beforeRenderFns.push(e));const[n,o]=await Promise.all([x(t.route),x(t.from)]);t.route&&(e.context.route=n),t.from&&(e.context.from=o),e.context.next=t.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{}}function w(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():$(e[0],t).then(()=>w(e.slice(1),t))}function $(e,t){let n;return n=2===e.length?new Promise(n=>{e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))}):e(t),n&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function E(e,t){return function(e,t){const n=new Array(e.length);for(let i=0;i"%"+e.charCodeAt(0).toString(16).toUpperCase())}function k(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function C(e){return e.replace(/([=!:$/()])/g,"\\$1")}function N(e){return e&&e.sensitive?"":"i"}var O=n(34),j=n.n(O),A=n(15),R=n.n(A),M=n(13),P=n.n(M),L=n(6),I=n.n(L);const U=()=>{},D=I.a.prototype.push;I.a.prototype.push=function(e,t=U,n){return D.call(this,e,t,n)},c.a.use(I.a);const z={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){let o=!1;const r=y(e);r.length<2&&r.every(e=>!1!==e.options.scrollToTop)?o={x:0,y:0}:r.some(e=>e.options.scrollToTop)&&(o={x:0,y:0}),n&&(o=n);const c=window.$nuxt;return e.path===t.path&&e.hash!==t.hash&&c.$nextTick(()=>c.$emit("triggerScroll")),new Promise(t=>{c.$once("triggerScroll",()=>{if(e.hash){let t=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(t="#"+window.CSS.escape(t.substr(1)));try{document.querySelector(t)&&(o={selector:t})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(o)})})},routes:[{path:"/about",component:()=>m(n.e(4).then(n.bind(null,351))),props:!1,name:"about",children:[{path:"managers",component:()=>m(n.e(5).then(n.bind(null,352))),props:!1,name:"about-index-managers"}]},{path:"/search",component:()=>m(n.e(25).then(n.bind(null,344))),props:!1,name:"search"},{path:"/sign",component:()=>m(n.e(26).then(n.bind(null,353))),props:!1,name:"sign"},{path:"/write",component:()=>m(n.e(50).then(n.bind(null,341))),props:!1,name:"write"},{path:"/app/admin",component:()=>m(n.e(8).then(n.bind(null,354))),props:!1,name:"app-admin"},{path:"/callback/auth-error",component:()=>m(n.e(20).then(n.bind(null,355))),props:!1,name:"callback-auth-error"},{path:"/callback/auth-redirect",component:()=>m(n.e(21).then(n.bind(null,356))),props:!1,name:"callback-auth-redirect"},{path:"/callback/auth-success",component:()=>m(n.e(22).then(n.bind(null,357))),props:!1,name:"callback-auth-success"},{path:"/zone/atfield",component:()=>m(n.e(51).then(n.bind(null,358))),props:!1,name:"zone-atfield"},{path:"/zone/bangumi",component:()=>m(n.e(52).then(n.bind(null,359))),props:!1,name:"zone-bangumi"},{path:"/zone/game",component:()=>m(n.e(53).then(n.bind(null,360))),props:!1,name:"zone-game"},{path:"/zone/topic",component:()=>m(n.e(54).then(n.bind(null,361))),props:!1,name:"zone-topic"},{path:"/app/admin/create-bangumi",component:()=>m(n.e(6).then(n.bind(null,362))),props:!1,name:"app-admin-create-bangumi"},{path:"/app/admin/create-idol",component:()=>m(n.e(7).then(n.bind(null,363))),props:!1,name:"app-admin-create-idol"},{path:"/app/admin/trial",component:()=>m(n.e(9).then(n.bind(null,364))),props:!1,name:"app-admin-trial"},{path:"/app/bangumi/edit",component:()=>m(n.e(10).then(n.bind(null,365))),props:!1,name:"app-bangumi-edit"},{path:"/app/bangumi/join",component:()=>m(n.e(11).then(n.bind(null,366))),props:!1,name:"app-bangumi-join"},{path:"/app/bangumi/profile",component:()=>m(n.e(12).then(n.bind(null,367))),props:!1,name:"app-bangumi-profile"},{path:"/app/bangumi/relation",component:()=>m(n.e(13).then(n.bind(null,368))),props:!1,name:"app-bangumi-relation"},{path:"/app/bangumi/rule",component:()=>m(n.e(14).then(n.bind(null,369))),props:!1,name:"app-bangumi-rule"},{path:"/app/bangumi/test",component:()=>m(n.e(15).then(n.bind(null,370))),props:!1,name:"app-bangumi-test"},{path:"/app/bangumi/trial",component:()=>m(n.e(16).then(n.bind(null,371))),props:!1,name:"app-bangumi-trial"},{path:"/app/idol/edit",component:()=>m(n.e(17).then(n.bind(null,372))),props:!1,name:"app-idol-edit"},{path:"/app/user/edit",component:()=>m(n.e(18).then(n.bind(null,373))),props:!1,name:"app-user-edit"},{path:"/app/user/list",component:()=>m(n.e(19).then(n.bind(null,348))),props:!1,name:"app-user-list"},{path:"/pin/:slug?",component:()=>m(n.e(24).then(n.bind(null,339))),props:!0,name:"pin-slug"},{path:"/tag/:slug?",component:()=>m(n.e(29).then(n.bind(null,343))),props:!0,name:"tag-slug"},{path:"/user/:slug?",component:()=>m(n.e(31).then(n.bind(null,349))),props:!0,name:"user-slug",children:[{path:"draft",component:()=>m(n.e(32).then(n.bind(null,374))),props:!0,name:"user-slug-draft"},{path:"emotion",component:()=>m(n.e(38).then(n.bind(null,375))),props:!0,name:"user-slug-emotion"},{path:"message",component:()=>m(n.e(39).then(n.bind(null,340))),props:!0,name:"user-slug-message"},{path:"setting",component:()=>m(n.e(40).then(n.bind(null,376))),props:!0,children:[{path:"",component:()=>m(n.e(42).then(n.bind(null,377))),name:"user-slug-setting"},{path:"basic",component:()=>m(n.e(41).then(n.bind(null,378))),name:"user-slug-setting-basic"},{path:"oauth2",component:()=>m(n.e(43).then(n.bind(null,379))),name:"user-slug-setting-oauth2"}]},{path:"social",component:()=>m(n.e(44).then(n.bind(null,380))),props:!0,children:[{path:"",component:()=>m(n.e(48).then(n.bind(null,381))),name:"user-slug-social"},{path:"followers",component:()=>m(n.e(45).then(n.bind(null,382))),name:"user-slug-social-followers"},{path:"following",component:()=>m(n.e(46).then(n.bind(null,383))),name:"user-slug-social-following"},{path:"friends",component:()=>m(n.e(47).then(n.bind(null,384))),name:"user-slug-social-friends"}]},{path:"timeline",component:()=>m(n.e(49).then(n.bind(null,342))),props:!0,name:"user-slug-timeline"},{path:"emotion/category",component:()=>m(n.e(33).then(n.bind(null,385))),props:!0,name:"user-slug-emotion-category",children:[{path:"bangumi",component:()=>m(n.e(34).then(n.bind(null,386))),name:"user-slug-emotion-category-bangumi"},{path:"game",component:()=>m(n.e(35).then(n.bind(null,387))),name:"user-slug-emotion-category-game"},{path:"notebook",component:()=>m(n.e(36).then(n.bind(null,388))),name:"user-slug-emotion-category-notebook"},{path:"topic",component:()=>m(n.e(37).then(n.bind(null,389))),name:"user-slug-emotion-category-topic"}]}]},{path:"/tag/:slug?/atfield",component:()=>m(n.e(27).then(n.bind(null,350))),props:!0,name:"tag-slug-atfield"},{path:"/tag/:slug?/edit",component:()=>m(n.e(28).then(n.bind(null,345))),props:!0,name:"tag-slug-edit"},{path:"/tag/:slug?/qa",component:()=>m(n.e(30).then(n.bind(null,346))),props:!0,name:"tag-slug-qa"},{path:"/",component:()=>m(n.e(23).then(n.bind(null,390))),props:!1,name:"index"}],fallback:!1};var B={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(e,{parent:t,data:data,props:n}){data.nuxtChild=!0;const o=t,r=t.$nuxt.nuxt.transitions,c=t.$nuxt.nuxt.defaultTransition;let l=0;for(;t;)t.$vnode&&t.$vnode.data.nuxtChild&&l++,t=t.$parent;data.nuxtChildDepth=l;const d=r[l]||c,h={};F.forEach(e=>{void 0!==d[e]&&(h[e]=d[e])});const m={};G.forEach(e=>{"function"==typeof d[e]&&(m[e]=d[e].bind(o))});const f=m.beforeEnter;if(m.beforeEnter=e=>{if(window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),f)return f.call(o,e)},!1===d.css){const e=m.leave;(!e||e.length<2)&&(m.leave=(t,n)=>{e&&e.call(o,t),o.$nextTick(n)})}let y=e("routerView",data);return n.keepAlive&&(y=e("keep-alive",{props:n.keepAliveProps},[y])),e("transition",{props:h,on:m},[y])}};const F=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],G=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"];var H={name:"nuxt-error",components:{VHeader:n(30).a},props:{error:{type:Object,default:null}},computed:{statusCode(){return"继续操作前请先登录"===this.message?401:"请在APP内打开该页面"===this.message?403:this.error&&this.error.statusCode||404},message(){return this.error&&this.error.message}},mounted(){401===this.statusCode&&(window.location=this.$alias.sign())},methods:{handleLogin(){this.$channel.$emit("sign-in")},toastMessage(){this.$toast.error(this.message)}},head:{title:"出错了"}},K=n(1);var V=Object(K.a)(H,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"error-page"}},[o("VHeader",{attrs:{"show-user":!1}}),e._ssrNode(" "),e._ssrNode('
',"
",[401===e.statusCode?e._ssrNode('
',"
",[e._ssrNode("

'+e._ssrEscape(e._s(e.message||"请登录后重新访问"))+'

')],2):403===e.statusCode?e._ssrNode('

'+e._ssrEscape(e._s(e.message||"您没有权限访问该页面"))+'

回到首页
'):404===e.statusCode?e._ssrNode('
',"
",[e._ssrNode("

您要找的页面不存在

\n 不存在的内容,或者正在审核中。\n
'),o("NLink",{staticClass:"back only-h5",attrs:{to:"/app/found"}},[e._v("\n 返回首页\n ")]),e._ssrNode(" "),o("NLink",{staticClass:"back only-pc",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],2):e.statusCode>=500?e._ssrNode('
',"
",[e._ssrNode("

服务器出错了

\n 服务器出了点问题,工程师正在加紧抢修ヽ( ° ▽°)ノ\n
'),o("NLink",{staticClass:"back",attrs:{to:"/"}},[e._v("\n 返回首页\n ")])],2):e._e()])],2)}),[],!1,(function(e){var t=n(43);t.__inject__&&t.__inject__(e)}),null,"acdb5c8e").exports,W={name:"Nuxt",components:{NuxtChild:B,NuxtError:V},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||E(this.$route.matched[0].path)(this.$route.params);const[e]=this.$route.matched;if(!e)return this.$route.path;const t=e.components.default;if(t&&t.options){const{options:e}=t;if(e.key)return"function"==typeof e.key?e.key(this.$route):e.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(e){return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick(()=>this.errorFromNuxtError=!1),e("div",{},[e("h2","An error occured while showing the error page"),e("p","Unfortunately an error occured and while showing the error page another error occured"),e("p",`Error details: ${this.errorFromNuxtError.toString()}`),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(()=>this.displayingNuxtError=!1),e(V,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}},J={name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(()=>this.startTimer(),this.throttle):this.startTimer(),this},set(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get(){return this.percent},increase(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),setTimeout(()=>{this.show=!1,this.$nextTick(()=>{this.percent=0,this.reversed=!1})},500),this},fail(){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100?(this.skipTimerCount=1,this.reversed=!this.reversed):this.percent<=0&&(this.skipTimerCount=1,this.reversed=!this.reversed)))},100)}},render(e){let t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}};var Y=Object(K.a)(J,void 0,void 0,!1,(function(e){var t=n(44);t.__inject__&&t.__inject__(e)}),null,"603ac224").exports;n(45),n(46),n(47);const X={_app:()=>n.e(1).then(n.bind(null,391)).then(e=>e.default||e),_default:()=>n.e(2).then(n.bind(null,393)).then(e=>e.default||e),_web:()=>n.e(3).then(n.bind(null,347)).then(e=>e.default||e)};let Q={};var Z={head:{titleTemplate:function(e){return e?`${e} - 咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur`:"咔哩吧 (。・∀・)ノ゙ 你开心就好~~calibur"},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"},{name:"theme-color",content:"#ffffff"},{name:"format-detection",content:"telephone=no,email=no,address=no"},{name:"applicable-device",content:"pc,mobile"},{name:"renderer",content:"webkit|ie-comp|ie-stand"},{name:"force-rendering",content:"webkit"},{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"},{hid:"description",name:"description",content:"",template:e=>e?`${e},咔哩吧是一个二次元社区`:"咔哩吧是一个二次元社区"},{hid:"keywords",name:"keywords",content:"",template:e=>e?`${e},C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交`:"C站,calibur,咔哩吧,ACG,二次元,垂直社区,兴趣社交"}],link:[{rel:"dns-prefetch",href:"https://file.calibur.tv"},{rel:"dns-prefetch",href:"https://m1.calibur.tv"},{rel:"preconnect",href:"https://www.calibur.tv"},{rel:"preconnect",href:"https://api.calibur.tv"},{rel:"icon",type:"image/x-icon",href:"https://file.calibur.tv/favicon.ico"}],bodyAttrs:{id:"calibur"},script:[{src:"https://polyfill.alicdn.com/polyfill.min.js",type:"text/javascript"},{innerHTML:'var _hmt=_hmt||[];(function (){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c10304a2f70ee2ddf8d2818551d37a4b";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();',type:"text/javascript",async:!0},{innerHTML:"(function(){var bp=document.createElement('script');var curProtocol=window.location.protocol.split(':')[0];if(curProtocol==='https'){bp.src='https://zz.bdstatic.com/linksubmit/push.js'}else{bp.src='http://push.zhanzhang.baidu.com/push.js'}var s=document.getElementsByTagName(\"script\")[0];s.parentNode.insertBefore(bp,s)})();",type:"text/javascript",async:!0},{src:"//qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js",type:"text/javascript",async:!0},{src:"//qqq.gtimg.cn/miniprogram/webview_jssdk/qqjssdk-1.0.0.js",type:"text/javascript"},{src:"//res2.wx.qq.com/open/js/jweixin-1.4.0.js",type:"text/javascript",async:!0}],__dangerouslyDisableSanitizers:["script"],style:[]},render(e,t){const n=e("NuxtLoading",{ref:"loading"});if(this.nuxt.err&&V){const e=(V.options||V).layout;e&&this.setLayout("function"==typeof e?e.call(V,this.context):e)}const o=e(this.layout||"nuxt"),r=e("div",{domProps:{id:"__layout"},key:this.layoutName},[o]),c=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(e){window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}},[r]);return e("div",{domProps:{id:"__nuxt"}},[n,c])},data:()=>({isOnline:!0,layout:null,layoutName:""}),beforeCreate(){c.a.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){c.a.prototype.$nuxt=this,this.error=this.nuxt.error,this.context=this.$options.context},mounted(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline}},methods:{refreshOnlineStatus(){0},async refresh(){const e=function(e,t=!1){return y(e,t,"instances")}(this.$route);if(!e.length)return;this.$loading.start();const t=e.map(e=>{const p=[];return e.$options.fetch&&p.push($(e.$options.fetch,this.context)),e.$options.asyncData&&p.push($(e.$options.asyncData,this.context).then(t=>{for(const n in t)c.a.set(e.$data,n,t[n])})),Promise.all(p)});try{await Promise.all(t)}catch(e){this.$loading.fail(),function(e){c.a.config.errorHandler&&c.a.config.errorHandler(e)}(e),this.error(e)}this.$loading.finish()},errorChanged(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout(e){e&&Q["_"+e]||(e="default"),this.layoutName=e;let t="_"+e;return this.layout=Q[t],this.layout},loadLayout(e){const t=!e,n=!(X["_"+e]||Q["_"+e]);let o="_"+(t||n?"default":e);return Q[o]?Promise.resolve(Q[o]):X[o]().then(e=>(Q[o]=e,delete X[o],Q[o])).catch(e=>{if(this.$nuxt)return this.$nuxt.error({statusCode:500,message:e.message})})}},components:{NuxtLoading:Y}},ee=n(16),te=n.n(ee);c.a.use(te.a);const ne=["state","getters","actions","mutations"];let se={};se=function(e,t){if((e=e.default||e).commit)throw new Error(`[nuxt] ${t} should export a method that returns a Vuex instance.`);return"function"!=typeof e&&(e=Object.assign({},e)),re(e,t)}(n(54),"store/index.js"),se.modules=se.modules||{},ie(n(48),"flow.js"),ie(n(49),"global.js"),ie(n(50),"social.js");const oe=se instanceof Function?se:()=>new te.a.Store(Object.assign({strict:!1},se));function re(e,t){if(e.state&&"function"!=typeof e.state){console.warn(`'state' should be a method that returns an object in ${t}`);const n=Object.assign({},e.state);e=Object.assign({},e,{state:()=>n})}return e}function ie(e,t){e=e.default||e;const n=t.replace(/\.(js|mjs)$/,"").split("/");let o=n[n.length-1];const r=`store/${t}`;if(e="state"===o?function(e,t){if("function"!=typeof e){console.warn(`${t} should export a method that returns an object`);const n=Object.assign({},e);return()=>n}return re(e,t)}(e,r):re(e,r),ne.includes(o)){const t=o;return void ue(ae(se,n,{isProperty:!0}),e,t)}"index"===o&&(n.pop(),o=n[n.length-1]);const c=ae(se,n);for(const t of ne)ue(c,e[t],t);!1===e.namespaced&&delete c.namespaced}function ae(e,t,{isProperty:n=!1}={}){if(!t.length||n&&1===t.length)return e;const o=t.shift();return e.modules[o]=e.modules[o]||{},e.modules[o].namespaced=!0,e.modules[o].modules=e.modules[o].modules||{},ae(e.modules[o],t,{isProperty:n})}function ue(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var ce=n(14),le=n.n(ce),de=n(37),pe=n.n(de);const he={setBaseURL(e){this.defaults.baseURL=e},setHeader(e,t,n="common"){for(let o of Array.isArray(n)?n:[n]){if(!t)return void delete this.defaults.headers[o][e];this.defaults.headers[o][e]=t}},setToken(e,t,n="common"){const o=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",o,n)},onRequest(e){this.interceptors.request.use(t=>e(t)||t)},onResponse(e){this.interceptors.response.use(t=>e(t)||t)},onRequestError(e){this.interceptors.request.use(void 0,t=>e(t)||Promise.reject(t))},onResponseError(e){this.interceptors.response.use(void 0,t=>e(t)||Promise.reject(t))},onError(e){this.onRequestError(e),this.onResponseError(e)},create(e){return me(pe()(e,this.defaults))}};for(let e of["request","delete","get","head","options","post","put","patch"])he["$"+e]=function(){return this[e].apply(this,arguments).then(e=>e&&e.data)};const me=e=>{const t=le.a.create(e);return t.CancelToken=le.a.CancelToken,t.isCancel=le.a.isCancel,(e=>{for(let t in he)e[t]=he[t].bind(e)})(t),t};var fe=(e,t)=>{const n={baseURL:process.env._AXIOS_BASE_URL_||"http://localhost:3000/",headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}};n.headers.common=e.req&&e.req.headers?Object.assign({},e.req.headers):{},delete n.headers.common.accept,delete n.headers.common.host,delete n.headers.common["cf-ray"],delete n.headers.common["cf-connecting-ip"],delete n.headers.common["content-length"],delete n.headers.common["content-md5"],delete n.headers.common["content-type"],n.headers.common["accept-encoding"]="gzip, deflate";const o=me(n);e.$axios=o,t("axios",o)},ge=n(26),be=({$axios:e,app:t})=>{const n="undefined"!=typeof window;e.setToken(Object(ge.a)(t),"Bearer"),e.onRequest(e=>{e.baseURL=n?"https://api.calibur.tv/":"http://localhost/",e.timeout=1e4}),e.onResponse(e=>e.data),e.onError(e=>{const t=(e=>{const t={};return/timeout of/.test(e.message)?(t.statusCode=504,t.message="网络请求超时,请重试!",t):e.response?(t.statusCode=e.response.status,t.message=e.response.data.message||"发生错误了,请稍后再试!","string"!=typeof t.message&&(t.message="网络错误,请重试!"),t):(t.statusCode=502,t.message="网络错误,请重试!",t)})(e);return Promise.reject(t)})},ye=n(17),ve=n.n(ye),xe=n(18),_e=n.n(xe),we=n(19),$e=n.n(we),Ee=n(20),Se=n.n(Ee),Te=n(21),ke=n.n(Te),Ce=n(22),Ne=n.n(Ce),Oe=n(23),je=n.n(Oe),qe=n(24),Ae=n.n(qe),Re=(n(51),n(5)),Me=n.n(Re),Pe=n(7),Le=n(2),Ie={install(e,t){if(e.prototype.$isServer)return;const n=[],o=t||{preload:1},r=window.screen.width<=768;e.directive("lazyload",{bind(e,t){t.arg&&"pc"===t.arg&&r||n.push({el:e,handler:t.value})},inserted(){d()},update(){d()},unbind(e){c(e)}});const c=e=>{for(let i=0,t=n.length;i{c(e),e.handler()},d=Object(Pe.throttle)(200,()=>n.filter(e=>e&&Object(Le.checkInView)(e.el,o.preload)).map(l));["scroll","resize","load"].forEach(e=>{window.addEventListener(e,()=>{d()})})}};const Ue=(e,t)=>{const n=[];for(const p in t)null!=t[p]&&n.push(p+"="+encodeURIComponent(t[p]));const o=e+n.join("&");return window.open(o,"","width=760, height=640, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no"),!1};var De={install(e){e.directive("share",{bind(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{},e.addEventListener("click",()=>{((e,t)=>{switch(e){case"weibo":Ue("https://service.weibo.com/share/share.php?",{url:t.url,type:"3",count:"1",appkey:t.appkey.weibo,title:t.title+t.weiboTag,pic:t.pic[0],searchPic:t.searchPic,ralateUid:"",language:"zh_cn",rnd:(new Date).valueOf()});break;case"qzone":Ue("https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?",{url:t.url,showcount:1,desc:t.desc,summary:t.summary,title:t.shortTitle,site:"咔哩吧",pics:t.pic,style:"203",width:98,height:22});break;case"qq":Ue("https://connect.qq.com/widget/shareqq/index.html?",{url:t.url,desc:t.desc,title:t.title,summary:t.summary,pics:t.pic,flash:"",site:"",style:"201",width:32,height:32});break;case"tieba":Ue("https://tieba.baidu.com/f/commit/share/openShareApi?",{title:t.title,url:t.url,uid:726865,to:"tieba",type:"text",relateUid:"",pic:t.pic[0],key:"",sign:"on",desc:"",comment:t.desc});break;default:throw new Error("This type is not defined.")}})(e.vtype,Object.assign({title:document.title,url:location.href,desc:"",pic:"",summary:"",shortTitle:"",searchPic:!1,appkey:{weibo:""},weiboTag:"",tp_id:0,aid:""},e.options))},!1)},update(e,t){e.vtype=Object.keys(t.modifiers)[0],e.options=t.value||{}}})}},ze={name:"VImg",props:{src:{type:String,required:!0},def:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},radius:{type:String,default:""},stretched:{type:Boolean,default:!1},blur:{type:Boolean,default:!1}},data(){const{def:e,width:t}=this,n=e?e.startsWith("http")?e:`https://m1.calibur.tv/${e}`:"",o="number"==typeof t&&"number"==typeof this.height&&!this.radius;return{show:n,source:n,isFull:o,useBlur:!!o||this.blur,isLarge:t.toString().endsWith("%"),extraStyle:{},animate:!1}},computed:{style(){const style={},{width:e,height:t,radius:n,isFull:o,isLarge:r}=this;return o?(style.paddingTop=`${t/e*100}%`,style):(e&&!r&&(style.width=`${e}px`),t&&(style.height=`${t}px`),n&&(style.borderRadius=n),style)}},methods:{handle(){const{src:e,isFull:t,isLarge:n}=this,o=n?2:1;let{width:r,height:c}=this;if(t){const e=window.screen.width<=768?420:660;r>e&&(c=parseInt(e/r*c,10),r=e),c>9999&&(r=parseInt(9999/c*r,10),c=9999),r ")])}),[],!1,(function(e){var t=n(52);t.__inject__&&t.__inject__(e)}),null,"0ee64767").exports;c.a.use(Ie),c.a.use(De),c.a.component(Be.name,Be),c.a.component(Ae.a.name,Ae.a),c.a.component(Me.a.FlowLoader.name,Me.a.FlowLoader),c.a.component(je.a.name,je.a),c.a.component(Ne.a.name,Ne.a),c.a.component(ke.a.name,ke.a),c.a.component(Se.a.name,Se.a),c.a.component($e.a.name,$e.a),c.a.component(_e.a.name,_e.a),c.a.component(ve.a.name,ve.a);var Fe={sign:(e="")=>`/sign?redirect=${encodeURIComponent(e||("undefined"==typeof window?"/":window.location.href))}`,tag:(e,path="")=>`/tag/${e}/${path}`,user:(e,path="timeline")=>`/user/${e}/${path}`,pin:e=>`/pin/${e}`,create:e=>e?`/write?slug=${e}`:"/write"},Ge=(e,t={})=>{if(!e)return"";if(/imageMogr2/.test(e))return e;const link=e.startsWith("http")?e:`https://m1.calibur.tv/${e}`,n=!1===t.webP?"":(()=>{if("undefined"==typeof window)return!1;if(void 0!==window.supportWebP)return window.supportWebP;const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){const t=0===e.toDataURL("image/webp").indexOf("data:image/webp");return window.supportWebP=t,t}return!1})()?"/format/webp":"",o=void 0===t.mode?1:t.mode;if(1===o&&!t.width||!t.width&&!t.height)return`${link}?imageMogr2/auto-orient/strip${n}`;let r,c;const l=(()=>{if("undefined"==typeof window)return 2;if(void 0!==window.computedRadio)return window.computedRadio;const e=window.devicePixelRatio;return window.computedRadio=e,e})();return 1===o?(r=`/w/${t.width*l|0}`,c=t.height?`/h/${t.height*l|0}`:`/h/${t.width*l|0}`):(r=t.width?`/w/${t.width*l|0}`:"",c=t.height?`/h/${t.height*l|0}`:""),`${link}?imageMogr2/auto-orient/strip|imageView2/${o}${r}${c}${n}`},He=({store:e})=>{c.a.use({install(t){t.prototype.$alias=Fe,t.prototype.$utils=Le,t.prototype.$resize=Ge,t.prototype.$hasRole=e.getters.hasRole,t.prototype.$isMine=e.getters.isMine}})};n(4);c.a.component(R.a.name,R.a),c.a.component(P.a.name,{...P.a,render:(e,t)=>P.a.render(e,t)}),c.a.component(B.name,B),c.a.component("NChild",B),c.a.component(W.name,W),c.a.use(j.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});const Ke={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};async function Ve(e){const t=await new I.a(z),n=oe(e);n.$router=t;const o=n.registerModule;n.registerModule=(path,e,t)=>o.call(n,path,e,Object.assign({preserveState:!1},t));const r={store:n,router:t,nuxt:{defaultTransition:Ke,transitions:[Ke],setTransitions(e){return Array.isArray(e)||(e=[e]),e=e.map(e=>e=e?"string"==typeof e?Object.assign({},Ke,{name:e}):Object.assign({},Ke,e):Ke),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error(t){t=t||null,r.context._errored=Boolean(t),t=t?function(e){let t;if(e.message||"string"==typeof e)t=e.message||e;else try{t=JSON.stringify(e,null,2)}catch(n){t=`[${e.constructor.name}]`}return{...e,message:t,statusCode:e.statusCode||e.status||e.response&&e.response.status||500}}(t):null;const n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}},...Z};n.app=r;const l=e?e.next:e=>r.router.push(e);let d;if(e)d=t.resolve(e.url).route;else{const path=function(base,e){let path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}(t.options.base,t.options.mode);d=t.resolve(path).route}await _(r,{store:n,route:d,next:l,error:r.nuxt.error.bind(r),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});const h=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject(key, value) has no value provided");r[e="$"+e]=t,n[e]=r[e];const o="__nuxt_"+e+"_installed__";c.a[o]||(c.a[o]=!0,c.a.use(()=>{Object.prototype.hasOwnProperty.call(c.a,e)||Object.defineProperty(c.a.prototype,e,{get(){return this.$root.$options[e]}})}))};return"function"==typeof fe&&await fe(r.context,h),"function"==typeof be&&await be(r.context,h),"function"==typeof He&&await He(r.context,h),e&&e.url&&await new Promise((n,o)=>{t.push(e.url,n,()=>{const o=t.afterEach(async(t,c,l)=>{e.url=t.fullPath,r.context.route=await x(t),r.context.params=t.params||{},r.context.query=t.query||{},o(),n()})})}),{store:n,app:r,router:t}}var We={name:"NuxtLink",extends:c.a.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}}};c.a.component(We.name,We),c.a.component("NLink",We),global.fetch||(global.fetch=d.a);const Je=()=>new c.a({render:e=>e("div")});const Ye=e=>t=>{if(e.redirected=t,!e.res)return void(e.nuxt.serverRendered=!1);t.query=Object(o.stringify)(t.query),t.path=t.path+(t.query?"?"+t.query:"");t.path.startsWith("http"),t.path!==e.url?(e.res.writeHead(t.status,{Location:t.path}),e.res.end()):e.redirected=!1};t.default=async e=>{e.redirected=!1,e.next=Ye(e),e.beforeRenderFns=[],e.nuxt={layout:"default",data:[],error:null,state:null,serverRendered:!0};const{app:t,router:n,store:o}=await Ve(e),r=new c.a(t);e.meta=r.$meta(),e.asyncData={};const l=async()=>{await Promise.all(e.beforeRenderFns.map(t=>$(t,{Components:v,nuxtState:e.nuxt}))),e.rendered=()=>{e.nuxt.state=o.state}},d=async()=>{const n=(V.options||V).layout,o="function"==typeof n?n.call(V,t.context):n;return e.nuxt.layout=o||"default",await r.loadLayout(o),r.setLayout(o),await l(),r},m=()=>(t.context.error({statusCode:404,path:e.url,message:"This page could not be found"}),d()),v=y(n.match(e.url));if(o._actions&&o._actions.nuxtServerInit)try{await o.dispatch("nuxtServerInit",t.context)}catch(e){throw console.debug("Error occurred when calling nuxtServerInit: ",e.message),e}if(e.redirected)return Je();if(e.nuxt.error)return d();let x=[];if(x=x.map(e=>"function"==typeof e?e:("function"!=typeof h[e]&&t.context.error({statusCode:500,message:"Unknown middleware "+e}),h[e])),await w(x,t.context),e.redirected)return Je();if(e.nuxt.error)return d();let _=v.length?v[0].options.layout:V.layout;if("function"==typeof _&&(_=_(t.context)),await r.loadLayout(_),e.nuxt.error)return d();if(_=r.setLayout(_),e.nuxt.layout=r.layoutName,x=[],_=f(_),_.options.middleware&&(x=x.concat(_.options.middleware)),v.forEach(e=>{e.options.middleware&&(x=x.concat(e.options.middleware))}),x=x.map(e=>"function"==typeof e?e:("function"!=typeof h[e]&&t.context.error({statusCode:500,message:"Unknown middleware "+e}),h[e])),await w(x,t.context),e.redirected)return Je();if(e.nuxt.error)return d();let E=!0;try{for(const e of v)if("function"==typeof e.options.validate&&(E=await e.options.validate(t.context),!E))break}catch(e){return t.context.error({statusCode:e.statusCode||"500",message:e.message}),d()}if(!E)return e._generate&&(e.nuxt.serverRendered=!1),m();if(!v.length)return m();const S=await Promise.all(v.map(n=>{const o=[];if(n.options.asyncData&&"function"==typeof n.options.asyncData){const r=$(n.options.asyncData,t.context);r.then(t=>(e.asyncData[n.cid]=t,function(e,t){if(!t&&e.options.__hasNuxtData)return;const n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){const data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),{...data,...t}},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}(n),t)),o.push(r)}else o.push(null);return n.options.fetch?o.push(n.options.fetch(t.context)):o.push(null),Promise.all(o)}));return e.nuxt.data=S.map(e=>e[0]||{}),e.redirected?Je():e.nuxt.error?d():(await l(),r)}},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),c=n(3);const l=e=>{try{sessionStorage.setItem(`user-item-${e.slug}`,JSON.stringify(e))}catch(e){}},d=(e,t)=>{try{localStorage.setItem(e,JSON.stringify(t)),localStorage.setItem(`${e}-created-at`,Date.now())}catch(e){}};var h=n(2);n.d(t,"state",(function(){return m})),n.d(t,"mutations",(function(){return f})),n.d(t,"actions",(function(){return y})),n.d(t,"getters",(function(){return v}));const m=()=>({user:{},haveAuthToken:!1,roles:null,isAuth:!1,isLogout:!1,logging:!1,mailbox:{unread_message_total:0,unread_notice_total:0},messageMenu:{list:[],time:""},messageRoom:{},socket:{isConnected:!1,reconnectErr:!1,isMaster:!1}}),f={SET_USER_INFO(e,t){const n=!(!t||!t.slug);e.user=t,e.haveAuthToken=n,e.isAuth=n,e.logging=!1},SET_USER_TOKEN(e,t){e.isLogout||(e.haveAuthToken=!!t)},SET_LOGGING(e){e.logging=!0},USER_LOGOUT(e){e.haveAuthToken=!1,e.isAuth=!1,e.logging=!1,e.isLogout=!0,e.user={}},UPDATE_USER_INFO(e,{key:t,value:n}){r.a.set(e.user,t,n)},SOCKET_AUTO_CONNECT(e){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!1},SOCKET_ONOPEN(e,t){e.socket.isConnected=!0,e.socket.reconnectErr=!1,e.socket.isMaster=!0},SOCKET_ONCLOSE(e,t){e.socket.isConnected=!1},SOCKET_ONERROR(e,t){e.socket.reconnectErr=!0},SOCKET_ONMESSAGE(e,t){if("unread_total"===t.channel)e.mailbox=t;else if("message-menu"===t.channel){const n=[];t.data.forEach(t=>{e.messageRoom[t.channel]||r.a.set(e.messageRoom,t.channel,{time:"",data:null}),n.push(Object.assign(t,{user:{}}))}),e.messageMenu.list=n,e.messageMenu.time=Object(h.randomStr)()}else e.messageRoom[t.channel].data=t,e.messageRoom[t.channel].time=Object(h.randomStr)();e.socket.isMaster&&(d("socket-on-message-data",t),d("socket-on-message-time",Date.now()))},SOCKET_RECONNECT(e,t){},SOCKET_RECONNECT_ERROR(e){e.socket.reconnectErr=!0},SET_MESSAGE_MENU(e,menu){const t=[];menu.forEach(n=>{e.messageRoom[n.channel]?r.a.set(e.messageRoom,n.channel,{time:Object(h.randomStr)(),data:null}):r.a.set(e.messageRoom,n.channel,{time:"",data:null}),n.user={},t.push(n)}),e.messageMenu.list=t,e.messageMenu.time=Object(h.randomStr)()},UPDATE_MESSAGE_MENU_USER(e,{channel:t,user:n}){e.messageMenu.list.forEach(e=>{e.channel===t&&(e.user=n)})},DELETE_MESSAGE_MENU(e,t){e.messageMenu.list.forEach((n,o)=>{n.channel===t&&e.messageMenu.list.splice(o,1)})},INIT_MESSAGE_ROOM(e,t){r.a.set(e.messageRoom,t,{time:"",data:null})},CLEAR_NOTIFICATION(e,{channel:t,count:n}){e.messageMenu.list.forEach((o,r)=>{o.channel===t&&(e.messageMenu.list[r].count-=n,e.mailbox.unread_message_total-=n)})},SET_USER_ROLE(e,data){e.roles=data}},y={async initAuth({state:e,commit:t}){if(!e.haveAuthToken||e.logging)return null;if(e.user.slug)return e.user;try{t("SET_LOGGING");const e=await Object(c.b)(this);return t("SET_USER_INFO",e),e}catch(e){return t("SET_USER_INFO",{}),null}},async refreshMailbox({state:e,commit:t}){if(e.socket.isConnected)return;t("SOCKET_ONMESSAGE",await Object(c.c)(this,{slug:e.user.slug}))},async getMessageMenu({commit:e}){e("SET_MESSAGE_MENU",await this.$axios.$get("v1/message/menu"))},updateMessageMenu({state:e,commit:t}){const n=e.user.slug;e.messageMenu.list.forEach(async e=>{const o=e.channel.split("@");let r=o[2];r===n&&(r=o[3]);const d=await((e,t)=>{const n=async()=>{const n=await Object(c.d)(e,{slug:t});return n&&l(n),n};try{return sessionStorage.getItem(`user-item-${t}`)?JSON.parse(sessionStorage.getItem(`user-item-${t}`)):n()}catch(e){return n()}})(this,r);t("UPDATE_MESSAGE_MENU_USER",{channel:e.channel,user:d})})},getUserRoles({state:e,commit:t}){!e.roles&&e.user&&e.user.title.length&&this.$axios.$get("v1/user/roles").then(data=>{t("SET_USER_ROLE",data)}).catch(()=>{})}},v={isMine:e=>t=>!!e.isAuth&&e.user.slug===t,isAdmin:e=>!!e.isAuth&&e.user.is_admin,hasRole:e=>t=>!!e.user.is_admin||!!e.roles&&~e.roles.indexOf(t)}},function(e,t){e.exports=require("element-ui/lib/select")},function(e,t){e.exports=require("element-ui/lib/upload")},function(e,t){e.exports=require("element-ui/lib/alert")},function(e,t){e.exports=require("element-ui/lib/option")},function(e,t){e.exports=require("element-ui/lib/radio-group")},function(e,t){e.exports=require("element-ui/lib/radio")},function(e,t){e.exports=require("vue-roll-list")},function(e,t){e.exports=require("element-ui/lib/pagination")},function(e,t){e.exports=require("element-ui/lib/checkbox")},function(e,t){e.exports=require("element-ui/lib/slider")},function(e,t){e.exports=require("element-ui/lib/date-picker")},function(e,t){e.exports=require("element-ui/lib/dialog")},function(e,t){e.exports=require("@codexteam/ajax")},function(e,t){e.exports=require("element-ui/lib/collapse-item")},function(e,t){e.exports=require("element-ui/lib/collapse")},function(e,t){e.exports=require("element-ui/lib/tooltip")},function(e,t){e.exports=require("element-ui/lib/popover")},function(e,t){e.exports=require("v-copy")},function(e,t){e.exports=require("element-ui/lib/dropdown-item")},function(e,t){e.exports=require("element-ui/lib/dropdown-menu")},function(e,t){e.exports=require("element-ui/lib/dropdown")},function(e,t){e.exports=require("element-ui/lib/cascader")},function(e,t){e.exports=require("element-ui/lib/loading")},function(e,t){e.exports=require("oh-my-chat")},function(e,t){e.exports=require("@better-scroll/core")},function(e,t){e.exports=require("@better-scroll/mouse-wheel")},function(e,t){e.exports=require("element-ui/lib/timeline-item")},function(e,t){e.exports=require("element-ui/lib/timeline")},function(e,t){e.exports=require("element-ui/lib/backtop")},function(e,t){e.exports=require("url-polyfill")},function(e,t){e.exports=require("@editorjs/editorjs")}]); \ No newline at end of file diff --git a/api/flowApi.js b/api/flowApi.js index 67f8b519..021ec416 100644 --- a/api/flowApi.js +++ b/api/flowApi.js @@ -117,3 +117,13 @@ export const getIdolFans = ({ $axios, page, take, slug, sort }) => { } }) } + +export const getBangumiLiker = ({ $axios, page, take, slug }) => { + return $axios.$get('v1/bangumi/liker', { + params: { + page, + take, + slug + } + }) +}