(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[638],{34755:(e,t,s)=>{"use strict";s.r(t);var n=s(6293),i=s(3571),r=s(95122),c=s(48015),o=s(87514),u=s.n(o),a=s(78930),l=s(67527),p=s(71930);function w({issue:e}){return(0,n.createElement)(a.SiteScanIssue,{key:e.id,issue:e,icon:l.Z},(0,n.createElement)(a.ScanIssueDetailContent,null,(0,n.createElement)(a.ScanIssueDetailColumn,null,(0,n.createElement)(p.xv,{text:(0,r.__)("Action Details:","better-wp-security"),weight:p.fs.HEAVY}),(0,n.createElement)(a.ScanIssueText,{text:(0,r.__)("Send a notification to this user to remind them to set up two-factor authentication.","better-wp-security")}))),(0,n.createElement)(a.SiteScanIssueActions,{issue:e}))}function m(){const{issues:e}=(0,c.useSelect)((e=>({issues:e(a.store).getIssuesForComponent("two-factor")})),[]);return(0,n.createElement)(React.Fragment,null,(0,n.createElement)(a.SiteScanIssuesFill,null,e.filter((e=>!e.muted)).map((e=>(0,n.createElement)(w,{key:e.id,issue:e})))),(0,n.createElement)(a.SiteScanMutedIssuesFill,null,e.filter((e=>e.muted)).map((e=>(0,n.createElement)(w,{key:e.id,issue:e})))))}s.p=window.itsecWebpackPublicPath,(0,r.setLocaleData)({"":{}},"ithemes-security-pro"),(0,i.registerPlugin)("itsec-two-factor-site-scan",{render:()=>(0,n.createElement)(m,null)}),(0,c.dispatch)(a.store).registerScanComponent({slug:"two-factor",priority:19,label:(0,r.__)("Two Factor","better-wp-security"),description:(0,r.__)("Check for users without two-factor enabled.","better-wp-security"),execute:async()=>u()({method:"GET",path:"/ithemes-security/v1/two-factor/scan"})})},67527:(e,t,s)=>{"use strict";s.d(t,{Z:()=>r});var n=s(6293),i=s(14776);const r=(0,n.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(i.Path,{d:"M12 3.176l6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 01-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176zM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21z",fillRule:"evenodd",clipRule:"evenodd"}))},78930:e=>{e.exports=function(){return this.itsec.pages["site-scan"]}()},87514:e=>{e.exports=function(){return this.wp.apiFetch}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},48015:e=>{e.exports=function(){return this.wp.data}()},82521:e=>{e.exports=function(){return this.wp.date}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React}},e=>{e.O(0,[1930],(()=>(34755,e(e.s=34755))));var t=e.O();((window.itsec=window.itsec||{})["two-factor"]=window.itsec["two-factor"]||{})["site-scan"]=t}]);