try{let 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]="431290ce-d6e6-4e9a-86da-6b623b31bd19",e._sentryDebugIdIdentifier="sentry-dbid-431290ce-d6e6-4e9a-86da-6b623b31bd19")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"b0610930f891423c3567547ad7119d4cfa1f1e68"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2117,5187],{45187:(e,n,t)=>{t.d(n,{R:()=>s,H:()=>r});var o=t(34843),l=t(52035);const d=(0,l.eU)(!1),a=(0,l.eU)(!1);var i=t(96540);const s=()=>{const[e,n]=(0,o.fp)(d);return{isInitialized:e,init:(0,i.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(a);return{isActive:e,activate:(0,i.useCallback)((()=>n(!0)),[n]),deactivate:(0,i.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var o=t(96540),l=t(46587),d=t(26276),a=t(45187),i=t(89942);const s=()=>{const e=(0,i.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,a.R)();(0,o.useEffect)((()=>{"true"==n&&t&&"function"===typeof window.Cello&&(window.Cello("open"),(0,i.Z8)({...e,referralModalOpen:"false"}))}),[t,n])};var r=t(3319),c=t(78152);const f=()=>{const e=(0,l.uW)(),{init:n}=(0,a.R)(),{sendLog:t}=(0,r.A)(),i=(0,o.useMemo)((()=>c.GW&&e&&!e.isAnonymous),[e]);return s(),(0,o.useEffect)((()=>{let e=null;return i&&(window.cello=window.cello||{cmd:[]},e=(0,d._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[i]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,d.sA)();if(i&&o&&l&&e.name){const d=e.name?.split?.(" ")||[],a=d.length>0?d[0]:"";window.cello.cmd.push((async function(d){try{await d.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:a,fullName:e.name,email:e.email}}),n()}catch(i){t({feature:"ReferralComponent",error:i.message||"Failed to boot cello referral component"})}}))}}),[i,e,n]),null}},78152:(e,n,t)=>{t.d(n,{Dm:()=>p,GW:()=>w,Mh:()=>b,Qi:()=>m,gf:()=>g});const o="mobileAppNotifications",l="alertConfiguration",d="editAlertConfiguration",a="hasFacetSelection",i="hasCello",s="nodeButton",r="insights",c=[l,o,i,a,s],f={};function u(e){if(c.includes(e))return()=>!0;let n=localStorage.getItem(e);null===n&&(n=f[e]?"true":"false");const t="true"===n;return e=>e||t}const b=u(o)(),p=u(l)(),g=(u(d)(),u(a)()),w=u(i)(),m=(u(s)(),u(r)())}}]);