import{u as s}from"./root-loader-BZ1M-egm.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:"3ea6c863933c57219be78eb06addfb47859d8df2"}}catch{}})();function r(){return s().user}function u(){const e=r();if(!e)throw new Error("useUser requires a user. If the user is optional, use useOptionalUser instead.");return e}function i(){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 n(){return s().userHasAccess}export{i as a,n as b,r as c,u};
//# sourceMappingURL=user-1MpuZX0i.js.map
