File: //opt/netdata/usr/share/netdata/web/v3/4306.c2b11a988e2f37bd5b8e.chunk.js
!function(){try{var d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};d.SENTRY_RELEASE={id:"0725d67f2585acd82a0d73d488b6cd9060c3224d"};var e=(new d.Error).stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="fc6e4d58-e3f9-473a-b5a7-9bada9c909a2",d._sentryDebugIdIdentifier="sentry-dbid-fc6e4d58-e3f9-473a-b5a7-9bada9c909a2")}catch(d){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4306],{95297(d,e,a){a.r(e),a.d(e,{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(69645),p=a(12407),y=a(60908),I=a(74848);const v=d=>{let{id:e}=d;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)(e,{spaceId:a,spaceSlug:o,roomId:t,roomSlug:s});return l?(0,I.jsx)(g.A,{}):(0,I.jsx)(y.Ay,{feature:"Dashboard",dashboardId:e,children:"notAvailable"===r?(0,I.jsx)(p.A,{flavour:"dashboard"}):(0,I.jsx)(h.A,{id:e},JSON.stringify({id:e,loading:l}))})},m=(0,o.memo)(d=>{let{customDashboardId:e}=d;(0,l.A)(),(d=>{const{dashboardSlug:e=d}=(0,t.g)(),a=(0,s.Xv)(),r=(0,s.Tf)();(0,o.useEffect)(()=>{r!==e&&a(e)},[r,e]),(0,o.useEffect)(()=>()=>a(null),[])})(e),(0,r.z1)(e);const a=(0,b.zi)(e),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(d,e,a){var o=a(66118);o.t1.register(...o.$L)}}]);