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]="78ce0e12-3e26-47a9-92f2-3ad6b3e590bb",e._sentryDebugIdIdentifier="sentry-dbid-78ce0e12-3e26-47a9-92f2-3ad6b3e590bb")}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([[6333],{96333:(e,d,n)=>{n.r(d),n.d(d,{default:()=>u});var o=n(96540),s=n(85647),t=n(99275),l=n(29022),f=n(79748),a=n(61841),i=n(81391),r=n(19186),b=n(37617),c=n(74848);const u=()=>{const[e,d]=(0,a.Ay)(),{path:n}=(0,b.A)(),u=(0,i.n)("id"),p=(0,r.wz)(u,"loaded"),y=(0,r.wz)(u,"nodeCount"),h=(0,s.Zp)();return(0,o.useEffect)((()=>{p&&0==y&&h(n,{replace:!0})}),[p,y,n,h]),p?(0,c.jsxs)(l.A,{title:"Empty room",children:[(0,c.jsx)(t.Text,{children:"This room has no nodes."}),(0,c.jsxs)(t.Text,{children:["Go to"," ",(0,c.jsx)(f.A,{as:s.N_,to:`/spaces/${e}/settings/rooms/${d}?tab=nodes`,children:"room settings"})," ","and add some nodes."]})]}):null}}}]);