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:"28cbc1dc66f9c0573859e5be6f73dc715ff77990"}}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),d=t(79748),a=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,a.jsx)(o.Modal,{backdropProps:{backdropBlur:!0},children:(0,a.jsxs)(o.ModalContent,{width:i?{base:"95vw"}:{},children:[(0,a.jsx)(o.ModalHeader,{children:(0,a.jsxs)(o.Flex,{gap:2,alignItems:"center",children:["Tip",(0,a.jsx)(o.ModalCloseButton,{testId:"close-button",onClose:c})]})}),(0,a.jsx)(o.ModalBody,{children:(0,a.jsxs)(o.Flex,{column:!0,gap:3,width:{max:120},padding:[0,0,4,0],children:[(0,a.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,a.jsxs)(o.TextBigger,{lineHeight:1.5,children:["Installing the Netdata agent takes less than a minute, check out the"," ",(0,a.jsx)(d.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,a.jsx)(o.ModalFooter,{children:(0,a.jsx)(o.Flex,{gap:4,justifyContent:"end",padding:[1,2],children:(0,a.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),d=t(60266),a=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,d.A)(),{trialWelcomeVisible:n,paymentProvider:t}=(0,r.A)(),{email:o,isAnonymous:m}=(0,s.uW)(),[x]=(0,i.tF)("signupSurveySubmitted"),y=(0,a.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,{})}}}]);