import{bf as s}from"./index-B4gewkxT.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="75460357-ca2e-405c-97ba-6c1aaf2990e5",r._sentryDebugIdIdentifier="sentry-dbid-75460357-ca2e-405c-97ba-6c1aaf2990e5")}catch{}})();class c{static async getNextLeClubEvents(){return(await s.get("/v3/community-homepage/events/leclub")).data}static async getEventStreamReplayRequest(t){return(await s.get(`/event/${t}/request-replay`)).data}static async postEventStreamReplayRequest(t){return(await s.post(`/event/${t}/request-replay`)).data}static async postCancelationParticipation(t,e){return(await s.post(`/public/v3/events/${t}/cancel`,e)).data}static async getActions(t,e,a){return(await s.get(`/public/event-v2/${t}/actions`,{params:{publicParticipantId:e},headers:a?{"Accept-Language":a}:void 0})).data}static async getUpcomingEventsOld(t){return(await s.get("/public/event-v2/incoming",{params:t})).data}static async getUpcomingEvents(t,e){return(await s.get("/v3/events/incoming",{params:{page:t,categoryIds:e}})).data}static async getPublicUpcomingEvents(t,e){return(await s.get(`public/v3/events/incoming${e&&"?hub="+e}`,{params:{page:t}})).data}static async getHomePageIncomingEvents(){return(await s.get("v3/public-homepage/incoming-events")).data}static async searchUpcomingEvents(t,e){return(await s.get(`/public/event-v2/search/upcoming/${t}`,{params:e})).data}static async getSuggestedEvents(){return(await s.get("/v3/events/events-networking/suggested")).data}static async getSuggestedReplayList(t){return(await s.get(`/event-v2/suggested/${t}/replay`)).data}static async getMyEvents(){return(await s.get("/v3/events/me")).data}static async getNetworkingOrEvents(t){return(await s.get("/v3/events/events-networking",{params:t})).data}static async searchAllEvents(t){return(await s.get("/public/event-v2/search/upcoming/all",{params:t})).data}static async searchPhysicalEvents(t){return(await s.get("/public/event-v2/search/upcoming/physical",{params:t})).data}static async searchStreamingEvents(t){return(await s.get("/public/event-v2/search/upcoming/remote",{params:t})).data}static async searchPastEvents(t){return(await s.get("/public/event-v2/search/past",{params:t})).data}static async getSuggestedEventList(t){return(await s.get("/event-v2/suggested",{params:t})).data}static async getEventReplays(t){return(await s.get(`/event-v2/${t}/replays`)).data}static async getNetworkingSession(t){return(await s.get(`/v3/networking/sessions/${t}`)).data}static async getNetworkingSubscriptions(){return(await s.get("/v3/networking/sessions/subscriptions")).data}static async subscribeToNetworking(t){await s.post(`/v3/networking/sessions/${t}/participant`,{subscribing:!0})}static async unsubscribeToNetworking(t){await s.delete(`/v3/networking/sessions/${t}/participant`)}static async getEventDetails(t,e){return(await s.get(`/public/event-v2/${t}/details`,{params:{leadId:e||void 0}})).data}static async getEventDetailsV3(t,e){return(await s.get(`/public/v3/events/${t}/details`,{params:{leadId:e||void 0}})).data}static async getEventListDetails(t){return{data:(await Promise.allSettled(t.map(n=>c.getEventDetailsV3(n)))).reduce((n,o)=>o.status==="fulfilled"?[...n,o.value.data]:n,[]),meta:{}}}static async getEventParticipants(t){return(await s.get(`/public/v3/events/${t}/participants`,{})).data}static async getGuestInvited(t){return(await s.get(`/event-v2/${t}/guests`)).data}static async postEventAskToSponsor(t,e){await s.post(`/v3/events/${t}/ask-to-sponsor`,{message:e})}static async postEventAskToSponsorPublic(t,e){await s.post(`public/v3/events/${t}/ask-to-sponsor`,e)}static async getPastEvents(t=1){return(await s.get("/public/event-v2/pasts",{params:{page:t}})).data}static async getMemberPaymentInfos(t,e){return(await s.get(`/event-v2/${t}/payment`,{params:{streaming:!!e}})).data}static async getPublicPaymentInfos(t,e,a){return(await s.get(`/public/event-v2/${t}/payment/${e}`,{params:{streaming:!!a}})).data}static async postUseCoupon(t,e,a,n){return(await s.post(`/public/event-v2/${t}/coupon/${e}`,{streaming:!!a,publicParticipantId:n})).data}static async postEventAction(t,e,a){return(await s.post(`/event-v2/${t}/action/${e}`,{...a})).data}static async postPublicEventAction(t,e,a,n){return(await s.post(`/public/event-v2/${t}/action/${e}`,{...a,publicParticipantId:n},{params:{publicParticipantId:n}})).data}static async postStreamEventAction(t,e,a){return(await s.post(`/event-stream/${t}/action/${e}`,{...a})).data}static async postPublicStreamEventAction(t,e,a,n){return(await s.post(`/public/event-stream/${t}/action/${e}`,{...a,publicParticipantId:n},{params:{publicParticipantId:n}})).data}static async getRoom(t){const{data:e}=await s.get(`/room/${t}`);return e}static async getEstimatePayment(t,e,a){return(await s.post(`/public/v3/events/payment/${t}/estimate`,e,a)).data}static async sendEventCartInfo(t,e){return(await s.post(`/public/v3/events/payment/${t}/cart`,e)).data}static async postEventJoinPayment(t,e){return(await s.post(`/public/v3/events/${t}/join`,e)).data}static async getWelcomeBreakfastEvents(){return(await s.get("/event-v2/welcome-breakfasts")).data}static async getEventTickets(t){return(await s.get(`/public/v3/events/${t}/tickets`)).data}static async getExternalEvents(t,e){return(await s.get("/v3/external-events/incoming",{params:{...t,...e}})).data}static async postExternalEventAttendance(t){return(await s.post("/v3/external-events/attending",t)).data}}export{c as E};
//# sourceMappingURL=Event.api-V1luc04U.js.map