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]="b03f2f50-49ff-43cb-ae96-8706a62e5770",e._sentryDebugIdIdentifier="sentry-dbid-b03f2f50-49ff-43cb-ae96-8706a62e5770")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"833aaee1cc06f5081274f22d18347a1cce30fb04"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6672],{46672:function(e,n,t){t.r(n);var l=t(29439),a=(t(66992),t(41539),t(88674),t(78783),t(33948),t(67294)),o=t(2145),d=t(71893),r=t(13655),i=t(82351),f=t(5312),u=t(12008),c=t(88387),s=t(78266),b=t(14808),m=(0,o.Z)((function(){return Promise.all([t.e(1277),t.e(877),t.e(223)]).then(t.bind(t,3027))}),"Content"),g=(0,d.default)(r.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);"]),E=function(){return a.createElement(s.Z,{title:"Loading configuration manager"})};n.default=function(){var e=(0,f.rJ)(),n=(0,l.Z)(e,2),t=n[0],o=n[1],d=(0,f.Jx)(),s=(0,l.Z)(d,2)[1],p=(0,f.yL)(),w=(0,a.useState)(!1),v=(0,l.Z)(w,2),y=v[0],h=v[1];(0,u.yx)(null===t||void 0===t?void 0:t.alertId);var I=(0,u.E5)(null===t||void 0===t?void 0:t.alertId);(0,a.useEffect)((function(){t&&!t.alertId&&h(!0)}),[t]),(0,a.useEffect)((function(){if(null!==I&&void 0!==I&&I.fullyLoaded){var e=(0,c.jx)(I);s(e),h(!0)}}),[I]);var x=(0,a.useCallback)((function(){o(null),p(),h(!1)}),[o,p,h]);return b.h2&&t?a.createElement(r.Modal,null,a.createElement(g,null,a.createElement(r.ModalHeader,{justifyContent:"between",padding:[4]},a.createElement(r.Flex,{gap:2,alignItems:"center"},a.createElement(r.Icon,{name:"alarm_bell",color:"text",size:"small"}),a.createElement(r.H4,null,"Generate Alert Configuration")),a.createElement(r.Flex,{gap:2,alignItems:"baseline"},a.createElement(i.Z,{align:"bottom",content:"Close window",zIndex:7050},a.createElement(r.Flex,null,a.createElement(r.ModalCloseButton,{onClose:x,testId:"assistant-modal-close-button"}))))),a.createElement(r.ModalBody,{height:"100%",padding:[0,4],overflow:"hidden"},y?a.createElement(a.Suspense,{fallback:a.createElement(E,null)},a.createElement(m,null)):a.createElement(E,null)))):null}}}]);
|