import{k as c,$ as a,Z as o,F as l,P as u,_ as e,aa as t,ak as p}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 m={class:"issues-list"},v=["item"],g={class:"issue-header"},h={class:"issue-number"},k=["innerHTML"],y={class:"issue-level medium"},f={class:"issue-content"},b={class:"issue-ps"},M={class:"issue-tips"},x=["innerHTML"],L={key:0,class:"pagination-note"},T=c({__name:"MidRiskSection",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(H,n)=>(a(),o("div",m,[(a(!0),o(l,null,u(i.data,(s,d)=>(a(),o("div",{class:"issue-item medium",key:"medium-"+d,item:s},[e("div",g,[e("div",h,t(s.num),1),e("div",{class:"issue-name",innerHTML:s.name},null,8,k),e("div",y,t(s.level),1)]),e("div",f,[e("div",b,t(s.ps),1),e("div",M,[n[0]||(n[0]=e("div",{class:"tips-title"},"Solution：",-1)),e("div",{class:"tips-content",innerHTML:s.tips.replace(/\n/g,"<br>")},null,8,x)])])],8,v))),128)),i.totalPages>1?(a(),o("div",L," Total "+t(i.totalPages)+" pages, current page "+t(i.pageIndex+1)+". ",1)):p("",!0)]))}}),B=_(T,[["__scopeId","data-v-ec33b01c"]]);export{B as default};
