HEX
Server: nginx/1.18.0
System: Linux vcwordpress 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vcstore.viitorcloud.co/wp-content/plugins/better-wp-security/dist/pages/user-security.js
/*! For license information please see user-security.js.LICENSE.txt */
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[9393],{79612:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(90071),a=r(17563),s=r(92819);function i(e,t){const r=(0,n.lX)(),i=r=>{const s="string"==typeof r?(0,n.cP)(r):r,i=(0,a.parse)(s.search?.substring(1))||{};return{...s,pathname:e.pathname,search:"?"+(0,a.stringify)({...i,path:s.pathname,...t})}};return{get length(){return r.length},get action(){return r.action},get location(){const e=(0,a.parse)(r.location.search.substring(1)),n=e.path||"/";return{...r.location,pathname:n,search:"?"+(0,a.stringify)((0,s.omit)(e,["path",Object.keys(t)]))}},createHref:e=>r.createHref(i(e)),push:(e,t)=>{r.push(i(e),t)},replace:(e,t)=>{r.replace(i(e),t)},go:(...e)=>r.go.apply(r,e),goBack:(...e)=>r.goBack.apply(r,e),goForward:(...e)=>r.goForward.apply(r,e),block:(...e)=>r.block.apply(r,e),listen(e){return r.listen((()=>{e(this.location,this.action)}))}}}},13970:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditingModalActionButton:()=>qe,EditingModalActionDropdown:()=>Ye,EditingModalActionFill:()=>nt,UserSecurityActionsFill:()=>Ee,UserSecurityFilterFill:()=>ve});var n=r(6293),a=r(25993),s=r.n(a),i=r(95122),o=r(48015),l=r(96509),c=r(16550),u=r(42236),m=r(12614),d=r(64893),p=r(3571),g=r(25703),h=r(71930),f=r(47959),v=r(52117);const y=(0,v.Z)(h.qX,{target:"eb87goi0"})({name:"xyzkeb",styles:"align-self:flex-start"});function E({}){const{toggle:e}=(0,o.useDispatch)(l.store),{showUserGroupNotice:t}=(0,o.useSelect)((e=>({showUserGroupNotice:e(l.store).get("ithemes-security/users","howToEditUserGroups")})),[]);return(0,n.createElement)(React.Fragment,null,t&&(0,n.createElement)(y,{text:(0,i.__)("Filter the user groups whose security requirements you’d like to edit with the “Edit User Group Settings” feature.","better-wp-security"),onDismiss:()=>e("ithemes-security/users","howToEditUserGroups")}))}const x=(0,v.Z)(h.Tg,{target:"exd98313"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),w=(0,v.Z)("div",{target:"exd98312"})("display:flex;flex-direction:column;gap:1rem;width:100%;max-width:1680px;margin:0 auto;padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.25)}`),";"),_=(0,v.Z)("header",{target:"exd98311"})("padding:",(({theme:{getSize:e}})=>`${e(1)} 0`),";"),S=(0,v.Z)(d.SnackbarList,{target:"exd98310"})({name:"fbf7yj",styles:".components-snackbar{margin:0 auto;}"});function b(){return(0,n.createElement)(_,null,(0,n.createElement)(h.X6,{level:1,weight:h.fs.NORMAL,text:(0,i.__)("User Security","better-wp-security")}),(0,n.createElement)(h.xv,{text:(0,i.__)("Select user groups to edit using the filter options, and take quick security actions on multiple users at once.","better-wp-security")}))}const O=(0,v.Z)("header",{target:"ep9r2ry0"})("display:flex;justify-content:space-between;align-items:center;padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.5)}`),";");var L=r(31600);function N(){const{openQuickEdit:e}=(0,o.useDispatch)(L.userSecurityStore),{selectedUsers:t}=(0,o.useSelect)((e=>({selectedUsers:e(L.userSecurityStore).getCurrentlySelectedUsers()})),[]);return(0,n.createElement)(O,null,(0,n.createElement)("div",null,(0,n.createElement)(h.X6,{level:2,size:h.yH.LARGE,variant:h.rK.DARK,weight:600,text:(0,i.__)("User Security","better-wp-security")}),(0,n.createElement)(h.xv,{text:(0,i.__)("Review the security of users on your site.","better-wp-security"),variant:h.rK.MUTED})),t.length>0&&(0,n.createElement)(h.zx,{text:(0,i.__)("Quick Actions - Edit Multiple Users","better-wp-security"),onClick:e,variant:"primary"}))}var k=r(9576),A=r(96015),I=r(83904),z=r(36179);const Z=(0,v.Z)(h.Tg,{target:"e101dema22"})({name:"ic1ezh",styles:"flex-shrink:1;position:relative"}),M=(0,v.Z)("img",{target:"e101dema21"})({name:"1pt08r5",styles:"width:2.5rem;border-radius:50%"}),T=(0,v.Z)(d.Icon,{target:"e101dema20"})({name:"o0zq48",styles:"fill:white;background-color:#438C56;border-radius:2rem"}),C=(0,v.Z)(d.Icon,{target:"e101dema19"})({name:"i7362z",styles:"background-color:#FFABAF;border-radius:2rem"}),U=(0,v.Z)("th",{target:"e101dema18"})("display:grid;grid-template-columns:0fr 0fr 1fr;align-items:center;gap:",(({theme:{getSize:e}})=>e(.25)),";padding-top:",(({theme:{getSize:e}})=>e(.25)),"!important;padding-bottom:",(({theme:{getSize:e}})=>e(.25)),"!important;"),P=(0,v.Z)("div",{target:"e101dema17"})("display:grid;grid-template-columns:0fr 0fr 1fr;align-items:center;gap:",(({theme:{getSize:e}})=>e(.5)),";padding-top:",(({theme:{getSize:e}})=>e(.75)),"!important;padding-bottom:",(({theme:{getSize:e}})=>e(.75)),"!important;"),j=(0,v.Z)(z.Z8,{target:"e101dema16"})({name:"1ci5vdh",styles:".components-base-control__field{margin-bottom:0;span{margin-right:0;}}"}),R=(0,v.Z)(d.Dropdown,{target:"e101dema15"})({name:"1ej62vj",styles:"justify-content:center;display:flex"}),D=(0,v.Z)(h.X6,{target:"e101dema14"})({name:"1bmnxg7",styles:"white-space:nowrap"}),V=(0,v.Z)(h.xv,{target:"e101dema13"})({name:"1bmnxg7",styles:"white-space:nowrap"}),H=(0,v.Z)(h.Tg,{target:"e101dema12"})("padding:",(({theme:{getSize:e}})=>`${e(.2)} ${e(.4)}`),";display:flex;gap:",(({theme:{getSize:e}})=>e(.6)),";flex-direction:column;"),F=(0,v.Z)(h.xv,{target:"e101dema10"})(""),B=(0,v.Z)(h.zx,{target:"e101dema9"})({name:"35yyfd",styles:"font-weight:600;text-transform:capitalize"}),W=(0,v.Z)(h.zx,{target:"e101dema8"})({name:"125zl23",styles:"padding:0!important;min-width:24px!important"}),G=(0,v.Z)(h.Tg,{target:"e101dema7"})("display:",(({isExpanded:e})=>e?"table-row":"none"),";"),$=(0,v.Z)(h.xv,{target:"e101dema6"})({name:"1fu2p8",styles:"text-align:left;color:#858585"}),Q=(0,v.Z)("tr",{target:"e101dema5"})(""),K=(0,v.Z)(h.xv,{target:"e101dema4"})({name:"1gh9gcm",styles:"text-align:right;justify-content:right;padding:0.4rem 2.5rem 0.4rem 0;border-spacing:0;border-bottom:0"}),q=(0,v.Z)("table",{target:"e101dema3"})({name:"dvln85",styles:"width:100%;border-collapse:collapse;border-spacing:0;border-right:2px solid #d9d9d9!important"}),Y=(0,v.Z)("tbody",{target:"e101dema2"})({name:"1w0o1t2",styles:"padding:0 2.5rem"}),X=(0,v.Z)(h.xv,{target:"e101dema1"})({name:"15ewrm",styles:"border-bottom:none;padding:0.4rem 2.5rem 0.4rem 0!important"}),J=(0,v.Z)("td",{target:"e101dema0"})({name:"1f90hou",styles:"padding:1rem 2.5rem!important"});function ee(){const{updateUserSelectionType:e}=(0,o.useDispatch)(L.userSecurityStore);return(0,n.createElement)(R,{popoverProps:{placement:"bottom-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(W,{variant:"tertiary",onClick:t,"aria-expanded":e,icon:e?A.Z:I.Z,align:"center"}),renderContent:()=>(0,n.createElement)(H,null,(0,n.createElement)(D,{level:2,size:h.yH.LARGE,variant:h.rK.DARK,weight:600,text:(0,i.__)("User Selection","better-wp-security")}),(0,n.createElement)(V,{text:(0,i.__)("Checkbox Options","better-wp-security"),textTransform:"uppercase",variant:h.rK.MUTED,size:h.yH.SMALL}),(0,n.createElement)(B,{onClick:()=>{e("all")},text:(0,i.__)("All","better-wp-security"),variant:"tertiary",align:"left"}),(0,n.createElement)(B,{onClick:()=>{e("window")},text:(0,i.__)("Only this page","better-wp-security"),variant:"tertiary",align:"left"}),(0,n.createElement)(B,{onClick:()=>{e("none")},text:(0,i.__)("None","better-wp-security"),variant:"tertiary",align:"left"}))})}var te=r(87462),re=r(27231),ne=r(28184),ae=r(31511);function se(e){switch(e){case null:case"":case"not-enabled":return(0,n.createElement)(C,{icon:re.Z,style:{fill:"#D75A4B"}});case"enforced-not-configured":case"enabled":return(0,n.createElement)(T,{icon:ne.Z,style:{fill:"#FFFFFF"}})}}function ie(e){switch(e){case null:case"not-enabled":return(0,i.__)("Disabled","better-wp-security");case"enforced-not-configured":return(0,i.__)("Enforced","better-wp-security");case"enabled":return(0,i.__)("Enabled","better-wp-security")}}function oe(e){switch(e){case 0:case 1:return{indicator:"#C10000",text:(0,i._x)("Very Weak","password strength","better-wp-security")};case 2:return{indicator:"#f78b53",text:(0,i._x)("Weak","password strength","better-wp-security")};case 3:return{indicator:"#F4C520",text:(0,i._x)("Medium","password strength","better-wp-security")};case 4:return{indicator:"#00BA37",text:(0,i._x)("Strong","password strength","better-wp-security")};default:return{indicator:"#545454",text:(0,i._x)("Unknown","password strength","better-wp-security")}}}function le({user:e,isMedium:t,isLarge:r}){const{isChecked:a,roles:s}=(0,o.useSelect)((t=>({isChecked:t(L.userSecurityStore).isUserSelected(e.id),roles:t(L.CORE_STORE_NAME).getRoles()})),[e.id]),{toggleSelectedUser:l,openQuickEdit:c,removeSelectedUsers:u}=(0,o.useDispatch)(L.userSecurityStore),[m,d]=(0,n.useState)(!1);return s?(0,n.createElement)(React.Fragment,null,(0,n.createElement)("tr",{key:e.id},(0,n.createElement)("td",null,(0,n.createElement)(P,null,(0,n.createElement)(j,{checked:a,onChange:()=>{l(e)},label:(0,i.sprintf)((0,i.__)("Select %s in Table","better-wp-security"),e.name),hideLabelFromVision:!0}),e?.avatar_urls?.[48]&&(0,n.createElement)(M,{src:e?.avatar_urls?.[48],alt:""}),(0,n.createElement)(B,{text:e.name,href:e.solid_edit_user_link,variant:"link",align:"left"}))),t&&(0,n.createElement)("td",null,(0,n.createElement)(h.xv,{text:e.roles?.map((e=>{var t;return null!==(t=s[e]?.label)&&void 0!==t?t:e})).join(", "),textTransform:"capitalize"})),r&&(0,n.createElement)("td",null,e.solid_last_seen?(0,n.createElement)(h.xv,{text:(0,ae.VG)(new Date(e.solid_last_seen))}):(0,n.createElement)(h.xv,{text:(0,i.__)("No Login Info","better-wp-security")})),t&&(0,n.createElement)("td",null,(0,n.createElement)(h.xv,(0,te.Z)({weight:h.fs.HEAVY},oe(e.solid_password_strength)))),r&&(0,n.createElement)("td",null,(0,n.createElement)(h.xv,{text:(0,ae.VG)(new Date(e.solid_password_changed))})),t&&(0,n.createElement)("td",null,(0,n.createElement)(h.xv,{icon:se(e.solid_2fa),iconSize:16,text:ie(e.solid_2fa)})),(0,n.createElement)("td",null,(0,n.createElement)(h.zx,{variant:"secondary",text:(0,i.__)("Edit User","better-wp-security"),align:"right",onClick:()=>{c(),a||(u(),l(e))}})),!r&&(0,n.createElement)("td",null,(0,n.createElement)(h.zx,{"aria-controls":`solid-user-details-${e.id}`,"aria-expanded":m,icon:m?A.Z:I.Z,iconPosition:"right",onClick:()=>d(!m),variant:"tertiary",label:(0,i.__)("View Details","better-wp-security")}))),!r&&(0,n.createElement)(ce,{user:e,isExpanded:m})):null}function ce({user:e,isExpanded:t}){const{roles:r}=(0,o.useSelect)((e=>({roles:e(L.CORE_STORE_NAME).getRoles()})),[]);return(0,n.createElement)(G,{as:"tr",id:`solid-user-details-${e.id}`,isExpanded:t,variant:"tertiary"},(0,n.createElement)(J,{colSpan:100},(0,n.createElement)(q,null,(0,n.createElement)($,{as:"caption",text:(0,i.__)("Additional User Details","better-wp-security"),weight:h.fs.HEAVY}),(0,n.createElement)(Y,{className:"solid-user-details"},(0,n.createElement)(Q,null,(0,n.createElement)(X,{as:"th",text:(0,i.__)("Role:","better-wp-security"),variant:h.rK.MUTED}),(0,n.createElement)(K,{as:"td",text:e.roles?.map((e=>{var t;return null!==(t=r[e]?.label)&&void 0!==t?t:e})).join(", "),weight:h.fs.HEAVY,variant:h.rK.MUTED})),(0,n.createElement)(Q,null,(0,n.createElement)(X,{as:"th",text:(0,i.__)("Last Seen:","better-wp-security"),variant:h.rK.MUTED}),e.solid_last_seen?(0,n.createElement)(K,{as:"td",text:(0,ae.VG)(new Date(e.solid_last_seen)),weight:h.fs.HEAVY,variant:h.rK.MUTED}):(0,n.createElement)(K,{as:"td",text:(0,i.__)("No Login Info","better-wp-security"),weight:h.fs.HEAVY})),(0,n.createElement)(Q,null,(0,n.createElement)(X,{as:"th",text:(0,i.__)("PW Strength:","better-wp-security"),variant:h.rK.MUTED}),(0,n.createElement)(K,(0,te.Z)({as:"td",weight:h.fs.HEAVY},oe(e.solid_password_strength),{variant:h.rK.MUTED}))),(0,n.createElement)(Q,null,(0,n.createElement)(X,{as:"th",text:(0,i.__)("PW Age:","better-wp-security"),variant:h.rK.MUTED}),(0,n.createElement)(K,{as:"td",weight:h.fs.HEAVY,text:(0,ae.VG)(new Date(e.solid_password_changed)),variant:h.rK.MUTED})),(0,n.createElement)(Q,null,(0,n.createElement)(X,{as:"th",text:(0,i.__)("Two-Factor:","better-wp-security"),variant:h.rK.MUTED}),(0,n.createElement)(K,{as:"td",icon:se(e.solid_2fa),iconSize:16,text:ie(e.solid_2fa),weight:h.fs.HEAVY,variant:h.rK.MUTED}))))))}function ue(){const{users:e,selectAllState:t}=(0,o.useSelect)((e=>({users:e(L.userSecurityStore).getUsers(),selectedUsers:e(L.userSecurityStore).getCurrentlySelectedUsers(),selectAllState:e(L.userSecurityStore).getSelectAllState()})),[]),{toggleSelectAll:r}=(0,o.useDispatch)(L.userSecurityStore),a=(0,k.useViewportMatch)("medium"),s=(0,k.useViewportMatch)("large");return(0,n.createElement)(Z,{as:"section"},(0,n.createElement)("table",{className:"itsec-user-security__table"},(0,n.createElement)("thead",null,(0,n.createElement)("tr",null,(0,n.createElement)(U,{as:"th"},(0,n.createElement)(j,{checked:"checked"===t,onChange:()=>{r("main")},label:(0,i.__)("Select all users","better-wp-security"),hideLabelFromVision:!0,indeterminate:"indeterminate"===t}),(0,n.createElement)(ee,null),(0,n.createElement)(F,{as:"span",text:(0,i.__)("User","better-wp-security"),textTransform:"uppercase"})),a&&(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("Role","better-wp-security"),textTransform:"uppercase"}),s&&(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("Last Seen","better-wp-security"),textTransform:"uppercase"}),a&&(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("PW Strength","better-wp-security"),textTransform:"uppercase"}),s&&(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("PW Age","better-wp-security"),textTransform:"uppercase"}),a&&(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("2FA","better-wp-security")}),(0,n.createElement)(h.xv,{as:"th",text:(0,i.__)("Actions","better-wp-security"),textTransform:"uppercase"}),!s&&(0,n.createElement)("th",null,(0,n.createElement)(d.VisuallyHidden,null,(0,i.__)("User Details Toggle","better-wp-security"))))),(0,n.createElement)("tbody",null,e.map((e=>(0,n.createElement)(le,{key:e.id,user:e,isMedium:a,isLarge:s}))))))}var me=r(92819),de=r(89522);const pe=(0,v.Z)("div",{target:"eypce802"})({name:"r2g86h",styles:"display:flex;align-items:center;gap:1rem"}),ge=(0,v.Z)(h.x$,{target:"eypce801"})({name:"lee4ct",styles:"width:350px"}),he=(0,v.Z)("span",{target:"eypce800"})({name:"14cgj8g",styles:"color:#c0c0c0"}),{Slot:fe,Fill:ve}=(0,d.createSlotFill)("userSecurityFilters"),{Slot:ye,Fill:Ee}=(0,d.createSlotFill)("UserSecurityActions"),xe={roles:["administrator"]},we={per_page:20,context:"edit"};function _e(){const[e,t]=(0,n.useState)(xe),{query:r}=(0,o.useDispatch)(L.userSecurityStore),{isQuerying:a}=(0,o.useSelect)((e=>({isQuerying:e(L.userSecurityStore).isQuerying("main")})),[]),{roles:s}=(0,o.useSelect)((e=>({roles:e(L.CORE_STORE_NAME).getRoles()})),[]),l=Object.entries(s||{}).map((([e,t])=>({value:e,label:t.label}))),c=e=>{t(e),r("main",{...e,...we})};return(0,n.createElement)(pe,null,(0,n.createElement)(d.Dropdown,{popoverProps:{focusOnMount:"container"},renderToggle:({isOpen:t,onToggle:r})=>(0,n.createElement)(h.zx,{icon:de.Z,onClick:r,"aria-expanded":t,variant:"tertiary",text:(0,i.sprintf)((0,i.__)("Filter (%d)","better-wp-security"),Object.keys(e).filter((t=>!(0,me.isEmpty)(e[t]))).length)}),renderContent:()=>(0,n.createElement)(ge,{initialValue:e,initialOpen:["user_group"],expandSingle:!0,isBusy:a,onApply:c},(0,n.createElement)(fe,null),(0,n.createElement)(h.By,{slug:"roles",title:(0,i.__)("Role","better-wp-security"),options:l}),(0,n.createElement)(h.o5,{slug:"solid_last_seen",title:(0,i.__)("User Last Seen","better-wp-security"),presets:[{time:86400,label:(0,i.__)("24 hours","better-wp-security"),summary:(0,i.__)("Seen within 24 hours","better-wp-security")},{time:604800,label:(0,i.__)("7 days","better-wp-security"),summary:(0,i.__)("Seen within 7 days","better-wp-security")},{time:2592e3,label:(0,i.__)("30 days","better-wp-security"),summary:(0,i.__)("Seen within 30 days","better-wp-security")}],allowCustom:!0}),(0,n.createElement)(h.By,{slug:"solid_password_strength",title:(0,i.__)("Password Strength","better-wp-security"),options:[{value:"1",label:(0,i.__)("Very Weak","better-wp-security"),summary:(0,i.__)("PW is very weak","better-wp-security")},{value:"2",label:(0,i.__)("Weak","better-wp-security"),summary:(0,i.__)("PW is weak","better-wp-security")},{value:"3",label:(0,i.__)("Medium","better-wp-security"),summary:(0,i.__)("PW is medium","better-wp-security")},{value:"4",label:(0,i.__)("Strong","better-wp-security"),summary:(0,i.__)("PW is strong","better-wp-security")}]}),(0,n.createElement)(h.o5,{slug:"solid_password_changed",title:(0,i.__)("Password Changed","better-wp-security"),presets:[{time:604800,label:(0,i.__)("Within 7 days","better-wp-security"),summary:(0,i.__)("PW changed within 7 days","better-wp-security")},{time:2592e3,label:(0,i.__)("Within 30 days","better-wp-security"),summary:(0,i.__)("PW changed within 30 days","better-wp-security")},{time:7776e3,label:(0,i.__)("Within 90 days","better-wp-security"),summary:(0,i.__)("PW changed within 90 days","better-wp-security")}],allowCustom:!0}))}),(0,n.createElement)(h.zx,{onClick:()=>c(xe),variant:"tertiary",text:(0,i.__)("Reset All","better-wp-security")}),(0,n.createElement)(he,null,"|"),(0,n.createElement)(ye,null))}const Se=(0,v.Z)(d.Modal,{target:"e18pjv2p25"})("max-width:766px;min-width:480px;.components-modal__content{padding:0;}.components-modal__header{padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1.5)}`),";& button:hover{color:",(({theme:e})=>e.colors.secondary.darker20),";}& button:focus{box-shadow:0 0 0 2px ",(({theme:e})=>e.colors.primary.base),";}}.components-modal__header-heading{font-size:",(({theme:{getSize:e}})=>e(1)),";}"),be=(0,v.Z)("div",{target:"e18pjv2p24"})("display:flex;flex-direction:column;gap:",(({theme:{getSize:e}})=>e(1)),";"),Oe=(0,v.Z)(h.zx,{target:"e18pjv2p23"})({name:"4zw3mx",styles:"align-self:flex-start;padding-left:1rem!important"}),Le=(0,v.Z)(h.aV,{target:"e18pjv2p22"})("display:grid;grid-template-columns:1fr 1fr;gap:",(({theme:{getSize:e}})=>e(1)),";"),Ne=(0,v.Z)(h.X6,{target:"e18pjv2p21"})({name:"1d5axrx",styles:"padding:0.5rem 1.5rem"}),ke=(0,v.Z)("div",{target:"e18pjv2p20"})("display:flex;gap:",(({theme:{getSize:e}})=>e(1)),";flex-direction:row;flex-wrap:wrap;padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.5)}`),";"),Ae=(0,v.Z)(h.xv,{target:"e18pjv2p19"})("background:#e7e7e7;border-radius:25px;padding:",(({theme:{getSize:e}})=>e(.5)),";"),Ie=(0,v.Z)(h.X6,{target:"e18pjv2p18"})("padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1.5)}`),";"),ze=(0,v.Z)(h.HC,{target:"e18pjv2p17"})({name:"37snfb",styles:"padding-left:1.5rem!important"}),Ze=(0,v.Z)("div",{target:"e18pjv2p16"})("display:grid;grid-template-columns:repeat( auto-fit, minmax( 240px, 1fr ) );padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.5)} ${e(1.2)} ${e(1.5)}`),";gap:",(({theme:{getSize:e}})=>e(2)),";"),Me=(0,v.Z)("div",{target:"e18pjv2p15"})("display:flex;flex-direction:column;gap:",(({theme:{getSize:e}})=>e(.75)),";"),Te=(0,v.Z)(h.zx,{target:"e18pjv2p14"})({name:"apkk8b",styles:"align-self:flex-start;margin-top:auto"}),Ce=(0,v.Z)(h.Tg,{target:"e18pjv2p13"})("padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1.5)}`),";background:#f6f7f7!important;"),Ue=(0,v.Z)(h.xv,{target:"e18pjv2p12"})("padding:",(({theme:{getSize:e}})=>`${e(1)} 0`),";"),Pe=(0,v.Z)(h.zx,{target:"e18pjv2p10"})({name:"swtdrk",styles:"min-width:24px!important;border:1px solid #757575"}),je=(0,v.Z)(d.Dropdown,{target:"e18pjv2p9"})({name:"n92jwq",styles:"display:flex;.components-dropdown__content .components-popover__content{padding:0!important;}"}),Re=(0,v.Z)(h.X6,{target:"e18pjv2p8"})("white-space:nowrap;padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1)}`),";"),De=(0,v.Z)(h.Tg,{target:"e18pjv2p6"})({name:"16nkjnf",styles:"display:flex;flex-direction:column;min-width:280px"}),Ve=(0,v.Z)(h.Tg,{target:"e18pjv2p5"})("padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1)}`),";background:#F6F7F7!important;max-height:180px;overflow-y:auto;"),He=(0,v.Z)(h.zx,{target:"e18pjv2p4"})({name:"exfldl",styles:"background:black!important;color:#fff!important;align-self:center;margin:1rem"}),Fe=(0,v.Z)("div",{target:"e18pjv2p3"})("padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.5)}`),";"),Be=(0,v.Z)("div",{target:"e18pjv2p1"})("padding:",(({theme:{getSize:e}})=>`${e(1)} ${e(1.5)}`),";"),We=(0,v.Z)(h.xv,{target:"e18pjv2p0"})({name:"1duj7gx",styles:"align-self:flex-end"});function Ge({setActiveActions:e,actions:t,confirmationMessages:r,setConfirmationMessages:a}){return(0,n.createElement)(React.Fragment,null,Object.entries(r).map((([s,i])=>(0,n.createElement)(h.zx,{text:i,variant:"link",onClick:()=>{e((0,me.omit)(t,s)),a((0,me.omit)(r,s))},icon:re.Z,iconGap:0,key:s}))))}function $e({label:e,value:t,indeterminate:r,selectedOptions:a,setSelectedOptions:s}){const i=a.includes(t);return(0,n.createElement)(z.Z8,{checked:i,label:e,onChange:e=>{s(e?[...a,t]:a.filter((e=>e!==t)))},indeterminate:!i&&r})}function Qe({dropdownTitle:e,dropdownButtonText:t,slug:r,options:a,confirmationText:s,...o}){const{activeActions:l,setActiveActions:c,confirmationMessages:u,setConfirmationMessages:m}=(0,n.useContext)(tt),[d,p]=(0,n.useState)([]),g=a.map((e=>d.includes(e.value)?e.label:"")).filter((e=>""!==e)).join(", ");return(0,n.createElement)(je,{contentClassName:"itsec-user-security-modal-dropdown",popoverProps:{placement:"bottom-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(Pe,{variant:"tertiary",onClick:t,"aria-expanded":e,text:(0,me.truncate)(g)||(0,i.__)("Select Options","better-wp-security"),icon:e?A.Z:I.Z,iconPosition:"right"}),renderContent:({onToggle:i})=>(0,n.createElement)(De,null,(0,n.createElement)(Re,{level:2,size:h.yH.LARGE,variant:h.rK.DARK,weight:600,text:e}),(0,n.createElement)(Ve,{variant:"secondary"},a.map((e=>(0,n.createElement)($e,{label:e.label,value:e.value,selectedOptions:d,setSelectedOptions:p,key:e.value,indeterminate:e.indeterminate})))),(0,n.createElement)(He,(0,te.Z)({text:t,onClick:()=>{c({...l,[r]:d}),m({...u,[r]:s}),i()}},o)))})}function Ke({title:e,description:t}){return(0,n.createElement)(React.Fragment,null,(0,n.createElement)(h.xv,{weight:h.fs.HEAVY,text:e}),(0,n.createElement)(h.xv,{text:t}))}function qe({title:e,description:t,buttonText:r,slug:a,confirmationText:s,...i}){const{activeActions:o,setActiveActions:l,confirmationMessages:c,setConfirmationMessages:u}=(0,n.useContext)(tt);return(0,n.createElement)(Me,null,(0,n.createElement)(Ke,{title:e,description:t}),(0,n.createElement)(Te,(0,te.Z)({variant:"secondary",onClick:()=>{l({...o,[a]:!0}),u({...c,[a]:s})}},i),r))}function Ye({title:e,description:t,dropdownTitle:r,dropdownButtonText:a,slug:s,confirmationText:i,options:o,...l}){return(0,n.createElement)(Me,null,(0,n.createElement)(Ke,{title:e,description:t}),(0,n.createElement)(Qe,(0,te.Z)({dropdownTitle:r,dropdownButtonText:a,slug:s,confirmationText:i,options:o},l)))}function Xe(){const{selectedUsers:e,userSelectionType:t}=(0,o.useSelect)((e=>({selectedUsers:e(L.userSecurityStore).getCurrentlySelectedUsers(),userSelectionType:e(L.userSecurityStore).getUserSelectionType()})),[]);return(0,n.createElement)(React.Fragment,null,(0,n.createElement)(Ne,{level:4,text:et(e,t),weight:h.fs.HEAVY,size:h.yH.NORMAL}),(0,n.createElement)(ke,null,e.slice(0,10).map(((e,t)=>(0,n.createElement)(Je,{userId:e,key:t}))),e.length>10&&(0,n.createElement)(We,{text:(0,i.sprintf)((0,i._n)("%s more user…","%s more users…",e.length-10,"better-wp-security"),e.length-10)})))}function Je({userId:e}){const{user:t}=(0,o.useSelect)((t=>({user:t(L.userSecurityStore).getUserById(e)})));return(0,n.createElement)(Ae,{text:t.name,weight:h.fs.HEAVY})}function et(e,t){return"all"===t?(0,i.__)("All users Selected","better-wp-security"):(0,i.sprintf)((0,i._n)("%s User selected","%s Users selected",e.length,"better-wp-security"),e.length)}const tt=(0,n.createContext)({activeActions:{},setActiveActions:me.noop,confirmationMessages:{},setConfirmationMessages:me.noop}),{Slot:rt,Fill:nt}=(0,d.createSlotFill)("editingModalActions");function at({setActiveActions:e,activeActions:t,confirmationMessages:r,setConfirmationMessages:a}){const s=(0,n.useMemo)((()=>({activeActions:t,setActiveActions:e,confirmationMessages:r,setConfirmationMessages:a})),[t,e,r,a]),{confirmQuickEdit:l}=(0,o.useDispatch)(L.userSecurityStore);return(0,n.createElement)(tt.Provider,{value:s},(0,n.createElement)(Xe,null),(0,n.createElement)(Ie,{level:2,weight:h.fs.HEAVY,text:(0,i.__)("Quick User Actions","LION "),size:h.yH.LARGE}),(0,n.createElement)(Ze,null,(0,n.createElement)(rt,null),(0,n.createElement)(qe,{title:(0,i.__)("Force Users to Reset Passwords","better-wp-security"),description:(0,i.__)("Change passwords immediately following a breach where user accounts may have been compromised.","better-wp-security"),buttonText:(0,i.__)("Force a Password Reset","better-wp-security"),slug:"reset-password",confirmationText:(0,i.__)("Sending Password Reset","better-wp-security")}),(0,n.createElement)(qe,{title:(0,i.__)("Delete users' account","better-wp-security"),description:(0,i.__)("Remove unused user accounts.","better-wp-security"),buttonText:(0,i.__)("Delete Accounts","better-wp-security"),slug:"delete",isDestructive:!0,confirmationText:(0,i.__)("Deleting Accounts","better-wp-security")}),(0,n.createElement)(qe,{title:(0,i.__)("Force a User Lockout","better-wp-security"),description:(0,i.__)("Use this option to terminate an active user session immediately.","better-wp-security"),buttonText:(0,i.__)("Force User Logout","better-wp-security"),slug:"force-logout",isDestructive:!0,confirmationText:(0,i.__)("Forcing Logout","better-wp-security")})),(0,n.createElement)(Ce,{variant:"secondary"},(0,n.createElement)(Ue,{as:"p",text:(0,i.__)("Selected changes","better-wp-security"),variant:h.rK.MUTED}),(0,n.createElement)(Ge,{setActiveActions:e,actions:t,confirmationMessages:r,setConfirmationMessages:a})),(0,n.createElement)(Fe,null,(0,n.createElement)(h.zx,{text:(0,i.__)("Review Changes","better-wp-security"),variant:"primary",onClick:()=>{l()}})))}var st=r(14776);const it=(0,n.createElement)(st.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(st.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));function ot({items:e,activeActions:t,setActiveActions:r,confirmationMessages:a,setConfirmationMessages:s}){const{currentlySelectedUsers:l,userSelectionType:c,isApplyingQuickActions:u,quickActionErrors:m}=(0,o.useSelect)((e=>({currentlySelectedUsers:e(L.userSecurityStore).getCurrentlySelectedUsers(),userSelectionType:e(L.userSecurityStore).getUserSelectionType(),isApplyingQuickActions:e(L.userSecurityStore).isApplyingQuickActions("main")||e(L.userSecurityStore).isApplyingQuickActions("bulk-select"),quickActionErrors:e(L.userSecurityStore).getQuickActionsError("main")||e(L.userSecurityStore).getQuickActionsError("bulk-select")})),[]),{openQuickEdit:d,applyQueryActionsToUsers:p,applyQuickActionsToQuery:g}=(0,o.useDispatch)(L.userSecurityStore);return(0,n.createElement)(be,null,(0,n.createElement)(Oe,{variant:"tertiary",text:(0,i.__)("Back to Quick User Security Actions","better-wp-security"),onClick:()=>{d()},icon:it}),m&&(0,n.createElement)(h.rN,{type:"danger",messages:m?[m.message||(0,i.__)("An unexpected error occurred.","better-wp-security")]:[]}),(0,n.createElement)(Xe,{items:e}),(0,n.createElement)(Ne,{text:(0,i.__)("Are you sure you want to make these edits?","better-wp-security"),level:2,weight:h.fs.HEAVY,size:h.yH.NORMAL}),(0,n.createElement)(Le,null,Object.entries(a).map((([e,t])=>(0,n.createElement)(ze,{text:t,icon:ne.Z,textSize:h.yH.NORMAL,key:e})))),(0,n.createElement)(Be,null,(0,n.createElement)(h.zx,{variant:"primary",text:(0,i.__)("Confirm Edits","better-wp-security"),onClick:async()=>{let e="";switch(c){case"all":e=await g("main",c,t);break;case"window":e=await p(l,t,"bulk-select")}null===e&&(r({}),s({}))},isBusy:u})))}function lt(){const[e,t]=(0,n.useState)({}),[r,a]=(0,n.useState)({}),{selectedUsers:s,quickEditState:l}=(0,o.useSelect)((e=>({selectedUsers:e(L.userSecurityStore).getCurrentlySelectedUsers(),quickEditState:e(L.userSecurityStore).getQuickEditState()})),[]),{closeQuickEdit:c}=(0,o.useDispatch)(L.userSecurityStore);return(0,n.createElement)(React.Fragment,null,l&&(0,n.createElement)(Se,{title:!0===l?(0,i.__)("Quick User Security Actions","better-wp-security"):(0,i.__)("Quick User Security Actions - Confirm Actions","better-wp-security"),onRequestClose:c},"confirm"!==l&&(0,n.createElement)(at,{setActiveActions:t,activeActions:e,confirmationMessages:r,setConfirmationMessages:a}),"confirm"===l&&(0,n.createElement)(ot,{activeActions:e,setActiveActions:t,items:s,confirmationMessages:r,setConfirmationMessages:a})))}var ct=r(16282),ut=r(62462);const mt=(0,v.Z)("div",{target:"ekcvhn40"})({name:"1vltohq",styles:"display:flex;gap:2rem;justify-content:flex-end;& .components-button.is-tertiary:disabled{background:transparent!important;}"});function dt(){const{queryHasNextPage:e,queryHasPrevPage:t}=(0,o.useSelect)((e=>({queryHasPrevPage:e(L.userSecurityStore).queryHasPrevPage("main"),queryHasNextPage:e(L.userSecurityStore).queryHasNextPage("main")})),[]),{fetchQueryPrevPage:r,fetchQueryNextPage:a}=(0,o.useDispatch)(L.userSecurityStore);return(0,n.createElement)(mt,null,(0,n.createElement)(h.zx,{disabled:!t,icon:ct.Z,iconGap:0,variant:"tertiary",onClick:()=>{r("main","replace")},text:(0,i.__)("Prev","better-wp-security")}),(0,n.createElement)(h.zx,{disabled:!e,icon:ut.Z,iconPosition:"right",iconGap:0,variant:"tertiary",onClick:()=>{a("main","replace")},text:(0,i.__)("Next","better-wp-security")}))}function pt({history:e}){const{removeNotice:t}=(0,o.useDispatch)(g.store),{snackbarNotices:r}=(0,o.useSelect)((e=>({snackbarNotices:e(g.store).getNotices("ithemes-security")})),[]);return(0,n.createElement)(m.a,{theme:h.U1},(0,n.createElement)(c.F0,{history:e},(0,n.createElement)(u.Fz,{ReactRouterRoute:c.AW},(0,n.createElement)(x,{className:"itsec-user-security",variant:h.h1.UNDER_PAGE},(0,n.createElement)(d.SlotFillProvider,null,(0,n.createElement)(p.PluginArea,null),(0,n.createElement)(d.Popover.Slot,null),(0,n.createElement)(f.Qf,null),(0,n.createElement)(c.rs,null),(0,n.createElement)(S,{notices:r,onRemove:e=>t(e,"ithemes-security")}),(0,n.createElement)(w,null,(0,n.createElement)(E,null),(0,n.createElement)(b,null),(0,n.createElement)(_e,null),(0,n.createElement)(h.Tg,{as:"section"},(0,n.createElement)(N,null),(0,n.createElement)(ue,null)),(0,n.createElement)(dt,null),(0,n.createElement)(lt,null)))))))}var gt=r(79612);r.p=window.itsecWebpackPublicPath,(0,i.setLocaleData)({"":{}},"ithemes-security-pro"),(0,o.dispatch)(l.store).setDefaults("ithemes-security/users",{howToEditUserGroups:!0});const ht=(0,gt.f)(document.location,{page:"itsec-user-security"});s()((()=>{const e=document.getElementById("itsec-user-security-root");(0,n.render)((0,n.createElement)(pt,{history:ht}),e)}))},11984:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(6293);const a=function({icon:e,size:t=24,...r}){return(0,n.cloneElement)(e,{width:t,height:t,...r})}},82506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"}))},32010:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"}))},83904:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},16282:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"}))},62462:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"}))},96015:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},27231:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},65202:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},79526:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M7 11.5h10V13H7z"}))},89522:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}))},67527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(6293),a=r(14776);const s=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.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"}))},94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var s=typeof r;if("string"===s||"number"===s)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===s)if(r.toString===Object.prototype.toString)for(var o in r)n.call(r,o)&&r[o]&&e.push(o);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},35800:function(e,t,r){!function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(t);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}var s={error:null},i=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).state=s,t.resetErrorBoundary=function(){for(var e,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];null==t.props.onReset||(e=t.props).onReset.apply(e,n),t.reset()},t}var r,i;i=e,(r=t).prototype=Object.create(i.prototype),r.prototype.constructor=r,a(r,i),t.getDerivedStateFromError=function(e){return{error:e}};var o=t.prototype;return o.reset=function(){this.setState(s)},o.componentDidCatch=function(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)},o.componentDidUpdate=function(e,t){var r,n,a,s,i=this.state.error,o=this.props.resetKeys;null!==i&&null!==t.error&&(void 0===(a=e.resetKeys)&&(a=[]),void 0===(s=o)&&(s=[]),a.length!==s.length||a.some((function(e,t){return!Object.is(e,s[t])})))&&(null==(r=(n=this.props).onResetKeysChange)||r.call(n,e.resetKeys,o),this.reset())},o.render=function(){var e=this.state.error,t=this.props,r=t.fallbackRender,a=t.FallbackComponent,s=t.fallback;if(null!==e){var i={error:e,resetErrorBoundary:this.resetErrorBoundary};if(n.isValidElement(s))return s;if("function"==typeof r)return r(i);if(a)return n.createElement(a,i);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(n.Component);e.ErrorBoundary=i,e.useErrorHandler=function(e){var t=n.useState(null),r=t[0],a=t[1];if(null!=e)throw e;if(null!=r)throw r;return a},e.withErrorBoundary=function(e,t){var r=function(r){return n.createElement(i,t,n.createElement(e,r))},a=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary("+a+")",r},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(99196))},62845:(e,t,r)=>{"use strict";r.d(t,{r8:()=>i});var n=r(99196);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const s=Symbol(),i=e=>((e,t)=>{const r=Object.keys(t);let i=t,o=null;const l={};r.forEach((e=>{l[e]=new Set}));const c=(t,r)=>r.type===s?r.r?r.r(t):r.e:e(t,r),u=(e,t)=>{const r=r=>{return a({},r,{[e]:(n=r[e],s=t,"function"==typeof s?s(n):s)});var n,s};if(o)o({type:s,r});else{i=r(i);const t=i[e];l[e].forEach((e=>e(t)))}},m=(e,t)=>{r.forEach((r=>{const n=t[r];e[r]!==n&&l[r].forEach((e=>e(n)))}))};return{useGlobalStateProvider:()=>{const[e,t]=(0,n.useReducer)(c,i);(0,n.useEffect)((()=>{if(o)throw new Error("Only one global state provider is allowed");return o=t,t({type:s,e:i}),()=>{o=null}}),[]);const r=(0,n.useRef)(e);m(r.current,e),r.current=e,(0,n.useEffect)((()=>{i=e}),[e])},useGlobalState:e=>{const[t,r]=(0,n.useState)(i[e]);return(0,n.useEffect)((()=>(l[e].add(r),r(i[e]),()=>{l[e].delete(r)})),[e]),[t,(0,n.useCallback)((t=>u(e,t)),[e])]},getGlobalState:e=>i[e],setGlobalState:u,getState:()=>i,setState:e=>{if(o)o({type:s,e});else{const t=i;i=e,m(t,i)}},dispatch:t=>{if(o)o(t);else{const r=i;i=e(i,t),m(r,i)}return t}}})(((e,t)=>e),e)},64239:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function a(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function s(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return a(r.overflowY,t)||a(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function i(e,t,r,n,a,s,i,o){return s<e&&i>t||s>e&&i<t?0:s<=e&&o<=r||i>=t&&o>=r?s-e-n:i>t&&o<r||s<e&&o>r?i-t+a:0}function o(e,t){var r=window,a=t.scrollMode,o=t.block,l=t.inline,c=t.boundary,u=t.skipOverflowHiddenElements,m="function"==typeof c?c:function(e){return e!==c};if(!n(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,p=[],g=e;n(g)&&m(g);){if((g=g.parentElement)===d){p.push(g);break}null!=g&&g===document.body&&s(g)&&!s(document.documentElement)||null!=g&&s(g,u)&&p.push(g)}for(var h=r.visualViewport?r.visualViewport.width:innerWidth,f=r.visualViewport?r.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,E=e.getBoundingClientRect(),x=E.height,w=E.width,_=E.top,S=E.right,b=E.bottom,O=E.left,L="start"===o||"nearest"===o?_:"end"===o?b:_+x/2,N="center"===l?O+w/2:"end"===l?S:O,k=[],A=0;A<p.length;A++){var I=p[A],z=I.getBoundingClientRect(),Z=z.height,M=z.width,T=z.top,C=z.right,U=z.bottom,P=z.left;if("if-needed"===a&&_>=0&&O>=0&&b<=f&&S<=h&&_>=T&&b<=U&&O>=P&&S<=C)return k;var j=getComputedStyle(I),R=parseInt(j.borderLeftWidth,10),D=parseInt(j.borderTopWidth,10),V=parseInt(j.borderRightWidth,10),H=parseInt(j.borderBottomWidth,10),F=0,B=0,W="offsetWidth"in I?I.offsetWidth-I.clientWidth-R-V:0,G="offsetHeight"in I?I.offsetHeight-I.clientHeight-D-H:0;if(d===I)F="start"===o?L:"end"===o?L-f:"nearest"===o?i(y,y+f,f,D,H,y+L,y+L+x,x):L-f/2,B="start"===l?N:"center"===l?N-h/2:"end"===l?N-h:i(v,v+h,h,R,V,v+N,v+N+w,w),F=Math.max(0,F+y),B=Math.max(0,B+v);else{F="start"===o?L-T-D:"end"===o?L-U+H+G:"nearest"===o?i(T,U,Z,D,H+G,L,L+x,x):L-(T+Z/2)+G/2,B="start"===l?N-P-R:"center"===l?N-(P+M/2)+W/2:"end"===l?N-C+V+W:i(P,C,M,R,V+W,N,N+w,w);var $=I.scrollLeft,Q=I.scrollTop;L+=Q-(F=Math.max(0,Math.min(Q+F,I.scrollHeight-Z+G))),N+=$-(B=Math.max(0,Math.min($+B,I.scrollWidth-M+W)))}k.push({el:I,top:F,left:B})}return k}function l(e){return e===Object(e)&&0!==Object.keys(e).length}r.d(t,{Z:()=>c});const c=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(t)&&"function"==typeof t.behavior)return t.behavior(r?o(e,t):[]);if(r){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:l(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,a=e.top,s=e.left;n.scroll&&r?n.scroll({top:a,left:s,behavior:t}):(n.scrollTop=a,n.scrollLeft=s)}))}(o(e,n),n.behavior)}}},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},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}()},25993:e=>{e.exports=function(){return this.wp.domReady}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},25703:e=>{e.exports=function(){return this.wp.notices}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},96509:e=>{e.exports=function(){return this.wp.preferences}()},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},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},76292:e=>{"use strict";e.exports=window.moment}},e=>{e.O(0,[7271,1930,5307,5257,9071,1511,976,7959,6179],(()=>(13970,e(e.s=13970))));var t=e.O();((window.itsec=window.itsec||{}).pages=window.itsec.pages||{})["user-security"]=t}]);