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:"bbf0f036d26e8d5cdf711f08d224a9283a4dee0b"}}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),d=t(10444),r=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,d.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)(r.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:()=>d.A});var s=t(46587),l=t(96540),o=t(7960),i=t(24285),d=t(10853),r=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,r.A)(),{trialWelcomeVisible:n,paymentProvider:t}=(0,d.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,{})}}}]);