File: //opt/netdata/usr/local/local/share/netdata/web/v3/4306.c8e4241effa3c5b82a49.chunk.js
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"d147606963bc0c498afbaa54c78aa7ffe6a22839"};var d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="11361ae2-70ca-4e5e-9eef-dca47984dda6",e._sentryDebugIdIdentifier="sentry-dbid-11361ae2-70ca-4e5e-9eef-dca47984dda6")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4306],{95297(e,d,a){a.r(d),a.d(d,{DashboardContent:()=>v,default:()=>m});a(33110);var o=a(96540),t=a(76667),s=a(96243);var r=a(93933),n=a(24609),i=a(19186),l=a(41579),u=a(67294),b=a(92726),c=a(44245),f=a(45706),g=a(1623),h=a(31623),p=a(12407),y=a(60908),I=a(74848);const v=e=>{let{id:d}=e;const a=(0,n.vt)(),o=(0,n.bq)(),t=(0,i.ID)(),s=(0,i.QW)(),r=(0,b.oj)("state"),l=(0,f.A)(d,{spaceId:a,spaceSlug:o,roomId:t,roomSlug:s});return l?(0,I.jsx)(g.A,{}):(0,I.jsx)(y.Ay,{feature:"Dashboard",dashboardId:d,children:"notAvailable"===r?(0,I.jsx)(p.A,{flavour:"dashboard"}):(0,I.jsx)(h.A,{id:d},JSON.stringify({id:d,loading:l}))})},m=(0,o.memo)(e=>{let{customDashboardId:d}=e;(0,l.A)(),(e=>{const{dashboardSlug:d=e}=(0,t.g)(),a=(0,s.Xv)(),r=(0,s.Tf)();(0,o.useEffect)(()=>{r!==d&&a(d)},[r,d]),(0,o.useEffect)(()=>()=>a(null),[])})(d),(0,r.z1)(d);const a=(0,b.zi)(d),n=(0,b.oj)("slug");(0,c.ZB)({title:n,id:a,destination:n,type:"dashboards",droppable:!0,droppableProps:{dashboardId:a,dropArea:!0},tooltip:{title:n,description:"Custom dashboard with personalized visualizations and metrics tailored to your monitoring requirements."}});const i=(0,u.RQ)();return(0,I.jsx)(v,{id:i?a:null})})},47154(e,d,a){var o=a(66118);o.t1.register(...o.$L)}}]);