import{c as r}from"./index-B4gewkxT.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new n.Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="252701e9-c7f8-4965-bc9e-613aed6c4c7d",n._sentryDebugIdIdentifier="sentry-dbid-252701e9-c7f8-4965-bc9e-613aed6c4c7d")}catch{}})();function g(n){return{geolocation:r(()=>{var s,d,e,i,a,u,f;if(!(n!=null&&n.location))return(s=n==null?void 0:n.businessCenter)==null?void 0:s.name;const c=(i=(e=(d=n.location)==null?void 0:d.address_components)==null?void 0:e.find(t=>t.types.includes("locality")))==null?void 0:i.long_name,l=(f=(u=(a=n.location)==null?void 0:a.address_components)==null?void 0:u.find(t=>t.types.includes("country")))==null?void 0:f.long_name;return[c,l].join(", ")})}}export{g as u}; //# sourceMappingURL=useMember-BYvqc1t2.js.map