File: //opt/netdata/usr/local/share/netdata/web/v3/7931.4a79a5be5f02d12a1565.chunk.js
!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};n.SENTRY_RELEASE={id:"4feb900574abdd30667a599041aadc4fc9f8ac80"};var e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="9064f54c-5b91-445e-8bc6-b5b5aae59cd4",n._sentryDebugIdIdentifier="sentry-dbid-9064f54c-5b91-445e-8bc6-b5b5aae59cd4")}catch(n){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[7931],{43581(n,e,a){a.d(e,{A:()=>i});var s=a(22794),t=a(34412),r=a(74848);const i=n=>{let{children:e}=n;return(0,r.jsx)(s.A,{config:{nodes:t.A},children:e})}},27931(n,e,a){a.r(e),a.d(e,{default:()=>w});a(98992),a(81454);var s=a(38429),t=a(56171),r=a(53949),i=a(43581),c=a(17662),d=a(96540),o=a(24609),l=a(40545);const g=n=>{let{key:e}=n;const{id:a}=(0,l.A)(),s=(0,o.vt)();return(0,d.useCallback)(()=>`${e}-${a}-${s}`,[e,a,s])};var b=a(74848);const u=n=>{let{warningKey:e,warningLevel:a,text:d}=n;const{background:o,isDismissable:l,icon:u,iconColor:f}=c.f[a],w=g({key:e}),{dismissed:y,onClose:h}=(0,r.A)({getLocalStorageKey:w,logKey:`${e}-dissmiss`});return y?null:(0,b.jsx)(t.A,{className:"space-warning-banner-container",testId:`space-warning-banner-${e}-${a}`,background:o,onClose:l?h:null,children:(0,b.jsxs)(s.Flex,{"data-testid":`text-space-warnings-${e}-${a}`,justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:[(0,b.jsx)(s.Icon,{"data-testid":`icon-banner-space-warnings-${e}-${a}`,color:f,name:u}),(0,b.jsx)(i.A,{children:d})]})})};var f=a(68534);const w=()=>{const{warnings:n}=(0,f.A)();return(0,b.jsx)(b.Fragment,{children:n.map(n=>(0,b.jsx)(u,{...n},n.warningKey))})}},68534(n,e,a){a.d(e,{A:()=>t});a(98992),a(81454);var s=a(24609);const t=()=>{const n=(0,s.ap)(),{warnings:e}=n||{};return{warnings:(e||[]).map(n=>{let{kind:e,text:a,urgency:s}=n;return{warningKey:e,warningLevel:s||"info",text:a}})}}}}]);