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]="455bb799-9bbe-47ed-8883-bc5865309501",e._sentryDebugIdIdentifier="sentry-dbid-455bb799-9bbe-47ed-8883-bc5865309501")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"73b76b0b53402b174350d469272adf0bbf58506c"};(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 i=(0,l.eU)(!1),d=(0,l.eU)(!1);var a=t(96540);const s=()=>{const[e,n]=(0,o.fp)(i);return{isInitialized:e,init:(0,a.useCallback)((()=>n(!0)),[n])}},r=()=>{const[e,n]=(0,o.fp)(d);return{isActive:e,activate:(0,a.useCallback)((()=>n(!0)),[n]),deactivate:(0,a.useCallback)((()=>n(!1)),[n])}}},72117:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var o=t(96540),l=t(46587),i=t(26276),d=t(45187),a=t(89942);const s=()=>{const e=(0,a.PP)(),{referralModalOpen:n}=e,{isInitialized:t}=(0,d.R)();(0,o.useEffect)((()=>{"true"==n&&t&&"function"===typeof window.Cello&&(window.Cello("open"),(0,a.Z8)({...e,referralModalOpen:"false"}))}),[t,n])};var r=t(3319),c=t(78152);const f=()=>{const e=(0,l.uW)(),{init:n}=(0,d.R)(),{sendLog:t}=(0,r.A)(),a=(0,o.useMemo)((()=>c.GW&&e&&!e.isAnonymous),[e]);return s(),(0,o.useEffect)((()=>{let e=null;return a&&(window.cello=window.cello||{cmd:[]},e=(0,i._D)(),document.head.appendChild(e)),()=>{e&&document.head.removeChild(e)}}),[a]),(0,o.useEffect)((()=>{const{token:o,productId:l}=(0,i.sA)();if(a&&o&&l&&e.name){const i=e.name?.split?.(" ")||[],d=i.length>0?i[0]:"";window.cello.cmd.push((async function(i){try{await i.boot({productId:l,token:o,language:"en",productUserDetails:{firstName:d,fullName:e.name,email:e.email}}),n()}catch(a){t({feature:"ReferralComponent",error:a.message||"Failed to boot cello referral component"})}}))}}),[a,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",i="editAlertConfiguration",d="hasFacetSelection",a="hasCello",s="nodeButton",r="insights",c=[l,o,a,d,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(i)(),u(d)()),w=u(a)(),m=(u(s)(),u(r)())}}]);