import{d as o,M as a,N as s,U as i,a0 as r,i as p,t as c}from"./D6By_0qX.js";import{c as m,u}from"./BMh_0dZ2.js";import{u as l}from"./Cp_jxA-w.js";import{V as d}from"./B6MLiES6.js";import{_ as f}from"./DlAUqK2U.js";import"./W-MzPp_k.js";import"./CSsDaGTM.js";import"./DSsSr33V.js";import"./DRZoE4lq.js";const _=o({name:"Vulnerability",components:{VulnerabilityDetail:d},data(){return{scanner:{endpoint:"",name:"",apiKey:""}}},computed:{...a(l,["scanners"])},mounted(){const n=this.scanners.find(e=>m(e.endpoint)===this.$route.params.scanner);n===void 0?(this.reportError("Scanner not found"),this.$router.push({name:"scan-list"})):this.scanner=n},methods:{...s(u,["reportError"])}});function h(n,e,v,$,y,S){const t=p("VulnerabilityDetail");return c(),i(t,{"scan-id":(n._.provides[r]||n.$route).params.scan,scanner:n.scanner,"vuln-title":(n._.provides[r]||n.$route).params.vuln},null,8,["scan-id","scanner","vuln-title"])}const A=f(_,[["render",h]]);export{A as default};
