1import{u as m}from"./CorporateReportStore.7b26e49e.js";import{_ as k,E as w,x as R,o as n,i as C,M as r,c as e,w as t,O as s,R as i,k as a,am as u,y as l,f as p,n as _}from"./index.fbd140df.js";const g={name:"CertificatesBreakdown",data(){return{corporateReportStore:m(),cookieStore:w(),toastStore:R(),loading:!1}},computed:{canRunReport(){let o=this.cookieStore.timeouts.certBreakdownReport;return!o||Date.now()-o>3e5}},methods:{init(){this.loading=!0,this.cookieStore.timeouts.certBreakdownReport=Date.now(),this.corporateReportStore.getCertificatesBreakdown().then(o=>{this.toastStore.add("Report is being generated","success")}).finally(()=>this.loading=!1)}}},B={class:"bg-blue"},S=r("p",null,"Due to the size of this report, it will run in the background and we will notify you when it's ready.",-1),y=r("p",null,"Please allow up to 10 minutes.",-1);function v(o,x,V,b,f,c){const d=_("shape"),h=_("font-shape");return n(),C("div",null,[r("section",B,[e(d,{location:"top-left",variant:"tear",color:"purple",size:400}),e(d,{location:"top-right",variant:"square",color:"pink",size:400}),e(u,{class:"py-15"},{default:t(()=>[e(s,null,{default:t(()=>[e(i,{cols:"12",md:"6"},{default:t(()=>[r("h2",null,[e(h,{color:"lime",shape:"circle_quarter"}),a("Certificate activity breakdown report ")])]),_:1})]),_:1})]),_:1})]),e(u,null,{default:t(()=>[e(s,null,{default:t(()=>[e(i,{cols:"12"},{default:t(()=>[e(l,{variant:"text","prepend-icon":"mdi-arrow-left",to:{name:"CorporateReports"}},{default:t(()=>[a("Team reports")]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(i,{cols:"12"},{default:t(()=>[S,y]),_:1}),c.canRunReport?(n(),p(l,{key:0,onClick:c.init,loading:f.loading},{default:t(()=>[a("Run report")]),_:1},8,["onClick","loading"])):(n(),p(l,{key:1,variant:"outlined",disabled:""},{default:t(()=>[a("On cooldown")]),_:1}))]),_:1})]),_:1})])}const N=k(g,[["render",v]]);export{N as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.