import{u as s}from"./root-loader-Cnwtpb_k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"8a6db0ac5fe78363b0c97fe458a96ce773bf357c"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b165c0a0-4be6-4538-973c-69f0ebc145d5",e._sentryDebugIdIdentifier="sentry-dbid-b165c0a0-4be6-4538-973c-69f0ebc145d5")}catch{}})();function a(){return s().user}function o(){const e=a();if(!e)throw new Error("useUser requires a user. If the user is optional, use useOptionalUser instead.");return e}function t(){const e=s();return e.user?.discordProfile?.user?{id:e.user.discordProfile.user.id,displayName:e.user.discordProfile.nick??e.user.discordProfile.user.global_name??e.user.name??e.user.email,avatarUrl:e.user.imageUrlLarge}:null}function i(){return s().userHasAccess}export{t as a,i as b,a as c,o as u};
//# sourceMappingURL=user-Pnhys2oT.js.map
