File: //proc/self/root/opt/netdata/netdata-web-files/v3/4582.516687965bb68db72f90.chunk.js
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]="14f1cc8d-d97a-4f86-8f71-21d993681d56",e._sentryDebugIdIdentifier="sentry-dbid-14f1cc8d-d97a-4f86-8f71-21d993681d56")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"308e05243fdcbf0860dca704fb35dd3b8481eaf7"}}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),d=t(46587),i=t(10444),r=t(79748),a=t(74848);const u=()=>{const e=`postsignup-disnissed-${(0,d.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(),d=(0,i.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:d?{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:()=>i.A});var s=t(46587),l=t(96540),o=t(7960),d=t(24285),i=t(10853),r=t(60266),a=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,d.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)(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,{})}}}]);