try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="e24b74b2-dca0-465a-a35b-d83d2dd91288",e._sentryDebugIdIdentifier="sentry-dbid-e24b74b2-dca0-465a-a35b-d83d2dd91288")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"1bb8aa54b6deb0d4e541ef02c3c43ba128927d94"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6497],{96497:(e,d,o)=>{o.r(d),o.d(d,{default:()=>f});var t=o(96540),n=o(46093),r=o(92318);var s=o(46587),a=o(24609),i=o(3319),l=o(60908),b=o(74848);const u=()=>{const{sendLog:e,isReady:d}=(0,i.A)();return(0,t.useEffect)((()=>{if(!d)return;if(window.hbspt?.forms)return void window.hbspt.forms.create({region:"na1",portalId:"4567453",formId:"d3749ae3-d192-40b4-9be6-3666bfabbbd0",target:"#hubspotForm"});const o=document.createElement("script");o.src="https://js.hsforms.net/forms/v2.js",document.body.appendChild(o),o.addEventListener("load",(()=>{window.hbspt&&window.hbspt.forms.create({region:"na1",portalId:"4567453",formId:"d3749ae3-d192-40b4-9be6-3666bfabbbd0",target:"#hubspotForm",onFormSubmitted:(d,o)=>{!function(e,d){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const t=new Date;t.setTime(t.getTime()+24*o*60*60*1e3),document.cookie=`${e}=${d}; expires=${t.toUTCString()}; path=/`}("demoContactFormSubmitted","true",365),e({feature:"DemoContact",message:"Demo form submitted",...o?.submissionValues||{}}),window.location.reload()}})}))}),[d]),d?(0,b.jsx)(n.Layer,{backdrop:!0,backdropProps:{backdropBlur:"3px"},children:(0,b.jsxs)(n.Flex,{column:!0,gap:4,background:"modalBackground",padding:[3,4,0],round:!0,width:100,children:[(0,b.jsx)(n.H2,{children:"Access Netdata\u2019s Live Demo"}),(0,b.jsx)(n.Flex,{id:"hubspotForm"})]})}):null},f=(0,t.memo)((()=>{const{demoSlug:e}=r.A,d=(0,a.bq)(),{isLoaded:o,isAnonymous:t}=(0,s.uW)();if(!o||!t)return null;if(e!==d)return null;return"true"===(e=>{const d=`; ${document.cookie}`.split(`; ${e}=`);if(2===d.length)return d.pop().split(";").shift()})("demoContactFormSubmitted")?null:(0,b.jsx)(l.Ay,{feature:"DemoContact",children:(0,b.jsx)(u,{})})}))}}]);