System.register(["./vue-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172"],(function(e,a){"use strict";var t,i,l,n,r,d,o,s,u,p;return{setters:[e=>{t=e.k,i=e.R,l=e.S,n=e.U,r=e.a4,d=e.an,o=e.F,s=e.O,u=e.j},e=>{p=e.p},null,null,null,null],execute:function(){var a=document.createElement("style");a.textContent=".web-vuln-summary[data-v-d48867ea]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:#f8f9fa;border:2px solid #e9ecef}.web-vuln-summary div[data-v-d48867ea]{font-size:18px;margin-bottom:10px;color:#333}.web-vuln-list[data-v-d48867ea]{margin-top:20px}.web-vuln-site[data-v-d48867ea]{margin-bottom:25px;padding:15px;border-radius:8px;background-color:#f8f9fa;border:1px solid #e9ecef}.web-vuln-cms[data-v-d48867ea]{margin-top:15px;padding:15px;border-radius:8px;background-color:#fff;border:1px solid #eee}.web-vuln-cms div[data-v-d48867ea]{margin-bottom:8px}.web-vuln-cms div[data-v-d48867ea]:last-child{margin-bottom:0}.pagination-note[data-v-d48867ea]{margin-top:15px;text-align:center;font-style:italic;color:#666;font-size:14px}\n",document.head.appendChild(a);const c={key:0,class:"web-vuln-summary"},m={class:"web-vuln-list"},v=["item"],b=["item"],g=["href"],y={key:0,class:"pagination-note"};e("default",p(t({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const a=e,t={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"};return(e,p)=>(i(),l("div",null,[a.reportData?.website_vulnerabilities?(i(),l("div",c,[n("div",null,"Website Number："+r(a.reportData.website_vulnerabilities.site_num||0),1),n("div",null,"Vulnerability Number："+r(a.reportData.website_vulnerabilities.loophole_num||0),1)])):d("",!0),n("div",m,[(i(!0),l(o,null,s(a.data,(e=>(i(),l("div",{key:e.id,class:"web-vuln-site",item:e},[n("div",null,"Website："+r(e.name)+"（"+r(e.path)+"）",1),(i(!0),l(o,null,s(e.cms,(e=>{return i(),l("div",{key:e.name,class:"web-vuln-cms",item:e},[n("div",null,"Vulnerability Name："+r(e.name),1),n("div",null,"Risk Level："+r((a=e.dangerous,t[a])),1),n("div",null,"Description："+r(e.ps),1),n("div",null,[p[0]||(p[0]=u("Repair Suggestion：")),n("a",{href:e.repair,target:"_blank"},r(e.repair),9,g)])],8,b);var a})),128))],8,v)))),128)),a.totalPages>1?(i(),l("div",y," Total "+r(a.totalPages)+" pages, current page "+r(a.pageIndex+1)+". ",1)):d("",!0)])]))}}),[["__scopeId","data-v-d48867ea"]]))}}}));
