File: //opt/netdata/usr/local/share/netdata/web/v3/4582.be18c61bd5f01d2c5efd.chunk.js
try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="335d9161-bf77-4b18-8071-07048a660f5b",e._sentryDebugIdIdentifier="sentry-dbid-335d9161-bf77-4b18-8071-07048a660f5b")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"553c63cf6c9afe8a8ef298d5e602e53feac44b0d"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[4582],{34495:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c,usePostSignup:()=>u});var s=t(96540),l=t(88934),o=t(63766),i=t(46587),r=t(10444),a=t(79748),d=t(74848);const u=()=>{const e=`postsignup-disnissed-${(0,i.NJ)()}`;return[localStorage.getItem(e),(0,s.useCallback)((()=>{localStorage.setItem(e,!0)}),[e])]},c=()=>{const e=(0,l.Zp)(),{pathname:n}=(0,l.zy)(),[,t]=u(),i=(0,r.J)(),c=(0,s.useCallback)((()=>{t(),e(n,{replace:!0})}),[n,t]);return(0,d.jsx)(o.Modal,{backdropProps:{backdropBlur:!0},children:(0,d.jsxs)(o.ModalContent,{width:i?{base:"95vw"}:{},children:[(0,d.jsx)(o.ModalHeader,{children:(0,d.jsxs)(o.Flex,{gap:2,alignItems:"center",children:["Tip",(0,d.jsx)(o.ModalCloseButton,{testId:"close-button",onClose:c})]})}),(0,d.jsx)(o.ModalBody,{children:(0,d.jsxs)(o.Flex,{column:!0,gap:3,width:{max:120},padding:[0,0,4,0],children:[(0,d.jsx)(o.TextBigger,{lineHeight:1.5,children:"Netdata works best on larger screens. Try logging in from a laptop, desktop or tablet for the ultimate dashboard adventure."}),(0,d.jsxs)(o.TextBigger,{lineHeight:1.5,children:["Installing the Netdata agent takes less than a minute, check out the"," ",(0,d.jsx)(a.A,{Component:o.TextBigger,href:"https://www.youtube.com/watch?v=z5m8JdwMOn8",target:"_blank",rel:"noopener noreferrer",children:"video"})," ","and try it out yourself!"]})]})}),(0,d.jsx)(o.ModalFooter,{children:(0,d.jsx)(o.Flex,{gap:4,justifyContent:"end",padding:[1,2],children:(0,d.jsx)(o.Button,{label:"Dismiss",flavour:"hollow",onClick:c})})})]})})}},52201:(e,n,t)=>{t.r(n),t.d(n,{OptOut:()=>j.A,OptOutModal:()=>w.A,TrialMessage:()=>k.A,TrialWarning:()=>y,default:()=>S,useBusinessPlan:()=>A.A,useTrial:()=>r.A});var s=t(46587),l=t(96540),o=t(7960),i=t(24285),r=t(10853),a=t(60266),d=t(19707),u=t(10444),c=t(34495),f=t(74848);const b=(0,o.A)((()=>Promise.resolve().then(t.bind(t,34495))),"PostSignup"),g=(0,o.A)((()=>t.e(4484).then(t.bind(t,14484))),"TrialWelcome"),h=(0,o.A)((()=>t.e(3718).then(t.bind(t,11337))),"BumpedWarning"),p=(0,o.A)((()=>t.e(2108).then(t.bind(t,62108))),"OnboardingForm"),m=()=>{const{isEarlybirdAndCommunitySunset:e}=(0,a.A)(),{trialWelcomeVisible:n,paymentProvider:t}=(0,r.A)(),{email:o,isAnonymous:m}=(0,s.uW)(),[x]=(0,i.tF)("signupSurveySubmitted"),y=(0,d.I)(),[j]=(0,c.usePostSignup)(),w=(0,u.J)();if(!e&&!y&&"AWS"!==t&&!m&&!x)return(0,f.jsx)(l.Suspense,{fallback:"",children:(0,f.jsx)(p,{email:o})});if(w&&!j)return(0,f.jsx)(l.Suspense,{fallback:"",children:(0,f.jsx)(b,{})});const k=e?h:n?g:null;return k?(0,f.jsx)(l.Suspense,{fallback:"",children:(0,f.jsx)(k,{})}):null},x=(0,o.A)((()=>Promise.resolve().then(t.bind(t,44913))),"Warnings"),y=e=>(0,s.uW)("isAnonymous")?null:(0,f.jsx)(l.Suspense,{fallback:"",children:(0,f.jsx)(x,{...e})});var j=t(42711),w=t(71282),k=t(77058),A=t(2652);const S=()=>{const e=(0,s.uW)("isAnonymous");return window.envSettings.onprem||e?null:(0,f.jsx)(m,{})}}}]);