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]="31762675-0d36-4229-945f-b6eb65e08c3e",e._sentryDebugIdIdentifier="sentry-dbid-31762675-0d36-4229-945f-b6eb65e08c3e")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d649380d18bd074b7bbfcec2ab9936055a4607a"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7877],{37877:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var d=n(96540),o=n(7960),a=n(86663),i=n(31362),s=n(61449),l=n(46587),r=n(49389),h=n(55093),c=n(62718),f=n(38743),b=n(74848);const u=(0,o.A)((()=>Promise.all([n.e(7866),n.e(8800),n.e(5641),n.e(3149),n.e(6472),n.e(3688)]).then(n.bind(n,24211))),"AlertWebview"),g=(0,o.A)((()=>Promise.all([n.e(7866),n.e(5641),n.e(2573),n.e(3704),n.e(180),n.e(8498),n.e(4424),n.e(9749),n.e(2377)]).then(n.bind(n,31481))),"DashboardWebview"),p=(m=(0,f.Xc)((()=>{const{search:e}=window.location,{space_id:t,room_id:n,node_name:o,node_id:f}=a.parse(e),p=(0,l.uW)("isLoaded");return(0,r.Ay)(),p?(0,b.jsx)(s.Flex,{overflow:"hidden",height:"100vh",width:"100vw",children:(0,b.jsx)(d.Suspense,{fallback:(0,b.jsx)(c.xh,{}),children:(0,b.jsxs)(i.BV,{children:[(0,b.jsx)(i.qh,{path:"alerts/:alertId",element:(0,b.jsx)(u,{spaceId:t,roomId:n,nodeName:o,nodeId:f})}),(0,b.jsx)(i.qh,{path:"dashboards/:dashboardId",element:(0,b.jsx)(g,{spaceId:t,roomId:n})})]})})}):(0,b.jsx)(h.A,{})})),e=>{const{hash:t}=window.location,{token:n}=a.parse(t),[o,i]=(0,d.useState)();return(0,d.useEffect)((()=>{n&&(i(n),localStorage.setItem("netdataJWT",n))}),[]),o?(0,b.jsx)(m,{...e}):(0,b.jsx)(h.A,{})});var m},55093:(e,t,n)=>{n.d(t,{A:()=>r,m:()=>l});n(96540);var d=n(33185),o=n(61449),a=n(74848);const i=(0,d.keyframes)(["from{opacity:0.4;}to{opacity:1;}"]),s=(0,d.default)(o.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",...o}=e;return(0,a.jsx)(s,{name:"netdata",color:"primary",title:t,"data-testid":"loading-logo",width:n,height:d,...o})},r=e=>{let{title:t,body:n,iconProps:d,animate:i=!0,testId:s="",...r}=e;return(0,a.jsxs)(o.Flex,{column:!0,height:"100vh",background:"mainBackground",width:"100%",justifyContent:"center",alignItems:"center","data-testid":`loader-container-${s}`,...r,children:[(0,a.jsx)(l,{...d,animate:i}),t&&(0,a.jsx)(o.H3,{color:"text",margin:[1,0,0],children:t}),n&&(0,a.jsx)(o.Text,{color:"text",margin:[4.5,0,0],children:n})]})}}}]);