(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[8775],{3075:e=>{e.exports=function(){return this.wp.i18n}()},4818:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var n=s(55933),r=s(74848),i=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.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"})})},6263:e=>{e.exports=function(){return this.itsec.pages["site-scan"]}()},8601:e=>{e.exports=function(){return this.wp.element}()},31987:e=>{e.exports=function(){return this.wp.data}()},38125:e=>{e.exports=function(){return this.wp.plugins}()},39959:e=>{e.exports=function(){return this.wp.components}()},51609:e=>{"use strict";e.exports=window.React},55933:e=>{e.exports=function(){return this.wp.primitives}()},76931:(e,t,s)=>{"use strict";var n=s(51609),r=s(38125),i=s(3075),o=s(31987),c=s(85631),u=s.n(c),a=s(4818),l=s(6263),p=s(26843);function d(){const{issues:e}=(0,o.useSelect)((e=>({issues:e(l.store).getIssuesForComponent("passwords")})),[]);function t({issue:e}){return(0,n.createElement)(l.SiteScanIssue,{key:e.id,issue:e,icon:a.A},(0,n.createElement)(l.ScanIssueDetailContent,null,(0,n.createElement)(l.ScanIssueDetailColumn,null,(0,n.createElement)(p.EY,{text:(0,i.__)("Action Details:","better-wp-security"),weight:p.uL.HEAVY}),(0,n.createElement)(l.ScanIssueText,{text:(0,i.__)("Passwords are the first line of defense to your site’s security.","better-wp-security")}),(0,n.createElement)(l.ScanIssueText,{text:(0,i.__)("Enable strong password enforcement to require users to setup a strong password.","better-wp-security")}))),(0,n.createElement)(l.SiteScanIssueActions,{issue:e}))}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.SiteScanIssuesFill,null,e.filter((e=>!e.muted)).map((e=>(0,n.createElement)(t,{key:e.id,issue:e})))),(0,n.createElement)(l.SiteScanMutedIssuesFill,null,e.filter((e=>e.muted)).map((e=>(0,n.createElement)(t,{key:e.id,issue:e})))))}s.p=window.itsecWebpackPublicPath,(0,i.setLocaleData)({"":{}},"ithemes-security-pro"),(0,r.registerPlugin)("itsec-strong-passwords-site-scan",{render:()=>(0,n.createElement)(d,null)}),(0,o.dispatch)(l.store).registerScanComponent({slug:"passwords",priority:20,label:(0,i.__)("Password","better-wp-security"),description:(0,i.__)("Check for insecure password use on your site","better-wp-security"),execute:async()=>u()({method:"GET",path:"/ithemes-security/v1/strong-passwords/scan"})})},77172:e=>{e.exports=function(){return this.wp.url}()},79860:e=>{e.exports=function(){return this.wp.keycodes}()},85631:e=>{e.exports=function(){return this.wp.apiFetch}()},89897:e=>{e.exports=function(){return this.wp.compose}()},89959:e=>{e.exports=function(){return this.wp.date}()},96126:e=>{e.exports=function(){return this.wp.deprecated}()}},e=>{e.O(0,[6843],(()=>e(e.s=76931)));var t=e.O();((window.itsec=window.itsec||{})["strong-passwords"]=window.itsec["strong-passwords"]||{})["site-scan"]=t}]);