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