summaryrefslogtreecommitdiffstats
path: root/src/web/gui/v2/979.3e5fddf93c977e6c71c3.chunk.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/web/gui/v2/979.3e5fddf93c977e6c71c3.chunk.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/gui/v2/979.3e5fddf93c977e6c71c3.chunk.js b/src/web/gui/v2/979.3e5fddf93c977e6c71c3.chunk.js
new file mode 100644
index 000000000..7f9882c44
--- /dev/null
+++ b/src/web/gui/v2/979.3e5fddf93c977e6c71c3.chunk.js
@@ -0,0 +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]="aebc26a4-0684-493c-b27c-4b77771b8c35",e._sentryDebugIdIdentifier="sentry-dbid-aebc26a4-0684-493c-b27c-4b77771b8c35")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"30b1ba65cc8722be7e184f4a401fb43e6b21634d"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[979],{14125:(e,t,n)=>{n.d(t,{l:()=>d,q:()=>l});n(62953);var o=n(96540),r=n(47767),c=n(27467),a=n(97054),s=n(3914),i=n(47762),u=n(64118),f=n(8239);const l=e=>{var t;let{alertId:n,alertName:c,nodeId:s,nodes:l}=e;const d=(0,r.Zp)(),{setState:p}=(0,f.L5)(),[b]=(0,a.Ay)(),{name:v}=(0,u.JL)(n),h=c||v,{isParent:y}=(0,i.xY)(s),{loaded:g,value:w,hasError:m,error:E}=(0,f.wd)({node:{value:s,isParent:y},path:"/health"}),S=!(null===w||void 0===w||null===(t=w.tree)||void 0===t||null===(t=t["/health/alerts/prototypes"])||void 0===t||!t["health:alert:prototype:".concat(h)]);return{canEdit:g&&!m&&S,goToEdit:(0,o.useCallback)((()=>{p({nodeId:s,alertName:h,nodeIds:l,isAlert:!0}),d("/spaces/".concat(b,"/settings/configurations"),{replace:!0})}),[p,d,b,s,h]),error:(null===E||void 0===E?void 0:E.errorMessage)||E}},d=()=>{const e=(0,r.Zp)(),{slug:t}=(0,s.ap)(),[,n]=(0,c.N9)();return(0,o.useCallback)((o=>{o&&(n({dyncfgSearchTerm:o}),e("/spaces/".concat(t,"/settings/configurations"),{replace:!0}))}),[e,n,t])}},3705:(e,t,n)=>{n.d(t,{A:()=>c});n(62953);var o=n(96540);const r={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},c=()=>{const[e,t]=(0,o.useState)(null),[n,c]=(0,o.useState)(r),a=(0,o.useMemo)((()=>new window.ResizeObserver((e=>{if(e[0]){const{x:t,y:n,width:o,height:r,top:a,left:s,bottom:i,right:u}=e[0].contentRect;c({x:t,y:n,width:o,height:r,top:a,left:s,bottom:i,right:u})}}))),[]);return(0,o.useLayoutEffect)((()=>{if(e)return a.observe(e),()=>{a.disconnect()}}),[e]),[t,n]}},97054:(e,t,n)=>{n.d(t,{Ay:()=>f,KI:()=>u,TP:()=>i});var o=n(96540),r=n(47767),c=n(69765),a=n(3914);const s=(e,t,n)=>{const r=t();(0,o.useLayoutEffect)((()=>{r!==e&&n(e)}),[r,e])},i=()=>{const{roomSlug:e}=(0,r.g)(),t=(0,c.A2)();return s(e,c.QW,t),e},u=()=>{const{spaceSlug:e}=(0,r.g)(),t=(0,a.hX)();return s(e,a.bq,t),e},f=()=>[u(),i()]},84428:(e,t,n)=>{var o=n(78227)("iterator"),r=!1;try{var c=0,a={next:function(){return{done:!!c++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){try{if(!t&&!r)return!1}catch(s){return!1}var n=!1;try{var c={};c[o]=function(){return{next:function(){return{done:n=!0}}}},e(c)}catch(s){}return n}},87290:(e,t,n)=>{var o=n(50516),r=n(19088);e.exports=!o&&!r&&"object"==typeof window&&"object"==typeof document},50516:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},19088:(e,t,n)=>{var o=n(24475),r=n(44576);e.exports="process"===r(o.process)},10916:(e,t,n)=>{var o=n(24475),r=n(80550),c=n(94901),a=n(92796),s=n(33706),i=n(78227),u=n(87290),f=n(50516),l=n(96395),d=n(77388),p=r&&r.prototype,b=i("species"),v=!1,h=c(o.PromiseRejectionEvent),y=a("Promise",(function(){var e=s(r),t=e!==String(r);if(!t&&66===d)return!0;if(l&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};if((n.constructor={})[b]=o,!(v=n.then((function(){}))instanceof o))return!0}return!t&&(u||f)&&!h}));e.exports={CONSTRUCTOR:y,REJECTION_EVENT:h,SUBCLASSING:v}},90537:(e,t,n)=>{var o=n(80550),r=n(84428),c=n(10916).CONSTRUCTOR;e.exports=c||!r((function(e){o.all(e).then(void 0,(function(){}))}))},96167:(e,t,n)=>{var o=n(46518),r=n(69565),c=n(79306),a=n(36043),s=n(1103),i=n(72652);o({target:"Promise",stat:!0,forced:n(90537)},{allSettled:function(e){var t=this,n=a.f(t),o=n.resolve,u=n.reject,f=s((function(){var n=c(t.resolve),a=[],s=0,u=1;i(e,(function(e){var c=s++,i=!1;u++,r(n,t,e).then((function(e){i||(i=!0,a[c]={status:"fulfilled",value:e},--u||o(a))}),(function(e){i||(i=!0,a[c]={status:"rejected",reason:e},--u||o(a))}))})),--u||o(a)}));return f.error&&u(f.value),n.promise}})}}]); \ No newline at end of file