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