(function(n){function e(e){for(var a,o,s=e[0],r=e[1],u=e[2],d=0,h=[];d{n.data.token&&(this.jwt=n.data.token)}).catch(n=>console.log(n))},get_version:function(){s.a.get("/api/update/get-version",{timeout:6e4,headers:{"X-Token":this.jwt}}).then(n=>{n.data.status&&(this.current_version=n.data.current_version)}).catch(n=>{console.log(n)})},check_update:function(){s.a.get("/api/update/check",{timeout:6e4,headers:{"X-Token":this.jwt}}).then(n=>{"A new version is available"==n.data.message&&(this.update_available=!0)}).catch(n=>{console.log(n)})}},created:function(){this.get_jwt().then(()=>{this.get_version(),this.check_update()}),setInterval(function(){let n="";this.letters.forEach(e=>{n+=e.charAt(this.generate_random(0,9))}),this.title=n,setTimeout(function(){this.title="SPYGUARD"}.bind(this),this.generate_random(30,100))}.bind(this),this.generate_random(500,1e4))}},u=r,d=(t("10f2"),t("2877")),l=Object(d["a"])(u,c,i,!1,null,null,null),h=l.exports,p=t("8c4f");a["a"].use(p["a"]);const f=[{path:"/",name:"default",component:()=>t.e("chunk-2d0cfa15").then(t.bind(null,"6511")),props:!0},{path:"/device/configuration",name:"device-configuration",component:()=>t.e("chunk-2d0c8321").then(t.bind(null,"549e")),props:!0},{path:"/engine/configuration",name:"engine-configuration",component:()=>t.e("chunk-2d22d432").then(t.bind(null,"f76a")),props:!0},{path:"/device/network",name:"device-network",component:()=>t.e("chunk-3c0d118e").then(t.bind(null,"7e11")),props:!0},{path:"/device/db",name:"db-manage",component:()=>t.e("chunk-2d0e4bf5").then(t.bind(null,"9217")),props:!0},{path:"/iocs/manage",name:"iocs-manage",component:()=>t.e("chunk-2d0c0c86").then(t.bind(null,"42f8")),props:!0},{path:"/instances/misp",name:"instance-misp",component:()=>t.e("chunk-2d0c9378").then(t.bind(null,"57cc")),props:!0},{path:"/instances/watchers",name:"instance-watchers",component:()=>t.e("chunk-2d20faf8").then(t.bind(null,"b54c")),props:!0},{path:"/iocs/search",name:"iocs-search",component:()=>t.e("chunk-2d0cc2b4").then(t.bind(null,"4d7e")),props:!0},{path:"/whitelist/manage",name:"whitelist-manage",component:()=>t.e("chunk-2d215cd3").then(t.bind(null,"c06f")),props:!0},{path:"/whitelist/search",name:"whitelist-search",component:()=>t.e("chunk-2d2245cf").then(t.bind(null,"e08f")),props:!0},{path:"/update",name:"update",component:()=>t.e("chunk-2d0a3726").then(t.bind(null,"01e4")),props:!0}],m=new p["a"]({mode:"history",base:"/",routes:f});var v=m;a["a"].config.productionTip=!0,a["a"].config.devtools=!0,new a["a"]({router:v,render:n=>n(h)}).$mount("#app")}}); //# sourceMappingURL=app.a3c6f292.js.map