!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"d1c7ac46f068d62cb709fcb0a5f45d31b06ca6ae"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ddd042eb-7267-4fb3-b4cc-5307c266c6cc",e._sentryDebugIdIdentifier="sentry-dbid-ddd042eb-7267-4fb3-b4cc-5307c266c6cc")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4582],{52201(e,n,s){s.r(n),s.d(n,{OptOut:()=>m.A,OptOutModal:()=>j.A,TrialMessage:()=>y.A,TrialWarning:()=>x,default:()=>w,useBusinessPlan:()=>k.A,useTrial:()=>a.A});var t=s(46587),l=s(96540),o=s(7960),r=s(24285),a=s(10853),i=s(19707),d=s(10444),c=s(34495),u=s(74848);const b=(0,o.A)(()=>Promise.resolve().then(s.bind(s,34495)),"PostSignup"),g=(0,o.A)(()=>s.e(4484).then(s.bind(s,14484)),"TrialWelcome"),h=(0,o.A)(()=>s.e(2108).then(s.bind(s,62108)),"OnboardingForm"),p=()=>{const{isSpaceCreator:e,trialWelcomeVisible:n,paymentProvider:s}=(0,a.A)(),{email:o,isAnonymous:p}=(0,t.uW)(),[f]=(0,r.tF)("signupSurveySubmitted"),x=(0,i.I)(),[m]=(0,c.usePostSignup)(),j=(0,d.J)();if(!x&&"AWS"!==s&&!p&&!f&&e)return(0,u.jsx)(l.Suspense,{fallback:"",children:(0,u.jsx)(h,{email:o})});if(j&&!m)return(0,u.jsx)(l.Suspense,{fallback:"",children:(0,u.jsx)(b,{})});const y=n?g:null;return y?(0,u.jsx)(l.Suspense,{fallback:"",children:(0,u.jsx)(y,{})}):null},f=(0,o.A)(()=>Promise.resolve().then(s.bind(s,44913)),"Warnings"),x=e=>(0,t.uW)("isAnonymous")?null:(0,u.jsx)(l.Suspense,{fallback:"",children:(0,u.jsx)(f,{...e})});var m=s(42711),j=s(71282),y=s(3033),k=s(2652);const w=()=>{const e=(0,t.uW)("isAnonymous");return window.envSettings.onprem||e?null:(0,u.jsx)(p,{})}},34495(e,n,s){s.r(n),s.d(n,{default:()=>u,usePostSignup:()=>c});var t=s(96540),l=s(5981),o=s(56327),r=s(46587),a=s(10444),i=s(79748),d=s(74848);const c=()=>{const e=`postsignup-disnissed-${(0,r.NJ)()}`;return[localStorage.getItem(e),(0,t.useCallback)(()=>{localStorage.setItem(e,!0)},[e])]},u=()=>{const e=(0,l.Zp)(),{pathname:n}=(0,l.zy)(),[,s]=c(),r=(0,a.J)(),u=(0,t.useCallback)(()=>{s(),e(n,{replace:!0})},[n,s]);return(0,d.jsx)(o.Modal,{backdropProps:{backdropBlur:!0},children:(0,d.jsxs)(o.ModalContent,{width:r?{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:u})]})}),(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)(i.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:u})})})]})})}}}]);