"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[282],{857:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114);var n=i(47149),o=i(6803),s=i(82908);t.A={computed:{key(){return this.$route.path}},data(){return{isLogin:!1,bthText:"English",token:"",accountList:[],miningAccountList:[],isOrderKey:"",activeIndex2:"",isDropdownVisible:!1,activeIndex:"",jurisdiction:{roleKey:""},ManagementShow:!1,currencyList:[],activeItem:{value:"nexa",label:"nexa",imgUrl:(0,s.getImageUrl)("/img/nexa.png")},customerIsOnline:!1,userEmail:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0},accountList:{handler(e){},immediate:!0,deep:!0},miningAccountList:{handler(e){},immediate:!0,deep:!0},$route(e,t){"/miningAccount"!==e.path&&(this.activeIndex="")},activeItemCoin:{handler(e){this.changeMenuName($event,this.activeItem)},deep:!0}},mounted(){this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(this.activeItem));let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("userEmail");this.userEmail=JSON.parse(s),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("activeItemCoin");this.activeItem=JSON.parse(s);let a=localStorage.getItem("userEmail");this.userEmail=JSON.parse(a),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1})),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1,document.addEventListener("click",(function(){const e=document.querySelector(".dropdown"),t=document.querySelector(".arrow");try{e.classList.contains("show")&&(e.classList.remove("show"),t.classList.remove("up"))}catch(i){console.log(i)}}))},methods:{toggleDropdown(e){if(!e)return;const t=e.currentTarget,i=t.querySelector(".dropdown"),n=t.querySelector(".arrow");i&&(i.classList.toggle("show"),n?.classList.toggle("up"))},changeMenuName(e,t){if(!e)return;e.stopPropagation();const i=document.getElementById("menu1");if(!i)return;this.activeItem=t;const n=i.querySelector(".dropdown"),o=i.querySelector(".arrow");n?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t))},handelDarkMode(){},async fetchAccountGradeList(){const e=await(0,n.getAccountGradeList)();this.miningAccountList=e.data,this.$addStorageEvent(1,"miningAccountList",JSON.stringify(this.miningAccountList))},async fetchAccountList(e){const t=await(0,o.getAccountList)(e);t&&200==t.code&&(this.accountList=t.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchUserid(e){try{const t=await getUserid(e);t&&200==t.code&&(this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)))}catch(t){throw console.error("获取用户ID失败:",t),t}},async fetchSignOut(){const e=await(0,n.getLogout)();if(e&&200==e.code){await this.$store.dispatch("logout");const e=this.$i18n.locale;this.fetchUserid({email:this.userEmail}),this.$router.push(`/${e}`)}},handleDropdownClick(){this.isDropdownVisible=!0},handleCommand(e){},handleSelect(){},handelLogin(){this.isLogin=!0;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},handelRegister(){const e=this.$i18n.locale;this.$router.push(`/${e}/register`)},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){try{const t=this.$i18n.locale;if("personalCenter"===e)return void this.$router.push(`/${t}/personalCenter/personalMining`).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}));const i=`/${t}${"/"===e?"":"/"+e}`;this.$router.push(i).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t),this.$message.error(this.$t("common.navigationError"))}},handelJumpAccount(e,t,i){const n=this.$i18n.locale;let o={ma:t.account,coin:i,id:t.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(o)),this.$router.push({path:`/${n}/miningAccount`,query:{ma:t.account+i}}),this.isDropdownVisible=!1},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handelSignOut(){localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("userName"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1}}}},950:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACKCAYAAABW3IOxAAAAAXNSR0IArs4c6QAAElhJREFUeAHtnXuQHMV9x7tndvdOQkgCWZKxkITEQ5YB87AVCT9iEqgyTsXlyA42QVRcScXYzvOPkKeJLSrOy8RVxMSVBNuVqrhIxS7KJk5BKlWpQKiKX4hgwOII6CzLAk6H0Pt0e/uY6Xx+p7vT3Gl2b2e3Z2d2t7vqdzuP7l//+tvf6+75dU+PVi5kioAxZl01UDtMEG43Wu/AmOuUUYeVVqNKmVGjvX2+HAdqX6mkfqS1Pp2pwQkz1wnju+gdIACZlpTr6npU7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UEp6HkXvNZTvY4gjV0ogx6mdN6t88qRZVQ7DDxsd7mLC+R0sCpx3P06B7WvLhj3W61gbGrqpHdsVlFBfQwIdK5uNlUp4u1Lh7TiHrkqot+3olggmUzufQvr+rZ22ge5SwoYEi+Y/PmHequr1XaHSt6X9pneHBHNTO9GKy8FxSwSbtVO6zMMT6t2hCW7nC6O3stTZ+iZwbRLMTe3MVlLOfhMRLGo7ZCuOnwpuYX3gLsj2flo2K28AJSTY7NSO7AH/o6h97jgfCLRNsKj5r/FNI3My2MnHb3ah8GbI1/YLGwkIJlM7sjbr+1Fb3HG+ELBCsGiRDp0ya1QYfmT64cCoHdF7rRy3QDA3tdMKkDmJY51g0XKNHzebcXnwFIrbw6g3R+81Om5CMJna2Y18mVar3ii9u54vBFIlWLSoh0+b6+u1+u3MHNzGzMG66L3ocQzB5PuPn0dkQzb31k4UrB447hrBZrFgfOYdmqi/RwcaZ676EGRbOXtPfiMEc1M7UWDccXIEINvQ+Mn6zrHj9YfGTtTLsp3nqamAy+YR5MrkGl0Kh0ADBI4Ys/zUVPj4sdPBPQ2iuMsOAYeAQ2A+Av8Pby5Qwk3kUm8AAAAASUVORK5CYII="},1652:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.addDocument=a,t.deleteDocument=r,t.documentsList=c,t.findDataInfo=l,t.getListDataByPage=s,t.updateDocument=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/documents/getListDataByPage",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/documents/addDocument",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/documents/deleteDocument",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/documents/findCatalogueDocumentList",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/documents/findDataInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/documents/updateDocument",method:"post",data:e})}},1708:function(e,t,i){e.exports=i.p+"img/高度资源 26.2af0541e.svg"},1717:function(e,t,i){e.exports=i.p+"img/接入矿池.57f89e2c.svg"},3832:function(e,t,i){e.exports=i.p+"img/profit.adb6726b.svg"},4940:function(e,t,i){e.exports=i.p+"img/menu.5760bd15.svg"},4946:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getUserDetails=r,t.getUserLineChart=c,t.getUserList=s,t.getUserOnlineStatus=l,t.sendMail=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/user/list/info",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/user/send/text/mail/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/user/get/user/info",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/user/getMiningPowerInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/user/getMinerUserOnlineStatus",method:"post",data:e})}},6006:function(e,t,i){e.exports=i.p+"img/logointop.60501418.svg"},6803:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountList=c,t.getAddBalace=s,t.getAddMinerAccount=a,t.getBindCode=f,t.getBindGoogle=g,t.getBindInfo=p,t.getCheck=h,t.getCheckAccount=d,t.getCheckBalance=u,t.getCloseCode=y,t.getCloseStepTwo=v,t.getDelMinerAccount=r,t.getEmailIfBind=w,t.getIfBind=m,t.getMinerAccountBalance=l,t.getUpdatePwd=b,t.getUpdatePwdCode=C;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/addBalance",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/addMinerAccount",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/delMinerAccount",method:"Delete",data:e})}function c(e){return(0,o.default)({url:"pool/user/getAccountList",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/user/getMinerAccountBalance",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/user/checkAccount",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/user/checkBalance",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/user/check",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/user/ifBind",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/user/getBindInfo",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/user/bindGoogle",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/user/getBindCode",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/user/getCloseCode",method:"post",data:e})}function v(e){return(0,o.default)({url:"pool/user/closeStepTwo",method:"post",data:e})}function w(e){return(0,o.default)({url:"pool/user/emailIfBind",method:"post",data:e})}function b(e){return(0,o.default)({url:"auth/updatePwd",method:"post",data:e})}function C(e){return(0,o.default)({url:"auth/updatePwdCode",method:"post",data:e})}},8292:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114);var o=n(i(91774)),s=i(47149);t.A={computed:{key(){return this.$route.path}},components:{comAside:()=>Promise.resolve().then((()=>(0,o.default)(i(17623))))},data(){return{filters:{emailOrOrderNo:"",status:"",minAmount:null,maxAmount:null,dateRange:[]},activeTab:"all",tableData:[{index:1,email:"user@example.com",orderNo:"20230601001",type:"技术支持",machineCode:"K9-001",createTime:"2023-06-01",fault:"无法启动",status:"处理中",amount:844.01}],totalAmount:844.01,userEmail:null}},mounted(){let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e})),window.addEventListener("online",this.handleNetworkChange)},methods:{async fetchSignOut(){const e=await(0,s.getLogout)();e&&200==e.code&&await this.$store.dispatch("logout")},handelSignOut(){const e=this.$i18n.locale;this.$router.push(`/${e}/login`),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.fetchSignOut()},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handleNetworkChange(){navigator.onLine&&location.reload()}},beforeDestroy(){window.removeEventListener("online",this.handleNetworkChange)}}},8643:function(e,t,i){var n=i(91774)["default"],o=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);var s=o(i(91774)),a=i(84403),r=n(i(3574)),c=i(82908);t.A={name:"AppMain",components:{comHeard:()=>Promise.resolve().then((()=>(0,s.default)(i(13904))))},computed:{key(){return this.$route.path}},data(){return{activeName:"second",option:{...a.line},option2:{...a.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"mona",currencyPath:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",currencyList:[{value:"grs",label:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png"},{value:"mona",label:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png"},{value:"dgb_skein",label:"dgb-skein-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit",label:"dgb-qubit-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo",label:"dgb-odocrypt-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb2_odo",label:"dgb-odocrypt-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit_a10",label:"dgb-qubit-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_skein_a10",label:"dgb-skein-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo_b20",label:"dgb-odoscrypt-pool3",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"}],scrollTop:0,isLogin:!0,bthText:"English",miningAccountList:[{title:"grs",coin:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"mona",coin:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"dgb-skein-pool1",coin:"dgb_skein",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]}],activeItemCoin:{coin:"nexa",imgUrl:(0,c.getImageUrl)("/img/nexa.png")},lang:"zh"}},created(){},mounted(){this.lang=this.$i18n.locale,window.scrollTo(0,0);let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t)}))},methods:{jumpPage(){const e=this.$i18n.locale;this.$router.push(`/${e}/ServiceTerms`)},jumpPage1(){const e=this.$i18n.locale;this.$router.push(`/${e}/apiFile`)},jumpPage2(){const e=this.$i18n.locale;this.$router.push(`/${e}/rate`)},jumpPage3(e){console.log(e,1366565);const t=this.$i18n.locale;if("/AccessMiningPool"===e){const e=this.currencyList.find((e=>e.value===this.activeItemCoin.value));if(!e)return;let t=e.path.charAt(0).toUpperCase()+e.path.slice(1);console.log(t,1366565,e);this.$router.push({name:"AccessMiningPool",params:{coin:this.activeItemCoin.value,imgUrl:this.activeItemCoin.imgUrl},replace:!1})}else{let e=`/${t}/AccessMiningPool`;this.$router.push(e)}},handleCommand(e){},handleScroll(e){"/"==this.$route.path&&(this.scrollTop=e.target.scrollTop,this.scrollTop>=300?(this.$refs.head.style.backgroundColor="#FFF",this.$refs.head.style.position="fixed",this.$refs.head.style.top="0"):(this.$refs.head.style.backgroundColor="initial",this.$refs.head.style.position="tatic"))},clickCurrency(e){this.currency=e.label,this.currencyPath=e.imgUrl},handleClick(e,t){console.log(e,t)},handelPower(){this.powerDialogVisible=!0,this.$nextTick((()=>{this.inCharts()}))},handelMiner(){this.minerDialogVisible=!0,this.$nextTick((()=>{this.myChart2=r.init(document.getElementById("minerChart")),this.myChart2.setOption(this.option2)}))},handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log(`当前页: ${e}`)},inCharts(){this.myChart=r.init(document.getElementById("chart")),this.myChart.setOption(this.option)},handelLogin(){this.isLogin=!0,this.$router.push("/login")},handelRegister(){this.$router.push({path:"/register"})},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){this.$router.push({path:e})},handelLang(){const e=this.$route.path,t=this.$i18n.locale,i="zh"===t?"en":"zh";this.$i18n.locale=i,this.lang=i,this.bthText="zh"===i?"English":"简体中文";const n=e.replace(`/${t}/`,`/${i}/`);this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("路由跳转失败:",e)})),localStorage.setItem("lang",i)}}}},10673:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getApiInfo=l,t.getApiKey=s,t.getApiList=a,t.getDelApi=c,t.getUpdateAPI=r;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/getApiKey",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/getApiList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/updateAPI",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/user/delApi",method:"delete",data:e})}function l(e){return(0,o.default)({url:"pool/user/getApiInfo",method:"post",data:e})}},11427:function(e,t,i){e.exports=i.p+"img/registertop.d405fe96.svg"},11503:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBKendTicket=g,t.getDetails=h,t.getDownloadFile=u,t.getEndTicket=d,t.getPrivateTicket=c,t.getReadTicket=r,t.getReply=m,t.getResubmitTicket=a,t.getSubmitTicket=s,t.getTicketDetails=l,t.getTicketList=p;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/ticket/submitTicket",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/ticket/resubmitTicket",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/ticket/readTicket",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/ticket/getPrivateTicket",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/ticket/getTicketDetails",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/ticket/endTicket",method:"post",data:e})}function u(){return(0,o.default)({url:"pool/ticket/downloadFile",method:"get"})}function h(e){return(0,o.default)({url:"pool/ticket/bk/details",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/ticket/bk/respon",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/ticket/bk/list",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/ticket/bk/endTicket",method:"post",data:e})}},12173:function(e,t){Object.defineProperty(t,"B",{value:!0}),t.A=void 0;t.A={name:"Tooltip",props:{maxWidth:{type:Number,default:120}},data(){return{showTooltip:!1,hideTimer:null,top:0,left:0}},methods:{show(e){clearTimeout(this.hideTimer);const t=e.getBoundingClientRect(),i=t.top+window.pageYOffset,n=t.left+window.pageXOffset,o=t.width;this.showTooltip=!0,this.$nextTick((()=>{const e=this.$refs.tooltip.offsetWidth,t=this.$refs.tooltip.offsetHeight;this.top=i-t,this.left=n-(e-o)/2}))},onShow(){clearTimeout(this.hideTimer),this.showTooltip=!0},onHide(){this.hideTimer=setTimeout((()=>{this.showTooltip=!1}),100)}}}},13904:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(24597),o=i(857),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"2329c878",null),c=r.exports},16712:function(e,t,i){e.exports=i.p+"img/钱包.fbd8a674.svg"},17069:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(38450),o=i(8292),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"5b61c3ca",null),c=r.exports},17623:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(84269),o=i(99047),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"c3955b78",null),c=r.exports},20074:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(i(91774));t.A={components:{comHeard:()=>Promise.resolve().then((()=>(0,o.default)(i(13904)))),appMain:()=>Promise.resolve().then((()=>(0,o.default)(i(31606)))),MoveHead:()=>Promise.resolve().then((()=>(0,o.default)(i(34038)))),BackAdminLayout:()=>Promise.resolve().then((()=>(0,o.default)(i(17069))))},data(){return{jurisdiction:{roleKey:""}}},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))}}},21525:function(e,t,i){e.exports=i.p+"img/安全.225650c3.svg"},22016:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"chat-widget"},["offline"===e.networkStatus?t("div",{staticClass:"network-status"},[t("i",{staticClass:"el-icon-warning"}),t("span",[e._v(e._s(e.$t("chat.networkError")||"网络连接已断开"))])]):e._e(),t("div",{staticClass:"chat-icon",class:{active:e.isChatOpen},attrs:{"aria-label":e.$t("chat.openCustomerService")||"打开客服聊天",tabindex:"0"},on:{click:e.toggleChat,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggleChat.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.toggleChat.apply(null,arguments)}]}},[t("i",{staticClass:"el-icon-chat-dot-round"}),e.unreadMessages>0?t("span",{staticClass:"unread-badge"},[e._v(e._s(e.unreadMessages))]):e._e()]),t("transition",{attrs:{name:"chat-slide"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isChatOpen,expression:"isChatOpen"}],staticClass:"chat-dialog"},[t("div",{staticClass:"chat-header"},[t("div",{staticClass:"chat-title"},[e._v(e._s(e.$t("chat.title")||"在线客服"))]),t("div",{staticClass:"chat-actions"},[t("i",{staticClass:"el-icon-minus",on:{click:e.minimizeChat}}),t("i",{staticClass:"el-icon-close",on:{click:e.closeChat}})])]),t("div",{ref:"chatBody",staticClass:"chat-body"},[0===e.userType?t("div",{staticClass:"guest-notice"},[t("span",{staticClass:"guest-notice-content"},[t("i",{staticClass:"el-icon-info"}),t("span",[e._v(e._s(e.$t("chat.guestNotice")||"游客模式下聊天记录不会保存,")+" "),t("a",{staticClass:"login-link",on:{click:e.handleLoginClick}},[e._v(e._s(e.$t("chat.loginToSave")||"登录"))]),e._v(" "+e._s(e.$t("chat.guestNotice2")||"后即可保存")+" ")])])]):e._e(),"connecting"===e.connectionStatus?t("div",{staticClass:"chat-status connecting"},[t("i",{staticClass:"el-icon-loading"}),t("p",[e._v(" "+e._s(e.$t("chat.connectToCustomerService")||"正在连接客服系统...")+" ")])]):"error"===e.connectionStatus?t("div",{staticClass:"chat-status error"},[t("i",{staticClass:"el-icon-warning"}),t("p",[e._v(" "+e._s(e.connectionError||e.$t("chat.connectionFailed")||"连接失败,请稍后重试")+" ")]),t("div",{staticClass:"error-actions"},[t("button",{staticClass:"retry-button",on:{click:e.handleRetryConnect}},[e._v(" "+e._s(e.$t("chat.tryConnectingAgain")||"重试连接")+" ")]),e.showRefreshButton?t("button",{staticClass:"refresh-button",on:{click:e.refreshPage}},[e._v(" "+e._s(e.$t("chat.refreshPage")||"刷新页面")+" ")]):e._e()])]):[e.hasMoreHistory&&e.messages.length>0?t("div",{staticClass:"history-indicator",class:{"no-more":!e.hasMoreHistory},on:{click:function(t){return t.stopPropagation(),e.loadMoreHistory.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-up"}),t("span",[e._v(e._s(e.isLoadingHistory?e.$t("chat.loading")||"加载中...":e.hasMoreHistory?e.$t("chat.loadMore")||"加载更多历史消息":e.$t("chat.noMoreHistory")||"没有更多历史消息了"))])]):e._e(),0===e.messages.length&&0!==e.userType?t("div",{staticClass:"chat-empty"},[e._v(" "+e._s(e.$t("chat.welcome")||"欢迎使用在线客服,请问有什么可以帮您?")+" ")]):e._e(),e._l(e.displayMessages,(function(i,n){return t("div",{key:i.id?`msg-${i.id}`:i.isTimeDivider?`divider-${n}-${i.time}`:`sys-${n}-${Date.now()}`},[i.isTimeDivider?t("div",{staticClass:"chat-time-divider"},[e._v(" "+e._s(e.formatTimeDivider(i.time))+" ")]):i.isLoading||i.isSystemHint?t("div",{staticClass:"system-hint"},[i.isLoading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("span",[e._v(e._s(i.text))])]):t("div",{staticClass:"chat-message",class:{"chat-message-user":"user"===i.type,"chat-message-system":"system"===i.type,"chat-message-loading":i.isLoading,"chat-message-hint":i.isSystemHint,"chat-message-history":i.isHistory}},[t("div",{staticClass:"message-avatar"},["system"===i.type?t("i",{staticClass:"el-icon-service"}):t("i",{staticClass:"el-icon-user"})]),t("div",{staticClass:"message-content"},[i.isImage?t("div",{staticClass:"message-image"},[t("img",{attrs:{src:i.imageUrl,alt:e.$t("chat.picture")||"聊天图片"},on:{click:function(t){return e.previewImage(i.imageUrl)},load:function(t){return e.handleImageLoad(i)}}})]):t("div",{staticClass:"message-text",domProps:{innerHTML:e._s(e.formatMessageText(i.text))}})])])])}))]],2),t("div",{staticClass:"chat-footer"},[t("div",{staticClass:"chat-toolbar"},[t("label",{staticClass:"image-upload-label",class:{disabled:"connected"!==e.connectionStatus},attrs:{for:"imageUpload"}},[t("i",{staticClass:"el-icon-picture-outline"})]),t("input",{ref:"imageUpload",staticStyle:{display:"none"},attrs:{type:"file",id:"imageUpload",accept:"image/*",disabled:"connected"!==e.connectionStatus},on:{change:e.handleImageUpload}})]),t("div",{staticClass:"chat-input-wrapper",staticStyle:{display:"flex","align-items":"center"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.inputMessage,expression:"inputMessage"}],staticClass:"chat-input",attrs:{type:"text",maxlength:e.maxMessageLength,placeholder:e.$t("chat.inputPlaceholder")||"请输入您的问题..."},domProps:{value:e.inputMessage},on:{input:[function(t){t.target.composing||(e.inputMessage=t.target.value)},e.handleInputMessage],keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnterKey.apply(null,arguments)}}})]),t("button",{staticClass:"chat-send",on:{click:e.sendMessage}},[e._v(" "+e._s(e.$t("chat.send")||"发送")+" ")])]),e.showImagePreview?t("div",{staticClass:"image-preview-overlay",on:{click:e.closeImagePreview}},[t("div",{staticClass:"image-preview-container"},[t("img",{staticClass:"preview-image",attrs:{src:e.previewImageUrl}}),t("i",{staticClass:"el-icon-close preview-close",on:{click:e.closeImagePreview}})])]):e._e()])])],1)},t.Yp=[]},22327:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=u,t.getHistoryIncome=l,t.getHistoryOutcome=d,t.getMinerAccountInfo=a,t.getMinerAccountPower=s,t.getMinerList=r,t.getMinerPower=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getMinerAccountPower",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getMinerAccountInfo",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getMinerPower",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getHistoryIncome",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getHistoryOutcome",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getAccountPowerDistribution",method:"post",data:e})}},22345:function(e,t,i){e.exports=i.p+"img/home.2a3cb050.png"},22704:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"MoveMain"},[t("header",{staticClass:"headerMove"},[t("img",{attrs:{src:i(87596),alt:"logo"},on:{click:function(t){return e.handelJump("/")}}}),t("span",{staticStyle:{"font-size":"0.9rem"}},[e._v(e._s(e.$t(e.key)))]),t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1}},[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{attrs:{src:i(4940),alt:"menu"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuItem",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(47761),alt:"home"}}),t("span",[e._v(" "+e._s(e.$t("home.home")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/reportBlock")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(36506),alt:"reportBlock"}}),t("span",[e._v(" "+e._s(e.$t("home.reportBlock")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{name:"1"}},[t("template",{slot:"title"},[t("div",{staticClass:"menuItem2"},[t("img",{attrs:{src:i(67069),alt:"account"}}),t("span",[e._v(e._s(e.$t("home.accountCenter")))])])]),e._l(e.newMiningAccountList,(function(i){return t("div",{key:i.id,staticClass:"accountBox",on:{click:function(t){return e.handelJumpAccount(i)}}},[t("div",{staticClass:"coinBox"},[t("img",{attrs:{src:i.img,alt:"coin"}}),t("span",{staticClass:"coin"},[e._v(e._s(i.coin))])]),t("span",{staticClass:"account"},[e._v(e._s(i.account))])])}))],2)],1)],1),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/personalCenter")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(91621),alt:"personalCenter"}}),t("span",[e._v(" "+e._s(e.$t("home.personalCenter")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderRecords")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(46165),alt:"workRecord"}}),t("span",[e._v(" "+e._s(e.$t("personal.workOrderRecord")))])])]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.ManagementShow,expression:"ManagementShow"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderBackend")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(60508),alt:"Work Order Management"}}),t("span",[e._v(" "+e._s(e.$t("work.WorkOrderManagement")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(76994),alt:"sign out"}}),t("span",[e._v(" "+e._s(e.$t("user.signOut")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"langBox"},[t("el-radio",{attrs:{fill:"red",label:"zh"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("简体中文")]),t("el-radio",{attrs:{fill:"#fff",label:"en"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("English")])],1)]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuLogin"},[t("el-button",{staticClass:"lgBTH",on:{click:function(t){return e.handelJump("/login")}}},[e._v(e._s(e.$t("home.MLogin")))]),t("el-button",{staticClass:"reBTH",on:{click:function(t){return e.handelJump("/register")}}},[e._v(e._s(e.$t("home.MRegister")))])],1)])],1)],1)],1)])},t.Yp=[]},22792:function(e,t,i){e.exports=i.p+"img/404.458c248a.png"},24597:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerBox",class:{whiteBg:"/"!==e.key}},[t("div",{staticClass:"header"},[t("div",{staticClass:"logo",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(65549),alt:"logo图片"}})]),t("div",{staticClass:"topMenu"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLogin&&(e.$route.path.includes("reportBlock")||"Home"==e.$route.name),expression:"isLogin &&( $route.path.includes(`reportBlock`) || $route.name == `Home` ) "}],staticClass:"nav"},[t("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(t){return t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}},[t("img",{staticClass:"itemImg",attrs:{src:e.activeItem.imgUrl,alt:e.activeItem.label}}),t("span",{staticStyle:{"text-transform":"capitalize"}},[e._v(" "+e._s(e.activeItem.label))]),t("i",{staticClass:"arrow"}),t("div",{staticClass:"dropdown"},e._l(e.currencyList,(function(i){return t("div",{key:i.value,staticClass:"option",class:{optionActive:i.value===e.activeItem.value},on:{click:function(t){return t.stopPropagation(),e.changeMenuName(t,i)}}},[t("img",{staticClass:"dropdownCoin",attrs:{src:i.imgUrl,alt:i.label}}),t("div",{staticClass:"dropdownText"},[e._v(e._s(i.label))])])})),0)])]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"menuBox afterLoggingIn"},[t("li",{staticClass:"home",class:{active:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`},on:{click:function(t){return e.handelJump("/")}}},[e._v(" "+e._s(e.$t("home.home"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"miningAccount"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"active-text-color":"#6E3EDB",mode:"horizontal"}},[t("el-submenu",{attrs:{index:"888888"}},[t("span",{staticClass:"miningAccountTitle",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/miningAccount`)},staticStyle:{color:"#000"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("home.accountCenter")))]),e._l(e.miningAccountList,(function(i){return t("el-submenu",{key:i.coin,attrs:{index:i.coin}},[t("template",{slot:"title"},[t("img",{staticStyle:{width:"20px"},attrs:{src:i.img,alt:i.coin}}),e._v(" "+e._s(i.title))]),e._l(i.children,(function(n){return t("el-menu-item",{key:n.id,attrs:{index:n.id.toString()},nativeOn:{click:function(t){return e.handelJumpAccount(i,n,i.coin)}}},[e._v(" "+e._s(n.account))])}))],2)})),t("el-menu-item",{staticClass:"signOut",staticStyle:{"font-size":"0.9rem"},attrs:{index:"999999"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[e._v("    "+e._s(e.$t("user.signOut")))])],2)],1),t("div",{staticClass:"horizontalLine",class:{hidden:"/miningAccount"==e.$route.path}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])],1),t("li",{staticClass:"reportBlock",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)},on:{click:function(t){return e.handelJump("reportBlock")}}},[e._v(" "+e._s(e.$t("home.reportBlock"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)},on:{click:function(t){return e.handelJump("personalCenter")}}},[e._v(" "+e._s(e.$t("home.personalCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)||e.$route.path.includes(`/${e.$i18n.locale}/personalCenter/personalMining`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/workOrderRecords`)},on:{click:function(t){return e.handelJump("workOrderRecords")}}},[e._v(" "+e._s(e.$t("personal.workOrderRecord"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("workOrderRecords")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)]),t("ul",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticClass:"menuBox notLoggedIn"},[t("li",{staticClass:"login",on:{click:e.handelLogin}},[e._v(e._s(e.$t("user.login")))]),t("li",{staticClass:"register",on:{click:e.handelRegister}},[e._v(" "+e._s(e.$t("user.register"))+" ")]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},staticStyle:{"margin-left":"20px"},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)])])])])},t.Yp=[]},27034:function(e,t,i){e.exports=i.p+"img/home.4c2d8f62.png"},27409:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockInfo=l,t.getCoinInfo=s,t.getLuck=c,t.getMinerCount=r,t.getNetPower=d,t.getParam=u,t.getPoolPower=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getCoinInfo",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getPoolPower",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerCount",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getLuck",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getBlockInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getNetPower",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getParam",method:"post",data:e})}},27579:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116),i(7588),i(61701),i(18237);var n=i(47149);t.A={data(){return{radio:"en",data:[{label:"一级 1",children:[{label:"二级 1-1",children:[{label:"三级 1-1-1"}]}]},{label:"一级 2",children:[{label:"二级 2-1",children:[{label:"三级 2-1-1"}]},{label:"二级 2-2",children:[{label:"三级 2-2-1"}]}]},{label:"一级 3",children:[{label:"二级 3-1",children:[{label:"三级 3-1-1"}]},{label:"二级 3-2",children:[{label:"三级 3-2-1"}]}]}],defaultProps:{children:"children",label:"label"},currencyList:[],miningAccountList:[],newMiningAccountList:[],activeNames:"",titleList:[{path:"/",label:"home.home"},{path:"/reportBlock",label:"home.reportBlock"},{path:"/miningAccount",label:"home.accountCenter"},{path:"/readOnlyDisplay",label:"personal.readOnlyPage"},{path:"/personalCenter",label:"home.personalCenter"},{path:"/personalCenter/personalMining",label:"home.accountSettings"},{path:"/personalCenter/readOnly",label:"personal.readOnlyPage"},{path:"/personalCenter/securitySetting",label:"personal.securitySetting"},{path:"/personalCenter/personalAPI",label:"home.API"}],token:"",isLogin:!1,jurisdiction:{roleKey:""},ManagementShow:!1}},computed:{key(){let e=this.titleList.find((e=>e.path==this.$route.path));return e?e.label:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0}},mounted(){this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en",this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t);let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList));let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?(console.log(565656),this.ManagementShow=!0):this.ManagementShow=!1})),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList)),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1},methods:{handelJump(e){console.log(e,"及附件");try{const t=this.$i18n.locale,i=e.startsWith("/")?e.slice(1):e,n=""===i?`/${t}`:`/${t}/${i}`;this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t)}},toggleDropdown(){this.showDropdown=!this.showDropdown},handelRadio(e){const t=this.$i18n.locale;this.$i18n.locale=e,localStorage.setItem("lang",e);const i=this.$route.path,n=i.replace(`/${t}`,`/${e}`),o=this.$route.query;this.$router.push({path:n,query:o}).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))},selectItem(e){this.selectedItem=e,this.showDropdown=!1,this.menuItems.forEach((t=>{t.isHighlighted=t.text===e}))},handelJumpAccount(e){const t=this.$i18n.locale;let i={ma:e.account,coin:e.coin,id:e.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(i)),this.$router.push({path:`/${t}/miningAccount`,query:{ma:e.account+e.coin}})},async fetchSignOut(){const e=this.$i18n.locale,t=await(0,n.getLogout)();t&&200==t.code&&this.$router.push(`/${e}/login`)},handelSignOut(){this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1},flattenArray(e){if(console.log(e,"进来的数组"),e[0])return e.reduce(((e,t)=>e.concat(t.children.map((e=>({...e,coin:t.coin,img:t.img,title:t.title}))))),[])}}}},27596:function(e,t,i){e.exports=i.p+"img/算力.cbdd6975.svg"},29500:function(e,t,i){e.exports=i.p+"img/reincon.5da4795a.png"},31114:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.shouldShowBroadcast?t("div",{staticClass:"horizontal-broadcast-container"},[e.showTitle?t("div",{staticClass:"broadcast-header"},[e.showIcon?t("i",{staticClass:"iconfont icon-tishishuoming"}):e._e(),t("span",{staticClass:"broadcast-title"},[e._v(e._s(e.$t("home.describeTitle")))])]):e._e(),t("div",{staticClass:"horizontal-scroll-wrapper",class:{"is-hovering":e.isHovering,"full-width":!e.showTitle},attrs:{title:e.isHovering?e.$t("backendSystem.broadcastPause")||"广播已暂停,移开鼠标继续滚动":e.$t("backendSystem.broadcastResume")||"鼠标悬停可暂停滚动"},on:{mouseenter:e.stopHorizontalScroll,mouseleave:e.resumeHorizontalScroll,touchstart:e.stopHorizontalScroll,touchend:e.startHorizontalScrollDelayed}},[t("div",{ref:"horizontalScrollContent",staticClass:"horizontal-scroll-content",style:e.horizontalScrollStyle},e._l(e.broadcastListForHorizontal,(function(i,n){return t("div",{key:i.id+"-horizontal-"+n,staticClass:"horizontal-broadcast-item",on:{click:function(t){return e.handleItemClick(i)}}},[t("span",{staticClass:"horizontal-item-content"},[e._v(e._s(i.content))]),i.buttonContent&&i.buttonContent.length>0?t("div",{staticClass:"button-group"},e._l(i.buttonContent,(function(n,o){return t("span",{key:`button-${i.id}-${o}`,staticClass:"view",on:{click:function(t){return t.stopPropagation(),e.handelJump(i.buttonPath[o])}}},[e._v(" "+e._s(n||e.$t("home.view"))+" ")])})),0):e._e(),n{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},beforeDestroy(){window.removeEventListener("resize",this.updateWindowWidth)},methods:{updateWindowWidth(){console.log(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=e<1280;a.default.prototype.$isMobile=t,location.reload()}}}},46165:function(e,t,i){e.exports=i.p+"img/workRecord.5123ed47.svg"},46373:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.alerts_zh=t.alerts_en=void 0;t.alerts_zh={alerts:{Alarm:"离线警报设置",beCareful:"矿机离线时,会通过以下对应邮箱通知您。",beCareful1:" 每个账号最多添加三个邮箱。",add:"添加邮箱",addAlarmEmail:"添加告警邮箱",modifyRemarks:"修改备注",deleteRemind:"确认删除吗?",addedSuccessfully:"添加成功",modifiedSuccessfully:"修改成功",deleteSuccessfully:"删除成功",modificationReminder:"修改备注内容不能为空",acquisitionFailed:"信息获取失败,请重新进入该页面",more:"更多",alarmNotification:"离线警报",alarmMove:"警报",turnOffReminder:"暂未开放该功能,请耐心等待.."}},t.alerts_en={alerts:{Alarm:"Offline alarm settings",beCareful:"When the mining machine is offline, you will be notified through the corresponding email address below.",beCareful1:"Each account can add up to three email addresses.",add:"Add Email",addAlarmEmail:"Add alarm email",modifyRemarks:"Modify remarks",deleteRemind:"Are you sure to delete?",addedSuccessfully:"Added successfully",modifiedSuccessfully:"Modified successfully",deleteSuccessfully:"Delete successfully",modificationReminder:"The modified remarks cannot be empty",acquisitionFailed:"Information retrieval failed, please re-enter the page",more:"More",alarmNotification:"Offline Alert",alarmMove:"Alarm",turnOffReminder:"This feature has not been opened yet, please be patient and wait.."}}},46508:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=d,t.getChangeUrlInfo=f,t.getDelPage=y,t.getHistoryIncome=h,t.getHistoryOutcome=m,t.getHtmlUrl=s,t.getMinerAccountPower=l,t.getMinerList=u,t.getMinerPower=p,t.getPageInfo=r,t.getProfitInfo=c,t.getUrlInfo=g,t.getUrlList=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/read/getHtmlUrl",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/read/getUrlList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/read/getPageInfo",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/read/getProfitInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/read/getMinerAccountPower",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/read/getAccountPowerDistribution",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/read/getMinerList",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/read/getHistoryIncome",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/read/getHistoryOutcome",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/read/getMinerPower",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/read/getUrlInfo",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/read/changeUrlInfo",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/read/delPage",method:"delete",data:e})}},47149:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountGradeList=d,t.getLogin=s,t.getLoginCode=c,t.getLogout=l,t.getRegister=a,t.getRegisterCode=r,t.getResetPwd=u,t.getResetPwdCode=h,t.getUserProfile=m;var o=n(i(35720));function s(e){return(0,o.default)({url:"auth/login",method:"post",data:e})}function a(e){return(0,o.default)({url:"auth/register",method:"post",data:e})}function r(e){return(0,o.default)({url:"auth/registerCode",method:"post",data:e})}function c(e){return(0,o.default)({url:"auth/loginCode",method:"post",data:e})}function l(e){return(0,o.default)({url:"auth/logout",method:"Delete",data:e})}function d(e){return(0,o.default)({url:"pool/user/getAccountGradeList",method:"post",data:e})}function u(e){return(0,o.default)({url:"auth/resetPwd",method:"post",data:e})}function h(e){return(0,o.default)({url:"auth/resetPwdCode",method:"post",data:e})}function m(){return(0,o.default)({url:"system/user/profile",method:"get"})}},47761:function(e,t,i){e.exports=i.p+"img/homeMenu.877d301d.svg"},48370:function(e,t,i){e.exports=i.p+"img/power1.e301c95e.svg"},49967:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(18111),i(7588);var n=i(1652);t.A={name:"SplitScreenEditor",props:{value:{type:String,default:""},options:{type:Object,default:()=>({})},height:{type:[String,Number],default:500}},data(){return{localContent:"",editorMode:"split",isFullscreen:!1,wordCount:0,editorInstance:null,editorId:`editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,showUsageGuide:!1,demoEditorInstance:null,demoEditorId:`demo_editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,publishLoading:!1,documentInfo:{title:"",subTitle:"",type:0,lang:"zh"},defaultOptions:{height:this.height,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | removeformat | help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 20px; }\n li { margin: 4px 0; }\n ",language:"zh_CN",branding:!1,resize:!1,statusbar:!1,placeholder:"开始编写您的内容...",setup:e=>{this.editorInstance=e,e.on("input",(()=>{this.handleEditorChange()})),e.on("change",(()=>{this.handleEditorChange()})),e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{this.insertBulletPoint()}})}}}},computed:{mergedOptions(){return{...this.defaultOptions,...this.options,height:this.height,toolbar:this.defaultOptions.toolbar+" | bulletpoint"}},previewContent(){if(!this.localContent)return'

预览内容将在这里显示...

';let e=this.localContent;return e=e.replace(/