import{k as d,$ as a,Z as o,F as l,P as p,_ as s,aa as t,ak as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{c as _}from"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";const h={class:"issues-list"},g=["item"],m={class:"issue-header"},v={class:"issue-number"},k=["innerHTML"],y={class:"issue-level high"},f={class:"issue-content"},H={class:"issue-ps"},b={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=d({__name:"HighRiskSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(r){const i=r;return(M,n)=>(a(),o("div",h,[(a(!0),o(l,null,p(i.data,(e,c)=>(a(),o("div",{class:"issue-item high",key:"high-"+c,item:e},[s("div",m,[s("div",v,t(e.num),1),s("div",{class:"issue-name",innerHTML:e.name},null,8,k),s("div",y,t(e.level),1)]),s("div",f,[s("div",H,t(e.ps),1),s("div",b,[n[0]||(n[0]=s("div",{class:"tips-title"},"Solution：",-1)),s("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"<br>")},null,8,x)])])],8,g))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):u("",!0)]))}}),B=_(T,[["__scopeId","data-v-71e52ac0"]]);export{B as default};
