diff options
Diffstat (limited to 'web/gui/v2/5316.0471244afc59c0d0d688.chunk.js')
-rw-r--r-- | web/gui/v2/5316.0471244afc59c0d0d688.chunk.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/gui/v2/5316.0471244afc59c0d0d688.chunk.js b/web/gui/v2/5316.0471244afc59c0d0d688.chunk.js new file mode 100644 index 00000000..d4b8a8ea --- /dev/null +++ b/web/gui/v2/5316.0471244afc59c0d0d688.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]="16241903-f248-4b6a-8c56-d28d88000f06",e._sentryDebugIdIdentifier="sentry-dbid-16241903-f248-4b6a-8c56-d28d88000f06")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6845f9ce010d5a446e5d4a40f17204cb8341a07a"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[5316],{16978:function(e,t,n){var r=n(87462),a=n(67294),o=n(54576),c=n(70486),l=n(86954),i=n(20581),s=n(16374),u=n(1981),d=n(28138),m=n(18892),f=n(63076),g=n(65855),p=(0,a.forwardRef)((function(e,t){return a.createElement(l.ChartWrapper,null,a.createElement(g.x1,(0,r.Z)({hasHeader:!1,hasFilters:!1,hasFooter:!1},e,{ref:t})))})),h=(0,c.default)(p,{tile:!0}),v={dygraph:g.ZP,easypiechart:d.ZP,gauge:s.ZP,number:m.ZP,groupBoxes:i.ZP,d3pie:u.default,bars:f.ZP},E=function(e){var t=(0,o.useChart)(),n=(0,a.useMemo)((function(){if(!t)return null;var e=t.getAttributes(),n=e.chartLibrary;return e.sparkline?h:v[n]}),[t]);return n?a.createElement(n,(0,r.Z)({},e,{chart:t})):null};t.Z=(0,o.withChartProvider)((0,a.memo)(E))},20686:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(87462),a=n(45987),o=n(67294),c=n(64969),l=n(71893),i=(0,l.default)(c.Icon).attrs({width:12,height:14}).withConfig({displayName:"styled__StyledIcon",componentId:"sc-z9l478-0"})([""]),s=(0,l.default)(c.Flex).attrs({alignItems:"center",justifyContent:"center",padding:[.5,2],round:9}).withConfig({displayName:"styled__StyledPill",componentId:"sc-z9l478-1"})(["cursor:pointer;pointer-events:",";"],(function(e){return e.onClick?"auto":"none"})),u={critical:{background:"errorSemi",color:"error",border:{side:"all",color:"error"}},warning:{background:"warningSemi",color:"warning",border:{side:"all",color:"warning"}},neutral:{background:"generic",color:"text",border:{side:"all",color:"border"}},clear:{background:"successSemi",color:"success",border:{side:"all",color:"success"}},criticalAlertsTable:{background:"errorSemi",color:"error",border:{side:"all",color:"error"}},warningAlertsTable:{background:"warningSemi",color:"warning",border:{side:"all",color:"warning"}},clearAlertsTable:{background:"successSemi",color:"success",border:{side:"all",color:"success"}}},d=["type","icon","children","textSize"],m={small:c.TextSmall,normal:c.Text},f=function(e){var t=e.type,n=e.icon,l=e.children,f=e.textSize,g=(0,a.Z)(e,d),p=u[t]||{},h=p.background,v=p.color,E=p.border,y=f?m[f]:n?c.Text:c.TextMicro;return o.createElement(s,(0,r.Z)({background:h,border:E,gap:1.5},g),n&&o.createElement(i,{name:n,title:n,color:v}),l&&o.createElement(y,{color:v,textTransform:"capitalize",strong:!0,wordBreak:"keep-all",whiteSpace:"nowrap"},l))}},50709:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(29439),a=n(67294),o=n(64969),c=n(12008),l=(n(74916),n(15306),n(26398)),i=n(91008),s=n(37518),u=n(12899),d=function(e){var t=e.alertId,n=(0,c.E5)(t),d=n.name,m=function(e){var t=(0,a.useState)(!0),n=(0,r.Z)(t,2),o=n[0],c=n[1],i="".concat("https://community.netdata.cloud/t","/").concat(null===e||void 0===e?void 0:e.replace(/[._]/g,"-"));return(0,a.useEffect)((function(){e&&l.Z.get(i).then((function(){return c(!1)})).catch((function(){return c(!0)}))}),[e]),[i,o]}(void 0===d?"unknown alert":d),f=(0,r.Z)(m,2),g=f[0],p=f[1],h=(0,s.UL)(),v=(0,u.R3)(),E=(0,r.Z)(v,2)[1],y=(0,a.useMemo)((function(){return{alignSelf:"start",onClick:function(){return E({roomId:h,alert:n})}}}),[g,p,E]);return a.createElement(i.Z,y,"Learn more about this alert",!p&&a.createElement(o.Icon,{name:"arrow_left",rotate:2,size:"small",margin:[0,0,-.75,1],color:"success"}))}},80854:function(e,t,n){var r=n(87462),a=n(45987),o=n(67294),c=n(64969),l=["iconName","iconSize","children"];t.Z=function(e){var t=e.iconName,n=e.iconSize,i=e.children,s=(0,a.Z)(e,l);return o.createElement(c.Flex,(0,r.Z)({gap:2,alignItems:"center"},s),o.createElement(c.Icon,(0,r.Z)({name:t,color:"textLite"},n&&{height:n,width:n})),o.createElement(c.Text,{strong:!0},i))}},29876:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(87462),a=n(45987),o=n(67294),c=n(64969),l=n(12008),i=(n(92222),n(89405)),s=n(50358),u=n(39840),d=function(e){var t=e.label,n=e.testid,r=e.status,a=e.value,l=e.when,d=e.units,m=(0,i.rA)(),f=m.localeTimeString,g=m.localeDateString,p=(0,o.useMemo)((function(){var e=new Date(1e3*l);return e&&"".concat(g(e,{long:!1})," ").concat(f(e,{secs:!0}))}),[l,g,f]),h=(0,u.pK)(a,d);return o.createElement(c.Flex,{gap:2,alignItems:"center"},o.createElement(c.Flex,{width:"100px"},o.createElement(c.TextSmall,null,t)),o.createElement(c.Flex,{gap:2,alignItems:"center"},o.createElement(c.TextSmall,{color:"text","data-testid":"".concat(n,"-dateTime")},p),o.createElement(s.Z,{loaded:!0,status:r,valueWithUnit:h,"data-testid":"".concat(n,"-value")})))},m=["alertId"],f=function(e){var t=e.alertId,n=(0,a.Z)(e,m),i=(0,l.E5)(t),s=i.fullyLoaded,u=void 0!==s&&s,f=i.units,g=i.lastStatusChangeValue,p=i.lastStatusChange,h=i.status,v=i.lastUpdated,E=i.value;i.prevStatus,i.prevValue,i.prevDuration;return u?o.createElement(c.Flex,(0,r.Z)({gap:2,column:!0,"data-testid":"alertValues"},n),v&&o.createElement(d,{label:"Latest",status:h,testid:"alertValues-latest",value:E,when:v,units:f}),p&&o.createElement(d,{label:"Triggered",status:h,testid:"alertValues-triggered",value:g,when:p,units:f})):null}},92253:function(e,t,n){var r=n(29439),a=(n(92222),n(67294)),o=n(16978),c=n(64969),l=n(91128),i=n(78266),s=n(74059),u=n(37518),d=n(95248),m=n(9058),f=n(22648),g=function(e){return function(t){return"alert-modal::".concat(e.getAttribute("id"),"::").concat(t)}},p=function(){return Math.floor((new Date).getTime()/1e3)},h={width:"108px",height:"77px"};t.Z=function(e){var t=e.instance,n=e.context,v=e.isFormattedValueLoaded,E=e.nodeId,y=e.status,b=e.lastStatusChange,w=e.formattedLastStatusChangeValue,x=e.lastUpdated,k=e.spaceId,S=e.roomId,Z=(0,s.th)();k=k||Z;var I=(0,u.UL)();S=S||I;var C=(0,f.m)(),T=(0,m.e)(),O=(0,l.Z)();(0,a.useEffect)((function(){return O(),O}),[]);var D=(0,d.TQ)(),_=(0,s.Q6)(),P=(0,a.useMemo)((function(){if(v){var e=T.makeChart({attributes:{nodeId:E,contextScope:[n],selectedInstances:t&&E?["".concat(t,"@").concat(E)]:[],id:t,roomId:S,enabledHeightResize:!1,enabledResetRange:!1,overlays:{proceeded:{type:"proceeded"},alarm:{type:"alarm",status:y,value:w,when:b}},host:_?"".concat(window.envSettings.agentApiUrl,"/api/v2"):"".concat(window.envSettings.apiUrl,"/api/v3/spaces/").concat(k,"/rooms/").concat(S),nodesScope:[E],toolboxElements:[],sparkline:C,hasToolbox:!C},makeTrack:g});return T.getRoot().appendChild(e),e}}),[t,v]),F=function(e,t){return(0,a.useMemo)((function(){var n=e||p(),r=n-t,a=Math.round(t-r),o=Math.round(n+r);return[a,o>p()?p():o]}),[e,t])}(x,b),N=(0,r.Z)(F,2),j=N[0],A=N[1];return(0,a.useEffect)((function(){v&&D({after:1e3*j,before:1e3*A})}),[v,j,A]),(0,a.useEffect)((function(){return function(){return P&&P.destroy()}}),[P]),a.createElement(c.Flex,{flex:!1,width:"100%",height:75},v&&P?a.createElement(o.Z,{"data-chartid":t,chart:P,hasHeader:!C,hasFooter:!C}):a.createElement(i.Z,{iconProps:h,title:"Loading chart..."}))}},63860:function(e,t,n){var r=n(87462),a=n(45987),o=(n(74916),n(15306),n(67294)),c=n(71893),l=n(64969),i=n(39840),s=["rawTime","secs","long","nowrap"],u=c.default.div.withConfig({displayName:"timeCell__TimeBox",componentId:"sc-1k785pi-0"})(["display:flex;flex-direction:column;align-items:start;justify-content:center;"]);t.Z=function(e){var t=e.rawTime,n=e.secs,c=e.long,d=e.nowrap,m=void 0!==d&&d,f=(0,a.Z)(e,s),g=(0,i.e8)({rawTime:t,secs:n,long:c}),p=g.timeAgo,h=g.formattedDate,v=void 0===h?"":h;return o.createElement(u,f,o.createElement(l.TextSmall,null,p),o.createElement(l.TextMicro,(0,r.Z)({color:"textLite"},m&&{whiteSpace:"nowrap"}),v?null===v||void 0===v?void 0:v.replace(/ /g," - "):""))}},17208:function(e,t,n){n.d(t,{Z:function(){return B}});var r=n(67294),a=n(64969),o=n(12008),c=n(57387),l=n(71893),i=l.default.div.withConfig({displayName:"styled__StyledAlertTypeIndicator",componentId:"sc-19nk935-0"})(["width:",";height:",";border-radius:",";background-color:",";"],(0,a.getSizeBy)(1),(0,a.getSizeBy)(1),(0,a.getSizeBy)(1),(function(e){var t=e.critical,n=e.theme;return(0,a.getColor)(t?"error":["yellow","sunglow"])({theme:n})})),s=l.default.a.withConfig({displayName:"styled__StyledLink",componentId:"sc-19nk935-1"})(["padding:",";text-decoration:none;color:",";&:visited{color:",";}&:hover{text-decoration:none;}"],(function(e){var t=e.padding;return null!==t&&void 0!==t?t:"0"}),(0,a.getColor)("success"),(0,a.getColor)("success")),u=n(82351),d=function(e){var t=e.title,n=e.value,o=e.testId,l=e.status;return n?r.createElement(r.Fragment,null,r.createElement(a.Flex,{justifyContent:"between"},r.createElement(a.Flex,{gap:1,alignItems:"center"},r.createElement(i,{critical:"critical"===l}),r.createElement(a.H6,{color:"textDescription"},t)),r.createElement(a.Flex,{gap:1,alignItems:"center"},r.createElement(a.TextSmall,{color:"textDescription"},"More details about"," ",r.createElement(a.TextSmall,{strong:!0,color:"textDescription"},"$this")," ","command"),r.createElement(u.Z,{content:"The $this value comes from the DB Lookup or the Calculation above",isBasic:!0,plain:!0},r.createElement(a.Flex,{margin:[-.5,0,0]},r.createElement(a.Icon,{name:"informationPress",color:"textLite",width:"16px",height:"16px"}))))),r.createElement(c.ZP,{"data-testid":o},n)):null},m=(n(92222),n(82526),n(57327),n(88449),n(59849),n(38880),n(15581),n(34514),n(54747),n(49337),n(33321),n(69070),n(4942)),f=(n(66992),n(41539),n(33948),n(85827),n(25387),n(2490),n(72608),n(47941),n(4480)),g=n(37394);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=(0,f.xu)({key:"nodeChartBatchState",default:{}}),E=(0,f.CG)({key:"nodeChartsState",get:function(e){var t=e.id,n=e.chartId;return function(e){var r=(0,e.get)(v(t));return n?r[n]:r}},set:function(e){var t=e.id,n=e.chartId;return function(e,r){var a=e.set;a(v(t),"function"!==typeof r?function(e){return h(h({},e),{},(0,m.Z)({},n,r))}:function(e){return h(h({},e),{},(0,m.Z)({},n,r(e[n])))})}}}),y=((0,f.CG)({key:"nodeChartsState/initialize",set:function(e){return function(t,n){var r=t.set,a=n.values,o=n.merge;r(v(e),(function(e){return a.reduce((function(e,t){var n=t.dimensions,r=void 0===n?{}:n;return e[t.id]=h(h(h({},g.pk),o&&e[t.id]),{},{fullyLoaded:Object.keys(r).length>0},t),e}),h({},e))}))}}}),n(91058),n(936)),b=n(61973),w=n(33511),x=function(e){if("string"===typeof e&&(e=parseInt(e,10)),0===e)return"now";var t=new Date;return e<0?(0,y.Z)((0,b.Z)(t,e),t,{addSuffix:!0}):(0,y.Z)((0,w.Z)(t,e),t,{addSuffix:!0})},k=function(e){var t,n,a=(0,o.E5)(e),c=a.instance,l=a.lookupAfter,i=a.lookupBefore,s=a.lookupDimensions,u=a.lookupMethod,d=a.lookupOptions,m=a.nodeId,g=(t=m,n=c,(0,f.sJ)(E({id:t,chartId:n}))),p=(null!==g&&void 0!==g?g:{}).dimensions;return(0,r.useMemo)((function(){return l?function(e){var t=e.lookupOptions,n=e.lookupDimensions,r=e.lookupMethod,a=e.lookupAfter,o=e.lookupBefore,c=e.instance,l="of all values";if(n){var i=n.split(","),s=i.length>1?"of the sum of dimensions":"of all values of dimension";l="".concat(s," ").concat(i.join(", "))}var u=t?", with options ".concat(t):"";return"".concat(r," ").concat(l," of chart ").concat(c,", starting ").concat(x(a+o)," and up to ").concat(x(o)).concat(u)}({lookupOptions:d,lookupDimensions:s,lookupMethod:u,lookupAfter:l,lookupBefore:i,instance:c,chartDimensions:p}):""}),[l,p,c])},S=n(80854),Z=function(e){var t=e.heading,n=e.value,o=e.testId;return n&&n.length?r.createElement(a.Flex,{column:!0,gap:3},t&&r.createElement(a.H6,{textTransform:"uppercase",color:"textDescription"},t),r.createElement(c.ZP,{"data-testid":o},n)):null},I=(0,r.memo)(Z),C=n(25935),T=n(87462),O=function(e){var t=e.iconName,n=e.category,o=e.iconSize,c=void 0===o?"16px":o,l=e.value,i=e.testid;return l?r.createElement(a.Flex,{alignItems:"center",gap:1},r.createElement(a.Flex,{alignItems:"center",gap:1,basis:"100px"},r.createElement(a.Icon,(0,T.Z)({name:t,color:"textLite"},c&&{height:c,width:c})),r.createElement(a.TextSmall,{whiteSpace:"nowrap",color:"textDescription"},n,":")),r.createElement(a.TextSmall,{strong:!0,"data-testid":i},l)):null},D=function(e){var t=e.id,n=e.testid,c=(0,o.E5)(t),l=c.calculation,s=c.warning,u=c.critical,m=c.updateEvery,f=k(t),g=(0,r.useMemo)((function(){return(0,C.ZP)(l)}),[l]);return r.createElement(a.Flex,{column:!0,gap:4},r.createElement(S.Z,{iconName:"code"},"Configuration"),r.createElement(I,{heading:"DB lookup",value:f,testId:"".concat(n,"-lookup")}),r.createElement(I,{heading:"Calculation",value:g,testId:"".concat(n,"-calculation")}),r.createElement(a.H6,{textTransform:"uppercase",color:"textDescription"},"Severity Conditions"),r.createElement(a.Flex,{column:!0,gap:2},r.createElement(d,{title:"Warning when",value:s,testId:"".concat(n,"-warningWhen"),status:"warning"},r.createElement(i,{critical:!1})),r.createElement(d,{title:"Critical when",value:u,testId:"".concat(n,"-criticalWhen"),status:"critical"},r.createElement(i,{critical:!0}))),r.createElement(a.H6,{textTransform:"uppercase",color:"textDescription"},"Check"),r.createElement(O,{iconName:"clock_hollow",category:"Check every",value:"".concat(m," seconds"),testid:"".concat(n,"-checkEvery")}))},_=(0,r.memo)(D),P=n(97945),F=n(80239),N=n(45987),j=n(20686),A=n(63860),L=n(50358),z=["isHighlighted","lastStatusChangeValue","lastStatusChange","units","status","nodeName"],V=function(e){var t=e.isHighlighted,n=e.lastStatusChangeValue,o=e.lastStatusChange,c=e.units,l=e.status,i=e.nodeName,s=(0,N.Z)(e,z);return r.createElement(a.Flex,(0,T.Z)({background:t&&"modalTabsBackground",border:{side:"all",color:"borderSecondary"},color:"textDescription",justifyContent:"between",padding:[4],round:!0},s),r.createElement(a.Flex,{column:!0,justifyContent:"between",gap:2},i&&r.createElement(a.Text,{strong:!0},i),r.createElement(A.Z,{rawTime:o,secs:!0,"data-testid":"nodeItem-lastStatusChange"})),r.createElement(a.Flex,{height:5,gap:2,alignItems:"center",alignSelf:"start"},r.createElement(u.Z,{content:"Triggered value",align:"bottom"},r.createElement(a.Box,null,r.createElement(L.Z,{loaded:!0,status:l,units:c,value:n,"data-testid":"nodeItem-alertValue"}))),r.createElement(j.Z,{border:void 0,type:l,icon:"alarm_bell",textSize:"small","data-testid":"alertView-alertPill-value"},l)))},M=function(e){var t=e.children;return r.createElement(a.Flex,{gap:2,column:!0},t)},B=function(e){var t=e.id,n=e.testid,c=void 0===n?"alertDetailsModal":n,l=(0,o.E5)(t),i=l.class,u=l.instanceName,d=l.component,m=l.family,f=l.nodeId,g=l.type,p=l.lastStatusChangeValue,h=l.lastStatusChange,v=l.units,E=l.status,y=l.notificationType,b=(0,P.bV)(f,"name");return r.createElement(a.Flex,{column:!0,gap:4},r.createElement(S.Z,{iconName:"information",margin:[0,0,0,-.5]},"Alert Info"),r.createElement(M,null,r.createElement(O,{iconName:"nodes_hollow",category:"Node",value:b,iconSize:"16px",testid:"".concat(c,"-hostname")}),r.createElement(O,{iconName:"charts_view",category:"Instance",value:u,testid:"".concat(c,"-chartId")}),r.createElement(O,{iconName:"data_retention",category:"Type",value:g,testid:"".concat(c,"-type")}),r.createElement(O,{iconName:"last_week",category:"Hostname"}),r.createElement(O,{iconName:"metrics",category:"Component",value:d,testid:"".concat(c,"-component")}),r.createElement(O,{iconName:"applications_hollow",category:"Family",value:m,testid:"".concat(c,"-family")}),r.createElement(O,{iconName:"networkingStack",category:"Class",value:i,testid:"".concat(c,"-class")}),r.createElement(O,{iconName:"incident_manager",category:"Event ID",testid:"".concat(c,"-eventId")})),r.createElement(_,{id:t,testid:c}),r.createElement(S.Z,{iconName:"nodes_hollow",iconSize:"20px"},"Instance Values - Node Instances"),r.createElement(a.Flex,{column:!0,gap:2},"agent"!==y&&r.createElement(a.Text,{color:"textDescription"},"A node may be claimed through multiple instances on the cloud (streaming through parent) and Netdata aggregates the alerts from all the instances and displays a single Active alert based on the highest severity, latest change."),r.createElement(V,{lastStatusChangeValue:p,lastStatusChange:h,units:v,status:E,nodeName:b,isHighlighted:!0})),r.createElement(S.Z,{iconName:"gear",iconSize:"20px"},"Edit Alert"),r.createElement(a.Text,{"data-testid":"".concat(c,"-edit-info")},"If you wish to edit and configure this alert, please:"),r.createElement(s,{href:F.UV,target:"_blank",padding:"0 4px 0 0","data-testid":"".concat(c,"-editAlertConfig-link"),"data-ga":"alert-modal::click-edit::alerts-view"},"Visit the documentation",r.createElement(a.Icon,{name:"arrow_left",rotate:2,size:"small",margin:[0,0,-.75,1],color:"success"})))}},50358:function(e,t,n){var r=n(87462),a=n(45987),o=(n(92222),n(67294)),c=n(64969),l=n(45771),i=["loaded","status","units","value","valueWithUnit"],s={critical:{background:"errorSemi",border:{side:"all",color:"error"},color:"error"},warning:{background:"warningSemi",border:{side:"all",color:"warning"},color:"warning"},cleared:{background:"successSemi",border:{side:"all",color:"success"},color:"success"},default:{background:"generic",border:{side:"all",color:"border"},color:"text"}};t.Z=function(e){var t=e.loaded,n=e.status,u=e.units,d=e.value,m=e.valueWithUnit,f=(0,a.Z)(e,i),g=s[n]||s.default,p=g.background,h=g.border,v=g.color,E=(0,o.useMemo)((function(){if(m)return m;if(void 0===d)return"-";var e=(0,l.J)(d);return"".concat(e," ").concat(u||"-")}),[d,m,u]);return o.createElement(c.Flex,(0,r.Z)({background:p,border:h,padding:[.5,2],round:9,width:{min:10},justifyContent:"center"},f),o.createElement(c.TextSmall,{color:v,strong:!0,whiteSpace:"nowrap",truncate:!0},t?E:"-"))}},12899:function(e,t,n){n.d(t,{R3:function(){return d},Nu:function(){return m},UD:function(){return u}});var r=n(4480),a=n(26398),o=n(74059),c=n(37518),l=(0,r.cn)({key:"assistantAlert",default:null}),i=(0,r.cn)({key:"assistantAlertsAtom",default:[]}),s=(0,r.CG)({key:"assistantSelector",get:function(e){var t=e.space,n=e.room,r=e.alarm,o=e.node,c=e.chart;return function(){return function(e){var t=e.space,n=e.room,r=e.alarm,o=e.node,c=e.chart;return a.Z.post("/api/v1/troubleshoot",{space:t,room:n,alarm:r,node:o,chart:c})}({space:t,room:n,alarm:r,node:o||"dummy-node-id",chart:c||"dummy-chart-id"})}},cachePolicy_UNSTABLE:{eviction:"most-recent"}}),u=function(e){var t,n=e.alarm,a=e.node,l=e.chart,i=(0,o.th)(),u=(0,c.UL)(),d=(0,r.$P)(s({space:i,room:u,alarm:n,node:a,chart:l}));return{loaded:"loading"!==d.state,value:null===(t=d.contents)||void 0===t?void 0:t.data,hasError:"hasError"===d.state}},d=function(){return(0,r.FV)(l)},m=function(){return(0,r.FV)(i)}},37394:function(e,t,n){n.d(t,{ak:function(){return l},pk:function(){return i}});n(47941),n(82526),n(57327),n(41539),n(88449),n(2490),n(59849),n(38880),n(15581),n(34514),n(54747),n(49337),n(33321),n(69070);var r=n(4942);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={loaded:!1,fullyLoaded:!1,loading:!1,id:"",name:"",chartType:"",context:"",family:"",firstEntry:0,lastEntry:0,module:"",plugin:"",priority:0,updateEvery:0,visible:!1,filteredOut:!1,hidden:!1},l=o(o({},c),{},{domain:"room"}),i=o(o({},c),{},{domain:"node"})},22648:function(e,t,n){n.d(t,{m:function(){return a}});var r=n(94829),a=function(){return(0,r.Z)("(max-width: 767px)")}}}]);
\ No newline at end of file |