try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="06db104d-410c-4ab2-9c39-c2a36bec31a6",e._sentryDebugIdIdentifier="sentry-dbid-06db104d-410c-4ab2-9c39-c2a36bec31a6")}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([[1608],{61608:(e,d,n)=>{n.r(d),n.d(d,{default:()=>_});n(96540);var l=n(33185),o=n(63950),s=n.n(o),i=n(81683),t=n(78446),a=n(61449),c=n(24013),r=n(14681),h=n(74848);const b=e=>{let{id:d}=e;const n=(0,c.xY)(d,"name");return(0,h.jsxs)(a.Flex,{alignItems:"center",gap:1,children:[(0,h.jsx)(a.Icon,{name:"node_hollow",color:"text",size:"small"}),(0,h.jsx)(r.A,{nodeId:d,children:n})]})};var f=n(96768),x=n(76522),u=n(23208),j=n(94413),g=n(76609),p=n(81517),w=n(18283);const y=e=>{let{id:d}=e;const n=(0,c.xY)(d);return n.loaded?(0,h.jsxs)(a.Flex,{"data-testid":"node-info-home-page",column:!0,gap:1,overflow:{horizontal:"hidden",vertical:"auto"},padding:[2],width:"100%",children:[(0,h.jsx)(f.A,{node:n}),(0,h.jsx)(x.A,{node:n}),(0,h.jsx)(u.A,{id:d,flavour:"sidebar"}),(0,h.jsx)(j.A,{node:n}),(0,h.jsx)(g.A,{node:n}),(0,h.jsx)(p.A,{node:n}),(0,h.jsx)(w.A,{node:n})]}):null};var m=n(50959);const A=(0,l.default)(a.Tabs).withConfig({displayName:"contents__StyledTabs",componentId:"sc-11zjb7h-0"})(["overflow:hidden;height:100%;"]),I=e=>d=>(0,h.jsx)(a.Flex,{column:!0,overflow:"hidden",height:"calc(100% - 80px)",position:"relative",gap:3,padding:[1,0],children:(0,h.jsx)(e,{...d})}),T=I(y),v=I(m.A),_=e=>{let{id:d,onClose:n=s()}=e;return(0,h.jsx)(i.Ay,{width:90,isOpen:!0,header:(0,h.jsx)(t.A,{title:(0,h.jsx)(b,{id:d}),onClick:n}),children:(0,h.jsx)(a.Flex,{"data-testid":"home-sidebar-tabs",column:!0,overflow:"hidden",height:"100%",children:(0,h.jsxs)(A,{selected:0,children:[(0,h.jsx)(a.Tab,{label:(0,h.jsx)(a.Text,{children:"Info"}),small:!0,children:(0,h.jsx)(T,{id:d})}),(0,h.jsx)(a.Tab,{label:(0,h.jsx)(a.Text,{children:"Alerts"}),small:!0,children:(0,h.jsx)(v,{nodeIds:[d]})})]})})})}}}]);