import{d as t,H as s,I as a,ac as n,J as i,g as p,v as m}from"./Drw0dDXY.js";import{u as c,e as u}from"./Dl6276N_.js";import{u as l}from"./DSKYwBdE.js";import{V as d}from"./D3kt_xS_.js";import{_ as f}from"./DlAUqK2U.js";import"./CM2z5-Yq.js";import"./bFv45aNM.js";import"./2ttuFdm1.js";import"./XAOFwQJZ.js";import"./BHg-Hw-P.js";import"./BO5QyVBF.js";const _=t({name:"Vulnerability",components:{VulnerabilityDetail:d},data(){return{scanner:{endpoint:"",name:"",apiKey:""}}},computed:{...a(l,["scanners"])},mounted(){const e=this.scanners.find(r=>u(r.endpoint)===(this._.provides[n]||this.$route).params.scanner);e===void 0?(this.reportError("Scanner not found"),this.$router.push({name:"scan-list"})):this.scanner=e},methods:{...s(c,["reportError"])}});function v(e,r,h,$,y,S){const o=p("VulnerabilityDetail");return m(),i(o,{"scan-id":(e._.provides[n]||e.$route).params.scan,scanner:e.scanner,"vuln-title":(e._.provides[n]||e.$route).params.vuln},null,8,["scan-id","scanner","vuln-title"])}const J=f(_,[["render",v]]);export{J as default};
