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