!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"d59f3e13055072acb481db3c59603d296982e8b2"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c197b5c8-2621-48fb-963c-16a82706cd85",e._sentryDebugIdIdentifier="sentry-dbid-c197b5c8-2621-48fb-963c-16a82706cd85")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4582],{52201(e,n,s){s.r(n),s.d(n,{OptOut:()=>j.A,OptOutModal:()=>k.A,TrialMessage:()=>w.A,TrialWarning:()=>y,default:()=>S,useBusinessPlan:()=>A.A,useTrial:()=>a.A});var t=s(46587),l=s(96540),r=s(7960),o=s(24285),a=s(10853),i=s(60266),d=s(19707),u=s(10444),c=s(34495),b=s(74848);const g=(0,r.A)(()=>Promise.resolve().then(s.bind(s,34495)),"PostSignup"),h=(0,r.A)(()=>s.e(4484).then(s.bind(s,14484)),"TrialWelcome"),p=(0,r.A)(()=>s.e(3718).then(s.bind(s,11337)),"BumpedWarning"),f=(0,r.A)(()=>s.e(2108).then(s.bind(s,62108)),"OnboardingForm"),m=()=>{const{isEarlybirdAndCommunitySunset:e}=(0,i.A)(),{trialWelcomeVisible:n,paymentProvider:s}=(0,a.A)(),{email:r,isAnonymous:m}=(0,t.uW)(),[x]=(0,o.tF)("signupSurveySubmitted"),y=(0,d.I)(),[j]=(0,c.usePostSignup)(),k=(0,u.J)();if(!e&&!y&&"AWS"!==s&&!m&&!x)return(0,b.jsx)(l.Suspense,{fallback:"",children:(0,b.jsx)(f,{email:r})});if(k&&!j)return(0,b.jsx)(l.Suspense,{fallback:"",children:(0,b.jsx)(g,{})});const w=e?p:n?h:null;return w?(0,b.jsx)(l.Suspense,{fallback:"",children:(0,b.jsx)(w,{})}):null},x=(0,r.A)(()=>Promise.resolve().then(s.bind(s,44913)),"Warnings"),y=e=>(0,t.uW)("isAnonymous")?null:(0,b.jsx)(l.Suspense,{fallback:"",children:(0,b.jsx)(x,{...e})});var j=s(42711),k=s(71282),w=s(3033),A=s(2652);const S=()=>{const e=(0,t.uW)("isAnonymous");return window.envSettings.onprem||e?null:(0,b.jsx)(m,{})}},34495(e,n,s){s.r(n),s.d(n,{default:()=>c,usePostSignup:()=>u});var t=s(96540),l=s(76667),r=s(38429),o=s(46587),a=s(10444),i=s(79748),d=s(74848);const u=()=>{const e=`postsignup-disnissed-${(0,o.NJ)()}`;return[localStorage.getItem(e),(0,t.useCallback)(()=>{localStorage.setItem(e,!0)},[e])]},c=()=>{const e=(0,l.Zp)(),{pathname:n}=(0,l.zy)(),[,s]=u(),o=(0,a.J)(),c=(0,t.useCallback)(()=>{s(),e(n,{replace:!0})},[n,s]);return(0,d.jsx)(r.Modal,{backdropProps:{backdropBlur:!0},children:(0,d.jsxs)(r.ModalContent,{width:o?{base:"95vw"}:{},children:[(0,d.jsx)(r.ModalHeader,{children:(0,d.jsxs)(r.Flex,{gap:2,alignItems:"center",children:["Tip",(0,d.jsx)(r.ModalCloseButton,{testId:"close-button",onClose:c})]})}),(0,d.jsx)(r.ModalBody,{children:(0,d.jsxs)(r.Flex,{column:!0,gap:3,width:{max:120},padding:[0,0,4,0],children:[(0,d.jsx)(r.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)(r.TextBigger,{lineHeight:1.5,children:["Installing the Netdata agent takes less than a minute, check out the"," ",(0,d.jsx)(i.A,{Component:r.TextBigger,href:"https://www.youtube.com/watch?v=z5m8JdwMOn8",target:"_blank",rel:"noopener noreferrer",children:"video"})," ","and try it out yourself!"]})]})}),(0,d.jsx)(r.ModalFooter,{children:(0,d.jsx)(r.Flex,{gap:4,justifyContent:"end",padding:[1,2],children:(0,d.jsx)(r.Button,{label:"Dismiss",flavour:"hollow",onClick:c})})})]})})}}}]);