HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 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/vcz/wp-content/plugins/better-wp-security/dist/notification-center/settings.js
/*! For license information please see settings.js.LICENSE.txt */
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[8830],{67788:(e,t,n)=>{"use strict";n.r(t);var r=n(6293),i=n(95122),s=n(3571),a=n(92819),o=n(87514),l=n.n(o),c=n(48015),u=n(65813),d=n(7980),m=n(50460),p=n(31600),h=n(64893),f=n(9576),g=n(71930),E=n(36179),_=n(20567),v=n(52117);const b=(0,v.Z)(g.Tg,{target:"e1bftilw3"})("border:1px solid ",(({theme:e})=>e.colors.border.normal),";"),y=(0,v.Z)("dl",{target:"e1bftilw2"})({name:"ti75j2",styles:"margin:0"}),w=(0,v.Z)("dt",{target:"e1bftilw1"})({name:"akdqam",styles:"margin-top:1rem"}),S=(0,v.Z)("dd",{target:"e1bftilw0"})({name:"98gkun",styles:"margin:.25rem 0 0 0"}),O=["a","i","b","h2","h3","h4","h5","h6","p"];function R({notification:e,settings:t,onChange:n,usersAndRoles:s,apiError:a}){const o=!e.optional||t.enabled;return(0,r.createElement)(React.Fragment,null,(0,r.createElement)(b,null,(0,r.createElement)(g.mr,{title:e.l10n.label,description:(0,r.createElement)(_.Lu,{content:e.l10n.description,noWrap:!0}),hasBorder:!0}),(0,r.createElement)(d.PrimaryForm,{apiError:a,hasPadding:!0},e.optional&&(0,r.createElement)(h.CheckboxControl,{className:"itsec-nc-notification__enabled",label:(0,i.__)("Enabled","better-wp-security"),checked:t.enabled,onChange:e=>n({...t,enabled:e}),__nextHasNoMarginBottom:!0}),o&&(0,r.createElement)(React.Fragment,null,(0,r.createElement)(N,{notification:e,settings:t,onChange:n}),(0,r.createElement)(x,{notification:e,settings:t,onChange:n}),(0,r.createElement)(k,{notification:e,settings:t,onChange:n,usersAndRoles:s})))),(0,r.createElement)(Z,null))}function N({notification:e,settings:t,onChange:n}){const s=(0,r.createElement)("span",null,(0,i.sprintf)((0,i.__)("You can use HTML in your message. Allowed HTML includes: %s.","better-wp-security"),O.join(", "))," ",!!e.tags&&(0,r.createInterpolateElement)((0,i.__)("This notification supports email tags. Tags are formatted as follows <tag />.","better-wp-security"),{tag:(0,r.createElement)("code",null,"{{ $tag_name }}")}));return(0,r.createElement)(d.PrimaryFormSection,{heading:(0,i.__)("Customize","better-wp-security")},e.subject_editable&&(0,r.createElement)(h.TextControl,{label:(0,i.__)("Subject","better-wp-security"),placeholder:e.l10n.subject,value:t.subject||e.l10n.subject,onChange:e=>n({...t,subject:e})}),e.message_editable&&(0,r.createElement)(React.Fragment,null,(0,r.createElement)(h.TextareaControl,{label:(0,i.__)("Message","better-wp-security"),placeholder:e.l10n.message,rows:10,value:t.message||e.l10n.message,onChange:e=>n({...t,message:e}),help:s}),e.tags&&(0,r.createElement)(y,null,(0,a.map)(e.l10n.tags,((e,t)=>(0,r.createElement)(r.Fragment,{key:t},(0,r.createElement)(w,null,(0,r.createElement)("code",null,t)),(0,r.createElement)(S,null,e)))))))}function x({notification:e,settings:t,onChange:n}){const s=(0,f.useInstanceId)(k,"itsec-nc-notification__schedule");return(0,a.isPlainObject)(e.schedule)?(0,r.createElement)(d.PrimaryFormSection,{heading:(0,r.createElement)("label",{htmlFor:s},(0,i.__)("Schedule","better-wp-security"))},(0,r.createElement)(h.SelectControl,{id:s,options:e.l10n.schedule,value:t.schedule,onChange:e=>n({...t,schedule:e})})):null}function k({notification:e,settings:t,onChange:n,usersAndRoles:s}){const a=(0,f.useInstanceId)(k,"itsec-nc-notification__recipients");switch(e.recipient){case"user":return(0,r.createElement)(d.PrimaryFormSection,{className:"itsec-nc-notification__recipients",heading:(0,i.__)("Recipient","better-wp-security")},(0,i.__)("Site Users","better-wp-security"));case"admin":return(0,r.createElement)(d.PrimaryFormSection,{className:"itsec-nc-notification__recipients",heading:(0,i.__)("Recipient","better-wp-security")},(0,i.__)("Admin Emails","better-wp-security"));case"per-use":return(0,r.createElement)(d.PrimaryFormSection,{className:"itsec-nc-notification__recipients",heading:(0,i.__)("Recipient","better-wp-security")},(0,i.__)("Specified when sending","better-wp-security"));case"email-list":return(0,r.createElement)(d.PrimaryFormSection,{heading:(0,r.createElement)("label",{htmlFor:a},(0,i.__)("Recipient","better-wp-security"))},(0,r.createElement)(E.yA,{id:a,help:(0,i.__)("The email address(es) this notification will be sent to. One address per line.","better-wp-security"),value:t.email_list,onChange:e=>n({...t,email_list:e})}));case"user-list":return(0,r.createElement)(d.PrimaryFormSection,{className:"itsec-nc-notification__recipients itsec-nc-notification__recipients--user-list",heading:(0,r.createElement)("label",{htmlFor:a},(0,i.__)("Recipient","better-wp-security"))},(0,r.createElement)(h.SelectControl,{value:t.recipient_type,onChange:e=>n({...t,recipient_type:e}),id:a,options:[{value:"default",label:(0,i.__)("Default Recipients","better-wp-security")},{value:"custom",label:(0,i.__)("Custom","better-wp-security")}]}),"custom"===t.recipient_type&&(0,r.createElement)(H,{help:(0,i.__)("Select which users should be emailed.","better-wp-security"),value:t.user_list||[],onChange:e=>n({...t,user_list:e}),usersAndRoles:s}))}}const I=(0,v.Z)("div",{target:"ey5u5nb2"})({name:"mdhyel",styles:"width:100%;max-width:600px;flex-grow:1"}),L=(0,v.Z)(g.xv,{target:"ey5u5nb1"})({name:"1wfa6r1",styles:"color:#6C6C6C;margin-bottom:6rem"}),C=(0,v.Z)(g.zx,{target:"ey5u5nb0"})({name:"1fo50kt",styles:"margin-top:1.5rem"});function M({usersAndRoles:e,apiError:t}){const{goNext:n}=(0,d.useNavigation)(),s=(0,f.useViewportMatch)("medium");return(0,r.createElement)(I,null,s&&(0,r.createElement)(L,{as:"p",align:"center",size:g.yH.EXTRA_LARGE,variant:g.rK.MUTED,text:(0,i.__)("You’re almost done, just one last topic to cover!","better-wp-security")}),(0,r.createElement)(d.OnboardHeader,{title:(0,i.__)("Notifications","better-wp-security"),description:(0,i.__)("Manage and configure email notifications sent by Solid Security related to various features.","better-wp-security"),showIndicator:!0}),(0,r.createElement)(j,{usersAndRoles:e,apiError:t}),(0,r.createElement)(C,{variant:"primary",onClick:n,text:(0,i.__)("Complete Setup","better-wp-security")}))}var A=n(16550);function D({asyncNotifications:e,asyncUsersAndRoles:t}){const{url:n,path:i,params:{root:s}}=(0,A.$B)(),{status:o,value:l}=e,{status:u,value:m}=t,h=(0,c.useSelect)((e=>e(p.MODULES_STORE_NAME).getError("notification-center")),[]);if("success"!==o&&("pending"!==o||!l)||"success"!==u)return null;const f=(0,r.createElement)(d.ChildPages,{pages:(0,a.map)(l,(e=>({title:e.l10n.label,to:`${n}/${e.slug}`,id:e.slug})))});return(0,r.createElement)(A.rs,null,(0,r.createElement)(A.AW,{path:`${i}/:child`},f,(0,r.createElement)(P,{notifications:l,usersAndRoles:m,apiError:h})),(0,r.createElement)(A.AW,{path:i},f,"settings"===s&&(0,r.createElement)(F,{usersAndRoles:m,apiError:h}),"settings"!==s&&(0,r.createElement)(M,{usersAndRoles:m,apiError:h})))}function P({notifications:e,usersAndRoles:t,apiError:n}){const{child:i}=(0,A.UO)(),{settings:s}=(0,c.useSelect)((e=>({settings:e(p.MODULES_STORE_NAME).getEditedSetting("notification-center","notifications")})),[]),{editSetting:a}=(0,c.useDispatch)(p.MODULES_STORE_NAME),o=(0,r.useCallback)((e=>a("notification-center","notifications",{...s,[i]:e})),[i,a,s]);return s?(0,r.createElement)(R,{notification:e[i],usersAndRoles:t,settings:s[i]||{},onChange:o,apiError:n}):null}const T=(0,v.Z)(h.Flex,{target:"e19alqk00"})({name:"hltamm",styles:"margin-top:2rem"});function Z({setErrors:e}){const{isDirty:t,isSaving:n}=(0,c.useSelect)((e=>({isDirty:e(p.MODULES_STORE_NAME).areSettingsDirty("notification-center"),isSaving:e(p.MODULES_STORE_NAME).isSavingSettings("notification-center")})),[]),{saveSettings:s,resetSettingEdits:a,validateSettings:o}=(0,c.useDispatch)(p.MODULES_STORE_NAME);return(0,r.createElement)(T,{justify:"end"},(0,r.createElement)(h.FlexItem,null,(0,r.createElement)(g.zx,{onClick:()=>a("notification-center"),disabled:!t,text:(0,i.__)("Undo Changes","better-wp-security")})),(0,r.createElement)(h.FlexItem,null,(0,r.createElement)(g.zx,{onClick:async()=>{const t=await o("notification-center");!0===t?(e?.([]),s("notification-center")):e?.(t.errorText)},disabled:!t,isBusy:n,variant:"primary",text:(0,i.__)("Save All Changes","better-wp-security")})))}const W=(0,v.Z)(g.Tg,{target:"emcou8w0"})("border:1px solid ",(({theme:e})=>e.colors.border.normal),";");function F({usersAndRoles:e,apiError:t}){const[n,s]=(0,r.useState)([]);return(0,r.createElement)(React.Fragment,null,(0,r.createElement)(W,null,(0,r.createElement)(g.mr,{title:(0,i.__)("Notifications","better-wp-security"),description:(0,i.__)("Manage and configure email notifications sent by Solid Security related to various features.","better-wp-security"),hasBorder:!0}),(0,r.createElement)(j,{usersAndRoles:e,errors:n,apiError:t,hasPadding:!0})),(0,r.createElement)(Z,{setErrors:s}))}function j({usersAndRoles:e,errors:t,apiError:n,hasPadding:s}){const{fromEmail:a,defaultRecipients:o}=(0,c.useSelect)((e=>({isDirty:e(p.MODULES_STORE_NAME).areSettingsDirty("notification-center"),fromEmail:e(p.MODULES_STORE_NAME).getEditedSetting("notification-center","from_email")||"",defaultRecipients:e(p.MODULES_STORE_NAME).getEditedSetting("notification-center","default_recipients")||{}})),[]),{editSetting:l}=(0,c.useDispatch)(p.MODULES_STORE_NAME);return(0,r.createElement)(d.PrimaryForm,{apiError:n,errors:t,hasPadding:s},(0,r.createElement)(h.TextControl,{type:"email",value:a,onChange:e=>l("notification-center","from_email",e),label:(0,i.__)("From Email","better-wp-security"),help:(0,i.__)("Solid Security will send notifications from this email address. Leave blank to use the WordPress default.","better-wp-security")}),(0,r.createElement)(g.X6,{level:3,size:g.yH.LARGE,weight:g.fs.HEAVY,variant:g.rK.DARK,text:(0,i.__)("Default Recipients","better-wp-security")}),(0,r.createElement)(H,{help:(0,i.__)("Set the default recipients for any admin-facing notifications.","better-wp-security"),value:o.user_list||[],onChange:e=>l("notification-center","default_recipients",{...o,user_list:e}),usersAndRoles:e}))}function H({value:e,onChange:t,usersAndRoles:n,help:s}){return(0,r.createElement)("fieldset",{className:"itsec-nc-user-role-list"},s&&(0,r.createElement)("legend",null,s),(0,r.createElement)("ul",{className:"itsec-nc-user-role-list__group"},n.roles.map((({value:n,label:s})=>(0,r.createElement)("li",{key:n},(0,r.createElement)(h.CheckboxControl,{label:(0,i.sprintf)((0,i.__)("All “%s” Users","better-wp-security"),s),checked:e.includes(n),onChange:r=>t(r?[...e,n]:e.filter((e=>e!==n)))}))))),(0,r.createElement)("ul",{className:"itsec-nc-user-role-list__group"},n.users.map((({value:n,label:i})=>(0,r.createElement)("li",{key:n},(0,r.createElement)(h.CheckboxControl,{label:i,checked:e.includes(n),onChange:r=>t(r?[...e,n]:e.filter((e=>e!==n)))}))))))}const U=()=>l()({path:"/ithemes-security/rpc/notification-center/available-users-roles"});function B(){const e=(0,c.useSelect)((e=>e(p.MODULES_STORE_NAME).getActiveModules())),t=(0,u.r5)((0,r.useCallback)((()=>l()({path:"/ithemes-security/rpc/notification-center/notifications"})),[e])),n=(0,u.r5)(U);return function(e){const{registerProvider:t}=(0,c.useDispatch)(m.G);(0,r.useEffect)((()=>{t("notifications",(0,i.__)("Notifications","better-wp-security"),50,(({evaluate:t,results:n})=>(0,a.reduce)(e,((e,r,i)=>t.stringMatch(r.l10n.label)||t.stringMatch(r.l10n.description)?(n.items.push({title:r.l10n.label,description:r.l10n.description,route:`/settings/notification-center/${i}`}),e++):e),0)))}),[e,t])}(t.value),(0,r.createElement)(d.Page,{id:"notification-center",title:(0,i.__)("Notifications","better-wp-security"),icon:"email-alt",priority:20,roots:["onboard","import","settings"],key:t.status+n.status},(()=>(0,r.createElement)(D,{asyncNotifications:t,asyncUsersAndRoles:n})))}n.p=window.itsecWebpackPublicPath,(0,i.setLocaleData)({"":{}},"ithemes-security-pro"),(0,s.registerPlugin)("itsec-notification-center-settings",{render:()=>(0,r.createElement)(B,null)})},50460:(e,t,n)=>{"use strict";n.d(t,{G:()=>W,o:()=>I});var r={};n.r(r),n.d(r,{REGISTER_PROVIDER:()=>P,registerProvider:()=>D});var i={};n.r(i),n.d(i,{getProviders:()=>T});var s=n(87462),a=n(6293),o=n(73727),l=n(16550),c=n(90071),u=n(92819),d=n(64893),m=n(95122),p=n(48015),h=n(9576),f=n(81019),g=n(82839),E=n(71930),_=n(65813),v=n(36179),b=n(86033),y=n(13092);function w(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}var S=new WeakMap,O=new WeakMap,R=new WeakMap,N=new WeakMap,x=new WeakMap;class k{constructor(e,t){w(this,S,{writable:!0,value:void 0}),w(this,O,{writable:!0,value:void 0}),w(this,R,{writable:!0,value:void 0}),w(this,N,{writable:!0,value:void 0}),w(this,x,{writable:!0,value:void 0}),(0,y.Z)(this,S,e),(0,y.Z)(this,O,t),(0,y.Z)(this,R,t.select(W).getProviders()),this._prepare()}_prepare(){(0,y.Z)(this,x,(0,b.Z)(this,S).split(/\s+/g).map((e=>e.trim().toLowerCase())).filter((e=>!!e)));const e=(0,b.Z)(this,S).endsWith(" ");(0,y.Z)(this,N,new RegExp((0,b.Z)(this,x).map(((t,n)=>n+1!==(0,b.Z)(this,x).length||e?`(?=.*\\b${(0,u.escapeRegExp)(t)}\\b)`:`(?=.*\\b${(0,u.escapeRegExp)(t)})`)).join("")+".+","gi"))}_stringMatch(e){return e&&(0,b.Z)(this,N).test(e)}_keywordMatch(e){return!(!e||!e.length)&&e.some((e=>(0,b.Z)(this,x).some(((t,n)=>e.includes(" ")?this._stringMatch(e):n===(0,b.Z)(this,x).length-1?e.startsWith(t):t===e))))}getResults(){if((0,b.Z)(this,S).length<3)return[{},0];let e=0;const t=[],n={stringMatch:e=>this._stringMatch(e),keywordMatch:e=>this._keywordMatch(e)};for(const r of(0,b.Z)(this,R)){const i={title:r.title,items:[],groups:{}};e+=r.callback({evaluate:n,results:i,registry:(0,b.Z)(this,O)}),!i.items.length&&(0,u.isEmpty)(i.groups)||t.push(i)}return[t,e]}}const I=(0,a.forwardRef)((function({onPick:e=u.noop,showResults:t},n){const[r,i]=(0,a.useState)(""),[o,l]=(0,a.useState)(!1),c=(0,a.useRef)(),d=(0,a.useRef)(),[v,b]=(0,a.useState)([]),y=(0,p.useRegistry)(),w=(0,a.useCallback)((e=>{const t=new k(e,y).getResults();b(t[0]),(0,g.speak)((0,m.sprintf)((0,m._n)("%d result found.","%d results found.",t[1],"better-wp-security"),t[1]))}),[y]),S=(0,h.useDebounce)(w,50),O=(0,a.useCallback)((e=>{c.current&&(e.preventDefault(),c.current.focus())}),[c]);return(0,h.useKeyboardShortcut)("/",O),(0,a.createElement)("div",(0,s.Z)({className:"itsec-search"},(0,_.Zk)((()=>l(!1)))),(0,a.createElement)("div",null,(0,a.createElement)(E.lD,{value:r,onChange:e=>{i(e),S(e)},onFocus:()=>l(!0),onKeyDown:e=>{e.keyCode===f.DOWN&&(e.preventDefault(),d.current.focus())},ref:(0,_.qq)([n,c]),placeholder:(0,m.__)("Search for features, settings, and more","better-wp-security"),omitSeparators:!0,size:"large"}),(o||t)&&r.length>=3&&(0,a.createElement)(L,{results:v,exitSearch:t=>{e(t),l(!1)},ref:d,onPick:e})))})),L=(0,a.forwardRef)((function({results:e,exitSearch:t,onPick:n},r){const i=(0,a.useRef)();(0,a.useImperativeHandle)(r,(()=>({focus(){i.current.focus()}})));const o=(0,h.useInstanceId)(L,"itsec-search"),p=o+"__result__",g=function(){const e=(0,l.k6)();return(t,n="push")=>e[n]((0,c.ob)(t))}(),[E,_]=(0,a.useState)("");return(0,u.isEmpty)(e)?null:(0,a.createElement)(React.Fragment,null,(0,a.createElement)(d.VisuallyHidden,{id:o+"__label"},(0,m.__)("Search Results","better-wp-security")),(0,a.createElement)(v.T2,{className:"itsec-search__results",id:o,active:E&&p+E,onNavigate:e=>_(e.substring(p.length)),onKeyDown:({keyCode:e})=>{!E||e!==f.ENTER&&e!==f.SPACE||(n(E),g(E),t())},onFocus:()=>{if(!E&&!(0,u.isEmpty)(e)){const[,t]=Object.entries(e)[0];if(t.items?.length)_(t.items[0].route);else if(!(0,u.isEmpty)(t.groups)){const[,e]=Object.entries(t.groups)[0];_(e.items[0].route)}}},role:"listbox",descendantRoles:"option",ref:i,"aria-labelledby":o+"__label"},(0,u.map)(e,((e,n)=>(0,a.createElement)(C,(0,s.Z)({key:n},e,{active:E,idPrefix:p,exitSearch:t}))))))}));function C({title:e,items:t,groups:n,...r}){const i=(0,h.useInstanceId)(L,"itsec-search__kind");return(0,a.createElement)("ul",{className:"itsec-search__kind",role:"group","aria-labelledby":i},(0,a.createElement)("li",{role:"presentation",id:i},e),(t||[]).map((e=>(0,a.createElement)(A,(0,s.Z)({key:e.route},e,r)))),(0,u.map)(n,((e,t)=>(0,a.createElement)(M,(0,s.Z)({key:t},e,r)))))}function M({title:e,items:t,...n}){const r=(0,h.useInstanceId)(L,"itsec-search__group");return(0,a.createElement)("ul",{className:"itsec-search__group",role:"group","aria-labelledby":r},(0,a.createElement)("li",{role:"presentation",id:r},(0,a.createElement)("span",null,e)),(t||[]).map((e=>(0,a.createElement)(A,(0,s.Z)({key:e.route},e,n)))))}function A({title:e,description:t,route:n,active:r,idPrefix:i,exitSearch:s}){return(0,a.createElement)("li",{className:"itsec-search__result",role:"option","aria-selected":r===n||void 0,id:i+n,"aria-label":e},(0,a.createElement)(o.rU,{to:n,tabIndex:-1,onClick:()=>s(n)},(0,a.createElement)("span",null,e),(0,a.createElement)(v.Lu,{content:t,noHtml:!0,tagName:"p"})))}function D(e,t,n,r){return{type:P,slug:e,title:t,priority:n,callback:r}}const P="REGISTER_PROVIDER",T=(0,n(28306).Z)((e=>(0,u.sortBy)(e.providers,"priority")),(e=>e.providers)),Z={providers:{}},W="ithemes-security/search";(0,p.registerStore)(W,{actions:r,selectors:i,reducer:function(e=Z,t){return t.type===P?{...e,providers:{...e.providers,[t.slug]:(0,u.omit)(t,["type"])}}:e}})},11984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6293);const i=function({icon:e,size:t=24,...n}){return(0,r.cloneElement)(e,{width:t,height:t,...n})}},79526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(6293),i=n(14776);const s=(0,r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(i.Path,{d:"M7 11.5h10V13H7z"}))},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var o in n)r.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},28306:(e,t,n)=>{"use strict";var r,i;function s(e){return[e]}function a(){var e={clear:function(){e.head=null}};return e}function o(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function l(e,t){var n,l;function c(){n=i?new WeakMap:a()}function u(){var n,r,i,s,a,c=arguments.length;for(s=new Array(c),i=0;i<c;i++)s[i]=arguments[i];for(a=t.apply(null,s),(n=l(a)).isUniqueByDependants||(n.lastDependants&&!o(a,n.lastDependants,0)&&n.clear(),n.lastDependants=a),r=n.head;r;){if(o(r.args,s,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,s)},s[0]=null,r.args=s,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=s),l=i?function(e){var t,i,s,o,l,c=n,u=!0;for(t=0;t<e.length;t++){if(!(l=i=e[t])||"object"!=typeof l){u=!1;break}c.has(i)?c=c.get(i):(s=new WeakMap,c.set(i,s),c=s)}return c.has(r)||((o=a()).isUniqueByDependants=u,c.set(r,o)),c.get(r)}:function(){return n},u.getDependants=t,u.clear=c,c(),u}n.d(t,{Z:()=>l}),r={},i="undefined"!=typeof WeakMap},64239:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function i(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function s(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.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 a(e,t,n,r,i,s,a,o){return s<e&&a>t||s>e&&a<t?0:s<=e&&o<=n||a>=t&&o>=n?s-e-r:a>t&&o<n||s<e&&o>n?a-t+i:0}function o(e,t){var n=window,i=t.scrollMode,o=t.block,l=t.inline,c=t.boundary,u=t.skipOverflowHiddenElements,d="function"==typeof c?c:function(e){return e!==c};if(!r(e))throw new TypeError("Invalid target");for(var m=document.scrollingElement||document.documentElement,p=[],h=e;r(h)&&d(h);){if((h=h.parentElement)===m){p.push(h);break}null!=h&&h===document.body&&s(h)&&!s(document.documentElement)||null!=h&&s(h,u)&&p.push(h)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,E=window.scrollX||pageXOffset,_=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),b=v.height,y=v.width,w=v.top,S=v.right,O=v.bottom,R=v.left,N="start"===o||"nearest"===o?w:"end"===o?O:w+b/2,x="center"===l?R+y/2:"end"===l?S:R,k=[],I=0;I<p.length;I++){var L=p[I],C=L.getBoundingClientRect(),M=C.height,A=C.width,D=C.top,P=C.right,T=C.bottom,Z=C.left;if("if-needed"===i&&w>=0&&R>=0&&O<=g&&S<=f&&w>=D&&O<=T&&R>=Z&&S<=P)return k;var W=getComputedStyle(L),F=parseInt(W.borderLeftWidth,10),j=parseInt(W.borderTopWidth,10),H=parseInt(W.borderRightWidth,10),U=parseInt(W.borderBottomWidth,10),B=0,V=0,z="offsetWidth"in L?L.offsetWidth-L.clientWidth-F-H:0,$="offsetHeight"in L?L.offsetHeight-L.clientHeight-j-U:0;if(m===L)B="start"===o?N:"end"===o?N-g:"nearest"===o?a(_,_+g,g,j,U,_+N,_+N+b,b):N-g/2,V="start"===l?x:"center"===l?x-f/2:"end"===l?x-f:a(E,E+f,f,F,H,E+x,E+x+y,y),B=Math.max(0,B+_),V=Math.max(0,V+E);else{B="start"===o?N-D-j:"end"===o?N-T+U+$:"nearest"===o?a(D,T,M,j,U+$,N,N+b,b):N-(D+M/2)+$/2,V="start"===l?x-Z-F:"center"===l?x-(Z+A/2)+z/2:"end"===l?x-P+H+z:a(Z,P,A,F,H+z,x,x+y,y);var q=L.scrollLeft,G=L.scrollTop;N+=G-(B=Math.max(0,Math.min(G+B,L.scrollHeight-M+$))),x+=q-(V=Math.max(0,Math.min(q+V,L.scrollWidth-A+z)))}k.push({el:L,top:B,left:V})}return k}function l(e){return e===Object(e)&&0!==Object.keys(e).length}n.d(t,{Z:()=>c});const c=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(t)&&"function"==typeof t.behavior)return t.behavior(n?o(e,t):[]);if(n){var r=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 n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,s=e.left;r.scroll&&n?r.scroll({top:i,left:s,behavior:t}):(r.scrollTop=i,r.scrollLeft=s)}))}(o(e,r),r.behavior)}}},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},7980:e=>{e.exports=function(){return this.itsec.pages.settings}()},82839:e=>{e.exports=function(){return this.wp.a11y}()},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}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},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},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,3627,976,1511,567,6179],(()=>(67788,e(e.s=67788))));var t=e.O();((window.itsec=window.itsec||{})["notification-center"]=window.itsec["notification-center"]||{}).settings=t}]);