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]="0f78d438-7968-4082-9a83-a28748d156e1",e._sentryDebugIdIdentifier="sentry-dbid-0f78d438-7968-4082-9a83-a28748d156e1")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"3c3ec92b9804220c7220d2a736674a446591eb9f"};(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 a=(0,l.eU)(!1),d=(0,l.eU)(!1);var i=t(96540);const s=()=>{const[e,n]=(0,o.fp)(a);return{isInitialized:e,init:(0,i.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(d);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:()=>c});var o=t(96540),l=t(46587),a=t(26276),d=t(45187),i=t(89942);const s=()=>{const e=(0,i.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,d.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),f=t(78152);const c=()=>{const e=(0,l.uW)(),{init:n}=(0,d.R)(),{sendLog:t}=(0,r.A)(),i=(0,o.useMemo)((()=>f.GW&&e&&!e.isAnonymous),[e]);return s(),(0,o.useEffect)((()=>{let e=null;return i&&(window.cello=window.cello||{cmd:[]},e=(0,a._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[i]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,a.sA)();if(i&&o&&l&&e.name){const a=e.name?.split?.(" ")||[],d=a.length>0?a[0]:"";window.cello.cmd.push((async function(a){try{await a.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:d,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:()=>b,GW:()=>w,Mh:()=>p,Qi:()=>m,gf:()=>g});const o="mobileAppNotifications",l="alertConfiguration",a="editAlertConfiguration",d="hasFacetSelection",i="hasCello",s="nodeButton",r="insights",f=[l,o,i,d,s,r],c={};function u(e){if(f.includes(e))return()=>!0;let n=localStorage.getItem(e);null===n&&(n=c[e]?"true":"false");const t="true"===n;return e=>e||t}const p=u(o)(),b=u(l)(),g=(u(a)(),u(d)()),w=u(i)(),m=(u(s)(),u(r)())}}]);