try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d744c1fc-382f-4062-8a40-852ba63725eb",e._sentryDebugIdIdentifier="sentry-dbid-d744c1fc-382f-4062-8a40-852ba63725eb")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"ccbf9edc7282e341cac3e48beaffa07161acd968"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7877],{37877:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var d=n(96540),a=n(7960),o=n(86663),i=n(85647),s=n(46587),l=n(49389),r=n(55093),c=n(62718),f=n(38743),h=n(74848);const u=(0,a.A)((()=>Promise.all([n.e(1817),n.e(6486),n.e(1414),n.e(4209),n.e(4211)]).then(n.bind(n,24211))),"AlertWebview"),g=(b=(0,f.Xc)((()=>{const{search:e}=window.location,{space_id:t,room_id:n,node_name:a,node_id:f}=o.parse(e),g=(0,s.uW)("isLoaded");return(0,l.Ay)(),g?(0,h.jsx)(d.Suspense,{fallback:(0,h.jsx)(c.xh,{}),children:(0,h.jsx)(i.BV,{children:(0,h.jsx)(i.qh,{path:"alerts/:alertId",element:(0,h.jsx)(u,{spaceId:t,roomId:n,nodeName:a,nodeId:f})})})}):(0,h.jsx)(r.A,{})})),e=>{const{hash:t}=window.location,{token:n}=o.parse(t),[a,i]=(0,d.useState)();return(0,d.useEffect)((()=>{n&&(i(n),localStorage.setItem("netdataJWT",n))}),[]),a?(0,h.jsx)(b,{...e}):(0,h.jsx)(r.A,{})});var b},55093:(e,t,n)=>{n.d(t,{A:()=>r,m:()=>l});n(96540);var d=n(33185),a=n(99275),o=n(74848);const i=(0,d.keyframes)(["from{opacity:0.4;}to{opacity:1;}"]),s=(0,d.default)(a.Icon).withConfig({displayName:"loader__StyledIcon",componentId:"sc-a76ek6-0"})(["width:",";height:",";animation:",";"],(e=>e.width),(e=>e.height),(e=>{let{animate:t}=e;return t?(0,d.css)([""," 1.6s ease-in infinite"],i):""})),l=e=>{let{title:t="Loading",width:n="208px",height:d="177px",...a}=e;return(0,o.jsx)(s,{name:"netdata",color:"primary",title:t,"data-testid":"loading-logo",width:n,height:d,...a})},r=e=>{let{title:t,body:n,iconProps:d,animate:i=!0,testId:s="",...r}=e;return(0,o.jsxs)(a.Flex,{column:!0,height:"100vh",background:"mainBackground",width:"100%",justifyContent:"center",alignItems:"center","data-testid":`loader-container-${s}`,...r,children:[(0,o.jsx)(l,{...d,animate:i}),t&&(0,o.jsx)(a.H3,{color:"text",margin:[1,0,0],children:t}),n&&(0,o.jsx)(a.Text,{color:"text",margin:[4.5,0,0],children:n})]})}}}]);