diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /web/gui/v2/5962.1f67472dc731b99c279b.chunk.js | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-upstream/1.44.3.tar.xz netdata-upstream/1.44.3.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/gui/v2/5962.1f67472dc731b99c279b.chunk.js')
-rw-r--r-- | web/gui/v2/5962.1f67472dc731b99c279b.chunk.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web/gui/v2/5962.1f67472dc731b99c279b.chunk.js b/web/gui/v2/5962.1f67472dc731b99c279b.chunk.js deleted file mode 100644 index 6fba0cd28..000000000 --- a/web/gui/v2/5962.1f67472dc731b99c279b.chunk.js +++ /dev/null @@ -1 +0,0 @@ -!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]="06afefef-8126-4588-bdd8-b4c5a0a5b232",e._sentryDebugIdIdentifier="sentry-dbid-06afefef-8126-4588-bdd8-b4c5a0a5b232")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"0c0a7a41a0e7ecb4870dbce38dbd7d5e0913bb7f"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[5962],{39612:function(e,t,n){n(74916),n(15306);t.Z=function(e){return(e||"").replace(/[\s:()./]/g,"_")}},42448:function(e,t,n){n.d(t,{V:function(){return o}});var r={ErrNoChartExist:"ErrNoChartExist"},o=function(e){var t=!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:r)[e];return t}},84817:function(e,t,n){var r=n(87462),o=n(67294),a=n(65351),i=n(97730),c=n(3701),l=n(54576),s=n(33335),d=function(e){var t=(0,a.Z)("addToDashboardModal").handleOpenModal,n=(0,l.useChart)(),d=function(){var e=n.getAttribute("id");t("",{chartId:e})},m=(0,s.gI)("dashboard:Update");return(0,o.useLayoutEffect)((function(){return n.onKeyChange(["Alt","Shift","KeyD"],m?d:function(){})}),[m]),o.createElement(c.Button,(0,r.Z)({icon:o.createElement(c.default,{svg:i.Z,size:"16px"}),onClick:m?d:function(){},title:m?"Add to dashboard":"You need to be logged in to create your custom dashboards and use this chart in them","data-testid":"chartHeaderToolbox-addDashboard",disabled:!m},e))};t.Z=(0,o.memo)(d)},18039:function(e,t,n){n.d(t,{C:function(){return o},M:function(){return r}});n(92222);var r=function(e,t){return e.on("heightChanged",(function(e,n){if(e.getParent()===t){var r=e.getAttribute("id"),o=t.getAttribute("host"),a="chart_height.".concat(o,"/").concat(r);localStorage.setItem(a,n)}}))},o=function(e,t,n){var r=e.getAttribute("host"),o="chart_height.".concat(r,"/").concat(t);return localStorage.getItem(o)||"".concat(n,"px")}},38626:function(e,t,n){var r=n(45987),o=n(67294),a=n(59978),i=n(64637),c=n(82351),l=["maxLength","text","TextComponent"];t.Z=function(e){var t=e.maxLength,n=e.text,s=e.TextComponent,d=void 0===s?a.Text:s,m=(0,r.Z)(e,l),u=(0,o.useMemo)((function(){return(0,i.a)(n,t)}),[t,n]);return u&&u.length!==n.length?o.createElement(c.Z,{content:n,align:"bottom",isBasic:!0},o.createElement(d,m,u)):o.createElement(d,m,n)}},43969:function(e,t,n){var r=n(67294),o=n(59978),a=n(91008),i=function(){return r.createElement(o.Flex,{padding:[6],round:1,width:"600px",background:"modalInfoBackground"},r.createElement(o.Box,{margin:[0,4,0,0]},r.createElement(o.Box,{as:o.Icon,width:10,height:10,name:"nodes_update"})),r.createElement(o.Flex,{column:!0,gap:2},r.createElement(o.Text,{strong:!0},"Couldn't find the chart you were looking for? "),r.createElement(o.Text,{color:"textDescription"},"Netdata has zero-configuration auto-detection for most applications and systems, this is achieved using collectors. If you miss some specific chart please check our"," ",r.createElement(a.Z,{href:"https://learn.netdata.cloud/docs/agent/collectors",target:"_blank","data-ga":"chart-area::click-link-collectors::charts-view"},"list of collectors")," ","to see if any additional step is needed.")))};t.Z=function(){return r.createElement(o.Flex,{column:!0,justifyContent:"center",alignItems:"center",alignSelf:"center",margin:[30,0,0]},r.createElement(o.Flex,{column:!0,justifyContent:"center",alignItems:"center",width:"300px",margin:[0,0,6]},r.createElement(o.H3,{margin:[0,0,4]},"No chart results to display"),r.createElement(o.Text,{color:"textDescription",textAlign:"center"},"Double-check your search or filters and dates and try again with different conditions.")),r.createElement(i,null))}},8144:function(e,t,n){var r=n(29439),o=n(67294),a=n(59978),i=n(4822),c=n(46667);t.Z=function(e){var t=e.margin,n=e.title,l=e.testIdPrefix,s=e.baseKey,d=e.extraKey,m=e.param,u=e.paramFlavour,p=void 0===u?"arr":u,g=e.children,h=e.multi,f=void 0===h||h,b=e.defaultIsOpen,v=void 0===b||b,y=e.border,x=void 0===y?{side:"bottom",color:"borderSecondary"}:y,E=e.required,w=void 0!==E&&E,k=e.configElements,S=e.showCounter,P=void 0===S||S,Z=(0,i.I0)(m,{key:s,extraKey:d,flavour:p}),_=(0,r.Z)(Z,2),O=_[0],I=_[1],F=(0,c.Z)(v||!(null===O||void 0===O||!O.length)),C=(0,r.Z)(F,2),D=C[0],L=C[1];return o.createElement(a.Flex,{"data-testid":"".concat(l,"-filter"),column:!0,padding:[2,0],border:x},o.createElement(a.Flex,{justifyContent:"between",margin:D?t:[0],gap:2,onClick:L,cursor:"pointer"},o.createElement(a.Flex,{alignItems:"center",gap:2,height:4.5},o.createElement(a.Flex,{gap:2},w&&!(null!==O&&void 0!==O&&O.length)&&o.createElement(a.Icon,{color:"error",name:"error",size:"small"}),o.createElement(a.TextSmall,{strong:!0},n),P&&!(null===O||void 0===O||!O.length)&&o.createElement(a.Pill,{flavour:"neutral",hollow:!0,"data-testid":"".concat(l,"-selected-count"),tiny:!0},null===O||void 0===O?void 0:O.length)),!w&&f&&!(null===O||void 0===O||!O.length)&&o.createElement(a.Button,{padding:[0],flavour:"borderless",onClick:function(e){e.stopPropagation(),I([])},"data-testid":"".concat(l,"-filter-resetAll"),label:"Reset",small:!0})),o.createElement(a.Flex,{gap:1,alignItems:"center"},"function"===typeof k?k({isOpen:D}):k,o.createElement(a.Icon,{name:"chevron_left",size:"small",color:"textLite",rotate:D?1:3}))),o.createElement(a.Collapsible,{open:D},g))}},72911:function(e,t,n){var r=n(45987),o=n(67294),a=n(59978),i=["width","height","videoId"];t.Z=function(e){var t=e.width,n=void 0===t?443:t,c=e.height,l=void 0===c?249:c,s=e.videoId,d=(0,r.Z)(e,i);return o.createElement(a.Flex,d,o.createElement(a.Box,{className:"video-responsive"},o.createElement("iframe",{width:n,height:l,src:"https://www.youtube.com/embed/".concat(s),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})))}},96008:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(87462),o=n(45987),a=n(67294),i=n(59978),c=["children","onClick","iconName","dataTestId"],l=function(e){var t=e.children,n=e.onClick,l=e.iconName,s=void 0===l?"x":l,d=e.dataTestId,m=(0,o.Z)(e,c);return a.createElement(i.Flex,(0,r.Z)({"data-testid":d,height:12,alignItems:"center",justifyContent:"between",border:{side:"bottom",color:"borderSecondary"},padding:[0,2],flex:!1},m),t,a.createElement(i.Icon,{"data-testid":"sidebarHeader-icon",name:s,color:"textLite",onClick:n,cursor:"pointer"}))},s=["onToggle","icon","isOpen","title"],d=function(e){var t=e.onToggle,n=e.icon,c=void 0===n?"node_hollow":n,d=e.isOpen,m=e.title,u=(0,o.Z)(e,s);return a.createElement(l,(0,r.Z)({dataTestId:"collapsed-header",iconName:d?"arrow_w_line_right":"arrow_w_line_left",onClick:t},u),d&&a.createElement(i.Flex,{gap:2,alignItems:"center","data-testid":"sidebar-nodeName"},a.createElement(i.Icon,{name:c,color:"text",size:"small"}),a.createElement(i.TextSmall,{strong:!0},m)))},m=(0,a.memo)(d)},20777:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(87462),o=n(45987),a=(n(21249),n(57640),n(9924),n(67294)),i=n(59978),c=function(e){var t=e.iconName,n=e.label,o=e.onClick,c=e.containerStyles,l=e.textStyles;return a.createElement(i.Flex,(0,r.Z)({"data-testid":"sidebar-icon-item"},c,{column:!0,margin:[2,0],alignItems:"center"}),a.createElement(i.Flex,{"data-testid":"sidebar-icon-item-wrapper",margin:[0,0,.5,0],alignItems:"center",onClick:o,cursor:"pointer"},a.createElement(i.Icon,{name:t,color:"textLite",width:"18px",height:"18px"})),a.createElement(i.TextMicro,(0,r.Z)({color:"text"},l),n))},l=["onClickTab","availableTabs","tabsToShow"],s=function(e){var t=e.onClickTab,n=e.availableTabs,s=e.tabsToShow,d=(0,o.Z)(e,l);return a.createElement(i.Flex,(0,r.Z)({"data-testid":"collapsed-sidebar",column:!0,justifyContent:"center"},d),s.map((function(e,r){var o=n[e],i=o.iconName,l=o.label;return a.createElement(c,{containerStyles:{border:{size:"2px",type:"solid",color:"mainBackground",side:"left"}},textStyles:{color:"textLite"},key:i,onClick:function(){return t(r)},iconName:i,label:l})})))},d=(0,a.memo)(s)},21872:function(e,t,n){var r=n(87462),o=n(45987),a=n(67294),i=n(59978),c=["children","iconName","name","size","testId"];t.Z=function(e){var t=e.children,n=e.iconName,l=e.name,s=e.size,d=e.testId,m=void 0===d?"entry-line-text-container":d,u=(0,o.Z)(e,c),p="small"===s?i.TextSmall:i.Text,g="undefined"!==typeof t&&null!==t;return a.createElement(i.Flex,{alignItems:"start","data-testid":"entry-line"},n&&a.createElement(i.Flex,{"data-testid":"entry-line-icon-container",padding:[0,1,0,0]},a.createElement(i.Icon,{color:"textLite","data-testid":"entry-line-icon",name:n,width:"16px",height:"16px"})),a.createElement(i.Flex,(0,r.Z)({column:!0,alignItems:"start","data-testid":m,gap:.5},u),a.createElement(p,{"data-testid":"entry-line-text-label",whiteSpace:"nowrap",color:"textDescription"},l,g&&": "),g&&a.createElement(i.TextSmall,{color:"textDescription","data-testid":"entry-line-text-value",strong:!0},t)))}},46038:function(e,t,n){var r=n(87462),o=n(29439),a=n(45987),i=n(71893),c=n(67294),l=n(59978),s=n(46667),d=n(82351),m=["children","isEnabled","link","name","noDataLabel"],u=(0,i.default)(l.Icon).withConfig({displayName:"group__IconLink",componentId:"sc-9459pv-0"})(["&:hover{fill:",";}"],(0,l.getColor)("textDescription")),p=function(e){return e.stopPropagation()},g=function(e){var t=e.children,n=e.isEnabled,r=e.link,o=e.onClick,a=e.open;return c.createElement(l.Flex,{alignItems:"center",justifyContent:"between",height:8,onClick:n?o:null,cursor:n?"pointer":"default"},c.createElement(l.Flex,{gap:2,alignItems:"center"},c.createElement(l.TextSmall,{strong:!0},t),r&&c.createElement(l.Flex,{as:"a",href:r,target:"_blank",onClick:p},c.createElement(u,{height:"13px",width:"13px",name:"documentation",size:"small",color:"placeholder"}))),n&&c.createElement(l.Icon,{name:"chevron_left",size:"small",color:"textLite",rotate:a?1:3}))},h=(0,i.default)(l.Flex).withConfig({displayName:"group__StyledFlex",componentId:"sc-9459pv-1"})(["&:last-child{border:none;}"]);t.Z=function(e){var t=e.children,n=e.isEnabled,i=void 0===n||n,u=e.link,p=e.name,f=e.noDataLabel,b=(0,a.Z)(e,m),v=(0,s.Z)(!0),y=(0,o.Z)(v,2),x=y[0],E=y[1],w=i?null:f;return c.createElement(d.Z,{content:w,isBasic:!0},c.createElement(h,(0,r.Z)({column:!0,border:{side:"bottom",color:"borderSecondary"},padding:[1,0,x?2:1],isEnabled:i},b),c.createElement(g,{isEnabled:i,open:x,onClick:E,link:u},p),c.createElement(l.Collapsible,{column:!0,open:x,gap:1},t)))}},96703:function(e,t,n){var r=n(87462),o=n(45987),a=n(67294),i=n(59978),c=["children","collapsedComponent","isOpen","header"],l=(0,a.memo)((function(e){var t=e.children,n=e.collapsedComponent,l=e.isOpen,s=e.header,d=(0,o.Z)(e,c),m=!!n;return a.createElement(i.Collapsible,(0,r.Z)({open:l,column:!0,closedValue:m?48:0,height:"100%",persist:m,direction:"horizontal",border:{side:"left",color:"borderSecondary"},width:90},d),(function(e){return a.createElement(a.Fragment,null,s,e?t:n)}))}));t.ZP=l},4781:function(e,t,n){n.r(t),n.d(t,{SettingsContainer:function(){return je},default:function(){return Te}});var r=n(29439),o=(n(66992),n(41539),n(88674),n(78783),n(33948),n(92222),n(60285),n(41637),n(67294)),a=n(2145),i=n(89250),c=n(3975),l=n(4474),s=n(37518),d=n(37497),m=n(41379),u=n(60464),p=n(39904),g=n(74059),h=n(23383),f=n(29983),b=n(29516),v=n(78266),y=n(46189),x=n(87462),E=n(45987),w=(n(21249),n(57640),n(9924),n(59978)),k=n(4942),S=(n(47941),n(82526),n(57327),n(88449),n(2490),n(59849),n(38880),n(15581),n(34514),n(54747),n(49337),n(33321),n(69070),n(44536)),P=n(54227),Z=n(12008),_=n(77796),O=n(4822),I=n(99322);function F(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){(0,k.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=e.error,n=e.testPrefix,r=e.onClick,o=e.type,a=e.value,i={critical:{default:"error",disabled:"disabledError"},warning:{default:"warning",disabled:"disabledWarning"}};return C(C({"data-testid":n?"".concat(n,"-").concat(i[o].default):i[o].default,flavour:t||!a?i[o].disabled:i[o].default},r&&{onClick:r}),{},{text:t?"-":"".concat(a)})},L=["critical","warning","error","testPrefix"],A=["id","testPrefix"],N=function(e){var t=e.critical,n=e.warning,r=e.error,a=e.testPrefix,i=(0,E.Z)(e,L),c=D({error:r,testPrefix:a,type:"critical",value:t}),l=D({error:r,testPrefix:a,type:"warning",value:n});return o.createElement(w.Flex,(0,x.Z)({margin:[0,0,0,2]},i),o.createElement(w.MasterCard,{"data-testid":"alertsMastercard",pillLeft:c,pillRight:l}))},j=function(e){var t=e.id,n=e.testPrefix,r=(0,E.Z)(e,A),a=(0,_.ev)(t),i=(0,Z.n_)(a),c=i.critical,l=i.warning;return o.createElement(N,(0,x.Z)({"data-testid":"alerts",testPrefix:n,critical:c,warning:l},r))},B=function(e){var t=e.critical,n=e.warning,r=e.error;return o.createElement(j,{critical:t,"data-testid":"tabAlerts",error:r,testPrefix:"tabAlerts-alert",warning:n})},T=function(e){var t=e.nodeId,n=(0,_.ev)(t),r=(0,Z.n_)(n),a=r.critical,i=r.warning;return o.createElement(B,{critical:a,warning:i})},q=function(){var e=(0,O.H7)(),t=(0,_.rw)(e),n=(0,I.u)("error"),r=(0,Z.n_)(t),a=r.critical,i=r.warning;return o.createElement(B,{critical:a,warning:i,error:n})},W={warning:"warning",critical:"error"},M=function(e){var t=e.alertId,n=(0,Z.E5)(t,"status");return W[n]?o.createElement(w.Flex,{alignSelf:"center",margin:[0,0,0,2],round:1,background:W[n],width:2,height:2}):null};function R(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 z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){(0,k.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H=n(81488),V=function(){var e=(0,I.u)("error"),t=(0,I.u)("updatedAt");return o.createElement(H.Z,{error:e,updatedAt:t,text:"All your active alerts"})},Q=n(33335);function G(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 K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){(0,k.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(){var e,t,n=(0,s.A3)(),r=(0,Q.gI)("dashboard:ReadAll"),a=function(e){return(0,o.useMemo)((function(){return K(K({home:{title:"Home",icon:"room_home",path:"".concat(e,"/home"),dataGa:"view-picker::click-view-home::global-view",testId:"viewPicker-home",tooltip:"A dashboard metrics from all your nodes"},overview:{title:"Overview",icon:"room_overview",path:"".concat(e,"/overview"),dataGa:"view-picker::click-view-overview::global-view",testId:"viewPicker-overview",tooltip:"A dashboard with charts and metrics from all your nodes"},nodes:{title:"Nodes",icon:"nodes_hollow",path:"".concat(e,"/nodes"),dataGa:"view-picker::click-view-nodes::global-view",testId:"viewPicker-nodes",tooltip:"An index of your nodes with alert status and key metrics"}},!window.envSettings.isAgent&&!window.envSettings.onprem&&{k8s:{title:"Kubernetes",icon:"serviceKubernetes",path:"".concat(e,"/kubernetes"),dataGa:"view-picker::click-view-kubernetes::global-view",testId:"viewPicker-kubernetes",tooltip:"k8s"}}),{},{dashboards:{title:"Dashboards",icon:"dashboard",path:"".concat(e,"/dashboards"),dataGa:"view-picker::click-view-dashboard::global-view",testId:"viewPicker-customDashboards",tooltip:"Customize dashboards according to your needs"},alerts:{title:"Alerts",icon:"alarm",path:"".concat(e,"/alerts"),dataGa:"view-picker::click-view-alerts::global-view",testId:"viewPicker-alerts",tooltip:o.createElement(V,null),children:o.createElement(q,null)},ar:{title:"Anomalies",icon:"anomaliesLens",path:"".concat(e,"/anomalies"),dataGa:"view-picker::click-view-anomalies::global-view",testId:"viewPicker-anomalies",tooltip:"Anomaly Advisor - ML powered anomaly detection"},fn:{title:"Functions",icon:"functions",path:"".concat(e,"/functions"),dataGa:"view-picker::click-view-functions::global-overview",testId:"viewPicker-functions",tooltip:"Functions to run on your nodes"},events:{title:"Events",icon:"feed",path:"".concat(e,"/events"),dataGa:"view-picker::click-view-feed::mn-overview",testId:"viewPicker-feed",tooltip:"Feed & events"}})}),[e])}(n),i=(0,g.Q6)();return[(0,o.useMemo)((function(){return[!i&&a.home,a.overview,a.nodes,a.k8s,r&&a.dashboards,a.alerts,a.ar,a.fn,a.events].filter(Boolean)}),[n,i]),(e=n,t=!i,(0,o.useMemo)((function(){var n;return n={},(0,k.Z)(n,"".concat(e,"/overview"),!0),(0,k.Z)(n,"".concat(e,"/home"),t),(0,k.Z)(n,"".concat(e,"/nodes"),!0),(0,k.Z)(n,"".concat(e,"/dashboards"),!0),(0,k.Z)(n,"".concat(e,"/alerts"),!0),(0,k.Z)(n,"".concat(e,"/anomalies"),!0),(0,k.Z)(n,"".concat(e,"/functions"),!0),n}),[e,t]))]},Y=n(64637),X=n(62200),J=n(82351),$=["to","params","exact","icon","title","fixed","dataGa","testId","children","type","tooltip","showBorderLeft"],ee=function(e){return e?"text":"textDescription"},te=function(e){var t=e.to,n=e.params,r=e.exact,a=e.icon,c=e.title,l=e.fixed,s=e.dataGa,d=e.testId,m=e.children,u=e.type,p=e.tooltip,g=e.showBorderLeft,h=(0,E.Z)(e,$),f=(0,i.bS)({end:r,path:t}),b=(0,i.s0)(),v=!!f,y="nodes"!==u||v,k=(0,o.useCallback)((function(){if(!v){var e="".concat(t).concat(n?"/".concat(n):"");b(e)}}),[t,v,n]),S=(0,o.useMemo)((function(){return(0,Y.a)(c,X.sf)}),[c]);return o.createElement(w.NavigationTab,(0,x.Z)({fixed:l,active:v,showBorderLeft:g,icon:o.createElement(w.Icon,{name:a,size:"small"}),key:c,onActivate:k,"data-ga":s,"data-testid":d,"aria-selected":v,tooltip:p||c},h),p||S!==c?o.createElement(J.Z,{content:p||c,align:p?"bottom":"top",isBasic:!0},o.createElement(w.TextSmall,{alignSelf:"center",color:ee(v),whiteSpace:"nowrap"},S)):o.createElement(w.TextSmall,{alignSelf:"center",color:ee(v),whiteSpace:"nowrap"},c),y&&m)},ne=["icon","title","path"],re=function(){var e=U(),t=(0,r.Z)(e,2),n=t[0],a=function(e){var t=(0,i.s0)(),n=(0,i.bS)("/spaces/:spaceSlug/rooms/:roomSlug/:type/*"),r=(0,P.ZS)(),a=(0,P.Yy)(),c=(0,P.CN)(),l=n?n.pathnameBase:"/spaces",s=(0,i.TH)().pathname,d=(0,S.Z)(e[s]&&s),m=(0,o.useCallback)((function(e){return t(e)}),[]),u=(0,o.useCallback)((function(e,n){if(!n)return a(e);var o=r[e-1],i=r[e+1],c=function(n,r){var o="".concat(n).concat(r?"/".concat(r):"");t(o),a(e)};return d?c(d):o?c(o.path,o.params):i?c(i.path,i.params):c(l)}),[r,a,l,d]);return[(0,o.useMemo)((function(){return r.map((function(e){return z(z({},e),{},{onClick:m,children:e.id&&"nodes"===e.type?o.createElement(T,{nodeId:e.id}):"alerts"===e.type?o.createElement(M,{alertId:e.id}):null})}))}),[r,m]),function(e){var t=e.destination,n=e.source;t&&n&&c({sourceIndex:n.index,destinationIndex:t.index})},u]}(t[1]),c=(0,r.Z)(a,3),l=c[0],s=c[1],d=c[2];return o.createElement(w.NavigationTabs,null,n.map((function(e){var t=e.icon,n=e.title,r=e.path,a=(0,E.Z)(e,ne);return o.createElement(te,(0,x.Z)({exact:!0,fixed:!0,to:r,icon:t,title:n,key:n},a))})),o.createElement(w.TabSeparator,null),o.createElement(w.DraggableTabs,{onDragEnd:s,onTabClose:d},l.map((function(e,t){var n=e.id,r=e.icon,a=e.title,i=e.params,c=e.path,l=e.type,s=e.children;return o.createElement(te,{showBorderLeft:0===t,exact:!0,to:c,params:i,icon:r,title:a,key:a,type:l,id:n,"data-testid":"navigation-dynamicTab-".concat(a)},s)}))))},oe=n(52629),ae=n(4571),ie=n(30569),ce=n(77901),le=n(72869),se=n(92501),de=n(69063),me=function(){return(0,de.Z)(),null},ue=n(15418),pe=n(78710),ge=n(6308),he=n(65840),fe=(0,a.Z)((function(){return Promise.all([n.e(7514),n.e(8663),n.e(102)]).then(n.bind(n,80102))}),"ManageSpaceRoute"),be=(0,a.Z)((function(){return Promise.resolve().then(n.bind(n,98469))}),"JoinSpace"),ve=(0,a.Z)((function(){return n.e(6610).then(n.bind(n,6610))}),"NoSpaceAccess"),ye=(0,a.Z)((function(){return n.e(9201).then(n.bind(n,69201))}),"AlertView"),xe=(0,a.Z)((function(){return n.e(6347).then(n.bind(n,66347))}),"Anomalies"),Ee=(0,a.Z)((function(){return n.e(6876).then(n.bind(n,26876))}),"AlertsSmartboard"),we=(0,a.Z)((function(){return n.e(3564).then(n.bind(n,43564))}),"DashboardsOverview"),ke=(0,a.Z)((function(){return n.e(4193).then(n.bind(n,4193))}),"DashboardView"),Se=(0,a.Z)((function(){return Promise.all([n.e(7514),n.e(5158),n.e(1646)]).then(n.bind(n,91646))}),"FunctionsView"),Pe=(0,a.Z)((function(){return Promise.all([n.e(6502),n.e(8663),n.e(6129)]).then(n.bind(n,66129))})),Ze=y.Z.demoSlug,_e=y.Z.demoDefaultRoomViews,Oe=y.Z.defaultRoomView,Ie=y.Z.integrationsView,Fe=function(){var e=(0,c.ZP)(),t=(0,r.Z)(e,2),n=t[0],a=t[1],l=Ze===n?_e[a]||_e.default:pe.ZP&&n===pe.Xh&&a===pe.Fb?pe.vT:Oe;return o.createElement(i.Fg,{replace:!0,to:"/spaces/".concat(n,"/rooms/").concat(a,"/").concat(l)})},Ce=(0,ie.Z)((0,ce.Z)(ae.Z)),De=(0,ce.Z)(ae.Z),Le=(0,o.memo)((function(){return o.createElement(o.Suspense,{fallback:o.createElement(v.Z,{title:"Loading..."})},o.createElement(i.Z5,null,o.createElement(i.AW,{path:"nodes/:nodeId",element:o.createElement(Ce,null)}),o.createElement(i.AW,{path:"nodes",element:o.createElement(oe.Z,null)}),o.createElement(i.AW,{path:"home",element:o.createElement(le.Z,null)}),o.createElement(i.AW,{path:"overview",element:o.createElement(De,null)}),o.createElement(i.AW,{path:"alerts/:alertId",element:o.createElement(ye,null)}),o.createElement(i.AW,{path:"alerts",element:o.createElement(Ee,null)}),o.createElement(i.AW,{path:"alarms/:alertId",element:o.createElement(ye,null)}),o.createElement(i.AW,{path:"alarms",element:o.createElement(Ee,null)}),o.createElement(i.AW,{path:"dashboards/:dashboardSlug",element:o.createElement(ke,null)}),o.createElement(i.AW,{path:"dashboards",element:o.createElement(we,null)}),o.createElement(i.AW,{path:"anomalies",element:o.createElement(xe,null)}),o.createElement(i.AW,{path:"kubernetes",element:o.createElement(De,{flavour:"k8s"})}),o.createElement(i.AW,{path:"/functions",element:o.createElement(Se,{key:"fn",flavour:"fn"})}),o.createElement(i.AW,{path:"/events",element:o.createElement(Se,{key:"feed",flavour:"feed"})}),o.createElement(i.AW,{path:"/",element:o.createElement(Fe,null)})))})),Ae=function(){var e=(0,i.s0)(),t=(0,c.ZP)(),n=(0,r.Z)(t,2),a=n[0],l=n[1],h=(0,ge.Z)(),f=(0,r.Z)(h,2),b=f[0],y=f[1],x=(0,g.th)(),E=(0,s.UL)(),w=(0,o.useState)(!0),k=(0,r.Z)(w,2),S=k[0],P=k[1],Z=(0,he.M)(),_=(0,r.Z)(Z,2),O=_[0],I=_[1];return(0,d.Z)(x,E),(0,m.Z)({spaceId:x,id:E,pollingInterval:63e3}),(0,u.Z)(x,E),(0,p.Z)(x,E),(0,o.useEffect)((function(){var t=!0,n=null;return n=setTimeout((function(){t&&(b&&e("/spaces/".concat(a,"/rooms/").concat(l,"/").concat(Ie),{replace:!0}),P(!1))}),1e3),function(){t=!1,n&&(clearTimeout(n),n=null)}}),[b]),(0,o.useEffect)((function(){I(S||!E||y)}),[S,E,y]),O?o.createElement(v.Z,{title:"Loading room..."}):o.createElement(Le,null)},Ne=(0,se.Pf)((0,o.memo)((function(){var e=(0,ge.c)().isIntegrationsPath,t=(0,he.x)();return o.createElement(ue.Z,{permission:"room:Read"},(function(n){return n?o.createElement(o.Fragment,null,!t&&!e&&o.createElement(re,null),o.createElement(o.Suspense,{fallback:o.createElement(v.Z,{title:"Loading your space..."})},o.createElement(i.Z5,null,o.createElement(i.AW,{path:"spaces/:spaceSlug/join-space",element:o.createElement(be,null)}),o.createElement(i.AW,{path:"spaces/:spaceSlug/no-rooms",element:o.createElement(ve,{reason:"noRooms"})}),o.createElement(i.AW,{path:"spaces/:spaceSlug/rooms/:roomSlug/".concat(Ie),element:o.createElement(Pe,null)}),o.createElement(i.AW,{path:"spaces/:spaceSlug/rooms/:roomSlug/*",element:o.createElement(Ae,null)})))):o.createElement(ve,{reason:"noRoomPermission"})}))}))),je=function(){return(0,c.vq)(),o.createElement(fe,null)},Be=function(){var e=(0,g.th)();return(0,h.Z)(e),(0,f.Z)(e),(0,b.Z)(e),null},Te=(0,se.Pf)((function(){var e=(0,g.th)();return(0,l.ZP)(),(0,o.useEffect)((function(){var e=new URL(window.location.href).searchParams.get("join_callback");e&&(window.location.href=e)}),[]),o.createElement(o.Fragment,null,o.createElement(Be,null),o.createElement(ue.Z,{permission:"space:Read"},(function(t){return t?o.createElement(o.Fragment,null,o.createElement(i.Z5,null,o.createElement(i.AW,{path:"/*",element:o.createElement(me,null)})),o.createElement(o.Suspense,{fallback:o.createElement(v.Z,{title:"Loading your space..."})},o.createElement(i.Z5,null,o.createElement(i.AW,{path:"spaces/:spaceSlug/settings/*",element:o.createElement(je,null)}),o.createElement(i.AW,{path:"*",element:o.createElement(Ne,null)})))):o.createElement(ve,{key:e,reason:"noSpacePermission"})})))}))},18339:function(e,t,n){n.d(t,{D:function(){return i}});var r=n(4942);n(85827),n(41539),n(47941),n(82526),n(57327),n(88449),n(2490),n(59849),n(38880),n(15581),n(34514),n(54747),n(49337),n(33321),n(69070);function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var i=[{name:"MySQL",title:"MySQL",iconName:"serviceMySQL",logoFilename:"mysql.svg",category:"Databases",collectors:["python.d.plugin:mysql","go.d.plugin:mysql"],contexts:["mysql.queries","mysql.net","mysql.connections"],priority:1},{name:"MariaDB",title:"MariaDB",iconName:"serviceMariaDB",logoFilename:"mariadb.svg",category:"Databases",collectors:["python.d.plugin:mysql","go.d.plugin:mysql"],contexts:["mysql.queries","mysql.net","mysql.connections"],priority:2},{name:"Oracle Database",title:"Oracle Database",iconName:"osOracle",logoFilename:"oracle.svg",category:"Databases",collectors:["python.d.plugin:oracledb"],contexts:["oracledb.session_count","oracledb.physical_disk_read_writes","oracledb.tablespace_usage_in_percent"],priority:3},{name:"PostgreSQL",title:"PostgreSQL",iconName:"servicePostgreSQL",logoFilename:"postgresql.svg",category:"Databases",collectors:["python.d.plugin:postgres"],contexts:["postgres.checkpointer","postgres.archive_wal","postgres.db_size"],priority:4},{name:"MongoDB",title:"MongoDB",iconName:"serviceMongoDB",logoFilename:"mongodb.svg",category:"Databases",collectors:["python.d.plugin:mongodb"],contexts:["mongodb.active_clients","mongodb.read_operations","mongodb.write_operations"],priority:5},{name:"ElasticSearch",title:"ElasticSearch",iconName:"serviceElasticSearch",logoFilename:"elasticsearch.svg",category:"Databases",collectors:["python.d.plugin:elasticsearch"],contexts:["elastic.search_performance_total","elastic.index_performance_total","elastic.index_segments_memory"],priority:6},{name:"CouchDB",title:"CouchDB",iconName:"serviceCouchDB",logoFilename:"couchdb.svg",category:"Databases",collectors:["python.d.plugin:couchdb"],contexts:["couchdb.activity","couchdb.response_codes"],priority:7},{name:"Proxy SQL",title:"Proxy SQL",iconName:"serviceProxySQL",logoFilename:"proxysql.svg",category:"Databases",collectors:["python.d.plugin:proxysql"],contexts:["proxysql.questions","proxysql.pool_status","proxysql.pool_overall_net"],priority:8},{name:"Redis",title:"Redis",iconName:"serviceRedis",logoFilename:"redis.svg",category:"Databases",collectors:["python.d.plugin:redis"],contexts:["redis.operations","redis.net","redis.connections"],priority:9},{name:"MemCached",title:"MemCached",iconName:"serviceMemCached",logoFilename:"memcached.svg",category:"Databases",collectors:["python.d.plugin:memcached"],contexts:["memcached.cache","memcached.net","memcached.connections"],priority:10},{name:"RethinkDB",title:"RethinkDB",iconName:"serviceRethinkDB",logoFilename:"rethinkdb.svg",category:"Databases",collectors:["python.d.plugin:rethinkdbs"],contexts:["rethinkdb.cluster_queries","rethinkdb.cluster_clients_active","rethinkdb.cluster_connected_servers"],priority:11},{name:"Solr",title:"Solr",iconName:"serviceSolr",logoFilename:"solr.svg",category:"Databases",collectors:["go.d.plugin:solr"],contexts:["solr.search_requests","solr.update_requests"],priority:12},{name:"RabbitMQ",title:"RabbitMQ",iconName:"serviceRabbitMQ",logoFilename:"rabbitmq.svg",category:"Messaging",collectors:["python.d.plugin:rabbitmq","go.d.plugin:rabbitmq"],contexts:["rabbitmq.queued_messages","rabbitmq.erlang_run_queue"],priority:1},{name:"Beanstalkd",title:"Beanstalkd",iconName:"serviceBeanstalk",logoFilename:"beanstalkd.svg",category:"Messaging",collectors:["python.d.plugin:beanstalk"],contexts:["beanstalk.total_jobs_rate","beanstalk.connections_rate","beanstalk.current_tubes"],priority:2},{name:"Apache",title:"Apache",iconName:"serviceApache",logoFilename:"apache.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:apache","go.d.plugin:apache"],contexts:["apache.requests","apache.connections","apache.net"],priority:1},{name:"nginx",title:"nginx",iconName:"serviceNginx",logoFilename:"nginx.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:nginx","go.d.plugin:nginx"],contexts:["nginx.requests","nginx.connections"],priority:2},{name:"nginx+",title:"nginx+",iconName:"serviceNginxPlus",logoFilename:"nginx-plus.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:nginx_plus"],contexts:["nginx_plus.requests_total","nginx_plus.connections_statistics"],priority:3},{name:"lighthttpd",title:"lighthttpd",iconName:"serviceLighthttpd",logoFilename:"lighthttpd.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:lighttpd","go.d.plugin:lighttp"],contexts:["lighttpd.requests","lighttpd.net"],priority:4},{name:"lighthttpd2",title:"lighthttpd2",iconName:"serviceLighthttpd2",logoFilename:"lighthttpd.svg",category:"Web, Proxies, LBs, Streaming",collectors:["go.d.plugin:lighttpd2"],contexts:["lighttpd2.requests","lighttpd2.traffic"],priority:5},{name:"LiteSpeed",title:"LiteSpeed",iconName:"serviceLiteSpeed",logoFilename:"litespeed.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:litespeed"],contexts:["litespeed.requests","litespeed.requests_processing"],priority:6},{name:"Tomcat",title:"Tomcat",iconName:"serviceApacheTomcat",logoFilename:"tomcat.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:tomcat"],contexts:["tomcat.accesses","tomcat.processing_time","tomcat.bandwidth"],priority:7},{name:"PHP FPM",title:"PHP FPM",iconName:"servicePhpFpm",logoFilename:"php-fpm.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:phpfm"],contexts:["phpfpm.performance","phpfpm.requests","phpfpm.connections"],priority:8},{name:"HAproxy",title:"HAproxy",iconName:"serviceHAProxy",logoFilename:"haproxy.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:haproxy"],contexts:["haproxy_f.scur","haproxy_f.bin","haproxy_f.bout"],priority:9},{name:"Squid",title:"Squid",iconName:"serviceSquid",logoFilename:"squid.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:squid"],contexts:["squid.clients_requests","squid.clients_net"],priority:10},{name:"Traefik",title:"Traefik",iconName:"serviceTraefik",logoFilename:"traefik.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:traefik"],contexts:["traefik.response_codes"],priority:11},{name:"Varnish",title:"Varnish",iconName:"serviceVarnish",logoFilename:"varnish.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:varnish"],contexts:["varnish.session_connection","varnish.client_requests"],priority:12},{name:"IPVS",title:"IPVS",iconName:"serviceIPVS",logoFilename:"load-balancer.svg",category:"Web, Proxies, LBs, Streaming",collectors:["proc.plugin:/proc/net/ip_vs_stats"],contexts:["ipvs.sockets","ipvs.packets","ipvs.net"],priority:13},{name:"Web Log",title:"Web Log",iconName:"serviceWebLog",logoFilename:"log-file.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:web_log","go.d.plugin:web_log"],contexts:["web_log.response_codes","web_log.bandwidth"],priority:14},{name:"IPFS",title:"IPFS",iconName:"serviceIPFS",logoFilename:"ipfs.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:ipfs"],contexts:["ipfs.bandwidth","ipfs.peers"],priority:15},{name:"IceCast Media Streaming",title:"IceCast Media Streaming",iconName:"serviceIceCast",logoFilename:"icecast.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:icecast"],contexts:["icecast.listeners"],priority:16},{name:"RetroShare",title:"RetroShare",iconName:"serviceRetroShare",logoFilename:"retroshare.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:retroshare"],contexts:["retroshare.bandwidth","retroshare.peers"],priority:17},{name:"HTTP Check",title:"HTTP Check",iconName:"serviceHTTPCheck",logoFilename:"server-connection.svg",category:"Web, Proxies, LBs, Streaming",collectors:["python.d.plugin:httpcheck","go.d.plugin:httpcheck"],contexts:["httpcheck.responsetime","httpcheck.status"],priority:18},{name:"x509 Check",title:"x509 Check",iconName:"serviceX509Check",logoFilename:"data-encryption.svg",category:"Web, Proxies, LBs, Streaming",collectors:["go.d.plugin:x509check"],contexts:["x509check.time_until_expiration"],priority:19}].reduce((function(e,t){return a(a({},e),{},(0,r.Z)({},t.name,t))}),{})}}]);
\ No newline at end of file |