diff options
Diffstat (limited to 'web/gui/v2/161.c33d27d7097fd45f278a.chunk.js')
-rw-r--r-- | web/gui/v2/161.c33d27d7097fd45f278a.chunk.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/gui/v2/161.c33d27d7097fd45f278a.chunk.js b/web/gui/v2/161.c33d27d7097fd45f278a.chunk.js deleted file mode 100644 index 892e1f60..00000000 --- a/web/gui/v2/161.c33d27d7097fd45f278a.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 161.c33d27d7097fd45f278a.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]="6a7a754f-25e8-421b-8bb8-d231acb1ad41",e._sentryDebugIdIdentifier="sentry-dbid-6a7a754f-25e8-421b-8bb8-d231acb1ad41")}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([[161],{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(64969),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:1,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)))})))},k=function(e){var t=e.id,n=e.strong,o=e.chars,f=e.rowFlavour,s=e.size,p=e.fullCols,m=(0,c.useVisibleDimensionId)(t),v=(0,c.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(w,{opacity:m?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:(s>18?18:s<12?12:s)+"px"},r.default.createElement(i.default,{id:t})),r.default.createElement(u.default,{padding:[1,2],flex:!0,id:t,strong:n,maxLength:o,fontSize:"1.1em"})),r.default.createElement(l.default,{id:t,strong:n,visible:m,Component:E,fractionDigits:v,color:f===d.rowFlavours.default?"text":"textLite",fontSize:"1.1em"}),p&&r.default.createElement(r.default.Fragment,null,r.default.createElement(l.default,{id:t,strong:n,visible:m,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:m,valueKey:"pa",Component:j,color:f===d.rowFlavours.ANNOTATIONS?"text":"textLite",fontSize:"1.1em"})))};t.default=k},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(90833),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:",";align-items:center;"],(function(e){return"full"===e.cols?"2fr 1fr 1fr 1fr":"3fr 1fr"})),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={ANOMALY_RATE:"ANOMALY_RATE",ANNOTATIONS:"ANNOTATIONS",default:"VALUE"};t.rowFlavours=v;var g={ANOMALY_RATE:"anomalyDesc",ANNOTATIONS:"annotationsDesc",default:"valueDesc"},h=function(e){var t=e.size,n=e.height,o=e.width,c=(0,a.useChart)(),f=(0,a.useAttributeValue)("hoverX")||d,h=f[0],b=f[1],y=(0,a.usePayload)().data,w=(0,r.useMemo)((function(){var e=c.getClosestRow(h)||y.length-1,t=c.onHoverSortDimensions(e,g[b]||c.getAttribute("dimensionsSort")||g.default)||[];c.getAttribute("selectedDimensions").length>0&&(t=t.filter((function(e){return c.isDimensionVisible(e)})));var r=t.findIndex((function(e){return e===b})),o=t.length,a=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)}(o,r,n)),i=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)}(o,r,n));return[a,i,o,t.slice(a,i)]}),[c,b,h,y,n]),O=w[0],x=w[1],E=w[2],j=w[3],k=v[b]||v.default,P=(0,a.useAttributeValue)("cols");return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.TextNano,{fontSize:"1em",color:"textLite"},O>0?"\u2191"+O+" more values":r.default.createElement(r.default.Fragment,null,"\xa0")),r.default.createElement(s,{gap:.5,column:!0,cols:P},r.default.createElement(i.TextMicro,{fontSize:"1em",strong:!0},"Dimension"),r.default.createElement(i.TextMicro,{fontSize:"1em",color:k===v.default?"text":"textLite",textAlign:"right"},"Value"," ",r.default.createElement(u.default,{visible:!0,strong:k===v.default,color:k===v.default?"text":"textLite",fontSize:"1em"})),"full"===P&&r.default.createElement(r.default.Fragment,null,r.default.createElement(i.TextMicro,{fontSize:"1em",strong:k===v.ANOMALY_RATE,color:k===v.ANOMALY_RATE?"text":"textLite",textAlign:"right"},"AR %"),r.default.createElement(i.TextMicro,{fontSize:"1em",strong:k===v.ANNOTATIONS,color:k===v.ANNOTATIONS?"text":"textLite",textAlign:"right"},"Info")),j.map((function(e){return r.default.createElement(l.default,{key:e,id:e,strong:b===e,chars:parseInt(o/("full"===P?15:8)),rowFlavour:k,size:(t-80)/j.length,fullCols:"full"===P})}))),r.default.createElement(i.TextNano,{color:"textLite",fontSize:"1em"},x<E?"\u2193"+(E-x)+" more values":r.default.createElement(r.default.Fragment,null,"\xa0")))},b=(0,r.memo)(h);t.default=b},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,m=s<p?s:p;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,{size:m,height:p,width:s})))}));var m=(0,i.default)(p,{tile:!0});t.ZP=m},58607: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=(r=n(32855))&&r.__esModule?r:{default:r},i=n(54576),u=["uiName"];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)}var f=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,u),r=(0,i.useChart)(),l=(0,o.useRef)();return(0,o.useLayoutEffect)((function(){return r.getUI(t).mount(l.current),function(){return r.getUI(t)&&r.getUI(t).unmount()}}),[]),o.default.createElement(a.default,c({"data-testid":"chartContent",ref:l,height:"100%",width:"100%"},n))};t.default=f},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(64969);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;}"]),c=l;t.default=c},1981:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Skeleton=t.D3pie=void 0;var r=p(n(67294)),o=s(n(58607)),a=n(54576),i=p(n(71893)),u=s(n(32855)),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,i.default)(u.default).withConfig({displayName:"d3pie__StatsContainer",componentId:"sc-7pf92d-0"})(["font-size:",";"],(function(e){return e.fontSize})),b=(0,i.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),y=(0,i.default)(u.default).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);t.Skeleton=y;var w=(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,f),u=(0,a.useAttributeValue)("loaded"),l=(0,a.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},i),u?r.default.createElement(h,{position:"relative",width:"100%",height:"100%",fontSize:p/15+"px"},r.default.createElement(o.default,{uiName:n})):r.default.createElement(y,null))}));t.D3pie=w;var O=(0,l.default)(w,{tile:!0});t.default=O},44608:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(28524)),a=n(90833),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}var f=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))};t.default=f},86985:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=f(n(67294)),o=f(n(79608)),a=n(90833),i=f(n(32855)),u=f(n(3701)),l=n(54576),c=f(n(4522));function f(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.title,n=e.children;return r.default.createElement(i.default,{gap:2},r.default.createElement(a.TextSmall,{color:"textDescription"},t),r.default.createElement(i.default,{as:a.TextSmall,background:"elementBackground"},n))},d=function(){var e=(0,l.useAttributeValue)("contextScope");return r.default.createElement(c.default,{icon:r.default.createElement(u.default,{svg:o.default,color:"key"}),title:"Plugin and chart context",color:"key","data-testid":"cartDetails-context"},r.default.createElement(s,{title:"Context"},e.join(", ")))};t.default=d},39915:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(25312)),a=n(90833),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}var f=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}))};t.default=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=s(n(32855)),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.default).attrs({column:!0,padding:[4,3],gap:5,background:"mainBackground",overflow:{vertical:"auto"}}).withConfig({displayName:"details__Container",componentId:"sc-etnkd0-0"})(["inset:0;"]),p=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))};t.default=p},4522:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(67294)),o=u(n(32855)),a=n(90833),i=["icon","title","children"];function u(e){return e&&e.__esModule?e:{default: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)}var c=function(e){var t=e.icon,n=e.title,u=e.children,c=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 r.default.createElement(o.default,l({gap:4},c),t,r.default.createElement(o.default,{column:!0,gap:1,flex:"grow",basis:0},r.default.createElement(a.Text,{strong:!0,color:"key"},n),u&&r.default.createElement(o.default,{column:!0,gap:1},u)))};t.default=c},22009:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(94631)),a=n(90833),i=c(n(3701)),u=n(54576),l=c(n(4522));function c(e){return e&&e.__esModule?e:{default:e}}var f=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))};t.default=f},28138:function(e,t,n){"use strict";t.ZP=void 0;var r=v(n(67294)),o=p(n(58607)),a=n(54576),i=v(n(71893)),u=p(n(32855)),l=n(90833),c=p(n(70486)),f=n(86954),s=p(n(3640)),d=["uiName"];function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 g(){return g=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},g.apply(this,arguments)}function h(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 b(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 y=(0,i.default)(l.Text).withConfig({displayName:"easyPie__Label",componentId:"sc-1c7qdjs-0"})(["line-height:1;font-size:",";",";"],(function(e){return e.fontSize}),(function(e){return e.isFetching&&s.default}));var w=function(){var e=(0,a.useLatestConvertedValue)("selected");return r.default.createElement(y,{color:"main",fontSize:"2em",strong:!0},e)};var O=function(){var e=(0,a.useUnitSign)();return r.default.createElement(y,{color:"border",fontSize:"1em"},e)};var x=(0,i.default)(u.default).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}));var E=function(e){var t=e.size;return r.default.createElement(x,{fontSize:t/15+"px"},r.default.createElement(w,null),r.default.createElement(O,null))};var j=(0,i.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),k=(0,i.default)(u.default).attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(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;"],j);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,d),u=(0,a.useAttributeValue)("loaded"),l=(0,a.useOnResize)(n),c=l.width,s=l.height,p=c<s?c:s;return r.default.createElement(f.ChartWrapper,{alignItems:"center",ref:t},u?r.default.createElement(o.default,g({uiName:n,position:"relative",justifyContent:"center",alignItems:"center"},i),r.default.createElement(E,{size:p})):r.default.createElement(k,{size:p}))}));var S=(0,c.default)(P,{tile:!0});t.ZP=S},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(64969),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)}))},h=(0,o.memo)(g);t.default=h},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(64969),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]},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(r.default.Fragment,null,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(r.default.Fragment,null,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(r.default.Fragment,null,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(r.default.Fragment,null,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:70,minSize:60,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("div",null,r.default.createElement(o.Flex,{flex:!1},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)}))},v=(0,o.memo)(m);t.default=v},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))},v=(0,o.memo)(m);t.default=v},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(64969),i=d(n(13563)),u=d(n(25312)),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=(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 "}));t.ItemContainer=h;var b=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}))))))};t.Item=b;var 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")})))},w=(0,r.memo)(y);t.default=w},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(64969),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=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:{verticalAlign:"middle"},bulkActionsStyles:{padding:[2,0]},searchContainerStyles:{width:"100%",padding:[0,2,0,2]},searchStyles:{inputContainerStyles:{height:"32px",border:{side:"all",size:"1px",color:"inputBg"},background:"inputBg",round:!0,padding:[1,2],_hover:{border:{side:"all",size:"1px",color:"borderSecondary"}}}}}};t.meta=y;var 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,P=e.totals,S=e.emptyMessage,C=e.title,_=e.filterSelectedCount,M=void 0===_?E:_,T=m(e,c),D=(0,r.useMemo)(t,[]),A=(0,r.useState)((function(){return k(D,{})})),I=A[0],N=A[1];(0,r.useEffect)((function(){var e=k(D,{});N((function(t){return(0,i.default)(t,e)?t:e}))}),[]);var L=(0,r.useMemo)((function(){return!!j&&(0,i.default)(x,j)}),[j]),R=(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.NetdataTable,{title:C,background:"dropdownTable",enableResize:!0,enableSorting:!0,enableSelection:!0,dataColumns:o,data:D,onRowSelected:n,onGlobalSearchChange: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},R)," out of"," ",r.default.createElement(a.TextSmall,{strong:!0},((null==P?void 0:P.sl)||0)+((null==P?void 0:P.ex)||0)||D.length)),r.default.createElement(a.Button,{padding:[0],flavour:"borderless",width:"auto",height:"auto",cursor:"pointer",color:"primary",onClick:function(){N({}),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(){N(g({},I)),n(x)},disabled:!L,label:"reset",small:!0}),!(null!=j&&j.length)&&!!S&&r.default.createElement(a.TextSmall,{color:"warningText"},S)),P&&r.default.createElement(l.default,p({selected:x},P))))},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)},P=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,k=e.tableMeta,P=e.enableSubRowSelection,S=e.totals,C=e.emptyMessage,_=e.resourceName,M=e.title,T=e.filterSelectedCount,D=m(e,f),A=(0,r.useState)(!1),I=A[0],N=A[1],L=(0,r.useState)(),R=L[0],F=L[1],z=(0,r.useRef)();return(0,r.useEffect)((function(){!I&&R&&(z.current=null,o(R))}),[I]),(0,r.useEffect)((function(){return function(){return z.current&&o(z.current)}}),[]),r.default.createElement(a.Menu,p({onChange:function(e){z.current=e,F(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:k,enableSubRowSelection:P,value:d,totals:S,newValues:R,emptyMessage:C,title:M,filterSelectedCount:T},value:d,onOpen:function(){return N(!0)},onClose:function(){return N(!1)}},D),r.default.createElement(u.default,p({"data-value":d.join("|")||_+" all-selected",secondaryLabel:c,label:t||r.default.createElement(l.default,p({selected:d},S,{resourceName:_,teaser:!0})),title:s.heading,tooltipProps:s},n)))};t.default=P},40107:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=y(n(67294)),o=n(93501),a=y(n(96376)),i=y(n(28646)),u=y(n(45230)),l=y(n(53926)),c=y(n(92247)),f=y(n(77051)),s=y(n(5628)),d=y(n(25789)),p=y(n(33126)),m=y(n(13249)),v=y(n(18567)),g=y(n(11182)),h=y(n(69790)),b=y(n(3701));function y(e){return e&&e.__esModule?e:{default:e}}var w={secondaryLabel:"The"},O={},x={nodes:{icon:r.default.createElement(b.default,{svg:m.default,color:"textLite",size:"16px"}),padding:[0]},instances:{icon:r.default.createElement(b.default,{svg:v.default,color:"textLite",size:"16px"}),padding:[0]},dimensions:{icon:r.default.createElement(b.default,{svg:g.default,color:"textLite",size:"16px"}),padding:[0]},labels:{icon:r.default.createElement(b.default,{svg:h.default,color:"textLite",size:"16px"}),padding:[0]}},E=function(e){var t=e.plain,n=(0,o.useIsHeatmap)();return t?r.default.createElement(r.default.Fragment,null,r.default.createElement(l.default,{labelProps:x.nodes}),r.default.createElement(u.default,{labelProps:x.instances}),r.default.createElement(i.default,{labelProps:x.dimensions}),r.default.createElement(d.default,{labelProps:x.labels})):r.default.createElement(r.default.Fragment,null,!n&&r.default.createElement(c.default,null),!n&&r.default.createElement(f.default,{labelProps:{secondaryLabel:"Group by"}}),r.default.createElement(a.default,{labelProps:n?w:O}),r.default.createElement(l.default,null),r.default.createElement(u.default,null),r.default.createElement(i.default,null),r.default.createElement(d.default,null),r.default.createElement(s.default,null),r.default.createElement(p.default,null))};t.default=E},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(64969);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;}"]),c=l;t.default=c},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||"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)),a=n(54576),i=n(90833),u=(r=n(23410))&&r.__esModule?r:{default:r},l=n(33370),c=n(11627),f=["labelProps"];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)}function p(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v={heading:"Group by",body:"Slice and dice the source time-series metrics in multiple ways, to get different viewing angles on them. Multiple groupings can be selected at the same time to fine tune the segmentation."},g=[(0,c.labelColumn)("label"),(0,c.uniqueColumn)(),(0,c.metricsColumn)(),(0,c.contributionColumn)(),(0,c.anomalyRateColumn)(),(0,c.minColumn)(),(0,c.avgColumn)(),(0,c.maxColumn)()],h=function(e){var t,n=e.labelProps,r=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),c=(0,a.useChart)(),s=(0,a.useAttributeValue)("groupBy"),m=(0,a.useAttributeValue)("groupByLabel"),h=function(e){return(0,o.useMemo)((function(){return[{nm:"node",id:"node",key:"nodes"},{nm:e.intl("instance")+" "+("instance"===e.intl("instance")?"":"(instance)"),id:"instance",key:"instances"},{nm:"dimension",id:"dimension",key:"dimensions"}]}),[])}(c),b=(0,o.useCallback)((function(){var e=c.getAttributes(),t=h.map((function(t){var n=s.includes(t.id);return(0,l.getStats)(c,t,{key:"group-by",childrenKey:"label",props:{contribution:"-",anomalyRate:"-",alerts:"-",min:"-",avg:"-",max:"-",selected:n},childProps:{unique:"-",disabled:"hidden"},children:Object.values(e[t.key])})}));return[].concat(p(t),p(Object.keys(e.labels).map((function(t){return(0,l.getStats)(c,e.labels[t],{key:"group-by",childrenKey:"label",props:{getLabel:function(e){return"label: "+(e.nm||t||e.id)},isLabel:!0,selected:m.includes(t)},childProps:{unique:"-",disabled:"hidden"},children:e.labels[t].vl})}))))}),[s,m]);t=(0,o.useMemo)((function(){var e=s.filter((function(e){return"node"!==e})),t=e.map((function(e){return"label"===e?m.length>1?m.length+" labels":m[0]:e}));return e.length<s.length&&t.push("node"),t.join(", ")}),[s,m]);var y=(0,o.useMemo)((function(){return[].concat(p(s),p(m))}),[s,m]),w=(0,a.useAttribute)("groupBySortBy"),O=w[0],x=w[1],E=(0,a.useAttribute)("groupByExpanded"),j=E[0],k=E[1];return o.default.createElement(u.default,d({title:o.default.createElement(i.TextBig,{strong:!0,whiteSpace:"nowrap"},"Group by"),label:t,"data-track":c.track("group-by"),labelProps:n,onChange:c.updateGroupByAttribute,getOptions:b,secondaryLabel:"Group by",tooltipProps:v,value:y,columns:g,enableSubRowSelection:!1,sortBy:O,onSortByChange:x,expanded:j,onExpandedChange:k,emptyMessage:"Deselecting everything will use GROUP BY DIMENSION by default"},r))},b=(0,o.memo)(h);t.default=b},18947:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=l(n(44841)),a=l(n(40107)),i=l(n(34262)),u=["plain"];function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,i.default)((function(e){var t=e.plain,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);return r.default.createElement(o.default,n,r.default.createElement(a.default,{plain:t}))}));t.default=c},45230: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=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)),a=n(54576),i=n(60773),u=(r=n(23410))&&r.__esModule?r:{default:r},l=n(33370),c=n(11627),f=["labelProps"];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,c.labelColumn)(),(0,c.metricsColumn)(),(0,c.contributionColumn)(),(0,c.anomalyRateColumn)(),(0,c.alertsColumn)(),(0,c.minColumn)(),(0,c.avgColumn)(),(0,c.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,f),r=(0,a.useChart)(),c=(0,a.useAttributeValue)("selectedInstances"),s=(0,a.useAttributeValue)("instances"),m=(0,a.useAttributeValue)("instancesTotals"),v=(0,o.useCallback)((function(){return Object.keys(s).map((function(e){return(0,l.getStats)(r,s[e],{id:e,key:"instances",props:{selected:c.includes(e)}})}))}),[s,c]),g=(0,a.useAttribute)("instancesSortBy"),h=g[0],b=g[1],y=function(e){return(0,o.useMemo)((function(){return{heading:(0,i.uppercase)(e.intl("instance",2)),body:"View or filter the "+e.intl("instance",2)+" contributing time-series metrics to this chart. This menu also provides the contribution of each "+e.intl("instance")+" to the volume of the chart, and a break down of the anomaly rate of the queried data per "+e.intl("instance")+"."}}),[])}(r);return o.default.createElement(u.default,d({title:(0,i.uppercase)(r.intl("instance",2)),resourceName:"instance","data-track":r.track("instances"),labelProps:t,onChange:r.updateInstancesAttribute,getOptions:v,tooltipProps:y,value:c,columns:p,sortBy:h,onSortByChange:b,totals:m},n))},v=(0,o.memo)(m);t.default=v},88811:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Container=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=m(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=p(n(71893)),a=p(n(32855)),i=n(90833),u=p(n(3728)),l=p(n(3701)),c=n(81743),f=n(90509),s=["width","open"],d=["icon","secondaryLabel","tertiaryLabel","label","chevron","iconRotate","textProps"];function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(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}function b(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}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.default).attrs((function(e){var t=e.width,n=void 0===t?{max:100}:t,r=e.open,o=y(e,s);return h(h({cursor:"pointer",role:"button",padding:[1],round:!0,gap:1,width:n},r&&{background:"borderSecondary"}),o)})).withConfig({displayName:"label__Container",componentId:"sc-1lmmfid-0"})(["&:hover{background:",";}"],(0,f.getColor)("borderSecondary"));t.Container=w;var O=(0,o.default)(i.TextSmall).attrs({whiteSpace:"nowrap",truncate:!0}).withConfig({displayName:"label__StyledLabel",componentId:"sc-1lmmfid-1"})(["flex:1;"]),x=(0,r.forwardRef)((function(e,t){var n=e.icon,o=e.secondaryLabel,a=e.tertiaryLabel,c=e.label,f=e.chevron,s=void 0===f||f,p=e.iconRotate,m=e.textProps,g=y(e,d);return n?r.default.createElement(w,v({ref:t},g),n):r.default.createElement(w,v({ref:t},g),o&&r.default.createElement(i.TextSmall,{color:"textLite",whiteSpace:"nowrap",truncate:!0},o),r.default.createElement(O,m,c),a&&r.default.createElement(i.TextSmall,{color:"textLite",whiteSpace:"nowrap",truncate:!0},a),s&&r.default.createElement(l.default,{svg:u.default,size:"16px",color:"selected",rotate:p}))})),E=(0,c.withTooltip)(x,{Content:function(e){var t=e.header,n=e.body;return r.default.createElement(a.default,v({column:!0,gap:1},c.tooltipStyleProps),r.default.createElement(i.TextSmall,{color:"bright",strong:!0},t),n&&r.default.createElement(i.TextSmall,{color:"bright"},n))},align:"top"});t.default=E},25789: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:"Labels",body:"View or filter the contributing time-series labels to this chart. This menu also presents the contribution of each label on the chart, and a break down of the anomaly rate of the data per label."},p=[(0,l.labelColumn)("value"),(0,l.uniqueColumn)(),(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)("selectedLabels"),f=(0,a.useAttributeValue)("labels"),m=(0,a.useAttributeValue)("labelsTotals"),v=(0,o.useCallback)((function(){return Object.keys(f).map((function(e){return(0,u.getStats)(r,f[e],{key:"labels",childrenKey:"values",props:{selected:l.includes(e)},childProps:{unique:"-",parentId:e,getIsSelected:function(t){return l.includes(e+":"+t.id)},getValue:function(t){return e+":"+t.id}},children:f[e].vl})}))}),[f,l]),g=(0,a.useAttribute)("labelsSortBy"),h=g[0],b=g[1],y=(0,a.useAttribute)("labelsExpanded"),w=y[0],O=y[1],x=(0,o.useCallback)((function(e){return e.filter((function(e){return!!e.parentId}))}),[]);return o.default.createElement(i.default,s({title:"Labels",resourceName:"label","data-track":r.track("labels"),labelProps:t,onChange:r.updateLabelsAttribute,getOptions:v,tooltipProps:d,value:l,columns:p,enableSubRowSelection:!0,sortBy:h,onSortByChange:b,expanded:w,onExpandedChange:O,totals:m,filterSelectedCount:x},n))},v=(0,o.memo)(m);t.default=v},53926: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)}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m={heading:"Nodes",body:"View or filter the nodes contributing time-series metrics to this chart. This menu also provides the contribution of each node to the volume of the chart, and a break down of the anomaly rate of the queried data per node."},v=[(0,l.labelColumn)("instance"),(0,l.instancesColumn)(),(0,l.metricsColumn)(),(0,l.contributionColumn)(),(0,l.anomalyRateColumn)(),(0,l.alertsColumn)(),(0,l.minColumn)(),(0,l.avgColumn)(),(0,l.maxColumn)()],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,c),r=(0,a.useChart)(),l=(0,a.useAttributeValue)("selectedNodes"),f=(0,a.useAttributeValue)("nodes"),p=(0,a.useAttributeValue)("instances"),g=(0,a.useAttributeValue)("nodesTotals"),h=(0,a.useAttributeValue)("selectedInstances"),b=(0,o.useCallback)((function(){return Object.keys(f).map((function(e){var t=l.includes(e);return(0,u.getStats)(r,f[e],{id:e,key:"nodes",childrenKey:"instances",props:{selected:t},childProps:{isInstance:!0,getValue:function(t){return t.id+"@"+e},getIsSelected:function(t){return h.includes(t.id+"@"+e)}},children:Object.keys(p).reduce((function(t,n){return p[n].ni===f[e].ni?[].concat(d(t),[p[n]]):t}),[])})}))}),[f,l,h]),y=(0,a.useAttribute)("nodesSortBy"),w=y[0],O=y[1],x=(0,a.useAttribute)("nodesExpanded"),E=x[0],j=x[1],k=(0,o.useCallback)((function(e){return e.filter((function(e){return!e.isInstance}))}),[]);return o.default.createElement(i.default,s({title:"Nodes",resourceName:"node","data-track":r.track("nodes"),labelProps:t,onChange:r.updateNodesAttribute,getOptions:b,tooltipProps:m,value:l,columns:v,sortBy:w,onSortByChange:O,expanded:E,onExpandedChange:j,enableSubRowSelection:!1,totals:g,filterSelectedCount:k},n))},h=(0,o.memo)(g);t.default=h},33126:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(67294)),o=u(n(71893)),a=n(64969),i=n(41145);function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.default)(a.Button).attrs({flavour:"borderless",label:"Reset",width:"initial",height:"initial",padding:[0,1],title:"Reset Filters",small:!0,neutral:!0}).withConfig({displayName:"reset__StyledButton",componentId:"sc-kilpc3-0"})(["&&{height:initial;font-weight:normal;}"]),c=function(e){var t,n=e.attribute,o=void 0===n?"pristine":n,a=e.resetFunction,u=(0,i.useChart)(),c=(0,i.useAttributeValue)(o),f=0===(null==(t=Object.keys(c))?void 0:t.length);return r.default.createElement(l,{disabled:f,onClick:null!=a?a:u.resetPristine,"data-track":u.track("reset")})};t.default=c},63209:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(67294)),o=u(n(32855)),a=u(n(44841)),i=u(n(88811));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){return r.default.createElement(a.default,null,r.default.createElement(o.default,{gap:1},r.default.createElement(i.default,{width:"90px",background:"borderSecondary",secondaryLabel:"",label:""}),r.default.createElement(i.default,{width:"120px",background:"borderSecondary"}),r.default.createElement(i.default,{width:"100px",background:"borderSecondary"})))};t.default=l},5628: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(64969),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={percentile:"95","trimmed-mean":"5","trimmed-median":"5"},v={heading:"Aliases aggregation over time",body:"The percentile or percentage of the data you want to focus for the percentile or trimmed functions selected."},g={heading:"Time aggregation",body:"View or select the aggregation function applied on each time-series metric when the number of points in the database are more than the points your screen resolution provides to present this chart. This function is helpful when viewing long time-frames, like days, weeks or months, to quickly spot anomalies, spikes or dives."},h=o.default.createElement(a.TextMicro,{padding:[0,0,2],color:"textLite"},"When the screen resolution provides less points than the points available of the source time-series metrics, use the following aggregation function over time on each metric to reduce the number of points"),b=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)("groupingMethod").match(/[\d.]+|\D+/g)||[],c=a[0],s=void 0===c?"":c,p=a[1],b=void 0===p?"":p,y=(0,i.useAttributeValue)("viewUpdateEvery"),w=(0,i.useAttributeValue)("perTier"),O=function(e,t){void 0===t&&(t=[]);var n=t,r=n[0],a=n.slice(1);return(0,o.useMemo)((function(){return[{value:"min",label:"Minimum",description:"Reveal short dives that would otherwise be smoothed out.",short:"MIN()","data-track":e.track("time-aggregation-min")},{value:"max",label:"Maximum",description:"Reveal short spikes that would otherwise be smoothed out.",short:"MAX()","data-track":e.track("time-aggregation-max")},{value:"average",label:"Mean or Average",description:"Calculate the longer term average, as if data were collected at screen resolution.",short:"AVG()","data-track":e.track("time-aggregation-average")},{value:"sum",label:"Sum",description:"Provide the sum of the points that are aggregated over time. Use it when a sense of volume is needed over the aggregation period. It may not be sensible to use this function on all data types.",short:"SUM()","data-track":e.track("time-aggregation-sum")},Array.isArray(a)&&"undefined"!==typeof(null==r?void 0:r.points)&&{justDesc:!0,description:"The functions below lose accuracy when applied on tiered data, compared to high resolution data. Your current query is "+100*r.points/t.reduce((function(e,t){return e+t.points}),0)+"% high resolution and "+100*a.reduce((function(e,t){return e+t.points}),0)/t.reduce((function(e,t){return e+t.points}),0).toFixed(2)+"% tiered data of lower resolution."},{value:"percentile",label:"Percentile",description:"Provide the maximum value of a percentage of the aggregated points, having the smaller values. The default is p95, which provides the maximum value of the aggregated points after ignoring the top 5% of them.",short:"PERCENTILE()","data-track":e.track("time-aggregation-percentile95")},{value:"trimmed-mean",label:"Trimmed Average or Trimmed Mean",description:"Like average, but first remove a percentage of the extreme high and low values.",short:"TRIMMEAN()","data-track":e.track("time-aggregation-trimmed-mean5")},{value:"median",label:"Median",description:"The middle value of all points that would otherwise be smoothed out. This function works like average, but short extreme dives and spikes influence it significantly less than average.",short:"MEDIAN()","data-track":e.track("time-aggregation-median")},{value:"trimmed-median",label:"Trimmed Median",description:"Like median, but first remove a percentage of the extreme high and low values.",short:"TRIMMEDIAN()","data-track":e.track("time-aggregation-trimmed-median5")},{value:"stddev",label:"Standard deviation",description:"Reveal how far each point lies from the average. A high standard deviation means that values are generally far from the average, while a low standard deviation indicates that values are clustered close to the mean. The result is again in the original units of the data source metric.",short:"STDDEV()","data-track":e.track("time-aggregation-stddev")},{value:"cv",label:"Coefficient of variation or Relative standard deviation",description:"The ratio of the standard deviation to the average. Its use is the same as standard deviation, but expressed as a percentage related to the average. The units change to %.",short:"CV()","data-track":e.track("time-aggregation-cv")},{value:"incremental-sum",label:"Incremental Sum or Delta",description:"Provide the difference between the newest and the oldest values of the aggregated points. Each point will be positive if the trend grows and negative if the trend shrinks.",short:"DELTA()","data-track":e.track("time-aggregation-incremental-sum")},{value:"ses",label:"Single exponential smoothing",description:"Use the aggregated points to produce a forecast of the next value, and reveal the forecasted value. Use it when there are indications that the trend is more predictable using the more recent points than the older ones.",short:"SES()","data-track":e.track("time-aggregation-ses")},{value:"des",label:"Double exponential smoothing",description:"Like single exponential smoothing, but better suited when the aggregated points may have a strong trend.",short:"DES()","data-track":e.track("time-aggregation-des")}].filter(Boolean)}),[e,null==r?void 0:r.points])}(r,w),x=function(e){var t=e.chart,n=e.method;return(0,o.useMemo)((function(){return"percentile"===n?[{value:"25",label:"25th",short:"25th","data-track":t.track("time-aggregation-percentile25")},{value:"50",label:"50th",short:"50th","data-track":t.track("time-aggregation-percentile50")},{value:"75",label:"75th",short:"75th","data-track":t.track("time-aggregation-percentile75")},{value:"80",label:"80th",short:"80th","data-track":t.track("time-aggregation-percentile80")},{value:"90",label:"90th",short:"90th","data-track":t.track("time-aggregation-percentile90")},{value:"95",label:"95th",short:"95th","data-track":t.track("time-aggregation-percentile95")},{value:"97",label:"97th",short:"97th","data-track":t.track("time-aggregation-percentile97")},{value:"98",label:"98th",short:"98th","data-track":t.track("time-aggregation-percentile98")},{value:"99",label:"99th",short:"99th","data-track":t.track("time-aggregation-percentile99")}]:n.includes("trimmed")?[{value:"1",label:"1%",short:"1%","data-track":t.track("time-aggregation-"+n+"1")},{value:"2",label:"2%",short:"2%","data-track":t.track("time-aggregation-"+n+"2")},{value:"3",label:"3%",short:"3%","data-track":t.track("time-aggregation-"+n+"3")},{value:"5",label:"5%",short:"5%","data-track":t.track("time-aggregation-"+n+"5")},{value:"10",label:"10%",short:"10%","data-track":t.track("time-aggregation-"+n+"10")},{value:"15",label:"15%",short:"15%","data-track":t.track("time-aggregation-"+n+"15")},{value:"20",label:"20%",short:"20%","data-track":t.track("time-aggregation-"+n+"20")},{value:"25",label:"25%",short:"25%","data-track":t.track("time-aggregation-"+n+"25")}]:[]}),[t,n])}({chart:r,method:s}),E=(O.find((function(e){return e.value===s}))||O[0]).short,j=x.find((function(e){return e.value===b}))||x[0];return o.default.createElement(o.default.Fragment,null,b&&o.default.createElement(u.default,f({value:b,onChange:function(e){return r.updateTimeAggregationMethodAttribute({alias:e,method:s})},items:x,"data-track":r.track("groupingMethodAlias")},n,{labelProps:d({secondaryLabel:"each as",label:j.short,title:v.heading,tooltipProps:v},t)})),o.default.createElement(u.default,f({value:s,onChange:function(e){return r.updateTimeAggregationMethodAttribute({alias:m[e],method:e})},items:O,"data-track":r.track("groupingMethod"),dropTitle:h},n,{labelProps:d({secondaryLabel:!b&&"each as",tertiaryLabel:"every "+y+"s",label:E,title:g.heading,tooltipProps:g},t)})))},y=(0,o.memo)(b);t.default=y},59965:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=n(90833),a=c(n(13563)),i=c(n(45724)),u=c(n(3701)),l=n(54576);function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=e.selected,n=void 0===t?[]:t,c=e.qr,f=void 0===c?0:c,s=e.fl,d=void 0===s?0:s,p=e.sl,m=void 0===p?0:p,v=e.ex,g=void 0===v?0:v,h=e.teaser,b=void 0!==h&&h,y=e.resourceName,w=m+g,O=n.length&&n.length<f?n.length:f,x=d>0||b&&f<(n.length||w),E=(b?n.length||w:n.length)||m,j=(0,l.useChart)();return r.default.createElement(o.TextMicro,{color:"textLite"},r.default.createElement(o.TextMicro,{color:b?"text":"primary"},O),b?" ":" queried",!b&&r.default.createElement(u.default,{margin:[-.5,1,-.5,0],width:"14px",height:"14px",color:"primary",svg:a.default}),!!d&&r.default.createElement(r.default.Fragment,null,b?r.default.createElement(o.TextMicro,{color:"errorLite"}," +"):"+ ",r.default.createElement(o.TextMicro,{color:"errorLite"},d),b?" ":"failed ",r.default.createElement(u.default,{margin:[-.5,1,-.5,0],width:"14px",height:"14px",color:"errorLite",svg:i.default})),x&&r.default.createElement(r.default.Fragment,null,"of ",r.default.createElement(o.TextMicro,{color:b?"textLite":"text"},E),b?" ":" selected"),!b&&f!==w&&r.default.createElement(r.default.Fragment,null,"out of ",r.default.createElement(o.TextMicro,null,w)," available"),y?j.intl(y,x?E:O):"")};t.default=f},33370:function(e,t){"use strict";t.__esModule=!0,t.getStats=void 0;var n=["getValue","getLabel","getIsSelected"];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 o(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){a(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}function a(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 i=function(e,t){return e&&(null==e?void 0:e[t])||0},u=function(e){return e?i(e,"qr")+i(e,"qr")/(i(e,"ex")+i(e,"sl")):"-"},l=function(e){return e?3*i(e,"cr")+2*i(e,"wr")+i(e,"cl"):"-"};t.getStats=function e(t,r,a){var c=void 0===a?{}:a,f=c.id,s=c.key,d=c.childrenKey,p=c.children,m=void 0===p?[]:p,v=c.childProps,g=c.props,h=g.getValue,b=g.getLabel,y=g.getIsSelected,w=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}(g,n);return o(o({label:(null==b?void 0:b(r))||r.nm||f||r.id,value:(null==h?void 0:h(r))||f||r.id,"data-track":t.track(s+"-"+(f||r.id||r.nm)),unique:m.length,instances:u(r.is),metrics:u(r.ds),contribution:i(r.sts,"con"),anomalyRate:i(r.sts,"arp"),min:i(r.sts,"min"),avg:i(r.sts,"avg"),max:i(r.sts,"max"),alerts:l(r.al),info:r,selected:(null==y?void 0:y(r))||!1},w),{},{children:m.map((function(n){return e(t,n,{key:s+"-"+d,props:v})}))})}},34262:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=i(n(67294)),o=n(54576),a=i(n(63209));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t){return(0,o.useInitialLoading)()?r.default.createElement(a.default,t):r.default.createElement(e,t)}}},16374:function(e,t,n){"use strict";t.ZP=void 0;var r=g(n(67294)),o=g(n(71893)),a=n(64969),i=m(n(58607)),u=n(54576),l=n(90509),c=m(n(70486)),f=n(86954),s=m(n(3640)),d=["empty","index","uiName"],p=["uiName"];function m(e){return e&&e.__esModule?e:{default:e}}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,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 b(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}function y(){return y=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},y.apply(this,arguments)}function w(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 O=(0,o.default)(a.Text).withConfig({displayName:"gauge__Label",componentId:"sc-1o49axm-0"})(["line-height:1;font-size:",";flex:",";",";"],(function(e){return e.fontSize}),(function(e){var t=e.flex;return void 0===t?0:t}),(function(e){return e.isFetching&&s.default})),x=(0,o.default)(O).withConfig({displayName:"gauge__StrokeLabel",componentId:"sc-1o49axm-1"})(["text-shadow:0.02em 0 ",",0 0.02em ",",-0.02em 0 ",",0 -0.02em ",";"],(0,l.getColor)("border"),(0,l.getColor)("border"),(0,l.getColor)("border"),(0,l.getColor)("border")),E=function(){var e=(0,u.useLatestConvertedValue)("selected");return r.default.createElement(x,{flex:"2",color:"main",fontSize:"2em",strong:!0},e)};var j=function(){var e=(0,u.useUnitSign)();return r.default.createElement(O,{color:"textLite",fontSize:"1em"},e)};var k=function(e){var t=e.empty,n=e.index,o=e.uiName,a=w(e,d),i=(0,u.useChart)(),l=i.getUI(o).getMinMax();return r.default.createElement(O,y({color:"textLite",fontSize:"1.3em"},a),t?"-":i.getConvertedValue(l[n]))};var P=(0,o.default)(a.Flex).attrs({alignItems:"center",justifyContent:"between",flex:!0}).withConfig({displayName:"gauge__BoundsContainer",componentId:"sc-1o49axm-2"})([""]);var S=function(e){var t=e.uiName;return r.default.createElement(P,null,r.default.createElement(k,{index:0,uiName:t}),r.default.createElement(k,{index:1,uiName:t}))};var C=(0,o.default)(a.Flex).attrs({position:"absolute",column:!0,alignContent:"center",justifyContent:"center"}).withConfig({displayName:"gauge__StatsContainer",componentId:"sc-1o49axm-3"})(["inset:",";text-align:center;font-size:",";"],(function(e){return e.inset}),(function(e){return e.fontSize}));var _=function(e){var t=e.uiName,n=(0,u.useOnResize)(t),o=n.width,a=n.height,i=o<a?o:a;return r.default.createElement(r.default.Fragment,null,r.default.createElement(C,{fontSize:i/15+"px",inset:"50% 15% 0%"},r.default.createElement(j,null)),r.default.createElement(C,{fontSize:i/15+"px",inset:"35% 15% 0%"},r.default.createElement(E,null)),r.default.createElement(C,{fontSize:i/15+"px",inset:"80% "+(100-.8*i*100/o)/2+"% 0%"},r.default.createElement(S,{uiName:t})))};var M=(0,o.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),T=(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?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(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:"gauge__Skeleton",componentId:"sc-1o49axm-4"})(["animation:"," 1.6s ease-in infinite;"],M);var D=(0,r.forwardRef)((function(e,t){var n=e.uiName,o=w(e,p),a=(0,u.useAttributeValue)("loaded");return r.default.createElement(f.ChartWrapper,{alignItems:"center",justifyContent:"center",column:!0,ref:t,gap:0},a?r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,y({uiName:n,position:"relative",justifyContent:"center",alignItems:"center"},o),r.default.createElement("canvas",null)),r.default.createElement(_,{uiName:n})):r.default.createElement(T,null))}));var A=(0,c.default)(D,{tile:!0});t.ZP=A},14567:function(e,t,n){"use strict";t.__esModule=!0,t.makeGetColor=t.getWidth=t.default=void 0;var r,o=n(69032),a=n(63840),i=n(51834),u=n(31859),l=(r=n(61406))&&r.__esModule?r:{default:r};function c(){c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(_){l=function(e,t,n){return e[t]=n}}function f(e,t,n,o){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),u=new P(o||[]);return r(i,"_invoke",{value:x(e,n,u)}),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=f;var d={};function p(){}function m(){}function v(){}var g={};l(g,a,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(S([])));b&&b!==t&&n.call(b,a)&&(g=b);var y=v.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(r,a,i,u){var l=s(e[r],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,i,u)}),(function(e){o("throw",e,i,u)})):t.resolve(f).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,u)}))}u(l.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return C()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=E(i,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return m.prototype=v,r(y,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new O(f(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(y),l(y,u,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}t.getWidth=function(e,t){var n=void 0===t?{}:t,r=n.aspectRatio,o=n.cellSize,a=(0,u.getRows)(e,r),i=(0,u.getColumns)(a,r);return(0,u.getFullWidth)(i,o)};var f=function(e,t){var n=void 0===t?{}:t,r=n.aspectRatio,o=n.cellSize,a=n.padding,i=(0,u.getRows)(e,r),l=(0,u.getColumns)(i,r);return{width:(0,u.getFullWidth)(l,o),height:(0,u.getFullHeight)(i,o,a),columns:Math.ceil(l)}},s=function(e,t,n){return(0,o.scaleLinear)().domain([e,t]).range(n)};t.makeGetColor=s;t.default=function(e,t,n,r){var o=c().mark(M),d=n.onMouseenter,p=n.onMouseout;void 0===r&&(r={});var m=r,v=m.cellSize,g=m.cellPadding,h=m.cellStroke,b=void 0===h?2:h,y=m.lineWidth,w=void 0===y?1:y,O=m.colorRange,x=void 0===O?[e.getThemeAttribute("themeGroupBoxesMin"),e.getThemeAttribute("themeGroupBoxesMax")]:O,E=t.getContext("2d"),j=(0,i.createCanvas)(E.width,E.height),k=j.getContext("2d"),P=-1,S=function(){},C=function(){},_=function(){};function M(n,m){var h,y,O,M,T,D,A,I,N;return c().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:h=f(n,r),y=h.width,O=h.height,M=h.columns,j.width=parseInt(y),j.height=parseInt(O),k.clearRect(0,0,j.width,j.height),T=e.getAttribute("min"),D=e.getAttribute("max"),A=s(T,D,x),I=function(t,n,r){t.beginPath(),t.fillStyle=A(e.getRowDimensionValue(n,m));var o=(0,u.getXPosition)(M,r,v),a=(0,u.getYPosition)(M,r,v);w&&b&&t.clearRect(o-w,a-w,(0,u.getCellBoxSize)(v,g)+b,(0,u.getCellBoxSize)(v,g)+b),t.fillRect(o,a,(0,u.getCellBoxSize)(v,g),(0,u.getCellBoxSize)(v,g))},N=0;case 9:if(!(N<n.length)){o.next=17;break}if(I(k,n[N],N),!(0,a.unstable_shouldYield)()){o.next=14;break}return void(o.next=14);case 14:++N,o.next=9;break;case 17:S(),_(),(0,i.copyCanvas)(j,t),_=(0,l.default)(t,M,n.length,{onMouseenter:d,onMouseout:p},r),S=function(){return-1!==P&&I(E,n[P],P)},C=function(e){S(),P=e;var t=(0,u.getXPosition)(M,e,v),n=(0,u.getYPosition)(M,e,v);w&&b&&(E.lineWidth=w,E.strokeStyle="#fff",E.strokeRect(t+w,n+w,(0,u.getCellBoxSize)(v,g)-b,(0,u.getCellBoxSize)(v,g)-b))};case 23:case"end":return o.stop()}}),o)}return{clear:function(){S(),_(),E.clearRect(0,0,t.width,t.height),k.clearRect(0,0,j.width,j.height)},update:M,activateBox:function(e){return C(e)},deactivateBox:function(){return S()}}}},61406:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(31859);t.default=function(e,t,n,o,a){var i=o.onMouseenter,u=o.onMouseout,l=void 0===a?{}:a,c=l.cellSize,f=l.cellPadding,s=-1,d=function(n){var o=e.getBoundingClientRect(),a=(0,r.getXPosition)(t,n,c),i=(0,r.getYPosition)(t,n,c),u=o.left+a,l=o.top+i,s=(0,r.getCellBoxSize)(c,f);return{index:n,left:u,top:l,right:u+s,bottom:l+s,width:s,height:s,offsetX:a,offsetY:i}},p=function(){u(d(s)),s=-1},m=function(e){var o=e.offsetX,a=e.offsetY,u=(0,r.getOffsetPosition)(o,c),l=(0,r.getOffsetPosition)(a,c)*t+u;l!==s&&(-1!==s&&p(),l>=n||(i(d(l)),s=l))};return e.addEventListener("mousemove",m),e.addEventListener("mouseout",p),function(){e.removeEventListener("mousemove",m),e.removeEventListener("mouseout",p)}}},9549:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Container=void 0;var r=u(n(67294)),o=u(n(32855)),a=u(n(78122)),i=u(n(88578));function u(e){return e&&e.__esModule?e:{default: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)}var c=function(e){return r.default.createElement(o.default,l({border:{side:"top",color:"borderSecondary"},"data-testid":"chartLegend",column:!0},e))};t.Container=c;var f=function(){return r.default.createElement(c,null,r.default.createElement(a.default,null),r.default.createElement(o.default,{alignItems:"center",padding:[2]},r.default.createElement(i.default,null)))};t.default=f},88578:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=l(n(71893)),a=l(n(32855)),i=n(90833),u=n(54576);function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)(a.default).attrs({width:"320px",height:"12px",round:!0}).withConfig({displayName:"legend__LinearColorScaleBar",componentId:"sc-1iit0cq-0"})(["background:linear-gradient( to right,",","," );"],(function(e){return e.minColor}),(function(e){return e.maxColor})),f=function(){var e=(0,u.useChart)(),t=(0,u.useAttributeValue)("min"),n=(0,u.useAttributeValue)("max"),o=(0,u.useUnitSign)(),l=(0,u.useAttributeValue)("selectedContexts").join(", "),f=(0,u.useAttributeValue)("contextScope").join(", ");(0,u.useAttributeValue)("theme");var s=e.getThemeAttribute("themeGroupBoxesMin"),d=e.getThemeAttribute("themeGroupBoxesMax");return r.default.createElement(a.default,{"data-testid":"groupBox-legend",gap:4,alignItems:"center"},r.default.createElement(i.TextNano,{strong:!0},l&&"*"!==l?l:f),r.default.createElement(a.default,{gap:2,alignItems:"center"},r.default.createElement(i.TextNano,null,e.getConvertedValue(t)," ",o),r.default.createElement(c,{minColor:s,maxColor:d}),r.default.createElement(i.TextNano,null,e.getConvertedValue(n)," ",o)))};t.default=f},88515: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=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=n(54576),a=d(n(58802)),i=d(n(14567)),u=d(n(51653)),l=d(n(87951)),c=["uiName","dimensions","groupLabel"],f=["index"],s=["index"];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(){m=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(_){l=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var a=t&&t.prototype instanceof d?t:d,i=Object.create(a.prototype),u=new P(o||[]);return r(i,"_invoke",{value:x(e,n,u)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=c;var s={};function d(){}function p(){}function v(){}var g={};l(g,a,(function(){return this}));var h=Object.getPrototypeOf,b=h&&h(h(S([])));b&&b!==t&&n.call(b,a)&&(g=b);var y=v.prototype=d.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(r,a,i,u){var l=f(e[r],e,a);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,i,u)}),(function(e){o("throw",e,i,u)})):t.resolve(s).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,u)}))}u(l.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return C()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var u=E(i,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),s;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=v,r(y,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:p,configurable:!0}),p.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new O(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(y),l(y,u,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=S,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}function v(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 g=function(e){var t=e.uiName,n=e.dimensions,d=e.groupLabel,p=v(e,c),g=(0,o.useChart)(),h=(0,r.useRef)(),b=(0,r.useRef)(),y=(0,r.useRef)(),w=(0,r.useState)(null),O=w[0],x=w[1],E=(0,r.useRef)(-1),j=(0,r.useRef)();(0,r.useLayoutEffect)((function(){return y.current=(0,i.default)(g,b.current,{onMouseenter:function(e){var t=e.index,n=v(e,f);E.current=t,y.current.activateBox(t),j.current=setTimeout((function(){x({target:{getBoundingClientRect:function(){return n}},index:t})}),100)},onMouseout:function(){E.current=-1,clearTimeout(j.current),requestAnimationFrame((function(){x((function(e){return-1===E.current||E.current!==(null==e?void 0:e.index)?(y.current.deactivateBox(),E.current=-1,null):e}))}))},onClick:function(e){void 0===e&&(e={});var t=e,n=t.index,r=v(t,s);E.current=n,y.current.activateBox(n),j.current=setTimeout((function(){x({target:{getBoundingClientRect:function(){return r}},index:n})}),100)}},p),function(){return y.current.clear()}}),[]);var k=(0,u.default)(t),P=(0,a.default)(),S=P[1],C=P[2],_=(0,o.useAttributeValue)("theme");(0,r.useLayoutEffect)((function(){return S(m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O&&h.current&&h.current[O.index]!==n[O.index]&&(y.current.deactivateBox(),x(null),E.current=-1),h.current=n,e.delegateYield(y.current.update(n,k),"t0",3);case 3:case"end":return e.stop()}}),e)}))),function(){return C()}}),[k,S,C,_]);var M=(0,r.useMemo)((function(){if(O){var e=n[O.index].split(",");return e[e.length-1]}}),[n[null==O?void 0:O.index]]);return r.default.createElement(r.Fragment,null,r.default.createElement("canvas",{"data-testid":"groupBox",ref:b}),O&&r.default.createElement(l.default,{target:O.target,label:M,index:O.index,groupLabel:d,data:k,id:n[O.index]}))};t.default=g},98950:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.SkeletonIcon=void 0;var r=d(n(67294)),o=d(n(71893)),a=n(64969),i=n(54576),u=f(n(1496)),l=f(n(88515)),c=f(n(78927));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(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]}return r.default=e,n&&n.set(e,r),r}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 m(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 v=(0,o.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),g=(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?p(Object(n),!0).forEach((function(t){m(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}({background:"borderSecondary",flex:!0,height:50},e)})).withConfig({displayName:"groupBoxes__Skeleton",componentId:"sc-1m75n17-0"})(["animation:"," 1.6s ease-in infinite;"],v),h=function(){var e=(0,i.useLoadingColor)();return r.default.createElement(g,{background:e})};t.SkeletonIcon=h;var b=function e(t){var n=t.uiName,o=t.subTree,u=t.data,c=t.label,f=t.groupedBy,s=t.hasMore,d=Object.values(o),p=f[0],m=f.slice(1),v=(0,i.useColor)("themeBackground");return r.default.createElement(a.Flex,{"data-testid":"groupBoxWrapper",column:!0,alignItems:"start",gap:1,margin:[0,3,3,0],border:!!s&&{color:"borderSecondary",side:"all"},round:s,padding:s?[2]:[0],position:"relative"},r.default.createElement(a.Box,s&&{position:"absolute",top:"-12px",left:1,background:v,padding:[0,1]},r.default.createElement(a.TextMicro,{strong:s,"data-testid":"groupBoxWrapper-title",whiteSpace:"nowrap"},c,u.length>3&&r.default.createElement("span",null,"(",d.length,")"))),m.length?Object.keys(o).map((function(t){return r.default.createElement(e,{key:t,label:t,subTree:o[t],data:u,uiName:n,groupedBy:m,hasMore:m.length>1})})):r.default.createElement(l.default,{dimensions:d,groupLabel:c,uiName:n,groupKey:p}))},y=function(e){var t=e.uiName,n=(0,c.default)(t),o=n.data,l=n.tree,f=(0,i.useAttributeValue)("loaded"),s=(0,i.useAttributeValue)("showingInfo"),d=(0,i.useAttributeValue)("viewDimensions").grouped_by||[],p=d[0],m=d.slice(1);return f?r.default.createElement(a.Flex,{"data-testid":"groupBoxes",flexWrap:!0,flex:!0,position:"relative",height:{min:"150px"}},s?r.default.createElement(u.default,null):m.length?Object.keys(l).map((function(e){return r.default.createElement(b,{key:e,label:e,subTree:l[e],data:o,uiName:t,groupedBy:m,hasMore:m.length>1})})):r.default.createElement(b,{key:p,label:p,subTree:l,data:o,uiName:t,groupedBy:m})):r.default.createElement(h,null)},w=(0,r.memo)(y);t.default=w},20581: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=g(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=v(n(11557)),a=v(n(36657)),i=v(n(70486)),u=n(54576),l=v(n(58607)),c=v(n(79779)),f=v(n(18947)),s=v(n(36864)),d=v(n(98950)),p=v(n(9549)),m=["uiName"];function v(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(){return h=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},h.apply(this,arguments)}var b=(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,m),v=(0,u.useChart)(),g=(0,a.default)({onHover:v.focus,onBlur:v.blur,isOut:function(e){return!e||!e.closest("[data-toolbox]")&&!e.closest("[data-testid=chart]")}},[v]),b=(0,o.default)((function(e){g.current=e,t.current=e}))[1],y=(0,u.useAttributeValue)("showingInfo");return r.default.createElement(s.default,h({ref:b},i),r.default.createElement(c.default,null),r.default.createElement(f.default,null),r.default.createElement(l.default,{uiName:n,column:!0,gap:4,padding:[4,2]},r.default.createElement(d.default,{uiName:n})),!y&&r.default.createElement(p.default,null))}));var y=(0,i.default)(b);t.ZP=y},87951: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=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(73935)),a=c(n(82633)),i=c(n(86518)),u=c(n(91183)),l=c(n(66220));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={right:"left",bottom:"top"},d={right:"left",top:"bottom"},p={left:"right",bottom:"top"},m={left:"right",top:"bottom"},v=function(e){var t=e.target,n=e.label,c=e.index,f=e.groupLabel,v=e.data,g=e.id,h=(0,r.useRef)(),b=(0,r.useRef)(),y=(0,r.useState)(m),w=y[0],O=y[1];b.current=(0,i.default)(t,h,w,"width"),(0,r.useEffect)((function(){if(null!=t&&t.getBoundingClientRect){var e=t.getBoundingClientRect(),n=e.right,r=e.bottom,o=window.innerHeight,a=window.innerWidth,i=h.current.getBoundingClientRect(),u=i.width,l=i.height;O(function(e,t){return e&&t?s:e?d:t?p:m}(n+u>a,r+l>o))}}),[t]),(0,r.useEffect)((function(){b.current()}),[w]);var x=(0,u.default)();return o.default.createPortal(r.default.createElement(a.default,{"data-toolbox":!0,ref:h,width:{max:"100%"},column:!0,"data-testid":"drop",sx:{pointerEvents:"none"}},r.default.createElement(l.default,{"data-testid":"chartPopover",label:n,index:c,groupLabel:f,data:v,id:g})),x)};t.default=v},47201:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=i(n(67294)),o=i(n(71893)),a=n(64969);function i(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.default)(a.Flex).attrs({"data-testid":"chartPopover-label"}).withConfig({displayName:"label__GridRow",componentId:"sc-1j7ox7-0"})(["display:contents;"]),l=function(e){var t=e.label,n=e.value;return r.default.createElement(u,null,r.default.createElement(a.TextMicro,{padding:[1,0]},t),r.default.createElement(a.TextSmall,{strong:!0},(null==n?void 0:n.join(", "))||"-"))};t.default=l},66220: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=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(64969),i=n(54576),u=n(12460),l=c(n(47201));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=(0,o.default)(a.Flex).attrs((function(e){return{round:!0,border:{side:"all",color:"elementBackground"},width:{min:"196px",max:e.maxWidth?e.maxWidth+"px":"80vw"},background:"dropdown",column:!0,padding:[4],gap:1}})).withConfig({displayName:"labels__Container",componentId:"sc-5eymlk-0"})(["box-shadow:0px 8px 12px rgba(9,30,66,0.15),0px 0px 1px rgba(9,30,66,0.31);"]),d=(0,o.default)(u.BaseColorBar).attrs({position:"absolute",top:1,left:0,backgroundOpacity:.4,round:.5}).withConfig({displayName:"labels__ColorBackground",componentId:"sc-5eymlk-1"})([""]),p=o.default.div.withConfig({displayName:"labels__Grid",componentId:"sc-5eymlk-2"})(["display:grid;width:100%;grid-template-columns:auto 2fr;column-gap:8px;align-items:center;"]),m=function(e){var t=e.index,n=e.label,o=e.groupLabel,u=e.data,c=e.id,f=(0,i.useChart)(),m=f.getAttribute("viewDimensions"),v=(0,i.useAttributeValue)("min"),g=(0,i.useAttributeValue)("max"),h=.9*f.getUI().getChartWidth(),b=f.getRowDimensionValue(c,u),y=(0,i.useConverted)(b,{valueKey:"percent"});return r.default.createElement(s,{"data-testid":"chartPopover-labels",maxWidth:h,gap:2},r.default.createElement(a.Flex,{column:!0,gap:1},r.default.createElement(a.TextMicro,null,o),r.default.createElement(a.TextMicro,{strong:!0},n),r.default.createElement(a.Flex,{alignItems:"center",position:"relative"},r.default.createElement(d,{value:b,min:v,max:g,bg:f.getThemeAttribute("themeGroupBoxesMax"),height:"18px"}),r.default.createElement(a.TextMicro,{padding:[1,2],strong:!0},y,"-"!==y&&"%"))),!(null==m||!m.labels)&&r.default.createElement(p,{gap:1,column:!0},Object.keys(m.labels).map((function(e){var n;return r.default.createElement(l.default,{key:e,label:e,value:null==(n=m.labels[e])?void 0:n[t]})}))))},v=(0,r.memo)(m);t.default=v},78927:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(54576);t.default=function(e){var t=(0,r.useChart)(),n=(0,r.useForceUpdate)();return(0,r.useImmediateListener)((function(){return t.getUI(e).on("groupBoxChanged",n)}),[t]),t.getUI(e).getGroupBox()}},51653:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(54576);t.default=function(e){var t=(0,r.useChart)(),n=(0,r.useForceUpdate)();return(0,r.useImmediateListener)((function(){return t.getUI(e).on("groupBoxRowDataChanged",n)}),[t]),t.getUI(e).getGroupBoxRowData()}},31859:function(e,t){"use strict";t.__esModule=!0,t.getYPosition=t.getXPosition=t.getRows=t.getOffsetPosition=t.getFullWidth=t.getFullHeight=t.getColumns=t.getCellBoxSize=t.defaultPadding=t.defaultCellSize=t.defaultAspectRatio=void 0;var n=17;t.defaultCellSize=n;t.defaultPadding=1;var r=Math.round(16/9);t.defaultAspectRatio=r;t.getCellBoxSize=function(e,t){return void 0===e&&(e=n),void 0===t&&(t=1),e-t};t.getRows=function(e,t){return void 0===t&&(t=r),Math.sqrt(e.length/t)};t.getColumns=function(e,t){return void 0===t&&(t=r),e*t};t.getXPosition=function(e,t,r){return void 0===r&&(r=n),Math.floor(t%e)*r};t.getYPosition=function(e,t,r){return void 0===r&&(r=n),Math.floor(t/e)*r};t.getFullWidth=function(e,t){return void 0===t&&(t=n),Math.ceil(e)*t};t.getFullHeight=function(e,t,r){return void 0===t&&(t=n),void 0===r&&(r=n),Math.ceil(e)*t+r};t.getOffsetPosition=function(e,t){return void 0===t&&(t=n),Math.floor(e/t)}},79779:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Container=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(32855)),a=n(54576),i=c(n(2713)),u=c(n(21040)),l=n(96808);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)}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=function(e){return r.default.createElement(o.default,s({alignItems:"center",justifyContent:"start",padding:[1,2],gap:.5,border:{side:"bottom",color:"borderSecondary"},"data-testid":"chartHeader",height:"25px",background:"mainChartHeaderBg"},e))};t.Container=d;var p=function(){var e=(0,a.useAttributeValue)("leftHeaderElements");return r.default.createElement(d,null,e.map((function(e,t,n){return r.default.createElement(r.Fragment,{key:t},r.default.createElement(e,null),n[t+1]?r.default.createElement(u.default,null):null)})),r.default.createElement(l.Title,null),r.default.createElement(i.default,null))};t.default=p},18839:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(71893);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){i(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}function i(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 u={default:"default",selectVertical:"row-resize",select:"col-resize",highlight:"crosshair"},l=a(a({},u),{},{pan:"grabbing"}),c=(0,r.css)(["cursor:",";"," &:active{cursor:",";}"],(function(e){return u[e.navigation]||u.default}),(function(e){var t=l[e.navigation];return t?"\n &:active {\n cursor: "+t+";\n }\n ":""}),(function(e){return l[e.navigation]||u.default}));t.default=c},39434: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=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)),o=u(n(53087)),a=u(n(81743)),i=["text","maxLength","Component","noTooltip"];function u(e){return e&&e.__esModule?e:{default:e}}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)}var c=function(e){var t=e.text,n=e.maxLength,u=void 0===n?15:n,l=e.Component,c=void 0===l?"div":l,f=e.noTooltip,s=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),d=(0,r.useMemo)((function(){return t?(0,o.default)(t,u):null}),[t,u]);return f||d===t?r.default.createElement(c,s,d):r.default.createElement(a.default,{content:t},r.default.createElement(c,s,d))};t.default=c},3640:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(71893),o=(0,r.keyframes)(["from{opacity:0.4;}to{opacity:1;}"]),a=(0,r.css)(["animation:"," 1.6s ease-in infinite;"],o);t.default=a},58802:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(67294),o=n(63840);t.default=function(){var e=(0,r.useState)(!1),t=e[0],n=e[1],a=(0,r.useRef)(),i=(0,r.useRef)(),u=(0,r.useCallback)((function(){a.current&&((0,o.unstable_cancelCallback)(a.current),a.current=void 0,n(!1)),i.current&&(i.current(),i.current=void 0)}),[]),l=(0,r.useCallback)((function(e,t){void 0===t&&(t=o.unstable_IdlePriority),u();var r=e(),l=(0,o.unstable_runWithPriority)(t,(function e(){var t=r.next();if(i.current=t.value,!t.done)return e;n(!1)}));l&&((0,o.unstable_runWithPriority)(o.unstable_ImmediatePriority,(function(){return n(!0)})),a.current=(0,o.unstable_scheduleCallback)(t,l))}),[]);return(0,r.useEffect)((function(){return u}),[]),[t,l,u]}},70486:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=f(n(67294)),o=n(54576),a=f(n(2855)),i=f(n(92767)),u=f(n(91272)),l=f(n(40287)),c=f(n(86954));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){void 0===t&&(t={});var n=(0,i.default)((0,l.default)((0,a.default)((0,u.default)(e))));t.tile&&(n=(0,c.default)(n)),n=(0,o.withChartProvider)(n);return function(e){return r.default.createElement(n,e)}}},2855: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=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=n(54576);function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function i(){return i=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},i.apply(this,arguments)}t.default=function(e){var t=(0,r.forwardRef)((function(t,n){var a=(0,o.useChart)();return r.default.createElement(e,i({"data-track":a.track("container")},t,{ref:n}))}));return(0,r.memo)(t)}},91272: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=i(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 u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=n(54576),a=["isVisible"];function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}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){return(0,r.forwardRef)((function(t,n){var i=t.isVisible,l=void 0===i||i,c=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}(t,a),f=(0,o.useChart)();return(0,o.useImmediateListener)((function(){if(l&&(!c.uiName||"default"===c.uiName)){var e=window.requestAnimationFrame(f.activate);return function(){window.cancelAnimationFrame(e),f.deactivate()}}}),[l,f,c.uiName]),r.default.createElement(e,u({ref:n},c))}))}},92767: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=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)),o=u(n(32855)),a=u(n(56872)),i=n(54576);function u(e){return e&&e.__esModule?e:{default:e}}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)}t.default=function(e){return(0,r.forwardRef)((function(t,n){return(0,i.useAttributeValue)("fullscreen")?r.default.createElement(a.default,{full:!0},r.default.createElement(o.default,{background:"mainBackground",flex:!0,width:{max:"inherit"},padding:[4]},r.default.createElement(e,c({},t,{ref:n})))):r.default.createElement(e,c({},t,{ref:n}))}))}},40287: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(54576),a=n(24298),i=["height","flex"];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=function(t){var n=t.height,u=void 0===n?"100%":n,c=t.flex,f=void 0===c||c,s=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}(t,i),d=(0,o.useChart)(),p=(0,r.useRef)(),m=d.getAttribute("enabledHeightResize")&&d.getAttribute("height")||u;return(0,r.useLayoutEffect)((function(){var e=0;return(0,a.unregister)(d.on("resizeYMove",(function(t){var n=e+t+4;if(!(n<185)){var r=n+"px";p.current.style.height=r,d.getUI().trigger("resize"),d.updateHeight(r)}})).on("resizeYStart",(function(){e=p.current.clientHeight})),d.onAttributeChange("expanded",(function(t){e=p.current.clientHeight,d.trigger("resizeYMove",t?d.getAttribute("expandedHeight"):-d.getAttribute("expandedHeight"))})))}),[d]),r.default.createElement(e,l({ref:p,height:m,flex:f},s))};return(0,r.memo)(t)}},86954:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Title=t.HeadWrapper=t.ChartWrapper=void 0;var r=b(n(67294)),o=b(n(71893)),a=n(54585),i=n(64969),u=b(n(88055)),l=b(n(3701)),c=b(n(34675)),f=b(n(36657)),s=n(54576),d=b(n(18947)),p=n(12460),m=b(n(81743)),v=["size"],g=["children","uiName"],h=["count"];function b(e){return e&&e.__esModule?e:{default:e}}function y(){return y=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},y.apply(this,arguments)}function w(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?w(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(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}function E(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 j=(0,o.default)(i.Text).withConfig({displayName:"withTile__Label",componentId:"sc-1oake2r-0"})(["line-height:1;font-size:",";"],(function(e){return e.fontSize})),k=(0,o.default)(i.Flex).attrs((function(e){var t=e.size,n=E(e,v);return O({background:"panelBg",round:!0,fontSize:parseInt(t/3,10),height:"100%",width:"100%"},n)})).withConfig({displayName:"withTile__ChartHeadWrapper",componentId:"sc-1oake2r-1"})(["font-size:","px;"],(function(e){return e.fontSize>12?12:e.fontSize<9?9:e.fontSize})),P=function(){var e=(0,s.useChart)(),t=(0,s.useTitle)();return r.default.createElement(j,{fontSize:"1em",textAlign:"center",color:"sectionDescription",width:"80%",onClick:function(t){t.preventDefault(),e.sdk.trigger("goToLink",e)},cursor:"pointer",padding:[2,0,0]},t)};t.Title=P;var S=function(e){var t,n=e.children,o=e.uiName,v=E(e,g),h=(0,s.useOnResize)().parentWidth,b=(0,s.useAttributeValue)("focused"),w=null==(t=(0,s.useDimensionIds)())?void 0:t[0],O=(0,a.useWindowSize)(o).width,x=parseInt((h||O)/30,10);x=x<20?20:x>50?50:x;var j=(0,s.useChart)(),S=(0,f.default)({onHover:j.focus,onBlur:j.blur,isOut:function(e){return!e||!e.closest("[data-toolbox]")&&!e.closest("[data-testid=chart]")}},[j]);return r.default.createElement(k,y({size:x},v,{ref:S}),r.default.createElement(i.Flex,{column:!0,width:"24px",padding:[2,1]},r.default.createElement(c.default,{plain:!0}),r.default.createElement(i.Collapsible,{open:b,column:!0},r.default.createElement(d.default,{column:!0,background:"elementBackground",border:"none",justifyContent:"start",plain:!0}))),r.default.createElement(i.Flex,{column:!0,alignItems:"center",justifyContent:"center",padding:[1,0,2],height:"100%",width:"100%",position:"relative",overflow:"hidden"},r.default.createElement(P,null),n),r.default.createElement(i.Flex,{column:!0,width:"24px",alignItems:"center",padding:[4,1],gap:2},"selected"===w&&r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Flex,{column:!0,height:"100%",width:"2px",background:"nodeBadgeBackground",justifyContent:"end"},r.default.createElement(p.ColorBar,{id:"selected",valueKey:"arp",width:"2px",styleDimension:"height",round:.5})),r.default.createElement(m.default,{content:"Anomaly rate for this metric"},r.default.createElement(l.default,{svg:u.default,color:"anomalyTextLite",size:"14px"})))))};t.HeadWrapper=S;var C=(0,o.default)(i.Flex).attrs((function(e){return O({column:!0,justifyContent:"center",alignContent:"center",gap:2,position:"relative",width:"100%",height:"100%",overflow:"hidden"},e)})).withConfig({displayName:"withTile__ChartWrapper",componentId:"sc-1oake2r-2"})([""]);t.ChartWrapper=C;t.default=function(e){return function(t){var n=t.count,o=E(t,h);return r.default.createElement(S,{count:n,uiName:o.uiName},r.default.createElement(e,o))}}},44473:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.ContentWrapper=t.Container=void 0;var r=b(n(67294)),o=b(n(71893)),a=g(n(32855)),i=n(54576),u=n(36657),l=g(n(58607)),c=g(n(98079)),f=g(n(44945)),s=g(n(13828)),d=g(n(35815)),p=n(29270),m=g(n(22810)),v=g(n(18839));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=h(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 y(){return y=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},y.apply(this,arguments)}var w={dygraph:(0,o.css)([""," ",""],m.default,v.default)},O=(0,o.default)(a.default).withConfig({displayName:"chartContentWrapper__StyledContainer",componentId:"sc-ngouqx-0"})(["",""],(function(e){var t=e.chartLibrary;return w[t]||""}));t.ContentWrapper=function(e){return r.default.createElement(a.default,y({position:"relative",column:!0,flex:!0,overflow:"hidden","data-testid":"contentWrapper"},e))};var x=(0,r.forwardRef)((function(e,t){var n=(0,i.useAttributeValue)("chartLibrary"),o=(0,i.useAttributeValue)("navigation");return r.default.createElement(O,y({ref:t,chartLibrary:n,position:"relative",flex:!0,"data-testid":"chartContentWrapper",height:"100%",overflow:"hidden",navigation:o},e))}));t.Container=x;var E=function(e){var t=e.uiName,n=(0,u.useHovered)({isOut:function(e){return!e||!e.closest("[data-toolbox]")}}),o=n[0],a=n[1],m=(0,i.useInitialLoading)(),v=(0,i.useEmpty)(),g=(0,i.useAttributeValue)("hasToolbox"),h=(0,i.useAttributeValue)("processing");return r.default.createElement(x,{ref:o},!m&&r.default.createElement(l.default,null),!m&&r.default.createElement(d.default,{uiName:t}),m&&r.default.createElement(s.default,null),g&&a&&!v&&r.default.createElement(f.default,null),h&&r.default.createElement(p.Processing,null),r.default.createElement(c.default,{uiName:t}))};t.default=E},38566:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=g(n(67294)),o=m(n(32855)),a=m(n(47817)),i=m(n(11307)),u=m(n(7775)),l=n(91970),c=n(90833),f=m(n(30871)),s=m(n(35211)),d=g(n(3701)),p=n(54576);function m(e){return e&&e.__esModule?e:{default:e}}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(){return h=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},h.apply(this,arguments)}var b={as:function(e){return r.default.createElement(d.default,h({svg:u.default},e))},size:"16px"},y=function(e){var t=e.item,n=t.value,o=t.label,a=e.value,u=e.onItemClick;return r.default.createElement(l.ItemContainer,{"data-testid":"chartDimensionFilter-"+n},r.default.createElement(i.default,{label:r.default.createElement(c.TextSmall,{"data-testid":"chartDimensionFilter-label"},o),checked:n===a,onChange:function(e){return u(e.target.value)},value:n,"data-testid":"chartDimensionFilter-input",name:"dimensionsSort",iconProps:b}))},w={default:s.default,nameAsc:f.default,nameDesc:s.default,valueAsc:f.default,valueDesc:s.default,anomalyAsc:f.default,anomalyDesc:s.default},O=function(e){var t=(0,p.useChart)(),n=(0,r.useState)(t.getAttribute("dimensionsSort")),i=n[0],u=n[1];(0,r.useEffect)((function(){return t.onAttributeChange("dimensionsSort",u)}),[t]);var l=function(e){return(0,r.useMemo)((function(){return[{value:"default",label:"Default","data-track":e.track("default")},{value:"nameAsc",label:"Sort by name A\u2192Z","data-track":e.track("nameAsc")},{value:"nameDesc",label:"Sort by name Z\u2192A","data-track":e.track("nameDesc")},{value:"valueAsc",label:"Sort by value Min\u2192Max","data-track":e.track("valueAsc")},{value:"valueDesc",label:"Sort by value Max\u2192Min","data-track":e.track("valueDesc")},{value:"anomalyAsc",label:"Sort by anomaly Min\u2192Max","data-track":e.track("anomalyAsc")},{value:"anomalyDesc",label:"Sort by anomaly Max\u2192Min","data-track":e.track("anomalyDesc")}]}),[e])}(t);return r.default.createElement(o.default,h({padding:[0,4,3],"data-testid":"chartDimensionSort"},e),r.default.createElement(a.default,{value:i,items:l,dropProps:{align:{bottom:"top",left:"left"},"data-toolbox":!0},dropdownProps:{width:"200px",padding:[2,0]},Item:y,onChange:function(e){return t.updateAttribute("dimensionsSort",e)}},r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:w[i],size:"16px"}),"data-testid":"chartDimensionSort-toggle",title:"Sort dimensions by name or value",small:!0})))};t.default=O},12460:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.ColorBar=t.Color=t.BaseColorBar=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=d(n(32855)),i=n(54576),u=n(93501),l=["bg"],c=["value","min","max","valueKey","bg","styleDimension"],f=["id","valueKey"],s=["id"];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}function h(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 b=(0,o.default)(a.default).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}({width:"4px",round:!0,"data-testid":"chartDimensions-color",flex:!1,background:e.bg},h(e,l))})).withConfig({displayName:"color__Color",componentId:"sc-1ooxdoy-0"})(["pointer-events:none;"]);t.Color=b;var y=function(e){var t=e.value,n=e.min,o=e.max,a=e.valueKey,i=e.bg,l=e.styleDimension,f=void 0===l?"width":l,s=h(e,c),d=(0,r.useRef)();(0,r.useLayoutEffect)((function(){if(d.current){requestAnimationFrame((function(){return d.current&&(d.current.style[f]=t?100*(Math.abs(t)-n)/(o-n)+"%":0)}))}}),[t,a,n,o]);var p=(0,u.useIsHeatmap)(),v=(0,u.useGetColor)(.4);return i?r.default.createElement(b,m({ref:d,width:{min:1},bg:i,sx:{background:p?v(t):void 0}},s)):null};t.BaseColorBar=y;t.ColorBar=function(e){var t=e.id,n=e.valueKey,o=h(e,f),a=(0,i.useChart)(),u="arp"===n?"anomalyTextLite":a.selectDimensionColor(t),l="arp"===n?0:a.getAttribute("min"),c="arp"===n?100:a.getAttribute("max"),s=Math.abs(l),d=Math.abs(c),p=c>0?l<0?0:l:d,v=(0,i.useLatestValue)(t,{valueKey:n})||0;return r.default.createElement(y,m({value:v,min:p,max:d>s?d:s,valueKey:n,bg:u},o))};var w=function(e){var t=e.id,n=h(e,s),o=(0,i.useChart)().selectDimensionColor(t);return o?r.default.createElement(b,m({bg:o},n)):null};t.default=w},43946:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Name=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(64969),i=n(54576),u=(r=n(39434))&&r.__esModule?r:{default:r},l=["children","maxLength"],c=["id"];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)}function d(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 p=(0,o.memo)((0,o.forwardRef)((function(e,t){var n=e.children,r=e.maxLength,i=void 0===r?32:r,c=d(e,l);return o.default.createElement(u.default,s({text:n,maxLength:i,Component:a.TextMicro,color:"textDescription",whiteSpace:"nowrap",ref:t,"data-testid":"chartDimensions-name"},c))})));t.Name=p;var m=function(e){var t=e.id,n=d(e,c),r=(0,i.useChart)().getDimensionName(t);return o.default.createElement(p,n,r)};t.default=m},9033:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Value=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(90833),a=n(54576),i=["visible"];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)}var c=function(e){return r.default.createElement(o.TextMicro,l({color:"textDescription",whiteSpace:"nowrap",truncate:!0,"data-testid":"chartDimensions-units"},e))};t.Value=c;var f=function(e){var t=e.visible,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),o=(0,a.useUnitSign)();return t?r.default.createElement(c,n,o):null},s=(0,r.memo)(f);t.default=s},58358:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Value=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(64969),a=n(54576),i=["id","visible","valueKey","period","objKey","Component"];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)}var c=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.TextMicro,l({color:"textDescription","data-testid":"chartDimensions-value"},e,{ref:t}))}));t.Value=c;var f=(0,r.forwardRef)((function(e,t){var n=e.id,o=e.visible,u=e.valueKey,f=e.period,s=void 0===f?"latest":f,d=e.objKey,p=e.Component,m=void 0===p?c:p,v=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),g=(0,a.useConvertedValue)(n,s,{valueKey:u,objKey:d,allowNull:!0});return o?r.default.createElement(m,l({},v,{ref:t}),g):null}));t.default=f},13589:function(e,t){"use strict";t.__esModule=!0,t.tabs=t.actions=void 0;t.actions={values:"values",drillDown:"drillDown",compare:"compare",correlate:"correlate"};t.tabs={window:"window",selectedArea:"selectedArea"}},25830:function(e,t,n){"use strict";t.__esModule=!0,t.valueColumn=t.minColumn=t.maxColumn=t.labelColumn=t.avgColumn=t.anomalyColumn=void 0;var r=g(n(67294)),o=n(64969),a=g(n(71893)),i=v(n(12460)),u=g(n(43946)),l=g(n(9033)),c=v(n(58358)),f=n(54576),s=g(n(88811)),d=n(19151),p=["children","fractionDigits"];function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 g(e){return e&&e.__esModule?e:{default:e}}function h(){return h=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},h.apply(this,arguments)}var b=(0,a.default)(i.ColorBar).attrs({position:"absolute",top:1,left:2,backgroundOpacity:.4,round:.5}).withConfig({displayName:"columns__ColorBackground",componentId:"sc-dglxe7-0"})([""]),y={ANOMALY_RATE:"arp",default:"value"},w={dimension:"dimensions",node:"nodes",instance:"instances",label:"labels",value:"values",default:"values"},O=[];t.labelColumn=function(e){return{id:"label",header:function(){return r.default.createElement(o.TextSmall,{strong:!0},"Name")},size:300,minSize:60,cell:function(t){var n=t.row,a=n.original,l=n.depth,c=void 0===l?0:l,p=n.getCanExpand,m=n.getToggleExpandedHandler,v=n.getIsExpanded,g=((0,f.useAttributeValue)("hoverX")||O)[1],h=d.rowFlavours[g]||d.rowFlavours.default,x=(0,f.useVisibleDimensionId)(a);(0,f.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(o.Flex,{justifyContent:"between",alignItems:"center",padding:[0,0,0,3*c],opacity:x?null:"weak"},r.default.createElement(o.Flex,{alignItems:"center",gap:1,position:"relative",width:"100%"},x&&r.default.createElement(b,{id:a,valueKey:y[h]||y.default,height:"18px"},r.default.createElement(i.default,{id:a})),r.default.createElement(u.default,{padding:[1,2],flex:!0,id:a})),p()&&r.default.createElement(s.default,{label:w[g.original.value]||w[e]||w.default,onClick:function(e){m()(e),setTimeout((function(){return e.target.scrollIntoView({behavior:"smooth",block:"nearest"})}))},iconRotate:v()?2:null,textProps:{fontSize:"10px",color:"textLite"}}))}}};var x=function(e){var t=e.children,n=e.fractionDigits,a=void 0===n?0:n,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,p),u=t.toString().split("."),l=u[0],f=u[1];return r.default.createElement(o.Flex,{alignItems:"center",justifyContent:"start"},r.default.createElement(c.Value,h({},i,{flex:!1,basis:3*1.6,textAlign:"right"}),l),"undefined"!==typeof f&&r.default.createElement(c.Value,i,"."),r.default.createElement(c.Value,h({as:o.Flex,flex:!1,width:1.6*a},i,{textAlign:"left"}),f))};t.valueColumn=function(){return{id:"value",header:r.default.createElement(o.TextMicro,null,"Value ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var t=e.row,n=t.original,o=(t.depth,t.getCanExpand,t.getToggleExpandedHandler,t.getIsExpanded,(0,f.useVisibleDimensionId)(n)),a=(0,f.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(c.default,{period:"latest",id:n,visible:o,Component:x,fractionDigits:a})},sortingFn:"basic"}};t.anomalyColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-arp":"arp",header:r.default.createElement(o.TextMicro,null,"AR %"),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"arp",Component:x,fractionDigits:2,color:"anomalyTextFocus"})},sortingFn:"basic"}};t.minColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-min":"min",header:r.default.createElement(o.TextMicro,null,"Min ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"min",Component:x,fractionDigits:2})},sortingFn:"basic"}};t.avgColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-avg":"avg",header:r.default.createElement(o.TextMicro,null,"Avg ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"avg",Component:x,fractionDigits:2})},sortingFn:"basic"}};t.maxColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-max":"max",header:r.default.createElement(o.TextMicro,null,"Max ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"max",Component:x,fractionDigits:2})},sortingFn:"basic"}}},45275: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(64969),i=n(60773),u=n(41145),l=(r=n(1981))&&r.__esModule?r:{default:r},c=n(25830);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(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=function(e,t,n){return{cellStyles:d(d(d({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:{verticalAlign:"middle"},bulkActionsStyles:{padding:[2,0]},searchContainerStyles:{width:"100%",padding:[0,2,0,2]},searchStyles:{inputContainerStyles:{height:"20px",border:{side:"all",size:"1px",color:"inputBg"},background:"inputBg",round:!0,padding:[1,2],_hover:{border:{side:"all",size:"1px",color:"borderSecondary"}}}}}},v=function(){var e=(0,u.useDimensionIds)(),t=function(e,t){void 0===t&&(t={});var n=(0,u.useAttributeValue)("hoverX");return(0,o.useMemo)((function(){var r=d({period:e},t),u=d(d({},r),{},{objKey:"dbDimensions",unitsKey:"dbUnits"});return[{id:"Dimensions",header:function(){return o.default.createElement(a.TextSmall,null,"Dimension (",n?"hovering":"latest"," value)")},columns:[(0,c.labelColumn)(),(0,c.valueColumn)()]},{id:"visible",header:function(){return o.default.createElement(a.TextSmall,null,(0,i.uppercase)(e)," points")},columns:[(0,c.minColumn)(r),(0,c.avgColumn)(r),(0,c.maxColumn)(r),(0,c.anomalyColumn)(r)]},{id:"aggregated",header:function(){return o.default.createElement(a.TextSmall,null,"Aggregated points")},columns:[(0,c.minColumn)(u),(0,c.avgColumn)(u),(0,c.maxColumn)(u),(0,c.anomalyColumn)(u)]}]}),[e,!!n])}((0,u.useAttributeValue)("weightsTab")),n=(0,u.useChart)();return(0,o.useMemo)((function(){return n.makeChartUI("custom","d3pie")}),[]),o.default.createElement(a.Flex,{gap:2},o.default.createElement(a.NetdataTable,{enableSorting:!0,dataColumns:t,data:e,meta:m,width:"100%"}),o.default.createElement(l.default,{chart:n,uiName:"custom"}))};t.default=v},41865:function(e,t,n){"use strict";t.__esModule=!0,t.valueColumn=t.minColumn=t.maxColumn=t.labelColumn=t.avgColumn=t.anomalyColumn=void 0;var r=g(n(67294)),o=n(64969),a=g(n(71893)),i=v(n(12460)),u=g(n(43946)),l=g(n(9033)),c=v(n(58358)),f=n(54576),s=g(n(88811)),d=n(19151),p=["children","fractionDigits"];function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 g(e){return e&&e.__esModule?e:{default:e}}function h(){return h=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},h.apply(this,arguments)}var b=(0,a.default)(i.ColorBar).attrs({position:"absolute",top:1,left:2,backgroundOpacity:.4,round:.5}).withConfig({displayName:"columns__ColorBackground",componentId:"sc-19w2dpa-0"})([""]),y={ANOMALY_RATE:"arp",default:"value"},w={dimension:"dimensions",node:"nodes",instance:"instances",label:"labels",value:"values",default:"values"},O=[];t.labelColumn=function(e){return{id:"label",header:function(){return r.default.createElement(o.TextSmall,{strong:!0},"Name")},size:300,minSize:60,cell:function(t){var n=t.row,a=n.original,l=n.depth,c=void 0===l?0:l,p=n.getCanExpand,m=n.getToggleExpandedHandler,v=n.getIsExpanded,g=((0,f.useAttributeValue)("hoverX")||O)[1],h=d.rowFlavours[g]||d.rowFlavours.default,x=(0,f.useVisibleDimensionId)(a);(0,f.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(o.Flex,{justifyContent:"between",alignItems:"center",padding:[0,0,0,3*c],opacity:x?null:"weak"},r.default.createElement(o.Flex,{alignItems:"center",gap:1,position:"relative",width:"100%"},x&&r.default.createElement(b,{id:a,valueKey:y[h]||y.default,height:"18px"},r.default.createElement(i.default,{id:a})),r.default.createElement(u.default,{padding:[1,2],flex:!0,id:a})),p()&&r.default.createElement(s.default,{label:w[g.original.value]||w[e]||w.default,onClick:function(e){m()(e),setTimeout((function(){return e.target.scrollIntoView({behavior:"smooth",block:"nearest"})}))},iconRotate:v()?2:null,textProps:{fontSize:"10px",color:"textLite"}}))}}};var x=function(e){var t=e.children,n=e.fractionDigits,a=void 0===n?0:n,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,p),u=t.toString().split("."),l=u[0],f=u[1];return r.default.createElement(o.Flex,{alignItems:"center",justifyContent:"start"},r.default.createElement(c.Value,h({},i,{flex:!1,basis:3*1.6,textAlign:"right"}),l),"undefined"!==typeof f&&r.default.createElement(c.Value,i,"."),r.default.createElement(c.Value,h({as:o.Flex,flex:!1,width:1.6*a},i,{textAlign:"left"}),f))};t.valueColumn=function(){return{id:"value",header:r.default.createElement(o.TextMicro,null,"Value ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var t=e.row,n=t.original,o=(t.depth,t.getCanExpand,t.getToggleExpandedHandler,t.getIsExpanded,(0,f.useVisibleDimensionId)(n)),a=(0,f.useChart)().getAttribute("unitsConversionFractionDigits");return r.default.createElement(c.default,{period:"latest",id:n,visible:o,Component:x,fractionDigits:a})},sortingFn:"basic"}};t.anomalyColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-arp":"arp",header:r.default.createElement(o.TextMicro,null,"AR %"),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"arp",Component:x,fractionDigits:2,color:"anomalyTextFocus"})},sortingFn:"basic"}};t.minColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-min":"min",header:r.default.createElement(o.TextMicro,null,"Min ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"min",Component:x,fractionDigits:2})},sortingFn:"basic"}};t.avgColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-avg":"avg",header:r.default.createElement(o.TextMicro,null,"Avg ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"avg",Component:x,fractionDigits:2})},sortingFn:"basic"}};t.maxColumn=function(e){var t=e.period,n=e.objKey;return{id:n?n+"-max":"max",header:r.default.createElement(o.TextMicro,null,"Max ",r.default.createElement(l.default,{visible:!0})),size:45,minSize:45,cell:function(e){var o=e.row,a=o.original,i=(o.depth,o.getCanExpand,o.getToggleExpandedHandler,o.getIsExpanded,(0,f.useVisibleDimensionId)(a));return r.default.createElement(c.default,{period:t,objKey:n,textAlign:"right",id:a,visible:i,valueKey:"max",Component:x,fractionDigits:2})},sortingFn:"basic"}}},65190: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=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)),o=n(64969),a=n(60773),i=n(41145),u=n(41865);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(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(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 d=function(e,t,n){return{cellStyles:f(f(f({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:{verticalAlign:"middle"},bulkActionsStyles:{padding:[2,0]},searchContainerStyles:{width:"100%",padding:[0,2,0,2]},searchStyles:{inputContainerStyles:{height:"20px",border:{side:"all",size:"1px",color:"inputBg"},background:"inputBg",round:!0,padding:[1,2],_hover:{border:{side:"all",size:"1px",color:"borderSecondary"}}}}}},p=function(){var e=(0,i.useDimensionIds)(),t=function(e,t){void 0===t&&(t={});var n=(0,i.useAttributeValue)("hoverX");return(0,r.useMemo)((function(){var i=f({period:e},t),l=f(f({},i),{},{objKey:"dbDimensions",unitsKey:"dbUnits"});return[{id:"Dimensions",header:function(){return r.default.createElement(o.TextSmall,null,"Dimension (",n?"hovering":"latest"," value)")},columns:[(0,u.labelColumn)(),(0,u.valueColumn)()]},{id:"visible",header:function(){return r.default.createElement(o.TextSmall,null,(0,a.uppercase)(e)," points")},columns:[(0,u.minColumn)(i),(0,u.avgColumn)(i),(0,u.maxColumn)(i),(0,u.anomalyColumn)(i)]},{id:"aggregated",header:function(){return r.default.createElement(o.TextSmall,null,"Aggregated points")},columns:[(0,u.minColumn)(l),(0,u.avgColumn)(l),(0,u.maxColumn)(l),(0,u.anomalyColumn)(l)]}]}),[e,!!n])}((0,i.useAttributeValue)("weightsTab"));return r.default.createElement(o.Flex,null,r.default.createElement(o.NetdataTable,{enableSorting:!0,dataColumns:t,data:e,meta:d,width:"100%"}))};t.default=p},30483:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=(l(n(71893)),n(64969)),a=n(54576),i=n(13589),u=["onClick"];function l(e){return e&&e.__esModule?e:{default: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)}var f=function(e){e.onClick;var t=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),n=(0,a.useChart)(),l=(0,a.useAttributeValue)("weightsAction"),f=(0,a.useAttributeValue)("weightsTab");return r.default.createElement(o.Flex,c({justifyContent:"between"},t),r.default.createElement(o.Flex,{gap:6},r.default.createElement(o.Flex,{gap:1},r.default.createElement(o.Button,{tiny:!0,neutral:i.actions.values!==l,icon:"line_chart",onClick:function(){return n.updateAttribute("weightsAction",i.actions.values)}}),r.default.createElement(o.Button,{tiny:!0,neutral:i.actions.drillDown!==l,icon:"weights_drill_down",onClick:function(){return n.updateAttribute("weightsAction",i.actions.drillDown)}}),r.default.createElement(o.Button,{tiny:!0,neutral:i.actions.compare!==l,icon:"weights_compare",onClick:function(){return n.updateAttribute("weightsAction",i.actions.compare)}}),r.default.createElement(o.Button,{tiny:!0,neutral:i.actions.correlate!==l,icon:"correlation_inv",onClick:function(){return n.updateAttribute("weightsAction",i.actions.correlate)}})),r.default.createElement(o.Flex,{gap:1},r.default.createElement(o.Button,{tiny:!0,neutral:i.tabs.window!==f,label:"Window",onClick:function(){return n.updateAttribute("weightsTab",i.tabs.window)}}),r.default.createElement(o.Button,{tiny:!0,neutral:i.tabs.selectedArea!==f,label:"Selected area",disabled:!0,onClick:function(){return n.updateAttribute("weightsTab",i.tabs.selectedArea)}}))))};t.default=f},50657: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=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)),a=n(64969),i=n(54576),u=f(n(30483)),l=f(n(45275)),c=(f(n(65190)),n(13589));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)}var d=((r={})[c.actions.values]=l.default,r[c.actions.drillDown]=l.default,r[c.actions.compare]=l.default,r[c.actions.correlate]=l.default,r),p=function(){var e=(0,i.useAttributeValue)("expandedHeight"),t=(0,i.useAttributeValue)("weightsAction"),n=(0,o.useMemo)((function(){return d[t]||d.values}),[t]);return o.default.createElement(a.Flex,{height:e+"px",column:!0,gap:2,padding:[4]},o.default.createElement(u.default,null),o.default.createElement(n,null))};t.default=p},58768:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=c(n(67294)),o=c(n(71893)),a=n(64969),i=c(n(51289)),u=n(54576),l=c(n(3701));function c(e){return e&&e.__esModule?e:{default:e}}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,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 d=(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?f(Object(n),!0).forEach((function(t){s(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}({"data-testid":"chartExpander",alignItems:"center",justifyContent:"center",gap:1},e)})).withConfig({displayName:"expander__Container",componentId:"sc-19kn93v-0"})(["&:hover > *{color:",";fill:",";}"],(0,a.getColor)("text"),(0,a.getColor)("text")),p=function(){var e=(0,u.useChart)(),t=(0,u.useAttributeValue)("expanded");return r.default.createElement(d,{cursor:"pointer",onClick:function(){return e.updateAttribute("expanded",!t)},alignSelf:"center"},r.default.createElement(l.default,{svg:i.default,color:"textLite",width:"7.5px",height:"5px",rotate:t?2:0}),r.default.createElement(a.TextSmall,{color:"textLite"},t?"Collapse":"Expand"),r.default.createElement(l.default,{svg:i.default,color:"textLite",width:"7.5px",height:"5px",rotate:t?2:0}))};t.default=p},13289:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Container=void 0;var r=m(n(67294)),o=n(64969),a=m(n(817)),i=m(n(39757)),u=m(n(38566)),l=m(n(51081)),c=n(41145),f=m(n(78122)),s=m(n(50657)),d=m(n(58768)),p=n(93501);function m(e){return e&&e.__esModule?e:{default:e}}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)}var g=function(e){return r.default.createElement(o.Flex,v({border:{side:"top",color:"borderSecondary"},"data-testid":"chartLegend",column:!0},e))};t.Container=g;var h=function(){return(0,c.useAttributeValue)("enabledHeightResize")?r.default.createElement(o.Box,{position:"absolute",right:0,bottom:"-4px"},r.default.createElement(l.default,null)):null},b=function(){var e=(0,c.useAttributeValue)("showingInfo"),t=(0,c.useAttributeValue)("expanded"),n=(0,c.useAttributeValue)("expandable"),l=(0,p.useIsHeatmap)();return r.default.createElement(g,null,r.default.createElement(f.default,null),!e&&r.default.createElement(r.default.Fragment,null,l&&r.default.createElement(i.default,null),r.default.createElement(o.Flex,{alignItems:"center"},r.default.createElement(u.default,null),r.default.createElement(a.default,null)),t&&r.default.createElement(s.default,null)),n?r.default.createElement(o.Flex,{flex:!0,position:"relative",alignItems:"center",justifyContent:"center",border:{side:"top",color:"borderSecondary"}},r.default.createElement(d.default,null),r.default.createElement(h,null)):r.default.createElement(h,null))};t.default=b},65855:function(e,t,n){"use strict";t.ZP=t.x1=void 0;var r=h(n(67294)),o=v(n(11557)),a=v(n(36657)),i=v(n(70486)),u=n(54576),l=v(n(79779)),c=v(n(1496)),f=h(n(44473)),s=v(n(18947)),d=v(n(36864)),p=v(n(13289)),m=["hasHeader","hasFooter","hasFilters","height","uiName"];function v(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(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 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)}var y=(0,r.forwardRef)((function(e,t){var n=e.hasHeader,i=void 0===n||n,v=e.hasFooter,g=void 0===v||v,h=e.hasFilters,y=void 0===h||h,w=e.height,O=e.uiName,x=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,m),E=(0,u.useChart)(),j=(0,u.useAttributeValue)("showingInfo"),k=(0,u.useAttributeValue)("sparkline"),P=(0,a.default)({onHover:E.focus,onBlur:E.blur,isOut:function(e){return!e||!e.closest("[data-toolbox]")&&!e.closest("[data-testid=chart]")}},[E]),S=(0,o.default)((function(e){P.current=e,t.current=e}))[1];return r.default.createElement(d.default,b({ref:S},k&&{border:!1},x,{height:w}),i&&r.default.createElement(l.default,null),y&&r.default.createElement(s.default,null),r.default.createElement(f.ContentWrapper,null,j?r.default.createElement(c.default,null):r.default.createElement(f.default,{uiName:O})),g&&r.default.createElement(p.default,null))}));t.x1=y;var w=(0,i.default)(y);t.ZP=w},78122:function(e,t,n){"use strict";t.__esModule=!0,t.getDateDiff=t.default=void 0;var r=u(n(67294)),o=u(n(32855)),a=n(54576),i=n(90833);function u(e){return e&&e.__esModule?e:{default: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)}function c(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(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 d=function(e){var t=e.timestamp,n=(0,a.useFormatTime)(t),o=(0,a.useFormatDate)(t);return r.default.createElement(i.TextNano,{color:"textDescription","data-testid":"chartIndicator-dateTime-latest-value"},o," \u2022 ",n)},p=function(){var e,t=(0,a.useChart)(),n=((0,a.useAttributeValue)("hoverX")||[])[0],u=(0,a.usePayload)().data;if(!u.length)return null;var l=null==(e=u[n?t.getClosestRow(n):u.length-1])?void 0:e[0];return r.default.createElement(o.default,{gap:1},r.default.createElement(i.TextNano,{color:"textLite"},n?"Hovering":"Latest",":"),!!l&&r.default.createElement(d,{timestamp:l}))},m=86400,v=3600,g=function(e,t){var n=o=t-e,r=Math.floor(n/m),o=n-r*m,a=Math.floor(o/v);o-=a*v;var i=Math.floor(o/60);return[{value:r,unit:"d",check:function(){return n>=m&&!!r}},{value:a,unit:"h",check:function(){return n>=v&&!!a}},{value:i,unit:"m",check:function(){return!!i}},{value:o-=60*i,unit:"s",check:function(){return n<v&&!!o}}].reduce((function(e,t){var n=function(e){var t,n=e.value,r=e.unit,o=e.check,a=e.hasPrev;if(null!=o&&o())return""+(a?(t=n)>9?t:"0"+t:n)+r}(f(f({},t),{},{hasPrev:!!e[e.length-1]}));return n&&e.push(n),e}),[])};t.getDateDiff=g;var h=function(e){var t=e.date,n=e.after,u=e.before,l=(0,a.useFormatTime)(1e3*n),c=(0,a.useFormatTime)(1e3*u),f=g(n,u);return r.default.createElement(o.default,{gap:1},r.default.createElement(i.TextNano,{color:"textDescription"},t," \u2022"),r.default.createElement(i.TextNano,{color:"textLite"},l," \u2192 ",c),r.default.createElement(i.TextNano,{color:"textDescription"},"\u2022 ",f))},b=function(e){var t=e.afterDate,n=e.beforeDate,u=e.after,l=e.before,c=(0,a.useFormatTime)(1e3*u),f=(0,a.useFormatTime)(1e3*l),s=g(u,l);return r.default.createElement(o.default,{gap:1},r.default.createElement(i.TextNano,{color:"textDescription"},t," \u2022"),r.default.createElement(i.TextNano,{color:"textLite"},c," \u2192"),r.default.createElement(i.TextNano,{color:"textDescription"},n," \u2022"),r.default.createElement(i.TextNano,{color:"textLite"},f),r.default.createElement(i.TextNano,{color:"textDescription"},"\u2022 ",s))},y=function(e){var t=e.after,n=e.before,o=(0,a.useFormatDate)(1e3*n),i=(0,a.useFormatDate)(1e3*t);return o===i?r.default.createElement(h,{date:i,after:t,before:n}):r.default.createElement(b,{afterDate:i,beforeDate:o,after:t,before:n})},w=function(e){var t,n=(0,a.useChart)(),u=(0,a.useAttributeValue)("overlays").highlight,c=null==u?void 0:u.range,f=null!=(t=null==u?void 0:u.moveX)?t:{},s=f.after,d=f.before;return r.default.createElement(o.default,l({padding:[1],gap:1,justifyContent:"between",flex:!0},e),c?r.default.createElement(o.default,{onClick:function(){d&&s&&n.moveX(s,d)},cursor:"pointer",gap:1,padding:[0,11,0]},r.default.createElement(i.TextNano,{color:"textLite"},"Highlight:"),r.default.createElement(y,{after:c[0],before:c[1]})):r.default.createElement("div",null),r.default.createElement(p,null))};t.default=w},3171:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.SkeletonDimension=t.EmptyDimension=void 0;var r,o=v(n(67294)),a=n(71893),i=n(64969),u=v(n(12460)),l=v(n(43946)),c=v(n(58358)),f=v(n(81743)),s=(r=n(9033))&&r.__esModule?r:{default:r},d=n(54576),p=n(93501);function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 g(){return g=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},g.apply(this,arguments)}var h=(0,o.forwardRef)((function(e,t){return o.default.createElement(i.Flex,g({ref:t,width:{min:22,max:50},flex:!1,gap:1,"data-testid":"chartLegendDimension"},e))}));t.SkeletonDimension=function(){var e=(0,a.useTheme)();return o.default.createElement(h,null,o.default.createElement(u.Color,{bg:(0,i.getColor)("placeholder")({theme:e})}),o.default.createElement(i.Flex,{flex:!0,gap:1,column:!0,overflow:"hidden","data-testid":"chartLegendDimension-details"},o.default.createElement(i.Flex,{height:"10px",width:"76px",background:"borderSecondary",round:!0}),o.default.createElement(i.Flex,{height:"10px",width:"34px",background:"borderSecondary",round:!0,"data-testid":"chartLegendDimension-valueContainer"})))};t.EmptyDimension=function(){var e=(0,a.useTheme)();return o.default.createElement(h,null,o.default.createElement(u.Color,{bg:(0,i.getColor)("placeholder")({theme:e})}),o.default.createElement(i.Flex,{flex:!0,gap:1,column:!0,overflow:"hidden","data-testid":"chartLegendDimension-details"},o.default.createElement(l.Name,null,"No data"),o.default.createElement(c.Value,null,"-")))};var b=function(e){var t=e.id,n=(0,d.useLatestValue)(t,{valueKey:"arp"});return o.default.createElement(i.ProgressBar,{height:.5,color:"anomalyText",width:Math.abs(n)+"%"})},y=function(e){return o.default.createElement(i.Flex,g({},f.tooltipStyleProps,e,{column:!0,gap:1}))},w=function(e){var t=e.id,n=e.name,r=(0,d.useUnits)(),a=(0,d.useLatestValue)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.TextSmall,{color:"bright",strong:!0,wordBreak:"break-word"},n),o.default.createElement(i.TextSmall,{color:"bright",whiteSpace:"nowrap"},a," ",r))},O=(0,o.forwardRef)((function(e,t){var n=e.id,r=(0,d.useVisibleDimensionId)(n),a=(0,d.useChart)(),m=a.getDimensionName(n),v=(0,p.useIsHeatmap)();return o.default.createElement(h,{ref:t,opacity:r?null:"weak",cursor:"pointer",onClick:function(e){var t=e.shiftKey||e.ctrlKey||e.metaKey;a.toggleDimensionId(n,{merge:t})},"data-track":a.track("dimension-"+m)},!v&&o.default.createElement(u.default,{id:n}),o.default.createElement(f.default,{Content:y,content:r?o.default.createElement(w,{id:n,name:m}):null},o.default.createElement(i.Flex,{flex:!0,column:!0,overflow:"hidden","data-testid":"chartLegendDimension-details"},o.default.createElement(l.default,{id:n,maxLength:32,noTooltip:!0}),o.default.createElement(b,{id:n}),o.default.createElement(i.Flex,{gap:1,alignItems:"end","data-testid":"chartLegendDimension-valueContainer",flex:!0},o.default.createElement(c.default,{id:n,strong:!0,visible:r,Component:i.TextBig}),o.default.createElement(s.default,{visible:r})))))}));t.default=O},39757:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=l(n(71893)),a=l(n(32855)),i=n(90833),u=n(54576);function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)(a.default).attrs({width:"320px",height:"12px",round:!0}).withConfig({displayName:"heatmapColors__LinearColorScaleBar",componentId:"sc-13fexd8-0"})(["background:linear-gradient( to right,rgb(62,73,137),rgb(49,104,142),rgb(38,130,142),rgb(31,158,137),rgb(53,183,121),rgb(110,206,88),rgb(181,222,43),rgb(253,231,37) );"]),f=function(){var e=(0,u.useChart)(),t=(0,u.useAttributeValue)("max"),n=(0,u.useUnitSign)();return(0,u.useAttributeValue)("theme"),r.default.createElement(a.default,{"data-testid":"heatmap-legend",gap:2,alignItems:"center",padding:[2,11]},r.default.createElement(i.TextNano,null,e.getConvertedValue(0)," ",n),r.default.createElement(c,null),r.default.createElement(i.TextNano,null,e.getConvertedValue(t)," ",n))};t.default=f},817:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=v(n(67294)),o=p(n(71893)),a=n(42189),i=p(n(32855)),u=p(n(67679)),l=p(n(36179)),c=p(n(84436)),f=n(54576),s=v(n(3171)),d=p(n(3701));function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 g(){return g=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},g.apply(this,arguments)}function h(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=(0,o.default)(i.default).attrs({gap:1,padding:[0,0,2],alignItems:"center",flex:!0,basis:"40px","data-testid":"chartLegend"}).withConfig({displayName:"legend__Container",componentId:"sc-czwham-0"})(["overflow-x:auto;overflow-x:overlay;height:45px;::-webkit-scrollbar{height:6px;}"]),w=Array.from(Array(5)),O=function(){return r.default.createElement(r.Fragment,null,w.map((function(e,t){return r.default.createElement(s.SkeletonDimension,{key:t})})))},x=(0,r.memo)((function(e){var t=e.setRef,n=(0,f.useDimensionIds)();return n?r.default.createElement(r.Fragment,null,n.map((function(e){return r.default.createElement(s.default,{ref:t,key:e,id:e})}))):null})),E=function(e){var t=(0,f.useDimensionIds)(),n=(0,f.useChart)(),o=(0,f.useInitialLoading)(),p=(0,f.useEmpty)(),m=(0,f.useAttributeValue)("active"),v=(0,r.useRef)(null),b=(0,r.useRef)([]),w=(0,c.default)(v,b,[],!0),E=w[0],j=w[1],k=w[2];(0,r.useEffect)((function(){v.current&&m&&v.current.scrollTo({left:n.getAttribute("legendScroll")})}),[v.current,m]),(0,r.useEffect)((function(){var e=function(){var e,t=((e=v.current)?{x:e.scrollLeft}:{x:0}).x;n.updateAttribute("legendScroll",t),k()};e();var t=(0,a.debounce)(300,e);if(t(),window.addEventListener("resize",t),v.current)return v.current.addEventListener("scroll",e),function(){window.removeEventListener("resize",t),v.current&&v.current.removeEventListener("scroll",e)}}),[v.current]);var P=(0,r.useCallback)((function(e){e&&(b.current.includes(e)||(b.current=[].concat(h(b.current),[e])),t.length<b.current.length&&(b.current=b.current.filter((function(t){return t.getAttribute("id")===e.getAttribute("id")}))))}),[t.length]);return r.default.createElement(r.default.Fragment,null,E&&r.default.createElement(i.default,{"data-testid":"filterTray-arrowLeft",cursor:"pointer",onClick:function(e){e.preventDefault();var t=v.current;t.scrollTo({left:t.scrollLeft-100,behavior:"smooth"})},padding:[2]},r.default.createElement(d.default,{svg:u.default,color:"key",size:"8px"})),r.default.createElement(y,g({ref:v},e,{"data-track":n.track("legend")}),!o&&!p&&r.default.createElement(x,{setRef:P}),o&&r.default.createElement(O,null),!o&&p&&r.default.createElement(s.EmptyDimension,null)),j&&r.default.createElement(i.default,{"data-testid":"filterTray-arrowRight",cursor:"pointer",onClick:function(e){e.preventDefault();var t=v.current;t.scrollTo({left:t.scrollLeft+100,behavior:"smooth"})},padding:[2]},r.default.createElement(d.default,{svg:l.default,color:"key",size:"8px"})))};t.default=E},13247:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=n(54576),a=l(n(213)),i=n(90833);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(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]}return r.default=e,n&&n.set(e,r),r}var c={critical:"error",clear:"success"},f=function(e){var t=e.id,n=(0,o.useAttributeValue)("overlays")[t],u=n.status,l=n.value,f=c[u]||u,s=(0,a.getColors)(f).color;return r.default.createElement(a.default,{type:f,noBorder:!0},r.default.createElement(i.TextSmall,{color:s},"Triggered value:"," ",r.default.createElement(i.TextSmall,{strong:!0,color:s},l)))},s=(0,r.memo)(f);t.default=s},55823:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=n(54576),a=l(n(213)),i=n(90833);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(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]}return r.default=e,n&&n.set(e,r),r}var c={critical:"error",clear:"success"},f=function(e){var t=e.id,n=(0,o.useAttributeValue)("overlays")[t],u=n.status,l=n.valueTriggered,f=c[u]||u,s=(0,a.getColors)(f).color;return r.default.createElement(a.default,{type:f,noBorder:!0},r.default.createElement(i.TextSmall,{color:s},"Triggered value:"," ",r.default.createElement(i.TextSmall,{strong:!0,color:s},l)))},s=(0,r.memo)(f);t.default=s},23708:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=f(n(67294)),o=f(n(71893)),a=n(90833),i=n(54576),u=f(n(39434)),l=f(n(81743)),c=["field","normalize"];function f(e){return e&&e.__esModule?e:{default: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=(0,o.default)(u.default).withConfig({displayName:"chartName__StyledShortener",componentId:"sc-q7d2de-0"})(["text-shadow:0 18px 28px rgba(9,30,66,0.15),0 0 1px rgba(9,30,66,0.31);pointer-events:none;"]),p=function(e){var t=e.field,n=e.normalize,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,c),u=(0,i.useAttributeValue)(t),f=(0,i.useChart)();return n&&(u=n(u,f.getAttributes())),u?r.default.createElement(l.default,{content:u},r.default.createElement(d,s({color:"key",text:u,Component:a.TextSmall},o))):null};t.default=p},59204:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.alignment=void 0;var r,o,a=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)),i=(r=n(71893))&&r.__esModule?r:{default:r},u=n(64969),l=n(54576),c=["id","align","right","fixed","children","uiName"];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={chartMiddle:"chartMiddle",elementMiddle:"elementMiddle",elementRight:"elementRight",elementLeft:"elementLeft",elementFull:"elementFull"};t.alignment=d;var p=((o={})[d.chartMiddle]=function(e){var t,n=e.from,r=e.chartWidth,o=e.element;return[60,Math.min(n-24,60+r/2+(null==(t=o.firstChild)?void 0:t.offsetWidth)/2)]},o[d.chartLeft]=function(e){var t,n=e.chartWidth;return[0,(null==(t=e.element.firstChild)?void 0:t.offsetWidth)-n]},o[d.elementMiddle]=function(e){var t,n=e.from;return[n,n+e.width/2+(null==(t=e.element.firstChild)?void 0:t.offsetWidth)/2]},o[d.elementRight]=function(e){var t=e.from;return[t,t+e.width]},o[d.elementLeft]=function(e){var t=e.from;return[t,t]},o),m=(0,i.default)(u.Flex).withConfig({displayName:"container__HorizontalContainer",componentId:"sc-n9fh2a-0"})(["position:absolute;",";",";",";",";",";",";overflow:hidden;"],(function(e){return e.noTransform?"":"transform: translateY(-50%)"}),(function(e){var t=e.top;return t&&"top: "+t+";"}),(function(e){var t=e.bottom;return t&&"bottom: "+t+";"}),(function(e){var t=e.left;return t&&"left: "+t+";"}),(function(e){var t=e.right;return t&&"right: "+t+";"}),(function(e){return e.noEvents&&"pointer-events: none;"})),v=function(e){var t=e.id,n=e.align,r=e.right,o=void 0===r?0:r,i=e.fixed,u=e.children,f=e.uiName,v=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),g=(0,a.useRef)(),h=(0,a.useState)(),b=h[0],y=h[1],w=(0,l.useChart)(),O=function(e){if(w&&w.getUI(f)&&e&&g.current){var t=function(e,t,n,r,o){void 0===e&&(e=d.elementMiddle);var a=n.from,i=n.width,u=t.getUI(o).getChartWidth();return(p[e]||p.elementMiddle)({from:a,width:i,chartWidth:u,element:r})}(n,w,e,g.current,f),r=t[1];g.current.style.right="calc(100% - "+(r+o)+"px)"}};return(0,a.useLayoutEffect)((function(){return!i&&w.getUI(f).on("overlayedAreaChanged:"+t,(function(e){O(e),y((function(t){return!!t!==!!e?e:t}))}))}),[]),(0,a.useLayoutEffect)((function(){return!i&&O(b)}),[b]),b||i?a.default.createElement(m,s({ref:g},v),u):null},g=(0,a.memo)(v);t.default=g},10253:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Period=void 0;var r=p(n(67294)),o=p(n(71893)),a=p(n(32855)),i=p(n(48196)),u=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(3701)),l=p(n(81743)),c=n(54576),f=n(78122),s=n(90833);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){return e&&e.__esModule?e:{default:e}}var m=(0,o.default)(u.Button).withConfig({displayName:"correlation__CorrelationButton",componentId:"sc-a0l0u6-0"})(["pointer-events:all;"]);t.Period=function(e){var t=e.id,n=(0,c.useAttributeValue)("overlays")[t].range,o=n[0],a=n[1],i=(0,f.getDateDiff)(o,a);return r.default.createElement(s.TextNano,{strong:!0},i)};var v=function(e){var t=e.id,n=(0,c.useAttributeValue)("overlays")[t].range,o=n[0],f=function(e){return e<15?"requires 15 secs minimum selection":""}(n[1]-o),s=(0,c.useChart)();return r.default.createElement(l.default,{content:f?"Metrics correlation: "+f:"Run metrics correlation"},r.default.createElement(a.default,null,r.default.createElement(m,{"data-track":s.track("metrics-correlation"),icon:r.default.createElement(u.default,{svg:i.default,size:"20px"}),onClick:function(){return s.sdk.trigger("correlation",s,n)},"data-testid":"highlight-correlations",disabled:!!f})))};t.default=v},9745:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Divider=void 0;var r=d(n(67294)),o=f(n(71893)),a=f(n(32855)),i=n(90833),u=n(90509),l=d(n(10253)),c=n(54576);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(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]}return r.default=e,n&&n.set(e,r),r}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)}var m=(0,o.default)(a.default).attrs({justifyContent:"center",alignItems:"center",gap:2,height:"40px",alignSelf:"center",round:!0,width:{min:"70px"},padding:[1,2],border:{side:"all",color:"borderSecondary"}}).withConfig({displayName:"highlight__StyledHighlight",componentId:"sc-e18ttp-0"})(["background-color:","80;"],(0,u.getColor)("mainBackground")),v=(0,o.default)(a.default).withConfig({displayName:"highlight__Divider",componentId:"sc-e18ttp-1"})(["background:",";height:16px;width:1px;"],(0,u.getColor)("borderSecondary"));t.Divider=v;var g=(0,r.memo)((function(e){return r.default.createElement(a.default,{column:!0,gap:[.5]},r.default.createElement(i.TextNano,{strong:!0,textTransform:"uppercase",color:"textLite"},"Range"),r.default.createElement(l.Period,e))})),h=function(e){var t=e.id,n=e.correlationProps,o=(0,c.useAttributeValue)("hasCorrelation");return(0,c.useAttributeValue)("focused")?r.default.createElement(m,null,r.default.createElement(g,{id:t}),o?r.default.createElement(r.default.Fragment,null,r.default.createElement(v,null),r.default.createElement(l.default,p({id:t},n))):null):null},b=(0,r.memo)(h);t.default=b},35815: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(67148))&&r.__esModule?r:{default:r},u=["type"];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)}var f=function(e){var t=e.uiName,n=(0,a.useAttributeValue)("overlays");return o.default.createElement(o.Fragment,null,Object.keys(n).map((function(e){var r=n[e],a=r.type,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}(r,u),f=i.default[a];return o.default.createElement(f,c({key:e,id:e,uiName:t},l))})))},s=(0,o.memo)(f);t.default=s},51399:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(67294)),o=l(n(71893)),a=n(64969),i=n(54576),u=["dimensionId","textProps"];function l(e){return e&&e.__esModule?e:{default: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)}var f=(0,o.default)(a.Text).withConfig({displayName:"latestValue__StrokeLabel",componentId:"sc-1x8pqx7-0"})(["text-shadow:0.02em 0 ",",0 0.02em ",",-0.02em 0 ",",0 -0.02em ",";"],(0,a.getColor)("borderSecondary"),(0,a.getColor)("borderSecondary"),(0,a.getColor)("borderSecondary"),(0,a.getColor)("borderSecondary")),s=(0,o.default)(a.Flex).withConfig({displayName:"latestValue__StyledFlex",componentId:"sc-1x8pqx7-1"})(["pointer-events:none;"]),d={color:"text",whiteSpace:"nowrap"},p=function(e){var t=e.dimensionId,n=e.textProps,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,u),a=(0,i.useUnitSign)(),l=(0,i.useLatestConvertedValue)(t);return l?r.default.createElement(s,c({column:!0},o),r.default.createElement(f,c({fontSize:"2.1em",lineHeight:"1.1em",strong:!0},d,n),l),r.default.createElement(f,c({fontSize:"1.1em",strong:!0},d,{color:"border"},n),a)):r.default.createElement(f,c({fontSize:"2.5em",strong:!0},d,n,o),"string"!==typeof l?"Loading...":"No data")};t.default=p},29270:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Processing=void 0;var r=c(n(67294)),o=c(n(71893)),a=c(n(32855)),i=n(90833),u=n(54576),l=["defaultValue","uiName"];function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,o.default)(a.default).attrs({column:!0,round:!0,border:{side:"all",color:"borderSecondary"},gap:1,padding:[1,2],flex:!1}).withConfig({displayName:"proceeded__ProceededContainer",componentId:"sc-ac5spo-0"})(["direction:initial;"]),s=function(e){var t=e.defaultValue,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,l),a=(0,u.useChart)().getUI(n).getChartWidth(),c=(0,u.useChartError)();return a<240?null:c&&t?r.default.createElement(f,o,r.default.createElement(i.Text,{textAlign:"center",textTransform:"firstLetter"},c||t)):null},d=(0,o.default)(a.default).withConfig({displayName:"proceeded__CenterContainer",componentId:"sc-ac5spo-1"})(["z-index:60000;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]);t.Processing=function(){return r.default.createElement(d,null,r.default.createElement(s,{defaultValue:"Processing"}))};var p=s;t.default=p},67148:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=w(n(67294)),o=w(n(71893)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=y(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(59204)),i=w(n(13247)),u=w(n(55823)),l=w(n(9745)),c=w(n(29270)),f=w(n(23708)),s=w(n(51399)),d=w(n(24018)),p=n(54576),m=["id"],v=["id"],g=["id"],h=["id","uiName"],b=["containerProps"];function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function w(e){return e&&e.__esModule?e:{default:e}}function O(){return O=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},O.apply(this,arguments)}function x(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 E=(0,o.default)(d.default).withConfig({displayName:"types__NoEventsContainer",componentId:"sc-19vz950-0"})(["pointer-events:none;"]),j={alarm:function(e){var t=e.id,n=x(e,m);return r.default.createElement(a.default,O({id:t,top:"20px",margin:[0,2,0,0],align:a.alignment.elementLeft},n),r.default.createElement(i.default,{id:t}))},alarmRange:function(e){var t=e.id,n=x(e,v);return r.default.createElement(a.default,O({id:t,top:"20px",margin:[0,2,0,0],align:a.alignment.elementLeft},n),r.default.createElement(u.default,{id:t}))},highlight:function(e){var t=e.id,n=x(e,g);return(0,p.useAttributeValue)("sparkline")?null:r.default.createElement(a.default,O({id:t,align:a.alignment.elementRight,bottom:"25px",right:100},n,{noEvents:!0}),r.default.createElement(l.default,{id:t}))},proceeded:function(e){var t=e.id,n=e.uiName,o=x(e,h);return r.default.createElement(a.default,O({id:t,top:"50%",align:a.alignment.chartMiddle,uiName:n},o),r.default.createElement(c.default,{id:t,uiName:n}))},name:function(e){var t=e.containerProps,n=x(e,b);return r.default.createElement(E,O({isAbsolute:!0,position:"top",margin:[2,0,0,0]},t),r.default.createElement(f.default,n))},latestValue:function(e){return r.default.createElement(E,{isAbsolute:!0,position:"center"},r.default.createElement(s.default,e))}};t.default=j},32931:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=h(n(67294)),o=h(n(71893)),a=n(64969),i=g(n(12460)),u=h(n(43946)),l=g(n(58358)),c=n(54576),f=n(35890),s=n(93501),d=n(19151),p=["children","fractionDigits"],m=["children","showFull"];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-adzl1v-0"})(["display:contents;"]),O=(0,o.default)(i.ColorBar).attrs({position:"absolute",top:1,left:0,backgroundOpacity:.4,round:.5}).withConfig({displayName:"dimension__ColorBackground",componentId:"sc-adzl1v-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"},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.6*o},i,{textAlign:"left"}),f))},j=function(e){var t=e.children,n=e.showFull,o=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(l.Value,b({},o,{color:t[e]}),n&&f.labels[e]||e))})))},k=function(e){var t=e.id,n=e.strong,o=e.chars,f=e.rowFlavour,p=(0,c.useVisibleDimensionId)(t),m=(0,c.useChart)().getAttribute("unitsConversionFractionDigits"),v=(0,s.useIsHeatmap)();return r.default.createElement(w,{opacity:p?null:"weak"},r.default.createElement(a.Flex,{alignItems:"center",gap:1,position:"relative"},r.default.createElement(O,{id:t,valueKey:x[f]||x.default,height:"18px"},!v&&r.default.createElement(i.default,{id:t})),r.default.createElement(u.default,{padding:[1,2],flex:!0,id:t,strong:n,maxLength:o,noTooltip:!0,color:n?"textFocus":"text"})),r.default.createElement(l.default,{id:t,strong:n,visible:p,Component:E,fractionDigits:m,color:f===d.rowFlavours.default?n?"textFocus":"text":"textLite"}),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"}),r.default.createElement(l.default,{textAlign:"right",id:t,strong:n,visible:p,valueKey:"pa",Component:j,color:f===d.rowFlavours.ANNOTATIONS?n?"textFocus":"text":"textLite",showFull:f===d.rowFlavours.ANNOTATIONS}))};t.default=k},19151: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=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(64969),i=n(54576),u=n(90833),l=d(n(9033)),c=d(n(8051)),f=d(n(60616)),s=d(n(32931));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)}var m=(0,o.default)(a.Flex).attrs({round:!0,border:{side:"all",color:"elementBackground"},width:{min:"196px",max:"80vw"},background:"dropdown",column:!0,padding:[4],gap:1}).withConfig({displayName:"dimensions__Container",componentId:"sc-172on4u-0"})(["box-shadow:0px 8px 12px rgba(9,30,66,0.15),0px 0px 1px rgba(9,30,66,0.31);"]),v=o.default.div.withConfig({displayName:"dimensions__Grid",componentId:"sc-172on4u-1"})(["display:grid;width:100%;grid-template-columns:minmax(150px,max-content) 60px 60px minmax(80px,auto);align-items:center;"]),g=o.default.div.withConfig({displayName:"dimensions__GridHeader",componentId:"sc-172on4u-2"})(["display:contents;"]),h=[null,null],b=function(){var e=Math.floor((window.innerHeight-500)/15)||16;return e<5?5:10},y=function(){return b()/2},w={ANOMALY_RATE:"ANOMALY_RATE",ANNOTATIONS:"ANNOTATIONS",default:"VALUE"};t.rowFlavours=w;var O={ANOMALY_RATE:"anomalyDesc",ANNOTATIONS:"annotationsDesc",default:"valueDesc"},x=function(e){var t=e.uiName,n=(0,i.useChart)(),o=(0,i.useAttributeValue)("hoverX")||h,d=o[0],p=o[1],x=(0,r.useMemo)((function(){var e=n.getClosestRow(d),t=n.onHoverSortDimensions(e,O[p]||O.default)||[];n.getAttribute("selectedDimensions").length>0&&(t=t.filter((function(e){return n.isDimensionVisible(e)})));var r=t.findIndex((function(e){return e===p})),o=t.length,a=Math.floor(function(e,t){return e<b()||t<y()?0:t>e-y()?t-(y()+(e-t)):t-y()}(o,r)),i=Math.ceil(function(e,t){return e<b()?e:t<y()?t+y()+(y()-t):t>e-y()?e:t+y()}(o,r));return[a,i,o,t.slice(a,i)]}),[n,p,d]),E=x[0],j=x[1],k=x[2],P=x[3],S=(0,i.useOnResize)(t),C=S.parentWidth,_=S.width,M=.9*(C>_?C:_),T=w[p]||w.default;return r.default.createElement(m,{"data-testid":"chartPopover-dimensions",gap:2},r.default.createElement(a.Flex,{column:!0,gap:1},d&&r.default.createElement(f.default,{value:d}),r.default.createElement(c.default,null)),r.default.createElement(a.Flex,{flex:!1,height:3},E>0&&r.default.createElement(u.TextNano,{color:"textLite"},"\u2191",E," more values")),r.default.createElement(v,{gap:1,column:!0},r.default.createElement(g,null,r.default.createElement(u.TextMicro,{strong:!0},"Dimension"),r.default.createElement(u.TextMicro,{color:T===w.default?"text":"textLite",textAlign:"right"},"Value","heatmap"!==n.getAttribute("chartType")&&r.default.createElement(r.default.Fragment,null," ",r.default.createElement(l.default,{visible:!0,strong:T===w.default,color:T===w.default?"text":"textLite"}))),r.default.createElement(u.TextMicro,{strong:T===w.ANOMALY_RATE,color:T===w.ANOMALY_RATE?"text":"textLite",textAlign:"right"},"AR %"),r.default.createElement(u.TextMicro,{strong:T===w.ANNOTATIONS,color:T===w.ANNOTATIONS?"text":"textLite",textAlign:"right"},"Info")),P.map((function(e){return r.default.createElement(s.default,{key:e,id:e,strong:p===e,chars:M<600?50:100,rowFlavour:T})}))),r.default.createElement(a.Flex,{flex:!1,height:3},j<k&&r.default.createElement(u.TextNano,{color:"textLite",margin:[2,0,0]},"\u2193",k-j," more values")))},E=(0,r.memo)(x);t.default=E},98079: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=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(32855)),a=n(24298),i=n(54576),u=d(n(73935)),l=d(n(82633)),c=d(n(86518)),f=d(n(91183)),s=d(n(19151));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)}var m={right:"left",bottom:"top"},v={right:"left",top:"bottom"},g={left:"right",bottom:"top"},h={left:"right",top:"bottom"},b=function(e){var t=e.uiName,n=(0,i.useChart)(),d=(0,r.useRef)(),p=(0,r.useState)(),b=p[0],y=p[1],w=(0,r.useRef)(),O=(0,r.useRef)(),x=(0,r.useState)(!1),E=x[0],j=x[1],k=(0,r.useState)(m),P=k[0],S=k[1];w.current=b,O.current=(0,c.default)(b,d,P,"width"),(0,r.useEffect)((function(){return(0,a.unregister)(n.getUI(t).on("mousemove",(function(e){if(!n.getAttribute("panning")&&!n.getAttribute("highlighting")){var t=e.offsetX||e.layerX,r=e.offsetY||e.layerY;if(j(!0),w.current){w.current.style.left=t+"px",w.current.style.top=r+"px",O.current();var o=window.innerHeight,a=window.innerWidth,i=d.current.getBoundingClientRect(),u=i.width,l=i.height;S(function(e,t){return e&&t?m:e?v:t?g:h}(t+u>a,r+l>o))}}})),n.getUI(t).on("mouseout",(function(){return j(!1)})),n.onAttributeChange("panning",(function(e){return e&&j(!1)})),n.onAttributeChange("highlighting",(function(e){return e&&j(!1)})))}),[n]);var C=(0,f.default)();return E?r.default.createElement(r.Fragment,null,r.default.createElement(o.default,{ref:function(e){return y(e)},position:"absolute"}),u.default.createPortal(r.default.createElement(l.default,{"data-toolbox":!0,margin:[P.top?2:-2,P.right?-2:2],ref:d,width:{max:"100%"},column:!0,"data-testid":"drop",sx:{pointerEvents:"none"}},r.default.createElement(s.default,{uiName:t,"data-testid":"chartPopover"})),C)):null};t.default=b},60616: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=i(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 u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(67294)),o=n(90833),a=n(54576);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}var u=function(e){var t=e.value,n=(0,a.useChart)(),i=(0,r.useMemo)((function(){return n.formatDate(t)+" \u2022 "+n.formatTime(t)}),[t]);return r.default.createElement(o.TextMicro,{color:"textDescription","data-testid":"chartPopover-timestamp"},i)};t.default=u},8051: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(90833),i=(r=n(32855))&&r.__esModule?r:{default:r},u=n(54576);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)}var c=function(){var e=(0,u.useAttributeValue)("viewUpdateEvery"),t=(0,u.useAttributeValue)("updateEvery"),n=(0,u.useAttributeValue)("groupingMethod");return o.default.createElement(o.Fragment,null,o.default.createElement(i.default,{gap:1,"data-testid":"chartPopover-collection"},o.default.createElement(a.TextMicro,{color:"textLite"},"Granularity:"),o.default.createElement(a.TextMicro,{color:"textDescription"},t,"s")),e!==t&&o.default.createElement(i.default,{gap:1,"data-testid":"chartPopover-collection"},o.default.createElement(a.TextMicro,{color:"textLite"},"View point:"),o.default.createElement(a.TextMicro,{color:"textDescription"},n," ",e,"s")))};t.default=c},51081: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=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)),o=l(n(71893)),a=l(n(259)),i=n(54576),u=l(n(3701));function l(e){return e&&e.__esModule?e:{default:e}}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)}var s=(0,o.default)(u.default).attrs({color:"textLite",hoverColor:"textDescription",svg:a.default,size:"16px",alignSelf:"end"}).withConfig({displayName:"resize__Drag",componentId:"sc-v4rzku-0"})(["cursor:ns-resize;"]),d=function(e){e.preventDefault(),e.stopPropagation()},p=function(e){var t=(0,i.useChart)(),n=function(e){e.preventDefault(),t.trigger("resizeYStart");var n="touchstart"===e.type?e.touches[0].clientY:e.clientY,r=function(e){var r=e-n;t.trigger("resizeYMove",r)},o=function(e){return r(e.clientY)},a=function(e){return r(e.touches[0].clientY)};"touchstart"===e.type?(document.addEventListener("touchmove",a),document.addEventListener("touchend",(function e(){document.removeEventListener("touchmove",a),document.removeEventListener("touchend",e),t.trigger("resizeYEnd")}))):(document.addEventListener("mousemove",o),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",e),t.trigger("resizeYEnd")})))};return r.default.createElement(s,f({onDoubleClick:d,onMouseDown:n,onTouchStart:n,alignSelf:"end",margin:[0,0,0,1]},e))},m=(0,r.memo)(p);t.default=m},21040:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(67294)),o=a(n(32855));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t=e.disabled;return r.default.createElement(o.default,{width:"1px",background:t?"disabled":"borderSecondary"})};t.default=i},13828:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(67294)),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(71893)),a=n(64969),i=n(54576),u=s(n(3701)),l=s(n(41330)),c=["height"];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(e){return e&&e.__esModule?e:{default: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,o.keyframes)(["from{opacity:0.2;}to{opacity:0.6;}"]),m=(0,o.default)(u.default).attrs({svg:l.default,width:"100%"}).withConfig({displayName:"skeleton__SkeletonIcon",componentId:"sc-x7r6du-0"})(["animation:"," 1.6s ease-in infinite;"],p),v=function(e){var t=e.height,n=void 0===t?"90%":t,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,c),u=(0,i.useLoadingColor)();return r.default.createElement(a.Flex,d({flex:!0,padding:[0,0,0,10]},o),r.default.createElement(m,{color:u,height:n}))};t.default=v},44945:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=h(n(67294)),o=v(n(71893)),a=n(90509),i=v(n(32855)),u=v(n(57138)),l=v(n(97507)),c=v(n(69666)),f=v(n(65828)),s=v(n(44636)),d=h(n(3701)),p=n(54576),m=v(n(14821));function v(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=g(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 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)}var y=(0,o.default)(i.default).attrs({padding:[.5],gap:1,round:!0,border:{side:"all",color:"borderSecondary"}}).withConfig({displayName:"toolbox__Container",componentId:"sc-de41bx-0"})(["position:absolute;top:18px;right:8px;background:",";&:hover{background:",";}"],(0,a.getRgbColor)("elementBackground",.5),(0,a.getColor)("elementBackground")),w=function(){var e=(0,p.useChart)(),t=(0,p.useAttributeValue)("after");return r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:s.default,size:"16px"}),title:"Reset zoom",onClick:e.resetNavigation,"data-testid":"chartToolbox-zoomReset","data-track":e.track("zoomReset"),disabled:-900===t,padding:"2px",small:!0})},O=(0,r.forwardRef)((function(e,t){var n=(0,p.useChart)(),o=(0,p.useAttribute)("navigation"),a=o[0],i=o[1],s=(0,p.useAttributeValue)("highlighting"),v=(0,p.useAttributeValue)("panning");return s||v?null:r.default.createElement(y,b({"data-testid":"chartToolbox","data-toolbox":"true"},e,{ref:t,"data-track":n.track("toolbox")}),r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:u.default,size:"16px"}),title:"Pan",onClick:function(){return i("pan")},active:"pan"===a,"data-testid":"chartToolbox-pan",stroked:!0,"data-track":n.track("pan"),padding:"2px",small:!0}),r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:l.default,size:"16px"}),title:"Highlight",onClick:function(){return i("highlight")},active:"highlight"===a,"data-testid":"chartToolbox-highlight","data-track":n.track("highlight"),padding:"2px",small:!0}),r.default.createElement(m.default,null),r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:c.default,size:"16px"}),title:"Zoom in",onClick:n.zoomIn,"data-testid":"chartToolbox-zoomIn","data-track":n.track("zoomIn"),padding:"2px",small:!0}),r.default.createElement(d.Button,{icon:r.default.createElement(d.default,{svg:f.default,size:"16px"}),title:"Zoom out",onClick:n.zoomOut,"data-testid":"chartToolbox-zoomOut","data-track":n.track("zoomOut"),padding:"2px",small:!0}),r.default.createElement(w,null))}));t.default=O},14821:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=v(n(67294)),o=p(n(69999)),a=p(n(89416)),i=p(n(22874)),u=p(n(54194)),l=p(n(47817)),c=n(54576),f=v(n(3701)),s=p(n(32855)),d=["value","onChange","onClick","open","item"];function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=m(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 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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(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}function b(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}function y(){return y=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},y.apply(this,arguments)}var w=(0,r.forwardRef)((function(e,t){var n=e.value,o=e.onChange,a=e.onClick,l=e.open,c=e.item,p=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,d),m=c.icon,v=c.value,g=c.title;return r.default.createElement(s.default,y({ref:t,alignItems:"end"},p),r.default.createElement(f.Button,{icon:m,title:g,active:n===v,onClick:function(){return o(v)},padding:"2px",small:!0}),r.default.createElement(f.Button,{icon:r.default.createElement(f.default,{svg:l?i.default:u.default,size:"12px"}),onClick:a,padding:"2px",stroked:!0,small:!0}))})),O=function(e){var t=e.onItemClick,n=e.items[0],o=n.icon,a=n.value,i=n.title;return r.default.createElement(s.default,{background:"dropdown",round:{side:"bottom"},border:{side:"bottom",color:"borderSecondary"},padding:[1,0],"data-toolbox":!0},r.default.createElement(f.Button,{title:i,icon:o,onClick:function(){return t(a)},padding:"2px",small:!0}))},x=function(){var e=(0,c.useChart)(),t=(0,c.useAttribute)("navigation"),n=t[0],i=t[1],u=function(e){return(0,r.useMemo)((function(){return[{value:"select",title:"Select and zoom",icon:r.default.createElement(f.default,{svg:o.default,size:"16px"}),"data-track":e.track("selectHorizontal")},{value:"selectVertical",title:"Select vertical and zoom",icon:r.default.createElement(f.default,{svg:a.default,size:"16px"}),"data-track":e.track("selectVertical")}]}),[e])}(e),s=(0,r.useMemo)((function(){return u.reduce((function(e,t){return t.value===n?h(h({},e),{},{selectedItem:t}):h(h({},e),{},{remainingItems:[t]})}),{selectedItem:u[0],remainingItems:[]})}),[n]),d=s.selectedItem,p=s.remainingItems;return r.default.createElement(l.default,{value:n,onChange:i,items:p,Dropdown:O,"data-track":"select"},r.default.createElement(w,{value:n,onChange:i,item:d}))},E=(0,r.memo)(x);t.default=E},18892: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=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(90833),i=d(n(58607)),u=n(54576),l=n(90509),c=d(n(70486)),f=n(86954),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(){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)}var v=(0,o.default)(a.Text).withConfig({displayName:"number__StrokeLabel",componentId:"sc-1m5956t-0"})(["text-shadow:0.02em 0 ",",0 0.02em ",",-0.02em 0 ",",0 -0.02em ",";"],(0,l.getColor)("borderSecondary"),(0,l.getColor)("borderSecondary"),(0,l.getColor)("borderSecondary"),(0,l.getColor)("borderSecondary")),g=function(e){var t=(0,u.useLatestConvertedValue)("selected");return r.default.createElement(v,m({color:"main",fontSize:"2em",strong:!0},e),t)};var h=function(e){var t=(0,u.useUnitSign)();return r.default.createElement(a.Text,m({color:"border",fontSize:"1em"},e),t)};var b=(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);return r.default.createElement(f.ChartWrapper,{ref:t},r.default.createElement(i.default,m({uiName:n,column:!0,alignItems:"center",justifyContent:"center",position:"relative"},o),r.default.createElement(g,null),r.default.createElement(h,null)))}));var y=(0,c.default)(b,{tile:!0});t.ZP=y},96808:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Title=void 0;var r=u(n(67294)),o=u(n(32855)),a=n(90833),i=n(54576);function u(e){return e&&e.__esModule?e:{default: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)}var c=function(e){var t=(0,i.useTitle)(),n=(0,i.useUnitSign)({long:!0}),u=(0,i.useName)();return r.default.createElement(o.default,l({overflow:"hidden","data-testid":"chartHeaderStatus-title",gap:1,flex:"shrink",justifyContent:"start"},e),r.default.createElement(a.TextSmall,{color:"textDescription",truncate:!0},t),!!u&&r.default.createElement(a.TextSmall,{color:"textLite",whiteSpace:"nowrap"},t?"\u2022 ":"",u),!!n&&r.default.createElement(a.TextSmall,{color:"textLite",whiteSpace:"nowrap"},"\u2022 [",n,"]"))};t.Title=c;var f=(0,i.withChartProvider)(c);t.default=f},2713:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.Container=void 0;var r=f(n(67294)),o=f(n(32855)),a=n(54576),i=f(n(21040));t.Separator=i.default;var u=f(n(96415));t.ChartType=u.default;var l=f(n(70873));t.Fullscreen=l.default;var c=f(n(43460));function f(e){return e&&e.__esModule?e:{default: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)}t.Information=c.default;var d=function(e){return r.default.createElement(o.default,s({gap:1,justifyContent:"end",alignItem:"center",flex:!0,"data-testid":"chartHeaderToolbox",alignSelf:"end"},e))};t.Container=d;var p=function(e){var t=!(0,a.useAttributeValue)("focused"),n=(0,a.useAttributeValue)("toolboxElements");return r.default.createElement(d,e,n.map((function(e,n){return r.default.createElement(e,{key:n,disabled:t})})))};t.default=p},51834:function(e,t){"use strict";t.__esModule=!0,t.createCanvas=t.copyCanvas=void 0;t.createCanvas=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n};t.copyCanvas=function(e,t){t.width=e.width,t.height=e.height;var n=t.getContext("2d");n.clearRect(0,0,t.width,t.height),n.drawImage(e,0,0)}},60773:function(e,t){"use strict";function n(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 r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(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}t.__esModule=!0,t.uppercase=t.underscoredKeys=t.underscoreToCamel=t.objectTransformator=t.camelizeKeys=t.camelToUnderscore=void 0;t.uppercase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};var a=function(e){return e.replace(/([A-Z])/g,"_$1").toLowerCase()};t.camelToUnderscore=a;var i=function(e){return e.replace(/([_][a-z])/g,(function(e){return e[1].toUpperCase()}))};t.underscoreToCamel=i;var u=[],l=function(e,t,n){var o;return r(r({},e),{},((o={})[a(t)]=n,o))},c=function(e,t,n){var o;return r(r({},e),{},((o={})[i(t)]=n,o))},f=function(e,t){var n=t.func,o=t.action,a=t.omit,i=void 0===a?u:a;return Array.isArray(e)?e.map((function(e){return n(e,{omit:i})})):"object"===typeof e&&e?Object.keys(e).reduce((function(t,a){var u;if(i.includes(a))return r(r({},t),{},((u={})[a]=e[a],u));var l=n(e[a],{omit:i});return o(t,a,l)}),{}):e};t.objectTransformator=f;t.underscoredKeys=function e(t,n){var r=(void 0===n?{}:n).omit;return f(t,{func:e,action:l,omit:void 0===r?u:r})};t.camelizeKeys=function e(t,n){var r=(void 0===n?{}:n).omit;return f(t,{func:e,action:c,omit:void 0===r?u:r})}},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,u,l,c,f=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),u=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),u.selectNodeContents(c),l.addRange(u),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");f=!0}catch(s){n&&console.error("unable to copy using execCommand: ",s),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(s){n&&console.error("unable to copy using clipboardData: ",s),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),c&&document.body.removeChild(c),i()}return f}},92087:function(e,t,n){"use strict";var r=n(17854),o=n(19781),a=n(47045),i=n(67066),u=n(47293),l=r.RegExp,c=l.prototype;o&&u((function(){var e=!0;try{l(".","d")}catch(u){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(a.hasIndices="d"),a)o(i,a[i]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&a(c,"flags",{configurable:!0,get:i})},82481:function(e,t,n){"use strict";n(82109)({target:"String",proto:!0},{repeat:n(38415)})},61973:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(83946),o=n(51820),a=n(13882);function i(e,t){(0,a.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,1e3*n)}},33511:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(83946),o=n(61973),a=n(13882);function i(e,t){(0,a.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,-n)}},99960:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},47915:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(99960),i=n(97790);o(n(97790),t);var u={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=u),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:u,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,r=new i.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},97790:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(99960),i=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),O(this,e)},e}();t.Node=i;var u=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=u;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(u);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(u);t.Comment=c;var f=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(u);t.ProcessingInstruction=f;var s=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=s;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(s);t.CDATA=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(s);t.Document=p;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(s);function v(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function h(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function y(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function O(e,t){var n;if(void 0===t&&(t=!1),h(e))n=new l(e.data);else if(b(e))n=new c(e.data);else if(v(e)){var r=t?x(e.children):[],a=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=a})),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=a}else if(g(e)){r=t?x(e.children):[];var i=new d(r);r.forEach((function(e){return e.parent=i})),n=i}else if(w(e)){r=t?x(e.children):[];var u=new p(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!y(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new f(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map((function(e){return O(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=v,t.isCDATA=g,t.isText=h,t.isComment=b,t.isDirective=y,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=O},38252:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!==o--;){var i=a[o];if(("_owner"!==i||!t.$$typeof)&&!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n}},99376:function(e,t){var n=Object.keys;t.D=function(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;for(var r=n(e),o=r.length,a=0;a<o;a++)if(!(r[a]in t))return!1;for(a=0;a<o;a++)if(e[r[a]]!==t[r[a]])return!1;return o===n(t).length}},60885:function(e,t){t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},38276:function(e){var t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,i=/<body[^]*>/i,u=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"===typeof window&&window.DOMParser;if("function"===typeof c){var f=new c;u=l=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),f.parseFromString(e,"text/html")}}if("object"===typeof document&&document.implementation){var s=document.implementation.createHTMLDocument();u=function(e,t){return t?(s.documentElement.querySelector(t).innerHTML=e,s):(s.documentElement.innerHTML=e,s)}}var d,p="object"===typeof document?document.createElement("template"):{};p.content&&(d=function(e){return p.innerHTML=e,p.content.childNodes}),e.exports=function(e){var c,f,s,p,m=e.match(o);switch(m&&m[1]&&(c=m[1].toLowerCase()),c){case t:return f=l(e),a.test(e)||(s=f.querySelector(n))&&s.parentNode.removeChild(s),i.test(e)||(s=f.querySelector(r))&&s.parentNode.removeChild(s),f.querySelectorAll(t);case n:case r:return p=(f=u(e)).querySelectorAll(c),i.test(e)&&a.test(e)?p[0].parentNode.childNodes:p;default:return d?d(e):(s=u(e,r).querySelector(r)).childNodes}}},14152:function(e,t,n){var r=n(38276),o=n(1507).formatDOM,a=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(a);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},1507:function(e,t,n){for(var r,o=n(47915),a=n(60885).CASE_SENSITIVE_TAG_NAMES,i=o.Comment,u=o.Element,l=o.ProcessingInstruction,c=o.Text,f={},s=0,d=a.length;s<d;s++)r=a[s],f[r.toLowerCase()]=r;function p(e){for(var t,n={},r=0,o=e.length;r<o;r++)n[(t=e[r]).name]=t.value;return n}function m(e){var t=function(e){return f[e]}(e=e.toLowerCase());return t||e}t.formatAttributes=p,t.formatDOM=function e(t,n,r){n=n||null;for(var o,a=[],f=0,s=t.length;f<s;f++){var d,v=t[f];switch(v.nodeType){case 1:o=m(v.nodeName),(d=new u(o,p(v.attributes))).children=e("template"===o?v.content.childNodes:v.childNodes,d);break;case 3:d=new c(v.nodeValue);break;case 8:d=new i(v.nodeValue);break;default:continue}var g=a[f-1]||null;g&&(g.next=d),d.parent=n,d.prev=g,d.next=null,a.push(d)}return r&&((d=new l(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=a[0]||null,d.parent=n,a.unshift(d),a[1]&&(a[1].prev=a[0])),a}},30488:function(e,t,n){var r=n(47915),o=n(14152),a=n(50484),i=n(53670);o="function"===typeof o.default?o.default:o;var u={lowerCaseAttributeNames:!1};function l(e,t){if("string"!==typeof e)throw new TypeError("First argument must be a string");return""===e?[]:i(o(e,(t=t||{}).htmlparser2||u),t)}l.domToReact=i,l.htmlToDOM=o,l.attributesToProps=a,l.Comment=r.Comment,l.Element=r.Element,l.ProcessingInstruction=r.ProcessingInstruction,l.Text=r.Text,e.exports=l,l.default=l},50484:function(e,t,n){var r=n(83),o=n(74606),a=["checked","value"],i=["input","select","textarea"],u={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}e.exports=function(e,t){var n,c,f,s,d,p={},m=(e=e||{}).type&&u[e.type];for(n in e)if(f=e[n],r.isCustomAttribute(n))p[n]=f;else if(s=l(c=n.toLowerCase()))switch(d=r.getPropertyInfo(s),-1===a.indexOf(s)||-1===i.indexOf(t)||m||(s=l("default"+c)),p[s]=f,d&&d.type){case r.BOOLEAN:p[s]=!0;break;case r.OVERLOADED_BOOLEAN:""===f&&(p[s]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(p[n]=f);return o.setStyleProp(e.style,p),p}},53670:function(e,t,n){var r=n(67294),o=n(50484),a=n(74606),i=a.setStyleProp,u=a.canTextBeChildOfNode;function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&a.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var c,f,s,d,p,m=(n=n||{}).library||r,v=m.cloneElement,g=m.createElement,h=m.isValidElement,b=[],y="function"===typeof n.replace,w=n.transform||a.returnFirstArg,O=n.trim,x=0,E=t.length;x<E;x++)if(c=t[x],y&&h(s=n.replace(c)))E>1&&(s=v(s,{key:s.key||x})),b.push(w(s,c,x));else if("text"!==c.type){switch(d=c.attribs,l(c)?i(d.style,d):d&&(d=o(d,c.name)),p=null,c.type){case"script":case"style":c.children[0]&&(d.dangerouslySetInnerHTML={__html:c.children[0].data});break;case"tag":"textarea"===c.name&&c.children[0]?d.defaultValue=c.children[0].data:c.children&&c.children.length&&(p=e(c.children,n));break;default:continue}E>1&&(d.key=x),b.push(w(g(c.name,d,p),c,x))}else{if((f=!c.data.trim().length)&&c.parent&&!u(c.parent))continue;if(O&&f)continue;b.push(w(c.data,c,x))}return 1===b.length?b[0]:b}},74606:function(e,t,n){var r=n(67294),o=n(41476).default;var a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);var i={reactCompat:!0};var u=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:u,ELEMENTS_WITH_NO_TEXT_CHILDREN:l,invertObject:function(e,t){if(!e||"object"!==typeof e)throw new TypeError("First argument must be an object");var n="function"===typeof t,r={},o={};for(var a in e){var i=e[a];n&&(r=t(a,i))&&2===r.length?o[r[0]]=r[1]:"string"===typeof i&&(o[i]=a)}return o},isCustomComponent:function(e,t){return-1===e.indexOf("-")?t&&"string"===typeof t.is:!a.has(e)},setStyleProp:function(e,t){if(null!==e&&void 0!==e)try{t.style=o(e,i)}catch(n){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},returnFirstArg:function(e){return e}}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function f(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var s=1,d=1;function p(e){var t=e.match(n);t&&(s+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:s,column:d};return function(t){return t.position=new v(e),y(),t}}function v(e){this.start=e,this.end={line:s,column:d},this.source=l.source}v.prototype.content=e;var g=[];function h(t){var n=new Error(l.source+":"+s+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=s,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function b(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(){b(r)}function w(e){var t;for(e=e||[];t=O();)!1!==t&&e.push(t);return e}function O(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return h("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function x(){var e=m(),n=b(o);if(n){if(O(),!b(a))return h("property missing ':'");var r=b(i),l=e({type:"declaration",property:f(n[0].replace(t,c)),value:r?f(r[0].replace(t,c)):c});return b(u),l}}return y(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},36808:function(e,t,n){var r,o;!function(a){if(void 0===(o="function"===typeof(r=a)?r.call(t,n,t,e):r)||(e.exports=o),!0,e.exports=a(),!!0){var i=window.Cookies,u=window.Cookies=a();u.noConflict=function(){return window.Cookies=i,u}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function a(t,n,a){if("undefined"!==typeof document){"number"===typeof(a=e({path:"/"},o.defaults,a)).expires&&(a.expires=new Date(1*new Date+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(c){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var l in a)a[l]&&(u+="; "+l,!0!==a[l]&&(u+="="+a[l].split(";")[0]));return document.cookie=t+"="+n+u}}function i(e,n){if("undefined"!==typeof document){for(var o={},a=document.cookie?document.cookie.split("; "):[],i=0;i<a.length;i++){var u=a[i].split("="),l=u.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(u[0]);if(l=(r.read||r)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(f){}if(o[c]=l,e===c)break}catch(f){}}return e?o[e]:o}}return o.set=a,o.get=function(e){return i(e,!1)},o.getJSON=function(e){return i(e,!0)},o.remove=function(t,n){a(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))}))},22810:function(e,t,n){"use strict";n.r(t)},97142:function(e,t){"use strict";t.I=function(e){e.client&&(document.head.appendChild(e.msh=document.createElement("style")),e.createRule=function(t,n){var r=t+"{}";n&&(r=n+"{"+r+"}");var o=n?e.msh.sheet:e.sh.sheet,a=o.insertRule(r,o.cssRules.length),i=(o.cssRules||o.rules)[a];if(i.index=a,n){var u=(i.cssRules||i.rules)[0];i.style=u.style,i.styleMap=u.styleMap}return i})}},52099:function(e,t,n){"use strict";var r=n(39662).D;t.I=function(e){if(e.client){0;var t=e.kebab;n.prototype.diff=function(e){var n,r=this.decl,o=this.rule.style;for(n in r)void 0===e[n]&&o.removeProperty(n);for(n in e)e[n]!==r[n]&&o.setProperty(t(n),e[n]);this.decl=e},n.prototype.del=function(){r(this.rule)},o.prototype.diff=function(e){var t=this.tree;for(var r in t)if(void 0===e[r]){var o=t[r];for(var a in o)o[a].del()}for(var r in e)if(void 0===t[r])for(var a in e[r]){(l=new n(a,r)).diff(e[r][a]),e[r][a]=l}else{var i=t[r],u=e[r];for(var a in i)u[a]||i[a].del();for(var a in u){var l;(l=i[a])?(l.diff(u[a]),u[a]=l):((l=new n(a,r)).diff(u[a]),u[a]=l)}}this.tree=e},e.VRule=n,e.VSheet=o}function n(t,n){this.rule=e.createRule(t,n),this.decl={}}function o(){this.tree={}}}},87749:function(e,t){t.z=function e(t,n,r,o){var a,i,u={},l=!1;for(a in n)"object"!==typeof(i=n[a])&&(l=!0,u[a]=i);for(a in l&&(t[o]||(t[o]={}),t[o][r]=u),n)if("object"===typeof(i=n[a]))if("@"===a[0])e(t,i,r,a);else{var c=a.indexOf("&")>-1,f=r.split(",");if(c)for(var s=0;s<f.length;s++)f[s]=a.replace(/&/g,f[s]);else for(s=0;s<f.length;s++)f[s]=f[s]+" "+a;e(t,i,f.join(","),o)}}},39662:function(e,t){t.D=function(e){var t=e.index,n=e.parentStyleSheet,r=n.cssRules||n.rules;for(t=Math.max(t,r.length-1);t>=0;){if(r[t]===e){n.deleteRule(t);break}t--}}},40818:function(e,t){"use strict";var n=/[A-Z]/g;t.U=function(e){var t=(e=e||{}).assign||Object.assign;var r=t({raw:"",pfx:"_",client:"object"===typeof window,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(n,"-$&").toLowerCase()},decl:function(e,t){return(e=r.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(r.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){r.raw+=e}},e);return r.client&&(r.sh||document.head.appendChild(r.sh=document.createElement("style")),r.putRaw=function(e){var t=r.sh.sheet;try{t.insertRule(e,t.cssRules.length)}catch(n){}}),r.put=function(e,t,n){var o,a,i="",u=[];for(o in t)(a=t[o])instanceof Object&&!(a instanceof Array)?u.push(o):i+=r.decl(o,a,e,n);i&&(i=e+"{"+i+"}",r.putRaw(n?n+"{"+i+"}":i));for(var l=0;l<u.length;l++)"@"===(o=u[l])[0]&&"@font-face"!==o?r.putAt(e,t[o],o):r.put(r.selector(e,o),t[o],n)},r.putAt=r.put,r}},83:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(l){u=!0,o=l}finally{try{i||null==n.return||n.return()}finally{if(u)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});var a=2,i=3,u=4;function l(e,t,n,r,o,l,c){this.acceptsBooleans=t===a||t===i||t===u,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=c}var c={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){c[e]=new l(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=r(e,2),n=t[0],o=t[1];c[n]=new l(n,1,!1,o,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){c[e]=new l(e,a,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){c[e]=new l(e,a,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){c[e]=new l(e,i,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){c[e]=new l(e,i,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){c[e]=new l(e,u,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){c[e]=new l(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){c[e]=new l(e,5,!1,e.toLowerCase(),null,!1,!1)}));var f=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(f,s);c[t]=new l(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(f,s);c[t]=new l(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(f,s);c[t]=new l(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){c[e]=new l(e,1,!1,e.toLowerCase(),null,!1,!1)}));c.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){c[e]=new l(e,1,!1,e.toLowerCase(),null,!0,!0)}));var d=n(78229),p=d.CAMELCASE,m=d.SAME,v=d.possibleStandardNames,g=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(v).reduce((function(e,t){var n=v[t];return n===m?e[t]=t:n===p?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=i,t.BOOLEANISH_STRING=a,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=u,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return c.hasOwnProperty(e)?c[e]:null},t.isCustomAttribute=g,t.possibleStandardNames=h},78229:function(e,t){t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},54585:function(e,t,n){"use strict";n.r(t),n.d(t,{createBreakpoint:function(){return Pe},createGlobalState:function(){return mn},createMemo:function(){return a},createReducer:function(){return l},createReducerContext:function(){return i},createStateContext:function(){return c},ensuredForwardRef:function(){return ne},useAsync:function(){return p},useAsyncFn:function(){return d},useAsyncRetry:function(){return m},useAudio:function(){return b},useBattery:function(){return E},useBeforeUnload:function(){return j},useBoolean:function(){return P},useClickAway:function(){return C},useCookie:function(){return T},useCopyToClipboard:function(){return I},useCounter:function(){return z},useCss:function(){return q},useCustomCompareEffect:function(){return K},useDebounce:function(){return G.Z},useDeepCompareEffect:function(){return X},useDefault:function(){return J},useDrop:function(){return $},useDropArea:function(){return Q},useEffectOnce:function(){return ee.Z},useEnsuredForwardedRef:function(){return te},useError:function(){return ue},useEvent:function(){return ie},useFavicon:function(){return le},useFirstMountState:function(){return Vt.Z},useFullscreen:function(){return se},useGeolocation:function(){return de},useGetSet:function(){return F},useGetSetState:function(){return pe},useHarmonicIntervalFn:function(){return ge},useHash:function(){return vn},useHover:function(){return be},useHoverDirty:function(){return ye},useIdle:function(){return xe},useIntersection:function(){return Ee},useInterval:function(){return je.Z},useIsomorphicLayoutEffect:function(){return H.Z},useKey:function(){return ke},useKeyPress:function(){return Se},useKeyPressEvent:function(){return Ce},useLatest:function(){return _e},useLifecycles:function(){return Me},useList:function(){return Te},useLocalStorage:function(){return De},useLocation:function(){return Le},useLockBodyScroll:function(){return Ue},useLogger:function(){return He},useLongPress:function(){return Ye},useMap:function(){return qe},useMeasure:function(){return fn.Z},useMedia:function(){return Ke.Z},useMediaDevices:function(){return Ge},useMediatedState:function(){return Xe},useMethods:function(){return Je},useMotion:function(){return Qe},useMount:function(){return et},useMountedState:function(){return s},useMouse:function(){return rt},useMouseHovered:function(){return at},useMouseWheel:function(){return it},useMultiStateValidator:function(){return an},useNetworkState:function(){return ft},useNumber:function(){return st},useObservable:function(){return dt},useOrientation:function(){return mt},usePageLeave:function(){return vt},usePermission:function(){return gt},usePinchZoom:function(){return sn},usePrevious:function(){return ht.Z},usePreviousDistinct:function(){return bt.Z},usePromise:function(){return yt},useQueue:function(){return wt},useRaf:function(){return Ot},useRafLoop:function(){return xt},useRafState:function(){return nt},useRendersCount:function(){return dn},useScratch:function(){return St},useScroll:function(){return Ct},useScrollbarWidth:function(){return on},useScrolling:function(){return _t},useSearchParam:function(){return kt},useSessionStorage:function(){return Mt},useSet:function(){return pn},useSetState:function(){return v},useShallowCompareEffect:function(){return At},useSize:function(){return Rt},useSlider:function(){return Ft},useSpeech:function(){return zt},useStartTyping:function(){return Wt},useStateList:function(){return Ut},useStateValidator:function(){return nn},useStateWithHistory:function(){return Bt},useThrottle:function(){return Ht},useThrottleFn:function(){return Zt},useTimeout:function(){return qt},useTimeoutFn:function(){return Yt.Z},useTitle:function(){return Gt},useToggle:function(){return k.Z},useTween:function(){return Jt},useUnmount:function(){return tt.Z},useUnmountPromise:function(){return $t},useUpdate:function(){return L},useUpdateEffect:function(){return u.Z},useUpsert:function(){return Qt},useVibrate:function(){return en},useVideo:function(){return tn},useWindowScroll:function(){return ln},useWindowSize:function(){return cn}});var r=n(67294),o=n.t(r,2),a=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0,r.useMemo)((function(){return e.apply(void 0,t)}),t)}},i=function(e,t){var n=(0,r.createContext)(void 0);return[function(){var e=(0,r.useContext)(n);if(null==e)throw new Error("useReducerContext must be used inside a ReducerProvider.");return e},function(o){var a=o.children,i=o.initialState;return function(e,t){return(0,r.createElement)(n.Provider,e,t)}({value:(0,r.useReducer)(e,void 0!==i?i:t)},a)},n]},u=n(48286);var l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,o=(n=e,function(e,t){return n.reduceRight((function(t,n){return n(e)(t)}),t)});return function(e,t,n){void 0===n&&(n=function(e){return e});var a=(0,r.useRef)(n(t)),i=(0,r.useState)(a.current)[1],l=(0,r.useCallback)((function(t){return a.current=e(a.current,t),i(a.current),t}),[e]),c=(0,r.useRef)(o({getState:function(){return a.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.current.apply(c,e)}},l));return(0,u.Z)((function(){c.current=o({getState:function(){return a.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.current.apply(c,e)}},l)}),[l]),[a.current,c.current]}},c=function(e){var t=(0,r.createContext)(void 0);return[function(){var e=(0,r.useContext)(t);if(null==e)throw new Error("useStateContext must be used inside a StateProvider.");return e},function(n){var o=n.children,a=n.initialValue;return function(e,n){return(0,r.createElement)(t.Provider,e,n)}({value:(0,r.useState)(void 0!==a?a:e)},o)},t]},f=n(5272);function s(){var e=(0,r.useRef)(!1),t=(0,r.useCallback)((function(){return e.current}),[]);return(0,r.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),t}function d(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var o=(0,r.useRef)(0),a=s(),i=(0,r.useState)(n),u=i[0],l=i[1],c=(0,r.useCallback)((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=++o.current;return u.loading||l((function(e){return(0,f.__assign)((0,f.__assign)({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return a()&&r===o.current&&l({value:e,loading:!1}),e}),(function(e){return a()&&r===o.current&&l({error:e,loading:!1}),e}))}),t);return[u,c]}function p(e,t){void 0===t&&(t=[]);var n=d(e,t,{loading:!0}),o=n[0],a=n[1];return(0,r.useEffect)((function(){a()}),[a]),o}var m=function(e,t){void 0===t&&(t=[]);var n=(0,r.useState)(0),o=n[0],a=n[1],i=p(e,(0,f.__spreadArrays)(t,[o])),u=i.loading,l=(0,r.useCallback)((function(){u||a((function(e){return e+1}))}),(0,f.__spreadArrays)(t,[u]));return(0,f.__assign)((0,f.__assign)({},i),{retry:l})},v=function(e){void 0===e&&(e={});var t=(0,r.useState)(e),n=t[0],o=t[1];return[n,(0,r.useCallback)((function(e){o((function(t){return Object.assign({},t,e instanceof Function?e(t):e)}))}),[])]};function g(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}function h(e){return function(t){var n,o;o=r.isValidElement(t)?(n=t).props:t;var a=v({buffered:[],time:0,duration:0,paused:!0,muted:!1,volume:1,playing:!1}),i=a[0],u=a[1],l=(0,r.useRef)(null),c=function(e,t){return function(n){try{t&&t(n)}finally{e&&e(n)}}},s=function(){return u({paused:!1})},d=function(){return u({playing:!0})},p=function(){return u({playing:!1})},m=function(){return u({paused:!0,playing:!1})},h=function(){var e=l.current;e&&u({muted:e.muted,volume:e.volume})},b=function(){var e=l.current;if(e){var t=e.duration,n=e.buffered;u({duration:t,buffered:g(n)})}},y=function(){var e=l.current;e&&u({time:e.currentTime})},w=function(){var e=l.current;e&&u({buffered:g(e.buffered)})};n=n?r.cloneElement(n,(0,f.__assign)((0,f.__assign)({controls:!1},o),{ref:l,onPlay:c(o.onPlay,s),onPlaying:c(o.onPlaying,d),onWaiting:c(o.onWaiting,p),onPause:c(o.onPause,m),onVolumeChange:c(o.onVolumeChange,h),onDurationChange:c(o.onDurationChange,b),onTimeUpdate:c(o.onTimeUpdate,y),onProgress:c(o.onProgress,w)})):r.createElement(e,(0,f.__assign)((0,f.__assign)({controls:!1},o),{ref:l,onPlay:c(o.onPlay,s),onPlaying:c(o.onPlaying,d),onWaiting:c(o.onWaiting,p),onPause:c(o.onPause,m),onVolumeChange:c(o.onVolumeChange,h),onDurationChange:c(o.onDurationChange,b),onTimeUpdate:c(o.onTimeUpdate,y),onProgress:c(o.onProgress,w)}));var O=!1,x={play:function(){var e=l.current;if(e&&!O){var t=e.play();if("object"===typeof t){O=!0;var n=function(){O=!1};t.then(n,n)}return t}},pause:function(){var e=l.current;if(e&&!O)return e.pause()},seek:function(e){var t=l.current;t&&void 0!==i.duration&&(e=Math.min(i.duration,Math.max(0,e)),t.currentTime=e)},volume:function(e){var t=l.current;t&&(e=Math.min(1,Math.max(0,e)),t.volume=e,u({volume:e}))},mute:function(){var e=l.current;e&&(e.muted=!0)},unmute:function(){var e=l.current;e&&(e.muted=!1)}};return(0,r.useEffect)((function(){var e=l.current;e&&(u({volume:e.volume,muted:e.muted,paused:e.paused}),o.autoPlay&&e.paused&&x.play())}),[o.src]),[n,i,x,l]}}var b=h("audio"),y=n(76362),w=n(38252),O=n.n(w)(),x=y.ae?navigator:void 0;var E=x&&"function"===typeof x.getBattery?function(){var e=(0,r.useState)({isSupported:!0,fetched:!1}),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=!0,r=null,o=function(){if(e&&r){var o={isSupported:!0,fetched:!0,level:r.level,charging:r.charging,dischargingTime:r.dischargingTime,chargingTime:r.chargingTime};!O(t,o)&&n(o)}};return x.getBattery().then((function(t){e&&(r=t,(0,y.on)(r,"chargingchange",o),(0,y.on)(r,"chargingtimechange",o),(0,y.on)(r,"dischargingtimechange",o),(0,y.on)(r,"levelchange",o),o())})),function(){e=!1,r&&((0,y.S1)(r,"chargingchange",o),(0,y.S1)(r,"chargingtimechange",o),(0,y.S1)(r,"dischargingtimechange",o),(0,y.S1)(r,"levelchange",o))}}),[]),t}:function(){return{isSupported:!1}},j=function(e,t){void 0===e&&(e=!0);var n=(0,r.useCallback)((function(n){if("function"!==typeof e||e())return n.preventDefault(),t&&(n.returnValue=t),t}),[e,t]);(0,r.useEffect)((function(){if(e)return(0,y.on)(window,"beforeunload",n),function(){return(0,y.S1)(window,"beforeunload",n)}}),[e,n])},k=n(89211),P=k.Z,S=["mousedown","touchstart"],C=function(e,t,n){void 0===n&&(n=S);var o=(0,r.useRef)(t);(0,r.useEffect)((function(){o.current=t}),[t]),(0,r.useEffect)((function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&o.current(t)},r=0,a=n;r<a.length;r++){var i=a[r];(0,y.on)(document,i,t)}return function(){for(var e=0,r=n;e<r.length;e++){var o=r[e];(0,y.S1)(document,o,t)}}}),[n,e])},_=n(36808),M=n.n(_),T=function(e){var t=(0,r.useState)((function(){return M().get(e)||null})),n=t[0],o=t[1];return[n,(0,r.useCallback)((function(t,n){M().set(e,t,n),o(t)}),[e]),(0,r.useCallback)((function(){M().remove(e),o(null)}),[e])]},D=n(20640),A=n.n(D),I=function(){var e=s(),t=v({value:void 0,error:void 0,noUserInteraction:!0}),n=t[0],o=t[1];return[n,(0,r.useCallback)((function(t){var n,r;if(e())try{if("string"!==typeof t&&"number"!==typeof t){var a=new Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");return void o({value:t,error:a,noUserInteraction:!0})}if(""===t){a=new Error("Cannot copy empty string to clipboard.");return void o({value:t,error:a,noUserInteraction:!0})}r=t.toString(),n=A()(r),o({value:r,error:void 0,noUserInteraction:n})}catch(a){o({value:r,error:a,noUserInteraction:n})}}),[])]},N=function(e){return(e+1)%1e6};function L(){return(0,r.useReducer)(N,0)[1]}function R(e,t){return"function"===typeof e?e.length?e(t):e():e}function F(e){var t=(0,r.useRef)(R(e)),n=L();return(0,r.useMemo)((function(){return[function(){return t.current},function(e){t.current=R(e,t.current),n()}]}),[])}function z(e,t,n){void 0===e&&(e=0),void 0===t&&(t=null),void 0===n&&(n=null);var o=R(e);"number"!==typeof o&&console.error("initialValue has to be a number, got "+typeof e),"number"===typeof n?o=Math.max(o,n):null!==n&&console.error("min has to be a number, got "+typeof n),"number"===typeof t?o=Math.min(o,t):null!==t&&console.error("max has to be a number, got "+typeof t);var a=F(o),i=a[0],u=a[1];return[i(),(0,r.useMemo)((function(){var e=function(e){var r=i(),o=R(e,r);r!==o&&("number"===typeof n&&(o=Math.max(o,n)),"number"===typeof t&&(o=Math.min(o,t)),r!==o&&u(o))};return{get:i,set:e,inc:function(t){void 0===t&&(t=1);var n=R(t,i());"number"!==typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e+n}))},dec:function(t){void 0===t&&(t=1);var n=R(t,i());"number"!==typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e-n}))},reset:function(t){void 0===t&&(t=o);var n=R(t,i());"number"!==typeof n&&console.error("value has to be a number or function returning a number, got "+typeof n),o=n,e(n)}}}),[o,n,t])]}var W=n(40818),V=n(97142),B=n(52099),U=n(87749),H=n(11042),Z=(0,W.U)();(0,V.I)(Z),(0,B.I)(Z);var Y=0,q=function(e){var t=(0,r.useMemo)((function(){return"react-use-css-"+(Y++).toString(36)}),[]),n=(0,r.useMemo)((function(){return new Z.VSheet}),[]);return(0,H.Z)((function(){var r={};return(0,U.z)(r,e,"."+t,""),n.diff(r),function(){n.diff({})}})),t},K=function(e,t,n){var o=(0,r.useRef)(void 0);o.current&&n(t,o.current)||(o.current=t),(0,r.useEffect)(e,o.current)},G=n(62554),X=function(e,t){K(e,t,O)},J=function(e,t){var n=(0,r.useState)(t),o=n[0],a=n[1];return void 0===o||null===o?[e,a]:[o,a]},$=function(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var n=e.onFiles,o=e.onText,a=e.onUri,i=(0,r.useState)(!1),u=i[0],l=i[1],c=(0,r.useCallback)(l,[]),s=(0,r.useMemo)((function(){return function(e){return function(t,n){var r=t.getData("text/uri-list");if(r)(e.onUri||y.ZT)(r,n);else if(t.files&&t.files.length)(e.onFiles||y.ZT)(Array.from(t.files),n);else if(n.clipboardData){var o=n.clipboardData.getData("text");(e.onText||y.ZT)(o,n)}}}(e)}),[n,o,a]);return(0,r.useEffect)((function(){var e=function(e){e.preventDefault(),c(!0)},t=function(e){e.preventDefault(),c(!0)},n=function(){c(!1)},r=function(){c(!1)},a=function(e){e.preventDefault(),c(!1),s(e.dataTransfer,e)},i=function(e){s(e.clipboardData,e)};return(0,y.on)(document,"dragover",e),(0,y.on)(document,"dragenter",t),(0,y.on)(document,"dragleave",n),(0,y.on)(document,"dragexit",r),(0,y.on)(document,"drop",a),o&&(0,y.on)(document,"paste",i),function(){(0,y.S1)(document,"dragover",e),(0,y.S1)(document,"dragenter",t),(0,y.S1)(document,"dragleave",n),(0,y.S1)(document,"dragexit",r),(0,y.S1)(document,"drop",a),(0,y.S1)(document,"paste",i)}}),(0,f.__spreadArrays)([s],t)),{over:u}},Q=function(e){void 0===e&&(e={});var t=e.onFiles,n=e.onText,o=e.onUri,a=s(),i=(0,r.useState)(!1),u=i[0],l=i[1],c=(0,r.useMemo)((function(){return function(e,t){return function(n,r){var o=n.getData("text/uri-list");o?(e.onUri||y.ZT)(o,r):n.files&&n.files.length?(e.onFiles||y.ZT)(Array.from(n.files),r):n.items&&n.items.length&&n.items[0].getAsString((function(n){t&&(e.onText||y.ZT)(n,r)}))}}(e,a())}),[t,n,o]),f=(0,r.useMemo)((function(){return function(e,t){return{onDragOver:function(e){e.preventDefault()},onDragEnter:function(e){e.preventDefault(),t(!0)},onDragLeave:function(){t(!1)},onDrop:function(n){n.preventDefault(),n.persist(),t(!1),e(n.dataTransfer,n)},onPaste:function(t){t.persist(),e(t.clipboardData,t)}}}(c,l)}),[c,l]);return[f,{over:u}]},ee=n(18127);function te(e){var t=(0,r.useRef)(e&&e.current);return(0,r.useEffect)((function(){e&&(e.current=t.current)}),[e]),t}function ne(e){return(0,r.forwardRef)((function(t,n){var r=te(n);return e(t,r)}))}var re=y.jU?window:null,oe=function(e){return!!e.addEventListener},ae=function(e){return!!e.on},ie=function(e,t,n,o){void 0===n&&(n=re),(0,r.useEffect)((function(){if(t&&n)return oe(n)?(0,y.on)(n,e,t,o):ae(n)&&n.on(e,t,o),function(){oe(n)?(0,y.S1)(n,e,t,o):ae(n)&&n.off(e,t,o)}}),[e,t,n,JSON.stringify(o)])},ue=function(){var e=(0,r.useState)(null),t=e[0],n=e[1];return(0,r.useEffect)((function(){if(t)throw t}),[t]),(0,r.useCallback)((function(e){n(e)}),[])},le=function(e){(0,r.useEffect)((function(){var t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)}),[e])},ce=n(10577),fe=n.n(ce),se=function(e,t,n){void 0===n&&(n={});var o=n.video,a=n.onClose,i=void 0===a?y.ZT:a,u=(0,r.useState)(t),l=u[0],c=u[1];return(0,H.Z)((function(){if(t&&e.current){var n=function(){(null===o||void 0===o?void 0:o.current)&&(0,y.S1)(o.current,"webkitendfullscreen",n),i()},r=function(){if(fe().isEnabled){var e=fe().isFullscreen;c(e),e||i()}};if(fe().isEnabled){try{fe().request(e.current),c(!0)}catch(u){i(u),c(!1)}fe().on("change",r)}else o&&o.current&&o.current.webkitEnterFullscreen?(o.current.webkitEnterFullscreen(),(0,y.on)(o.current,"webkitendfullscreen",n),c(!0)):(i(),c(!1));return function(){if(c(!1),fe().isEnabled)try{fe().off("change",r),fe().exit()}catch(a){}else o&&o.current&&o.current.webkitExitFullscreen&&((0,y.S1)(o.current,"webkitendfullscreen",n),o.current.webkitExitFullscreen())}}}),[t,o,e]),l},de=function(e){var t,n=(0,r.useState)({loading:!0,accuracy:null,altitude:null,altitudeAccuracy:null,heading:null,latitude:null,longitude:null,speed:null,timestamp:Date.now()}),o=n[0],a=n[1],i=!0,u=function(e){i&&a({loading:!1,accuracy:e.coords.accuracy,altitude:e.coords.altitude,altitudeAccuracy:e.coords.altitudeAccuracy,heading:e.coords.heading,latitude:e.coords.latitude,longitude:e.coords.longitude,speed:e.coords.speed,timestamp:e.timestamp})},l=function(e){return i&&a((function(t){return(0,f.__assign)((0,f.__assign)({},t),{loading:!1,error:e})}))};return(0,r.useEffect)((function(){return navigator.geolocation.getCurrentPosition(u,l,e),t=navigator.geolocation.watchPosition(u,l,e),function(){i=!1,navigator.geolocation.clearWatch(t)}}),[]),o},pe=function(e){void 0===e&&(e={});var t=L(),n=(0,r.useRef)((0,f.__assign)({},e));return[(0,r.useCallback)((function(){return n.current}),[]),(0,r.useCallback)((function(e){e&&(Object.assign(n.current,e),t())}),[])]},me=0,ve={},ge=function(e,t){void 0===t&&(t=0);var n=(0,r.useRef)((function(){}));(0,r.useEffect)((function(){n.current=e})),(0,r.useEffect)((function(){if(null!==t){var e=function(e,t){var n,r=me++;if(ve[t])ve[t].listeners[r]=e;else{var o=setInterval((function(){for(var e,n=ve[t].listeners,r=!1,o=0,a=Object.values(n);o<a.length;o++){var i=a[o];try{i()}catch(u){r=!0,e=u}}if(r)throw e}),t);ve[t]={ms:t,timer:o,listeners:(n={},n[r]=e,n)}}return{bucket:ve[t],id:r}}((function(){return n.current()}),t);return function(){return function(e){var t=e.bucket,n=e.id;delete t.listeners[n];var r=!1;for(var o in t.listeners){r=!0;break}r||(clearInterval(t.timer),delete ve[t.ms])}(e)}}}),[t])},he=r.useState,be=function(e){var t,n,o=he(!1),a=o[0],i=o[1];return"function"===typeof e&&(e=e(a)),[r.cloneElement(e,{onMouseEnter:(n=e.props.onMouseEnter,function(e){(n||y.ZT)(e),i(!0)}),onMouseLeave:(t=e.props.onMouseLeave,function(e){(t||y.ZT)(e),i(!1)})}),a]},ye=function(e,t){void 0===t&&(t=!0);var n=(0,r.useState)(!1),o=n[0],a=n[1];return(0,r.useEffect)((function(){var n=function(){return a(!0)},r=function(){return a(!1)};t&&e&&e.current&&((0,y.on)(e.current,"mouseover",n),(0,y.on)(e.current,"mouseout",r));var o=e.current;return function(){t&&o&&((0,y.S1)(o,"mouseover",n),(0,y.S1)(o,"mouseout",r))}}),[t,e]),o};function we(e,t,n,r){var o,a=!1,i=0;function u(){o&&clearTimeout(o)}function l(){for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];var s=this,d=Date.now()-i;function p(){i=Date.now(),n.apply(s,c)}a||(r&&!o&&p(),u(),void 0===r&&d>e?p():!0!==t&&(o=setTimeout(r?function(){o=void 0}:p,void 0===r?e-d:e)))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){u(),a=!0},l}var Oe=["mousemove","mousedown","resize","keydown","touchstart","wheel"],xe=function(e,t,n){void 0===e&&(e=6e4),void 0===t&&(t=!1),void 0===n&&(n=Oe);var o=(0,r.useState)(t),a=o[0],i=o[1];return(0,r.useEffect)((function(){for(var t,r=!0,o=a,u=function(e){r&&(o=e,i(e))},l=we(50,(function(){o&&u(!1),clearTimeout(t),t=setTimeout((function(){return u(!0)}),e)})),c=function(){document.hidden||l()},f=0;f<n.length;f++)(0,y.on)(window,n[f],l);return(0,y.on)(document,"visibilitychange",c),t=setTimeout((function(){return u(!0)}),e),function(){r=!1;for(var e=0;e<n.length;e++)(0,y.S1)(window,n[e],l);(0,y.S1)(document,"visibilitychange",c)}}),[e,n]),a},Ee=function(e,t){var n=(0,r.useState)(null),o=n[0],a=n[1];return(0,r.useEffect)((function(){if(e.current&&"function"===typeof IntersectionObserver){var n=new IntersectionObserver((function(e){a(e[0])}),t);return n.observe(e.current),function(){a(null),n.disconnect()}}return function(){}}),[e.current,t.threshold,t.root,t.rootMargin]),o},je=n(43337),ke=function(e,t,n,o){void 0===t&&(t=y.ZT),void 0===n&&(n={}),void 0===o&&(o=[e]);var a=n.event,i=void 0===a?"keydown":a,u=n.target,l=n.options,c=(0,r.useMemo)((function(){var n,r="function"===typeof(n=e)?n:"string"===typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}}),o);ie(i,c,u,l)},Pe=function(e){return void 0===e&&(e={laptopL:1440,laptop:1024,tablet:768}),function(){var t=(0,r.useState)(y.jU?window.innerWidth:0),n=t[0],o=t[1];(0,r.useEffect)((function(){var e=function(){o(window.innerWidth)};return e(),(0,y.on)(window,"resize",e),function(){(0,y.S1)(window,"resize",e)}}));var a=(0,r.useMemo)((function(){return Object.entries(e).sort((function(e,t){return e[1]>=t[1]?1:-1}))}),[e]),i=a.reduce((function(e,t){var r=t[0],o=t[1];return n>=o?r:e}),a[0][0]);return i}},Se=function(e){var t=(0,r.useState)([!1,null]),n=t[0],o=t[1];return ke(e,(function(e){return o([!0,e])}),{event:"keydown"},[n]),ke(e,(function(e){return o([!1,e])}),{event:"keyup"},[n]),n},Ce=function(e,t,n,r){void 0===r&&(r=Se);var o=r(e),a=o[0],i=o[1];(0,u.Z)((function(){!a&&n?n(i):a&&t&&t(i)}),[a])},_e=function(e){var t=(0,r.useRef)(e);return t.current=e,t},Me=function(e,t){(0,r.useEffect)((function(){return e&&e(),function(){t&&t()}}),[])};var Te=function(e){void 0===e&&(e=[]);var t=(0,r.useRef)(R(e)),n=L(),o=(0,r.useMemo)((function(){var r={set:function(e){t.current=R(e,t.current),n()},push:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.length&&o.set((function(t){return t.concat(e)}))},updateAt:function(e,t){o.set((function(n){var r=n.slice();return r[e]=t,r}))},insertAt:function(e,t){o.set((function(n){var r=n.slice();return e>r.length?r[e]=t:r.splice(e,0,t),r}))},update:function(e,t){o.set((function(n){return n.map((function(n){return e(n,t)?t:n}))}))},updateFirst:function(e,n){var r=t.current.findIndex((function(t){return e(t,n)}));r>=0&&o.updateAt(r,n)},upsert:function(e,n){var r=t.current.findIndex((function(t){return e(t,n)}));r>=0?o.updateAt(r,n):o.push(n)},sort:function(e){o.set((function(t){return t.slice().sort(e)}))},filter:function(e,t){o.set((function(n){return n.slice().filter(e,t)}))},removeAt:function(e){o.set((function(t){var n=t.slice();return n.splice(e,1),n}))},clear:function(){o.set([])},reset:function(){o.set(R(e).slice())}};return r.remove=r.removeAt,r}),[]);return[t.current,o]},De=function(e,t,n){if(!y.jU)return[t,y.ZT,y.ZT];if(!e)throw new Error("useLocalStorage key may not be falsy");var o=n?n.raw?function(e){return e}:n.deserializer:JSON.parse,a=(0,r.useRef)((function(e){try{var r=n?n.raw?String:n.serializer:JSON.stringify,a=localStorage.getItem(e);return null!==a?o(a):(t&&localStorage.setItem(e,r(t)),t)}catch(i){return t}})),i=(0,r.useState)((function(){return a.current(e)})),u=i[0],l=i[1];(0,r.useLayoutEffect)((function(){return l(a.current(e))}),[e]);var c=(0,r.useCallback)((function(t){try{var r="function"===typeof t?t(u):t;if("undefined"===typeof r)return;var a=void 0;a=n?n.raw?"string"===typeof r?r:JSON.stringify(r):n.serializer?n.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,a),l(o(a))}catch(i){}}),[e,l]),f=(0,r.useCallback)((function(){try{localStorage.removeItem(e),l(void 0)}catch(i){}}),[e,l]);return[u,c,f]},Ae=function(e){var t=window.history,n=t[e];t[e]=function(t){var r=n.apply(this,arguments),o=new Event(e.toLowerCase());return o.state=t,window.dispatchEvent(o),r}};y.jU&&(Ae("pushState"),Ae("replaceState"));var Ie=function(e){var t=window.history,n=t.state,r=t.length,o=window.location;return{trigger:e,state:n,length:r,hash:o.hash,host:o.host,hostname:o.hostname,href:o.href,origin:o.origin,pathname:o.pathname,port:o.port,protocol:o.protocol,search:o.search}},Ne="function"===typeof Event,Le=y.jU&&Ne?function(){var e=(0,r.useState)(Ie("load")),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){return n(Ie("popstate"))},t=function(){return n(Ie("pushstate"))},r=function(){return n(Ie("replacestate"))};return(0,y.on)(window,"popstate",e),(0,y.on)(window,"pushstate",t),(0,y.on)(window,"replacestate",r),function(){(0,y.S1)(window,"popstate",e),(0,y.S1)(window,"pushstate",t),(0,y.S1)(window,"replacestate",r)}}),[]),t}:function(){return{trigger:"load",length:1}};function Re(e){if(!e)return null;if("BODY"===e.tagName)return e;if("IFRAME"===e.tagName){var t=e.contentDocument;return t?t.body:null}return e.offsetParent?Re(e.offsetParent):null}function Fe(e){var t=e||window.event;return t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)}var ze=y.jU&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),We=new Map,Ve="object"===typeof document?document:void 0,Be=!1,Ue=Ve?function(e,t){void 0===e&&(e=!0);var n=(0,r.useRef)(Ve.body);t=t||n;var o=function(e){var t=We.get(e);t&&(1===t.counter?(We.delete(e),ze?(e.ontouchmove=null,Be&&((0,y.S1)(document,"touchmove",Fe),Be=!1)):e.style.overflow=t.initialOverflow):We.set(e,{counter:t.counter-1,initialOverflow:t.initialOverflow}))};(0,r.useEffect)((function(){var n=Re(t.current);n&&(e?function(e){var t=We.get(e);t?We.set(e,{counter:t.counter+1,initialOverflow:t.initialOverflow}):(We.set(e,{counter:1,initialOverflow:e.style.overflow}),ze?Be||((0,y.on)(document,"touchmove",Fe,{passive:!1}),Be=!0):e.style.overflow="hidden")}(n):o(n))}),[e,t.current]),(0,r.useEffect)((function(){var e=Re(t.current);if(e)return function(){o(e)}}),[])}:function(e,t){void 0===e&&(e=!0)},He=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];(0,ee.Z)((function(){return console.log.apply(console,(0,f.__spreadArrays)([e+" mounted"],t)),function(){return console.log(e+" unmounted")}})),(0,u.Z)((function(){console.log.apply(console,(0,f.__spreadArrays)([e+" updated"],t))}))},Ze=function(e){(function(e){return"touches"in e})(e)&&e.touches.length<2&&e.preventDefault&&e.preventDefault()},Ye=function(e,t){var n=void 0===t?{}:t,o=n.isPreventDefault,a=void 0===o||o,i=n.delay,u=void 0===i?300:i,l=(0,r.useRef)(),c=(0,r.useRef)(),f=(0,r.useCallback)((function(t){a&&t.target&&((0,y.on)(t.target,"touchend",Ze,{passive:!1}),c.current=t.target),l.current=setTimeout((function(){return e(t)}),u)}),[e,u,a]),s=(0,r.useCallback)((function(){l.current&&clearTimeout(l.current),a&&c.current&&(0,y.S1)(c.current,"touchend",Ze)}),[a]);return{onMouseDown:function(e){return f(e)},onTouchStart:function(e){return f(e)},onMouseUp:s,onMouseLeave:s,onTouchEnd:s}},qe=function(e){void 0===e&&(e={});var t=(0,r.useState)(e),n=t[0],o=t[1],a=(0,r.useMemo)((function(){return{set:function(e,t){o((function(n){var r;return(0,f.__assign)((0,f.__assign)({},n),((r={})[e]=t,r))}))},setAll:function(e){o(e)},remove:function(e){o((function(t){var n=t,r=e;n[r];return(0,f.__rest)(n,["symbol"===typeof r?r:r+""])}))},reset:function(){return o(e)}}}),[o]),i=(0,f.__assign)({get:(0,r.useCallback)((function(e){return n[e]}),[n])},a);return[n,i]},Ke=n(94829),Ge=y.ae&&navigator.mediaDevices?function(){var e=(0,r.useState)({}),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=!0,t=function(){navigator.mediaDevices.enumerateDevices().then((function(t){e&&n({devices:t.map((function(e){return{deviceId:e.deviceId,groupId:e.groupId,kind:e.kind,label:e.label}}))})})).catch(y.ZT)};return(0,y.on)(navigator.mediaDevices,"devicechange",t),t(),function(){e=!1,(0,y.S1)(navigator.mediaDevices,"devicechange",t)}}),[]),t}:function(){return{}};function Xe(e,t){var n=(0,r.useRef)(e),o=(0,r.useState)(t),a=o[0],i=o[1];return[a,(0,r.useCallback)((function(e){2===n.current.length?n.current(e,i):i(n.current(e))}),[a])]}var Je=function(e,t){var n=(0,r.useMemo)((function(){return function(t,n){var r;return(r=e(t))[n.type].apply(r,n.payload)}}),[e]),o=(0,r.useReducer)(n,t),a=o[0],i=o[1],u=(0,r.useMemo)((function(){return Object.keys(e(t)).reduce((function(e,t){return e[t]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return i({type:t,payload:e})},e}),{})}),[e,t]);return[a,u]},$e={acceleration:{x:null,y:null,z:null},accelerationIncludingGravity:{x:null,y:null,z:null},rotationRate:{alpha:null,beta:null,gamma:null},interval:16},Qe=function(e){void 0===e&&(e=$e);var t=(0,r.useState)(e),n=t[0],o=t[1];return(0,r.useEffect)((function(){var e=function(e){var t=e.acceleration,n=e.accelerationIncludingGravity,r=e.rotationRate,a=e.interval;o({acceleration:{x:t.x,y:t.y,z:t.z},accelerationIncludingGravity:{x:n.x,y:n.y,z:n.z},rotationRate:{alpha:r.alpha,beta:r.beta,gamma:r.gamma},interval:a})};return(0,y.on)(window,"devicemotion",e),function(){(0,y.S1)(window,"devicemotion",e)}}),[]),n},et=function(e){(0,ee.Z)((function(){e()}))},tt=n(77823),nt=function(e){var t=(0,r.useRef)(0),n=(0,r.useState)(e),o=n[0],a=n[1],i=(0,r.useCallback)((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){a(e)}))}),[]);return(0,tt.Z)((function(){cancelAnimationFrame(t.current)})),[o,i]},rt=function(e){var t=nt({docX:0,docY:0,posX:0,posY:0,elX:0,elY:0,elH:0,elW:0}),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=function(t){if(e&&e.current){var n=e.current.getBoundingClientRect(),r=n.left,a=n.top,i=n.width,u=n.height,l=r+window.pageXOffset,c=a+window.pageYOffset,f=t.pageX-l,s=t.pageY-c;o({docX:t.pageX,docY:t.pageY,posX:l,posY:c,elX:f,elY:s,elH:u,elW:i})}};return(0,y.on)(document,"mousemove",t),function(){(0,y.S1)(document,"mousemove",t)}}),[e]),n},ot={current:null},at=function(e,t){void 0===t&&(t={});var n=!!t.whenHovered,r=!!t.bound,o=ye(e,n),a=rt(n&&!o?ot:e);return r&&(a.elX=Math.max(0,Math.min(a.elX,a.elW)),a.elY=Math.max(0,Math.min(a.elY,a.elH))),a},it=function(){var e=(0,r.useState)(0),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(e){n(e.deltaY+t)};return(0,y.on)(window,"wheel",e,!1),function(){return(0,y.S1)(window,"wheel",e)}})),t},ut=y.ae?navigator:void 0,lt=ut&&(ut.connection||ut.mozConnection||ut.webkitConnection);function ct(e){var t=null===ut||void 0===ut?void 0:ut.onLine,n=null===e||void 0===e?void 0:e.online;return{online:t,previous:n,since:t!==n?new Date:null===e||void 0===e?void 0:e.since,downlink:null===lt||void 0===lt?void 0:lt.downlink,downlinkMax:null===lt||void 0===lt?void 0:lt.downlinkMax,effectiveType:null===lt||void 0===lt?void 0:lt.effectiveType,rtt:null===lt||void 0===lt?void 0:lt.rtt,saveData:null===lt||void 0===lt?void 0:lt.saveData,type:null===lt||void 0===lt?void 0:lt.type}}function ft(e){var t=(0,r.useState)(null!==e&&void 0!==e?e:ct),n=t[0],o=t[1];return(0,r.useEffect)((function(){var e=function(){o(ct)};return(0,y.on)(window,"online",e,{passive:!0}),(0,y.on)(window,"offline",e,{passive:!0}),lt&&(0,y.on)(lt,"change",e,{passive:!0}),function(){(0,y.S1)(window,"online",e),(0,y.S1)(window,"offline",e),lt&&(0,y.S1)(lt,"change",e)}}),[]),n}var st=z;var dt=function(e,t){var n=(0,r.useState)(t),o=n[0],a=n[1];return(0,H.Z)((function(){var t=e.subscribe(a);return function(){return t.unsubscribe()}}),[e]),o},pt={angle:0,type:"landscape-primary"},mt=function(e){void 0===e&&(e=pt);var t=(0,r.useState)(e),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=window.screen,n=!0,r=function(){if(n){var r=t.orientation;if(r){var a=r.angle,i=r.type;o({angle:a,type:i})}else void 0!==window.orientation?o({angle:"number"===typeof window.orientation?window.orientation:0,type:""}):o(e)}};return(0,y.on)(window,"orientationchange",r),r(),function(){n=!1,(0,y.S1)(window,"orientationchange",r)}}),[]),n},vt=function(e,t){void 0===t&&(t=[]),(0,r.useEffect)((function(){if(e){var t=function(t){var n=(t=t||window.event).relatedTarget||t.toElement;n&&"HTML"!==n.nodeName||e()};return(0,y.on)(document,"mouseout",t),function(){(0,y.S1)(document,"mouseout",t)}}}),t)},gt=function(e){var t=(0,r.useState)(""),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=!0,n=null,r=function(){t&&o((function(){var e;return null!==(e=null===n||void 0===n?void 0:n.state)&&void 0!==e?e:""}))};return navigator.permissions.query(e).then((function(e){n=e,(0,y.on)(n,"change",r),r()})).catch(y.ZT),function(){n&&(0,y.S1)(n,"change",r),t=!1,n=null}}),[e]),n},ht=n(37176),bt=n(44536),yt=function(){var e=s();return(0,r.useCallback)((function(t){return new Promise((function(n,r){t.then((function(t){e()&&n(t)}),(function(t){e()&&r(t)}))}))}),[])},wt=function(e){void 0===e&&(e=[]);var t=(0,r.useState)(e),n=t[0],o=t[1];return{add:function(e){o((function(t){return(0,f.__spreadArrays)(t,[e])}))},remove:function(){var e;return o((function(t){var n=t[0],r=t.slice(1);return e=n,r})),e},get first(){return n[0]},get last(){return n[n.length-1]},get size(){return n.length}}},Ot=function(e,t){void 0===e&&(e=1e12),void 0===t&&(t=0);var n=(0,r.useState)(0),o=n[0],a=n[1];return(0,H.Z)((function(){var n,r,o,i=function(){var t=Math.min(1,(Date.now()-o)/e);a(t),u()},u=function(){n=requestAnimationFrame(i)},l=setTimeout((function(){r=setTimeout((function(){cancelAnimationFrame(n),a(1)}),e),o=Date.now(),u()}),t);return function(){clearTimeout(r),clearTimeout(l),cancelAnimationFrame(n)}}),[e,t]),o};function xt(e,t){void 0===t&&(t=!0);var n=(0,r.useRef)(null),o=(0,r.useRef)(!1),a=(0,r.useRef)(e);a.current=e;var i=(0,r.useCallback)((function(e){o.current&&(a.current(e),n.current=requestAnimationFrame(i))}),[]),u=(0,r.useMemo)((function(){return[function(){o.current&&(o.current=!1,n.current&&cancelAnimationFrame(n.current))},function(){o.current||(o.current=!0,n.current=requestAnimationFrame(i))},function(){return o.current}]}),[]);return(0,r.useEffect)((function(){return t&&u[1](),u[0]}),[]),u}var Et,jt=function(e,t){return new URLSearchParams(e).get(t)},kt=y.jU?function(e){var t=window.location,n=(0,r.useState)((function(){return jt(t.search,e)})),o=n[0],a=n[1];return(0,r.useEffect)((function(){var n=function(){a(jt(t.search,e))};return(0,y.on)(window,"popstate",n),(0,y.on)(window,"pushstate",n),(0,y.on)(window,"replacestate",n),function(){(0,y.S1)(window,"popstate",n),(0,y.S1)(window,"pushstate",n),(0,y.S1)(window,"replacestate",n)}}),[]),o}:function(){return null},Pt=(n(76297),function(e){void 0===e&&(e={});var t=e.disabled,n=_e(e),o=(0,r.useState)({isScratching:!1}),a=o[0],i=o[1],u=(0,r.useRef)(a),l=(0,r.useRef)(!1),c=(0,r.useRef)(null),s=(0,r.useState)(null),d=s[0],p=s[1];return(0,r.useEffect)((function(){if(!t&&d){var e,r,o=function(e,t){cancelAnimationFrame(c.current),c.current=requestAnimationFrame((function(){var r=d.getBoundingClientRect(),o=r.left,a=r.top,l=o+window.scrollX,c=a+window.scrollY,s=e-l,p=t-c;i((function(e){var t=(0,f.__assign)((0,f.__assign)({},e),{dx:s-(e.x||0),dy:p-(e.y||0),end:Date.now(),isScratching:!0});return u.current=t,(n.current.onScratch||y.ZT)(t),t}))}))},a=function(e){o(e.pageX,e.pageY)},s=function(e){o(e.changedTouches[0].pageX,e.changedTouches[0].pageY)},p=function(){l.current&&(l.current=!1,u.current=(0,f.__assign)((0,f.__assign)({},u.current),{isScratching:!1}),(n.current.onScratchEnd||y.ZT)(u.current),i({isScratching:!1}),(0,y.S1)(window,"mousemove",a),(0,y.S1)(window,"touchmove",s),(0,y.S1)(window,"mouseup",e),(0,y.S1)(window,"touchend",r))};e=p,r=p;var m=function(t,o){if(l.current){var c=d.getBoundingClientRect(),f=c.left,p=c.top,m=f+window.scrollX,v=p+window.scrollY,g=t-m,h=o-v,b=Date.now(),w={isScratching:!0,start:b,end:b,docX:t,docY:o,x:g,y:h,dx:0,dy:0,elH:d.offsetHeight,elW:d.offsetWidth,elX:m,elY:v};u.current=w,(n.current.onScratchStart||y.ZT)(w),i(w),(0,y.on)(window,"mousemove",a),(0,y.on)(window,"touchmove",s),(0,y.on)(window,"mouseup",e),(0,y.on)(window,"touchend",r)}},v=function(e){l.current=!0,m(e.pageX,e.pageY)},g=function(e){l.current=!0,m(e.changedTouches[0].pageX,e.changedTouches[0].pageY)};return(0,y.on)(d,"mousedown",v),(0,y.on)(d,"touchstart",g),function(){(0,y.S1)(d,"mousedown",v),(0,y.S1)(d,"touchstart",g),(0,y.S1)(window,"mousemove",a),(0,y.S1)(window,"touchmove",s),(0,y.S1)(window,"mouseup",e),(0,y.S1)(window,"touchend",r),c.current&&cancelAnimationFrame(c.current),c.current=null,l.current=!1,u.current={isScratching:!1},i(u.current)}}}),[d,t,n]),[p,a]}),St=Pt,Ct=function(e){var t=nt({x:0,y:0}),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=function(){e.current&&o({x:e.current.scrollLeft,y:e.current.scrollTop})};return e.current&&(0,y.on)(e.current,"scroll",t,{capture:!1,passive:!0}),function(){e.current&&(0,y.S1)(e.current,"scroll",t)}}),[e]),n},_t=function(e){var t=(0,r.useState)(!1),n=t[0],o=t[1];return(0,r.useEffect)((function(){if(e.current){var t,n=function(){o(!0),clearTimeout(t),t=setTimeout((function(){o(!1)}),150)};return(0,y.on)(e.current,"scroll",n,!1),function(){e.current&&(0,y.S1)(e.current,"scroll",n,!1)}}return function(){}}),[e]),n},Mt=function(e,t,n){if(!y.jU)return[t,function(){}];var o=(0,r.useState)((function(){try{var r=sessionStorage.getItem(e);return"string"!==typeof r?(sessionStorage.setItem(e,n?String(t):JSON.stringify(t)),t):n?r:JSON.parse(r||"null")}catch(o){return t}})),a=o[0],i=o[1];return(0,r.useEffect)((function(){try{var t=n?String(a):JSON.stringify(a);sessionStorage.setItem(e,t)}catch(o){}})),[a,i]},Tt=n(99376),Dt=function(e,t){return e.every((function(e,n){return(0,Tt.D)(e,t[n])}))},At=function(e,t){K(e,t,Dt)},It=r.useState,Nt=r.useEffect,Lt=r.useRef,Rt=function(e,t){var n=void 0===t?{}:t,a=n.width,i=void 0===a?1/0:a,u=n.height,l=void 0===u?1/0:u;if(!y.jU)return["function"===typeof e?e({width:i,height:l}):e,{width:i,height:l}];var c=It({width:i,height:l}),s=c[0],d=c[1];"function"===typeof e&&(e=e(s));var p=e.props.style||{},m=Lt(null),v=null,g=function(){var e=m.current,t=e?{width:e.offsetWidth,height:e.offsetHeight}:{width:i,height:l};d(t)},h=function(e){(0,y.on)(e,"resize",g),setTimeout(g,35)};return Nt((function(){var e=m.current;if(e){if(e.contentWindow)v=e.contentWindow,h(v);else{var t=function(){(0,y.on)(e,"load",t),v=e.contentWindow,h(v)};(0,y.S1)(e,"load",t)}return function(){v&&v.removeEventListener&&(0,y.S1)(v,"resize",g)}}}),[]),p.position="relative",[r.cloneElement.apply(o,(0,f.__spreadArrays)([e,{style:p}],(0,f.__spreadArrays)([r.createElement("iframe",{ref:m,style:{background:"transparent",border:"none",height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-1}})],r.Children.toArray(e.props.children)))),s]},Ft=function(e,t){void 0===t&&(t={});var n=s(),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useRef)(0),u=v({isSliding:!1,value:0}),l=u[0],c=u[1];return a.current=l.value,(0,r.useEffect)((function(){if(y.jU){var r=void 0===t.styles||t.styles,u=void 0!==t.reverse&&t.reverse;e.current&&r&&(e.current.style.userSelect="none");var l=function(){!o.current&&n()&&((t.onScrubStart||y.ZT)(),o.current=!0,c({isSliding:!0}),v())},f=function(){o.current&&n()&&((t.onScrubStop||y.ZT)(a.current),o.current=!1,c({isSliding:!1}),g())},s=function(e){l(),d(e)},d=t.vertical?function(e){return h(e.clientY)}:function(e){return h(e.clientX)},p=function(e){l(),m(e)},m=t.vertical?function(e){return h(e.changedTouches[0].clientY)}:function(e){return h(e.changedTouches[0].clientX)},v=function(){(0,y.on)(document,"mousemove",d),(0,y.on)(document,"mouseup",f),(0,y.on)(document,"touchmove",m),(0,y.on)(document,"touchend",f)},g=function(){(0,y.S1)(document,"mousemove",d),(0,y.S1)(document,"mouseup",f),(0,y.S1)(document,"touchmove",m),(0,y.S1)(document,"touchend",f)},h=function(r){cancelAnimationFrame(i.current),i.current=requestAnimationFrame((function(){if(n()&&e.current){var o=e.current.getBoundingClientRect(),a=t.vertical?o.top:o.left,i=t.vertical?o.height:o.width;if(!i)return;var l=(r-a)/i;l>1?l=1:l<0&&(l=0),u&&(l=1-l),c({value:l}),(t.onScrub||y.ZT)(l)}}))};return(0,y.on)(e.current,"mousedown",s),(0,y.on)(e.current,"touchstart",p),function(){(0,y.S1)(e.current,"mousedown",s),(0,y.S1)(e.current,"touchstart",p)}}}),[e,t.vertical]),l};!function(e){e[e.init=0]="init",e[e.play=1]="play",e[e.pause=2]="pause",e[e.end=3]="end"}(Et||(Et={}));var zt=function(e,t){var n=(0,r.useRef)(!1),o=(0,r.useState)((function(){var e=t.voice||{},n=e.lang,r=void 0===n?"default":n,o=e.name,a=void 0===o?"":o;return{isPlaying:!1,status:Et[Et.init],lang:t.lang||"default",voiceInfo:{lang:r,name:a},rate:t.rate||1,pitch:t.pitch||1,volume:t.volume||1}})),a=o[0],i=o[1],u=(0,r.useCallback)((function(){n.current&&i((function(e){return(0,f.__assign)((0,f.__assign)({},e),{isPlaying:!0,status:Et[Et.play]})}))}),[]),l=(0,r.useCallback)((function(){n.current&&i((function(e){return(0,f.__assign)((0,f.__assign)({},e),{isPlaying:!1,status:Et[Et.pause]})}))}),[]),c=(0,r.useCallback)((function(){n.current&&i((function(e){return(0,f.__assign)((0,f.__assign)({},e),{isPlaying:!1,status:Et[Et.end]})}))}),[]);return(0,r.useEffect)((function(){n.current=!0;var r=new SpeechSynthesisUtterance(e);return t.lang&&(r.lang=t.lang),t.voice&&(r.voice=t.voice),r.rate=t.rate||1,r.pitch=t.pitch||1,r.volume=t.volume||1,r.onstart=u,r.onpause=l,r.onresume=u,r.onend=c,window.speechSynthesis.speak(r),function(){n.current=!1}}),[]),a},Wt=function(e){(0,H.Z)((function(){var t=function(t){!function(){var e=document.activeElement,t=document.body;if(!e)return!1;if(e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}()&&function(e){var t=e.keyCode,n=e.metaKey,r=e.ctrlKey,o=e.altKey;return!(n||r||o)&&(t>=48&&t<=57||t>=65&&t<=90)}(t)&&e(t)};return(0,y.on)(document,"keydown",t),function(){(0,y.S1)(document,"keydown",t)}}),[])},Vt=n(30644);function Bt(e,t,n){if(void 0===t&&(t=10),t<1)throw new Error("Capacity has to be greater than 1, got '"+t+"'");var o=(0,Vt.Z)(),a=(0,r.useState)(e),i=a[0],u=a[1],l=(0,r.useRef)(null!==n&&void 0!==n?n:[]),c=(0,r.useRef)(0);return o&&(l.current.length?(l.current[l.current.length-1]!==e&&l.current.push(e),l.current.length>t&&(l.current=l.current.slice(l.current.length-t))):l.current.push(e),c.current=l.current.length&&l.current.length-1),[i,(0,r.useCallback)((function(e){u((function(n){return(e=R(e,n))!==n&&(c.current<l.current.length-1&&(l.current=l.current.slice(0,c.current+1)),c.current=l.current.push(e)-1,l.current.length>t&&(l.current=l.current.slice(l.current.length-t))),e}))}),[i,t]),(0,r.useMemo)((function(){return{history:l.current,position:c.current,capacity:t,back:function(e){void 0===e&&(e=1),c.current&&u((function(){return c.current-=Math.min(e,c.current),l.current[c.current]}))},forward:function(e){void 0===e&&(e=1),c.current!==l.current.length-1&&u((function(){return c.current=Math.min(c.current+e,l.current.length-1),l.current[c.current]}))},go:function(e){e!==c.current&&u((function(){return c.current=e<0?Math.max(l.current.length+e,0):Math.min(l.current.length-1,e),l.current[c.current]}))}}}),[i])]}function Ut(e){void 0===e&&(e=[]);var t=s(),n=L(),o=(0,r.useRef)(0);(0,u.Z)((function(){e.length<=o.current&&(o.current=e.length-1,n())}),[e.length]);var a=(0,r.useMemo)((function(){return{next:function(){return a.setStateAt(o.current+1)},prev:function(){return a.setStateAt(o.current-1)},setStateAt:function(r){t()&&e.length&&r!==o.current&&(o.current=r>=0?r%e.length:e.length+r%e.length,n())},setState:function(r){if(t()){var a=e.length?e.indexOf(r):-1;if(-1===a)throw new Error("State '"+r+"' is not a valid state (does not exist in state list)");o.current=a,n()}}}}),[e]);return(0,f.__assign)({state:e[o.current],currentIndex:o.current},a)}var Ht=function(e,t){void 0===t&&(t=200);var n=(0,r.useState)(e),o=n[0],a=n[1],i=(0,r.useRef)(),u=(0,r.useRef)(null),l=(0,r.useRef)(0);return(0,r.useEffect)((function(){if(i.current)u.current=e,l.current=!0;else{a(e);var n=function(){l.current?(l.current=!1,a(u.current),i.current=setTimeout(n,t)):i.current=void 0};i.current=setTimeout(n,t)}}),[e]),(0,tt.Z)((function(){i.current&&clearTimeout(i.current)})),o},Zt=function(e,t,n){void 0===t&&(t=200);var o=(0,r.useState)(null),a=o[0],i=o[1],u=(0,r.useRef)(),l=(0,r.useRef)();return(0,r.useEffect)((function(){if(u.current)l.current=n;else{i(e.apply(void 0,n));var r=function(){l.current?(i(e.apply(void 0,l.current)),l.current=void 0,u.current=setTimeout(r,t)):u.current=void 0};u.current=setTimeout(r,t)}}),n),(0,tt.Z)((function(){u.current&&clearTimeout(u.current)})),a},Yt=n(34513);function qt(e){void 0===e&&(e=0);var t=L();return(0,Yt.Z)(t,e)}var Kt={restoreOnUnmount:!1};var Gt="undefined"!==typeof document?function(e,t){void 0===t&&(t=Kt);var n=(0,r.useRef)(document.title);document.title!==e&&(document.title=e),(0,r.useEffect)((function(){return t&&t.restoreOnUnmount?function(){document.title=n.current}:void 0}),[])}:function(e){},Xt=n(75534),Jt=function(e,t,n){return void 0===e&&(e="inCirc"),void 0===t&&(t=200),void 0===n&&(n=0),(0,Xt.U[e])(Ot(t,n))},$t=function(){var e=(0,r.useRef)(!1);return(0,ee.Z)((function(){return function(){e.current=!0}})),(0,r.useMemo)((function(){return function(t,n){return new Promise((function(r,o){t.then((function(t){e.current||r(t)}),(function(t){e.current?n?n(t):console.error("useUnmountPromise",t):o(t)}))}))}}),[])};function Qt(e,t){void 0===t&&(t=[]);var n=Te(t),r=n[0],o=n[1];return[r,(0,f.__assign)((0,f.__assign)({},o),{upsert:function(t){o.upsert(e,t)}})]}var en=y.ae&&"vibrate"in navigator?function(e,t,n){void 0===e&&(e=!0),void 0===t&&(t=[1e3,1e3]),void 0===n&&(n=!0),(0,r.useEffect)((function(){var r;if(e&&(navigator.vibrate(t),n)){var o=t instanceof Array?t.reduce((function(e,t){return e+t})):t;r=setInterval((function(){navigator.vibrate(t)}),o)}return function(){e&&(navigator.vibrate(0),n&&clearInterval(r))}}),[e])}:y.ZT,tn=h("video");function nn(e,t,n){void 0===n&&(n=[void 0]);var o=(0,r.useRef)(t),a=(0,r.useRef)(e);o.current=t,a.current=e;var i=(0,r.useState)(n),u=i[0],l=i[1],c=(0,r.useCallback)((function(){o.current.length>=2?o.current(a.current,l):l(o.current(a.current))}),[l]);return(0,r.useEffect)((function(){c()}),[e]),[u,c]}var rn=function(e){if("undefined"==typeof document)return 0;if(document.body&&(!document.readyState||"loading"!==document.readyState)){if(!0!==e&&"number"==typeof rn.__cache)return rn.__cache;var t=document.createElement("div"),n=t.style;n.display="block",n.position="absolute",n.width="100px",n.height="100px",n.left="-999px",n.top="-999px",n.overflow="scroll",document.body.insertBefore(t,null);var r=t.clientWidth;if(0!==r)return rn.__cache=100-r,document.body.removeChild(t),rn.__cache;document.body.removeChild(t)}};function on(){var e=(0,r.useState)(rn()),t=e[0],n=e[1];return(0,r.useEffect)((function(){if("undefined"===typeof t){var e=requestAnimationFrame((function(){n(rn())}));return function(){return cancelAnimationFrame(e)}}}),[]),t}function an(e,t,n){if(void 0===n&&(n=[void 0]),"object"!==typeof e)throw new Error("states expected to be an object or array, got "+typeof e);var o=(0,r.useRef)(t),a=(0,r.useRef)(e);o.current=t,a.current=e;var i=(0,r.useState)(n),u=i[0],l=i[1],c=(0,r.useCallback)((function(){o.current.length>=2?o.current(a.current,l):l(o.current(a.current))}),[l]);return(0,r.useEffect)((function(){c()}),Object.values(e)),[u,c]}var un,ln=function(){var e=nt((function(){return{x:y.jU?window.pageXOffset:0,y:y.jU?window.pageYOffset:0}})),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){n((function(e){var t=window.pageXOffset,n=window.pageYOffset;return e.x!==t||e.y!==n?{x:t,y:n}:e}))};return e(),(0,y.on)(window,"scroll",e,{capture:!1,passive:!0}),function(){(0,y.S1)(window,"scroll",e)}}),[]),t},cn=function(e,t){void 0===e&&(e=1/0),void 0===t&&(t=1/0);var n=nt({width:y.jU?window.innerWidth:e,height:y.jU?window.innerHeight:t}),o=n[0],a=n[1];return(0,r.useEffect)((function(){if(y.jU){var e=function(){a({width:window.innerWidth,height:window.innerHeight})};return(0,y.on)(window,"resize",e),function(){(0,y.S1)(window,"resize",e)}}}),[]),o},fn=n(88553);!function(e){e.ZOOMING_IN="ZOOMING_IN",e.ZOOMING_OUT="ZOOMING_OUT"}(un||(un={}));var sn=function(e){var t=(0,r.useMemo)((function(){return{evCache:[],prevDiff:-1}}),[e.current]),n=(0,r.useState)(),o=n[0],a=n[1],i=function(e){for(var n=0;n<t.evCache.length;n++)if(e.pointerId==t.evCache[n].pointerId){t.evCache[n]=e;break}if(2==t.evCache.length){var r=Math.abs(t.evCache[0].clientX-t.evCache[1].clientX);t.prevDiff>0&&(r>t.prevDiff&&a([un.ZOOMING_IN,r]),r<t.prevDiff&&a([un.ZOOMING_OUT,r])),t.prevDiff=r}},u=function(e){t.evCache.push(e)},l=function(e){c(e),t.evCache.length<2&&(t.prevDiff=-1)},c=function(e){for(var n=0;n<t.evCache.length;n++)if(t.evCache[n].pointerId==e.pointerId){t.evCache.splice(n,1);break}};return(0,r.useEffect)((function(){(null===e||void 0===e?void 0:e.current)&&(e.current.onpointerdown=u,e.current.onpointermove=i,e.current.onpointerup=l,e.current.onpointercancel=l,e.current.onpointerout=l,e.current.onpointerleave=l)}),[null===e||void 0===e?void 0:e.current]),o?{zoomingState:o[0],pinchState:o[1]}:{zoomingState:null,pinchState:0}};function dn(){return++(0,r.useRef)(0).current}var pn=function(e){void 0===e&&(e=new Set);var t=(0,r.useState)(e),n=t[0],o=t[1],a=(0,r.useMemo)((function(){return{add:function(e){return o((function(t){return new Set((0,f.__spreadArrays)(Array.from(t),[e]))}))},remove:function(e){return o((function(t){return new Set(Array.from(t).filter((function(t){return t!==e})))}))},toggle:function(e){return o((function(t){return t.has(e)?new Set(Array.from(t).filter((function(t){return t!==e}))):new Set((0,f.__spreadArrays)(Array.from(t),[e]))}))},reset:function(){return o(e)}}}),[o]),i=(0,f.__assign)({has:(0,r.useCallback)((function(e){return n.has(e)}),[n])},a);return[n,i]};function mn(e){var t={state:e instanceof Function?e():e,setState:function(e){t.state=R(e,t.state),t.setters.forEach((function(e){return e(t.state)}))},setters:[]};return function(){var e=(0,r.useState)(t.state),n=e[0],o=e[1];return(0,ee.Z)((function(){return function(){t.setters=t.setters.filter((function(e){return e!==o}))}})),(0,H.Z)((function(){t.setters.includes(o)||t.setters.push(o)})),[n,t.setState]}}var vn=function(){var e=(0,r.useState)((function(){return window.location.hash})),t=e[0],n=e[1],o=(0,r.useCallback)((function(){n(window.location.hash)}),[]);Me((function(){(0,y.on)(window,"hashchange",o)}),(function(){(0,y.S1)(window,"hashchange",o)}));var a=(0,r.useCallback)((function(e){e!==t&&(window.location.hash=e)}),[t]);return[t,a]}},76362:function(e,t,n){"use strict";n.d(t,{S1:function(){return a},ZT:function(){return r},ae:function(){return u},jU:function(){return i},on:function(){return o}});var r=function(){};function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var i="undefined"!==typeof window,u="undefined"!==typeof navigator},11042:function(e,t,n){"use strict";var r=n(67294),o=n(76362).jU?r.useLayoutEffect:r.useEffect;t.Z=o},88553:function(e,t,n){"use strict";var r=n(67294),o=n(11042),a=n(76362),i={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};t.Z=a.jU&&"undefined"!==typeof window.ResizeObserver?function(){var e=(0,r.useState)(null),t=e[0],n=e[1],a=(0,r.useState)(i),u=a[0],l=a[1],c=(0,r.useMemo)((function(){return new window.ResizeObserver((function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,o=t.width,a=t.height,i=t.top,u=t.left,c=t.bottom,f=t.right;l({x:n,y:r,width:o,height:a,top:i,left:u,bottom:c,right:f})}}))}),[]);return(0,o.Z)((function(){if(t)return c.observe(t),function(){c.disconnect()}}),[t]),[n,u]}:function(){return[a.ZT,i]}},94829:function(e,t,n){"use strict";var r=n(67294),o=n(76362);t.Z=function(e,t){var n=(0,r.useState)(function(e,t){return void 0!==t?t:!!o.jU&&window.matchMedia(e).matches}(e,t)),a=n[0],i=n[1];return(0,r.useEffect)((function(){var t=!0,n=window.matchMedia(e),r=function(){t&&i(!!n.matches)};return n.addListener(r),i(n.matches),function(){t=!1,n.removeListener(r)}}),[e]),a}},44536:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(30644),a=function(e,t){return e===t};function i(e,t){void 0===t&&(t=a);var n=(0,r.useRef)(),i=(0,r.useRef)(e);return(0,o.Z)()||t(i.current,e)||(n.current=i.current,i.current=e),n.current}},84758:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5272).__importDefault(n(54738));t.default=function(e){return!e.prototype?r.default(e):e}},25921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.divWrapper=void 0;var r=n(5272),o=r.__importStar(n(67294)),a=r.__importDefault(n(84758)),i=o.createElement,u=function(e,t,n,o){var a;return i(e,t?r.__assign(((a={})[t]=o,a),n):r.__assign(r.__assign({},o),n))};t.divWrapper=function(e,t,n,r){return i("div",null,u(e,t,n,r))};t.default=function(e,t,n){void 0===n&&(n=u);var r=function(o,u,l){void 0===u&&(u=t),void 0===l&&(l=null);var c="string"===typeof o;if(c)return function(e){return r(e,o||t,u)};var f=function(t){return i(e,l,(function(e){return n(o,u,t,e)}))};return c?a.default(f):f};return r}},60584:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5272).__importDefault(n(12454)),o=function(e){return[e]};t.default=function(e,t){return void 0===t&&(t=o),function(n){return r.default(n,e.apply(void 0,t(n)))}}},76297:function(e,t,n){"use strict";var r=n(5272);r.__importDefault(n(12454)).default,r.__importDefault(n(25921)).default,r.__importDefault(n(60584)).default},12454:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5272),o=n(67294),a=parseInt(o.version.substr(0,o.version.indexOf(".")))>15;t.default=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var u=e.render,l=e.children,c=void 0===l?u:l,f=e.component,s=e.comp,d=void 0===s?f:s;return"function"===typeof c?c.apply(void 0,r.__spreadArrays([t],n)):d?o.createElement(d,t):c instanceof Array?a?c:o.createElement.apply(void 0,r.__spreadArrays(["div",null],c)):c&&c instanceof Object?"string"===typeof c.type?c:o.cloneElement(c,Object.assign({},c.props,t)):c||null}},54738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5272),o=r.__importStar(n(67294));t.default=function(e){var t=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(n,t),n.prototype.render=function(){return e(this.props,this.context)},n}(o.Component);return t}},10577:function(e){!function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,o=n.length,a={};r<o;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)a[n[0][r]]=e[r];return a}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(e,n){return new Promise(function(o,a){var i=function(){this.off("change",i),o()}.bind(this);this.on("change",i);var u=(e=e||t.documentElement)[r.requestFullscreen](n);u instanceof Promise&&u.then(i).catch(a)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var o=function(){this.off("change",o),e()}.bind(this);this.on("change",o);var a=t[r.exitFullscreen]();a instanceof Promise&&a.then(o).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=o[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=o[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=a:window.screenfull=a):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},41476:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=r(n(57848)),a=n(26678);t.default=function(e,t){var n={};return e&&"string"===typeof e?((0,o.default)(e,(function(e,r){e&&r&&(n[(0,a.camelCase)(e,t)]=r)})),n):n}},26678:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,u=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,l):e.replace(a,l)).replace(r,u))}},57848:function(e,t,n){var r=n(18139);function o(e,t){var n,o=null;if(!e||"string"!==typeof e)return o;for(var a,i,u=r(e),l="function"===typeof t,c=0,f=u.length;c<f;c++)a=(n=u[c]).property,i=n.value,l?t(a,i,n):i&&(o||(o={}),o[a]=i);return o}e.exports=o,e.exports.default=o},41330:function(e,t,n){"use strict";n.r(t);var r=n(87854),o=n.n(r),a=n(95348),i=n.n(a),u=new(o())({id:"skeleton",use:"skeleton-usage",viewBox:"0 0 1225 192",content:'<symbol xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 1225 192" id="skeleton"><path d="M-.464 126.486a.501.501 0 0 0-.036.187V197a.5.5 0 0 0 .5.5h1925.5c.28 0 .5-.224.5-.5V87.914a.498.498 0 0 0-.37-.483l-90.5-24.046a.503.503 0 0 0-.44.091l-88.62 70.036-67.7-75.319a.491.491 0 0 0-.63-.09l-111.22 69.485-102.25-64.143a.51.51 0 0 0-.68.132l-73.12 101.88-88.08-107.247a.505.505 0 0 0-.65-.11l-94.3 57.511-85.73-19.511a.49.49 0 0 0-.22 0l-96.57 22.108-15.8-26.017a.492.492 0 0 0-.33-.23l-71.441-14.668a.499.499 0 0 0-.287.026l-36.471 14.667a.503.503 0 0 0-.15.094l-33.007 30.039-27.171-48.716a.5.5 0 0 0-.814-.085l-51.672 59.467-84.567-55.42a.499.499 0 0 0-.654.094l-38.053 44.679-49.087-58.56-36.95-62.01a.5.5 0 0 0-.911.122l-33.249 120.05-27.307-40.101a.5.5 0 0 0-.819-.012l-33.743 46.692-51.595-20.913a.5.5 0 0 0-.357-.007l-89.706 32.263-80.733-47.642a.5.5 0 0 0-.662.14l-53.702 75.383-52.412-27.689-43.396-104.383a.5.5 0 0 0-.826-.15L82.968 63.1l-37.61-48.07a.5.5 0 0 0-.858.12L-.464 126.486Z" /></symbol>'});i().add(u);t.default=u},48196:function(e,t,n){"use strict";n.r(t);var r=n(87854),o=n.n(r),a=n(95348),i=n.n(a),u=new(o())({id:"correlations",use:"correlations-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="correlations"><path d="M12.99 15.24 17 17.58V22h2v-5.57l-4.02-2.35-1.99 1.16Zm9.22-9.45L18 1.59 13.79 5.8a.996.996 0 1 0 1.41 1.41l1.8-1.8v4.01l-5 2.92-5-2.91V5.41L8.79 7.2c.2.2.45.29.71.29.26 0 .51-.1.71-.29a.996.996 0 0 0 0-1.41L6 1.59l-4.21 4.2A.996.996 0 1 0 3.2 7.2L5 5.41v5.16l5.02 2.93L5 16.43V22h2v-4.43l12-7V5.41l1.79 1.79c.2.2.45.29.71.29.26 0 .51-.1.71-.29a.996.996 0 0 0 0-1.41Z" /></symbol>'});i().add(u);t.default=u},89416:function(e,t,n){"use strict";n.r(t);var r=n(87854),o=n.n(r),a=n(95348),i=n.n(a),u=new(o())({id:"drag_vertical",use:"drag_vertical-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="drag_vertical"><path d="M3 15h8.25v4.628l-1.943-1.936L8.25 18.75 12 22.5l3.75-3.75-1.057-1.058-1.943 1.936V15H21v-1.5H3V15ZM8.25 5.25l1.057 1.058 1.943-1.936V9H3v1.5h18V9h-8.25V4.372l1.943 1.936L15.75 5.25 12 1.5 8.25 5.25Z" /></symbol>'});i().add(u);t.default=u},79608:function(e,t,n){"use strict";n.r(t);var r=n(87854),o=n.n(r),a=n(95348),i=n.n(a),u=new(o())({id:"plugins",use:"plugins-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="plugins"><path d="M21.71 7.29c-.94-.94-2.47-.94-3.41 0L16 9.59 14.41 8l2.29-2.29c.94-.94.94-2.47 0-3.41s-2.47-.94-3.41 0L11 4.59l-.57-.57a1.31 1.31 0 0 0-1.85 0L6.86 5.73c-.84.84-1.4 1.89-1.63 3.05l-.65 3.23-.33.33c-.58.58-.9 1.35-.9 2.17 0 .82.32 1.59.9 2.16l.84.84L2.3 20.3a.996.996 0 0 0 .71 1.7c.26 0 .51-.1.71-.29l2.78-2.8.84.84a3.068 3.068 0 0 0 4.33-.01l.33-.33 3.23-.65a5.99 5.99 0 0 0 3.05-1.63L20 15.41c.51-.51.51-1.34 0-1.85l-.57-.57 2.29-2.29c.93-.93.93-2.47-.01-3.41Zm-7-3.58c.16-.16.42-.16.59 0 .16.16.16.42 0 .59L13 6.59 12.41 6l2.3-2.29Zm2.15 12.02c-.56.56-1.26.93-2.03 1.09l-3.82.76-.76.76c-.41.41-1.09.41-1.5 0l-3.08-3.09a1.06 1.06 0 0 1 0-1.5l.76-.76.69-3.46 3.77 3.76c.78.78 2.05.78 2.83 0L7.94 7.53c.1-.13.21-.26.33-.38L9.5 5.91l8.59 8.59-1.23 1.23Zm3.43-6.44L18 11.59l-.59-.59 2.29-2.29c.16-.16.42-.16.59 0 .16.16.16.42 0 .58Z" /></symbol>'});i().add(u);t.default=u},97507:function(e,t,n){"use strict";n.r(t);var r=n(87854),o=n.n(r),a=n(95348),i=n.n(a),u=new(o())({id:"selected_area",use:"selected_area-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="selected_area"><path d="M15 19.5h3v3h1.5v-3h3V18h-3v-3H18v3h-3v1.5ZM9 19.5h3V18H9v1.5ZM6 19.5V18H3v-3H1.5v3A1.5 1.5 0 0 0 3 19.5h3ZM18 12h1.5V9H18v3ZM18 3v3h1.5V3A1.5 1.5 0 0 0 18 1.5h-3V3h3ZM1.5 12H3V9H1.5v3ZM9 3h3V1.5H9V3ZM3 6V3h3V1.5H3A1.5 1.5 0 0 0 1.5 3v3H3Z" /></symbol>'});i().add(u);t.default=u},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},75534:function(e,t){"use strict";t.U={linear:function(e){return e},quadratic:function(e){return e*(-e*e*e+4*e*e-6*e+4)},cubic:function(e){return e*(4*e*e-9*e+6)},elastic:function(e){return e*(33*e*e*e*e-106*e*e*e+126*e*e-67*e+15)},inQuad:function(e){return e*e},outQuad:function(e){return e*(2-e)},inOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},inCubic:function(e){return e*e*e},outCubic:function(e){return--e*e*e+1},inOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},inQuart:function(e){return e*e*e*e},outQuart:function(e){return 1- --e*e*e*e},inOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},inQuint:function(e){return e*e*e*e*e},outQuint:function(e){return 1+--e*e*e*e*e},inOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e},inSine:function(e){return 1-Math.cos(e*(Math.PI/2))},outSine:function(e){return Math.sin(e*(Math.PI/2))},inOutSine:function(e){return-(Math.cos(Math.PI*e)-1)/2},inExpo:function(e){return Math.pow(2,10*(e-1))},outExpo:function(e){return 1-Math.pow(2,-10*e)},inOutExpo:function(e){return(e/=.5)<1?Math.pow(2,10*(e-1))/2:(e--,(2-Math.pow(2,-10*e))/2)},inCirc:function(e){return 1-Math.sqrt(1-e*e)},outCirc:function(e){return Math.sqrt(1-(e-=1)*e)},inOutCirc:function(e){return(e/=.5)<1?-(Math.sqrt(1-e*e)-1)/2:(e-=2,(Math.sqrt(1-e*e)+1)/2)}}},25935:function(e,t,n){"use strict";var r=n(30488);r.domToReact,r.htmlToDOM,r.attributesToProps,r.Comment,r.Element,r.ProcessingInstruction,r.Text;t.ZP=r}}]);
\ No newline at end of file |