From e8accc178168c1a5ed870867817881fb9c254268 Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Tue, 9 Apr 2024 11:34:50 +0100 Subject: [PATCH] fix tests --- HomeUI/dist/js/index.js | 2 +- tests/unit/fluxNetworkHelper.test.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/HomeUI/dist/js/index.js b/HomeUI/dist/js/index.js index 1728765d9..0b9d277a2 100644 --- a/HomeUI/dist/js/index.js +++ b/HomeUI/dist/js/index.js @@ -1 +1 @@ -(()=>{var e={86713:(e,t,a)=>{"use strict";a.r(t)},49630:(e,t,a)=>{"use strict";a.r(t)},37307:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(20144),o=a(73507);function i(){const e=(0,n.computed)({get:()=>o.Z.state.verticalMenu.isVerticalMenuCollapsed,set:e=>{o.Z.commit("verticalMenu/UPDATE_VERTICAL_MENU_COLLAPSED",e)}}),t=(0,n.computed)({get:()=>o.Z.state.flux.xdaoOpen,set:e=>{o.Z.commit("flux/setXDAOOpen",e)}}),a=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.isRTL,set:e=>{o.Z.commit("appConfig/TOGGLE_RTL",e)}}),i=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.skin,set:e=>{o.Z.commit("appConfig/UPDATE_SKIN",e)}}),r=(0,n.computed)((()=>"bordered"===i.value?"bordered-layout":"semi-dark"===i.value?"semi-dark-layout":null)),s=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.routerTransition,set:e=>{o.Z.commit("appConfig/UPDATE_ROUTER_TRANSITION",e)}}),l=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.type,set:e=>{o.Z.commit("appConfig/UPDATE_LAYOUT_TYPE",e)}});(0,n.watch)(l,(e=>{"horizontal"===e&&"semi-dark"===i.value&&(i.value="light")}));const c=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.contentWidth,set:e=>{o.Z.commit("appConfig/UPDATE_CONTENT_WIDTH",e)}}),d=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.menu.hidden,set:e=>{o.Z.commit("appConfig/UPDATE_NAV_MENU_HIDDEN",e)}}),m=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.menu.collapsed,set:e=>{o.Z.commit("appConfig/UPDATE_MENU_COLLAPSED",e)}}),p=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.navbar.backgroundColor,set:e=>{o.Z.commit("appConfig/UPDATE_NAVBAR_CONFIG",{backgroundColor:e})}}),u=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.navbar.type,set:e=>{o.Z.commit("appConfig/UPDATE_NAVBAR_CONFIG",{type:e})}}),b=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.footer.type,set:e=>{o.Z.commit("appConfig/UPDATE_FOOTER_CONFIG",{type:e})}});return{isVerticalMenuCollapsed:e,isRTL:a,skin:i,skinClasses:r,routerTransition:s,navbarBackgroundColor:p,navbarType:u,footerType:b,layoutType:l,contentWidth:c,isNavMenuHidden:d,isNavMenuCollapsed:m,xdaoOpenProposals:t}}},82162:e=>{const t=[{name:"Games",variant:"success",icon:"gamepad"},{name:"Productivity",variant:"danger",icon:"file-alt"},{name:"Hosting",variant:"success",icon:"server"},{name:"Blockchain",variant:"success",icon:"coins"},{name:"Blockbook",variant:"success",icon:"book"},{name:"Front-end",variant:"success",icon:"desktop"},{name:"RPC Node",variant:"success",icon:"satellite-dish"},{name:"Masternode",variant:"success",icon:"wallet"}],a={name:"App",variant:"success",icon:"cog"};e.exports={categories:t,defaultCategory:a}},69699:(e,t,a)=>{"use strict";var n=a(20144),o=a(77354),i=a(48648),r=a(68793),s=a(54016),l=a(51205),c=a(33017),d=a(24019),m=a(73507),p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"h-100",class:[e.skinClasses],attrs:{id:"app"}},[t(e.layout,{tag:"component"},[t("router-view")],1),e.enableScrollToTop?t("scroll-to-top"):e._e()],1)},u=[],b=function(){var e=this,t=e._self._c;return t("div",{staticClass:"btn-scroll-to-top",class:{show:e.y>250}},[t("b-button",{directives:[{name:"ripple",rawName:"v-ripple.400",value:"rgba(255, 255, 255, 0.15)",expression:"'rgba(255, 255, 255, 0.15)'",modifiers:{400:!0}}],staticClass:"btn-icon",attrs:{variant:"primary"},on:{click:e.scrollToTop}},[t("feather-icon",{attrs:{icon:"ArrowUpIcon",size:"16"}})],1)],1)},g=[],h=a(52829),f=a(15193),x=a(20266);const v={directives:{Ripple:x.Z},components:{BButton:f.T},setup(){const{y:e}=(0,h.baj)(),t=()=>{const e=document.documentElement;e.scrollTo({top:0,behavior:"smooth"})};return{y:e,scrollToTop:t}}},k=v;var A=a(1001),y=(0,A.Z)(k,b,g,!1,null,"4d172cb1",null);const T=y.exports;var C=a(68934),P=a(41905),D=a(37307),w=a(34369);const B=a(80129),E=()=>Promise.all([a.e(6301),a.e(2755),a.e(460),a.e(7482)]).then(a.bind(a,52716)),N=()=>a.e(2791).then(a.bind(a,82791)),S={components:{LayoutVertical:E,LayoutFull:N,ScrollToTop:T},setup(){const{skin:e,skinClasses:t}=(0,D.Z)(),{enableScrollToTop:a}=C.$themeConfig.layout;"dark"===e.value&&document.body.classList.add("dark-layout"),(0,P.provideToast)({hideProgressBar:!0,closeOnClick:!1,closeButton:!1,icon:!1,timeout:3e3,transition:"Vue-Toastification__fade"}),m.Z.commit("app/UPDATE_WINDOW_WIDTH",window.innerWidth);const{width:o}=(0,h.iPe)();return(0,n.watch)(o,(e=>{m.Z.commit("app/UPDATE_WINDOW_WIDTH",e)})),{skinClasses:t,enableScrollToTop:a}},computed:{layout(){return"full"===this.$route.meta.layout?"layout-full":`layout-${this.contentLayoutType}`},contentLayoutType(){return this.$store.state.appConfig.layout.type}},beforeCreate(){const e=["primary","secondary","success","info","warning","danger","light","dark"];for(let n=0,o=e.length;n16100)){const e=+t+1;this.$store.commit("flux/setFluxPort",e)}},getZelIdLoginPhrase(){w.Z.loginPhrase().then((e=>{console.log(e),"error"===e.data.status?"MongoNetworkError"===e.data.data.name?this.errorMessage="Failed to connect to MongoDB.":JSON.stringify(e.data.data).includes("CONN")?this.getEmergencyLoginPhrase():this.errorMessage=e.data.data.message:this.loginPhrase=e.data.data})).catch((e=>{console.log(e),this.errorMessage="Error connecting to Flux Backend"}))},getEmergencyLoginPhrase(){w.Z.emergencyLoginPhrase().then((e=>{console.log(e),"error"===e.data.status?this.errorMessage=e.data.data.message:this.loginPhrase=e.data.data})).catch((e=>{console.log(e),this.errorMessage="Error connecting to Flux Backend"}))},activeLoginPhrases(){const e=localStorage.getItem("zelidauth"),t=B.parse(e);console.log(t),w.Z.activeLoginPhrases(e).then((e=>{console.log(e),e.data.status})).catch((e=>{console.log(e),console.log(e.code)}))}}},Z=S;var O=(0,A.Z)(Z,p,u,!1,null,null,null);const L=O.exports;var I=a(9101);const M={name:"FeatherIcon",functional:!0,props:{icon:{required:!0,type:[String,Object]},size:{type:String,default:"14"},badge:{type:[String,Object,Number],default:null},badgeClasses:{type:[String,Object,Array],default:"badge-primary"}},render(e,{props:t,data:a}){const n=e(I[t.icon],{props:{size:t.size},...a});if(!t.badge)return n;const o=e("span",{staticClass:"badge badge-up badge-pill",class:t.badgeClasses},[t.badge]);return e("span",{staticClass:"feather-icon position-relative"},[n,o])}},R=M;var F,z,U=(0,A.Z)(R,F,z,!1,null,null,null);const G=U.exports;var _=a(97754);a(44784);n["default"].component(G.name,G),n["default"].component("VIcon",_.Z);var V=a(9669),W=a.n(V);const j=W().create({});n["default"].prototype.$http=j;var Y=a(72433);n["default"].use(Y.ZP);var H=a(41151);n["default"].use(H["default"],{hideProgressBar:!0,closeOnClick:!1,closeButton:!1,icon:!1,timeout:3e3,transition:"Vue-Toastification__fade"}),n["default"].use(o.R,{breakpoints:["xs","sm","md","lg","xl","xxl"]}),n["default"].use(i.A6),n["default"].use(r.m$),n["default"].use(s.k),n["default"].use(l.XG7),n["default"].use(c.A7),a(86713),a(49630),n["default"].config.productionTip=!1,new n["default"]({router:d.Z,store:m.Z,render:e=>e(L)}).$mount("#app")},24019:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(20144),o=a(78345),i=a(73507),r=a(34369);const s=[{path:"/dashboard/overview",name:"dashboard-overview",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(5988)]).then(a.bind(a,35988)),meta:{pageTitle:"Overview",breadcrumb:[{text:"Dashboard"},{text:"Overview",active:!0}]}},{path:"/dashboard/resources",name:"dashboard-resources",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(5216)]).then(a.bind(a,25216)),meta:{pageTitle:"Resources",breadcrumb:[{text:"Dashboard"},{text:"Resources",active:!0}]}},{path:"/dashboard/map",name:"dashboard-map",component:()=>Promise.all([a.e(5434),a.e(6567),a.e(6301),a.e(4393),a.e(8628)]).then(a.bind(a,8628)),meta:{pageTitle:"Map",breadcrumb:[{text:"Dashboard"},{text:"Map",active:!0}]}},{path:"/dashboard/rewards",name:"dashboard-rewards",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(8755)]).then(a.bind(a,68755)),meta:{pageTitle:"Rewards",breadcrumb:[{text:"Dashboard"},{text:"Rewards",active:!0}]}},{path:"/dashboard/economics",name:"dashboard-economics",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(8755)]).then(a.bind(a,68755)),meta:{pageTitle:"Rewards",breadcrumb:[{text:"Dashboard"},{text:"Rewards",active:!0}]}},{path:"/dashboard/list",name:"dashboard-list",component:()=>a.e(6666).then(a.bind(a,46666)),meta:{pageTitle:"List",breadcrumb:[{text:"Dashboard"},{text:"List",active:!0}]}}],l=[{path:"/daemon/control/getinfo",name:"daemon-control-getinfo",component:()=>a.e(5213).then(a.bind(a,35213)),meta:{pageTitle:"Get Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Get Info",active:!0}]}},{path:"/daemon/control/help",name:"daemon-control-help",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(1966)]).then(a.bind(a,67647)),meta:{pageTitle:"Help",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Help",active:!0}]}},{path:"/daemon/control/rescanblockchain",name:"daemon-control-rescanblockchain",component:()=>a.e(6626).then(a.bind(a,86626)),meta:{pageTitle:"Rescan Blockchain",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Rescan Blockchain",active:!0}],privilege:["admin"]}},{path:"/daemon/control/reindexblockchain",name:"daemon-control-reindexblockchain",component:()=>a.e(6223).then(a.bind(a,16223)),meta:{pageTitle:"Reindex Blockchain",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Reindex Blockchain",active:!0}],privilege:["admin"]}},{path:"/daemon/control/start",name:"daemon-control-start",component:()=>a.e(3404).then(a.bind(a,43404)),meta:{pageTitle:"Start",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Start",active:!0}],privilege:["admin","fluxteam"]}},{path:"/daemon/control/stop",name:"daemon-control-stop",component:()=>a.e(1313).then(a.bind(a,91313)),meta:{pageTitle:"Stop",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Stop",active:!0}],privilege:["admin"]}},{path:"/daemon/control/restart",name:"daemon-control-restart",component:()=>a.e(9389).then(a.bind(a,39389)),meta:{pageTitle:"Restart",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Restart",active:!0}],privilege:["admin","fluxteam"]}}],c=[{path:"/daemon/fluxnode/getnodestatus",name:"daemon-fluxnode-getstatus",component:()=>a.e(1145).then(a.bind(a,81145)),meta:{pageTitle:"Node Status",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get Node Status",active:!0}]}},{path:"/daemon/fluxnode/listfluxnodes",name:"daemon-fluxnode-listfluxnodes",component:()=>Promise.all([a.e(6301),a.e(7365)]).then(a.bind(a,67365)),meta:{pageTitle:"List FluxNodes",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"List FluxNodes",active:!0}]}},{path:"/daemon/fluxnode/viewfluxnodelist",name:"daemon-fluxnode-viewfluxnodelist",component:()=>Promise.all([a.e(6301),a.e(7249)]).then(a.bind(a,77249)),meta:{pageTitle:"View Deterministic FluxNodes",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"View FluxNode List",active:!0}]}},{path:"/daemon/fluxnode/getfluxnodecount",name:"daemon-fluxnode-getfluxnodecount",component:()=>a.e(4671).then(a.bind(a,14671)),meta:{pageTitle:"Get FluxNode Count",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get FluxNode Count",active:!0}]}},{path:"/daemon/fluxnode/getstartlist",name:"daemon-fluxnode-getstartlist",component:()=>Promise.all([a.e(6301),a.e(2743)]).then(a.bind(a,32743)),meta:{pageTitle:"Get Start List",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get Start List",active:!0}]}},{path:"/daemon/fluxnode/getdoslist",name:"daemon-fluxnode-getdoslist",component:()=>Promise.all([a.e(6301),a.e(3196)]).then(a.bind(a,43196)),meta:{pageTitle:"Get DOS List",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get DOS List",active:!0}]}},{path:"/daemon/fluxnode/currentwinner",name:"daemon-fluxnode-currentwinner",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(8390)]).then(a.bind(a,81403)),meta:{pageTitle:"Current Winner",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Current Winner",active:!0}]}}],d=[{path:"/daemon/benchmarks/getbenchmarks",name:"daemon-benchmarks-getbenchmarks",component:()=>a.e(7463).then(a.bind(a,7463)),meta:{pageTitle:"Get Benchmarks",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Get Benchmarks",active:!0}]}},{path:"/daemon/benchmarks/getstatus",name:"daemon-benchmarks-getstatus",component:()=>a.e(6147).then(a.bind(a,96147)),meta:{pageTitle:"Get Bench Status",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Get Status",active:!0}]}},{path:"/daemon/benchmarks/startbenchmark",name:"daemon-benchmarks-start",component:()=>a.e(9816).then(a.bind(a,59816)),meta:{pageTitle:"Start Benchmark",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Start Benchmark",active:!0}],privilege:["admin","fluxteam"]}},{path:"/daemon/benchmarks/stopbenchmark",name:"daemon-benchmarks-stop",component:()=>a.e(9353).then(a.bind(a,39353)),meta:{pageTitle:"Stop Benchmark",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Stop Benchmark",active:!0}],privilege:["admin","fluxteam"]}}],m=[{path:"/daemon/blockchain/getblockchaininfo",name:"daemon-blockchain-getchaininfo",component:()=>a.e(1115).then(a.bind(a,61115)),meta:{pageTitle:"Get Blockchain Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Blockchain Info",active:!0}]}}],p=[{path:"/daemon/mining/getmininginfo",name:"daemon-mining-getmininginfo",component:()=>a.e(5497).then(a.bind(a,85497)),meta:{pageTitle:"Get Mining Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Mining Info",active:!0}]}}],u=[{path:"/daemon/network/getnetworkinfo",name:"daemon-network-getnetworkinfo",component:()=>a.e(4764).then(a.bind(a,84764)),meta:{pageTitle:"Get Network Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Network Info",active:!0}]}}],b=[{path:"/daemon/transaction/getrawtransaction",name:"daemon-transaction-getrawtransaction",component:()=>a.e(8910).then(a.bind(a,28910)),meta:{pageTitle:"Get Raw Transaction",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Raw Transaction",active:!0}]}}],g=[{path:"/daemon/validateaddress",name:"daemon-util-validateaddress",component:()=>a.e(237).then(a.bind(a,60237)),meta:{pageTitle:"Validate Address",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Validate Address",active:!0}]}}],h=[{path:"/daemon/getwalletinfo",name:"daemon-wallet-getwalletinfo",component:()=>a.e(5528).then(a.bind(a,95528)),meta:{pageTitle:"Get Wallet Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Wallet Info",active:!0}],privilege:["user","admin","fluxteam"]}}],f=[...l,...c,...d,...m,...p,...u,...b,...g,...h,{path:"/daemon/debug",name:"daemon-debug",component:()=>Promise.all([a.e(6301),a.e(9853)]).then(a.bind(a,59853)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}],x=[{path:"/benchmark/control/help",name:"benchmark-control-help",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(7966)]).then(a.bind(a,34917)),meta:{pageTitle:"Help",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Help",active:!0}]}},{path:"/benchmark/control/start",name:"benchmark-control-start",component:()=>a.e(5038).then(a.bind(a,45038)),meta:{pageTitle:"Start",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Start",active:!0}],privilege:["admin","fluxteam"]}},{path:"/benchmark/control/stop",name:"benchmark-control-stop",component:()=>a.e(6518).then(a.bind(a,36518)),meta:{pageTitle:"Stop",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Stop",active:!0}],privilege:["admin"]}},{path:"/benchmark/control/restart",name:"benchmark-control-restart",component:()=>a.e(7031).then(a.bind(a,7031)),meta:{pageTitle:"Restart",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Restart",active:!0}],privilege:["admin","fluxteam"]}}],v=[{path:"/benchmark/fluxnode/getbenchmarks",name:"benchmark-fluxnode-getbenchmarks",component:()=>a.e(1573).then(a.bind(a,1573)),meta:{pageTitle:"Get Benchmarks",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"FluxNode"},{text:"Get Benchmarks",active:!0}]}},{path:"/benchmark/fluxnode/getinfo",name:"benchmark-fluxnode-getinfo",component:()=>a.e(6262).then(a.bind(a,16262)),meta:{pageTitle:"Get Info",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"FluxNode"},{text:"Get Info",active:!0}]}}],k=[{path:"/benchmark/benchmarks/getstatus",name:"benchmark-benchmarks-getstatus",component:()=>a.e(9875).then(a.bind(a,59875)),meta:{pageTitle:"Get Status",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Get Status",active:!0}]}},{path:"/benchmark/benchmarks/restartbenchmarks",name:"benchmark-benchmarks-restartbenchmarks",component:()=>a.e(3678).then(a.bind(a,63678)),meta:{pageTitle:"Restart Node Benchmarks",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Restart Node Benchmarks",active:!0}],privilege:["admin","fluxteam"]}},{path:"/benchmark/benchmarks/signtransaction",name:"benchmark-benchmarks-signtransaction",component:()=>a.e(62).then(a.bind(a,20062)),meta:{pageTitle:"Sign FluxNode Transaction",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Sign Transaction",active:!0}],privilege:["admin"]}}],A=[...x,...v,...k,{path:"/benchmark/debug",name:"benchmark-debug",component:()=>Promise.all([a.e(6301),a.e(7550)]).then(a.bind(a,37550)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}],y=[{path:"/flux/nodestatus",name:"flux-nodestatus",component:()=>a.e(5624).then(a.bind(a,35624)),meta:{pageTitle:"Node Status",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Node Status",active:!0}]}},{path:"/flux/fluxnetwork",name:"flux-fluxnetwork",component:()=>a.e(3904).then(a.bind(a,63904)),meta:{pageTitle:"Flux Network",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Flux Network",active:!0}]}},{path:"/flux/debug",name:"flux-debug",component:()=>Promise.all([a.e(6301),a.e(76)]).then(a.bind(a,50076)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}];var T=a(82162);const C=[{path:"/apps/myapps",name:"apps-myapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(9961)]).then(a.bind(a,53937)),meta:{pageTitle:"Applications",breadcrumb:[{text:"Applications"},{text:"Management",active:!0}]}},{path:"/apps/globalapps",name:"apps-globalapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(816)]).then(a.bind(a,43392)),meta:{pageTitle:"Applications",breadcrumb:[{text:"Applications"},{text:"Global Apps",active:!0}]}},{path:"/apps/registerapp/:appspecs?",name:"apps-registerapp",component:()=>Promise.all([a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(2755),a.e(5358),a.e(7135),a.e(2581)]).then(a.bind(a,60004)),meta:{pageTitle:"Register New App",breadcrumb:[{text:"Applications"},{text:"Register New App",active:!0}]}},{path:"/apps/marketplace",name:"apps-marketplace",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application"}},{path:"/apps/marketplace/:filter",name:"apps-marketplace-filter",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application",navActiveLink:"apps-marketplace"},beforeEnter(e,t,a){const n=T.categories.map((e=>e.name.toLowerCase()));n.includes(e.params.filter)?a():a({name:"error-404"})}},{path:"https://titan.runonflux.io",name:"apps-marketplace-sharednodes",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application",navActiveLink:"apps-marketplace"}}],P=[{path:"/apps/localapps",name:"apps-localapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(321)]).then(a.bind(a,88190)),meta:{pageTitle:"Local Apps",breadcrumb:[{text:"Administration"},{text:"Local Apps",active:!0}]}},{path:"/fluxadmin/loggedsessions",name:"fluxadmin-loggedsessions",component:()=>a.e(8904).then(a.bind(a,48904)),meta:{pageTitle:"Logged Sessions",breadcrumb:[{text:"Administration"},{text:"Logged Sessions",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/manageflux",name:"fluxadmin-manageflux",component:()=>a.e(6475).then(a.bind(a,36475)),meta:{pageTitle:"Manage Flux",breadcrumb:[{text:"Administration"},{text:"Manage Flux",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/managedaemon",name:"fluxadmin-managedaemon",component:()=>a.e(6481).then(a.bind(a,56481)),meta:{pageTitle:"Manage Daemon",breadcrumb:[{text:"Administration"},{text:"Manage Daemon",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/managebenchmark",name:"fluxadmin-managebenchmark",component:()=>a.e(1994).then(a.bind(a,71994)),meta:{pageTitle:"Manage Benchmark",breadcrumb:[{text:"Administration"},{text:"Manage Benchmark",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/manageusers",name:"fluxadmin-manageusers",component:()=>a.e(8478).then(a.bind(a,38478)),meta:{pageTitle:"Manage Users",breadcrumb:[{text:"Administration"},{text:"Manage Users",active:!0}],privilege:["admin","fluxteam"]}},{path:"/apps/fluxsharestorage",name:"apps-fluxsharestorage",component:()=>Promise.all([a.e(6301),a.e(1548)]).then(a.bind(a,61548)),meta:{pageTitle:"My FluxShare Storage",breadcrumb:[{text:"Administration"},{text:"My FluxShare Storage",active:!0}],privilege:["admin"]}}],D=[{path:"/xdao-app",name:"xdao-app",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application"}},{path:"/xdao-app/:filter",name:"xdao-app-filter",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application",navActiveLink:"xdao-app"},beforeEnter(e,t,a){["open","passed","unpaid","rejected"].includes(e.params.filter)?a():a({name:"error-404"})}},{path:"/xdao-app/tag/:tag",name:"xdao-app-tag",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application",navActiveLink:"xdao-app"},beforeEnter(e,t,a){["team","low","medium","high","update"].includes(e.params.tag)?a():a({name:"error-404"})}}],w=a(80129);n["default"].use(o.ZP);const B=new o.ZP({mode:"history",base:"/",scrollBehavior(){return{x:0,y:0}},routes:[{path:"/",name:"home",component:()=>Promise.all([a.e(601),a.e(4884),a.e(1601),a.e(6301),a.e(2755),a.e(5358),a.e(7672)]).then(a.bind(a,233)),meta:{pageTitle:"Home",breadcrumb:[{text:"Home",active:!0}]}},{path:"/explorer",name:"explorer",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(3155)]).then(a.bind(a,1941)),meta:{pageTitle:"Explorer",breadcrumb:[{text:"Administration"},{text:"Explorer",active:!0}]}},...s,...f,...A,...y,...C,...P,...D,{path:"/successcheckout",name:"successcheckout",component:()=>a.e(2295).then(a.bind(a,42295)),meta:{layout:"full"}},{path:"/error-404",name:"error-404",component:()=>a.e(4661).then(a.bind(a,84661)),meta:{layout:"full"}},{path:"*",redirect:"error-404"}]});B.beforeEach((async(e,t,a)=>{const n=localStorage.getItem("zelidauth"),o=w.parse(n);if(i.Z.commit("flux/setPrivilege","none"),o&&o.zelid&&o.signature&&o.loginPhrase)try{const e=await r.Z.checkUserLogged(o.zelid,o.signature,o.loginPhrase),t=e.data.data.message;i.Z.commit("flux/setPrivilege",t),"none"===t&&localStorage.removeItem("zelidauth")}catch(s){console.log(s)}e.meta&&e.meta.privilege?e.meta.privilege.some((e=>e===i.Z.state.flux.privilege))?a():a("/"):a()})),B.afterEach((()=>{const e=document.getElementById("loading-bg");e&&(e.style.display="none")}));const E=B},80914:(e,t,a)=>{"use strict";a.d(t,{S:()=>m,Z:()=>p});var n=a(9669),o=a.n(n);const i=a(58971),{protocol:r,hostname:s,port:l}=window.location;let c="";c+=r,c+="//";const d=/[A-Za-z]/g;if(s.split("-")[4]){const e=s.split("-"),t=e[4].split("."),a=+t[0]+1;t[0]=a.toString(),t[2]="api",e[4]="",c+=e.join("-"),c+=t.join(".")}else if(s.match(d)){const e=s.split(".");e[0]="api",c+=e.join(".")}else c+=s,c+=":",c+=+l+1;const m=o().CancelToken.source(),p=()=>o().create({baseURL:i.get("backendURL")||c})},34369:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(80914);const o=a(80129),i={loginPhrase(){return(0,n.Z)().get("/id/loginphrase")},emergencyLoginPhrase(){return(0,n.Z)().get("/id/emergencyphrase")},verifyLogin(e){return(0,n.Z)().post("/id/verifylogin",o.stringify(e))},loggedSessions(e){return(0,n.Z)().get(`/id/loggedsessions?timestamp=${Date.now()}`,{headers:{zelidauth:e}})},loggedUsers(e){return(0,n.Z)().get(`/id/loggedusers?timestamp=${Date.now()}`,{headers:{zelidauth:e}})},activeLoginPhrases(e){return(0,n.Z)().get("/id/activeloginphrases",{headers:{zelidauth:e}})},logoutCurrentSession(e){return(0,n.Z)().get("/id/logoutcurrentsession",{headers:{zelidauth:e}})},logoutSpecificSession(e,t){const a={loginPhrase:t},i={headers:{zelidauth:e}};return(0,n.Z)().post("/id/logoutspecificsession",o.stringify(a),i)},logoutAllSessions(e){return(0,n.Z)().get("/id/logoutallsessions",{headers:{zelidauth:e}})},logoutAllUsers(e){return(0,n.Z)().get("/id/logoutallusers",{headers:{zelidauth:e}})},checkUserLogged(e,t,a){const i={zelid:e,signature:t,loginPhrase:a};return(0,n.Z)().post("/id/checkprivilege",o.stringify(i))}}},73507:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(20144),o=a(20629),i=a(68934);const r={namespaced:!0,state:{windowWidth:0,shallShowOverlay:!1},getters:{currentBreakPoint:e=>{const{windowWidth:t}=e;return t>=i.n.xl?"xl":t>=i.n.lg?"lg":t>=i.n.md?"md":t>=i.n.sm?"sm":"xs"}},mutations:{UPDATE_WINDOW_WIDTH(e,t){e.windowWidth=t},TOGGLE_OVERLAY(e,t){e.shallShowOverlay=void 0!==t?t:!e.shallShowOverlay}},actions:{}},s={namespaced:!0,state:{layout:{isRTL:i.$themeConfig.layout.isRTL,skin:localStorage.getItem("vuexy-skin")||i.$themeConfig.layout.skin,routerTransition:i.$themeConfig.layout.routerTransition,type:i.$themeConfig.layout.type,contentWidth:i.$themeConfig.layout.contentWidth,menu:{hidden:i.$themeConfig.layout.menu.hidden,collapsed:"true"===localStorage.getItem("menu-itemsCollapsed")||i.$themeConfig.layout.menu.itemsCollapsed},navbar:{type:i.$themeConfig.layout.navbar.type,backgroundColor:i.$themeConfig.layout.navbar.backgroundColor},footer:{type:i.$themeConfig.layout.footer.type}}},getters:{},mutations:{TOGGLE_RTL(e){e.layout.isRTL=!e.layout.isRTL,document.documentElement.setAttribute("dir",e.layout.isRTL?"rtl":"ltr")},UPDATE_SKIN(e,t){e.layout.skin=t,localStorage.setItem("vuexy-skin",t),"dark"===t?document.body.classList.add("dark-layout"):document.body.className.match("dark-layout")&&document.body.classList.remove("dark-layout")},UPDATE_ROUTER_TRANSITION(e,t){e.layout.routerTransition=t},UPDATE_LAYOUT_TYPE(e,t){e.layout.type=t},UPDATE_CONTENT_WIDTH(e,t){e.layout.contentWidth=t},UPDATE_NAV_MENU_HIDDEN(e,t){e.layout.menu.hidden=t},UPDATE_NAVBAR_CONFIG(e,t){Object.assign(e.layout.navbar,t)},UPDATE_FOOTER_CONFIG(e,t){Object.assign(e.layout.footer,t)},UPDATE_MENU_COLLAPSED(e,t){e.layout.menu.collapsed=t,localStorage.setItem("menu-itemsCollapsed",t)}},actions:{}},l={namespaced:!0,state:{isVerticalMenuCollapsed:"true"===localStorage.getItem("menu-isCollapsed")||i.$themeConfig.layout.menu.isCollapsed},getters:{},mutations:{UPDATE_VERTICAL_MENU_COLLAPSED(e,t){e.isVerticalMenuCollapsed=t,localStorage.setItem("menu-isCollapsed",t)}},actions:{}};var c=a(90325),d=a.n(c);const m={namespaced:!0,state:{userconfig:{zelid:"",externalip:""},config:{apiPort:d().server.apiport,fluxTeamZelId:d().fluxTeamZelId},privilege:"none",zelid:"",fluxVersion:"",xdaoOpen:0},getters:{xdaoOpen(e){return e.xdaoOpen}},mutations:{setPrivilege(e,t){e.privilege=t},setZelid(e,t){e.zelid=t},setFluxVersion(e,t){e.fluxVersion=t},setUserZelid(e,t){e.userconfig.zelid=t},setUserIp(e,t){e.userconfig.externalip=t},setFluxPort(e,t){e.config.apiPort=t},setXDAOOpen(e,t){e.xdaoOpen=t}},actions:{}};n["default"].use(o.ZP);const p=new o.ZP.Store({modules:{app:r,appConfig:s,verticalMenu:l,flux:m},strict:{NODE_ENV:"production",BASE_URL:"/"}.DEV})},68934:(e,t,a)=>{"use strict";a.d(t,{$themeConfig:()=>i,j:()=>n,n:()=>o});const n={},o={},i={app:{appName:"FluxOS",appLogoImageDark:a(98927),appLogoImage:a(62606)},layout:{isRTL:!1,skin:"dark",routerTransition:"zoom-fade",type:"vertical",contentWidth:"full",menu:{hidden:!1,isCollapsed:!1,itemsCollapsed:!0},navbar:{type:"sticky",backgroundColor:""},footer:{type:"static"},customizer:!0,enableScrollToTop:!0}}},90325:(e,t,a)=>{let n=a(65796);const o=n.initial.development||!1;e.exports={development:o,loglevel:"debug",server:{allowedPorts:[16127,16137,16147,16157,16167,16177,16187,16197],apiport:16127},database:{url:"127.0.0.1",port:27017,local:{database:"zelfluxlocal",collections:{loggedUsers:"loggedusers",activeLoginPhrases:"activeloginphrases",activeSignatures:"activesignatures"}},daemon:{database:"zelcashdata",collections:{scannedHeight:"scannedheight",utxoIndex:"utxoindex",addressTransactionIndex:"addresstransactionindex",fluxTransactions:"zelnodetransactions",appsHashes:"zelappshashes",coinbaseFusionIndex:"coinbasefusionindex"}},appslocal:{database:"localzelapps",collections:{appsInformation:"zelappsinformation"}},appsglobal:{database:"globalzelapps",collections:{appsMessages:"zelappsmessages",appsInformation:"zelappsinformation",appsTemporaryMessages:"zelappstemporarymessages",appsLocations:"zelappslocation"}},chainparams:{database:"chainparams",collections:{chainMessages:"chainmessages"}},fluxshare:{database:"zelshare",collections:{shared:"shared"}}},benchmark:{port:16225,rpcport:16224,porttestnet:26225,rpcporttestnet:26224},daemon:{chainValidHeight:1062e3,port:16125,rpcport:16124,porttestnet:26125,rpcporttestnet:26124},minimumFluxBenchAllowedVersion:"3.9.0",minimumFluxOSAllowedVersion:"4.20.0",fluxTeamZelId:"1hjy4bCYBJr4mny4zCE85J94RXa8W6q37",deterministicNodesStart:558e3,syncthingVersionCheckStart:1630040,fluxapps:{price:[{height:-1,cpu:3,ram:1,hdd:.5,minPrice:1,port:2,scope:6,staticip:3},{height:983e3,cpu:.3,ram:.1,hdd:.05,minPrice:.1,port:2,scope:6,staticip:3},{height:1004e3,cpu:.06,ram:.02,hdd:.01,minPrice:.01,port:2,scope:6,staticip:3},{height:1288e3,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:2,scope:6,staticip:3},{height:1594832,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:1.5,scope:6,staticip:3},{height:1597156,cpu:.03,ram:.01,hdd:.004,minPrice:.01,port:.4,scope:.8,staticip:.4}],fluxUSDRate:1.14,usdprice:{height:-1,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:2,scope:4,staticip:2,fluxmultiplier:.9,multiplier:1,minUSDPrice:.5},appSpecsEnforcementHeights:{1:0,2:0,3:983e3,4:1004e3,5:1142e3,6:13e5,7:o?139e4:142e4},address:"t1LUs6quf7TB2zVZmexqPQdnqmrFMGZGjV6",addressMultisig:"t3aGJvdtd8NR6GrnqnRuVEzH6MbrXuJFLUX",addressDevelopment:"t1Mzja9iJcEYeW5B4m4s1tJG8M42odFZ16A",epochstart:694e3,publicepochstart:705e3,portMin:31e3,portMax:39999,portBlockheightChange:o?139e4:142e4,portMinNew:1,portMaxNew:65535,bannedPorts:["16100-16299","26100-26299","30000-30099",8384,27017,22,23,25,3389,5900,5800,161,512,513,5901,3388,4444,123,53],enterprisePorts:["0-1023",8080,8081,8443,25565,6667],upnpBannedPorts:[],maxImageSize:2e9,minimumInstances:3,maximumInstances:100,minOutgoing:8,minUniqueIpsOutgoing:7,minIncoming:4,minUniqueIpsIncoming:3,minUpTime:1800,installation:{probability:100,delay:120},removal:{probability:25,delay:300},redeploy:{probability:2,delay:30,composedDelay:5},blocksLasting:22e3,minBlocksAllowance:5e3,newMinBlocksAllowance:100,newMinBlocksAllowanceBlock:1630040,maxBlocksAllowance:264e3,blocksAllowanceInterval:1e3,removeBlocksAllowanceIntervalBlock:1625e3,ownerAppAllowance:1e3,temporaryAppAllowance:200,expireFluxAppsPeriod:100,updateFluxAppsPeriod:9,removeFluxAppsPeriod:11,reconstructAppMessagesHashPeriod:3600,benchUpnpPeriod:6480,hddFileSystemMinimum:10,defaultSwap:2},lockedSystemResources:{cpu:10,ram:2e3,hdd:40,extrahdd:20},fluxSpecifics:{cpu:{cumulus:40,nimbus:80,stratus:160},ram:{cumulus:7e3,nimbus:3e4,stratus:61e3},hdd:{cumulus:220,nimbus:440,stratus:880},collateral:{cumulusold:1e4,nimbusold:25e3,stratusold:1e5,cumulus:1e3,nimbus:12500,stratus:4e4}},syncthing:{ip:"127.0.0.1",port:8384},enterprisePublicKeys:["045bd4f81d7bda582141793463edb58e0f3228a873bd6b6680b78586db2969f51dfeda672eae65e64ca814316f77557012d02c73db7876764f5eddb6b6d9d02b5b","042ebcb3a94fe66b9ded6e456871346d6984502bbadf14ed07644e0eb91f8cc0b1f07632c428e1e6793f372d9c303d680de80ae0499d51095676cabf68599e9591","040a0f94fdbd670a4514a7366e8b5f7fbfb264c6ca6ea7d3f37147410b62a50525d1ed1ac83dac029de9203b9cabcf18a01b82e499ba36ea51594fd799999b2a26","04092edca3ed2d2b744a1d93e504568e9d861f38232023835202c155afa9f74e3779c926745a4157a7897ca6dca30aa78aa26e4ee11101ce20db9fc79b686de5f0","045964031bb8818521b99f16d2614f1bc8a9968184c9c38dc09cf95b744dae0f603ff3bbecc7845d952901ebabeb343cdcde3c4325274901768dfb102b9a34f5d6","0459f5c058481d557fb63580bfbf21f3791a2f3a62a62c99b435fd8db1d59e21353bdae35cfe00adaf7c4f2f0d400afc698e9c58ee6a3894c20706b3db7da83750","040ecac42ff4468fa8ae094e125fb8ae67c1a588e7b218ac0a9d270bba882c19db656b7b5d99b1af0fe96c34475545088a5bd87efb9a771174bcdd7fb499dd7ca3","04a52af6e9688fcb9d47096f8a15db67131f9b0bbfb50c28fd22028d9fba18f4e9bd3293b43ed64634dbba11688b4e37f1f8e65629b6a204df352d3ecfb174b9f5","04ce029f9d17da47809cbde46e0ea2eace185f79f98e5718cb4ddc3d84bfd742cd3e3951388fcd2771238ab323fe22d53c3dced2a30326ead0447b10f7db0a829b","04dbbf2ba07d28b0010f4faa0537d963b3481b5d8e7ec0de29f311264a4ab074d4d579aca1c2aa3eb31e96f439a6d6bbf72393584049923f342ed4762f13fe7be4","043c4fe1606c543ca28f107245166321fae026300747a608db94deecbcd2d945f86b29c52a33416464e7823a6c2e3e45c26733f6378be973959cbf9ee4bff79e66","04a898a0bc768ad0b8456b4da7c1e653a715477926fefb47ef20d8bd841854ddf4e1f59c1c3d55f0088eaca53b850e6ab03d0bd00d0b5a70d17ffbc0554b6188d5","0455a20efde6a0685fa15b020e694674170376bc7c23d203e96fb927717db38011b87c36b2f81c5cf68123c5567abf2b29788231966ea4c43c4f5cb759e4c5cdbb","04c765d054bcded999c404145c7396725df81973fe803b3da5e9455173410743f43e20294e17bb41adff8b4ff1ab5540b8bcd98521b438840b6a38e904eb0b247f","03cf1d8b708ca7f5979accb4d0dba35a90391e3dfc4422cf12670c929bb58d16ac","03e29783936a36b396c28706494dbfd35f3d087f2addeb3df32e451f71bf9a53f3"]}},65796:e=>{e.exports={initial:{ipaddress:"94.16.104.218",zelid:"1K6nyw2VjV6jEN1f1CkbKn9htWnYkQabbR",kadena:"kadena:k:b3d922d1a57793651a1e0d951ef1671a10833e170810d3520388628cdc082fce?chainid=0",testnet:!1,development:!1,apiport:NaN,pgpPrivateKey:"-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nxVgEZHmg8RYJKwYBBAHaRw8BAQdAvezm7p0lvhM4yOpOSre0cB9W7LCVQ/dM\nzISJD+qJNM8AAP9aHyinNqZkJt6F4siUloUVJt6rOgGCn0e/D3icC2Yisg73\nzXQzMWE5ZjY0ZDNmYzRlZmFlZTQzNzYxM2UzN2NiMmYxZDYzYjRjOTA5N2U5\nZDhlZDhjODFmOTkzNzllM2RkNDY0OjAgPDFLNm55dzJWalY2akVOMWYxQ2ti\nS245aHRXbllrUWFiYlJAcnVub25mbHV4LmlvPsKMBBAWCgA+BYJkeaDxBAsJ\nBwgJkLG9++fl7XbxAxUICgQWAAIBAhkBApsDAh4BFiEEtOdwyqWbs8NNu6s0\nsb375+XtdvEAAEnoAQD2BWD7do+fMVeBbV82fIOhz2qdnDaYAprrihDz6vwb\nTwEAnPMIC4p9iaptWru9Qa2uu3rJsnNmKoiEl1wfFQe+BwfHXQRkeaDxEgor\nBgEEAZdVAQUBAQdA8E0WJLyldJfrFik2vBRQe6kaukdzzTEn7pdoxsd98RUD\nAQgHAAD/ShBVjfSyN5gHdY7AuJaAfqqERyTSkc+hCcSc07cY6zgRYMJ4BBgW\nCAAqBYJkeaDxCZCxvfvn5e128QKbDBYhBLTncMqlm7PDTburNLG9++fl7Xbx\nAADU2QD/TGxJcV7wrgHSJtXxl7ySaYKS/SFgIhF2uQzeS3CwIoYBANyqyX+C\nda2lr4gzAcmnyJGGAK9U60WK4Ppw50lxPP8G\n=A9AK\n-----END PGP PRIVATE KEY BLOCK-----\n",pgpPublicKey:"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxjMEZHmg8RYJKwYBBAHaRw8BAQdAvezm7p0lvhM4yOpOSre0cB9W7LCVQ/dM\nzISJD+qJNM/NdDMxYTlmNjRkM2ZjNGVmYWVlNDM3NjEzZTM3Y2IyZjFkNjNi\nNGM5MDk3ZTlkOGVkOGM4MWY5OTM3OWUzZGQ0NjQ6MCA8MUs2bnl3MlZqVjZq\nRU4xZjFDa2JLbjlodFduWWtRYWJiUkBydW5vbmZsdXguaW8+wowEEBYKAD4F\ngmR5oPEECwkHCAmQsb375+XtdvEDFQgKBBYAAgECGQECmwMCHgEWIQS053DK\npZuzw027qzSxvfvn5e128QAASegBAPYFYPt2j58xV4FtXzZ8g6HPap2cNpgC\nmuuKEPPq/BtPAQCc8wgLin2Jqm1au71Bra67esmyc2YqiISXXB8VB74HB844\nBGR5oPESCisGAQQBl1UBBQEBB0DwTRYkvKV0l+sWKTa8FFB7qRq6R3PNMSfu\nl2jGx33xFQMBCAfCeAQYFggAKgWCZHmg8QmQsb375+XtdvECmwwWIQS053DK\npZuzw027qzSxvfvn5e128QAA1NkA/0xsSXFe8K4B0ibV8Ze8kmmCkv0hYCIR\ndrkM3ktwsCKGAQDcqsl/gnWtpa+IMwHJp8iRhgCvVOtFiuD6cOdJcTz/Bg==\n=V9QD\n-----END PGP PUBLIC KEY BLOCK-----\n"}}},98927:(e,t,a)=>{"use strict";e.exports=a.p+"img/logo.svg"},62606:(e,t,a)=>{"use strict";e.exports=a.p+"img/logo_light.svg"},24654:()=>{}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.m=e,(()=>{a.amdD=function(){throw new Error("define cannot be used indirect")}})(),(()=>{var e=[];a.O=(t,n,o,i)=>{if(!n){var r=1/0;for(d=0;d=i)&&Object.keys(a.O).every((e=>a.O[e](n[l])))?n.splice(l--,1):(s=!1,i0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[n,o,i]}})(),(()=>{a.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return a.d(t,{a:t}),t}})(),(()=>{a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[]))})(),(()=>{a.u=e=>"js/"+({601:"walletconnect",1601:"stablelib",1973:"xterm",2137:"vueJsonViewer",4884:"metamask",5434:"apexcharts",5997:"clipboard",6567:"leaflet",8749:"openpgp"}[e]||e)+".js"})(),(()=>{a.miniCssF=e=>"css/"+e+".css"})(),(()=>{a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="flux:";a.l=(n,o,i,r)=>{if(e[n])e[n].push(o);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d{s.onerror=s.onload=null,clearTimeout(u);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(a))),t)return t(a)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),(()=>{a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{a.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,a,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var r=a=>{if(i.onerror=i.onload=null,"load"===a.type)n();else{var r=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=r,i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var a=document.getElementsByTagName("link"),n=0;nnew Promise(((o,i)=>{var r=a.miniCssF(n),s=a.p+r;if(t(r,s))return o();e(n,s,null,o,i)})),o={4826:0};a.f.miniCss=(e,t)=>{var a={62:1,76:1,237:1,321:1,816:1,1115:1,1145:1,1313:1,1548:1,1573:1,1966:1,1994:1,2295:1,2581:1,2743:1,3155:1,3196:1,3404:1,3678:1,3904:1,4661:1,4671:1,4764:1,5038:1,5213:1,5216:1,5497:1,5528:1,5624:1,5988:1,6147:1,6223:1,6262:1,6475:1,6481:1,6518:1,6626:1,7031:1,7249:1,7365:1,7463:1,7482:1,7550:1,7672:1,7966:1,8390:1,8478:1,8628:1,8755:1,8904:1,8910:1,8996:1,9126:1,9353:1,9389:1,9816:1,9853:1,9875:1,9961:1};o[e]?t.push(o[e]):0!==o[e]&&a[e]&&t.push(o[e]=n(e).then((()=>{o[e]=0}),(t=>{throw delete o[e],t})))}}})(),(()=>{var e={4826:0};a.f.j=(t,n)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise(((a,n)=>o=e[t]=[a,n]));n.push(o[2]=i);var r=a.p+a.u(t),s=new Error,l=n=>{if(a.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",s.name="ChunkLoadError",s.type=i,s.request=r,o[1](s)}};a.l(r,l,"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[r,s,l]=n,c=0;if(r.some((t=>0!==e[t]))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);if(l)var d=l(a)}for(t&&t(n);ca(69699)));n=a.O(n)})(); \ No newline at end of file +(()=>{var e={86713:(e,t,a)=>{"use strict";a.r(t)},49630:(e,t,a)=>{"use strict";a.r(t)},37307:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(20144),o=a(73507);function i(){const e=(0,n.computed)({get:()=>o.Z.state.verticalMenu.isVerticalMenuCollapsed,set:e=>{o.Z.commit("verticalMenu/UPDATE_VERTICAL_MENU_COLLAPSED",e)}}),t=(0,n.computed)({get:()=>o.Z.state.flux.xdaoOpen,set:e=>{o.Z.commit("flux/setXDAOOpen",e)}}),a=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.isRTL,set:e=>{o.Z.commit("appConfig/TOGGLE_RTL",e)}}),i=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.skin,set:e=>{o.Z.commit("appConfig/UPDATE_SKIN",e)}}),r=(0,n.computed)((()=>"bordered"===i.value?"bordered-layout":"semi-dark"===i.value?"semi-dark-layout":null)),s=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.routerTransition,set:e=>{o.Z.commit("appConfig/UPDATE_ROUTER_TRANSITION",e)}}),l=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.type,set:e=>{o.Z.commit("appConfig/UPDATE_LAYOUT_TYPE",e)}});(0,n.watch)(l,(e=>{"horizontal"===e&&"semi-dark"===i.value&&(i.value="light")}));const c=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.contentWidth,set:e=>{o.Z.commit("appConfig/UPDATE_CONTENT_WIDTH",e)}}),d=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.menu.hidden,set:e=>{o.Z.commit("appConfig/UPDATE_NAV_MENU_HIDDEN",e)}}),m=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.menu.collapsed,set:e=>{o.Z.commit("appConfig/UPDATE_MENU_COLLAPSED",e)}}),p=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.navbar.backgroundColor,set:e=>{o.Z.commit("appConfig/UPDATE_NAVBAR_CONFIG",{backgroundColor:e})}}),u=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.navbar.type,set:e=>{o.Z.commit("appConfig/UPDATE_NAVBAR_CONFIG",{type:e})}}),b=(0,n.computed)({get:()=>o.Z.state.appConfig.layout.footer.type,set:e=>{o.Z.commit("appConfig/UPDATE_FOOTER_CONFIG",{type:e})}});return{isVerticalMenuCollapsed:e,isRTL:a,skin:i,skinClasses:r,routerTransition:s,navbarBackgroundColor:p,navbarType:u,footerType:b,layoutType:l,contentWidth:c,isNavMenuHidden:d,isNavMenuCollapsed:m,xdaoOpenProposals:t}}},82162:e=>{const t=[{name:"Games",variant:"success",icon:"gamepad"},{name:"Productivity",variant:"danger",icon:"file-alt"},{name:"Hosting",variant:"success",icon:"server"},{name:"Blockchain",variant:"success",icon:"coins"},{name:"Blockbook",variant:"success",icon:"book"},{name:"Front-end",variant:"success",icon:"desktop"},{name:"RPC Node",variant:"success",icon:"satellite-dish"},{name:"Masternode",variant:"success",icon:"wallet"}],a={name:"App",variant:"success",icon:"cog"};e.exports={categories:t,defaultCategory:a}},69699:(e,t,a)=>{"use strict";var n=a(20144),o=a(77354),i=a(48648),r=a(68793),s=a(54016),l=a(51205),c=a(33017),d=a(24019),m=a(73507),p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"h-100",class:[e.skinClasses],attrs:{id:"app"}},[t(e.layout,{tag:"component"},[t("router-view")],1),e.enableScrollToTop?t("scroll-to-top"):e._e()],1)},u=[],b=function(){var e=this,t=e._self._c;return t("div",{staticClass:"btn-scroll-to-top",class:{show:e.y>250}},[t("b-button",{directives:[{name:"ripple",rawName:"v-ripple.400",value:"rgba(255, 255, 255, 0.15)",expression:"'rgba(255, 255, 255, 0.15)'",modifiers:{400:!0}}],staticClass:"btn-icon",attrs:{variant:"primary"},on:{click:e.scrollToTop}},[t("feather-icon",{attrs:{icon:"ArrowUpIcon",size:"16"}})],1)],1)},g=[],h=a(52829),f=a(15193),x=a(20266);const v={directives:{Ripple:x.Z},components:{BButton:f.T},setup(){const{y:e}=(0,h.baj)(),t=()=>{const e=document.documentElement;e.scrollTo({top:0,behavior:"smooth"})};return{y:e,scrollToTop:t}}},k=v;var A=a(1001),y=(0,A.Z)(k,b,g,!1,null,"4d172cb1",null);const T=y.exports;var C=a(68934),P=a(41905),D=a(37307),w=a(34369);const B=a(80129),E=()=>Promise.all([a.e(6301),a.e(2755),a.e(460),a.e(7482)]).then(a.bind(a,52716)),N=()=>a.e(2791).then(a.bind(a,82791)),S={components:{LayoutVertical:E,LayoutFull:N,ScrollToTop:T},setup(){const{skin:e,skinClasses:t}=(0,D.Z)(),{enableScrollToTop:a}=C.$themeConfig.layout;"dark"===e.value&&document.body.classList.add("dark-layout"),(0,P.provideToast)({hideProgressBar:!0,closeOnClick:!1,closeButton:!1,icon:!1,timeout:3e3,transition:"Vue-Toastification__fade"}),m.Z.commit("app/UPDATE_WINDOW_WIDTH",window.innerWidth);const{width:o}=(0,h.iPe)();return(0,n.watch)(o,(e=>{m.Z.commit("app/UPDATE_WINDOW_WIDTH",e)})),{skinClasses:t,enableScrollToTop:a}},computed:{layout(){return"full"===this.$route.meta.layout?"layout-full":`layout-${this.contentLayoutType}`},contentLayoutType(){return this.$store.state.appConfig.layout.type}},beforeCreate(){const e=["primary","secondary","success","info","warning","danger","light","dark"];for(let n=0,o=e.length;n16100)){const e=+t+1;this.$store.commit("flux/setFluxPort",e)}},getZelIdLoginPhrase(){w.Z.loginPhrase().then((e=>{console.log(e),"error"===e.data.status?"MongoNetworkError"===e.data.data.name?this.errorMessage="Failed to connect to MongoDB.":JSON.stringify(e.data.data).includes("CONN")?this.getEmergencyLoginPhrase():this.errorMessage=e.data.data.message:this.loginPhrase=e.data.data})).catch((e=>{console.log(e),this.errorMessage="Error connecting to Flux Backend"}))},getEmergencyLoginPhrase(){w.Z.emergencyLoginPhrase().then((e=>{console.log(e),"error"===e.data.status?this.errorMessage=e.data.data.message:this.loginPhrase=e.data.data})).catch((e=>{console.log(e),this.errorMessage="Error connecting to Flux Backend"}))},activeLoginPhrases(){const e=localStorage.getItem("zelidauth"),t=B.parse(e);console.log(t),w.Z.activeLoginPhrases(e).then((e=>{console.log(e),e.data.status})).catch((e=>{console.log(e),console.log(e.code)}))}}},Z=S;var O=(0,A.Z)(Z,p,u,!1,null,null,null);const L=O.exports;var I=a(9101);const M={name:"FeatherIcon",functional:!0,props:{icon:{required:!0,type:[String,Object]},size:{type:String,default:"14"},badge:{type:[String,Object,Number],default:null},badgeClasses:{type:[String,Object,Array],default:"badge-primary"}},render(e,{props:t,data:a}){const n=e(I[t.icon],{props:{size:t.size},...a});if(!t.badge)return n;const o=e("span",{staticClass:"badge badge-up badge-pill",class:t.badgeClasses},[t.badge]);return e("span",{staticClass:"feather-icon position-relative"},[n,o])}},R=M;var F,z,U=(0,A.Z)(R,F,z,!1,null,null,null);const G=U.exports;var _=a(97754);a(44784);n["default"].component(G.name,G),n["default"].component("VIcon",_.Z);var V=a(9669),W=a.n(V);const j=W().create({});n["default"].prototype.$http=j;var Y=a(72433);n["default"].use(Y.ZP);var H=a(41151);n["default"].use(H["default"],{hideProgressBar:!0,closeOnClick:!1,closeButton:!1,icon:!1,timeout:3e3,transition:"Vue-Toastification__fade"}),n["default"].use(o.R,{breakpoints:["xs","sm","md","lg","xl","xxl"]}),n["default"].use(i.A6),n["default"].use(r.m$),n["default"].use(s.k),n["default"].use(l.XG7),n["default"].use(c.A7),a(86713),a(49630),n["default"].config.productionTip=!1,new n["default"]({router:d.Z,store:m.Z,render:e=>e(L)}).$mount("#app")},24019:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(20144),o=a(78345),i=a(73507),r=a(34369);const s=[{path:"/dashboard/overview",name:"dashboard-overview",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(5988)]).then(a.bind(a,35988)),meta:{pageTitle:"Overview",breadcrumb:[{text:"Dashboard"},{text:"Overview",active:!0}]}},{path:"/dashboard/resources",name:"dashboard-resources",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(5216)]).then(a.bind(a,25216)),meta:{pageTitle:"Resources",breadcrumb:[{text:"Dashboard"},{text:"Resources",active:!0}]}},{path:"/dashboard/map",name:"dashboard-map",component:()=>Promise.all([a.e(5434),a.e(6567),a.e(6301),a.e(4393),a.e(8628)]).then(a.bind(a,8628)),meta:{pageTitle:"Map",breadcrumb:[{text:"Dashboard"},{text:"Map",active:!0}]}},{path:"/dashboard/rewards",name:"dashboard-rewards",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(8755)]).then(a.bind(a,68755)),meta:{pageTitle:"Rewards",breadcrumb:[{text:"Dashboard"},{text:"Rewards",active:!0}]}},{path:"/dashboard/economics",name:"dashboard-economics",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(8755)]).then(a.bind(a,68755)),meta:{pageTitle:"Rewards",breadcrumb:[{text:"Dashboard"},{text:"Rewards",active:!0}]}},{path:"/dashboard/list",name:"dashboard-list",component:()=>a.e(6666).then(a.bind(a,46666)),meta:{pageTitle:"List",breadcrumb:[{text:"Dashboard"},{text:"List",active:!0}]}}],l=[{path:"/daemon/control/getinfo",name:"daemon-control-getinfo",component:()=>a.e(5213).then(a.bind(a,35213)),meta:{pageTitle:"Get Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Get Info",active:!0}]}},{path:"/daemon/control/help",name:"daemon-control-help",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(1966)]).then(a.bind(a,67647)),meta:{pageTitle:"Help",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Help",active:!0}]}},{path:"/daemon/control/rescanblockchain",name:"daemon-control-rescanblockchain",component:()=>a.e(6626).then(a.bind(a,86626)),meta:{pageTitle:"Rescan Blockchain",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Rescan Blockchain",active:!0}],privilege:["admin"]}},{path:"/daemon/control/reindexblockchain",name:"daemon-control-reindexblockchain",component:()=>a.e(6223).then(a.bind(a,16223)),meta:{pageTitle:"Reindex Blockchain",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Reindex Blockchain",active:!0}],privilege:["admin"]}},{path:"/daemon/control/start",name:"daemon-control-start",component:()=>a.e(3404).then(a.bind(a,43404)),meta:{pageTitle:"Start",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Start",active:!0}],privilege:["admin","fluxteam"]}},{path:"/daemon/control/stop",name:"daemon-control-stop",component:()=>a.e(1313).then(a.bind(a,91313)),meta:{pageTitle:"Stop",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Stop",active:!0}],privilege:["admin"]}},{path:"/daemon/control/restart",name:"daemon-control-restart",component:()=>a.e(9389).then(a.bind(a,39389)),meta:{pageTitle:"Restart",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Control"},{text:"Restart",active:!0}],privilege:["admin","fluxteam"]}}],c=[{path:"/daemon/fluxnode/getnodestatus",name:"daemon-fluxnode-getstatus",component:()=>a.e(1145).then(a.bind(a,81145)),meta:{pageTitle:"Node Status",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get Node Status",active:!0}]}},{path:"/daemon/fluxnode/listfluxnodes",name:"daemon-fluxnode-listfluxnodes",component:()=>Promise.all([a.e(6301),a.e(7365)]).then(a.bind(a,67365)),meta:{pageTitle:"List FluxNodes",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"List FluxNodes",active:!0}]}},{path:"/daemon/fluxnode/viewfluxnodelist",name:"daemon-fluxnode-viewfluxnodelist",component:()=>Promise.all([a.e(6301),a.e(7249)]).then(a.bind(a,77249)),meta:{pageTitle:"View Deterministic FluxNodes",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"View FluxNode List",active:!0}]}},{path:"/daemon/fluxnode/getfluxnodecount",name:"daemon-fluxnode-getfluxnodecount",component:()=>a.e(4671).then(a.bind(a,14671)),meta:{pageTitle:"Get FluxNode Count",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get FluxNode Count",active:!0}]}},{path:"/daemon/fluxnode/getstartlist",name:"daemon-fluxnode-getstartlist",component:()=>Promise.all([a.e(6301),a.e(2743)]).then(a.bind(a,32743)),meta:{pageTitle:"Get Start List",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get Start List",active:!0}]}},{path:"/daemon/fluxnode/getdoslist",name:"daemon-fluxnode-getdoslist",component:()=>Promise.all([a.e(6301),a.e(3196)]).then(a.bind(a,43196)),meta:{pageTitle:"Get DOS List",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Get DOS List",active:!0}]}},{path:"/daemon/fluxnode/currentwinner",name:"daemon-fluxnode-currentwinner",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(8390)]).then(a.bind(a,81403)),meta:{pageTitle:"Current Winner",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"FluxNode"},{text:"Current Winner",active:!0}]}}],d=[{path:"/daemon/benchmarks/getbenchmarks",name:"daemon-benchmarks-getbenchmarks",component:()=>a.e(7463).then(a.bind(a,7463)),meta:{pageTitle:"Get Benchmarks",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Get Benchmarks",active:!0}]}},{path:"/daemon/benchmarks/getstatus",name:"daemon-benchmarks-getstatus",component:()=>a.e(6147).then(a.bind(a,96147)),meta:{pageTitle:"Get Bench Status",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Get Status",active:!0}]}},{path:"/daemon/benchmarks/startbenchmark",name:"daemon-benchmarks-start",component:()=>a.e(9816).then(a.bind(a,59816)),meta:{pageTitle:"Start Benchmark",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Start Benchmark",active:!0}],privilege:["admin","fluxteam"]}},{path:"/daemon/benchmarks/stopbenchmark",name:"daemon-benchmarks-stop",component:()=>a.e(9353).then(a.bind(a,39353)),meta:{pageTitle:"Stop Benchmark",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Benchmarks"},{text:"Stop Benchmark",active:!0}],privilege:["admin","fluxteam"]}}],m=[{path:"/daemon/blockchain/getblockchaininfo",name:"daemon-blockchain-getchaininfo",component:()=>a.e(1115).then(a.bind(a,61115)),meta:{pageTitle:"Get Blockchain Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Blockchain Info",active:!0}]}}],p=[{path:"/daemon/mining/getmininginfo",name:"daemon-mining-getmininginfo",component:()=>a.e(5497).then(a.bind(a,85497)),meta:{pageTitle:"Get Mining Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Mining Info",active:!0}]}}],u=[{path:"/daemon/network/getnetworkinfo",name:"daemon-network-getnetworkinfo",component:()=>a.e(4764).then(a.bind(a,84764)),meta:{pageTitle:"Get Network Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Network Info",active:!0}]}}],b=[{path:"/daemon/transaction/getrawtransaction",name:"daemon-transaction-getrawtransaction",component:()=>a.e(8910).then(a.bind(a,28910)),meta:{pageTitle:"Get Raw Transaction",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Raw Transaction",active:!0}]}}],g=[{path:"/daemon/validateaddress",name:"daemon-util-validateaddress",component:()=>a.e(237).then(a.bind(a,60237)),meta:{pageTitle:"Validate Address",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Validate Address",active:!0}]}}],h=[{path:"/daemon/getwalletinfo",name:"daemon-wallet-getwalletinfo",component:()=>a.e(5528).then(a.bind(a,95528)),meta:{pageTitle:"Get Wallet Info",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Get Wallet Info",active:!0}],privilege:["user","admin","fluxteam"]}}],f=[...l,...c,...d,...m,...p,...u,...b,...g,...h,{path:"/daemon/debug",name:"daemon-debug",component:()=>Promise.all([a.e(6301),a.e(9853)]).then(a.bind(a,59853)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Daemon"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}],x=[{path:"/benchmark/control/help",name:"benchmark-control-help",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(7966)]).then(a.bind(a,34917)),meta:{pageTitle:"Help",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Help",active:!0}]}},{path:"/benchmark/control/start",name:"benchmark-control-start",component:()=>a.e(5038).then(a.bind(a,45038)),meta:{pageTitle:"Start",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Start",active:!0}],privilege:["admin","fluxteam"]}},{path:"/benchmark/control/stop",name:"benchmark-control-stop",component:()=>a.e(6518).then(a.bind(a,36518)),meta:{pageTitle:"Stop",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Stop",active:!0}],privilege:["admin"]}},{path:"/benchmark/control/restart",name:"benchmark-control-restart",component:()=>a.e(7031).then(a.bind(a,7031)),meta:{pageTitle:"Restart",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Control"},{text:"Restart",active:!0}],privilege:["admin","fluxteam"]}}],v=[{path:"/benchmark/fluxnode/getbenchmarks",name:"benchmark-fluxnode-getbenchmarks",component:()=>a.e(1573).then(a.bind(a,1573)),meta:{pageTitle:"Get Benchmarks",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"FluxNode"},{text:"Get Benchmarks",active:!0}]}},{path:"/benchmark/fluxnode/getinfo",name:"benchmark-fluxnode-getinfo",component:()=>a.e(6262).then(a.bind(a,16262)),meta:{pageTitle:"Get Info",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"FluxNode"},{text:"Get Info",active:!0}]}}],k=[{path:"/benchmark/benchmarks/getstatus",name:"benchmark-benchmarks-getstatus",component:()=>a.e(9875).then(a.bind(a,59875)),meta:{pageTitle:"Get Status",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Get Status",active:!0}]}},{path:"/benchmark/benchmarks/restartbenchmarks",name:"benchmark-benchmarks-restartbenchmarks",component:()=>a.e(3678).then(a.bind(a,63678)),meta:{pageTitle:"Restart Node Benchmarks",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Restart Node Benchmarks",active:!0}],privilege:["admin","fluxteam"]}},{path:"/benchmark/benchmarks/signtransaction",name:"benchmark-benchmarks-signtransaction",component:()=>a.e(62).then(a.bind(a,20062)),meta:{pageTitle:"Sign FluxNode Transaction",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Benchmarks"},{text:"Sign Transaction",active:!0}],privilege:["admin"]}}],A=[...x,...v,...k,{path:"/benchmark/debug",name:"benchmark-debug",component:()=>Promise.all([a.e(6301),a.e(7550)]).then(a.bind(a,37550)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Benchmark"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}],y=[{path:"/flux/nodestatus",name:"flux-nodestatus",component:()=>a.e(5624).then(a.bind(a,35624)),meta:{pageTitle:"Node Status",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Node Status",active:!0}]}},{path:"/flux/fluxnetwork",name:"flux-fluxnetwork",component:()=>a.e(3904).then(a.bind(a,63904)),meta:{pageTitle:"Flux Network",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Flux Network",active:!0}]}},{path:"/flux/debug",name:"flux-debug",component:()=>Promise.all([a.e(6301),a.e(76)]).then(a.bind(a,50076)),meta:{pageTitle:"Debug",breadcrumb:[{text:"Administration"},{text:"Flux"},{text:"Debug",active:!0}],privilege:["admin","fluxteam"]}}];var T=a(82162);const C=[{path:"/apps/myapps",name:"apps-myapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(9961)]).then(a.bind(a,53937)),meta:{pageTitle:"Applications",breadcrumb:[{text:"Applications"},{text:"Management",active:!0}]}},{path:"/apps/globalapps",name:"apps-globalapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(816)]).then(a.bind(a,43392)),meta:{pageTitle:"Applications",breadcrumb:[{text:"Applications"},{text:"Global Apps",active:!0}]}},{path:"/apps/registerapp/:appspecs?",name:"apps-registerapp",component:()=>Promise.all([a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(2755),a.e(5358),a.e(7135),a.e(2581)]).then(a.bind(a,60004)),meta:{pageTitle:"Register New App",breadcrumb:[{text:"Applications"},{text:"Register New App",active:!0}]}},{path:"/apps/marketplace",name:"apps-marketplace",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application"}},{path:"/apps/marketplace/:filter",name:"apps-marketplace-filter",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application",navActiveLink:"apps-marketplace"},beforeEnter(e,t,a){const n=T.categories.map((e=>e.name.toLowerCase()));n.includes(e.params.filter)?a():a({name:"error-404"})}},{path:"https://titan.runonflux.io",name:"apps-marketplace-sharednodes",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(460),a.e(9126)]).then(a.bind(a,9114)),meta:{contentRenderer:"sidebar-left",contentClass:"marketplace-application",navActiveLink:"apps-marketplace"}}],P=[{path:"/apps/localapps",name:"apps-localapps",component:()=>Promise.all([a.e(5434),a.e(601),a.e(4884),a.e(1601),a.e(8749),a.e(1973),a.e(2137),a.e(5997),a.e(6301),a.e(4393),a.e(2755),a.e(5358),a.e(7135),a.e(9733),a.e(321)]).then(a.bind(a,88190)),meta:{pageTitle:"Local Apps",breadcrumb:[{text:"Administration"},{text:"Local Apps",active:!0}]}},{path:"/fluxadmin/loggedsessions",name:"fluxadmin-loggedsessions",component:()=>a.e(8904).then(a.bind(a,48904)),meta:{pageTitle:"Logged Sessions",breadcrumb:[{text:"Administration"},{text:"Logged Sessions",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/manageflux",name:"fluxadmin-manageflux",component:()=>a.e(6475).then(a.bind(a,36475)),meta:{pageTitle:"Manage Flux",breadcrumb:[{text:"Administration"},{text:"Manage Flux",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/managedaemon",name:"fluxadmin-managedaemon",component:()=>a.e(6481).then(a.bind(a,56481)),meta:{pageTitle:"Manage Daemon",breadcrumb:[{text:"Administration"},{text:"Manage Daemon",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/managebenchmark",name:"fluxadmin-managebenchmark",component:()=>a.e(1994).then(a.bind(a,71994)),meta:{pageTitle:"Manage Benchmark",breadcrumb:[{text:"Administration"},{text:"Manage Benchmark",active:!0}],privilege:["admin","fluxteam"]}},{path:"/fluxadmin/manageusers",name:"fluxadmin-manageusers",component:()=>a.e(8478).then(a.bind(a,38478)),meta:{pageTitle:"Manage Users",breadcrumb:[{text:"Administration"},{text:"Manage Users",active:!0}],privilege:["admin","fluxteam"]}},{path:"/apps/fluxsharestorage",name:"apps-fluxsharestorage",component:()=>Promise.all([a.e(6301),a.e(1548)]).then(a.bind(a,61548)),meta:{pageTitle:"My FluxShare Storage",breadcrumb:[{text:"Administration"},{text:"My FluxShare Storage",active:!0}],privilege:["admin"]}}],D=[{path:"/xdao-app",name:"xdao-app",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application"}},{path:"/xdao-app/:filter",name:"xdao-app-filter",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application",navActiveLink:"xdao-app"},beforeEnter(e,t,a){["open","passed","unpaid","rejected"].includes(e.params.filter)?a():a({name:"error-404"})}},{path:"/xdao-app/tag/:tag",name:"xdao-app-tag",component:()=>Promise.all([a.e(5434),a.e(6301),a.e(4393),a.e(460),a.e(8996)]).then(a.bind(a,58996)),meta:{contentRenderer:"sidebar-left",contentClass:"xdao-application",navActiveLink:"xdao-app"},beforeEnter(e,t,a){["team","low","medium","high","update"].includes(e.params.tag)?a():a({name:"error-404"})}}],w=a(80129);n["default"].use(o.ZP);const B=new o.ZP({mode:"history",base:"/",scrollBehavior(){return{x:0,y:0}},routes:[{path:"/",name:"home",component:()=>Promise.all([a.e(601),a.e(4884),a.e(1601),a.e(6301),a.e(2755),a.e(5358),a.e(7672)]).then(a.bind(a,233)),meta:{pageTitle:"Home",breadcrumb:[{text:"Home",active:!0}]}},{path:"/explorer",name:"explorer",component:()=>Promise.all([a.e(6301),a.e(4156),a.e(3155)]).then(a.bind(a,1941)),meta:{pageTitle:"Explorer",breadcrumb:[{text:"Administration"},{text:"Explorer",active:!0}]}},...s,...f,...A,...y,...C,...P,...D,{path:"/successcheckout",name:"successcheckout",component:()=>a.e(2295).then(a.bind(a,42295)),meta:{layout:"full"}},{path:"/error-404",name:"error-404",component:()=>a.e(4661).then(a.bind(a,84661)),meta:{layout:"full"}},{path:"*",redirect:"error-404"}]});B.beforeEach((async(e,t,a)=>{const n=localStorage.getItem("zelidauth"),o=w.parse(n);if(i.Z.commit("flux/setPrivilege","none"),o&&o.zelid&&o.signature&&o.loginPhrase)try{const e=await r.Z.checkUserLogged(o.zelid,o.signature,o.loginPhrase),t=e.data.data.message;i.Z.commit("flux/setPrivilege",t),"none"===t&&localStorage.removeItem("zelidauth")}catch(s){console.log(s)}e.meta&&e.meta.privilege?e.meta.privilege.some((e=>e===i.Z.state.flux.privilege))?a():a("/"):a()})),B.afterEach((()=>{const e=document.getElementById("loading-bg");e&&(e.style.display="none")}));const E=B},80914:(e,t,a)=>{"use strict";a.d(t,{S:()=>m,Z:()=>p});var n=a(9669),o=a.n(n);const i=a(58971),{protocol:r,hostname:s,port:l}=window.location;let c="";c+=r,c+="//";const d=/[A-Za-z]/g;if(s.split("-")[4]){const e=s.split("-"),t=e[4].split("."),a=+t[0]+1;t[0]=a.toString(),t[2]="api",e[4]="",c+=e.join("-"),c+=t.join(".")}else if(s.match(d)){const e=s.split(".");e[0]="api",c+=e.join(".")}else c+=s,c+=":",c+=+l+1;const m=o().CancelToken.source(),p=()=>o().create({baseURL:i.get("backendURL")||c})},34369:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(80914);const o=a(80129),i={loginPhrase(){return(0,n.Z)().get("/id/loginphrase")},emergencyLoginPhrase(){return(0,n.Z)().get("/id/emergencyphrase")},verifyLogin(e){return(0,n.Z)().post("/id/verifylogin",o.stringify(e))},loggedSessions(e){return(0,n.Z)().get(`/id/loggedsessions?timestamp=${Date.now()}`,{headers:{zelidauth:e}})},loggedUsers(e){return(0,n.Z)().get(`/id/loggedusers?timestamp=${Date.now()}`,{headers:{zelidauth:e}})},activeLoginPhrases(e){return(0,n.Z)().get("/id/activeloginphrases",{headers:{zelidauth:e}})},logoutCurrentSession(e){return(0,n.Z)().get("/id/logoutcurrentsession",{headers:{zelidauth:e}})},logoutSpecificSession(e,t){const a={loginPhrase:t},i={headers:{zelidauth:e}};return(0,n.Z)().post("/id/logoutspecificsession",o.stringify(a),i)},logoutAllSessions(e){return(0,n.Z)().get("/id/logoutallsessions",{headers:{zelidauth:e}})},logoutAllUsers(e){return(0,n.Z)().get("/id/logoutallusers",{headers:{zelidauth:e}})},checkUserLogged(e,t,a){const i={zelid:e,signature:t,loginPhrase:a};return(0,n.Z)().post("/id/checkprivilege",o.stringify(i))}}},73507:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(20144),o=a(20629),i=a(68934);const r={namespaced:!0,state:{windowWidth:0,shallShowOverlay:!1},getters:{currentBreakPoint:e=>{const{windowWidth:t}=e;return t>=i.n.xl?"xl":t>=i.n.lg?"lg":t>=i.n.md?"md":t>=i.n.sm?"sm":"xs"}},mutations:{UPDATE_WINDOW_WIDTH(e,t){e.windowWidth=t},TOGGLE_OVERLAY(e,t){e.shallShowOverlay=void 0!==t?t:!e.shallShowOverlay}},actions:{}},s={namespaced:!0,state:{layout:{isRTL:i.$themeConfig.layout.isRTL,skin:localStorage.getItem("vuexy-skin")||i.$themeConfig.layout.skin,routerTransition:i.$themeConfig.layout.routerTransition,type:i.$themeConfig.layout.type,contentWidth:i.$themeConfig.layout.contentWidth,menu:{hidden:i.$themeConfig.layout.menu.hidden,collapsed:"true"===localStorage.getItem("menu-itemsCollapsed")||i.$themeConfig.layout.menu.itemsCollapsed},navbar:{type:i.$themeConfig.layout.navbar.type,backgroundColor:i.$themeConfig.layout.navbar.backgroundColor},footer:{type:i.$themeConfig.layout.footer.type}}},getters:{},mutations:{TOGGLE_RTL(e){e.layout.isRTL=!e.layout.isRTL,document.documentElement.setAttribute("dir",e.layout.isRTL?"rtl":"ltr")},UPDATE_SKIN(e,t){e.layout.skin=t,localStorage.setItem("vuexy-skin",t),"dark"===t?document.body.classList.add("dark-layout"):document.body.className.match("dark-layout")&&document.body.classList.remove("dark-layout")},UPDATE_ROUTER_TRANSITION(e,t){e.layout.routerTransition=t},UPDATE_LAYOUT_TYPE(e,t){e.layout.type=t},UPDATE_CONTENT_WIDTH(e,t){e.layout.contentWidth=t},UPDATE_NAV_MENU_HIDDEN(e,t){e.layout.menu.hidden=t},UPDATE_NAVBAR_CONFIG(e,t){Object.assign(e.layout.navbar,t)},UPDATE_FOOTER_CONFIG(e,t){Object.assign(e.layout.footer,t)},UPDATE_MENU_COLLAPSED(e,t){e.layout.menu.collapsed=t,localStorage.setItem("menu-itemsCollapsed",t)}},actions:{}},l={namespaced:!0,state:{isVerticalMenuCollapsed:"true"===localStorage.getItem("menu-isCollapsed")||i.$themeConfig.layout.menu.isCollapsed},getters:{},mutations:{UPDATE_VERTICAL_MENU_COLLAPSED(e,t){e.isVerticalMenuCollapsed=t,localStorage.setItem("menu-isCollapsed",t)}},actions:{}};var c=a(90325),d=a.n(c);const m={namespaced:!0,state:{userconfig:{zelid:"",externalip:""},config:{apiPort:d().server.apiport,fluxTeamZelId:d().fluxTeamZelId},privilege:"none",zelid:"",fluxVersion:"",xdaoOpen:0},getters:{xdaoOpen(e){return e.xdaoOpen}},mutations:{setPrivilege(e,t){e.privilege=t},setZelid(e,t){e.zelid=t},setFluxVersion(e,t){e.fluxVersion=t},setUserZelid(e,t){e.userconfig.zelid=t},setUserIp(e,t){e.userconfig.externalip=t},setFluxPort(e,t){e.config.apiPort=t},setXDAOOpen(e,t){e.xdaoOpen=t}},actions:{}};n["default"].use(o.ZP);const p=new o.ZP.Store({modules:{app:r,appConfig:s,verticalMenu:l,flux:m},strict:{NODE_ENV:"production",BASE_URL:"/"}.DEV})},68934:(e,t,a)=>{"use strict";a.d(t,{$themeConfig:()=>i,j:()=>n,n:()=>o});const n={},o={},i={app:{appName:"FluxOS",appLogoImageDark:a(98927),appLogoImage:a(62606)},layout:{isRTL:!1,skin:"dark",routerTransition:"zoom-fade",type:"vertical",contentWidth:"full",menu:{hidden:!1,isCollapsed:!1,itemsCollapsed:!0},navbar:{type:"sticky",backgroundColor:""},footer:{type:"static"},customizer:!0,enableScrollToTop:!0}}},90325:(e,t,a)=>{let n=a(65796);const o=n.initial.development||!1;e.exports={development:o,loglevel:"debug",server:{allowedPorts:[16127,16137,16147,16157,16167,16177,16187,16197],apiport:16127},database:{url:"127.0.0.1",port:27017,local:{database:"zelfluxlocal",collections:{loggedUsers:"loggedusers",activeLoginPhrases:"activeloginphrases",activeSignatures:"activesignatures"}},daemon:{database:"zelcashdata",collections:{scannedHeight:"scannedheight",utxoIndex:"utxoindex",addressTransactionIndex:"addresstransactionindex",fluxTransactions:"zelnodetransactions",appsHashes:"zelappshashes",coinbaseFusionIndex:"coinbasefusionindex"}},appslocal:{database:"localzelapps",collections:{appsInformation:"zelappsinformation"}},appsglobal:{database:"globalzelapps",collections:{appsMessages:"zelappsmessages",appsInformation:"zelappsinformation",appsTemporaryMessages:"zelappstemporarymessages",appsLocations:"zelappslocation"}},chainparams:{database:"chainparams",collections:{chainMessages:"chainmessages"}},fluxshare:{database:"zelshare",collections:{shared:"shared"}}},benchmark:{port:16225,rpcport:16224,porttestnet:26225,rpcporttestnet:26224},daemon:{chainValidHeight:1062e3,port:16125,rpcport:16124,porttestnet:26125,rpcporttestnet:26124},minimumFluxBenchAllowedVersion:"4.0.0",minimumFluxOSAllowedVersion:"5.0.0",fluxTeamZelId:"1hjy4bCYBJr4mny4zCE85J94RXa8W6q37",deterministicNodesStart:558e3,syncthingVersionCheckStart:1630040,fluxapps:{price:[{height:-1,cpu:3,ram:1,hdd:.5,minPrice:1,port:2,scope:6,staticip:3},{height:983e3,cpu:.3,ram:.1,hdd:.05,minPrice:.1,port:2,scope:6,staticip:3},{height:1004e3,cpu:.06,ram:.02,hdd:.01,minPrice:.01,port:2,scope:6,staticip:3},{height:1288e3,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:2,scope:6,staticip:3},{height:1594832,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:1.5,scope:6,staticip:3},{height:1597156,cpu:.03,ram:.01,hdd:.004,minPrice:.01,port:.4,scope:.8,staticip:.4}],fluxUSDRate:1.14,usdprice:{height:-1,cpu:.15,ram:.05,hdd:.02,minPrice:.01,port:2,scope:4,staticip:2,fluxmultiplier:.9,multiplier:1,minUSDPrice:.5},appSpecsEnforcementHeights:{1:0,2:0,3:983e3,4:1004e3,5:1142e3,6:13e5,7:o?139e4:142e4},address:"t1LUs6quf7TB2zVZmexqPQdnqmrFMGZGjV6",addressMultisig:"t3aGJvdtd8NR6GrnqnRuVEzH6MbrXuJFLUX",addressDevelopment:"t1Mzja9iJcEYeW5B4m4s1tJG8M42odFZ16A",epochstart:694e3,publicepochstart:705e3,portMin:31e3,portMax:39999,portBlockheightChange:o?139e4:142e4,portMinNew:1,portMaxNew:65535,bannedPorts:["16100-16299","26100-26299","30000-30099",8384,27017,22,23,25,3389,5900,5800,161,512,513,5901,3388,4444,123,53],enterprisePorts:["0-1023",8080,8081,8443,25565,6667],upnpBannedPorts:[],maxImageSize:2e9,minimumInstances:3,maximumInstances:100,minOutgoing:8,minUniqueIpsOutgoing:7,minIncoming:4,minUniqueIpsIncoming:3,minUpTime:1800,installation:{probability:100,delay:120},removal:{probability:25,delay:300},redeploy:{probability:2,delay:30,composedDelay:5},blocksLasting:22e3,minBlocksAllowance:5e3,newMinBlocksAllowance:100,newMinBlocksAllowanceBlock:1630040,maxBlocksAllowance:264e3,blocksAllowanceInterval:1e3,removeBlocksAllowanceIntervalBlock:1625e3,ownerAppAllowance:1e3,temporaryAppAllowance:200,expireFluxAppsPeriod:100,updateFluxAppsPeriod:9,removeFluxAppsPeriod:11,reconstructAppMessagesHashPeriod:3600,benchUpnpPeriod:6480,hddFileSystemMinimum:10,defaultSwap:2},lockedSystemResources:{cpu:10,ram:2e3,hdd:40,extrahdd:20},fluxSpecifics:{cpu:{cumulus:40,nimbus:80,stratus:160},ram:{cumulus:7e3,nimbus:3e4,stratus:61e3},hdd:{cumulus:220,nimbus:440,stratus:880},collateral:{cumulusold:1e4,nimbusold:25e3,stratusold:1e5,cumulus:1e3,nimbus:12500,stratus:4e4}},syncthing:{ip:"127.0.0.1",port:8384},enterprisePublicKeys:["045bd4f81d7bda582141793463edb58e0f3228a873bd6b6680b78586db2969f51dfeda672eae65e64ca814316f77557012d02c73db7876764f5eddb6b6d9d02b5b","042ebcb3a94fe66b9ded6e456871346d6984502bbadf14ed07644e0eb91f8cc0b1f07632c428e1e6793f372d9c303d680de80ae0499d51095676cabf68599e9591","040a0f94fdbd670a4514a7366e8b5f7fbfb264c6ca6ea7d3f37147410b62a50525d1ed1ac83dac029de9203b9cabcf18a01b82e499ba36ea51594fd799999b2a26","04092edca3ed2d2b744a1d93e504568e9d861f38232023835202c155afa9f74e3779c926745a4157a7897ca6dca30aa78aa26e4ee11101ce20db9fc79b686de5f0","045964031bb8818521b99f16d2614f1bc8a9968184c9c38dc09cf95b744dae0f603ff3bbecc7845d952901ebabeb343cdcde3c4325274901768dfb102b9a34f5d6","0459f5c058481d557fb63580bfbf21f3791a2f3a62a62c99b435fd8db1d59e21353bdae35cfe00adaf7c4f2f0d400afc698e9c58ee6a3894c20706b3db7da83750","040ecac42ff4468fa8ae094e125fb8ae67c1a588e7b218ac0a9d270bba882c19db656b7b5d99b1af0fe96c34475545088a5bd87efb9a771174bcdd7fb499dd7ca3","04a52af6e9688fcb9d47096f8a15db67131f9b0bbfb50c28fd22028d9fba18f4e9bd3293b43ed64634dbba11688b4e37f1f8e65629b6a204df352d3ecfb174b9f5","04ce029f9d17da47809cbde46e0ea2eace185f79f98e5718cb4ddc3d84bfd742cd3e3951388fcd2771238ab323fe22d53c3dced2a30326ead0447b10f7db0a829b","04dbbf2ba07d28b0010f4faa0537d963b3481b5d8e7ec0de29f311264a4ab074d4d579aca1c2aa3eb31e96f439a6d6bbf72393584049923f342ed4762f13fe7be4","043c4fe1606c543ca28f107245166321fae026300747a608db94deecbcd2d945f86b29c52a33416464e7823a6c2e3e45c26733f6378be973959cbf9ee4bff79e66","04a898a0bc768ad0b8456b4da7c1e653a715477926fefb47ef20d8bd841854ddf4e1f59c1c3d55f0088eaca53b850e6ab03d0bd00d0b5a70d17ffbc0554b6188d5","0455a20efde6a0685fa15b020e694674170376bc7c23d203e96fb927717db38011b87c36b2f81c5cf68123c5567abf2b29788231966ea4c43c4f5cb759e4c5cdbb","04c765d054bcded999c404145c7396725df81973fe803b3da5e9455173410743f43e20294e17bb41adff8b4ff1ab5540b8bcd98521b438840b6a38e904eb0b247f","03cf1d8b708ca7f5979accb4d0dba35a90391e3dfc4422cf12670c929bb58d16ac","03e29783936a36b396c28706494dbfd35f3d087f2addeb3df32e451f71bf9a53f3"]}},65796:e=>{e.exports={initial:{ipaddress:"94.16.104.218",zelid:"1K6nyw2VjV6jEN1f1CkbKn9htWnYkQabbR",kadena:"kadena:k:b3d922d1a57793651a1e0d951ef1671a10833e170810d3520388628cdc082fce?chainid=0",testnet:!1,development:!1,apiport:NaN,pgpPrivateKey:"-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nxVgEZHmg8RYJKwYBBAHaRw8BAQdAvezm7p0lvhM4yOpOSre0cB9W7LCVQ/dM\nzISJD+qJNM8AAP9aHyinNqZkJt6F4siUloUVJt6rOgGCn0e/D3icC2Yisg73\nzXQzMWE5ZjY0ZDNmYzRlZmFlZTQzNzYxM2UzN2NiMmYxZDYzYjRjOTA5N2U5\nZDhlZDhjODFmOTkzNzllM2RkNDY0OjAgPDFLNm55dzJWalY2akVOMWYxQ2ti\nS245aHRXbllrUWFiYlJAcnVub25mbHV4LmlvPsKMBBAWCgA+BYJkeaDxBAsJ\nBwgJkLG9++fl7XbxAxUICgQWAAIBAhkBApsDAh4BFiEEtOdwyqWbs8NNu6s0\nsb375+XtdvEAAEnoAQD2BWD7do+fMVeBbV82fIOhz2qdnDaYAprrihDz6vwb\nTwEAnPMIC4p9iaptWru9Qa2uu3rJsnNmKoiEl1wfFQe+BwfHXQRkeaDxEgor\nBgEEAZdVAQUBAQdA8E0WJLyldJfrFik2vBRQe6kaukdzzTEn7pdoxsd98RUD\nAQgHAAD/ShBVjfSyN5gHdY7AuJaAfqqERyTSkc+hCcSc07cY6zgRYMJ4BBgW\nCAAqBYJkeaDxCZCxvfvn5e128QKbDBYhBLTncMqlm7PDTburNLG9++fl7Xbx\nAADU2QD/TGxJcV7wrgHSJtXxl7ySaYKS/SFgIhF2uQzeS3CwIoYBANyqyX+C\nda2lr4gzAcmnyJGGAK9U60WK4Ppw50lxPP8G\n=A9AK\n-----END PGP PRIVATE KEY BLOCK-----\n",pgpPublicKey:"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxjMEZHmg8RYJKwYBBAHaRw8BAQdAvezm7p0lvhM4yOpOSre0cB9W7LCVQ/dM\nzISJD+qJNM/NdDMxYTlmNjRkM2ZjNGVmYWVlNDM3NjEzZTM3Y2IyZjFkNjNi\nNGM5MDk3ZTlkOGVkOGM4MWY5OTM3OWUzZGQ0NjQ6MCA8MUs2bnl3MlZqVjZq\nRU4xZjFDa2JLbjlodFduWWtRYWJiUkBydW5vbmZsdXguaW8+wowEEBYKAD4F\ngmR5oPEECwkHCAmQsb375+XtdvEDFQgKBBYAAgECGQECmwMCHgEWIQS053DK\npZuzw027qzSxvfvn5e128QAASegBAPYFYPt2j58xV4FtXzZ8g6HPap2cNpgC\nmuuKEPPq/BtPAQCc8wgLin2Jqm1au71Bra67esmyc2YqiISXXB8VB74HB844\nBGR5oPESCisGAQQBl1UBBQEBB0DwTRYkvKV0l+sWKTa8FFB7qRq6R3PNMSfu\nl2jGx33xFQMBCAfCeAQYFggAKgWCZHmg8QmQsb375+XtdvECmwwWIQS053DK\npZuzw027qzSxvfvn5e128QAA1NkA/0xsSXFe8K4B0ibV8Ze8kmmCkv0hYCIR\ndrkM3ktwsCKGAQDcqsl/gnWtpa+IMwHJp8iRhgCvVOtFiuD6cOdJcTz/Bg==\n=V9QD\n-----END PGP PUBLIC KEY BLOCK-----\n"}}},98927:(e,t,a)=>{"use strict";e.exports=a.p+"img/logo.svg"},62606:(e,t,a)=>{"use strict";e.exports=a.p+"img/logo_light.svg"},24654:()=>{}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.m=e,(()=>{a.amdD=function(){throw new Error("define cannot be used indirect")}})(),(()=>{var e=[];a.O=(t,n,o,i)=>{if(!n){var r=1/0;for(d=0;d=i)&&Object.keys(a.O).every((e=>a.O[e](n[l])))?n.splice(l--,1):(s=!1,i0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[n,o,i]}})(),(()=>{a.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return a.d(t,{a:t}),t}})(),(()=>{a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[]))})(),(()=>{a.u=e=>"js/"+({601:"walletconnect",1601:"stablelib",1973:"xterm",2137:"vueJsonViewer",4884:"metamask",5434:"apexcharts",5997:"clipboard",6567:"leaflet",8749:"openpgp"}[e]||e)+".js"})(),(()=>{a.miniCssF=e=>"css/"+e+".css"})(),(()=>{a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="flux:";a.l=(n,o,i,r)=>{if(e[n])e[n].push(o);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d{s.onerror=s.onload=null,clearTimeout(u);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(a))),t)return t(a)},u=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),(()=>{a.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{a.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,a,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var r=a=>{if(i.onerror=i.onload=null,"load"===a.type)n();else{var r=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=r,i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var a=document.getElementsByTagName("link"),n=0;nnew Promise(((o,i)=>{var r=a.miniCssF(n),s=a.p+r;if(t(r,s))return o();e(n,s,null,o,i)})),o={4826:0};a.f.miniCss=(e,t)=>{var a={62:1,76:1,237:1,321:1,816:1,1115:1,1145:1,1313:1,1548:1,1573:1,1966:1,1994:1,2295:1,2581:1,2743:1,3155:1,3196:1,3404:1,3678:1,3904:1,4661:1,4671:1,4764:1,5038:1,5213:1,5216:1,5497:1,5528:1,5624:1,5988:1,6147:1,6223:1,6262:1,6475:1,6481:1,6518:1,6626:1,7031:1,7249:1,7365:1,7463:1,7482:1,7550:1,7672:1,7966:1,8390:1,8478:1,8628:1,8755:1,8904:1,8910:1,8996:1,9126:1,9353:1,9389:1,9816:1,9853:1,9875:1,9961:1};o[e]?t.push(o[e]):0!==o[e]&&a[e]&&t.push(o[e]=n(e).then((()=>{o[e]=0}),(t=>{throw delete o[e],t})))}}})(),(()=>{var e={4826:0};a.f.j=(t,n)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise(((a,n)=>o=e[t]=[a,n]));n.push(o[2]=i);var r=a.p+a.u(t),s=new Error,l=n=>{if(a.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",s.name="ChunkLoadError",s.type=i,s.request=r,o[1](s)}};a.l(r,l,"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[r,s,l]=n,c=0;if(r.some((t=>0!==e[t]))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);if(l)var d=l(a)}for(t&&t(n);ca(69699)));n=a.O(n)})(); \ No newline at end of file diff --git a/tests/unit/fluxNetworkHelper.test.js b/tests/unit/fluxNetworkHelper.test.js index 17d43c783..6a19e4aad 100644 --- a/tests/unit/fluxNetworkHelper.test.js +++ b/tests/unit/fluxNetworkHelper.test.js @@ -41,7 +41,7 @@ describe('fluxNetworkHelper tests', () => { const fluxAvailabilitySuccessResponse = { data: { status: 'success', - data: '4.20.0', + data: '5.0.0', }, }; Object.setPrototypeOf(fluxAvailabilitySuccessResponse.data, { // axios on home expects string @@ -52,7 +52,7 @@ describe('fluxNetworkHelper tests', () => { const fluxAvailabilityErrorResponse = { data: { status: 'error', - data: '4.20.0', + data: '5.0.0', }, }; const generateResponse = () => { @@ -305,7 +305,7 @@ describe('fluxNetworkHelper tests', () => { const mockResponse = { data: { status: 'success', - data: '4.20.0', + data: '5.0.0', }, }; Object.setPrototypeOf(mockResponse.data, { // axios on home expects string @@ -1009,7 +1009,7 @@ describe('fluxNetworkHelper tests', () => { }); describe('checkFluxbenchVersionAllowed tests', () => { - // minimumFluxBenchAllowedVersion = '3.9.0'; + // minimumFluxBenchAllowedVersion = '4.0.0'; let benchmarkInfoResponseStub; beforeEach(() => { @@ -1030,7 +1030,7 @@ describe('fluxNetworkHelper tests', () => { }); it('should return true if bench version is equal to minimal and stored in cache', async () => { - fluxNetworkHelper.setStoredFluxBenchAllowed('3.9.0'); + fluxNetworkHelper.setStoredFluxBenchAllowed('4.0.0'); const isFluxbenchVersionAllowed = await fluxNetworkHelper.checkFluxbenchVersionAllowed(); @@ -1064,7 +1064,7 @@ describe('fluxNetworkHelper tests', () => { const benchmarkInfoResponse = { status: 'success', data: { - version: '3.9.0', + version: '4.0.0', }, }; benchmarkInfoResponseStub.returns(benchmarkInfoResponse); @@ -1072,7 +1072,7 @@ describe('fluxNetworkHelper tests', () => { const isFluxbenchVersionAllowed = await fluxNetworkHelper.checkFluxbenchVersionAllowed(); expect(isFluxbenchVersionAllowed).to.equal(true); - expect(fluxNetworkHelper.getStoredFluxBenchAllowed()).to.equal('3.9.0'); + expect(fluxNetworkHelper.getStoredFluxBenchAllowed()).to.equal('4.0.0'); }); it('should return false if the version is lower than minimal and is not set in cache', async () => {