File: //opt/netdata/usr/local/share/netdata/web/v3/636.effbe773ebc60b84e4fd.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:"aeeb2702d6a0b41e7dabfc313b63e720f0845c35"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b76bc648-91ed-459c-953d-763b6b8ad3b0",e._sentryDebugIdIdentifier="sentry-dbid-b76bc648-91ed-459c-953d-763b6b8ad3b0")}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[636,7281],{7281(e,t,r){r.r(t),r.d(t,{default:()=>p,dropInFlavour:()=>s});var n=r(64467),o=(r(98992),r(23215),r(54520),r(3949),r(37550),r(96540)),i=r(43375),a=r(74848);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const d={activationConstraint:{delay:50,tolerance:10}},s={dropArea:"dropArea",dashboard:"dashboard",self:"self"},p=e=>{let{children:t}=e;const r=(0,o.useCallback)((e=>{const{active:t}=e,{isResizer:r,itemId:n,itemContainerId:o,rootId:a,navigationTab:c}=t.data.current||{};if(c)return(0,i.fp)(l(l({},e),{},{droppableContainers:e.droppableContainers.filter((e=>e.data.current.sortable&&e.data.current.navigationTab))}));if(r){const r=e.droppableRects.get(n)||e.droppableRects.get("".concat(a,"-").concat(n));return(0,i.Qo)(l(l({},e),{},{collisionRect:l(l({},r),t.rect.current.translated&&{width:r.width+(t.rect.current.translated.right-t.rect.current.initial.right),height:r.height+(t.rect.current.translated.bottom-t.rect.current.initial.bottom)}),droppableContainers:e.droppableContainers.filter((e=>{var t;return!(null!==(t=e.data.current)&&void 0!==t&&t.isContainer)&&e.data.current.itemContainerId===o}))}))}let d,s=e.droppableContainers.filter((e=>e.data.current.droppable));if(s.length){if(d=(0,i.TT)(l(l({},e),{},{droppableContainers:s})),d.length>0||s.every((e=>e.data.current.onlyPointerWithin)))return d;if(d=(0,i.Qo)(l(l({},e),{},{droppableContainers:s.filter((e=>!e.data.current.onlyPointerWithin))})),d.length>0)return d}if(s=e.droppableContainers.filter((e=>e.data.current.dropArea)),d=(0,i.Qo)(l(l({},e),{},{droppableContainers:s})),d.length>0){const t=(0,i.TT)(l(l({},e),{},{droppableContainers:s.filter((e=>d.some((t=>t.id===e.id))))}));if(t.length>0)return t}const p=(0,i.TT)(l(l({},e),{},{droppableContainers:e.droppableContainers.filter((e=>{var t;return!(null!==(t=e.data.current)&&void 0!==t&&t.isResizer||e.id===n)}))}));return p.length>0?p:(0,i.fp)(l(l({},e),{},{droppableContainers:e.droppableContainers.filter((e=>{var t;return!(null!==(t=e.data.current)&&void 0!==t&&t.isResizer||e.id===n)}))}))}),[]),n=(0,i.FR)((0,i.MS)(i.cA,d),(0,i.MS)(i.IG,d));return(0,a.jsx)(i.Mp,{sensors:n,collisionDetection:r,measuring:{droppable:{strategy:i.Pf.Always},draggable:{measure:i.Sj}},autoScroll:!1,children:t})}},60959(e,t,r){r.d(t,{A:()=>a});var n=r(68978),o=r(10444),i=r(74848);const a=e=>{let{children:t}=e;return(0,o.J)()?(0,i.jsx)(n.Layer,{full:!0,children:(0,i.jsx)(n.Flex,{width:"100%",background:"mainBackground","data-testid":"mobileContainer",children:t})}):t}},51571(e,t,r){r.d(t,{A:()=>s});r(98992),r(54520),r(3949);var n=r(64467),o=r(80045),i=r(68978),a=r(99728),c=r(74848);const l=["ifForbidden","permission","spaceId","Component","ref"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const s=e=>{let{ifForbidden:t="disabled",permission:r,spaceId:s,Component:p=i.Button,ref:u}=e,b=(0,o.A)(e,l);const f=(0,a.JT)(r,s);return"hide"!==t||f?(0,c.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({ref:u,disabled:"disabled"===t&&!f||b.disabled},b)):null}},31481(e,t,r){r.r(t),r.d(t,{default:()=>s});var n=r(35570),o=r(40910),i=r(45706),a=r(1623),c=r(60959),l=r(7281),d=r(74848);const s=e=>{let{spaceId:t,roomId:r}=e;const{dashboardId:s}=(0,n.g)();return(0,i.A)(s,{spaceId:t,roomId:r})?(0,d.jsx)(a.A,{}):(0,d.jsx)(l.default,{children:(0,d.jsx)(c.A,{children:(0,d.jsx)(o.J,{id:s,roomId:r,nodeIds:[],isOnTV:!0})})})}},67916(e,t,r){r.d(t,{Ey:()=>o,li:()=>i,ni:()=>a});r(89463);var n=r(91130);const o=e=>{let{description:t,scope:r}=e;return n.A.post("/api/v1/auth/account/api-token",{description:t,scopes:[r]})},i=()=>n.A.get("/api/v1/auth/account/api-token"),a=e=>n.A.delete("/api/v1/auth/account/api-token/".concat(e))},12273(e,t,r){r.d(t,{FU:()=>d,RV:()=>s,vE:()=>u,yB:()=>p});r(98992),r(54520),r(3949);var n=r(64467),o=r(51510),i=r(68978),a=r(74848);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const d=o.default.div.withConfig({displayName:"styled__TokenContainer",componentId:"sc-s1axew-0"})(["display:flex;flex-direction:column;align-items:center;color:",";background:",";border:1px solid ",";border-radius:2px;overflow-wrap:anywhere;white-space:pre-wrap;padding:23px 27px 14px;width:100%;font-family:monospace;letter-spacing:0.09px;line-height:18px;font-size:14px;word-break:break-word;"],(0,i.getColor)("textDescription"),(0,i.getColor)("modalTabsBackground"),(0,i.getColor)("borderSecondary")),s=e=>(0,a.jsx)(i.Box,l(l({},e),{},{as:i.Icon,sx:{borderRadius:"50%",overflow:"hidden",background:(0,i.getColor)(["neutral","white"])}})),p=e=>(0,a.jsx)(i.Text,l(l({},e),{},{color:["neutral","grey35"]})),u=e=>(0,a.jsx)(i.Flex,l(l({},e),{},{as:i.Icon,sx:{alignSelf:"flex-end",cursor:"pointer"}}))},85660(e,t,r){r.d(t,{A:()=>i});r(62953);var n=r(96540);const o={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},i=function(){let{callback:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,r]=(0,n.useState)(null),[i,a]=(0,n.useState)(o),c=(0,n.useMemo)((()=>new window.ResizeObserver((t=>{if(t[0]){const{x:r,y:n,width:o,height:i,top:c,left:l,bottom:d,right:s}=t[0].contentRect;a({x:r,y:n,width:o,height:i,top:c,left:l,bottom:d,right:s}),"function"===typeof e&&e(t[0].contentRect)}}))),[e]);return(0,n.useLayoutEffect)((()=>{if(t)return c.observe(t),()=>{c.disconnect()}}),[t]),[r,i]}},79978(e,t,r){var n=r(46518),o=r(69565),i=r(79504),a=r(67750),c=r(94901),l=r(20034),d=r(60788),s=r(655),p=r(55966),u=r(61034),b=r(2478),f=r(78227),g=r(96395),h=f("replace"),y=TypeError,O=i("".indexOf),w=i("".replace),v=i("".slice),j=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,f,m,x,C,P,I,k,A=a(this),D=0,S="";if(l(e)){if((r=d(e))&&(n=s(a(u(e))),!~O(n,"g")))throw new y("`.replaceAll` does not allow non-global regexes");if(i=p(e,h))return o(i,e,A,t);if(g&&r)return w(s(A),e,t)}for(f=s(A),m=s(e),(x=c(t))||(t=s(t)),C=m.length,P=j(1,C),I=O(f,m);-1!==I;)k=x?s(t(m,I,f)):b(m,f,I,[],void 0,t),S+=v(f,D,I)+k,D=I+C,I=I+P>f.length?-1:O(f,m,I+P);return D<f.length&&(S+=v(f,D)),S}})}}]);