diff options
Diffstat (limited to 'web/gui/v2/4794.c4854de788f5b1d31922.chunk.js')
-rw-r--r-- | web/gui/v2/4794.c4854de788f5b1d31922.chunk.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/gui/v2/4794.c4854de788f5b1d31922.chunk.js b/web/gui/v2/4794.c4854de788f5b1d31922.chunk.js new file mode 100644 index 0000000000..49feeb12aa --- /dev/null +++ b/web/gui/v2/4794.c4854de788f5b1d31922.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 4794.c4854de788f5b1d31922.chunk.js.LICENSE.txt */ +!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]="5b2931a3-ed07-44a0-859e-c4c9c55c77f3",e._sentryDebugIdIdentifier="sentry-dbid-5b2931a3-ed07-44a0-859e-c4c9c55c77f3")}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([[4794],{59514:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=h(n(67294)),o=h(n(71893)),a=n(59978),i=g(n(12460)),u=h(n(43946)),l=g(n(58358)),c=n(54576),f=n(35890),s=h(n(81743)),d=n(86420),p=["children","fractionDigits"],m=["children"];function v(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function h(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function y(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var w=(0,o.default)(a.Flex).attrs({position:"relative","data-testid":"chartPopover-dimension",padding:[1,0]}).withConfig({displayName:"dimension__GridRow",componentId:"sc-wluvip-0"})(["display:contents;"]),O=(0,o.default)(i.ColorBar).attrs({position:"absolute",top:0,left:0,backgroundOpacity:.4,round:.5}).withConfig({displayName:"dimension__ColorBackground",componentId:"sc-wluvip-1"})([""]),x={ANOMALY_RATE:"arp",default:"value"},E=function(e){var t=e.children,n=e.fractionDigits,o=void 0===n?0:n,i=y(e,p),u=t.toString().split("."),c=u[0],f=u[1];return r.default.createElement(a.Flex,{alignItems:"center",justifyContent:"end",padding:[0,.5]},r.default.createElement(l.Value,b({},i,{textAlign:"right"}),c),"undefined"!==typeof f&&r.default.createElement(l.Value,i,"."),r.default.createElement(l.Value,b({as:a.Flex,flex:!1,width:1.8*o},i,{textAlign:"left"}),f))},j=function(e){var t=e.children,n=y(e,m);return r.default.createElement(a.Flex,{gap:1,justifyContent:"end"},Object.keys(t).map((function(e){return r.default.createElement(a.Flex,{key:e,border:{size:"1px",side:"all",color:t[e]},round:!0,flex:!1,padding:[0,.5]},r.default.createElement(s.default,{content:f.labels[e]||e},r.default.createElement(l.Value,b({},n,{color:t[e]}),e)))})))};t.default=function(e){var t=e.id,n=e.strong,o=e.chars,f=e.rowFlavour,s=e.fullCols,p=(0,c.useVisibleDimensionId)(t),m=(0,c.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(w,{opacity:p?null:"weak"},r.default.createElement(a.Flex,{alignItems:"center",gap:1,position:"relative",overflow:"hidden"},r.default.createElement(O,{id:t,valueKey:x[f]||x.default,height:"100%"},r.default.createElement(i.default,{id:t})),r.default.createElement(u.default,{padding:[.5,1],flex:!0,id:t,strong:n,maxLength:o,fontSize:"1.1em"})),r.default.createElement(l.default,{id:t,strong:n,visible:p,Component:E,fractionDigits:m,color:f===d.rowFlavours.default?"text":"textLite",fontSize:"1.1em"}),s&&r.default.createElement(r.default.Fragment,null,r.default.createElement(l.default,{id:t,strong:n,visible:p,valueKey:"arp",Component:E,fractionDigits:2,color:f===d.rowFlavours.ANOMALY_RATE?"anomalyTextFocus":"anomalyText",fontSize:"1.1em"}),r.default.createElement(l.default,{textAlign:"right",id:t,strong:n,visible:p,valueKey:"pa",Component:j,color:f===d.rowFlavours.ANNOTATIONS?"text":"textLite",fontSize:"1.1em"})))}},86420:function(e,t,n){"use strict";t.__esModule=!0,t.rowFlavours=t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=c(n(71893)),a=n(54576),i=n(59978),u=c(n(9033)),l=c(n(59514));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var s=o.default.div.withConfig({displayName:"dimensions__Grid",componentId:"sc-x7v8hd-0"})(["display:grid;width:100%;grid-template-columns:",";gap:",";align-items:center;"],(function(e){return"full"===e.cols?"2fr 1fr 1fr 1fr":"3fr 1fr"}),(function(e){return e.gap||0})),d=[null,null],p=function(e){var t=Math.round((e-70)/18);return t<2?2:t},m=function(e){return p(e)/2},v=t.rowFlavours={ANOMALY_RATE:"ANOMALY_RATE",ANNOTATIONS:"ANNOTATIONS",default:"VALUE"},g={ANOMALY_RATE:"anomalyDesc",ANNOTATIONS:"annotationsDesc",default:"valueDesc"},h=function(e){var t=e.height,n=e.width,o=(0,a.useChart)(),c=(0,a.useAttributeValue)("hoverX")||d,f=c[0],h=c[1],b=(0,a.usePayload)().data,y=(0,r.useMemo)((function(){var e=o.getClosestRow(f)||b.length-1,n=o.onHoverSortDimensions(e,g[h]||o.getAttribute("dimensionsSort")||g.default)||[];o.getAttribute("selectedDimensions").length>0&&(n=n.filter((function(e){return o.isDimensionVisible(e)})));var r=n.findIndex((function(e){return e===h})),a=n.length,i=Math.floor(function(e,t,n){return e<p(n)||t<m(n)?0:t>e-m(n)?t-(m(n)+(e-t)):t-m(n)}(a,r,t)),u=Math.ceil(function(e,t,n){return e<p(n)?e:t<m(n)?t+m(n)+(m(n)-t):t>e-m(n)?e:t+m(n)}(a,r,t));return[i,u,a,n.slice(i,u)]}),[o,h,f,b,t]),w=y[0],O=y[1],x=y[2],E=y[3],j=v[h]||v.default,_=(0,a.useAttributeValue)("cols");return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.TextNano,{fontSize:"1em",color:"textLite"},w>0?"\u2191"+w+" more values":r.default.createElement(r.default.Fragment,null,"\xa0")),r.default.createElement(s,{gap:"2px",column:!0,cols:_},r.default.createElement(i.TextMicro,{fontSize:"1em",strong:!0},"Dimension"),r.default.createElement(i.TextMicro,{fontSize:"1em",color:j===v.default?"text":"textLite",textAlign:"right"},"Value"," ",r.default.createElement(u.default,{visible:!0,strong:j===v.default,color:j===v.default?"text":"textLite",fontSize:"1em"})),"full"===_&&r.default.createElement(r.default.Fragment,null,r.default.createElement(i.TextMicro,{fontSize:"1em",strong:j===v.ANOMALY_RATE,color:j===v.ANOMALY_RATE?"text":"textLite",textAlign:"right"},"AR %"),r.default.createElement(i.TextMicro,{fontSize:"1em",strong:j===v.ANNOTATIONS,color:j===v.ANNOTATIONS?"text":"textLite",textAlign:"right"},"Info")),E.map((function(e){return r.default.createElement(l.default,{key:e,id:e,strong:h===e,chars:parseInt(n/("full"===_?15:8)),rowFlavour:j,fullCols:"full"===_})}))),r.default.createElement(i.TextNano,{color:"textLite",fontSize:"1em"},O<x?"\u2193"+(x-O)+" more values":r.default.createElement(r.default.Fragment,null,"\xa0")))};t.default=(0,r.memo)(h)},63076:function(e,t,n){"use strict";t.ZP=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=f(n(58607)),a=n(54576),i=f(n(70486)),u=n(86954),l=f(n(86420)),c=["uiName"];function f(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var p=(0,r.forwardRef)((function(e,t){var n=e.uiName,i=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,c),f=(0,a.useOnResize)(n),s=f.width,p=f.height;return r.default.createElement(u.ChartWrapper,{ref:t},r.default.createElement(o.default,d({uiName:n,column:!0,gap:.5,position:"relative"},i),r.default.createElement(l.default,{height:p,width:s})))}));t.ZP=(0,i.default)(p,{tile:!0})},58607:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=n(59978),a=n(54576),i=["uiName"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}t.default=function(e){var t=e.uiName,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,i),u=(0,a.useChart)(),c=(0,r.useRef)();return(0,r.useLayoutEffect)((function(){return u.getUI(t).mount(c.current),function(){return u.getUI(t)&&u.getUI(t).unmount()}}),[]),r.default.createElement(o.Flex,l({"data-testid":"chartContent",ref:c,height:"100%",width:"100%"},n))}},36864:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(71893))&&r.__esModule?r:{default:r},a=n(59978);function i(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 u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=(0,o.default)(a.Flex).attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({"data-testid":"chart",column:!0,position:"relative",round:!0,border:{color:"mainChartBorder",side:"all"},background:"mainChartBg"},e)})).withConfig({displayName:"container__Container",componentId:"sc-sbp2x3-0"})(["::selection{background:transparent;}::-moz-selection{background:transparent;}"]);t.default=l},1981:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Skeleton=t.D3pie=void 0;var r=p(n(67294)),o=p(n(71893)),a=n(59978),i=s(n(58607)),u=n(54576),l=s(n(70486)),c=n(86954),f=["uiName"];function s(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function v(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 g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=(0,o.default)(a.Flex).withConfig({displayName:"d3pie__StatsContainer",componentId:"sc-7pf92d-0"})(["font-size:",";"],(function(e){return e.fontSize})),b=(0,o.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),y=t.Skeleton=(0,o.default)(a.Flex).attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({background:"panelBg",round:"100%",width:"100%",height:"100%"},e)})).withConfig({displayName:"d3pie__Skeleton",componentId:"sc-7pf92d-1"})(["animation:"," 1.6s ease-in infinite;"],b),w=t.D3pie=(0,r.forwardRef)((function(e,t){var n=e.uiName,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,f),a=(0,u.useAttributeValue)("loaded"),l=(0,u.useOnResize)(n),s=l.width,d=l.height,p=s<d?s:d;return r.default.createElement(c.ChartWrapper,m({alignItems:"center",justifyContent:"center",column:!0,ref:t},o),a?r.default.createElement(h,{position:"relative",width:"100%",height:"100%",fontSize:p/15+"px"},r.default.createElement(i.default,{uiName:n})):r.default.createElement(y,null))}));t.default=(0,l.default)(w,{tile:!0})},44608:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(58e3)),a=n(59978),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=(0,u.useAttributeValue)("chartType");return r.default.createElement(l.default,{icon:r.default.createElement(i.default,{svg:o.default,color:"key"}),title:"Chart type",color:"key","data-testid":"cartDetails-chartType"},r.default.createElement(a.TextSmall,{color:"textDescription"},e))}},86985:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=l(n(85265)),a=n(59978),i=n(54576),u=l(n(4522));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.title,n=e.children;return r.default.createElement(a.Flex,{gap:2},r.default.createElement(a.TextSmall,{color:"textDescription"},t),r.default.createElement(a.Flex,{as:a.TextSmall,background:"elementBackground"},n))};t.default=function(){var e=(0,i.useAttributeValue)("contextScope");return r.default.createElement(u.default,{icon:r.default.createElement(a.Icon,{svg:o.default,color:"key"}),title:"Plugin and chart context",color:"key","data-testid":"cartDetails-context"},r.default.createElement(c,{title:"Context"},e.join(", ")))}},39915:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(30075)),a=n(59978),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=(0,u.useTitle)(),t=(0,u.useAttributeValue)("info"),n=(0,u.useAttributeValue)("sectionInfo"),c=(0,u.useChart)(),f=function(e){var t=e.target.hash,n=void 0===t?"":t;n.startsWith("#menu")&&(e.preventDefault(),c.sdk.trigger("goToLink",c,n.substr(1)))};return r.default.createElement(l.default,{icon:r.default.createElement(i.default,{svg:o.default,color:"key"}),title:e,color:"key","data-testid":"cartDetails-description"},r.default.createElement(a.TextSmall,{color:"textDescription",dangerouslySetInnerHTML:{__html:n},onClick:f}),r.default.createElement(a.TextSmall,{color:"textDescription",dangerouslySetInnerHTML:{__html:t},onClick:f}))}},1496:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(67294)),o=s(n(71893)),a=n(59978),i=n(54576),u=s(n(86985)),l=s(n(22009)),c=s(n(39915)),f=s(n(44608));function s(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.default)(a.Flex).attrs({column:!0,padding:[4,3],gap:5,background:"mainBackground",overflow:{vertical:"auto"}}).withConfig({displayName:"details__Container",componentId:"sc-etnkd0-0"})(["inset:0;"]);t.default=function(){var e=(0,i.useAttributeValue)("nodeName");return r.default.createElement(d,{"data-testid":"cartDetails"},r.default.createElement(c.default,null),e&&r.default.createElement(l.default,null),r.default.createElement(u.default,null),r.default.createElement(f.default,null))}},4522:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(67294))&&r.__esModule?r:{default:r},a=n(59978),i=["icon","title","children"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}t.default=function(e){var t=e.icon,n=e.title,r=e.children,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,i);return o.default.createElement(a.Flex,u({gap:4},l),t,o.default.createElement(a.Flex,{column:!0,gap:1,flex:"grow",basis:0},o.default.createElement(a.Text,{strong:!0,color:"key"},n),r&&o.default.createElement(a.Flex,{column:!0,gap:1},r)))}},22009:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(9837)),a=n(59978),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=(0,u.useAttributeValue)("nodeName");return r.default.createElement(l.default,{icon:r.default.createElement(i.default,{svg:o.default,color:"key"}),title:"Source",color:"key","data-testid":"cartDetails-source"},r.default.createElement(a.TextSmall,{color:"textDescription"},e))}},28138:function(e,t,n){"use strict";t.ZP=void 0;var r=m(n(67294)),o=m(n(71893)),a=n(59978),i=d(n(58607)),u=n(54576),l=d(n(70486)),c=n(86954),f=d(n(3640)),s=["uiName"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}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 h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,o.default)(a.Text).withConfig({displayName:"easyPie__Label",componentId:"sc-1c7qdjs-0"})(["line-height:1;font-size:",";",";"],(function(e){return e.fontSize}),(function(e){return e.isFetching&&f.default})),y=function(){var e=(0,u.useLatestConvertedValue)("selected");return r.default.createElement(b,{color:"text",fontSize:"2em",strong:!0},e)},w=function(){var e=(0,u.useUnitSign)();return r.default.createElement(b,{color:"textLite",fontSize:"1em"},e)},O=(0,o.default)(a.Flex).attrs({position:"absolute",column:!0,alignContent:"center",justifyContent:"center",gap:2}).withConfig({displayName:"easyPie__StatsContainer",componentId:"sc-1c7qdjs-1"})(["inset:0;text-align:center;font-size:",";"],(function(e){return e.fontSize})),x=function(e){var t=e.size;return r.default.createElement(O,{fontSize:t/15+"px"},r.default.createElement(y,null),r.default.createElement(w,null))},E=(0,o.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),j=(0,o.default)(a.Flex).attrs((function(e){return function(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){h(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}({background:"borderSecondary",round:"100%",width:"100%",height:"100%"},e)})).withConfig({displayName:"easyPie__Skeleton",componentId:"sc-1c7qdjs-2"})(["animation:"," 1.6s ease-in infinite;"],E),_=(0,r.forwardRef)((function(e,t){var n=e.uiName,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,s),a=(0,u.useAttributeValue)("loaded"),l=(0,u.useOnResize)(n),f=l.width,d=l.height,p=f<d?f:d;return r.default.createElement(c.ChartWrapper,{alignItems:"center",ref:t},a?r.default.createElement(i.default,v({uiName:n,position:"relative",justifyContent:"center",alignItems:"center"},o),r.default.createElement(x,{size:p})):r.default.createElement(j,{size:p}))}));t.ZP=(0,l.default)(_,{tile:!0})},96376:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),a=n(59978),i=n(54576),u=(r=n(37101))&&r.__esModule?r:{default:r},l=["labelProps"];function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function s(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=o.default.createElement(a.TextMicro,{padding:[0,0,2],color:"textLite"},"When aggregating multiple multiple source time-series metrics to one visible dimension on the chart, use the following aggregation function"),v={heading:"Metrics aggregation",body:"View or select the aggregation function applied when multiple source time-series metrics need to be grouped together to be presented as dimensions on this chart."},g=function(e){var t=e.labelProps,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,l),r=(0,i.useChart)(),a=(0,i.useAttributeValue)("aggregationMethod"),c=function(e){return(0,o.useMemo)((function(){return[{value:"avg",label:"Average",description:"For each point presented, calculate the average of the metrics contributing to it.",short:"AVG()","data-track":e.track("avg")},{value:"sum",label:"Sum",description:"For each point presented, calculate the sum of the metrics contributing to it.",short:"SUM()","data-track":e.track("sum")},{value:"min",label:"Minimum",description:"For each point presented, present the minimum of the metrics contributing to it.",short:"MIN()","data-track":e.track("min")},{value:"max",label:"Maximum",description:"For each point presented, present the maximum of the metrics contributing to it.",short:"MAX()","data-track":e.track("max")}]}),[e])}(r),s=(c.find((function(e){return e.value===a}))||c[0]).short;return o.default.createElement(u.default,f({value:a,onChange:r.updateAggregationMethodAttribute,items:c,"data-track":r.track("aggregate"),dropTitle:m},n,{labelProps:d({secondaryLabel:"the",label:s,title:v.heading,tooltipProps:v},t)}))};t.default=(0,o.memo)(g)},11627:function(e,t,n){"use strict";t.__esModule=!0,t.uniqueColumn=t.minColumn=t.metricsColumn=t.maxColumn=t.labelColumn=t.instancesColumn=t.contributionColumn=t.avgColumn=t.anomalyRateColumn=t.alertsColumn=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=n(59978),a=c(n(12460)),i=c(n(9033)),u=n(54576),l=c(n(88811));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}t.labelColumn=function(e){return{id:"label",header:function(){return r.default.createElement(o.TextSmall,{strong:!0},"Name")},size:200,minSize:60,maxSize:800,cell:function(t){var n=t.getValue,i=t.row,c=function(e){return(0,r.useMemo)((function(){return{dimension:"dimensions",node:"nodes",instance:e.intl("instance",2),label:"labels",value:"values",default:"values"}}),[])}((0,u.useChart)());return r.default.createElement(o.Flex,{justifyContent:"between",alignItems:"center",padding:[0,0,0,3*i.depth],width:"100%"},r.default.createElement(o.Flex,{gap:1},r.default.createElement(a.default,{id:i.original.value}),r.default.createElement(o.TextSmall,{strong:!0,onClick:i.original.disabled?void 0:i.getToggleSelectedHandler(),cursor:i.original.disabled?"default":"pointer",whiteSpace:"normal",wordBreak:"break-word"},n())),i.getCanExpand()&&r.default.createElement(l.default,{label:c[i.original.value]||c[e]||c.default,onClick:function(e){i.getToggleExpandedHandler()(e),setTimeout((function(){return e.target.scrollIntoView({behavior:"smooth",block:"nearest"})}))},iconRotate:i.getIsExpanded()?2:null,textProps:{fontSize:"10px",color:"textLite"},alignItems:"center"}))}}},t.uniqueColumn=function(){return{id:"unique",header:r.default.createElement(o.TextMicro,{strong:!0},"Unique"),size:45,minSize:30,maxSize:90,cell:function(e){var t=e.getValue;return r.default.createElement(o.TextSmall,{color:"textLite"},t())},sortingFn:"basic"}},t.minColumn=function(){return{id:"min",header:r.default.createElement(o.TextMicro,{strong:!0},"Min ",r.default.createElement(i.default,{visible:!0})),size:60,minSize:30,maxSize:90,cell:function(e){var t=e.getValue,n=(0,u.useConverted)(t());return r.default.createElement(o.TextSmall,{color:"textLite"},n)},sortingFn:"basic"}},t.avgColumn=function(){return{id:"avg",header:r.default.createElement(o.TextMicro,{strong:!0},"Avg ",r.default.createElement(i.default,{visible:!0})),size:60,minSize:30,maxSize:90,cell:function(e){var t=e.getValue,n=(0,u.useConverted)(t());return r.default.createElement(o.TextSmall,{color:"textLite"},n)},sortingFn:"basic"}},t.maxColumn=function(){return{id:"max",header:r.default.createElement(o.TextMicro,{strong:!0},"Max ",r.default.createElement(i.default,{visible:!0})),size:60,minSize:30,maxSize:90,cell:function(e){var t=e.getValue,n=(0,u.useConverted)(t());return r.default.createElement(o.TextSmall,{color:"textLite"},n)},sortingFn:"basic"}},t.instancesColumn=function(){return{id:"instances",header:r.default.createElement(o.TextMicro,{strong:!0},"Instances"),size:60,minSize:30,maxSize:90,cell:function(e){var t,n=e.getValue,a=e.row;if(null==(t=a.original.info)||!t.is)return r.default.createElement(o.TextSmall,{color:"textLite"},n());var i=a.original.info.is,u=i.qr,l=void 0===u?0:u,c=i.sl,f=void 0===c?0:c,s=i.ex,d=void 0===s?0:s;return r.default.createElement(o.Flex,{flex:!0,column:!0},r.default.createElement(o.TextSmall,{color:"textLite"},r.default.createElement(o.TextSmall,{color:"primary"},l)," out of ",f+d),r.default.createElement(o.ProgressBar,{background:"progressBg",color:["green","deyork"],height:2,width:l/(f+d)*100+"%",containerWidth:"100%",border:"none"}))},sortingFn:"basic"}},t.metricsColumn=function(){return{id:"metrics",header:r.default.createElement(o.TextMicro,{strong:!0},"Metrics"),size:80,minSize:60,cell:function(e){var t,n=e.row,a=e.getValue;if(null==(t=n.original.info)||!t.ds)return r.default.createElement(o.TextSmall,{color:"textLite"},a());var i=n.original.info.ds,u=i.qr,l=void 0===u?0:u,c=i.sl,f=void 0===c?0:c,s=i.ex,d=void 0===s?0:s;return r.default.createElement(o.Flex,{flex:!0,column:!0},r.default.createElement(o.TextSmall,{color:"textLite"},r.default.createElement(o.TextSmall,{color:"primary"},l)," out of ",f+d),r.default.createElement(o.ProgressBar,{background:"progressBg",color:["green","deyork"],height:2,width:l/(f+d)*100+"%",containerWidth:"100%",border:"none"}))},sortingFn:"basic"}},t.contributionColumn=function(){return{id:"contribution",header:r.default.createElement(o.TextMicro,{strong:!0},"Vol %"),size:60,minSize:30,maxSize:90,cell:function(e){var t,n=e.row,a=e.getValue;return null!=(t=n.original.info)&&t.sts?r.default.createElement(o.Flex,{flex:!0,column:!0},r.default.createElement(o.TextSmall,{color:"primary"},Math.round(100*(a()+Number.EPSILON))/100,"%"),r.default.createElement(o.ProgressBar,{background:"progressBg",color:["green","deyork"],height:2,width:a()+"%",containerWidth:"100%",border:"none"})):r.default.createElement(o.TextSmall,{color:"textLite"},a())},sortingFn:"basic"}},t.anomalyRateColumn=function(){return{id:"anomalyRate",header:r.default.createElement(o.TextMicro,{strong:!0},"AR %"),size:60,minSize:30,maxSize:90,cell:function(e){var t,n=e.row,a=e.getValue;return null!=(t=n.original.info)&&t.sts?r.default.createElement(o.Flex,{flex:!0,column:!0},r.default.createElement(o.TextSmall,{color:"textLite"},Math.round(100*(a()+Number.EPSILON))/100,"%"),r.default.createElement(o.ProgressBar,{background:"progressBg",color:"anomalyText",height:2,width:a()+"%",containerWidth:"100%",border:"none"})):r.default.createElement(o.TextSmall,{color:"textLite"},a())},sortingFn:"basic"}},t.alertsColumn=function(){return{id:"alerts",header:r.default.createElement(o.TextMicro,{strong:!0},"Alerts"),size:75,minSize:60,maxSize:90,cell:function(e){var t,n=e.row,a=e.getValue;if(null==(t=n.original.info)||!t.al)return r.default.createElement(o.TextSmall,{color:"textLite"},a());var i=n.original.info.al,u=i.cl,l=void 0===u?0:u,c=i.cr,f=void 0===c?0:c,s=i.wr,d=void 0===s?0:s,p={text:f,flavour:f?"error":"disabledError"},m={text:d,flavour:d?"warning":"disabledWarning"},v={text:l,flavour:l?"clear":"disabledClear"};return r.default.createElement(o.Flex,null,r.default.createElement(o.MasterCard,{pillLeft:p,pillRight:m,pillEnd:v}))},sortingFn:"basic"}}},92247:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),a=n(54576),i=(r=n(37101))&&r.__esModule?r:{default:r},u=["labelProps"];function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}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 s(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){d(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}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={heading:"Context",body:"View or select the context applied on this chart."},m=function(e){var t=e.labelProps,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,u),r=(0,a.useChart)(),l=(0,a.useAttributeValue)("contextScope"),f=(0,a.useAttributeValue)("contextItems");if(!f.length)return null;var d=(f.find((function(e){return e.value===l[0]}))||f[0]).label;return o.default.createElement(i.default,c({value:l,onChange:r.updateContextScopeAttribute,items:f,"data-track":r.track("contextScope")},n,{labelProps:s({secondaryLabel:"On",label:d,title:p.heading,tooltipProps:p},t)}))};t.default=(0,o.memo)(m)},28646:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),a=n(54576),i=(r=n(23410))&&r.__esModule?r:{default:r},u=n(33370),l=n(11627),c=["labelProps"];function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var d={heading:"Dimensions",body:"View or filter the original dimensions contributing time-series metrics to this chart. This menu also presents the contribution of each original dimension on the chart, and a break down of the anomaly rate of the data per dimension."},p=[(0,l.labelColumn)(),(0,l.metricsColumn)(),(0,l.contributionColumn)(),(0,l.anomalyRateColumn)(),(0,l.minColumn)(),(0,l.avgColumn)(),(0,l.maxColumn)()],m=function(e){var t=e.labelProps,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,c),r=(0,a.useChart)(),l=(0,a.useAttributeValue)("selectedDimensions"),f=(0,a.useAttributeValue)("dimensions"),m=(0,a.useAttributeValue)("dimensionsTotals"),v=(0,o.useCallback)((function(){return Object.keys(f).map((function(e){var t=l.includes(e);return(0,u.getStats)(r,f[e],{key:"dimensions",props:{selected:t}})}))}),[f,l]),g=(0,a.useAttribute)("nodesSortBy"),h=g[0],b=g[1];return o.default.createElement(i.default,s({title:"Dimensions",resourceName:"dimension","data-track":r.track("dimensions"),labelProps:t,onChange:r.updateDimensionsAttribute,getOptions:v,tooltipProps:d,value:l,columns:p,sortBy:h,onSortByChange:b,totals:m},n))};t.default=(0,o.memo)(m)},37101:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.ItemContainer=t.Item=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=d(n(71893)),a=n(59978),i=d(n(41523)),u=d(n(30075)),l=d(n(3701)),c=d(n(81743)),f=d(n(88811)),s=["labelProps"];function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function v(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 g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=t.ItemContainer=(0,o.default)(a.Flex).attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:"li",role:"option",padding:[1,2],gap:1,justifyContent:"between"},e)})).withConfig({displayName:"dropdownSingleSelect__ItemContainer",componentId:"sc-u6ous4-0"})(["cursor:",";opacity:",";align-items:",";"," "," ",""],(function(e){return e.disabled?"default":"pointer"}),(function(e){var t=e.disabled,n=e.stale;return e.selected||!n&&!t?1:.7}),(function(e){return e.alignItems||"center"}),(function(e){var t=e.selected,n=e.theme;return t&&"\n background-color: "+function(e){var t=e.theme;return("Dark"===t.name?(0,a.getRgbColor)(["green","netdata"],.3):(0,a.getRgbColor)(["green","frostee"]))({theme:t})}({theme:n})+";\n "}),(function(e){var t=e.selected,n=e.theme;return!t&&"\n &:hover {\n background-color: "+(0,a.getColor)("borderSecondary")({theme:n})+";\n }\n "}),(function(e){var t=e.justDesc,n=e.theme;return t&&"\n pointer-events: none;\n border-top: 1px solid "+(0,a.getColor)("borderSecondary")({theme:n})+";\n "})),b=t.Item=function(e){var t=e.value,n=e.item,o=e.onItemClick,f=e.itemProps,s=n.value,d=n.label,p=n.description,v=n.justDesc,g=void 0!==v&&v,b=t===s;return r.default.createElement(h,m({},f,{disabled:b,selected:b,onClick:function(){return o(s)},justDesc:g}),r.default.createElement(a.Flex,{column:g,padding:[0,1],alignItems:"start",width:"100%",justifyContent:"between"},!!d&&r.default.createElement(a.Text,null,d,b&&r.default.createElement(l.default,{margin:[-.5,2,-.5,0],width:"14px",height:"14px",color:"primary",svg:i.default})),!!p&&(g?r.default.createElement(a.TextMicro,{color:"textLite"},p):r.default.createElement(c.default,{content:p,zIndex:9999999},r.default.createElement("div",null,r.default.createElement(l.default,{width:"14px",height:"14px",color:"textLite",svg:u.default}))))))},y=function(e){var t=e.labelProps,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,s);return r.default.createElement(a.Menu,m({},n,{Item:b,dropProps:{align:{top:"bottom",left:"left"},"data-toolbox":!0,width:"460px"},dropdownProps:{padding:[0,0,2,0],height:{max:"80vh"}}},n),r.default.createElement(f.default,m({},t,{"data-value":""+(n.value||"No selection")})))};t.default=(0,r.memo)(y)},23410:function(e,t,n){"use strict";t.__esModule=!0,t.meta=t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=s(n(71893)),a=n(59978),i=s(n(91211)),u=s(n(88811)),l=s(n(59965)),c=["getOptions","onItemClick","close","columns","sortBy","onSortByChange","expanded","onExpandedChange","tableMeta","enableSubRowSelection","value","newValues","totals","emptyMessage","title","filterSelectedCount"],f=["label","labelProps","onChange","getOptions","secondaryLabel","tooltipProps","value","columns","sortBy","onSortByChange","expanded","onExpandedChange","tableMeta","enableSubRowSelection","totals","emptyMessage","resourceName","title","filterSelectedCount"];function s(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function v(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,o.default)(a.Flex).withConfig({displayName:"dropdownTable__Container",componentId:"sc-194yxs8-0"})(["box-shadow:0 18px 28px ",";list-style-type:none;border-radius:2px;border:1px solid ",";*{box-sizing:border-box;}"],(0,a.getColor)("dropdownShadow"),(0,a.getColor)("borderSecondary")),y=t.meta=function(e,t,n){return{cellStyles:g(g(g({height:"40px"},(null==e||null==e.getIsExpanded?void 0:e.getIsExpanded())&&{background:"columnHighlight",backgroundOpacity:.7}),e.depth>0&&{backgroundOpacity:.4}),e.depth>0&&0===n&&{border:{side:"left",size:"4px"}}),headStyles:{height:"32px"},styles:{alignItems:"center"},bulkActionsStyles:{padding:[1,1]},searchContainerStyles:{width:"100%",padding:[0,1]},searchStyles:{inputContainerStyles:{height:"32px",border:{side:"all",size:"1px",color:"inputBg"},background:"inputBg",round:!0,padding:[1,1],_hover:{border:{side:"all",size:"1px",color:"borderSecondary"}}}}}},w=function(){},O=[{id:"contribution",desc:!0}],x={},E=function(){return!0},j=function(e){var t=e.getOptions,n=e.onItemClick,o=(e.close,e.columns),u=e.sortBy,f=e.onSortByChange,s=e.expanded,d=e.onExpandedChange,v=e.tableMeta,h=void 0===v?y:v,O=e.enableSubRowSelection,x=e.value,j=e.newValues,k=e.totals,S=e.emptyMessage,P=e.title,C=e.filterSelectedCount,M=void 0===C?E:C,T=m(e,c),D=(0,r.useMemo)(t,[]),A=(0,r.useState)((function(){return _(D,{})})),I=A[0],L=A[1];(0,r.useEffect)((function(){var e=_(D,{});L((function(t){return(0,i.default)(t,e)?t:e}))}),[]);var N=(0,r.useMemo)((function(){return!!j&&(0,i.default)(x,j)}),[j]),F=(0,r.useMemo)((function(){return null!=j&&j.length?M(j).length:0}),[j]);return r.default.createElement(b,p({role:"listbox",background:"dropdown",padding:[0],margin:[1,0],column:!0,tabindex:"-1",flex:!0},T),r.default.createElement(a.Table,{title:P,background:"dropdownTable",enableResize:!0,enableSorting:!0,enableSelection:!0,dataColumns:o,data:D,onRowSelected:n,onSearch:w,meta:h,sortBy:u,rowSelection:I,onSortingChange:f,expanded:s,onExpandedChange:d,enableSubRowSelection:O,width:{base:250,max:"80vw"}}),r.default.createElement(a.Flex,{padding:[2],justifyContent:"between",alignItems:"center",border:{side:"top",color:"borderSecondary"}},r.default.createElement(a.Flex,{gap:1,alignItems:"center"},r.default.createElement(a.TextSmall,{color:"textLite"},"Selected ",r.default.createElement(a.TextSmall,{strong:!0},F)," out of"," ",r.default.createElement(a.TextSmall,{strong:!0},((null==k?void 0:k.sl)||0)+((null==k?void 0:k.ex)||0)||D.length)),r.default.createElement(a.Button,{padding:[0],flavour:"borderless",width:"auto",height:"auto",cursor:"pointer",color:"primary",onClick:function(){L({}),n([])},disabled:!(null!=j&&j.length)&&!x.length,label:"clear",small:!0}),r.default.createElement(a.Button,{padding:[0],flavour:"borderless",width:"auto",height:"auto",cursor:"pointer",color:"primary",onClick:function(){L(g({},I)),n(x)},disabled:!N,label:"reset",small:!0}),!(null!=j&&j.length)&&!!S&&r.default.createElement(a.TextSmall,{color:"warningText"},S)),k&&r.default.createElement(l.default,p({selected:x},k))))},_=function e(t,n,r){return t.reduce((function(t,n,o){return"undefined"!==typeof r&&(o=r+"."+o),n.selected&&(t[o]=!0),n.children&&e(n.children,t,o),t}),n)};t.default=function(e){var t=e.label,n=e.labelProps,o=e.onChange,i=e.getOptions,c=e.secondaryLabel,s=e.tooltipProps,d=e.value,v=e.columns,g=e.sortBy,h=void 0===g?O:g,b=e.onSortByChange,y=e.expanded,w=void 0===y?x:y,E=e.onExpandedChange,_=e.tableMeta,k=e.enableSubRowSelection,S=e.totals,P=e.emptyMessage,C=e.resourceName,M=e.title,T=e.filterSelectedCount,D=m(e,f),A=(0,r.useState)(!1),I=A[0],L=A[1],N=(0,r.useState)(),F=N[0],z=N[1],R=(0,r.useRef)();return(0,r.useEffect)((function(){!I&&F&&(R.current=null,o(F))}),[I]),(0,r.useEffect)((function(){return function(){return R.current&&o(R.current)}}),[]),r.default.createElement(a.Menu,p({onChange:function(e){R.current=e,z(e)},hasSearch:!1,closeOnClick:!1,Dropdown:j,dropProps:{align:{top:"bottom",left:"left"},"data-toolbox":!0,keepHorizontal:!0,stretch:null},dropdownProps:{height:{max:"60vh"},width:"100%",overflow:"auto",columns:v,getOptions:i,sortBy:h,onSortByChange:b,expanded:w,onExpandedChange:E,tableMeta:_,enableSubRowSelection:k,value:d,totals:S,newValues:F,emptyMessage:P,title:M,filterSelectedCount:T},value:d,onOpen:function(){return L(!0)},onClose:function(){return L(!1)}},D),r.default.createElement(u.default,p({"data-value":d.join("|")||C+" all-selected",secondaryLabel:c,label:t||r.default.createElement(l.default,p({selected:d},S,{resourceName:C,teaser:!0})),title:s.heading,tooltipProps:s},n)))}},40107:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=w(n(67294)),o=n(93501),a=n(54576),i=w(n(96376)),u=w(n(28646)),l=w(n(45230)),c=w(n(53926)),f=w(n(92247)),s=w(n(77051)),d=w(n(5628)),p=w(n(25789)),m=w(n(33126)),v=w(n(17371)),g=w(n(34034)),h=w(n(13100)),b=w(n(93506)),y=w(n(3701));function w(e){return e&&e.__esModule?e:{default:e}}var O={secondaryLabel:"The"},x={},E={nodes:{icon:r.default.createElement(y.default,{svg:v.default,color:"textLite",size:"16px"}),padding:[0]},instances:{icon:r.default.createElement(y.default,{svg:g.default,color:"textLite",size:"16px"}),padding:[0]},dimensions:{icon:r.default.createElement(y.default,{svg:h.default,color:"textLite",size:"16px"}),padding:[0]},labels:{icon:r.default.createElement(y.default,{svg:b.default,color:"textLite",size:"16px"}),padding:[0]}};t.default=function(e){var t=e.plain,n=(0,o.useIsHeatmap)(),v=(0,a.useAttributeValue)("filterElements");return v?v.map((function(e,t){return r.default.createElement(e,{key:t})})):t?r.default.createElement(r.default.Fragment,null,r.default.createElement(c.default,{labelProps:E.nodes}),r.default.createElement(l.default,{labelProps:E.instances}),r.default.createElement(u.default,{labelProps:E.dimensions}),r.default.createElement(p.default,{labelProps:E.labels})):r.default.createElement(r.default.Fragment,null,!n&&r.default.createElement(f.default,null),!n&&r.default.createElement(s.default,{labelProps:{secondaryLabel:"Group by"}}),r.default.createElement(i.default,{labelProps:n?O:x}),r.default.createElement(c.default,null),r.default.createElement(l.default,null),r.default.createElement(u.default,null),r.default.createElement(p.default,null),r.default.createElement(d.default,null),r.default.createElement(m.default,null))}},44841:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(71893))&&r.__esModule?r:{default:r},a=n(59978);function i(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 u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=(0,o.default)(a.Flex).attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({alignItems:"center",border:{side:"bottom",color:"borderSecondary"},overflow:"auto"},e)})).withConfig({displayName:"filtersContainer__FiltersContainer",componentId:"sc-1f00tzv-0"})(["&::-webkit-scrollbar{height:0;}"]);t.default=l},77051:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"ob |