summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/1729.b8957abec2922839104a.chunk.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/gui/v2/1729.b8957abec2922839104a.chunk.js')
-rw-r--r--web/gui/v2/1729.b8957abec2922839104a.chunk.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/web/gui/v2/1729.b8957abec2922839104a.chunk.js b/web/gui/v2/1729.b8957abec2922839104a.chunk.js
deleted file mode 100644
index 9f348c56f..000000000
--- a/web/gui/v2/1729.b8957abec2922839104a.chunk.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6eb3b9bf-e791-4561-adf2-5e5463618c73",e._sentryDebugIdIdentifier="sentry-dbid-6eb3b9bf-e791-4561-adf2-5e5463618c73")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"8b7b01b6c705cf50f8050ce0fb8fc6b58fe68567"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[1729],{91729:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});var r=t(67294),o=t(45916),a=t(29439),u=t(28852),l=t(54005),d=function(e){return"dismissed-agent-banner-".concat(e)},s=function(){var e=(0,u.Z)().id,n=(0,r.useState)(!0),t=(0,a.Z)(n,2),o=t[0],s=t[1],c=(0,l.Z)().sendButtonClickedLog;return(0,r.useEffect)((function(){var n="true"==localStorage.getItem(d(e));s(n)}),[e]),{dismissed:o,onClose:(0,r.useCallback)((function(){localStorage.setItem(d(e),!0),s(!0),c({feature:"AgentBannerDismiss"})}),[e,s,c])}},c=t(93416),f=t(91008),i=function(){var e=(0,l.Z)().sendButtonClickedLog,n=(0,r.useCallback)((function(){window.open("https://www.netdata.cloud/contact-us/?subject=agent-banner","_blank","noopener,noreferrer"),e({feature:"AgentBannerContactUs"})}),[e]);return r.createElement(c.Flex,{width:"100%",justifyContent:"center",alignItems:"center"},r.createElement(c.Text,null,"Need more features or premium support? Explore Netdata Enterprise On-Prem or Premium Support."," ",r.createElement(f.Z,{onClick:n,testId:"agent-banner-contact-link"},"Contact us"),"."))},b=t(63346),g=t(78710),p=function(){var e=s(),n=e.dismissed,t=e.onClose;return g.ZP&&!n?r.createElement(b.ZP,{feature:"AgentBanner"},r.createElement(o.Z,{testId:"agent-banner",width:"100%",background:"successSemi",onClose:t,tooltipProps:{align:"top"},zIndex:20},r.createElement(i,null))):null}}}]); \ No newline at end of file