summaryrefslogtreecommitdiffstats
path: root/src/web/gui/v2/934.aadd4297c0cd646a1038.chunk.js
blob: c0de459be7bd82845ae43c3d04ffa63956444f5c (plain)
1
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1371efcc-d17f-493b-9efc-3b6847219957",e._sentryDebugIdIdentifier="sentry-dbid-1371efcc-d17f-493b-9efc-3b6847219957")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"08864407160b3973b9b88c5ae92687282b21e2f4"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[934],{60934:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});t(62953);var l=t(96540),a=t(39225),o=t(8711),d=t(10058),r=t(29217),c=t(21875),i=t(64118),s=t(59303),f=t(28738),u=t(93155);const b=(0,a.A)((()=>Promise.all([t.e(7144),t.e(6331)]).then(t.bind(t,33590))),"Content"),m=(0,o.default)(d.ModalContent).attrs({width:{base:"90vw"},height:{base:"90vh",min:"90vh",max:"90vh"},padding:[0,0,4,0]}).withConfig({displayName:"configurationManagement__ModalContent",componentId:"sc-56l9v5-0"})(["box-shadow:0 18px 28px rgba(0,0,0,0.5);"]),g=()=>l.createElement(f.A,{title:"Loading configuration manager"}),E=()=>{const[e,n]=(0,c.v7)(),[,t]=(0,c.$h)(),a=(0,c.Vj)(),[o,f]=(0,l.useState)(!1);(0,i.yk)(null===e||void 0===e?void 0:e.alertId);const E=(0,i.JL)(null===e||void 0===e?void 0:e.alertId);(0,l.useEffect)((()=>{e&&!e.alertId&&f(!0)}),[e]),(0,l.useEffect)((()=>{if(null!==E&&void 0!==E&&E.fullyLoaded){const e=(0,s.we)(E);t(e),f(!0)}}),[E]);const p=(0,l.useCallback)((()=>{n(null),a(),f(!1)}),[n,a,f]);return u.Dm&&e?l.createElement(d.Modal,{backdropProps:{backdropBlur:!0}},l.createElement(m,null,l.createElement(d.ModalHeader,{justifyContent:"between",padding:[4]},l.createElement(d.Flex,{gap:2,alignItems:"center"},l.createElement(d.Icon,{name:"alarm_bell",color:"text",size:"small"}),l.createElement(d.H4,null,"Generate Alert Configuration")),l.createElement(d.Flex,{gap:2,alignItems:"baseline"},l.createElement(r.A,{align:"bottom",content:"Close window",zIndex:7050},l.createElement(d.Flex,null,l.createElement(d.ModalCloseButton,{onClose:p,testId:"assistant-modal-close-button"}))))),l.createElement(d.ModalBody,{height:"100%",padding:[0,4],overflow:"hidden"},o?l.createElement(l.Suspense,{fallback:l.createElement(g,null)},l.createElement(b,null)):l.createElement(g,null)))):null}}}]);