Sid Gifari File Manager
🏠 Root
/
home
/
genremedia08
/
thepassage.overlookedtracks.com
/
wp-content9
/
plugins
/
ithemes-security-pro
/
dist
/
Editing: 4319.min.js
"use strict";(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[4319],{4319:(e,t,r)=>{r.d(t,{i$:()=>Ae,DW:()=>B,qJ:()=>D,n_:()=>fe,F5:()=>p,VS:()=>v,g8:()=>_,zf:()=>te,gu:()=>ie,VK:()=>b,G9:()=>X,Vt:()=>Ce,j9:()=>Je,bx:()=>Re,mk:()=>Ue,e4:()=>ye,oA:()=>Me,l6:()=>T,kW:()=>et,pe:()=>Z,PB:()=>R,Nr:()=>q,Fe:()=>Ie,UZ:()=>Fe});var n=r(51609),a=r(64827),o=r(66087),i=r(8601),l=r(85631),s=r.n(l),c=r(77172),u=r(39959),d=r(89897);const{useGlobalState:m}=(0,a.VB)({cache:{}});function p({id:e,value:t,disabled:r,readonly:a,onChange:l,label:g,description:h,isMultiple:f=!1,path:E,query:y={},labelAttr:v,idAttr:x="id",searchArg:w="search"}){const[_,A]=m("cache"),I=(0,d.useInstanceId)(p,"itsec-entity-select-control");e=e||I;const[k,N]=(0,i.useState)(""),L=function(e,t,r,n,a,l,u){return(0,i.useCallback)((i=>s()({path:(0,c.addQueryArgs)(e,{...t,[a]:i})}).then((e=>e.map((e=>({value:e[n],label:e[r]}))))).then((t=>(u({...l,[e]:{...l[e]||{},...(0,o.mapValues)((0,o.keyBy)(t,"value"),"label")}}),t)))),[e,t,r,n,a,l,u])}(E,y,v,x,w,_,A);let C;return f?C=(t||[]).filter((e=>void 0!==e)).map((e=>({value:e,label:_[E]?.[e]||e}))):t&&(C={value:t,label:_[E]?.[t]||t}),(0,n.createElement)(u.BaseControl,{className:"itsec-entity-select-control",label:g,help:h&&(0,n.createElement)(b,{noWrap:!0,content:h}),id:e,__nextHasNoMarginBottom:!0},(0,n.createElement)(B,{"aria-label":g,"aria-describedby":h?e+"__help":void 0,classNamePrefix:"itsec-entity-select-control-as",inputId:e,isDisabled:r||a,isMulti:f,isClearable:!0,cacheOptions:!0,defaultOptions:!0,loadOptions:L,value:C,onChange:e=>l(f?(e||[]).map((e=>e.value)):e?.value),inputValue:k,onInputChange:N}))}var g=r(41367),h=r(62932),f=r(58168),E=r(15013),y=r(54625);function b({transform:e,...t}){return(0,n.createElement)(E.VK,(0,f.A)({},t,{transform:(r,a)=>{if(e){const t=e(r,a);if(void 0!==t)return t}if("a"===r.tagName.toLowerCase()&&r.dataset.itsecPath&&!t.noHtml)return(0,n.createElement)(y.N_,{to:r.dataset.itsecPath},a)}}))}function v({errors:e,apiError:t,schemaError:r,title:a,className:o,hasBorder:i}){const l=[...e||[],...(0,h.Mr)(t),...(r||[]).map((e=>e.stack))];if(!l.length)return null;const s=l.map(((e,t)=>(0,n.createElement)(b,{key:t,content:e,noWrap:!0,tagName:"span"})));return(0,n.createElement)(g.Mf,{messages:s,heading:a,className:o,hasBorder:i,type:"danger"})}var x=r(81923);const w=(0,x.A)("div",{target:"eq12dkg0"})({name:"1ff36h2",styles:"flex-grow:1"});function _(){return(0,n.createElement)(w,{"aria-hidden":!0})}var A=r(2359),I=r(79487),k=r(32196),N=r(3075);const L=(0,n.lazy)((()=>Promise.all([r.e(1679),r.e(6005)]).then(r.bind(r,46005)))),C=(0,n.lazy)((()=>Promise.all([r.e(1679),r.e(1541)]).then(r.bind(r,11541)))),O=(0,n.lazy)((()=>Promise.all([r.e(1679),r.e(3689)]).then(r.bind(r,23689))));function S(){return(0,n.createElement)("span",null,(0,N.__)("Error when loading. Please refresh.","it-l10n-ithemes-security-pro"))}const M=(0,k.AH)({name:"1nml846",styles:"input{min-height:0;}input:focus{box-shadow:none;}"});function F(){const e=(0,I.u)();return(0,i.useCallback)((t=>({...t,colors:{...t.colors,primary:e.colors.primary.base,primary75:e.colors.secondary.base,primary50:e.colors.tertiary.base,primary25:e.colors.surface.secondary}})),[e])}function P(){return(0,i.useMemo)((()=>({control:(e,t)=>({...e,minHeight:36,borderColor:t.isFocused?e.borderColor:"rgb(148, 148, 148)",borderRadius:2}),dropdownIndicator:e=>({...e,padding:6}),clearIndicator:e=>({...e,padding:6}),loadingIndicator:e=>({...e,padding:6}),valueContainer:e=>({...e,paddingTop:0,paddingBottom:0}),input:e=>({...e,paddingTop:0,paddingBottom:0})})),[])}function T({addErrorBoundary:e=!0,className:t,...r}){const a=F(),o=P(),i=(0,n.createElement)(n.Suspense,{fallback:(0,n.createElement)(u.Spinner,null)},(0,n.createElement)(L,(0,f.A)({},r,{className:(0,k.cx)(t,M),theme:a,styles:o})));return e?(0,n.createElement)(A.ErrorBoundary,{FallbackComponent:S},i):i}function B({addErrorBoundary:e=!0,className:t,...r}){const a=F(),o=P(),i=(0,n.createElement)(n.Suspense,{fallback:(0,n.createElement)(u.Spinner,null)},(0,n.createElement)(C,(0,f.A)({},r,{className:(0,k.cx)(t,M),theme:a,styles:o})));return e?(0,n.createElement)(A.ErrorBoundary,{FallbackComponent:S},i):i}function D({addErrorBoundary:e=!0,className:t,...r}){const a=F(),o=P(),i=(0,n.createElement)(n.Suspense,{fallback:(0,n.createElement)(u.Spinner,null)},(0,n.createElement)(O,(0,f.A)({},r,{className:(0,k.cx)(t,M),theme:a,styles:o})));return e?(0,n.createElement)(A.ErrorBoundary,{FallbackComponent:S},i):i}var z=r(591),$=r(33520);const V=(0,x.A)(g.ui,{target:"ewfm7an4"})({name:"1x94tvs",styles:"display:flex;align-items:center;flex-shrink:0;padding:.5rem 1.5rem;min-height:calc(30px + 1rem);& .components-button:focus{box-shadow:none;}"}),j=(0,x.A)(u.Toolbar,{target:"ewfm7an3"})({name:"gxzf6f",styles:"border:none;max-width:100%;margin-left:auto"}),H=(0,x.A)("div",{target:"ewfm7an2"})({name:"hlx1h5",styles:"display:flex;gap:0.5rem;margin:0 2rem 0 1rem;flex-grow:1"}),Y=(0,x.A)($.Ot,{target:"ewfm7an1"})({name:"1jxlbx4",styles:"height:2rem;width:2rem"}),W=(0,x.A)("div",{target:"ewfm7an0"})({name:"1d3w5wq",styles:"width:100%"});function G({area:e,...t}){return(0,n.createElement)(u.Slot,(0,f.A)({name:`Toolbar${e}`},t))}function R({area:e="actions",...t}){return(0,n.createElement)(u.Fill,(0,f.A)({name:`Toolbar${e}`},t))}function q(){const e=(0,h.aZ)("dashboard"),t=(0,d.useViewportMatch)("medium","<");return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(V,{role:"region","aria-label":(0,N.__)("Toolbar","it-l10n-ithemes-security-pro")},t?(0,n.createElement)(Y,null):(0,n.createElement)(ie,null),(0,n.createElement)(G,{area:"main"},(e=>(0,n.createElement)(H,null,e))),(0,n.createElement)(j,{label:(0,N.__)("Toolbar Actions","it-l10n-ithemes-security-pro")},(0,n.createElement)(u.ToolbarButton,{icon:z.A,href:e,text:(0,N.__)("Dashboard","it-l10n-ithemes-security-pro")}),(0,n.createElement)(G,{area:"actions"}))),(0,n.createElement)(G,{area:"banner"},(e=>(0,n.createElement)(W,null,e))))}const J=(0,x.A)("nav",{target:"edhe72i2"})("display:flex;border-bottom:1px solid ",(({theme:e})=>e.colors.border.normal),";"),U=(0,x.A)(y.k2,{target:"edhe72i1"})("display:flex;text-decoration:none;align-items:center;&.active{box-shadow:inset 0 -4px 0 0 ",(({theme:e})=>e.colors.border.info),";}&:focus{color:",(({theme:e})=>e.colors.text.dark),";box-shadow:inset 0 0 0 2px ",(({theme:e})=>e.colors.border.info),",inset 0 -4px 0 0 ",(({theme:e})=>e.colors.border.info),"!important;border-radius:3px!important;}"),K=(0,x.A)(g.EY,{target:"edhe72i0"})({name:"1i2l0vb",styles:"padding:.75rem 1.25rem"}),Q=(0,i.createContext)({size:g.$C.LARGE});function Z({className:e,size:t=g.$C.LARGE,children:r}){const a=(0,i.useMemo)((()=>({size:t})),[t]);return(0,n.createElement)(J,{className:e},(0,n.createElement)(Q.Provider,{value:a},r))}function X({title:e,...t}){const{size:r}=(0,i.useContext)(Q);return(0,n.createElement)(U,t,(0,n.createElement)(K,{size:r,weight:g.uL.HEAVY,text:e,align:"center"}))}const ee=(0,x.A)($.Ot,{shouldForwardProp:e=>"isSmall"!==e,target:"ec6rts80"})("height:",(({isSmall:e})=>e?"56px":"120px"),";width:",(({isSmall:e})=>e?"56px":"120px"),";");function te({icon:e,isSmall:t=!1}){return(0,d.useMediaQuery)("(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)")?e:(0,n.createElement)(ee,{isSmall:t})}var re=r(31987),ne=r(46627);const ae=(0,x.A)($.zr,{target:"es1l7u91"})("height:",(({size:e})=>e),"px;width:auto;max-width:100%;"),oe=(0,x.A)($.Gi,{target:"es1l7u90"})("height:",(({size:e})=>e),"px;width:auto;max-width:100%;");function ie({size:e=25,className:t}){const{installType:r}=(0,re.useSelect)((e=>({installType:e(ne.coreStore).getInstallType()})),[]);return"free"===r?(0,n.createElement)(ae,{size:e,className:t}):(0,n.createElement)(oe,{size:e,className:t})}var le=r(98616),se=r.n(le),ce=r(76154),ue=r.n(ce),de=r(1417),me=r(89959);const pe=(0,x.A)("div",{target:"e1pwp6dm1"})({name:"aj6rbz",styles:"display:flex;gap:0.5rem"}),ge=(0,x.A)(g.$n,{target:"e1pwp6dm0"})({name:"1o3nkn",styles:"margin-left:auto"}),he=se()((()=>[{value:"24-hours",label:(0,N.__)("24 Hours","it-l10n-ithemes-security-pro")},{value:"week",label:(0,N.__)("7 Days","it-l10n-ithemes-security-pro")},{value:"30-days",label:(0,N.__)("30 Days","it-l10n-ithemes-security-pro")},{value:"custom",label:(0,N.__)("Custom","it-l10n-ithemes-security-pro")}]));function fe({value:e,onChange:t}){const[r,a]=(0,i.useState)(!1),[l,s]=(0,i.useState)(void 0),[c,d]=(0,i.useState)(void 0);let[m,p]=(0,i.useState)(void 0);const h=e,f=function(e){if(!e)return"No dates chosen";const t=new window.Date;let r,n;switch(e){case"24-hours":return(0,N.__)("24 Hours","it-l10n-ithemes-security-pro");case"30-days":r=(0,me.dateI18n)("M j",t.setDate(t.getDate()-30)),n=(0,me.dateI18n)("M j, Y");break;case"week":r=(0,me.dateI18n)("M j",t.setDate(t.getDate()-7)),n=(0,me.dateI18n)("M j, Y");break;default:r=(0,me.dateI18n)("M j",e.start),n=(0,me.dateI18n)("M j, Y",e.end)}return(0,N.sprintf)((0,N.__)("%1$s - %2$s","it-l10n-ithemes-security-pro"),r,n)}(h);return m=m||((0,o.isString)(h)?h:"custom"),(0,n.createElement)("div",null,(0,n.createElement)(g.$n,{onClick:()=>a(!r),title:f,"aria-expanded":r,"aria-label":(0,N.sprintf)((0,N.__)("%s (click to edit)","it-l10n-ithemes-security-pro"),f),variant:"tertiary",text:f,icon:de.A,iconPosition:"right"}),r&&(0,n.createElement)(u.Modal,{title:(0,N.__)("Change Date Period","it-l10n-ithemes-security-pro"),onRequestClose:()=>a(!1)},(0,n.createElement)(u.SelectControl,{options:he(),value:m,onChange:e=>p(e)}),(0,n.createElement)(pe,null,"custom"===m&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.Dropdown,{renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(g.$n,{variant:"secondary",onClick:t,"aria-expanded":e,"aria-label":(0,N.sprintf)((0,N.__)("From: %s (click to edit","it-l10n-ithemes-security-pro"),(0,me.dateI18n)("M j",l)),text:(0,N.sprintf)((0,N.__)("From %s","it-l10n-ithemes-security-pro"),(0,me.dateI18n)("M j",l))}),renderContent:()=>(0,n.createElement)(u.DatePicker,{currentDate:l,onChange:s,isInvalidDate:e=>{if((0,me.isInTheFuture)(e))return!0;const t=new window.Date;return t.setDate(t.getDate()-60),e<t}})}),(0,n.createElement)(u.Dropdown,{renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(g.$n,{variant:"secondary",onClick:t,"aria-expanded":e,"aria-label":(0,N.sprintf)((0,N.__)("To: %s (click to edit","it-l10n-ithemes-security-pro"),(0,me.dateI18n)("M j",c)),text:(0,N.sprintf)((0,N.__)("To: %s (click to edit","it-l10n-ithemes-security-pro"),(0,me.dateI18n)("M j",c))}),renderContent:()=>(0,n.createElement)(u.DatePicker,{currentDate:c,onChange:d,isInvalidDate:e=>!!(0,me.isInTheFuture)(e)||(0,me.getDate)(l)>e})})),(0,n.createElement)(ge,{variant:"primary",onClick:e=>{let r;if(e.preventDefault(),"custom"===m){const e=ue()(l).set({hour:0,minute:0,second:0}),t=ue()(c).set({hour:23,minute:59,second:59});r={start:(0,me.format)("Y-m-d\\TH:i:s",e),end:(0,me.format)("Y-m-d\\TH:i:s",t)}}else r=m;t(r),a(!1)},text:(0,N.__)("Apply","it-l10n-ithemes-security-pro")}))))}const Ee=(0,x.A)("div",{target:"ex22ski0"})({name:"nup90u",styles:"display:flex;flex-direction:column;gap:0.5rem;margin-bottom:0.5rem';"});function ye({result:e,hasBorder:t,schemaError:r,errors:a}){return(0,n.createElement)(Ee,null,(0,n.createElement)(v,{apiError:e?.error,schemaError:r,errors:a,hasBorder:t}),e?.success&&(0,n.createElement)(g.Mf,{messages:e.success,type:"success",hasBorder:t}),e?.warning&&(0,n.createElement)(g.Mf,{messages:e.warning,type:"warning",hasBorder:t}),e?.info&&(0,n.createElement)(g.Mf,{messages:e.info,type:"info",hasBorder:t}))}const be=(0,x.A)(u.Icon,{target:"ebvjfo71"})({name:"1svyz14",styles:"background-color:#438C56;border-radius:2rem"}),ve=(0,x.A)(u.Icon,{target:"ebvjfo70"})({name:"x749hy",styles:"background-color:#E6505466;border-radius:2rem;height:0.813rem!important;width:0.813rem!important;padding:2px"});var xe=r(28351),we=r(14707),_e=r(4818);function Ae(){const{versionActive:e,versionSettings:t,installType:r}=(0,re.useSelect)((e=>({versionActive:e(ne.modulesStore).isActive("version-management"),versionSettings:e(ne.modulesStore).getSettings("version-management"),installType:e(ne.coreStore).getInstallType()})),[]),a=e&&t.update_if_vulnerable,o="free"===r,i=a?(0,N.__)("Real-Time Updates Active","it-l10n-ithemes-security-pro"):(0,N.__)("Real-Time Updates Inactive","it-l10n-ithemes-security-pro"),l=o?(0,N.__)("Upgrade","it-l10n-ithemes-security-pro"):(0,N.__)("Enable “Auto Update If Fixes Vulnerability” in Version Management","it-l10n-ithemes-security-pro"),s=a?(0,n.createElement)(be,{icon:xe.A}):(0,n.createElement)(ve,{icon:we.A,style:{fill:"#8A2424"}});return(0,n.createElement)(g.Ex,{text:i,icon:s,iconColor:"#FFFFFF",tooltip:l})}function Ie(){const{hasPatchstack:e,installType:t}=(0,re.useSelect)((e=>({hasPatchstack:e(ne.coreStore).hasPatchstack(),installType:e(ne.coreStore).getInstallType()})),[]),r="free"===t,a=e?(0,N.__)("Virtual Patching Active","it-l10n-ithemes-security-pro"):(0,N.__)("Virtual Patching Inactive","it-l10n-ithemes-security-pro"),o=r?(0,N.__)("Upgrade","it-l10n-ithemes-security-pro"):null,i=e?_e.A:(0,n.createElement)(ve,{icon:we.A,style:{fill:"#8A2424"}});return(0,n.createElement)(g.Ex,{text:a,icon:i,iconColor:"#6817C5",tooltip:o})}var ke=r(55933);const Ne=(0,x.A)(u.Flex,{target:"e12ydfb40"})({name:"y8n2z8",styles:"margin-top:2.5rem"}),Le=()=>(0,n.createElement)(ke.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(ke.Circle,{cx:"4",cy:"4",r:"4"}));function Ce({currentPage:e,numberOfPages:t,setCurrentPage:r,onClose:a,allowNavigation:o=!0}){return(0,n.createElement)(Ne,{expand:!1,direction:"column",gap:"2.5rem",align:"center"},o&&(e<t-1?(0,n.createElement)(g.$n,{variant:"primary",onClick:()=>{r(e+1)},text:(0,N.__)("Next","it-l10n-ithemes-security-pro")}):(0,n.createElement)(g.$n,{variant:"primary",onClick:a,text:(0,N.__)("Done","it-l10n-ithemes-security-pro")})),(0,n.createElement)("ul",{className:"components-guide__page-control","aria-label":(0,N.__)("Guide controls","it-l10n-ithemes-security-pro")},Array.from({length:t}).map(((a,i)=>(0,n.createElement)("li",{key:i,"aria-current":i===e?"step":void 0},(0,n.createElement)(g.$n,{variant:"link",key:i,icon:(0,n.createElement)(Le,null),"aria-label":(0,N.sprintf)((0,N.__)("Page %1$d of %2$d","it-l10n-ithemes-security-pro"),i+1,t),onClick:()=>r(i),disabled:!o}))))))}var Oe=r(16957);const Se=(0,i.createContext)({preloaded:{}});function Me({preload:e,children:t}){const[r,a]=(0,i.useState)({preloaded:{}}),o=(0,i.useCallback)(((e,t)=>{a((r=>({...r,preloaded:{...r.preloaded,[e]:t}})))}),[a]);return(0,i.useEffect)((()=>{for(const t of e)r.preloaded.hasOwnProperty(t)||(o(t,void 0),fetch(Pe(t)).then((e=>e.arrayBuffer())).then((e=>o(t,e))).catch((e=>{console.error(`[Solid Security] Could not load rive graphic '${t}': ${e}`),o(t,null)})))}),[e,r.preloaded,o]),(0,n.createElement)(Se.Provider,{value:r},t)}function Fe(e,t,r){const{preloaded:n}=(0,i.useContext)(Se);return n[e]?t.buffer=n[e]:t.src=Pe(e),(0,Oe.useRive)(t,r)}function Pe(e){return`${itsecWebpackPublicPath}../core/img/rive/${e}.riv`}function Te(e){return(0,n.createElement)(ke.SVG,(0,f.A)({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),(0,n.createElement)(ke.Path,{d:"M9 10h6.125M9 13.556h3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}))}function Be(e){return(0,n.createElement)(ke.SVG,(0,f.A)({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),(0,n.createElement)(ke.Path,{d:"M8 8h8.75M8 11.555h6.125M8 15.111h3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}))}function De(e){return(0,n.createElement)(ke.SVG,(0,f.A)({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),(0,n.createElement)(ke.Path,{d:"M5 6h13M5 10h10M5 14h7m-7 4h4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}))}function ze({priority:e,...t}){switch(e){case"low":return(0,n.createElement)(Te,t);case"medium":return(0,n.createElement)(Be,t);case"high":return(0,n.createElement)(De,t)}}const $e=(0,x.A)("span",{target:"e1e0u6nr2"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),Ve=(0,x.A)("div",{target:"e1e0u6nr1"})("background-color:",(({priority:e})=>"low"===e&&"#e7e7e7"),";background-color:",(({priority:e})=>"medium"===e&&"#ffcb2f"),";background-color:",(({priority:e})=>"high"===e&&"#d63638"),";color:",(({priority:e})=>"low"===e&&"#232323"),";color:",(({priority:e})=>"medium"===e&&"#232323"),";color:",(({priority:e})=>"high"===e&&"#ffffff"),";display:flex;align-items:center;padding-right:0.5rem;&>svg{width:24px;height:24px;}"),je=(0,x.A)("div",{target:"e1e0u6nr0"})("background-color:",(({priority:e})=>"low"===e&&"#e7e7e7"),";background-color:",(({priority:e})=>"medium"===e&&"#fffbef"),";background-color:",(({priority:e})=>"high"===e&&"#fcf0f1"),";color:",(({priority:e})=>"low"===e&&"#232323"),";color:",(({priority:e})=>"medium"===e&&"#FFCB2F"),";color:",(({priority:e})=>"high"===e&&"#D63638"),";border:",(({priority:e})=>"medium"===e&&"1px solid #ffc518"),";border:",(({priority:e})=>"high"===e&&"1px solid #d63638"),";display:flex;align-items:center;justify-content:center;padding:1rem;width:100%;gap:1rem;&>svg{width:48px;height:48px;}");function He(e){switch(!0){case"low"===e:return(0,N.__)("Low","it-l10n-ithemes-security-pro");case"medium"===e:return(0,N.__)("Medium","it-l10n-ithemes-security-pro");default:return(0,N.__)("High","it-l10n-ithemes-security-pro")}}function Ye(e){switch(!0){case"low"===e:return(0,N.__)("Low priority","it-l10n-ithemes-security-pro");case"medium"===e:return(0,N.__)("Medium priority","it-l10n-ithemes-security-pro");default:return(0,N.__)("High priority","it-l10n-ithemes-security-pro")}}function We({priority:e}){return(0,n.createElement)(Ve,{priority:e},(0,n.createElement)(ze,{priority:e}),(0,n.createElement)(g.EY,{text:He(e),weight:"high"===e?g.uL.HEAVY:g.uL.NORMAL,variant:"high"===e?g.J3.WHITE:g.J3.NORMAL}))}function Ge({priority:e,description:t}){return(0,n.createElement)(je,{priority:e},(0,n.createElement)(ze,{priority:e}),(0,n.createElement)($e,null,(0,n.createElement)(g.EY,{text:Ye(e),weight:g.uL.HEAVY,size:g.$C.LARGE}),t&&(0,n.createElement)(g.EY,{text:t})))}function Re({priority:e,isExpanded:t,description:r}){return t?(0,n.createElement)(Ge,{priority:e,description:r}):(0,n.createElement)(We,{priority:e})}function qe(e,t){if(!Number.isInteger(e))return function(e){switch(!0){case e<3:return"low";case e<7:return"medium";default:return"high"}}(t);switch(!0){case e<=1:return"low";case e<=2:return"medium";default:return"high"}}function Je({priority:e,score:t,isExpanded:r}){return(0,n.createElement)(Re,{priority:qe(e,t),isExpanded:r,description:r?(0,N.__)("Patchstack priority","it-l10n-ithemes-security-pro"):""})}function Ue({as:e="div"}){return(0,n.createElement)(Ke,{variant:g.ls.DARK,as:e},(0,n.createElement)(g.EY,{size:g.$C.SMALL,variant:g.J3.WHITE,weight:g.uL.HEAVY,text:(0,N.__)("Pro","it-l10n-ithemes-security-pro")}))}const Ke=(0,x.A)(g.ui,{target:"e1bsq51z0"})({name:"hekhoa",styles:"display:flex;align-items:center;padding:1px 8px;background-image:linear-gradient(\n\t\t116deg,\n\t\t#3c3454 0%,\n\t\t#44375a 36%,\n\t\t#66457b 100%\n\t);border-radius:5px"});var Qe=r(88053);const Ze=(0,x.A)(u.Icon,{target:"e1tquifb1"})({name:"i7362z",styles:"background-color:#FFABAF;border-radius:2rem"}),Xe=(0,x.A)(u.Icon,{target:"e1tquifb0"})({name:"1svyz14",styles:"background-color:#438C56;border-radius:2rem"});function et({status:e,...t}){switch(e){case"attention":return(0,n.createElement)(Ze,(0,f.A)({icon:Qe.A,style:{fill:"#D75A4B"}},t));case"resolved":return(0,n.createElement)(Xe,(0,f.A)({icon:xe.A,style:{fill:"#FFFFFF"}},t));case"mitigated":return(0,n.createElement)($.VY,t);default:return null}}}}]);
Save
Cancel