require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_set/index"],{"0455":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("7ca3")),r=n("92f9"),a=n("5088"),u=n("8f59"),c=o(n("89cc"));function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l={computed:(0,u.mapGetters)(["isLogin"]),data:function(){return{userInfo:{},isShowAuth:!1,autoplay:this.$store.state.app.autoplay,loginType:"h5",showModal:!1,version:"",fileSizeString:""}},mixins:[c.default],components:{tuiModal:function(){n.e("components/tui-modal/index").then(function(){return resolve(n("6b9f"))}.bind(null,n)).catch(n.oe)},NavBar:function(){n.e("components/NavBar").then(function(){return resolve(n("a7d8"))}.bind(null,n)).catch(n.oe)}},onShow:function(){this.isLogin?this.getUserInfo():(0,a.toLogin)()},methods:s(s({},(0,u.mapMutations)(["SET_AUTOPLAY"])),{},{Setting:function(){t.openSetting({success:function(t){}})},updateApp:function(){this.$refs.appUpdate.update()},formatSize:function(){var t=this;plus.cache.calculate((function(e){var n=parseInt(e);t.fileSizeString=0==n?"0B":n<1024?n+"B":n<1048576?(n/1024).toFixed(2)+"KB":n<1073741824?(n/1048576).toFixed(2)+"MB":(n/1073741824).toFixed(2)+"GB"}))},getUserInfo:function(){var t=this;(0,r.getUserInfo)().then((function(e){t.userInfo=e.data}))},autoplayChange:function(t){this.SET_AUTOPLAY(t.detail.value)},handleClick:function(e){var n=this,o=e.index;1==o?(0,r.getLogout)().then((function(e){n.showModal=!1,n.$store.commit("LOGOUT"),t.reLaunch({url:"/pages/index/index"})})).catch((function(t){})):this.showModal=!1},outLogin:function(){this.showModal=!0}})};e.default=l}).call(this,n("df3c")["default"])},"069d":function(t,e,n){"use strict";n.r(e);var o=n("1180"),i=n("f8af");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("457a");var a=n("828b"),u=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=u.exports},1180:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},"457a":function(t,e,n){"use strict";var o=n("d6eb"),i=n.n(o);i.a},d6eb:function(t,e,n){},e7f8:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("f076");o(n("3240"));var i=o(n("069d"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},f8af:function(t,e,n){"use strict";n.r(e);var o=n("0455"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a}},[["e7f8","common/runtime","common/vendor"]]]);