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]="16939e75-a906-40d8-a56f-e80d1e464915",e._sentryDebugIdIdentifier="sentry-dbid-16939e75-a906-40d8-a56f-e80d1e464915")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"f4547e36230aa8f74486618baff2f1a6f3242a7f"}}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(86177),a=t(46587),i=t(10444),r=t(79748),d=t(74848);const u=()=>{const e=`postsignup-disnissed-${(0,a.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(),a=(0,i.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:a?{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)(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,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:()=>i.A});var s=t(46587),l=t(96540),o=t(7960),a=t(24285),i=t(10853),r=t(60266),d=t(19707),u=t(10444),c=t(34495),f=t(74848);const g=(0,o.A)((()=>Promise.resolve().then(t.bind(t,34495))),"PostSignup"),h=(0,o.A)((()=>t.e(4484).then(t.bind(t,14484))),"TrialWelcome"),p=(0,o.A)((()=>t.e(3718).then(t.bind(t,11337))),"BumpedWarning"),b=(0,o.A)((()=>t.e(2108).then(t.bind(t,62108))),"OnboardingForm"),m=()=>{const{isEarlybirdAndCommunitySunset:e}=(0,r.A)(),{trialWelcomeVisible:n,paymentProvider:t}=(0,i.A)(),{email:o,isAnonymous:m}=(0,s.uW)(),[x]=(0,a.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)(b,{email:o})});if(w&&!j)return(0,f.jsx)(l.Suspense,{fallback:"",children:(0,f.jsx)(g,{})});const k=e?p:n?h: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,{})}}}]);