try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c4432ea7-2229-46e9-a0b2-44ab1ad0b956",e._sentryDebugIdIdentifier="sentry-dbid-c4432ea7-2229-46e9-a0b2-44ab1ad0b956")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"211fba685705af0d3bd5f116a0eb09f7293a1656"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2558],{12558:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var o=t(96540),a=t(63766),d=t(56171),s=t(79748),r=t(6304),i=t(32886),l=t(74848);const c=()=>{const e=(0,i.e)(),[n,,t,c]=(0,r.A)();return(0,o.useEffect)((()=>{"Reachable"===e&&t()}),[e]),n?(0,l.jsx)(a.Layer,{full:"horizontal",backdropProps:{backdropBlur:"3px"},onClickOutside:c,onEsc:c,position:"top",children:(0,l.jsxs)(d.A,{testId:"agent-not-secure-banner",width:"100%",background:"warningBackground",position:"absolute",top:"0",tooltipProps:{align:"top"},zIndex:20,children:[(0,l.jsx)(a.Flex,{justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:(0,l.jsxs)(a.Text,{children:["IMPORTANT: This Netdata is openly accessible from the Internet!"," ",(0,l.jsx)(s.A,{"data-testid":"learn",href:"https://learn.netdata.cloud/docs/netdata-agent/securing-netdata-agents/",as:"a",cursor:"pointer",textDecoration:"underline",color:"text",hoverColor:"textFocus",children:"Secure your Netdata now"}),"!"]})}),(0,l.jsx)(a.Box,{"data-testid":"agent-not-secure-banner-close-button",as:a.Icon,color:"text",cursor:"pointer",name:"x",position:"absolute",right:"8px",onClick:c})]})}):null}}}]);