summaryrefslogtreecommitdiffstats
path: root/src/web/gui/v2/6218.26fc25279f45fbcf29f7.chunk.js
blob: 461c9595e938966902c8551fcc872a05dc09b3a1 (plain)
1
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6fa8d0b9-fa43-47bd-954d-d2c98b377b56",e._sentryDebugIdIdentifier="sentry-dbid-6fa8d0b9-fa43-47bd-954d-d2c98b377b56")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"08864407160b3973b9b88c5ae92687282b21e2f4"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6218,3705],{32089:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(58168),o=r(96540),i=r(10058);const s=e=>{let{vertical:t,color:r="borderSecondary",...s}=e;return o.createElement(i.Box,(0,n.A)({as:"hr",height:t?"100%":"1px"},t?{}:{width:"100%"},{sx:{borderWidth:t?"0px 0px 0px 1px":"1px 0px 0px 0px",borderColor:r,borderStyle:"solid"}},s))}},47193:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});r(62953);var n=r(69765),o=r(67990),i=r(87860),s=r(3914),f=r(47762),d=r(87659);const l=function(){let{polling:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id:t=""}=(0,n.pr)(),r=(0,o.gr)(t,"ids"),l=(0,o.gr)(t,"loaded"),u=(0,f.Gt)(r),a=(0,s.vt)(),[c,,,p]=(0,d.A)();return(0,i.A)({id:t,spaceId:a,polling:e}),{areDefaultRoomNodesLoaded:l,nodes:u,isClaimNodeModalOpen:c,closeClaimNodeModal:p}}},3705:(e,t,r)=>{"use strict";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=()=>{const[e,t]=(0,n.useState)(null),[r,i]=(0,n.useState)(o),s=(0,n.useMemo)((()=>new window.ResizeObserver((e=>{if(e[0]){const{x:t,y:r,width:n,height:o,top:s,left:f,bottom:d,right:l}=e[0].contentRect;i({x:t,y:r,width:n,height:o,top:s,left:f,bottom:d,right:l})}}))),[]);return(0,n.useLayoutEffect)((()=>{if(e)return s.observe(e),()=>{s.disconnect()}}),[e]),[t,r]}},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}},55765:(e,t,r)=>{var n=r(38859),o=r(15325),i=r(29905),s=r(19219),f=r(44517),d=r(84247);e.exports=function(e,t,r){var l=-1,u=o,a=e.length,c=!0,p=[],b=p;if(r)c=!1,u=i;else if(a>=200){var h=t?null:f(e);if(h)return d(h);c=!1,u=s,b=new n}else b=t?[]:p;e:for(;++l<a;){var g=e[l],v=t?t(g):g;if(g=r||0!==g?g:0,c&&v===v){for(var y=b.length;y--;)if(b[y]===v)continue e;t&&b.push(v),p.push(g)}else u(b,v,r)||(b!==p&&b.push(v),p.push(g))}return p}},44517:(e,t,r)=>{var n=r(76545),o=r(63950),i=r(84247),s=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=s},31800:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},62193:(e,t,r)=>{var n=r(88984),o=r(5861),i=r(72428),s=r(56449),f=r(64894),d=r(3656),l=r(55527),u=r(37167),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(f(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||d(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!n(e).length;for(var r in e)if(a.call(e,r))return!1;return!0}},99374:(e,t,r)=>{var n=r(54128),o=r(23805),i=r(44394),s=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,d=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(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=f.test(e);return r||d.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}}}]);