File: /var/www/linde/wp-content/plugins/better-wp-security/dist/core/global.js
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[24],{3075:e=>{e.exports=function(){return this.wp.i18n}()},8601:e=>{e.exports=function(){return this.wp.element}()},31987:e=>{e.exports=function(){return this.wp.data}()},35145:e=>{e.exports=function(){return this.itsec.core["admin-notices-api"]}()},38125:e=>{e.exports=function(){return this.wp.plugins}()},39959:e=>{e.exports=function(){return this.wp.components}()},46627:e=>{e.exports=function(){return this.itsec.packages.data}()},51609:e=>{"use strict";e.exports=window.React},55933:e=>{e.exports=function(){return this.wp.primitives}()},62247:e=>{e.exports=function(){return this.wp.isShallowEqual}()},66087:e=>{"use strict";e.exports=window.lodash},73213:(e,t,n)=>{"use strict";n.r(t);var o=n(51609),i=n(38125),s=(n(35145),n(48620)),r=n(99032),c=n(30369);n.p=window.itsecWebpackPublicPath,(0,i.registerPlugin)("itsec-admin-notices-toolbar",{render:()=>(0,o.createElement)(s.PB,null,(0,o.createElement)(r.A,null))}),(0,i.registerPlugin)("itsec-solid-welcome",{render:()=>(0,o.createElement)(c.A,null)})},75795:e=>{"use strict";e.exports=window.ReactDOM},76154:e=>{"use strict";e.exports=window.moment},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}()},99032:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(51609),i=n(39959),s=n(3075),r=n(8601),c=n(31987),a=n(55933);const u=(0,o.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(a.Path,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"}));var l=n(37192);const p=(0,n(81923).A)(i.ToolbarButton,{shouldForwardProp:e=>"noticesCount"!==e,target:"e17c85xw0"})("&::after{position:absolute;left:-6px;top:-6px;z-index:1;min-width:24px;padding:4px;font-size:11px;color:",(({theme:e})=>e.colors.text.white),";background:",(({theme:e})=>e.colors.primary.base),";border-radius:12px;content:'",(({noticesCount:e})=>e),"';opacity:",(({noticesCount:e})=>e?1:0),";transition:opacity 1000ms ease-in-out;}");function d(){const[e,t]=(0,r.useState)(!1),{notices:n,noticesLoaded:a}=(0,c.useSelect)((e=>({notices:e("ithemes-security/admin-notices").getNotices(),noticesLoaded:e("ithemes-security/admin-notices").areNoticesLoaded()})),[]);return(0,o.createElement)(React.Fragment,null,(0,o.createElement)(p,{"aria-expanded":e,onClick:()=>!e&&t(!0),icon:u,text:(0,s.__)("Alerts","better-wp-security"),noticesCount:n.length}),e&&(0,o.createElement)(i.Popover,{className:"itsec-admin-bar-admin-notices__content",expandOnMobile:!0,focusOnMount:"container",position:"bottom left",headerTitle:(0,s.__)("Notifications","better-wp-security"),onClose:()=>t(!1),onFocusOutside:()=>t(!1)},(0,o.createElement)(l.A,{notices:n,loaded:a})))}}},e=>{e.O(0,[9427,8356,222,3733,8363,1588,2932,8620,2238,4933,9575],(()=>e(e.s=73213)));var t=e.O();((window.itsec=window.itsec||{}).core=window.itsec.core||{}).global=t}]);