File: //opt/netdata/usr/local/local/share/netdata/web/v3/6839.710eeb04d8fb9d123d7d.chunk.js
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="43943b34-5119-466d-9533-0aabe7c4052f",e._sentryDebugIdIdentifier="sentry-dbid-43943b34-5119-466d-9533-0aabe7c4052f")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"9085f826cfdc1d75ddfbe898ad75a9c7a36a9da7"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6839,7281],{900:(e,t)=>{"use strict";var r=[128065],n="f06e",o="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";t.mw={prefix:"fas",iconName:"eye",icon:[576,512,r,n,o]},t.pS=t.mw},7281:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,dropInFlavour:()=>l});r(98992),r(23215),r(54520),r(37550);var n=r(96540),o=r(43375),a=r(74848);const i={activationConstraint:{delay:50,tolerance:10}},l={dropArea:"dropArea",dashboard:"dashboard",self:"self"},c=e=>{let{children:t}=e;const r=(0,n.useCallback)((e=>{const{active:t}=e,{isResizer:r,itemId:n,itemContainerId:a,rootId:i,navigationTab:l}=t.data.current||{};if(l)return(0,o.fp)({...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(`${i}-${n}`);return(0,o.Qo)({...e,collisionRect:{...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=>!e.data.current?.isContainer&&e.data.current.itemContainerId===a))})}let c,u=e.droppableContainers.filter((e=>e.data.current.droppable));if(u.length){if(c=(0,o.TT)({...e,droppableContainers:u}),c.length>0||u.every((e=>e.data.current.onlyPointerWithin)))return c;if(c=(0,o.Qo)({...e,droppableContainers:u.filter((e=>!e.data.current.onlyPointerWithin))}),c.length>0)return c}if(u=e.droppableContainers.filter((e=>e.data.current.dropArea)),c=(0,o.Qo)({...e,droppableContainers:u}),c.length>0){const t=(0,o.TT)({...e,droppableContainers:u.filter((e=>c.some((t=>t.id===e.id))))});if(t.length>0)return t}const s=(0,o.TT)({...e,droppableContainers:e.droppableContainers.filter((e=>!(e.data.current?.isResizer||e.id===n)))});return s.length>0?s:(0,o.fp)({...e,droppableContainers:e.droppableContainers.filter((e=>!(e.data.current?.isResizer||e.id===n)))})}),[]),l=(0,o.FR)((0,o.MS)(o.cA,i),(0,o.MS)(o.IG,i));return(0,a.jsx)(o.Mp,{sensors:l,collisionDetection:r,measuring:{droppable:{strategy:o.Pf.Always},draggable:{measure:o.Sj}},autoScroll:!1,children:t})}},12273:(e,t,r)=>{"use strict";r.d(t,{FU:()=>i,RV:()=>l,vE:()=>u,yB:()=>c});var n=r(33185),o=r(63766),a=r(74848);const i=n.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,o.getColor)("textDescription"),(0,o.getColor)("modalTabsBackground"),(0,o.getColor)("borderSecondary")),l=e=>(0,a.jsx)(o.Box,{...e,as:o.Icon,sx:{borderRadius:"50%",overflow:"hidden",background:(0,o.getColor)(["neutral","white"])}}),c=e=>(0,a.jsx)(o.Text,{...e,color:["neutral","grey35"]}),u=e=>(0,a.jsx)(o.Flex,{...e,as:o.Icon,sx:{alignSelf:"flex-end",cursor:"pointer"}})},23226:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(67012),o=r(6304),a=r(19371);const i=()=>{const[e,t]=(0,o.A)(!1),r=(0,a.eg)();return(0,n.A)((()=>{if(r&&r.getRoot())return r.getRoot().updateAttribute("paused",!r.getRoot().getAttribute("autofetchOnWindowBlur")&&r.getRoot().getAttribute("blurred")||e),()=>r.getRoot().updateAttribute("paused",!r.getRoot().getAttribute("autofetchOnWindowBlur")&&r.getRoot().getAttribute("blurred"))}),[r,e]),[e,t]}},31141:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(96540),o=r(42790);const a={},i=(e,t,r,i)=>{const[l,c]=(0,o.N9)("modal"),[u,s]=(0,o.N9)("modalTab"),[d,f]=(0,o.N9)("modalParams"),p=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0;"string"===typeof t&&s(t),c(e),r&&f(r)};return(0,n.useEffect)((()=>{t&&p(r,i)}),[]),{isModalOpen:e===l,currentModalTab:u,handleChangeModalTab:s,handleOpenModal:p,handleCloseModal:()=>{s(""),c(""),f()},params:d||a}}},31481:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(88934),o=r(40910),a=r(45706),i=r(1623),l=r(60959),c=r(7281),u=r(74848);const s=e=>{let{spaceId:t,roomId:r}=e;const{dashboardId:s}=(0,n.g)();return(0,a.A)(s,{spaceId:t,roomId:r})?(0,u.jsx)(i.A,{}):(0,u.jsx)(c.default,{children:(0,u.jsx)(l.A,{children:(0,u.jsx)(o.J,{id:s,roomId:r,nodeIds:[],isOnTV:!0})})})}},31800:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},35184:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,I1:()=>i});var n=r(33185),o=r(63766),a=r(74848);const i=(0,n.default)(o.Box).withConfig({displayName:"blur__BlurredBox",componentId:"sc-12emg8l-0"})(["position:absolute;top:0;bottom:0;left:0;right:0;backdrop-filter:blur(",");z-index:30;"],(e=>{let{value:t}=e;return t||"7px"})),l=e=>{let{children:t,...r}=e;return(0,a.jsxs)(o.Box,{position:"relative",children:[t,(0,a.jsx)(i,{...r})]})}},38773:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(88934),o=r(79748),a=r(24609),i=r(74848);const l=e=>{let{children:t,...r}=e;const l=`/spaces/${(0,a.bq)()}/settings/nodes`;return(0,i.jsx)(o.A,{as:n.N_,to:l,...r,children:t})}},51571:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(63766),o=r(99728),a=r(74848);const i=e=>{let{ifForbidden:t="disabled",permission:r,spaceId:i,Component:l=n.Button,ref:c,...u}=e;const s=(0,o.JT)(r,i);return"hide"!==t||s?(0,a.jsx)(l,{ref:c,disabled:"disabled"===t&&!s||u.disabled,...u}):null}},54128:(e,t,r)=>{var n=r(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},54924:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,l={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return l;if(a=t?o:r){if(a.has(e))return a.get(e);a.set(e,l)}for(var c in e)"default"!==c&&{}.hasOwnProperty.call(e,c)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,c))&&(i.get||i.set)?a(l,c,i):l[c]=e[c]);return l}(e,t)}(r(96540)),a=r(63766),i=s(r(86263)),l=s(r(33640)),c=r(74848),u=["text","Component","noTooltip","ref"];function s(e){return e&&e.__esModule?e:{default:e}}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}function f(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){p(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}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}t.default=function(e){var t=e.text,r=e.Component,n=void 0===r?"div":r,s=e.noTooltip,d=e.ref,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),y=b((0,o.useState)(""),2),h=y[0],g=y[1],v=b((0,o.useState)(),2),m=v[0],x=v[1];return(0,o.useEffect)((function(){if(m){for(var e=m.offsetWidth,r=0;m.scrollWidth>e;)m.textContent=(0,i.default)(m.textContent,r),r+=1;m.textContent!==t&&g(t)}}),[t,m]),(0,c.jsx)(l.default,{content:!s&&h?t:"",align:"bottom",isBasic:!0,children:(0,c.jsx)(n,f(f({truncate:!0,ref:(0,a.mergeRefs)(d,x)},p),{},{children:t}))})}},56284:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var a,i,l={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return l;if(a=t?o:r){if(a.has(e))return a.get(e);a.set(e,l)}for(var c in e)"default"!==c&&{}.hasOwnProperty.call(e,c)&&((i=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,c))&&(i.get||i.set)?a(l,c,i):l[c]=e[c]);return l}(e,t)}(r(96540)),a=r(74848),i=["children","Component","maxHeight","maxWidth","maxFontSize","minFontSize","cacheKey"];function l(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}t.default=function(e){var t=e.children,r=e.Component,n=void 0===r?"div":r,l=e.maxHeight,u=void 0===l?100:l,d=e.maxWidth,f=void 0===d?100:d,p=e.maxFontSize,b=void 0===p?50:p,y=e.minFontSize,h=void 0===y?10:y,g=(e.cacheKey,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,i)),v=s((0,o.useState)(),2),m=v[0],x=v[1],w=(0,o.useRef)(!1);return(0,o.useEffect)((function(){if(m){var e=setTimeout((function(){w.current=!1;var e=b;for(m.style.animation="font-size 02s",m.style.fontSize=e+"px";!w.current&&e>h&&(m.offsetWidth>f||m.offsetHeight>u);){e-=Math.ceil(e/100),m.style.fontSize=e+"px"}}));return function(){w.current=!0,clearTimeout(e)}}}),[t,u,f,m]),(0,a.jsx)(n,c(c({truncate:!0,ref:x},g),{},{children:t}))}},60959:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(63766),o=r(10444),a=r(74848);const i=e=>{let{children:t}=e;return(0,o.J)()?(0,a.jsx)(n.Layer,{full:!0,children:(0,a.jsx)(n.Flex,{width:"100%",background:"mainBackground","data-testid":"mobileContainer",children:t})}):t}},62672:(e,t)=>{"use strict";var r=[128683,"cancel"],n="f05e",o="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";t.mw={prefix:"fas",iconName:"ban",icon:[512,512,r,n,o]},t.Df=t.mw},64463:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});r(98992),r(3949);var n=r(96540),o=r(22332),a=r(42790);const i=()=>{const e=(0,o.useChart)(),[{after:t,before:r,forcePlay:i},l]=(0,a.N9)(),c=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{autofetchOnWindowBlur:!1};return()=>{e.getNodes().forEach((e=>e.updateAttributes(n)));const o=t<0?t:-Math.floor((r-t)/1e3);l((e=>({...e,after:o,before:0,forcePlay:!!n.autofetchOnWindowBlur})))}},u=()=>{if(t>0)return;const e=Date.now();l((r=>({...r,after:1e3*Math.floor(e/1e3+t),before:1e3*Math.floor(e/1e3),forcePlay:!1})))},s=(0,n.useRef)();return s.current=u,{play:(0,n.useCallback)(c(),[r,t,i]),forcePlay:(0,n.useCallback)(c({autofetchOnWindowBlur:!0}),[r,t,i]),pause:(0,n.useCallback)(u,[t,r,i]),pauseRef:s}}},67916:(e,t,r)=>{"use strict";r.d(t,{Ey:()=>o,li:()=>a,ni:()=>i});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]})},a=()=>n.A.get("/api/v1/auth/account/api-token"),i=e=>n.A.delete(`/api/v1/auth/account/api-token/${e}`)},74891:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(63766),o=r(45087),a=r(74848);const i={align:"top"},l=e=>function(){let{tooltip:t,tooltipProps:r=i,noWrapper:l,WrapperComponent:c=n.Box,...u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t?(0,a.jsx)(o.A,{plain:!0,content:t,...r,children:l?(0,a.jsx)(e,{...u}):(0,a.jsx)(c,{"data-testid":"tooltip-box",children:(0,a.jsx)(e,{...u})})}):(0,a.jsx)(e,{...u})}},78659:(e,t,r)=>{var n=r(87133),o=r(99374);e.exports=function(e,t,r){return void 0===r&&(r=t,t=void 0),void 0!==r&&(r=(r=o(r))===r?r:0),void 0!==t&&(t=(t=o(t))===t?t:0),n(o(e),t,r)}},80590:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(96540),o=r(3319),a=r(74848);const i=e=>t=>{let{callback:r,feature:i,isStart:l,isSuccess:c,isFailure:u,eventReason:s,payload:d={},...f}=t;const{sendLog:p,isReady:b}=(0,o.A)(),y=(0,n.useCallback)((e=>{const t=f[r],n={feature:i,isStart:l,isSuccess:c,isFailure:u,eventReason:s,...d,...f["data-ga"]?{dataGa:f["data-ga"]}:{},...f.dataGa?{dataGa:f.dataGa}:{},...f["data-track"]?{dataTrack:f["data-track"]}:{},...f.label?{label:f.label}:{}};"function"===typeof t&&t(e),p(n,!0)}),[r,p,b,d,f]),h=(0,n.useMemo)((()=>({...f,[r]:y})),[f,r,y]);return(0,a.jsx)(e,{...h})}},81214:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=async e=>{if("string"!==typeof e)return console.error("Pass a string to copyToClipboard"),!1;const t=document.createElement("textarea"),r=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const n=document.getSelection(),o=n.rangeCount>0&&n.getRangeAt(0);document.body.append(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length;let a=!1;try{navigator.clipboard?(await navigator.clipboard.writeText(t.value),a=!0):a=document.execCommand("copy")}catch{}return t.remove(),o&&(n.removeAllRanges(),n.addRange(o)),r&&r.focus(),a}},87133:e=>{e.exports=function(e,t,r){return e===e&&(void 0!==r&&(e=e<=r?e:r),void 0!==t&&(e=e>=t?e:t)),e}},88255:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(63766),o=r(35184),a=r(74848);const i=e=>{let{children:t,containerProps:r,sidebar:i=null,blurred:l,blurProps:c,BlurredContent:u,widthAuto:s=!1,ref:d,...f}=e;return(0,a.jsxs)(n.Flex,{id:"main",height:"100%",width:s?"auto":"100%",position:"relative",overflow:"hidden",flex:"1",...r,children:[(0,a.jsx)(n.Flex,{column:!0,overflow:"hidden",width:s?"auto":"100%",...f,ref:d,children:t}),i,l&&(0,a.jsx)(o.I1,{...c,children:u?(0,a.jsx)(u,{}):null})]})}},88325:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(96540),o=r(18739),a=r(24609);const i=e=>{const{loaded:t,value:r,hasError:i}=(0,o.JN)(),l=(0,a.bq)(),c=t&&r?r.billingEmail?"update":"checkout":"",u=`/spaces/${l}/settings/billing/all-plans`,s=(0,n.useCallback)((e=>t&&r?`${u}#billingModalType=${c}&billingModalSlug=${e}`:null),[e,l,c]),d=e?s(e):u;return{loaded:t,getUrl:s,url:d,hasError:i}}},94404:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(80590),o=r(81691),a=r(74848);const i=e=>t=>{let{payload:r={},...i}=t;const l=(0,n.A)(e);return(0,a.jsx)(l,{...i,callback:"onClick",payload:{...r,action:o.o1.buttonClicked}})}},95565:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(88934),o=r(79748),a=r(88325),i=r(74848);const l=e=>{let{children:t,...r}=e;const{url:l}=(0,a.A)("business");return(0,i.jsx)(o.A,{as:n.N_,to:l,disabled:!l,...r,children:t})}},98591:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(31141);const o=(e,t)=>{const{isModalOpen:r,handleOpenModal:o,handleCloseModal:a,params:i}=(0,n.A)(e,t);return[r,r?a:o,o,a,i]}},99374:(e,t,r)=>{var n=r(54128),o=r(23805),a=r(44394),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):i.test(e)?NaN:+e}}}]);