app.c3bb31c33d82bb4e6954.js 30 KB

1
  1. webpackJsonp([51],{EDgR:function(n,t){var e,o=document.documentElement;e=document,window,void 0!==e.addEventListener&&function(){var n=o.clientWidth,t=o.clientHeight;if(void 0!==n){var e=window.screen.orientation?window.screen.orientation.angle:window.orientation;window.huo&&window.huo.getScreenOrientation&&(e="0"===window.huo.getScreenOrientation()?90:180);var a=n/10;270===e||90===e||-90===e?a=t/10:0!==e&&180!==e||(a=n/10),a=a>75?75:a,o.style.fontSize=a+"px"}}()},F7NO:function(n,t){n.exports="data:image/gif;base64,R0lGODlhHwAfAPMMAJ6enpmZmbi4uNnZ2bKysnNzc1lZWczMzNHR0b+/v4yMjKampv///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAAMACwAAAAAHwAfAAAEpZDJSWm5NevNruegpIyShzFGGlJj25loqq5MS76FJM+rrWg7A010A/I2geSwMmhWktClpEmlQJVSqnNyDUgZ2sET+61+v4D0uYJoM9LwtaRNh6vl9LYdIGfkEW93fXR9QwuHaweKFYeNX4qQFI2IUpCLE5MLj5aMlJsHIQSiHAmlS6KoGqWrQ6ijDAKxEqumNK4EsLGytAmnr7qyDKxywAKFFbpDEQAh+QQFAAAMACwAAAAAHwAfAAAEpZDJSam6NevNruegFIyShzFFGlJj25loqq5MS76KJM+rHWi7Ak10A/I2gOSwYmhWktClpEmlQJVSqnNyBUgZWsMT+61+v4v0uTJoM9LwtaRNh6vl9LZ9IWfkB293fXR9QwSHawiKFYeNX4qQFI2IUpCLE5MEj5aMlJsIIQKiHAelS6KoGqWrQ6ijDAmxEqumNK4CsLGytAenr7qyDKxywAmFFbpDEQAh+QQFAAAMACwAAAAAHwAfAAAEpZDJSWm4NevNruegBIyShzFKGlJj25loqq5MS76BJM+rDWg7BU10A/I2i+SwUmhWktClpEmlQJVSqnNyXUgZ2sIT+61+v4T0uWJoM9LwtaRNh6vl9LadIGfkDW93fXR9QwKHawOKFYeNX4qQFI2IUpCLE5MCj5aMlJs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pCLE5MAj5aMlJsJIQuiHAKlS6KoGqWrQ6ijDASxEqumNK4LsLGytAKnr7qyDKxywASFFbpDEQA7LyogIHx4R3YwMHwwMWE1NzgzY2FlMGQzN2NhZjVjZWE0OGIzYTAxNjk0ZSAqLw=="},NHnr:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={};e.d(o,"baseInfo",function(){return S}),e.d(o,"userDetail",function(){return A}),e.d(o,"giftList",function(){return E}),e.d(o,"giftDetail",function(){return g}),e.d(o,"actionStatus",function(){return h}),e.d(o,"succMsg",function(){return p}),e.d(o,"failMsg",function(){return T}),e.d(o,"loadingStatus",function(){return C});var a={};e.d(a,"test",function(){return y}),e.d(a,"ChangeBackgroun",function(){return M}),e.d(a,"userLogin",function(){return q}),e.d(a,"userReg",function(){return Q}),e.d(a,"userRegm",function(){return P}),e.d(a,"userRegone",function(){return J}),e.d(a,"smsSend",function(){return O}),e.d(a,"getBaseInfo",function(){return W}),e.d(a,"getUserDetail",function(){return k}),e.d(a,"updateUserNickname",function(){return K}),e.d(a,"updateUserPasswd",function(){return x}),e.d(a,"getServerList",function(){return H}),e.d(a,"getGiftList",function(){return j}),e.d(a,"getGiftDetail",function(){return Z}),e.d(a,"addGift",function(){return B}),e.d(a,"getService",function(){return Y}),e.d(a,"addFeedback",function(){return X}),e.d(a,"getNewsList",function(){return z}),e.d(a,"getNewsDetail",function(){return V}),e.d(a,"getMsgList",function(){return $}),e.d(a,"getMsgDetail",function(){return nn}),e.d(a,"ptbRecharge",function(){return tn}),e.d(a,"ptbPayPost",function(){return en}),e.d(a,"getPtbRechargeList",function(){return on}),e.d(a,"getGmRechargeList",function(){return an}),e.d(a,"getOrderList",function(){return cn}),e.d(a,"getPtbConsumeList",function(){return rn}),e.d(a,"gmRecharge",function(){return un}),e.d(a,"gmPayPost",function(){return sn}),e.d(a,"setIdentify",function(){return fn}),e.d(a,"getAccountList",function(){return mn}),e.d(a,"addAccount",function(){return ln}),e.d(a,"switchAccount",function(){return dn}),e.d(a,"bindInfo",function(){return Sn}),e.d(a,"smsCheckold",function(){return An}),e.d(a,"bindMobile",function(){return En}),e.d(a,"fSmsSend",function(){return gn});var i=e("7+uW"),c=e("Dd8w"),r=e.n(c),u=e("NYxO"),s={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var n=this.$createElement,t=this._self._c||n;return t("div",{staticClass:"layer"},[t("img",{staticClass:"loading",attrs:{src:e("F7NO")}})])}]};var f={name:"App",components:{Loading:e("VU/8")(null,s,!1,function(n){e("URce")},null,null).exports},computed:r()({},Object(u.b)(["loadingStatus"]))},m={render:function(){var n=this.$createElement,t=this._self._c||n;return t("div",{staticClass:"mainBody"},[t("router-view"),this._v(" "),this.loadingStatus?t("Loading"):this._e()],1)},staticRenderFns:[]};var l=e("VU/8")(f,m,!1,function(n){e("nkvQ")},null,null).exports,d=e("/ocq"),S=function(n){return n.baseInfo},A=function(n){return n.userDetail},E=function(n){return n.giftList},g=function(n){return n.giftDetail},h=function(n){return n.actionStatus},p=function(n){return n.succMsg},T=function(n){return n.failMsg},C=function(n){return n.isLoading};function I(n,t,e){var o=n[t]||{count:0,list:[],page:0};o.count=e.count,o.list=o.list.concat(e.list),o.page++,i.a.set(n,t,o),i.a.set(n,"actionStatus",!0)}var _={test:function(n){i.a.set(n,"testData","测试vuex...")},ChangeBackgroun:function(n,t){i.a.set(n,"bgColor",t)},RESET_STATUS:function(n){i.a.set(n,"actionStatus",!1),i.a.set(n,"succMsg",""),i.a.set(n,"failMsg","")},GET_USERREG_SUCCESS:function(n){i.a.set(n,"regStatus",!0)},GET_USERREGONE_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"regone",e)},GET_USERREG_FAILED:function(n,t){var e=t.msg;i.a.set(n,"failMsg",e)},SMSSEND_SUCCESS:function(n,t){var e=t.msg;i.a.set(n,"smsSendStatus",!0),i.a.set(n,"succMsg",e)},SMSSEND_FAILED:function(n,t){var e=t.msg;i.a.set(n,"failMsg",e)},GET_BASEINFO_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"baseInfo",e)},GET_USERDETAIL_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"userDetail",e)},UPDATE_USERNICKNAME_SUCCESS:function(n,t){var e=t.name;i.a.set(n.userDetail,"nickname",e),i.a.set(n,"actionStatus",!0)},GET_SERVERLIST_SUCCESS:function(n,t){I(n,"serverList",t.data)},CLEAR_GIFTLIST:function(n){i.a.set(n,"giftList",{count:0,list:[],page:0})},GET_GIFTLIST_SUCCESS:function(n,t){I(n,"giftList",t.data)},GET_GIFTDETAIL_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"giftDetail",e)},ADD_GIFT_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"giftDetail",e),i.a.set(n,"actionStatus",!0)},GET_SERVICE_SUCCESS:function(n,t){var e=t.data;e&&i.a.set(n,"service",e)},GET_NEWSLIST_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"newsList",e)},CLEAR_NEWSDETAIL:function(n){i.a.set(n,"newsDetail",{}),i.a.set(n,"msgDetail",{})},GET_NEWSDETAIL_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"newsDetail",e)},GET_MSGLIST_SUCCESS:function(n,t){I(n,"msgList",t.data)},GET_MSGDETAIL_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"msgDetail",e)},PTB_RECHARGE_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"ptbRecharge",e)},PTB_PAYPOST_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"ptbPayPost",e)},GET_PTBRECHARGE_SUCCESS:function(n,t){I(n,"ptbRechargeList",t.data)},GET_PTBCONSUME_SUCCESS:function(n,t){I(n,"ptbConsumeList",t.data)},GM_RECHARGE_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"gmRecharge",e)},GM_PAYPOST_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"gmPayPost",e)},GET_GMRECHARGE_SUCCESS:function(n,t){I(n,"gmRechargeList",t.data)},GET_ORDERLIST_SUCCESS:function(n,t){I(n,"orderList",t.data)},CLEAR_LIST:function(n){i.a.set(n,"ptbRechargeList",""),i.a.set(n,"gmRechargeList",""),i.a.set(n,"orderList","")},SET_IDENTIFY_SUCCESS:function(n){i.a.set(n.userDetail,"has_identify",2),i.a.set(n,"actionStatus",!0)},GET_ACCOUNTLIST_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"accountList",e)},ACTION_SUCCESS:function(n,t){var e=t.msg;i.a.set(n,"succMsg",e),i.a.set(n,"actionStatus",!0)},ACTION_FAILED:function(n,t){var e=t.msg;i.a.set(n,"failMsg",e)},BIND_INFO_SUCCESS:function(n,t){var e=t.data;i.a.set(n,"bindInfo",e)},UPDATE_LOADING_STATUS:function(n,t){n.isLoading=t.isLoading}},v=e("//Fk"),L=e.n(v),w=e("fZjL"),N=e.n(w),U=e("mtWM"),D=e.n(U),R=e("mw3O"),F=e.n(R),G=e("NC6I"),b=e.n(G);e("hKoQ").polyfill(),D.a.interceptors.request.use(function(n){hn.commit("UPDATE_LOADING_STATUS",{isLoading:!0});var t=window.localStorage.getItem("app-float-token")||window.huo&&window.huo.getToken(),e=0;try{e=window.huo.getAppId()}catch(n){}var o="";try{o=window.huo.getClientId()}catch(n){}var a={ts:(new Date).getTime(),app_id:e,client_id:o,token:t,"game-pkg_name":"","game-app_ver":"","game-h_ver":"","game-sdk_ver":"","agent-ch":0,"agent-sub_ch":"","device-device_id":"","device-mac":"","device-ip":"","device-brand":"","device-model":"","device-os":"","device-os_version":"","device-screen":window.screen.width*window.devicePixelRatio+"x"+window.screen.height*window.devicePixelRatio,"device-net":"","device-imsi":"","device-longitude":"","device-latitude":"","device-userua":navigator.userAgent,format:"json"};if("post"===n.method){var i=F.a.parse(n.data),c=r()({},a,i),u={},s="";N()(c).sort().forEach(function(n){u[n]=c[n],s+="&"+n+"="+c[n]});var f=("POST&"+encodeURIComponent(n.url.substr(1))+"&"+encodeURIComponent(s.substr(1))+"&"+t).replace(/\(/g,"%28").replace(/\)/g,"%29");u.sign=b()(f),n.data=F.a.stringify(u)}else if("get"===n.method){var m=r()({},a,n.params),l={},d="";N()(m).sort().forEach(function(n){l[n]=m[n],d+="&"+n+"="+m[n]});var S=("GET&"+encodeURIComponent(n.url.substr(1))+"&"+encodeURIComponent(d.substr(1))+"&"+t).replace(/\(/g,"%28").replace(/\)/g,"%29");l.sign=b()(S),n.params=l}return n},function(n){return L.a.reject(n)}),D.a.interceptors.response.use(function(n){hn.commit("UPDATE_LOADING_STATUS",{isLoading:!1});var t=n.data;return 200===t.code?t.data&&t.data.user_token&&window.localStorage.setItem("app-float-token",t.data.user_token):1002===t.code&&(window.localStorage.removeItem("app-float-token"),Tn.push("/login")),n},function(n){return L.a.reject(n)});var y=function(n){(0,n.commit)("test")},M=function(n,t){(0,n.commit)("ChangeBackgroun",t)},q=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("ACTION_SUCCESS",{msg:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.post("/v8/user/login",e).then(function(n){var t=n.data;200===t.code?o(t.msg):a(t.msg)}).catch(function(n){console.info(n),a()})},Q=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_USERREG_SUCCESS")},a=function(n){i("GET_USERREG_FAILED",{msg:n})},D.a.post("/v8/user/reg",e).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},P=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_USERREG_SUCCESS")},a=function(n){i("GET_USERREG_FAILED",{msg:n})},D.a.post("/v8/user/regm",e).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},J=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_USERREGONE_SUCCESS",{data:n})},a=function(n){i("GET_USERREG_FAILED",{msg:n})},D.a.post("/v8/user/regone",e).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},O=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("SMSSEND_SUCCESS",{msg:n})},a=function(n){i("SMSSEND_FAILED",{msg:n})},D.a.post("/v8/sms/send",e).then(function(n){var t=n.data;200===t.code?o(t.msg):a(t.msg)}).catch(function(n){console.info(n),a()})},W=function(n){var t,e,o=n.commit;t=function(n){o("GET_BASEINFO_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/base/info").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},k=function(n){var t,e,o=n.commit;t=function(n){o("GET_USERDETAIL_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/user/index").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},K=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/user/nickname/update",{nickname:n}).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("UPDATE_USERNICKNAME_SUCCESS",{name:t})},function(n){e("ACTION_FAILED",{msg:n})})},x=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/user/passwd/update",n).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})},H=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_SERVERLIST_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/gameserver/list",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},j=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),t&&t.page||i("CLEAR_GIFTLIST"),e=t,o=function(n){i("GET_GIFTLIST_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/gift/list",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},Z=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.get("/cfloat/gift/detail",{params:{gift_id:n}}).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("GET_GIFTDETAIL_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},B=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/user/gift/add",{gift_id:n}).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ADD_GIFT_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},Y=function(n){var t,e,o=n.commit;o("RESET_STATUS"),t=function(n){o("GET_SERVICE_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/help/index").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},X=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("ACTION_SUCCESS",{msg:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/feedback/add",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.msg):a(t.msg)}).catch(function(n){console.info(n),a()})},z=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_NEWSLIST_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/news/list",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},V=function(n,t){var e=n.commit;e("CLEAR_NEWSDETAIL"),e("RESET_STATUS"),function(n,t,e){D.a.get("/cfloat/news/detail",{params:{news_id:n}}).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("GET_NEWSDETAIL_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},$=function(n,t){var e,o,a,i=n.commit;i("CLEAR_NEWSDETAIL"),i("RESET_STATUS"),e=t,o=function(n){i("GET_MSGLIST_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/msg/list",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},nn=function(n,t){var e=n.commit;e("CLEAR_NEWSDETAIL"),e("RESET_STATUS"),function(n,t,e){D.a.get("/cfloat/msg/detail",{params:{id:n}}).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("GET_MSGDETAIL_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},tn=function(n){var t,e,o=n.commit;t=function(n){o("PTB_RECHARGE_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/ptb/recharge").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},en=function(n,t){var e=n.commit;!function(n,t,e){D.a.post("/cfloat/ptb/pay/post",n).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("PTB_PAYPOST_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},on=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),t&&t.page||i("CLEAR_LIST"),e=t,o=function(n){i("GET_PTBRECHARGE_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/ptb/recharge_record",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},an=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),t&&t.page||i("CLEAR_LIST"),e=t,o=function(n){i("GET_GMRECHARGE_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/gamemoney/recharge_record",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},cn=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),t&&t.page||i("CLEAR_LIST"),e=t,o=function(n){i("GET_ORDERLIST_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/order/list",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},rn=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("GET_PTBCONSUME_SUCCESS",{data:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/ptb/consume_record",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.data):a(t.msg)}).catch(function(n){console.info(n),a()})},un=function(n){var t,e,o=n.commit;t=function(n){o("GM_RECHARGE_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/gamemoney/recharge").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},sn=function(n,t){var e=n.commit;!function(n,t,e){D.a.post("/cfloat/gamemoney/pay/post",n).then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("GM_PAYPOST_SUCCESS",{data:n})},function(n){e("ACTION_FAILED",{msg:n})})},fn=function(n,t){var e,o,a,i=n.commit;i("RESET_STATUS"),e=t,o=function(n){i("SET_IDENTIFY_SUCCESS",{msg:n})},a=function(n){i("ACTION_FAILED",{msg:n})},D.a.get("/cfloat/identify/set",{params:e}).then(function(n){var t=n.data;200===t.code?o(t.msg):a(t.msg)}).catch(function(n){console.info(n),a()})},mn=function(n,t){var e,o,a=n.commit;a("RESET_STATUS"),e=function(n){a("GET_ACCOUNTLIST_SUCCESS",{data:n})},o=function(n){a("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/account/list").then(function(n){var t=n.data;200===t.code?e(t.data):o(t.msg)}).catch(function(n){console.info(n),o()})},ln=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/account/add",{nickname:n}).then(function(n){var o=n.data;200===o.code?t(o.msg):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})},dn=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/account/change",{account_id:n}).then(function(n){var o=n.data;200===o.code?t(o.msg):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})},Sn=function(n){var t,e,o=n.commit;o("RESET_STATUS"),t=function(n){o("BIND_INFO_SUCCESS",{data:n})},e=function(n){o("ACTION_FAILED",{msg:n})},D.a.post("/cfloat/bind/info").then(function(n){var o=n.data;200===o.code?t(o.data):e(o.msg)}).catch(function(n){console.info(n),e()})},An=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/sms/checkold",n).then(function(n){var o=n.data;200===o.code?t(o.msg):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})},En=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/mobile/bind",n).then(function(n){var o=n.data;200===o.code?t(o.msg):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})},gn=function(n,t){var e=n.commit;e("RESET_STATUS"),function(n,t,e){D.a.post("/cfloat/sms/send",n).then(function(n){var o=n.data;200===o.code?t(o.msg):e(o.msg)}).catch(function(n){console.info(n),e()})}(t,function(n){e("ACTION_SUCCESS",{msg:n})},function(n){e("ACTION_FAILED",{msg:n})})};i.a.use(u.a);var hn=new u.a.Store({state:{staticUrl:"//313static.huosdk.com/cfloat/",isLoading:!1,baseInfo:{},succMsg:"",failMsg:"",loginStatus:!1,regStatus:!1,testData:{},isVerify:!1,userDetail:{},hash:"",giftList:{count:0,list:[],page:0},giftDetail:{},accountList:{count:0,list:[]},msgList:{count:0,list:[],page:0},serverList:{count:0,list:[],page:0},ptbConsumeList:{count:0,list:[],page:0},ptbRechargeList:{count:0,list:[],page:0},newsList:{count:0,list:[],page:0},service:{qq:"[]",tel:"[]"}},actions:a,getters:o,mutations:_});i.a.use(d.a);var pn=new d.a({routes:[{path:"/",name:"mian",redirect:"/me",component:function(){return e.e(13).then(e.bind(null,"6+aJ"))},children:[{path:"/me",name:"me",redirect:"/me/index",component:function(){return e.e(35).then(e.bind(null,"Dnmp"))},children:[{path:"index",name:"meIndex",component:function(){return Promise.all([e.e(0),e.e(47)]).then(e.bind(null,"H3AK"))}},{path:"news",name:"news",component:function(){return Promise.all([e.e(0),e.e(31)]).then(e.bind(null,"Kz5w"))}},{path:"news/:id",name:"news-detail",component:function(){return Promise.all([e.e(0),e.e(26)]).then(e.bind(null,"205J"))}},{path:"ptbpay",name:"ptbpay",component:function(){return Promise.all([e.e(0),e.e(21)]).then(e.bind(null,"BwHq"))}},{path:"gmpay",name:"gmpay",component:function(){return Promise.all([e.e(0),e.e(36)]).then(e.bind(null,"h4aP"))}},{path:"switch",name:"switch",component:function(){return Promise.all([e.e(0),e.e(38)]).then(e.bind(null,"1zrk"))}},{path:"add",name:"add",component:function(){return Promise.all([e.e(0),e.e(43)]).then(e.bind(null,"/drE"))}},{path:"orderlist",name:"orderlist",component:function(){return Promise.all([e.e(0),e.e(23)]).then(e.bind(null,"J3bk"))}},{path:"recharge",name:"recharge",component:function(){return Promise.all([e.e(0),e.e(49)]).then(e.bind(null,"RTgU"))}},{path:"gmrecharge",name:"gmrecharge",component:function(){return Promise.all([e.e(0),e.e(33)]).then(e.bind(null,"Yd2f"))}},{path:"rechargesucc",name:"rechargesucc",component:function(){return Promise.all([e.e(0),e.e(34)]).then(e.bind(null,"MpDa"))}},{path:"rechargefail",name:"rechargefail",component:function(){return Promise.all([e.e(0),e.e(17)]).then(e.bind(null,"h69q"))}},{path:"consumption",name:"consumption",component:function(){return Promise.all([e.e(0),e.e(27)]).then(e.bind(null,"ohGy"))}},{path:"reset",name:"reset",component:function(){return Promise.all([e.e(0),e.e(16)]).then(e.bind(null,"A8pU"))}},{path:"rename",name:"rename",component:function(){return Promise.all([e.e(0),e.e(29)]).then(e.bind(null,"MZ3/"))}},{path:"security",name:"security",component:function(){return Promise.all([e.e(0),e.e(9)]).then(e.bind(null,"8wJl"))}}]},{path:"/gift",name:"gift",redirect:"/gift/index",component:function(){return e.e(48).then(e.bind(null,"r33t"))},children:[{path:"index",name:"giftIndex",component:function(){return Promise.all([e.e(0),e.e(22)]).then(e.bind(null,"Lndr"))}},{path:"detail/:id",name:"gift-detail",component:function(){return Promise.all([e.e(0),e.e(6)]).then(e.bind(null,"bAld"))}},{path:"success/:id",name:"giftSuccess",component:function(){return Promise.all([e.e(0),e.e(5)]).then(e.bind(null,"jMsC"))}},{path:"numbox",name:"numbox",component:function(){return Promise.all([e.e(0),e.e(19)]).then(e.bind(null,"6ea0"))}}]},{path:"/help",name:"help",component:function(){return Promise.all([e.e(0),e.e(3)]).then(e.bind(null,"+23j"))}},{path:"/help/:id",name:"help-detail",component:function(){return Promise.all([e.e(0),e.e(32)]).then(e.bind(null,"H3kX"))}},{path:"open",name:"open",component:function(){return Promise.all([e.e(0),e.e(42)]).then(e.bind(null,"Zx5b"))}},{path:"serve",name:"serve",component:function(){return Promise.all([e.e(0),e.e(4)]).then(e.bind(null,"FuPa"))}},{path:"/more",name:"more",redirect:"/more/index",component:function(){return e.e(37).then(e.bind(null,"DofF"))},children:[{path:"index",name:"moreIndex",component:function(){return Promise.all([e.e(0),e.e(2)]).then(e.bind(null,"YlL8"))}},{path:"like",name:"like",component:function(){return Promise.all([e.e(0),e.e(28)]).then(e.bind(null,"ddDe"))}},{path:"activity",name:"activity",component:function(){return Promise.all([e.e(0),e.e(24)]).then(e.bind(null,"d0m7"))}},{path:"activity/:id",name:"activity-detail",component:function(){return Promise.all([e.e(0),e.e(45)]).then(e.bind(null,"5eK+"))}},{path:"par",name:"par",component:function(){return Promise.all([e.e(0),e.e(8)]).then(e.bind(null,"ecvy"))}},{path:"strategy",name:"strategy",component:function(){return Promise.all([e.e(0),e.e(39)]).then(e.bind(null,"thD2"))}},{path:"strategy/:id",name:"strategy-detail",component:function(){return Promise.all([e.e(0),e.e(44)]).then(e.bind(null,"Hpgb"))}},{path:"verify",name:"verify",component:function(){return Promise.all([e.e(0),e.e(10)]).then(e.bind(null,"xsyJ"))}},{path:"feedback",name:"feedback",component:function(){return Promise.all([e.e(0),e.e(20)]).then(e.bind(null,"6mL7"))}}]}]},{path:"/login",name:"login",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(18)]).then(e.bind(null,"+Nj0"))}},{path:"/fastsign",name:"fastsign",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(12)]).then(e.bind(null,"omo0"))}},{path:"/phonesign",name:"phonesign",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(40)]).then(e.bind(null,"vd70"))}},{path:"/usersign",name:"usersign",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(41)]).then(e.bind(null,"Lglz"))}},{path:"/userverify",name:"userverify",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(1)]).then(e.bind(null,"y5im"))}},{path:"/forgetpwd",name:"forgetpwd",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(15)]).then(e.bind(null,"b4KF"))}},{path:"/forgettype",name:"forgettype",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(11)]).then(e.bind(null,"nXJH"))}},{path:"/numlist",name:"numlist",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(14)]).then(e.bind(null,"OfA7"))}},{path:"/verifynum",name:"verifynum",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(46)]).then(e.bind(null,"YQtk"))}},{path:"/verifycode",name:"verifycode",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(25)]).then(e.bind(null,"Py1C"))}},{path:"/setpwd",name:"setpwd",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(30)]).then(e.bind(null,"COUg"))}},{path:"/sercenter",name:"sercenter",meta:{requireAuth:!0},component:function(){return Promise.all([e.e(0),e.e(7)]).then(e.bind(null,"a/Fr"))}}]});pn.beforeEach(function(n,t,e){hn.commit("UPDATE_LOADING_STATUS",{isLoading:!0}),hn.commit("RESET_STATUS");var o=window.localStorage.getItem("app-float-token")||window.huo&&window.huo.getToken();n.meta.requireAuth?e():o?e():e({path:"/login",query:{redirect:n.fullPath}})}),pn.afterEach(function(n,t){hn.commit("UPDATE_LOADING_STATUS",{isLoading:!1})});var Tn=pn;e("EDgR");i.a.config.productionTip=!1,new i.a({el:"#app",router:Tn,store:hn,components:{App:l},template:"<App/>"}),i.a.prototype.routerTo=function(n){this.$router.push({path:n})},i.a.prototype.Toast=function(n,t){if(document.getElementById("new_Toast"))return!1;t=isNaN(t)?3e3:t;var e=document.createElement("div");e.id="new_Toast";var o="\n -webkit-transition: all 600ms ease;\n -webkit-transform:translate(0,0rem);\n width: 6rem;\n opacity: 0;\n color: rgb(255, 255, 255);\n text-align: center;\n border-radius: 0.06rem;\n position: fixed;\n bottom: 10%;\n left: 2.625rem;\n z-index: 999999;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 1.05rem;\n background: rgb(0, 0, 0);\n font-size: 0.333rem;\n border-radius: 0.13rem;\n ";e.style.cssText=o,e.innerHTML=n,setTimeout(function(){e.style.cssText="\n -webkit-transition: all 600ms ease;\n -webkit-transform:translate(0,-0.75rem);\n width: 6rem;\n opacity: 0.8;\n color: rgb(255, 255, 255);\n text-align: center;\n border-radius: 0.06rem;\n position: fixed;\n bottom: 10%;\n left: 2.625rem;\n z-index: 999999;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 1.05rem;\n background: rgb(0, 0, 0);\n font-size: 0.333rem;\n border-radius: 0.13rem\n "},0),document.body.appendChild(e),setTimeout(function(){e.style.cssText=o,setTimeout(function(){document.body.removeChild(e)},500)},t+600)},i.a.prototype.dateTransform=function(n,t){if(isNaN(n))return"";var e=new Date(1e3*n);t=t||"yyyy/MM/dd hh:mm";var o={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[a]:("00"+o[a]).substr((""+o[a]).length)));return t},i.a.prototype.toFixed=function(n,t){var e=n+"",o=e.indexOf(".");return o>-1&&(e=e.substring(0,o+t+1)),+e}},URce:function(n,t){},nkvQ:function(n,t){}},["NHnr"]);