import{ak as ke,a4 as He,Q as ue,S as ve,l as te,cr as tt,aa as ja,dv as Ka,dL as Ha,d as x,u as G,A as ne,bA as rt,p as Y,dp as qn,c as z,$ as Re,a0 as Qe,bG as xt,G as fe,c1 as Qa,at as Wa,q as ze,e as s,f as d,j as f,w as E,Y as Ke,g as c,t as l,h as n,aA as We,V as me,X as $,a6 as Ie,a7 as Te,n as ce,F as oe,r as ge,aw as ot,i as F,k as M,ag as at,bw as ae,s as se,bc as it,Z as $e,M as zt,dJ as ie,m as j,E as we,o as Be,bn as Fn,aF as Z,v as W,aC as le,b$ as ht,R as Ja,dM as Za,B as re,I as mt,H as Xa,J as eo,a$ as Je,a5 as Ne,C as Ae,al as he,aY as Ve,aZ as Oe,aq as Me,ap as X,au as st,bg as to,a as Yn,aD as bt,aE as lt,T as xn,z as Gn,x as _e,a3 as no,a2 as jn,bJ as pt,_ as ao,K as gt,ax as Gt,ad as Ze,am as Ue,as as Kn,aN as ct,cD as oo,cB as ro,bq as _t,br as io,cV as jt,aL as dt,a_ as Hn,W as kt,aG as Et,aB as so,af as Le,b9 as nt,bD as lo,y as co,dN as uo,d3 as Kt,dO as Ht}from"./index-0LqjRhnu.js";import{u as ut}from"./useEventDetailsQuery-CKd6bBh9.js";import{E as ee}from"./Event.api-DH10BTO7.js";import{u as Qn}from"./useSubscriptionsQuery-DcfEWgPU.js";import{u as mo}from"./useSubscriptions-DAZ8fNXj.js";import{S as _o,P as po}from"./PaymentModule-DkZVnhdW.js";import{F as Qt}from"./FormRadio-Bq669eUg.js";import{_ as vo}from"./StepWrapper.vue_vue_type_style_index_0_lang-BppE9WRx.js";import{u as fo,a as yo}from"./index-CONdceHB.js";import{E as zo}from"./EventDetailsAsideNeedCompleteProfile-C_aKqXoo.js";import{u as ho}from"./useIsCompletedProfile-DIc-g0eJ.js";import{_ as bo}from"./ShareDropdown-DCmDaWmF.js";import{a as go,B as ko}from"./BaseBanner-C-S103WM.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new i.Error().stack;a&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[a]="18bf7950-a68c-4581-8583-05d8ad9231e5",i._sentryDebugIdIdentifier="sentry-dbid-18bf7950-a68c-4581-8583-05d8ad9231e5")}catch{}})();function Wn(i,a){const e=ke();return He({queryKey:[ue.EVENT_ESTIMATE_PAYMENT,i],queryFn:({signal:t})=>{const r=e.query.publicParticipantId||ve.get(te.PUBLIC_PARTICIPANT_ID)||void 0,o={...tt(tt(i).form),publicParticipantId:r,context:tt(i).context};return ee.getEstimatePayment(tt(i).eventId,o,{signal:t})},staleTime:ja({seconds:5}),...a})}const Jn=Ka("event",{state(){return{formEstimate:{guests:[],payForGuests:!1},formEstimateErrors:void 0}},actions:{setFormEstimate(i){this.formEstimate=i},removeCoupon(){this.formEstimate&&(this.formEstimate.couponCode="")},setFormEstimateErrors(i){this.formEstimateErrors=i}}}),Eo=()=>Ha(Jn()),To={class:"summary"},Co={class:"summary__header"},Po={class:"summary__title title-4 mb-6"},So={class:"summary__subtitle text-small"},Io={key:0,class:"text-small mb-4 mt-2"},Ao={key:0,class:"summary__price-item"},$o={class:"summary__tooltip-list p-2"},Ro={class:"summary__name text-xs"},wo={key:1,class:"summary__price-item"},Lo={key:0,class:"mt-2"},No={class:"mb-4 text-xs"},Mo={class:"mt-4"},Do={key:0},Bo={class:"summary__price-item mt-4 text-sm"},Vo={key:1},Oo={class:"summary__price-item mt-4 text-sm"},Uo={class:"summary__price-item text-normal mt-4"},qo={class:"font-medium"},Fo={key:1},Yo={key:1,class:"summary__price-item text-normal mt-4"},xo={class:"flex items-center font-medium"},Go={key:1},Zn=x({__name:"EventOrderSummary",props:{event:{},alwaysShow:{type:Boolean}},setup(i){const a=i,{t:e,locale:t}=G(),r=ne(),{formEstimate:o}=Eo(),_=Jn(),{value:v}=rt("lead",void 0,{initialValue:{firstName:"",lastName:"",email:""},syncVModel:!0}),m=Y(null),u=Wn({eventId:a.event.id,context:"ticketing",form:o},{enabled:!!o,placeholderData:qn}),p=z(()=>{var k,D;return((D=(k=a==null?void 0:a.event)==null?void 0:k.locales)==null?void 0:D[0])||t.value}),y=z(()=>{var k,D,A;return!!((D=(k=u.data.value)==null?void 0:k.data.guests)!=null&&D.length||(A=u==null?void 0:u.data.value)!=null&&A.data.price)}),b=z(()=>r.isLoggedIn&&r.hasRole(Re.LECLUB)),C=z(()=>{var D,A,V,N,U,q,I,g,T,w,O,K,Q;const k=[];if(!((D=u.data.value)!=null&&D.data))return k;if((A=u.data.value)!=null&&A.data.price&&!((V=u.data.value.meta)!=null&&V.alreadyPaid)){const H={firstName:r.isLoggedIn?((N=r.authentifiedUser)==null?void 0:N.first_name)||"":((U=v.value)==null?void 0:U.firstName)||"",lastName:r.isLoggedIn?((q=r.authentifiedUser)==null?void 0:q.last_name)||"":((I=v.value)==null?void 0:I.lastName)||"",email:r.isLoggedIn?((g=r.authentifiedUser)==null?void 0:g.email)||"":((T=v.value)==null?void 0:T.email)||"",isClub:b.value,isMember:r.isLoggedIn,isParticipant:((w=u.data.value.meta)==null?void 0:w.alreadyPaid)||!1,price:(O=u.data.value)==null?void 0:O.data.price};k.push({price:(K=u.data.value)==null?void 0:K.data.price,peoples:[H],isClubMember:r.hasBusinessLine(Qe.LECLUB),id:xt()})}return(Q=u.data.value)==null||Q.data.guests.map(H=>{const de=k.find(ye=>ye.price.value===H.price.value&&ye.peoples[0].isClub===H.isClub);de?de.peoples.push(H):k.push({price:H.price,peoples:[H],isClubMember:H.isClub,id:xt()})}),k}),h=z(()=>{var k;return a.event.earlyBirdEndDate?new Date((k=a.event)==null?void 0:k.earlyBirdEndDate)>new Date:!1}),L=z(()=>{var k,D;return!((k=u==null?void 0:u.data.value)!=null&&k.data.price&&!a.alwaysShow&&(D=u.data.value)!=null&&D.meta.alreadyPaid&&u.data.value.data.guests.length===0)});fe(L,()=>{zt(()=>{R()})});const P=z(()=>{const k=Qa.timeline({defaults:{duration:.5,ease:"power2"}});return k.fromTo(m.value,{height:0},{height:"auto"}).fromTo(m.value,{opacity:0,x:100},{opacity:1,x:0}),k.pause(),k}),R=()=>{L.value?P.value.play():P.value.reverse()},S=k=>k?k.value===0?e("free"):ae(k):"",B=k=>{const D=e("price",{number:k.peoples.length,name:k.isClubMember?h.value?e("club_member_early_bird"):e("club_member"):h.value&&a.event.id!==ie.TLF?e("regular_early_bird"):e("regular")}),A=S(k.price);return{priceLabel:D,priceValue:A}};return(k,D)=>{const A=Wa("VTooltip"),V=ze("tooltip");return s(),d("div",{ref_key:"cardOrderSummaryEl",ref:m},[f($e,{class:"mb-4"},{default:E(()=>[f(Ke,null,{default:E(()=>{var N,U,q,I,g,T,w,O;return[c("section",To,[c("div",Co,[c("div",Po,l(n(e)("title")),1),c("div",So,l((N=k.event)==null?void 0:N.title),1),(U=k.event)!=null&&U.startDate?(s(),d("div",Io,l(n(We)((q=k.event)==null?void 0:q.startDate,{locale:p.value,format:n(me).DATE_FULL,useZoneFromDate:(T=(g=(I=n(u))==null?void 0:I.data.value)==null?void 0:g.meta)==null?void 0:T.useZoneFromDate})),1)):$("",!0)]),f(Ie,{"is-loading":(w=n(u))==null?void 0:w.isLoading.value,"is-error":!1,"is-success":(O=n(u))==null?void 0:O.isSuccess.value},{fallback:E(()=>[f(Te,{class:"mt-4"})]),success:E(()=>{var K,Q,H,de,ye,Ce,Pe,J,Se,Ee,qe,Fe,Ye,xe,Ge,je;return[c("div",{class:ce(["summary__price mt-4",{"summary__price--no-border-top":!y.value}])},[(s(!0),d(oe,null,ge(C.value,(pe,Xe)=>(s(),d("div",{key:Xe},[pe.peoples.filter(be=>be.firstName&&be.lastName).length>0?(s(),d("div",Ao,[f(A,{placement:"bottom"},ot({default:E(()=>[c("div",null,l(B(pe).priceLabel),1)]),_:2},[pe.peoples.length>0?{name:"popper",fn:E(()=>[c("div",$o,[(s(!0),d(oe,null,ge(pe.peoples,(be,et)=>(s(),d("div",{key:et,class:"summary__info"},[c("div",Ro,l(be.firstName)+" "+l(be.lastName),1),be.isClub?(s(),F(at,{key:0,class:"summary__tag"},{default:E(()=>[M(l(n(e)("is_club")),1)]),_:1})):$("",!0),be.isParticipant?(s(),F(at,{key:1,class:"summary__tag"},{default:E(()=>[M(l(n(e)("already_participate")),1)]),_:1})):$("",!0)]))),128))])]),key:"0"}:void 0]),1024),c("div",null,l(B(pe).priceValue),1)])):(s(),d("div",wo,[c("div",null,l(B(pe).priceLabel),1),c("div",null,l(B(pe).priceValue),1)]))]))),128)),(Q=(K=n(u))==null?void 0:K.data.value)!=null&&Q.data.coupon?(s(),d("div",Lo,[c("div",No,l(n(e)("your_discount")),1),f(at,{"can-remove":"right",onRemove:n(_).removeCoupon},{default:E(()=>{var pe;return[M(l((pe=n(u).data.value)==null?void 0:pe.data.coupon.code),1)]}),_:1},8,["onRemove"])])):$("",!0)],2),c("div",Mo,[(de=(H=n(u))==null?void 0:H.data.value)!=null&&de.data.coupon?(s(),d("div",Do,[c("div",Bo,[c("div",null,l(n(e)("subtotal")),1),c("div",null,[n(u).isLoading.value||n(u).isFetching.value?(s(),F(Te,{key:0})):(s(),d("div",Vo,l(n(ae)((ye=n(u).data.value)==null?void 0:ye.data.total)),1))])]),c("div",Oo,[c("div",null,l((Ce=n(u).data.value)==null?void 0:Ce.data.coupon.code),1),c("div",null,"-"+l(n(ae)((Pe=n(u).data.value)==null?void 0:Pe.data.coupon.price)),1)])])):$("",!0),c("div",Uo,[c("div",qo,l(n(e)("total")),1),c("div",null,[(J=n(u))!=null&&J.isLoading.value||(Se=n(u))!=null&&Se.isFetching.value?(s(),F(Te,{key:0})):(s(),d("div",Fo,l(n(ae)((qe=(Ee=n(u))==null?void 0:Ee.data.value)==null?void 0:qe.data.totalToPay)),1))])]),((Fe=n(r).authentifiedUser)==null?void 0:Fe.currency)==="EUR"?(s(),d("div",Yo,[c("div",xo,[M(l(n(e)("total_eur"))+" ",1),se(f(it,{name:"help"},null,512),[[V,n(e)("total_eur_helper"),void 0,{top:!0}]])]),c("div",null,[(Ye=n(u))!=null&&Ye.isLoading.value||(xe=n(u))!=null&&xe.isFetching.value?(s(),F(Te,{key:0})):(s(),d("div",Go,l(n(ae)((je=(Ge=n(u))==null?void 0:Ge.data.value)==null?void 0:je.data.totalToPayEur)),1))])])):$("",!0)])]}),_:1},8,["is-loading","is-success"])])]}),_:1})]),_:1})],512)}}});function Wt(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["Récapitulatif de la commande"])},club_member:e=>{const{normalize:t}=e;return t(["Ticket Membre du club"])},regular:e=>{const{normalize:t}=e;return t(["Ticket Public"])},club_member_early_bird:e=>{const{normalize:t}=e;return t(["Ticket Membre du club - Early Bird"])},regular_early_bird:e=>{const{normalize:t}=e;return t(["Ticket Public - Early Bird"])},total:e=>{const{normalize:t}=e;return t(["Total"])},total_eur:e=>{const{normalize:t}=e;return t(["Montant estimé en euros"])},total_eur_helper:e=>{const{normalize:t}=e;return t(["Vous avez sélectionné l'euro € comme devise de préférence. Tous les paiements seront donc effectués dans cette devise."])},summary:e=>{const{normalize:t}=e;return t(["Résumé"])},pay:e=>{const{normalize:t}=e;return t(["Payer"])},price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t([r(o("number")),"x ",r(o("name"))])},your_discount:e=>{const{normalize:t}=e;return t(["Votre code de réduction :"])},my_ticket:e=>{const{normalize:t}=e;return t(["Mon billet"])},free:e=>{const{normalize:t}=e;return t(["Gratuit"])},subtotal:e=>{const{normalize:t}=e;return t(["Sous total"])},is_club:e=>{const{normalize:t}=e;return t(["Club Member"])},already_participate:e=>{const{normalize:t}=e;return t(["Participe déjà"])}},en:{title:e=>{const{normalize:t}=e;return t(["Order summary"])},club_member:e=>{const{normalize:t}=e;return t(["Club member ticket"])},regular:e=>{const{normalize:t}=e;return t(["Regular ticket"])},club_member_early_bird:e=>{const{normalize:t}=e;return t(["Club member - Early Bird ticket"])},regular_early_bird:e=>{const{normalize:t}=e;return t(["Regular - Early Bird ticket"])},total:e=>{const{normalize:t}=e;return t(["Total"])},total_eur:e=>{const{normalize:t}=e;return t(["Estimated amount in euros"])},total_eur_helper:e=>{const{normalize:t}=e;return t(["You've selected Euro € as your preferred currency. All payments will be made in this currency."])},summary:e=>{const{normalize:t}=e;return t(["Summary"])},pay:e=>{const{normalize:t}=e;return t(["Pay"])},price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t([r(o("number")),"x ",r(o("name"))])},your_discount:e=>{const{normalize:t}=e;return t(["Your discount code :"])},my_ticket:e=>{const{normalize:t}=e;return t(["My ticket"])},free:e=>{const{normalize:t}=e;return t(["Free"])},subtotal:e=>{const{normalize:t}=e;return t(["Subtotal"])},is_club:e=>{const{normalize:t}=e;return t(["Club Member"])},already_participate:e=>{const{normalize:t}=e;return t(["Already participate"])}}}})}typeof Wt=="function"&&Wt(Zn);const jo=j(Zn,[["__scopeId","data-v-bf3cc21f"]]),Ko={class:"coupon__actions"},Xn=x({__name:"EventDetailsTicketingCoupon",props:{isLoading:{type:Boolean},isSuccess:{type:Boolean},isErrorCoupon:{type:Boolean}},emits:["send-coupon"],setup(i,{emit:a}){const{t:e}=G(),t=i,r=a,{handleSubmit:o}=we({initialValues:{couponText:""}}),_=ke(),{value:v,resetField:m}=rt("couponText",void 0,{syncVModel:!0});Be(()=>{_.query.coupon&&(v.value=_.query.coupon,p())});const u=z(()=>t.isErrorCoupon);fe(u,()=>{u.value&&m()});const p=o(y=>{r("send-coupon",y.couponText)});return(y,b)=>(s(),d("div",{class:ce(["coupon",{"coupon--success":y.isSuccess}])},[f(Fn,null,{default:E(()=>[M(l(n(e)("label")),1)]),_:1}),c("div",Ko,[c("div",null,[f(Z,{name:"couponText",placeholder:n(e)("placeholder")},ot({_:2},[y.isSuccess?{name:"help",fn:E(()=>[M(l(n(e)("coupon_applied")),1)]),key:"0"}:void 0]),1032,["placeholder"])]),c("div",null,[f(le,{pending:y.isLoading,disabled:!n(v),theme:n(W).SECONDARY,bordered:"",class:"coupon__button",onClick:n(p)},{default:E(()=>[M(l(n(e)("button")),1)]),_:1},8,["pending","disabled","theme","onClick"])])])],2))}});function Jt(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{label:e=>{const{normalize:t}=e;return t(["Disposez-vous d'un coupon ?"])},button:e=>{const{normalize:t}=e;return t(["Appliquer"])},placeholder:e=>{const{normalize:t}=e;return t(["Code de réduction"])},coupon_applied:e=>{const{normalize:t}=e;return t(["Code de réduction appliqué"])}},en:{label:e=>{const{normalize:t}=e;return t(["Do you have a coupon ?"])},button:e=>{const{normalize:t}=e;return t(["Apply"])},placeholder:e=>{const{normalize:t}=e;return t(["Discount code"])},coupon_applied:e=>{const{normalize:t}=e;return t(["Discount code applied"])}}}})}typeof Jt=="function"&&Jt(Xn);const Gc=j(Xn,[["__scopeId","data-v-2e712eff"]]),Ho={key:0,class:"action"},Qo={key:0,class:"action__content"},Wo={class:"action__title"},Jo={key:0,class:"action__use"},Zo={key:1},ea=x({__name:"ActionCredit",props:{actions:{},event:{}},setup(i){const a=i,{t:e}=G(),{authentifiedUser:t,hasRole:r}=ne(),o=z(()=>t?!v.value&&r(Re.LECLUB_PROXIMITY):!1),_=()=>(t==null?void 0:t.business_center.id)===a.event.businessCenterId,v=z(()=>a.actions.find(p=>["action.cancel","action.stream.cancel"].includes(p==null?void 0:p.key))),m=z(()=>a.actions.find(p=>["action.participate","action.ask_to_participate_as_member","action.buy_ticket","action.ask_to_participate_as_member_and_buy_ticket"].includes(p==null?void 0:p.key))),u=z(()=>a.actions.find(p=>(p==null?void 0:p.key)==="action.upgrade.membership"));return(p,y)=>o.value?(s(),d("div",Ho,[!_&&(u.value||m.value)?(s(),d("div",Qo,[c("div",Wo,l(n(e)("event.credit.title")),1),c("div",null,l(n(e)(u.value?"event.credit.no_credit":"event.credit.has_credit")),1),u.value?$("",!0):(s(),d("div",Jo,l(n(e)("event.credit.use")),1))])):$("",!0),u.value?(s(),d("div",Zo,[f(le,{theme:n(W).PRIMARY,size:n(ht).LARGE,squared:"",to:{name:n(Ja).ACCOUNT_MEMBERSHIP,query:{upgrade_from:"event"}}},{default:E(()=>[M(l(u.value.label),1)]),_:1},8,["theme","size","to"])])):$("",!0)])):$("",!0)}});function Zt(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"event.credit.title":e=>{const{normalize:t}=e;return t(["Evénement en dehors de votre hub"])},"event.credit.no_credit":e=>{const{normalize:t}=e;return t(["Vous avez déjà participé / êtes déjà inscrit à un événement n’étant pas dans votre hub cette année. Pour participer à cet événement vous devez changer de membership"])},"event.credit.has_credit":e=>{const{normalize:t}=e;return t(["Vous disposez d''une participation possible à un événement en dehors de votre hub cette année."])},"event.credit.use":e=>{const{normalize:t}=e;return t(["Souhaitez-vous l''utiliser ?"])}},en:{"event.credit.title":e=>{const{normalize:t}=e;return t(["Event outside your hub"])},"event.credit.no_credit":e=>{const{normalize:t}=e;return t(["You have already participated / have already registered in an event not being in your hub this year. To participate in this event you must change the Membership"])},"event.credit.has_credit":e=>{const{normalize:t}=e;return t(["You have possible participation in an event outside your hub this year."])},"event.credit.use":e=>{const{normalize:t}=e;return t(["Do you want to use it?"])}}}})}typeof Zt=="function"&&Zt(ea);const Xo=j(ea,[["__scopeId","data-v-50cf8e87"]]),er={key:1,class:"text"},ta=x({__name:"AddToCalendarLink",props:{event:{},lang:{},iconLink:{type:Boolean}},setup(i){const{t:a}=G(),e=i,t=z(()=>{var m,u,p,y,b;let v=((m=e.event)==null?void 0:m.about)||"";return(u=e.event)!=null&&u.isStreaming&&!((p=e.event)!=null&&p.isOnlyStreaming)&&((y=e.event)!=null&&y.streamingLink)&&(v=a("calendar_streaming_link",{url:(b=e.event)==null?void 0:b.streamingLink})+`
------------------------------------------------------------

`+v),Za(v)}),r=z(()=>{var m,u,p,y,b;if((m=e.event)!=null&&m.isOnlyStreaming&&((u=e.event)!=null&&u.streamingLink))return e.event.streamingLink;if((p=e.event)!=null&&p.isOnlyStreaming)return"";let v="";return(y=e.event)!=null&&y.address1&&(v+=e.event.address1),(b=e.event)!=null&&b.city&&(v&&(v+=", "),v+=e.event.city),v}),o=z(()=>{var p,y,b;const v=C=>me.fromISO(C).toFormat("yyyyMMdd'T'HHmmss"),m=(p=e.event)!=null&&p.startDate?v(e.event.startDate):"",u=(y=e.event)!=null&&y.endDate?v(e.event.endDate):"";return["https://calendar.google.com/calendar/render?action=TEMPLATE",`text=${encodeURIComponent(((b=e.event)==null?void 0:b.title)||"")}`,`details=${encodeURIComponent(t.value)}`,`location=${encodeURIComponent(r.value)}`,`dates=${m}/${u}`].join("&")}),_=z(()=>e.event?`https://private.frenchfounders.com/public/event/${e.event.id}/${e.event.slug}/ical`:"");return(v,m)=>(s(),F(eo,{absolute:!0},{activator:E(()=>[v.iconLink?(s(),F(re,{key:0,name:"calendar_month",class:"icon"})):(s(),d("div",er,l(n(a)("add_calendar",0,{locale:v.lang})),1))]),dropdown:E(()=>[f(Xa,{class:"nav__content"},{default:E(()=>{var u,p,y,b;return[f(mt,{target:"_blank",href:o.value,rel:"noopener noreferrer"},{default:E(()=>[M(l(n(a)("google_calendar")),1)]),_:1},8,["href"]),f(mt,{download:`${((u=v.event)==null?void 0:u.slug)||((p=v.event)==null?void 0:p.title)}.ical`,href:_.value},{default:E(()=>[M(l(n(a)("ical_calendar")),1)]),_:1},8,["download","href"]),f(mt,{download:`${((y=v.event)==null?void 0:y.slug)||((b=v.event)==null?void 0:b.title)}.ical`,href:_.value},{default:E(()=>[M(l(n(a)("outlook_calendar")),1)]),_:1},8,["download","href"])]}),_:1})]),_:1}))}});function Xt(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{add_calendar:e=>{const{normalize:t}=e;return t(["Ajouter au calendrier"])},google_calendar:e=>{const{normalize:t}=e;return t(["Google Agenda"])},ical_calendar:e=>{const{normalize:t}=e;return t(["ICAL Agenda"])},outlook_calendar:e=>{const{normalize:t}=e;return t(["Outlook Calendrier"])},calendar_streaming_link:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Lien pour rejoindre l'événement (actif 15 minutes avant) : ",r(o("url"))])}},en:{add_calendar:e=>{const{normalize:t}=e;return t(["Add to calendar"])},google_calendar:e=>{const{normalize:t}=e;return t(["Google Calendar"])},ical_calendar:e=>{const{normalize:t}=e;return t(["ICAL Calendar"])},outlook_calendar:e=>{const{normalize:t}=e;return t(["Outlook Calendar"])},calendar_streaming_link:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Link to join the event (active 15 minutes before) : ",r(o("url"))])}}}})}typeof Xt=="function"&&Xt(ta);const na=j(ta,[["__scopeId","data-v-4b397338"]]),aa=x({__name:"ModalAddToCalendar",props:{modelValue:{type:Boolean},event:{},actionName:{},lang:{}},emits:["update:modelValue","avatar-changed"],setup(i,{emit:a}){const e=i,t=a,{t:r}=G(),o=z(()=>e.actionName?["action.ask_to_participate_as_member","action.ask_to_participate_as_public","action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_public"].includes(e.actionName):!1);return(_,v)=>(s(),F(Je,{"model-value":_.modelValue,"onUpdate:modelValue":v[0]||(v[0]=m=>t("update:modelValue",m))},{title:E(()=>[M(l(_.event.title),1)]),default:E(()=>[c("p",null,l(n(r)(o.value?"event.register_ask_success":"event.register_success",0,{locale:_.lang})),1),c("p",null,l(n(r)(o.value?"event.register_ask_pending":"event.register_success_email_sent",0,{locale:_.lang})),1),f(na,{event:_.event},null,8,["event"])]),_:1},8,["model-value"]))}});function en(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["Votre participation à l'événement"])},"event.register_ask_success":e=>{const{normalize:t}=e;return t(["Nous avons bien pris en compte votre demande d'inscription."])},"event.register_success":e=>{const{normalize:t}=e;return t(["Nous avons bien pris en compte votre inscription."])},"event.register_ask_pending":e=>{const{normalize:t}=e;return t(["Votre demande va faire l'objet d'une validation par l'équipe Frenchfounders."])},"event.register_success_email_sent":e=>{const{normalize:t}=e;return t(["Vous venez de recevoir un email de confirmation avec l'ensemble des informations pour cet événement."])}},en:{title:e=>{const{normalize:t}=e;return t(["Your participation to the event"])},"event.register_ask_success":e=>{const{normalize:t}=e;return t(["We have successfully received your participation request."])},"event.register_success":e=>{const{normalize:t}=e;return t(["You have successfully been registered!"])},"event.register_ask_pending":e=>{const{normalize:t}=e;return t(["Your request is going to be reviewed before validation by the Frenchfounders staff."])},"event.register_success_email_sent":e=>{const{normalize:t}=e;return t(["You'll receive a confirmation email with all the informations about the event."])}}}})}typeof en=="function"&&en(aa);const tr={key:0},nr={class:"modal__options-label"},ar={class:"modal__options"},or={class:"text-ice font-weight-bold"},rr={class:"text-ice font-weight-bold"},oa=x({__name:"ModalEventParticipation",props:{event:{},modelValue:{type:Boolean},showPhysical:{type:Boolean},showStreaming:{type:Boolean},participationType:{}},emits:["update:modelValue","update:participationType"],setup(i,{emit:a}){const e=i,t=a,{t:r}=G(),o=ie.RETAIL_PARTY,_=z(()=>e.event.id===o?"en":void 0);fe(()=>e.modelValue,u=>{u&&v()});const v=()=>{!e.participationType&&e.showPhysical&&!e.showStreaming?t("update:participationType","physical"):!e.participationType&&!e.showPhysical&&e.showStreaming&&t("update:participationType","remote"),document.body.style.overflow="hidden"},m=u=>{t("update:participationType",u)};return(u,p)=>(s(),F(Je,{class:"modal","model-value":u.modelValue,"onUpdate:modelValue":p[2]||(p[2]=y=>t("update:modelValue",y))},{title:E(()=>[M(l(n(r)("event.participation.title")),1)]),default:E(()=>[u.showPhysical&&u.showStreaming?(s(),d("div",tr,[c("div",nr,l(n(r)("event.participate_as",0,{locale:_.value})),1),c("div",ar,[u.showPhysical?(s(),d("div",{key:0,class:ce(["modal__option",{"modal__option--selected":u.participationType==="physical"}]),onClick:p[0]||(p[0]=y=>m("physical"))},[f(re,{class:"modal__option-icon",name:"groups"}),c("span",or,l(n(r)("event.physical",0,{locale:_.value})),1)],2)):$("",!0),u.showStreaming?(s(),d("div",{key:1,class:ce(["modal__option",{"modal__option--selected":u.participationType==="remote"}]),onClick:p[1]||(p[1]=y=>m("remote"))},[f(re,{class:"modal__option-icon",name:"videocam"}),c("span",rr,l(n(r)("event.online")),1)],2)):$("",!0)])])):$("",!0),Ne(u.$slots,"default",{},void 0,!0)]),_:3},8,["model-value"]))}});function tn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"event.participation.title":e=>{const{normalize:t}=e;return t(["Participer à l'événement"])},"event.participate_as":e=>{const{normalize:t}=e;return t(["Vous souhaitez participer:"])},"event.physical":e=>{const{normalize:t}=e;return t(["En physique"])},"event.online":e=>{const{normalize:t}=e;return t(["En ligne"])}},en:{"event.participation.title":e=>{const{normalize:t}=e;return t(["Join the event"])},"event.participate_as":e=>{const{normalize:t}=e;return t(["You wish to participate:"])},"event.physical":e=>{const{normalize:t}=e;return t(["Physical"])},"event.online":e=>{const{normalize:t}=e;return t(["Online"])}}}})}typeof tn=="function"&&tn(oa);const ra=j(oa,[["__scopeId","data-v-4b9ac178"]]),ir={key:0,class:"form text-left"},sr={class:"h6-alt mb-1"},lr={class:"modal__actions"},ia=x({__name:"ModalParticipateAsMember",props:{event:{},actions:{},lang:{}},emits:["validated"],setup(i,{expose:a,emit:e}){const t=i,r=e,o=Ae(),{toast:_}=he(),{t:v}=G(),m=Ve(),u=Y(!1),p=Y(!1),y=Y(""),b=Y(null),C=Y(null),h=Y(null);Be(()=>{R.value&&!S.value?b.value="physical":!R.value&&S.value&&(b.value="remote")});const L=z(()=>b.value==="physical"?R.value:S.value),P=z(()=>!!R.value&&!!S.value||B.value),R=z(()=>t.actions.find(N=>["action.participate","action.buy_ticket","action.ask_to_participate_as_member","action.ask_to_participate_as_member_and_buy_ticket"].includes(N.key))),S=z(()=>t.actions.find(N=>["action.stream.access","action.stream.participate","action.stream.buy_ticket","action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_member_and_buy_ticket"].includes(N.key))),B=z(()=>{var N;return(N=L.value)!=null&&N.key?["action.ask_to_participate_as_member","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member"].includes(L.value.key):!1}),k=()=>{var N;(N=window.$crisp)==null||N.push(["do","chat:hide"]),p.value=!0},D=()=>{var N;(N=window.$crisp)==null||N.push(["do","chat:show"]),p.value=!1},A=N=>{const U=N||L.value,q=U!=null&&U.key.includes("stream")?"streaming":"physical";m.push({name:st.EVENT_PAYMENT,params:{eventId:t.event.id},query:{profile:C.value||void 0,type:q}})},V=async()=>{var U,q,I,g,T,w;let N=null;if((U=L.value)!=null&&U.key&&["action.buy_ticket","action.stream.buy_ticket"].includes(L.value.key))return A();try{u.value=!0,b.value==="remote"&&S.value?N=await ee.postStreamEventAction(t.event.id,S.value.key,{comment:y.value}):b.value==="physical"&&R.value&&(N=await ee.postEventAction(t.event.id,R.value.key,{comment:y.value})),N&&(N!=null&&N.redirect)&&(window.location.href=N.redirect),r("validated",{actionResult:N,action:L.value}),(g=(I=(q=L.value)==null?void 0:q.key)==null?void 0:I.includes)!=null&&g.call(I,"buy_ticket")&&A(L.value),o.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]})}catch(O){Me.isAxiosError(O)&&(h.value=(w=(T=O==null?void 0:O.response)==null?void 0:T.data)==null?void 0:w.errors,_({type:X.ERROR,title:"Error",text:O.message})),console.error(O)}finally{u.value=!1}};return a({open:k,close:D,onValidate:V,needToOpenModal:P}),(N,U)=>(s(),F(ra,{modelValue:p.value,"onUpdate:modelValue":U[1]||(U[1]=q=>p.value=q),"participation-type":b.value,"onUpdate:participationType":U[2]||(U[2]=q=>b.value=q),class:"modal",event:N.event,"all-actions":N.actions,"show-physical":!!R.value,"show-streaming":!!S.value},{default:E(()=>[B.value?(s(),d("div",ir,[c("h6",sr,l(n(v)("commentary",0,{locale:N.lang})),1),f(Oe,{modelValue:y.value,"onUpdate:modelValue":U[0]||(U[0]=q=>y.value=q),name:"comment",placeholder:n(v)("event.form.comment.placeholder",0,{locale:N.lang}),error:h.value&&h.value.comment?h.value.comment[0]:void 0},null,8,["modelValue","placeholder","error"])])):$("",!0),c("div",lr,[f(le,{theme:n(W).PRIMARY,disabled:!b.value,pending:u.value,onClick:V},{default:E(()=>[M(l(n(v)("validate")),1)]),_:1},8,["theme","disabled","pending"])])]),_:1},8,["modelValue","participation-type","event","all-actions","show-physical","show-streaming"]))}});function nn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{commentary:e=>{const{normalize:t}=e;return t(["Commentaire"])},"event.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Un message à nous communiquer ?"])},validate:e=>{const{normalize:t}=e;return t(["Valider"])}},en:{commentary:e=>{const{normalize:t}=e;return t(["Comment"])},"event.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Something to communicate ?"])},validate:e=>{const{normalize:t}=e;return t(["Validate"])}}}})}typeof nn=="function"&&nn(ia);const sa=j(ia,[["__scopeId","data-v-144037d5"]]),cr=["innerHTML"],ur={key:0,class:"modal__form"},mr={class:"modal__actions"},la=x({__name:"ModalParticipateAsPublic",props:{event:{},actions:{}},emits:["validated"],setup(i,{expose:a,emit:e}){const t=i,r=e,o=Ve(),{t:_}=G(),{toast:v}=he(),m=Ae(),u=we({initialValues:{firstName:"",lastName:"",email:"",company:"",position:"",comment:""}}),p=Y(!1),y=Y(!1),b=Y(null),C=Y(null),h=Y(null),L=z(()=>t.event.id===4242),P=z(()=>t.actions.find(g=>["action.buy_ticket","action.participate","action.participate_as_guest","action.ask_to_participate_as_public","action.ask_to_participate_as_public_and_buy_ticket"].includes(g.key))),R=z(()=>t.actions.find(g=>["action.stream.access","action.stream.buy_ticket","action.stream.participate","action.stream.ask_to_participate_as_public","action.stream.participate_as_guest","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(g.key))),S=z(()=>ve.get(te.PUBLIC_PARTICIPANT_ID)||""),B=z(()=>!(b.value&&S.value&&!t.actions.find(g=>{var T;return["action.ask_to_participate_as_public_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(g.key)&&((T=g.options)==null?void 0:T.isGuest)})&&!t.actions.find(g=>["action.participate_as_guest","action.stream.participate_as_guest"].includes(g.key)))),k=z(()=>b.value==="physical"?P.value:R.value),D=z(()=>!S.value||!!t.actions.find(g=>{var T;return["action.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(g.key)&&((T=g.options)==null?void 0:T.isGuest)})||!!t.actions.find(g=>["action.participate_as_guest","action.stream.participate_as_guest"].includes(g.key))),A=z(()=>!!t.actions.find(g=>["action.participate_as_guest","action.stream.participate_as_guest"].includes(g==null?void 0:g.key)||!!t.actions.find(T=>{var w;return["action.ask_to_participate_as_public_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(T.key)&&((w=T.options)==null?void 0:w.isGuest)}))),V=z(()=>"https://private.frenchfounders.com/login"),N=()=>{var g;(g=window.$crisp)==null||g.push(["do","chat:hide"]),y.value=!0},U=()=>{var g;(g=window.$crisp)==null||g.push(["do","chat:show"]),y.value=!1},q=g=>{const T=g||k.value,w=T!=null&&T.key.includes("stream")?"streaming":"physical";o.push({name:st.EVENT_PAYMENT,params:{eventId:t.event.id},query:{profile:C.value||void 0,type:w}})},I=u.handleSubmit(async g=>{var T,w,O,K,Q,H,de,ye,Ce,Pe;try{let J=null;const Se=L.value?{email:g.email,firstName:g.firstName,lastName:g.lastName}:{...u.values};if(p.value=!0,h.value=null,["action.buy_ticket","action.stream.buy_ticket"].includes(((T=k.value)==null?void 0:T.key)||""))return q(k.value);if(b.value==="remote"&&R.value?J=await ee.postPublicStreamEventAction(t.event.id,(w=R.value)==null?void 0:w.key,{...Se},S.value):b.value==="physical"&&P.value&&(J=await ee.postPublicEventAction(t.event.id,(O=P.value)==null?void 0:O.key,{...Se},S.value)),J!=null&&J.publicParticipantId&&(window.sessionStorage.setItem("publicParticipantId",String(J.publicParticipantId)),ve.set(te.PUBLIC_PARTICIPANT_ID,String(J.publicParticipantId),1)),r("validated",{actionResult:J,action:k.value}),(K=k.value)!=null&&K.key.includes("buy_ticket")&&q(k.value),J&&typeof(J==null?void 0:J.redirect)=="string"){const Ee=window.open(J.redirect,"_blank");Ee==null||Ee.focus()}m.invalidateQueries({queryKey:[ue.EVENT_ACTIONS,t.event.id]}),document.body.style.overflow=""}catch(J){console.error(J),Me.isAxiosError(J)&&(h.value=(H=(Q=J==null?void 0:J.response)==null?void 0:Q.data)==null?void 0:H.errors,v({type:X.ERROR,title:((ye=(de=J==null?void 0:J.response)==null?void 0:de.data)==null?void 0:ye.title)||_("modal.ask_to_participate.error.form"),text:(Pe=(Ce=J==null?void 0:J.response)==null?void 0:Ce.data)==null?void 0:Pe.message}))}finally{p.value=!1}});return a({open:N,close:U,onValidate:I,needToOpenModal:B}),(g,T)=>(s(),F(ra,{modelValue:y.value,"onUpdate:modelValue":T[0]||(T[0]=w=>y.value=w),"participation-type":b.value,"onUpdate:participationType":T[1]||(T[1]=w=>b.value=w),class:"modal",event:g.event,"all-actions":g.actions,"show-physical":!!P.value,"show-streaming":!!R.value},{default:E(()=>{var w,O,K,Q,H,de;return[c("p",{class:"modal__please-login",innerHTML:n(_)("please_login",{url:V.value})},null,8,cr),D.value?(s(),d("div",ur,[f(Z,{name:"firstName",rules:"required",placeholder:n(_)("event.form.first_name"),error:h.value&&h.value.firstName?(w=h.value.firstName[0])==null?void 0:w.message:""},{default:E(()=>[M(l(n(_)("public_participant.modal.form.first_name.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{name:"lastName",rules:"required",placeholder:n(_)("event.form.lastName"),error:h.value&&h.value.lastName?(O=h.value.lastName[0])==null?void 0:O.message:""},{default:E(()=>[M(l(n(_)("public_participant.modal.form.last_name.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{class:"modal__field-extended",name:"email",rules:"required|email",placeholder:n(_)("event.form.email"),error:h.value&&h.value.email?(K=h.value.email[0])==null?void 0:K.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.email.placeholder")),1)]),_:1},8,["placeholder","error"]),L.value?$("",!0):(s(),F(Z,{key:0,name:"company",rules:"required",placeholder:n(_)("event.form.company"),error:h.value&&h.value.company?(Q=h.value.company[0])==null?void 0:Q.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.company.placeholder")),1)]),_:1},8,["placeholder","error"])),L.value?$("",!0):(s(),F(Z,{key:1,name:"position",rules:"required",placeholder:n(_)("event.form.position"),error:h.value&&h.value.position?(H=h.value.position[0])==null?void 0:H.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.position.placeholder")),1)]),_:1},8,["placeholder","error"])),!A.value&&!L.value?(s(),F(Oe,{key:2,class:"modal__field-extended",name:"comment",rules:"required",multiline:!0,error:h.value&&h.value.comment?(de=h.value.comment[0])==null?void 0:de.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.comment.placeholder")),1)]),_:1},8,["error"])):$("",!0)])):$("",!0),c("div",mr,[f(le,{theme:n(W).PRIMARY,disabled:!n(u).meta.value.valid,pending:p.value,onClick:n(I)},{default:E(()=>[M(l(n(_)("event.validate.guest")),1)]),_:1},8,["theme","disabled","pending","onClick"])])]}),_:1},8,["modelValue","participation-type","event","all-actions","show-physical","show-streaming"]))}});function an(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{please_login:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Vous êtes membre de Frenchfounders ? Cliquez <a style='text-decoration: underline' href='",r(o("link")),"'>ici</a> pour vous identifier."])},"event.form.first_name":e=>{const{normalize:t}=e;return t(["Votre prénom"])},"public_participant.modal.form.first_name.placeholder":e=>{const{normalize:t}=e;return t(["Prénom"])},"event.form.lastName":e=>{const{normalize:t}=e;return t(["Votre nom"])},"public_participant.modal.form.last_name.placeholder":e=>{const{normalize:t}=e;return t(["Nom"])},"event.form.email":e=>{const{normalize:t}=e;return t(["email","@","entreprise.com"])},"public_participant.modal.form.email.placeholder":e=>{const{normalize:t}=e;return t(["Email"])},"event.form.phone_number":e=>{const{normalize:t}=e;return t(["Votre numéro de téléphone"])},"public_participant.modal.form.phone.placeholder":e=>{const{normalize:t}=e;return t(["Téléphone"])},"public_participant.modal.form.country.placeholder":e=>{const{normalize:t}=e;return t(["Pays"])},"event.form.company":e=>{const{normalize:t}=e;return t(["Votre entreprise"])},"public_participant.modal.form.company.placeholder":e=>{const{normalize:t}=e;return t(["Entreprise"])},"event.form.position":e=>{const{normalize:t}=e;return t(["Votre poste"])},"public_participant.modal.form.position.placeholder":e=>{const{normalize:t}=e;return t(["Poste occupé"])},"public_participant.modal.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Commentaire"])},"close.guest":e=>{const{normalize:t}=e;return t(["Fermer"])},"event.validate.guest":e=>{const{normalize:t}=e;return t(["Valider"])},"modal.ask_to_participate.error.form":e=>{const{normalize:t}=e;return t(["Une erreur est survenue"])}},en:{please_login:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Are you a Frenchfounders member? Click <a class='link' href='",r(o("link")),"'>here</a> to login"])},"event.form.first_name":e=>{const{normalize:t}=e;return t(["Your first name"])},"public_participant.modal.form.first_name.placeholder":e=>{const{normalize:t}=e;return t(["First name"])},"event.form.lastName":e=>{const{normalize:t}=e;return t(["Your last name"])},"public_participant.modal.form.last_name.placeholder":e=>{const{normalize:t}=e;return t(["Last name"])},"event.form.email":e=>{const{normalize:t}=e;return t(["email","@","company.com"])},"public_participant.modal.form.email.placeholder":e=>{const{normalize:t}=e;return t(["Email"])},"event.form.phone_number":e=>{const{normalize:t}=e;return t(["Your phone number"])},"public_participant.modal.form.phone.placeholder":e=>{const{normalize:t}=e;return t(["Phone"])},"public_participant.modal.form.country.placeholder":e=>{const{normalize:t}=e;return t(["Country"])},"event.form.company":e=>{const{normalize:t}=e;return t(["Your company"])},"public_participant.modal.form.company.placeholder":e=>{const{normalize:t}=e;return t(["Company"])},"event.form.position":e=>{const{normalize:t}=e;return t(["Your position"])},"public_participant.modal.form.position.placeholder":e=>{const{normalize:t}=e;return t(["Job title"])},"public_participant.modal.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Please indicate your motivations to participate in this event"])},"close.guest":e=>{const{normalize:t}=e;return t(["Close"])},"event.validate.guest":e=>{const{normalize:t}=e;return t(["Confirm"])},"modal.ask_to_participate.error.form":e=>{const{normalize:t}=e;return t(["An error occured"])}}}})}typeof an=="function"&&an(la);const ca=j(la,[["__scopeId","data-v-08b26f9c"]]);function Tt(){return{PARTICIPATE_ACTION_KEYS:["action.participate","action.participate_as_guest","action.ask_to_participate_as_member","action.ask_to_participate_as_public","action.stream.participate","action.stream.participate_as_guest","action.stream.access","action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_public"]}}const _r={class:"coupon"},dr={class:"coupon__input"},ua=x({__name:"ModalPaymentEventCoupon",props:{isLoading:{type:Boolean}},emits:["send-coupon"],setup(i,{emit:a}){const{t:e}=G(),t=a,{handleSubmit:r}=we({initialValues:{coupon:""}}),{value:o,resetField:_}=rt("coupon",void 0,{syncVModel:!0}),v=r(m=>{t("send-coupon",m.coupon),_()});return(m,u)=>(s(),d("div",_r,[c("div",null,[c("div",dr,[f(Z,{name:"coupon",placeholder:n(e)("placeholder")},{default:E(()=>[M(l(n(e)("label")),1)]),_:1},8,["placeholder"])]),c("div",null,[f(le,{pending:m.isLoading,disabled:!n(o),theme:n(W).GHOST,bordered:"",onClick:n(v)},{default:E(()=>[M(l(n(e)("button")),1)]),_:1},8,["pending","disabled","theme","onClick"])])])]))}});function on(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{label:e=>{const{normalize:t}=e;return t(["Disposez-vous d'un coupon ?"])},button:e=>{const{normalize:t}=e;return t(["Appliquer"])},placeholder:e=>{const{normalize:t}=e;return t(["Votre coupon"])},toast:{success:{title:e=>{const{normalize:t}=e;return t(["Coupon appliqué"])},message:e=>{const{normalize:t}=e;return t(["Votre code a bien été appliqué"])}},error:{title:e=>{const{normalize:t}=e;return t(["Mauvais code"])},message:e=>{const{normalize:t}=e;return t(["Votre code n'est pas valide"])}}}},en:{label:e=>{const{normalize:t}=e;return t(["Do you have a coupon?"])},button:e=>{const{normalize:t}=e;return t(["Validate"])},placeholder:e=>{const{normalize:t}=e;return t(["Your coupon"])},toast:{success:{title:e=>{const{normalize:t}=e;return t(["Applied coupon"])},message:e=>{const{normalize:t}=e;return t(["Your code has been applied"])}},error:{title:e=>{const{normalize:t}=e;return t(["Bad code"])},message:e=>{const{normalize:t}=e;return t(["Your code is invalid"])}}}}}})}typeof on=="function"&&on(ua);const pr=j(ua,[["__scopeId","data-v-41f2e62a"]]);var De=(i=>(i.BOOKING="booking",i.SUGGESTING="suggesting",i))(De||{});const vr={class:"content"},fr={class:"title-4"},yr={class:"mt-2"},zr={key:0,class:"mt-2"},hr={key:0,class:"content__price-item"},br={key:0},gr={key:1},kr={key:0,class:"text-end text-xs line-through"},Er={key:1,class:"mt-2"},Tr={class:"content__coupon mt-2"},Cr={class:"mt-6"},Pr={class:"content__price-item title-4"},Sr={key:0,class:"content__price-item title-4 mt-2"},Ir={class:"content__price-item title-4 mt-4"},Ar={key:1},$r={key:1,class:"content__price-item title-4 mt-4"},Rr={class:"flex items-center"},wr={key:1},ma=x({__name:"ModalPaymentEventSideContent",props:{event:{},eventEstimateQuery:{},form:{},context:{},lastEstimateResult:{}},setup(i){const a=i,{t:e,locale:t}=G(),r=ne(),o=z(()=>{var m,u;return((u=(m=a==null?void 0:a.event)==null?void 0:m.locales)==null?void 0:u[0])||t.value}),_=m=>{a.form.setFieldValue("couponCode",m)},v=z(()=>{var m,u,p,y;return!!((m=a.lastEstimateResult.value)!=null&&m.data.guests&&((p=(u=a.lastEstimateResult.value)==null?void 0:u.data.guests)==null?void 0:p.length)>0||a.context===De.BOOKING&&((y=a.lastEstimateResult.value)!=null&&y.data.price))});return(m,u)=>{var y,b;const p=ze("tooltip");return s(),d("div",vr,[c("div",fr,l(n(e)("summary")),1),c("div",yr,l(m.event.title),1),m.event.startDate?(s(),d("div",zr,l(n(We)(m.event.startDate,{locale:o.value,format:n(me).DATE_FULL,useZoneFromDate:(b=(y=m.lastEstimateResult.value)==null?void 0:y.meta)==null?void 0:b.useZoneFromDate})),1)):$("",!0),f(Ie,{"is-loading":m.eventEstimateQuery.isLoading.value,"is-error":!1,"is-success":!!m.lastEstimateResult.value},{fallback:E(()=>[f(Te,{class:"mt-4"})]),success:E(()=>{var C,h,L,P,R,S,B,k,D,A,V,N,U,q,I,g,T,w;return[c("div",{class:ce(["content__price mt-4",{"content__price--no-border-top":!v.value}])},[m.context===n(De).BOOKING&&((C=m.lastEstimateResult.value)!=null&&C.data.price)?(s(),d("div",hr,[n(r).isLoggedIn?(s(),d("div",br,l(n(e)("price",{name:`${(h=n(r).authentifiedUser)==null?void 0:h.first_name} ${(L=n(r).authentifiedUser)==null?void 0:L.last_name}`})),1)):(s(),d("div",gr,l(n(e)("price",{name:(P=m.form.values)!=null&&P.firstName&&((R=m.form.values)!=null&&R.lastName)?`${m.form.values.firstName} ${m.form.values.lastName}`:n(e)("my_ticket")})),1)),c("div",null,l(n(ae)((S=m.lastEstimateResult.value)==null?void 0:S.data.price)),1)])):$("",!0),(s(!0),d(oe,null,ge((B=m.lastEstimateResult.value)==null?void 0:B.data.guests,O=>(s(),d("div",{key:O.email,class:"content__price-item"},[c("div",null,l(n(e)("price",{name:`${O==null?void 0:O.firstName} ${O==null?void 0:O.lastName}`})),1),c("div",null,[c("div",null,l(n(ae)(O.price)),1),O!=null&&O.originalPrice?(s(),d("div",kr,l(n(ae)(O.originalPrice)),1)):$("",!0)])]))),128)),(k=m.lastEstimateResult.value)!=null&&k.data.coupon?(s(),d("div",Er,[c("div",null,l(n(e)("your_coupon")),1),c("div",Tr,[c("div",null,l((D=m.lastEstimateResult.value)==null?void 0:D.data.coupon.code),1),f(re,{name:"close",class:"content__icon",onClick:u[0]||(u[0]=()=>_(""))})])])):$("",!0)],2),(A=m.lastEstimateResult.value)!=null&&A.data.coupon?$("",!0):(s(),F(pr,{key:0,coupon:(V=m.lastEstimateResult.value)==null?void 0:V.data.coupon,onSendCoupon:_},null,8,["coupon"])),c("div",Cr,[c("div",Pr,[c("div",null,l(n(e)("total")),1),c("div",null,l(n(ae)((N=m.lastEstimateResult.value)==null?void 0:N.data.total)),1)]),(U=m.lastEstimateResult.value)!=null&&U.data.coupon?(s(),d("div",Sr,[c("div",null,l((q=m.lastEstimateResult.value)==null?void 0:q.data.coupon.code),1),c("div",null,"-"+l(n(ae)((I=m.lastEstimateResult.value)==null?void 0:I.data.coupon.price)),1)])):$("",!0),c("div",Ir,[c("div",null,l(n(e)("pay")),1),c("div",null,[m.eventEstimateQuery.isLoading.value||m.eventEstimateQuery.isFetching.value?(s(),F(Te,{key:0})):(s(),d("div",Ar,l(n(ae)((g=m.lastEstimateResult.value)==null?void 0:g.data.totalToPay)),1))])]),((T=n(r).authentifiedUser)==null?void 0:T.currency)==="EUR"?(s(),d("div",$r,[c("div",Rr,[M(l(n(e)("total_eur"))+" ",1),se(f(it,{name:"help"},null,512),[[p,{content:n(e)("total_eur_helper"),theme:n(to).LIGHT},void 0,{top:!0}]])]),c("div",null,[m.eventEstimateQuery.isLoading.value||m.eventEstimateQuery.isFetching.value?(s(),F(Te,{key:0})):(s(),d("div",wr,l(n(ae)((w=m.lastEstimateResult.value)==null?void 0:w.data.totalToPayEur)),1))])])):$("",!0)])]}),_:1},8,["is-loading","is-success"])])}}});function rn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{summary:e=>{const{normalize:t}=e;return t(["Résumé"])},price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["1x ",r(o("name"))])},total:e=>{const{normalize:t}=e;return t(["Sous-total"])},pay:e=>{const{normalize:t}=e;return t(["Payer"])},total_eur:e=>{const{normalize:t}=e;return t(["Montant estimé en euros"])},total_eur_helper:e=>{const{normalize:t}=e;return t(["Vous avez sélectionné l'euro € comme devise de préférence. Tous les paiements seront donc effectués dans cette devise."])},your_coupon:e=>{const{normalize:t}=e;return t(["Votre coupon :"])},my_ticket:e=>{const{normalize:t}=e;return t(["Mon ticket"])}},en:{summary:e=>{const{normalize:t}=e;return t(["Summary"])},price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["1x ",r(o("name"))])},total:e=>{const{normalize:t}=e;return t(["Subtotal"])},pay:e=>{const{normalize:t}=e;return t(["Pay"])},total_eur:e=>{const{normalize:t}=e;return t(["Estimated amount in euros"])},total_eur_helper:e=>{const{normalize:t}=e;return t(["You've selected Euro € as your preferred currency. All payments will be made in this currency."])},your_coupon:e=>{const{normalize:t}=e;return t(["Your coupon :"])},my_ticket:e=>{const{normalize:t}=e;return t(["My ticket"])}}}})}typeof rn=="function"&&rn(ma);const Lr=j(ma,[["__scopeId","data-v-320b551f"]]),Nr={class:"add-guest mt-4"},Mr={key:0,class:"add-guest__header mb-4"},Dr={class:"title-4"},Br={class:"add-guest__form"},_a=x({__name:"AddGuest",props:{index:{}},emits:["delete"],setup(i){const{t:a}=G(),{isDesktop:e}=Yn();return(t,r)=>(s(),d("div",Nr,[n(e)?$("",!0):(s(),d("div",Mr,[c("div",Dr,l(n(a)("participant",{number:t.index+1})),1),f(re,{class:"add-guest__icon",name:"close",onClick:r[0]||(r[0]=o=>t.$emit("delete"))})])),c("div",Br,[f(Z,{name:`guests[${t.index}].firstName`,rules:"required"},{default:E(()=>[M(l(n(a)("firstName")),1)]),_:1},8,["name"]),f(Z,{name:`guests[${t.index}].lastName`,rules:"required"},{default:E(()=>[M(l(n(a)("lastName")),1)]),_:1},8,["name"]),f(Z,{name:`guests[${t.index}].email`,rules:"required|email"},{default:E(()=>[M(l(n(a)("email")),1)]),_:1},8,["name"]),n(e)?(s(),F(re,{key:0,class:"add-guest__icon mt-6r",name:"close",onClick:r[1]||(r[1]=o=>t.$emit("delete"))})):$("",!0)])]))}});function sn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{firstName:e=>{const{normalize:t}=e;return t(["Prénom"])},lastName:e=>{const{normalize:t}=e;return t(["Nom"])},email:e=>{const{normalize:t}=e;return t(["Email"])},participant:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Participant ",r(o("number"))])},"email.unique":e=>{const{normalize:t}=e;return t(["L'email doit être unique"])},"email.already_confirmed":e=>{const{normalize:t}=e;return t(["Cette personne participe déjà à l'événement"])},"email.already_invited":e=>{const{normalize:t}=e;return t(["Cette personne a déjà été invitée"])},"email.self_invited":e=>{const{normalize:t}=e;return t(["Vous ne pouvez mettre votre propre email"])}},en:{firstName:e=>{const{normalize:t}=e;return t(["First name"])},lastName:e=>{const{normalize:t}=e;return t(["Last name"])},email:e=>{const{normalize:t}=e;return t(["Email"])},participant:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Participant ",r(o("number"))])},"email.unique":e=>{const{normalize:t}=e;return t(["E-mail must be unique"])},"email.already_confirmed":e=>{const{normalize:t}=e;return t(["This person is already participating to this event"])},"email.already_invited":e=>{const{normalize:t}=e;return t(["This person is already invited"])},"email.self_invited":e=>{const{normalize:t}=e;return t(["You can't invite yourself"])}}}})}typeof sn=="function"&&sn(_a);const Vr=j(_a,[["__scopeId","data-v-a9c1c2a5"]]),Or={class:"guest"},Ur={key:0,class:"mb-4 flex items-start gap-6 text-balance rounded bg-flagship-10 p-4"},qr={class:"flex-1"},Fr={class:"text-medium"},Yr={key:0,class:"guest__add-title-text"},xr={key:1,class:"mt-2 text-xs"},Gr={key:2},da=x({__name:"ModalPaymentEventGuest",props:bt({defaultOpen:{type:Boolean},event:{},form:{},formEstimateErrors:{}},{addGuest:{type:Boolean,default:!1},addGuestModifiers:{}}),emits:["update:addGuest"],setup(i){const a=i,e=lt(i,"addGuest"),{t}=G(),{data:r}=Qn(),o=ne(),{breakpoints:_}=Yn(),v=z(()=>{var C;return(C=r.value)==null?void 0:C.data}),{futureLeadersPassSubscriptions:m}=mo(v),u=z(()=>m.value.map(C=>C.child).filter(C=>C!=null)),p=z(()=>_.value.xs);Be(()=>{a.defaultOpen&&(e.value=!0)});const y=async()=>{e.value=!0,a.form.setFieldValue("guests",u.value.map(C=>({email:C.email,firstName:C.firstName,lastName:C.lastName}))),a.form.validate()},b=C=>{var L;const h=((L=a.form.values.guests)==null?void 0:L.filter((P,R)=>R!==C))||[];a.form.setFieldValue("guests",h),h.length||(e.value=!1),a.form.validate()};return(C,h)=>(s(),d("div",Or,[C.event.openToFutureLeaders&&u.value.length?(s(),d("div",Ur,[c("div",qr,[c("div",Fr,l(n(t)("flp_benefit")),1),f(Gn,{class:"mt-2",to:{name:n(xn).FUTURE_LEADERS_PASS}},{default:E(()=>[M(l(n(t)("learn_more")),1)]),_:1},8,["to"])]),f(_e,{class:"guest__add-title",onClick:y},{default:E(()=>[M(l(n(t)("invite_children")),1)]),_:1})])):$("",!0),c("div",null,[!n(o).hasRole(n(Re).LECLUB)&&!C.event.isClub?(s(),d("div",Yr,l(C.defaultOpen?n(t)("want_suggest_guest"):n(t)("want_add_guest")),1)):$("",!0),e.value?$("",!0):(s(),F(_e,{key:1,class:ce({"mt-2":!n(o).hasRole(n(Re).LECLUB)&&!C.event.isClub}),theme:n(W).SECONDARY,block:p.value,onClick:h[0]||(h[0]=()=>{e.value=!0,C.form.setFieldValue("guests",[{email:"",firstName:"",lastName:""}],!1)})},{default:E(()=>[M(l(n(t)("action_add_guest")),1)]),_:1},8,["class","theme","block"]))]),Ne(C.$slots,"couponInfo",{},void 0,!0),C.event.isClub?$("",!0):(s(),d("div",xr,l(n(t)("event_public")),1)),e.value?(s(),d("div",Gr,[(s(!0),d(oe,null,ge(C.form.values.guests||[],(L,P)=>(s(),F(Vr,{key:P,index:P,"form-estimate-errors":C.formEstimateErrors,class:"mt-4",onDelete:R=>b(P)},null,8,["index","form-estimate-errors","onDelete"]))),128)),c("button",{type:"button",class:"unstyle",onClick:h[1]||(h[1]=L=>C.form.setFieldValue("guests",[...C.form.values.guests||[],{email:"",firstName:"",lastName:""}]))},[f(re,{name:"add",class:"guest__add-button mt-2"})])])):$("",!0)]))}});function ln(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{want_add_guest:e=>{const{normalize:t}=e;return t(["Souhaitez-vous convier une ou plusieurs personnes à l’événement ?"])},want_suggest_guest:e=>{const{normalize:t}=e;return t(["Qui souhaitez-vous suggérer à cet événement ?"])},want_add_guest_club:{advantage:e=>{const{normalize:t}=e;return t(["Avantages membre Club"])},free_event:e=>{const{normalize:t}=e;return t(["événement gratuit"])},event_price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["prix membre: ",r(o("price"))])},invitation:e=>{const{normalize:t}=e;return t(["inviter gratuitement jusqu'à 2 <a style='text-decoration: underline'>personnes éligibles</a> par an"])},invitation_price:e=>{const{normalize:t}=e;return t(["inviter, au prix membre, jusqu'à 2 <a style='text-decoration: underline'>personnes éligibles</a> par an"])}},action_add_guest:e=>{const{normalize:t}=e;return t(["Inviter"])},want_add_guest_details:e=>{const{normalize:t}=e;return t(["Seules les <a style='text-decoration: underline'>personnes éligibles</a> au Club peuvent être conviées, l’événement étant soumis à modération."])},event_public:e=>{const{normalize:t}=e;return t(["Cet événement est ouvert à tous les membres du réseau Frenchfounders. Vos invités devront créer un compte pour participer."])},invite_children:e=>{const{normalize:t}=e;return t(["Inviter mes enfants"])},flp_benefit:e=>{const{normalize:t}=e;return t([`Votre abonnement "Future Leaders Pass" vous permet de venir avec vos enfants à l'événement.`])},learn_more:e=>{const{normalize:t}=e;return t(["En savoir plus"])}},en:{want_add_guest:e=>{const{normalize:t}=e;return t(["Do you want to invite one or more people to the event ?"])},want_suggest_guest:e=>{const{normalize:t}=e;return t(["Who do you want to suggest to this event ?"])},want_add_guest_club:{advantage:e=>{const{normalize:t}=e;return t(["Club member advantages"])},free_event:e=>{const{normalize:t}=e;return t(["free event"])},event_price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["member price: ",r(o("price"))])},invitation:e=>{const{normalize:t}=e;return t(["invite free up to 2 <a style='text-decoration: underline'>people eligible</a> per year"])},invitation_price:e=>{const{normalize:t}=e;return t(["invite, at a member price, up to 2 <a style='text-decoration: underline'>people eligible</a> per year"])}},action_add_guest:e=>{const{normalize:t}=e;return t(["Invite"])},want_add_guest_details:e=>{const{normalize:t}=e;return t(["Only <a style='text-decoration: underline'>people eligible for the Club</a> for the Club can be invited, the event being subject to moderation."])},event_public:e=>{const{normalize:t}=e;return t(["This event is open to all members of the Frenchfounders network. Your guests will have to create an account to participate."])},invite_children:e=>{const{normalize:t}=e;return t(["Invite my children"])},flp_benefit:e=>{const{normalize:t}=e;return t(['Your subscription to the "Future leaders Pass" allows you to come with your children to the event.'])},learn_more:e=>{const{normalize:t}=e;return t(["Learn more"])}}}})}typeof ln=="function"&&ln(da);const jr=j(da,[["__scopeId","data-v-bfec41c9"]]),Kr={key:0,class:"mt-2"},Hr={class:"form mb-4 mt-4"},pa=x({__name:"ModalPaymentLeadForm",props:{event:{}},setup(i){const a="https://private.frenchfounders.com",{t:e}=G(),{redirectBounding:t}=no(),r=Ve(),o=z(()=>{const{href:v,to:m}=t({name:jn.WEWEB_CLUB,hash:"#faq-eligibility"});return v||(m?r.resolve(m).href:"")}),_=z(()=>a.concat("/login?redirectUrl="+window.location.href));return(v,m)=>{const u=ze("safe-html");return s(),d("div",null,[se(c("div",null,null,512),[[u,n(e)("connect",{href:_.value})]]),v.event.isClub?se((s(),d("div",Kr,null,512)),[[u,n(e)("eligibility",{href:o.value})]]):$("",!0),c("div",Hr,[f(Z,{name:"lastName",rules:"required"},{default:E(()=>[M(l(n(e)("lastName")),1)]),_:1}),f(Z,{name:"firstName",rules:"required"},{default:E(()=>[M(l(n(e)("firstName")),1)]),_:1}),f(Z,{name:"email",rules:"required|email"},{default:E(()=>[M(l(n(e)("email")),1)]),_:1}),f(Z,{name:"company",rules:"required"},{default:E(()=>[M(l(n(e)("company")),1)]),_:1}),f(Z,{name:"position",rules:"required"},{default:E(()=>[M(l(n(e)("position")),1)]),_:1})])])}}});function cn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{firstName:e=>{const{normalize:t}=e;return t(["Prénom"])},lastName:e=>{const{normalize:t}=e;return t(["Nom"])},email:e=>{const{normalize:t}=e;return t(["Email"])},company:e=>{const{normalize:t}=e;return t(["Entreprise"])},position:e=>{const{normalize:t}=e;return t(["Poste occupé"])},connect:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["<a href=",r(o("href"))," style='text-decoration: none; color: var(--theme-color-royale)'>Connectez-vous</a> pour bénéficier des conditions pour les membres de notre réseau."])},eligibility:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Pour participer à cet événement, vous devez répondre aux <a style='text-decoration: underline' target='_blank' href='",r(o("href")),"'>critères d’éligibilité du Club</a> Frenchfounders."])}},en:{firstName:e=>{const{normalize:t}=e;return t(["First name"])},lastName:e=>{const{normalize:t}=e;return t(["Last name"])},email:e=>{const{normalize:t}=e;return t(["Email"])},company:e=>{const{normalize:t}=e;return t(["Company"])},position:e=>{const{normalize:t}=e;return t(["Position held"])},connect:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["<a href=",r(o("href"))," style='text-decoration: none; color: var(--theme-color-royale)'>Log in</a> to benefit from the conditions for our members"])},eligibility:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["To participate in this event, you must meet the <a style='text-decoration: underline' target='_blank' href='",r(o("href")),"'>eligibility criteria of the Frenchfounders Club</a>."])}}}})}typeof cn=="function"&&cn(pa);const Qr=j(pa,[["__scopeId","data-v-3954fd66"]]),Wr={class:"participation-type__title mb-4"},Jr={class:"participation-type__options"},va=x({__name:"ModalPaymentEventParticipationType",props:{lastEstimateResult:{}},setup(i){const a=i,{t:e}=G(),{value:t,setValue:r}=rt("presence","required",{syncVModel:!0}),o=z(()=>{var v,m;return(m=(v=a.lastEstimateResult.value)==null?void 0:v.meta)==null?void 0:m.soldOutPhysical}),_=z(()=>{var v,m;return(m=(v=a.lastEstimateResult.value)==null?void 0:v.meta)==null?void 0:m.soldOutStreaming});return(v,m)=>(s(),d("div",null,[c("div",Wr,l(n(e)("event.participate_as")),1),c("div",Jr,[o.value?$("",!0):(s(),d("div",{key:0,class:ce(["participation-type__option",{"participation-type__option--selected":n(t)==="physical"}]),onClick:m[0]||(m[0]=u=>n(r)("physical"))},[f(re,{class:"participation-type__option-icon",name:"groups"}),c("div",null,l(n(e)("event.physical")),1)],2)),_.value?$("",!0):(s(),d("div",{key:1,class:ce(["participation-type__option",{"participation-type__option--selected":n(t)==="remote"}]),onClick:m[1]||(m[1]=u=>n(r)("remote"))},[f(re,{class:"participation-type__option-icon",name:"auto-videocam"}),c("div",null,l(n(e)("event.online")),1)],2))])]))}});function un(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"event.participation.title":e=>{const{normalize:t}=e;return t(["Participer à l'événement"])},"event.participate_as":e=>{const{normalize:t}=e;return t(["Vous souhaitez participer :"])},"event.physical":e=>{const{normalize:t}=e;return t(["En physique"])},"event.online":e=>{const{normalize:t}=e;return t(["En ligne"])}},en:{"event.participation.title":e=>{const{normalize:t}=e;return t(["Join the event"])},"event.participate_as":e=>{const{normalize:t}=e;return t(["You wish to participate :"])},"event.physical":e=>{const{normalize:t}=e;return t(["Physical"])},"event.online":e=>{const{normalize:t}=e;return t(["Online"])}}}})}typeof un=="function"&&un(va);const Zr=j(va,[["__scopeId","data-v-e6ace6d8"]]),Xr={class:"content"},ei={class:"title-4 content__title"},ti={key:0,class:"mb-8"},ni={class:"font-medium"},ai={class:"ml-6 list-disc"},oi={key:0},ri={key:3},ii={key:4,class:"mt-6"},si={class:"mb-1 font-medium"},li={class:"content__pay-guest-form"},fa=x({__name:"ModalPaymentEventLeftContent",props:{eventEstimateQuery:{},form:{},formEstimateErrors:{},event:{},context:{},lastEstimateResult:{}},setup(i){const a=i,{t:e}=G(),t=ne(),{data:r}=Qn(),o=Y(!1),_=z(()=>{var y,b;return(b=(y=a.lastEstimateResult.value)==null?void 0:y.meta)==null?void 0:b.isModerationNeeded}),v=z(()=>{var y,b;return t.isLoggedIn&&((b=(y=a.lastEstimateResult.value)==null?void 0:y.meta)==null?void 0:b.canInviteGuest)}),m=z(()=>{var b,C;if(!((b=r.value)!=null&&b.data.length))return a.form.values.guests||[];const y=r.value.data.filter(h=>h.child!==void 0).map(h=>{var L;return(L=h.child)==null?void 0:L.email})||[];return((C=a.form.values.guests)==null?void 0:C.filter(h=>!y.includes(h.email)))||[]}),u=z(()=>{var y,b,C,h,L;return((y=a.lastEstimateResult.value)==null?void 0:y.meta.canChoosePresence)&&(!((C=(b=a.lastEstimateResult.value)==null?void 0:b.meta)!=null&&C.soldOutPhysical)||!((L=(h=a.lastEstimateResult.value)==null?void 0:h.meta)!=null&&L.soldOutStreaming))}),p=z(()=>t.hasRole(Re.LECLUB)&&a.event.isClub&&a.event.type===pt.PHYSICAL);return(y,b)=>{var h,L,P,R,S,B,k,D,A,V,N,U,q,I,g;const C=ze("safe-html");return s(),d("div",Xr,[c("div",ei,[Ne(y.$slots,"title",{},()=>[M(l(_.value?n(e)("title_with_moderation"):n(e)("title")),1)],!0)]),p.value?(s(),d("div",ti,[c("div",ni,l(n(e)("as_member.advantage")),1),c("ul",ai,[c("li",null,l((L=(h=y.lastEstimateResult.value)==null?void 0:h.data)!=null&&L.price&&((S=(R=(P=y.lastEstimateResult.value)==null?void 0:P.data)==null?void 0:R.price)==null?void 0:S.value)>0?n(e)("as_member.event_price",{price:n(ae)((k=(B=y.lastEstimateResult.value)==null?void 0:B.data)==null?void 0:k.price)}):n(e)("as_member.free_event")),1),v.value?(s(),d("li",oi,[f(ao,{target:"_blank",to:{name:n(jn).WEWEB_CLUB,hash:"#faq-eligibility"}},{default:E(()=>{var T,w,O,K,Q;return[se(c("div",null,null,512),[[C,(w=(T=y.lastEstimateResult.value)==null?void 0:T.data)!=null&&w.price&&((Q=(K=(O=y.lastEstimateResult.value)==null?void 0:O.data)==null?void 0:K.price)==null?void 0:Q.value)>0?n(e)("as_member.invitation_price"):n(e)("as_member.invitation")]])]}),_:1},8,["to"])])):$("",!0)])])):$("",!0),u.value?(s(),F(Zr,{key:1,"last-estimate-result":y.lastEstimateResult},null,8,["last-estimate-result"])):$("",!0),n(t).isLoggedIn?$("",!0):(s(),F(Qr,{key:2,event:y.event},null,8,["event"])),_.value?(s(),d("div",ri,[f(Fn,{class:"content__comment mb-1",required:""},{default:E(()=>[M(l(n(e)("form.comment.label")),1)]),_:1}),f(Oe,{name:"comment",rules:"required",placeholder:n(e)("form.comment.placeholder")},null,8,["placeholder"])])):$("",!0),se(f(jr,{modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=T=>o.value=T),modelModifiers:{addGuest:!0},class:"mt-10","default-open":y.context===n(De).SUGGESTING,event:y.event,form:y.form,"form-estimate-errors":y.formEstimateErrors},null,8,["modelValue","default-open","event","form","form-estimate-errors"]),[[gt,v.value]]),m.value.length&&y.event.paying&&((V=(A=(D=y.lastEstimateResult.value)==null?void 0:D.data)==null?void 0:A.coupon)==null?void 0:V.code)!=="BEMYGUEST"&&((U=(N=y.lastEstimateResult.value)==null?void 0:N.data)!=null&&U.totalToPay)&&((g=(I=(q=y.lastEstimateResult.value)==null?void 0:q.data)==null?void 0:I.totalToPay)==null?void 0:g.value)>0?(s(),d("div",ii,[f(Gt,{name:"fade-in-up"},{default:E(()=>[c("div",null,[c("div",si,l(n(e)("form.pay_for_guest.label")),1),c("div",li,[f(Qt,{name:"payForGuests",value:!0},{default:E(()=>[M(l(n(e)("form.pay_for_guest.yes")),1)]),_:1}),f(Qt,{name:"payForGuests",value:!1},{default:E(()=>[M(l(n(e)("form.pay_for_guest.no")),1)]),_:1})])])]),_:1})])):$("",!0),f(Ie,{"is-loading":y.eventEstimateQuery.isLoading.value,"is-error":!1,"is-success":!!y.lastEstimateResult.value},{fallback:E(()=>[f(Te,{class:"content__loader mt-4"})]),success:E(()=>[f(Gt,{name:"fade-in-up"},{default:E(()=>{var T,w,O,K;return[(w=(T=y.lastEstimateResult.value)==null?void 0:T.data)!=null&&w.totalToPay&&((K=(O=y.lastEstimateResult.value)==null?void 0:O.data)==null?void 0:K.totalToPay.value)>0?(s(),F(po,{key:0,class:"mt-10",name:"chargebeePaymentSourceId","supported-methods":[n(_o).CARD]},null,8,["supported-methods"])):$("",!0)]}),_:1})]),_:1},8,["is-loading","is-success"])])}}});function mn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["S'inscrire à l'événement"])},title_with_moderation:e=>{const{normalize:t}=e;return t(["Demander mon invitation"])},as_member:{free:e=>{const{normalize:t}=e;return t(["En tant que membre Club, cet événement vous est offert."])},advantage:e=>{const{normalize:t}=e;return t(["Avantages membre Club"])},free_event:e=>{const{normalize:t}=e;return t(["événement gratuit"])},event_price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["prix membre: ",r(o("price"))])},invitation:e=>{const{normalize:t}=e;return t(["inviter gratuitement jusqu'à 2 <a style='text-decoration: underline'>personnes éligibles</a> par an"])},invitation_price:e=>{const{normalize:t}=e;return t(["inviter, au prix membre, jusqu'à 2 <a style='text-decoration: underline'>personnes éligibles</a> par an"])}},form:{comment:{label:e=>{const{normalize:t}=e;return t(["Pourquoi souhaitez-vous participer à cet événement ?"])},placeholder:e=>{const{normalize:t}=e;return t(["Détaillez ici vos motivations"])}},pay_for_guest:{label:e=>{const{normalize:t}=e;return t(["Souhaitez-vous payer pour le(s) invité(s) ?"])},yes:e=>{const{normalize:t}=e;return t(["Oui"])},no:e=>{const{normalize:t}=e;return t(["Non"])},coupon:e=>{const{normalize:t}=e;return t(["Faites découvrir la puissance du Club à vos contacts en les invitant à cet événement ! Pour cela, utilisez l'une de vos <strong>2 invitations gratuites par an</strong> grâce à votre coupon de recommandation "])},coupon_BEMYGUEST:e=>{const{normalize:t}=e;return t(["BEMYGUEST"])}}}},en:{title:e=>{const{normalize:t}=e;return t(["Register for the event"])},title_with_moderation:e=>{const{normalize:t}=e;return t(["Request my invitation"])},as_member:{free:e=>{const{normalize:t}=e;return t(["As a Club member, this event is offered to you."])},advantage:e=>{const{normalize:t}=e;return t(["Club member advantages"])},free_event:e=>{const{normalize:t}=e;return t(["free event"])},event_price:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["member price: ",r(o("price"))])},invitation:e=>{const{normalize:t}=e;return t(["invite free up to 2 <a style='text-decoration: underline'>people eligible</a> per year"])},invitation_price:e=>{const{normalize:t}=e;return t(["invite, at a member price, up to 2 <a style='text-decoration: underline'>people eligible</a> per year"])}},form:{comment:{label:e=>{const{normalize:t}=e;return t(["Why do you want to participate in this event?"])},placeholder:e=>{const{normalize:t}=e;return t(["Detail your motivations here"])}},pay_for_guest:{label:e=>{const{normalize:t}=e;return t(["Do you want to pay for the guest ?"])},yes:e=>{const{normalize:t}=e;return t(["Yes"])},no:e=>{const{normalize:t}=e;return t(["No"])},coupon:e=>{const{normalize:t}=e;return t(["Discover the power of the Club to your contacts by inviting them to this event ! To do this, use one of your <strong>2 free invitations per year</strong> thanks to your recommendation coupon"])},coupon_BEMYGUEST:e=>{const{normalize:t}=e;return t(["BEMYGUEST"])}}}}}})}typeof mn=="function"&&mn(fa);const ci=j(fa,[["__scopeId","data-v-a0cc828c"]]),ui={class:"items-center justify-center gap-2 md:flex"},mi={class:"mt-2 flex items-center justify-center gap-2 md:mt-0"},_i={key:0},di={key:0},ya=x({__name:"ModalPaymentEventSmsReminder",props:bt({event:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){var P,R;const a=i,e=ne(),{t}=G(),{toast:r}=he(),{analytics:o}=Ze(),_=lt(i,"modelValue"),{values:v,handleSubmit:m,meta:u,setFieldValue:p}=we({initialValues:{phone:((P=e.authentifiedUser)==null?void 0:P.phone_number)||"",phonePrefix:((R=e.authentifiedUser)==null?void 0:R.phone_prefix)||"+33"}}),y=Y(!1),b=Y(""),{isPending:C,mutate:h}=Ue({mutationFn:()=>Kn.updateMember({phonePrefix:v.phonePrefix,phone:v.phone}),onSuccess:()=>{var S;e.getMe(),b.value=v.phonePrefix.concat(" ")+v.phone,y.value=!1,o.track(ct.EVENT_UPDATE_PHONE,{idff:(S=e.authentifiedUser)==null?void 0:S.idff,eventId:a.event.id}),r({type:X.SUCCESS,text:t("update.success")})},onError:S=>{console.error(S),r({type:X.ERROR,text:t("update.error")})}}),L=m(()=>{C.value||h()});return fe(y,S=>{_.value=!S,S===!1&&zt(()=>{var B,k;p("phone",((B=e.authentifiedUser)==null?void 0:B.phone_number)||""),p("phonePrefix",((k=e.authentifiedUser)==null?void 0:k.phone_prefix)||"+33")})},{immediate:!0}),fe(()=>{var S;return(S=e.authentifiedUser)==null?void 0:S.phone_number},S=>{S?(b.value=v.phonePrefix.concat(" ")+S,y.value=!1):y.value=!0},{immediate:!0}),(S,B)=>(s(),d("div",null,[c("div",ui,[M(l(b.value?n(t)("sms_reminder"):n(t)("no_phone"))+" ",1),c("div",mi,[y.value?(s(),F(Z,{key:1,"phone-prefix":n(v).phonePrefix,type:"tel",name:"phone",rules:"required","data-testId":"phoneNumber","hide-label":"","onUpdate:phonePrefix":B[0]||(B[0]=k=>n(p)("phonePrefix",k))},{default:E(()=>[M(l(n(t)("your_phone")),1)]),_:1},8,["phone-prefix"])):(s(),d("div",_i,l(b.value),1)),c("div",null,[f(it,{name:"edit",class:"cursor-pointer",onClick:B[1]||(B[1]=k=>y.value=!y.value)})])])]),y.value?(s(),d("div",di,[B[2]||(B[2]=c("div",{class:"mt-10 flex justify-center md:mt-8"},null,-1)),f(_e,{pending:n(C),disabled:!n(u).valid,onClick:n(L)},{default:E(()=>[M(l(n(t)("action")),1)]),_:1},8,["pending","disabled","onClick"])])):$("",!0)]))}});function _n(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{sms_reminder:e=>{const{normalize:t}=e;return t(["Nous allons vous envoyer un rappel à J-2 sur ce numéro "])},your_phone:e=>{const{normalize:t}=e;return t(["Votre numéro de téléphone"])},action:e=>{const{normalize:t}=e;return t(["Mettre à jour"])},update:{success:e=>{const{normalize:t}=e;return t(["Vos informations ont été mis à jour"])},error:e=>{const{normalize:t}=e;return t(["Une erreur s'est produite, lors de la mise à jour de votre numéro."])}},no_phone:e=>{const{normalize:t}=e;return t(["Afin de vous envoyer un rappel merci de renseigner votre numéro"])}},en:{sms_reminder:e=>{const{normalize:t}=e;return t(["We will send you a reminder to D-2 on this number "])},your_phone:e=>{const{normalize:t}=e;return t(["Your phone number"])},action:e=>{const{normalize:t}=e;return t(["Update"])},update:{success:e=>{const{normalize:t}=e;return t(["Your information has been updated"])},error:e=>{const{normalize:t}=e;return t(["An error occurred when updating your number."])}},no_phone:e=>{const{normalize:t}=e;return t(["In order to send you a reminder please fill out your number"])}}}})}typeof _n=="function"&&_n(ya);const pi={class:"flex items-center justify-center"},vi={class:"fit-content relative"},fi=["src"],yi=x({__name:"ModalPaymentSuccessIllustration",props:{event:{}},setup(i){return(a,e)=>(s(),d("div",pi,[c("div",vi,[c("img",{src:a.event.image,alt:"illustation-success",class:"max-h-[190px] min-w-[280px] rounded-lg"},null,8,fi),e[0]||(e[0]=oo('<div class="illustration__box -left-4 top-4"><div class="illustration__box--ace h-[30px] w-[27px] rounded"></div><div class="illustration__box--royale mt-2 h-[72px] w-[27px] rounded"></div></div><div class="illustration__box -right-4 bottom-4"><div class="illustration__box--flagship h-[30px] w-[27px] rounded"></div><div class="illustration__box--ray mt-2 h-[52px] w-[34px] rounded"></div></div>',2))])]))}}),zi={class:"modal__success"},hi={class:"flex justify-center"},bi={class:"mt-4 rounded-lg bg-flagship-10 px-8 py-6"},gi={class:"title-4"},ki={key:0,class:"mt-4"},Ei={key:1,class:"mt-4"},Ti={key:1,class:"modal__success-actions"},za=x({__name:"ModalPaymentSuccessContent",props:{event:{},useZoneFromDate:{type:Boolean}},emits:["close"],setup(i){const a=i,{t:e,locale:t}=G(),r=ne(),o=Y(!0),_=z(()=>{var u,p;return((p=(u=a==null?void 0:a.event)==null?void 0:u.locales)==null?void 0:p[0])||t.value}),{fields:v}=ro("guests"),m=z(()=>{const u=[];return v.value.length>0&&v.value.forEach(p=>{u.push(p.value.email)}),u});return(u,p)=>(s(),d("div",zi,[f(yi,{event:u.event},null,8,["event"]),c("div",hi,[c("div",bi,[c("div",gi,l(u.event.title),1),u.event.startDate?(s(),d("div",ki,l(n(e)("success.details.date",{date:n(We)(u.event.startDate,{locale:_.value,customFormat:n(e)("success.details.date_format",{},{locale:_.value}),useZoneFromDate:u.useZoneFromDate})})),1)):$("",!0),m.value.length>0?(s(),d("div",Ei,l(n(e)("success.details.invitation_send_to",{count:m.value.length,emails:m.value.join(", ")})),1)):$("",!0)])]),n(r).isLoggedIn&&u.event.sendD2Reminder?(s(),F(ya,{key:0,modelValue:o.value,"onUpdate:modelValue":p[0]||(p[0]=y=>o.value=y),class:"mt-6",event:u.event},null,8,["modelValue","event"])):$("",!0),o.value?(s(),d("div",Ti,[f(_e,{theme:n(W).SECONDARY,onClick:p[1]||(p[1]=y=>u.$emit("close"))},{default:E(()=>[M(l(n(e)("success.close")),1)]),_:1},8,["theme"])])):$("",!0)]))}});function dn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{success:{details:{go_event:e=>{const{normalize:t}=e;return t(["Événement"])},invitation_send_to:e=>{const{normalize:t,interpolate:r,named:o,plural:_}=e;return _([t(["Votre invitation sera envoyée à ",r(o("emails"))]),t(["Vos invitations seront envoyées à ",r(o("emails"))])])},date:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Le ",r(o("date"))])},date_format:e=>{const{normalize:t}=e;return t(["dd MMMM 'à' HH'h'mm"])}},close:e=>{const{normalize:t}=e;return t(["Fermer"])}}},en:{success:{details:{go_event:e=>{const{normalize:t}=e;return t(["You go to the event :"])},invitation_send_to:e=>{const{normalize:t,interpolate:r,named:o,plural:_}=e;return _([t(["Your invitation will be sent to ",r(o("emails"))]),t(["Your invitations will be sent to ",r(o("emails"))])])},date:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["On ",r(o("date"))])},date_format:e=>{const{normalize:t}=e;return t(["MMMM dd, yyyy 'at' h:mm a"])}},close:e=>{const{normalize:t}=e;return t(["Close"])}}}}})}typeof dn=="function"&&dn(za);const Ci=j(za,[["__scopeId","data-v-3d5e94b6"]]),Pi={class:"modal-leave"},Si={class:"title-2"},Ii={class:"mt-10"},Ai={class:"modal-leave__actions"},ha=x({__name:"ModalPaymentAskLeaveContent",emits:["close","stay"],setup(i){const{t:a}=G();return(e,t)=>(s(),d("div",Pi,[c("div",Si,l(n(a)("leave.title")),1),c("div",Ii,l(n(a)("leave.details")),1),c("div",Ai,[f(_e,{theme:n(W).SECONDARY,onClick:t[0]||(t[0]=r=>e.$emit("stay"))},{default:E(()=>[M(l(n(a)("leave.actions.stay")),1)]),_:1},8,["theme"]),f(_e,{theme:n(W).TERTIARY,onClick:t[1]||(t[1]=r=>e.$emit("close"))},{default:E(()=>[M(l(n(a)("leave.actions.close")),1)]),_:1},8,["theme"])])]))}});function pn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{leave:{title:e=>{const{normalize:t}=e;return t(["Voulez-vous quitter la page ?"])},details:e=>{const{normalize:t}=e;return t(["Votre réservation en cours sera annulée."])},actions:{close:e=>{const{normalize:t}=e;return t(["Quitter"])},stay:e=>{const{normalize:t}=e;return t(["Rester"])}}}},en:{leave:{title:e=>{const{normalize:t}=e;return t(["Do you want to leave the payment ?"])},details:e=>{const{normalize:t}=e;return t(["The items you have selected may no longer be available later."])},actions:{close:e=>{const{normalize:t}=e;return t(["Leave"])},stay:e=>{const{normalize:t}=e;return t(["Stay"])}}}}}})}typeof pn=="function"&&pn(ha);const $i=j(ha,[["__scopeId","data-v-116a908f"]]),Ri={key:0,class:"mt-2 text-sm font-normal"},wi={class:"modal"},Li={class:"modal__content"},Ni={class:"modal__icon-close absolute right-2 top-2 min-[520px]:hidden"},Mi={class:"modal__content-bottom"},Di={class:"modal__side"},Bi={class:"modal__side-close modal__icon-close"},ba=x({__name:"ModalPaymentEvent",props:bt({event:{},context:{default:De.BOOKING}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(i){const{analytics:a}=Ze(),e=i,{t}=G(),r=ne(),{toast:o}=he(),_=Ae(),v=ke(),m=lt(i,"modelValue"),u=Y(!0),p=Y(!1),y=Y(!1),b=Y(null),C=we({initialValues:{payForGuests:!0,guests:[],couponCode:"",chargebeePaymentSourceId:"",comment:"",firstName:void 0,lastName:void 0,email:void 0,company:void 0,position:void 0,presence:void 0}}),h=Y(void 0),{mutate:L,isPending:P}=Ue({mutationFn:A=>{const V=v.query.publicParticipantId||ve.get(te.PUBLIC_PARTICIPANT_ID)||void 0,N={...A,publicParticipantId:V};return ee.postEventJoinPayment(e.event.id,N)},onSuccess:A=>{var V;A.data.participant.type==="publicParticipant"&&ve.set(te.PUBLIC_PARTICIPANT_ID,A.data.participant.id),y.value=!0,a==null||a.track(ct.EVENT_BOOK_TICKET_DONE,{eventId:(V=e.event)==null?void 0:V.id})},onError:A=>{var V,N;if(console.error(A),Me.isAxiosError(A)){if(((V=A==null?void 0:A.response)==null?void 0:V.status)===406){o({type:X.ERROR,text:t("error.406")}),m.value=!1,_.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]});return}if(((N=A==null?void 0:A.response)==null?void 0:N.status)===409){o({type:X.ERROR,title:t("error.409.title"),text:t("error.409.text")});return}o({type:X.ERROR,text:(A==null?void 0:A.message)||t("error.generic")});return}o({type:X.ERROR,text:t("error.generic")})}}),R=z(()=>{var N;const A=C.values;return{guests:(N=A.guests)==null?void 0:N.filter(U=>_t(U.firstName)&&_t(U.lastName)&&_t(U.email)&&io(U.email)),payForGuests:A.payForGuests,couponCode:A.couponCode,presence:A.presence,email:A.email}});fe(m,()=>{if(y.value&&!m.value&&(_.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]}),_.invalidateQueries({queryKey:[ue.EVENT_GUEST_INVITED]}),y.value=!1,C.resetForm()),m.value){const A=JSON.parse(ve.get(te.PUBLIC_PARTICIPANT));C.setFieldValue("firstName",(A==null?void 0:A.firstName)||""),C.setFieldValue("lastName",(A==null?void 0:A.lastName)||""),C.setFieldValue("email",(A==null?void 0:A.email)||"")}});const S=Wn({eventId:e.event.id,context:e.context,form:R},{enabled:()=>!!m.value,placeholderData:qn});fe(S.data,()=>{var A,V,N,U,q,I,g;if(S.data.value){if(h.value=void 0,b.value=S.data.value,r.isLoggedIn&&S.data.value.data.totalToPay.value===0&&!S.data.value.meta.canInviteGuest&&!S.data.value.meta.isModerationNeeded){k();return}if(((N=(V=(A=b.value)==null?void 0:A.data)==null?void 0:V.coupon)==null?void 0:N.code)==="BEMYGUEST"&&!C.values.payForGuests&&C.setFieldValue("payForGuests",!0),(q=(U=b.value)==null?void 0:U.meta)!=null&&q.errorCoupon)switch((g=(I=b.value)==null?void 0:I.meta)==null?void 0:g.errorCoupon){case"coupon_usage_exceeded":o({type:X.ERROR,text:t("error.coupon.usage_exceeded")});break;case"coupon_rm_exceeded":o({type:X.ERROR,text:t("error.coupon.rm_exceeded")});break;case"coupon_error":default:o({type:X.ERROR,text:t("error.coupon.default")});break}}}),fe(S.isError,()=>{var V,N;const A=S.error.value;if(S.isError.value){if(console.error(A),Me.isAxiosError(A)){if(((V=A==null?void 0:A.response)==null?void 0:V.status)===406){o({type:X.ERROR,text:t("error.406")}),m.value=!1,_.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]});return}((N=A==null?void 0:A.response)==null?void 0:N.status)===400?h.value=A.response.data:(h.value=void 0,o({type:X.ERROR,text:(A==null?void 0:A.message)||t("error.generic")}));return}o({type:X.ERROR,text:t("error.generic")})}});const B=()=>{m.value=!1,p.value=!1},k=C.handleSubmit(A=>{L(A)}),D=()=>{if(y.value){B();return}p.value=!0};return(A,V)=>(s(),F(Je,{modelValue:m.value,"onUpdate:modelValue":V[4]||(V[4]=N=>m.value=N),size:n(Hn).XL_LARGE,"no-padding":!y.value,persistent:u.value,onBeforeClose:D},ot({default:E(()=>{var N,U;return[y.value?(s(),F(Ci,{key:0,event:A.event,"use-zone-from-date":(U=(N=b.value)==null?void 0:N.meta)==null?void 0:U.useZoneFromDate,onClose:B},null,8,["event","use-zone-from-date"])):p.value?(s(),F($i,{key:1,onClose:B,onStay:V[0]||(V[0]=q=>p.value=!1)})):$("",!0),se(c("div",wi,[c("div",Li,[c("div",Ni,[f(_e,{theme:n(W).DISCRET,onClick:V[1]||(V[1]=q=>p.value=!0)},{default:E(()=>[f(re,{class:"modal__icon",name:"close"})]),_:1},8,["theme"])]),f(ci,{event:A.event,form:n(C),"form-estimate-errors":h.value,"event-estimate-query":n(S),context:A.context,"last-estimate-result":jt(b.value)},ot({_:2},[A.$slots.title?{name:"title",fn:E(()=>[Ne(A.$slots,"title",{},void 0,!0)]),key:"0"}:void 0]),1032,["event","form","form-estimate-errors","event-estimate-query","context","last-estimate-result"]),c("div",Mi,[c("div",{class:"modal__back-event",onClick:V[2]||(V[2]=q=>p.value=!0)},l(n(t)("buttons.back_event")),1),f(Ie,{"is-loading":n(S).isLoading.value,"is-error":!b.value&&n(S).isError.value,"is-success":!!b.value},{error:E(()=>[f(_e,{type:n(dt).BUTTON,theme:n(W).SECONDARY,disabled:""},{default:E(()=>{var q,I;return[M(l((I=(q=b.value)==null?void 0:q.meta)!=null&&I.isModerationNeeded?n(t)("buttons.register_with_moderation"):n(t)("buttons.register")),1)]}),_:1},8,["type","theme"])]),fallback:E(()=>[f(_e,{type:n(dt).BUTTON,theme:n(W).SECONDARY,pending:""},null,8,["type","theme"])]),success:E(()=>[f(_e,{type:n(dt).BUTTON,theme:n(W).SECONDARY,pending:n(P)||n(S).isLoading.value||n(S).isFetching.value,disabled:!n(C).meta.value.valid,onClick:n(k)},{default:E(()=>{var q,I,g,T,w,O,K;return[A.$slots.button?Ne(A.$slots,"button",{key:0},void 0,!0):(s(),d(oe,{key:1},[(I=(q=b.value)==null?void 0:q.meta)!=null&&I.isModerationNeeded?(s(),d(oe,{key:0},[M(l(n(t)("buttons.register_with_moderation")),1)],64)):(T=(g=b.value)==null?void 0:g.data)!=null&&T.guests&&b.value.data.guests.length>0?(s(),d(oe,{key:1},[M(l(n(t)("buttons.invite_register")),1)],64)):(s(),d(oe,{key:2},[M(l((w=b.value)!=null&&w.data.totalToPay&&((K=(O=b.value)==null?void 0:O.data.totalToPay)==null?void 0:K.value)>0?n(t)("buttons.pay_register"):n(t)("buttons.register")),1)],64))],64))]}),_:3},8,["type","theme","pending","disabled","onClick"])]),_:3},8,["is-loading","is-error","is-success"])])]),c("div",Di,[c("div",Bi,[f(_e,{theme:n(W).DISCRET,onClick:V[3]||(V[3]=q=>p.value=!0)},{default:E(()=>[f(re,{class:"modal__icon",name:"close"})]),_:1},8,["theme"])]),f(Lr,{event:A.event,form:n(C),context:A.context,"event-estimate-query":n(S),"last-estimate-result":jt(b.value)},null,8,["event","form","context","event-estimate-query","last-estimate-result"])])],512),[[gt,!y.value&&!p.value]])]}),_:2},[y.value?{name:"title",fn:E(()=>{var N,U,q,I;return[M(l((U=(N=b.value)==null?void 0:N.meta)!=null&&U.isModerationNeeded?n(t)("success_title_moderated"):n(t)("success_title"))+" ",1),(I=(q=b.value)==null?void 0:q.meta)!=null&&I.isModerationNeeded?(s(),d("div",Ri,l(n(t)("success_subtitle_moderated")),1)):$("",!0)]}),key:"0"}:void 0]),1032,["modelValue","size","no-padding","persistent"]))}});function vn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{buttons:{register:e=>{const{normalize:t}=e;return t(["S'inscrire"])},invite_register:e=>{const{normalize:t}=e;return t(["Inviter et s'inscrire"])},register_with_moderation:e=>{const{normalize:t}=e;return t(["Demander mon invitation"])},pay_register:e=>{const{normalize:t}=e;return t(["Payer et s'inscrire"])},back_event:e=>{const{normalize:t}=e;return t(["Retourner à l'événement"])}},error:{generic:e=>{const{normalize:t}=e;return t(["Nous n'avons pas pu finaliser votre inscription, veuillez réessayer ultérieurement."])},406:e=>{const{normalize:t}=e;return t(["Malheureusement nous n'avons plus de place disponible pour cet événement."])},409:{title:e=>{const{normalize:t}=e;return t(["Vous avez déjà un compte Frenchfounders."])},text:e=>{const{normalize:t}=e;return t(["Connectez-vous pour bénéficier des conditions pour les membres de notre réseau."])}},coupon:{default:e=>{const{normalize:t}=e;return t(["Le coupon appliqué n'est pas valide."])},usage_exceeded:e=>{const{normalize:t}=e;return t(["Ce coupon n'est plus utilisable."])},rm_exceeded:e=>{const{normalize:t}=e;return t(["Vous avez déjà utiliser ce coupon pour un autre événement."])}}},success_title:e=>{const{normalize:t}=e;return t(["Votre inscription a été prise en compte !"])},success_title_moderated:e=>{const{normalize:t}=e;return t(["Merci pour votre demande"])},success_subtitle_moderated:e=>{const{normalize:t}=e;return t(["L'équipe reviendra vers vous avec une réponse dans les meilleurs délais"])}},en:{buttons:{register:e=>{const{normalize:t}=e;return t(["Register"])},invite_register:e=>{const{normalize:t}=e;return t(["Invite and register"])},register_with_moderation:e=>{const{normalize:t}=e;return t(["Request my invitation"])},pay_register:e=>{const{normalize:t}=e;return t(["Pay and register"])},back_event:e=>{const{normalize:t}=e;return t(["Return to the event"])}},error:{generic:e=>{const{normalize:t}=e;return t(["We were unable to finalize your registration, please try again."])},406:e=>{const{normalize:t}=e;return t(["Unfortunately we have no more space for this event."])},409:{title:e=>{const{normalize:t}=e;return t(["You already have a Frenchfounders account"])},text:e=>{const{normalize:t}=e;return t(["Log in to benefit from the conditions for our members."])}},coupon:{default:e=>{const{normalize:t}=e;return t(["The applied coupon is not valid."])},usage_exceeded:e=>{const{normalize:t}=e;return t(["This coupon is no longer usable."])},rm_exceeded:e=>{const{normalize:t}=e;return t(["You have already used this coupon for another event."])}}},success_title:e=>{const{normalize:t}=e;return t(["Your registration is taken into account !"])},success_title_moderated:e=>{const{normalize:t}=e;return t(["Thank you for your request"])},success_subtitle_moderated:e=>{const{normalize:t}=e;return t(["The team will get back to you with an answer as soon as possible"])}}}})}typeof vn=="function"&&vn(ba);const Ct=j(ba,[["__scopeId","data-v-5e891e04"]]),Vi={key:0},fn=x({__name:"ActionParticipate",props:{event:{},actions:{}},emits:["open-calendar"],setup(i,{emit:a}){const e=i,t=a,{PARTICIPATE_ACTION_KEYS:r}=Tt(),{isLoggedIn:o}=ne(),_=Y(null),v=z(()=>o?"member":"public"),m=z(()=>r.join(" ")),u=z(()=>!!e.event.earlyBirdEndDate),p=z(()=>{if(!e.actions.find(L=>["action.cancel","action.stream.cancel","action.buy_ticket","action.stream.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(L==null?void 0:L.key)))return e.actions.find(L=>r.includes(L==null?void 0:L.key))}),y=Y(!1),b=()=>{var h;((h=p.value)==null?void 0:h.key)==="action.stream.access"?(y.value=!1,window.location.href=p.value.url||""):y.value=!0},C=()=>{var h;t("open-calendar",(h=p.value)==null?void 0:h.key)};return(h,L)=>{var P;return p.value&&(!u.value||((P=h.event)==null?void 0:P.id)===n(ie).TLF)?(s(),d("div",Vi,[f(le,{theme:n(W).PRIMARY,"data-actions":m.value,onClick:b},{default:E(()=>[M(l(p.value.label),1)]),_:1},8,["theme","data-actions"]),f(Ct,{modelValue:y.value,"onUpdate:modelValue":L[0]||(L[0]=R=>y.value=R),event:h.event},null,8,["modelValue","event"]),(s(),F(kt(v.value==="member"?sa:ca),{ref_key:"modalToOpen",ref:_,event:h.event,actions:h.actions,onValidated:C},null,40,["event","actions"]))])):$("",!0)}}}),Oi={key:0,class:"action"},Ui={key:0,class:"mb-4"},qi={class:"action__prices"},Fi={class:"action__ticket title-4"},Yi={key:0},xi={class:"action__price action__price--small"},Gi={class:"action__price action__price--small mt-2"},ji={key:1,class:"action__price"},Ki={key:0,class:"action__price-separator"},Hi={key:1},Qi={class:"action__ticket title-4"},Wi={key:0},Ji={class:"action__price action__price--small"},Zi={class:"action__price action__price--small mt-2"},Xi={key:1,class:"action__price"},ga=x({__name:"EventDetailsShowPrice",props:{event:{},size:{},hasActionStreamSoldOut:{type:Boolean},forceShowPublicPrice:{type:Boolean}},setup(i){const a=i,{t:e,locale:t}=G(),r=z(()=>a.hasActionStreamSoldOut),o=z(()=>a.event.type===pt.HYBRID),_=z(()=>a.event.type===pt.PHYSICAL&&!a.event.isOnlyStreaming&&!a.event.isStreaming),v=z(()=>{var h;return a.event.earlyBirdEndDate?new Date>new Date((h=a.event)==null?void 0:h.earlyBirdEndDate):!0}),m=z(()=>{var h;return a.event.earlyBirdEndDate?We(a.event.earlyBirdEndDate,{locale:((h=a.event.locales)==null?void 0:h[0])||t.value,customFormat:"dd MMMM"}):""}),u=z(()=>{var h,L,P,R;return v.value?(L=(h=a.event.price)==null?void 0:h.member)==null?void 0:L.physical:(R=(P=a.event.price)==null?void 0:P.member)==null?void 0:R.earlyBirdPhysical}),p=z(()=>{var h,L,P,R;return v.value?(L=(h=a.event.price)==null?void 0:h.public)==null?void 0:L.physical:(R=(P=a.event.price)==null?void 0:P.public)==null?void 0:R.earlyBirdPhysical}),y=z(()=>{var h,L,P,R;return v.value?(L=(h=a.event.price)==null?void 0:h.public)==null?void 0:L.streaming:(R=(P=a.event.price)==null?void 0:P.public)==null?void 0:R.earlyBirdStreaming}),b=z(()=>{var h,L,P,R;return v.value?(L=(h=a.event.price)==null?void 0:h.member)==null?void 0:L.streaming:(R=(P=a.event.price)==null?void 0:P.member)==null?void 0:R.earlyBirdStreaming}),C=z(()=>{var h;return((h=a.event)==null?void 0:h.isPublic)||a.forceShowPublicPrice});return(h,L)=>{const P=ze("safe-html");return h.size!=="sm"?(s(),d("div",Oi,[m.value?se((s(),d("h3",Ui,null,512)),[[P,n(e)("event.early_bird_until",{date:m.value})]]):$("",!0),c("div",qi,[c("div",null,[c("h4",Fi,l(n(e)("event.ticket.member")),1),o.value?(s(),d("div",Yi,[c("div",xi,l(n(e)("event.physical",{price:n(ae)(u.value)})),1),c("div",Gi,l(n(e)("event.online",{price:r.value?n(e)("event.streaming.full"):n(ae)(b.value)})),1)])):(s(),d("h3",ji,l(_.value?n(ae)(u.value):n(ae)(b.value)),1))]),C.value?(s(),d("div",Ki)):$("",!0),C.value?(s(),d("div",Hi,[c("h4",Qi,l(n(e)("event.ticket.public")),1),o.value?(s(),d("div",Wi,[c("div",Ji,l(n(e)("event.physical",{price:n(ae)(p.value)})),1),c("div",Zi,l(n(e)("event.online",{price:r.value?n(e)("event.streaming.full"):n(ae)(y.value)})),1)])):(s(),d("h3",Xi,l(_.value?n(ae)(p.value):r.value?n(e)("event.streaming.full"):n(ae)(y.value)),1))])):$("",!0)])])):$("",!0)}}});function yn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"action.participate":e=>{const{normalize:t}=e;return t(["Participer"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Ticket Club"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Ticket public"])},"event.free":e=>{const{normalize:t}=e;return t(["Gratuit"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Normal<br/>(Early Bird expiré depuis le ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Early bird<br/>jusqu'au ",r(o("date"))])},"event.physical":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Sur place : ",r(o("price"))])},"event.online":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["En ligne : ",r(o("price"))])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Complet"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% des frais d’inscription seront reversés aux associations sélectionnées"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["Une fois votre participation validée, aucun remboursement ne sera possible"])}},en:{"action.participate":e=>{const{normalize:t}=e;return t(["Participate"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Club ticket"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Public ticket"])},"event.free":e=>{const{normalize:t}=e;return t(["Free"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Normal price<br/>(Early Bird expired since ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Early bird price<br/>until ",r(o("date"))])},"event.physical":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Physical event : ",r(o("price"))])},"event.online":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Online : ",r(o("price"))])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Full"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% of the registration fees will be donated to the charity organizations"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["When your participation is accepted, no refund will be available"])}}}})}typeof yn=="function"&&yn(ga);const ka=j(ga,[["__scopeId","data-v-026a7bb9"]]),es={key:0,class:"action-buy__hint"},ts={key:0},ns={key:1},Ea=x({__name:"ActionBuyTicket",props:{actions:{},event:{},size:{}},setup(i){const{analytics:a}=Ze(),e=i,t=["action.buy_ticket","action.stream.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"],{PARTICIPATE_ACTION_KEYS:r}=Tt(),{isLostClub:o,isLoggedIn:_,authentifiedUser:v}=ne(),{t:m}=G(),u=Y(null),p=Y(null),y=z(()=>t.join(" ")),b=z(()=>e.actions.some(T=>T.key==="action.stream.sold_out")),C=z(()=>{if(!e.actions.find(w=>["action.cancel","action.stream.cancel","action.buy_ticket","action.stream.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(w==null?void 0:w.key)))return e.actions.find(w=>r.includes(w==null?void 0:w.key))}),h=z(()=>!!e.event.earlyBirdEndDate),L=z(()=>{var T;return e.event.earlyBirdEndDate?new Date>new Date((T=e.event)==null?void 0:T.earlyBirdEndDate):!0}),P=z(()=>{var T,w,O;return!e.event.isOnlyStreaming&&e.event.isStreaming&&Number((T=B.value)==null?void 0:T.amount)===0||Number((w=k.value)==null?void 0:w.amount)===0?m("action.participate"):((O=R.value)==null?void 0:O.label)||""}),R=z(()=>{if(!e.actions.find(w=>["action.cancel","action.stream.cancel"].includes(w==null?void 0:w.key)))return e.actions.find(w=>t.includes(w==null?void 0:w.key))}),S=z(()=>A.value?"member":"public"),B=z(()=>{var w,O,K,Q;const T=A.value&&V.value&&!D.value?"member":"public";return L.value?(O=(w=e.event.price)==null?void 0:w[T])==null?void 0:O.physical:(Q=(K=e.event.price)==null?void 0:K[T])==null?void 0:Q.earlyBirdPhysical}),k=z(()=>{var w,O,K,Q;const T=A.value&&V.value&&!D.value?"member":"public";return L.value?(O=(w=e.event.price)==null?void 0:w[T])==null?void 0:O.streaming:(Q=(K=e.event.price)==null?void 0:K[T])==null?void 0:Q.earlyBirdStreaming}),D=z(()=>o),A=z(()=>_),V=z(()=>{var T;return((T=v==null?void 0:v.business_lines)==null?void 0:T.includes(Qe.LECLUB))||!1}),N=z(()=>{var T,w;return(w=(T=R.value)==null?void 0:T.options)==null?void 0:w.hidden}),U=Y(!1),q=()=>{U.value=!0,I()},I=()=>{var T;a==null||a.track(ct.EVENT_BOOK_TICKET,{eventId:(T=e.event)==null?void 0:T.id})},g=z(()=>!!e.actions.find(w=>["action.decline"].includes(w==null?void 0:w.key)));return(T,w)=>R.value||C.value&&h.value?(s(),d("div",{key:0,class:"action-buy",style:Et({display:N.value?"none":"block"})},[f(ka,{ref_key:"showPriceRef",ref:p,event:T.event,"has-action-stream-sold-out":b.value,size:T.size,"force-show-public-price":g.value},null,8,["event","has-action-stream-sold-out","size","force-show-public-price"]),f(le,{class:"action-buy__buy",theme:n(W).PRIMARY,size:T.size==="sm"?n(ht).SMALL:void 0,"data-actions":y.value,onClick:q},{default:E(()=>[M(l(P.value),1)]),_:1},8,["theme","size","data-actions"]),T.size!=="sm"?(s(),d("p",es,[T.event.id===2360?(s(),d("span",ts,l(n(m)("payment.caritative")),1)):(s(),d("span",ns,l(n(m)("payment.no_refund")),1))])):$("",!0),f(Ct,{modelValue:U.value,"onUpdate:modelValue":w[0]||(w[0]=O=>U.value=O),event:T.event},null,8,["modelValue","event"]),(s(),F(kt(S.value==="member"?sa:ca),{ref_key:"modalToOpen",ref:u,actions:T.actions,event:T.event},null,8,["actions","event"]))],4)):$("",!0)}});function zn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"action.participate":e=>{const{normalize:t}=e;return t(["Participer"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Ticket membre"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Ticket public"])},"event.free":e=>{const{normalize:t}=e;return t(["Gratuit"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Normal<br/>(Early Bird expiré depuis le ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Early bird<br/>jusqu'au ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Sur place"])},"event.online":e=>{const{normalize:t}=e;return t(["En ligne"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Complet"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% des frais d’inscription seront reversés aux associations sélectionnées"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["Une fois votre participation validée, aucun remboursement ne sera possible"])},"action.checkout":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Payer ",r(o("checkout"))])}},en:{"action.participate":e=>{const{normalize:t}=e;return t(["Participate"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Member ticket"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Public ticket"])},"event.free":e=>{const{normalize:t}=e;return t(["Free"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Normal price<br/>(Early Bird expired since ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Early bird price<br/>until ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Physical event"])},"event.online":e=>{const{normalize:t}=e;return t(["Online"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Full"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% of the registration fees will be donated to the charity organizations"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["When your participation is accepted, no refund will be available"])},"action.checkout":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Checkout ",r(o("checkout"))])}}}})}typeof zn=="function"&&zn(Ea);const as=j(Ea,[["__scopeId","data-v-e1a000e8"]]),os={key:0,class:"action"},rs={key:0,class:"mt-4"},Ta=x({__name:"ActionCancelOrDecline",props:{event:{},action:{}},setup(i){const a=i,{isLoggedIn:e}=ne(),{toast:t}=he(),r=Y(!1),{t:o}=G(),_=Ae(),v=z(()=>["action.decline","action.stream.decline","action.cancel","action.stream.cancel"].includes(a.action.key)),m=z(()=>e),u=async()=>{var p,y,b,C,h,L;try{if(r.value=!0,m.value)(b=(y=(p=a.action)==null?void 0:p.key)==null?void 0:y.includes)!=null&&b.call(y,"stream")?await ee.postStreamEventAction(a.event.id,a.action.key):await ee.postEventAction(a.event.id,a.action.key);else{const P=(a.action.url||"").split("/").reverse()[0],R=window.atob(P),S=JSON.parse(R).publicParticipantId||window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT_ID);S&&(window.sessionStorage.setItem(te.PUBLIC_PARTICIPANT_ID,S),ve.set(te.PUBLIC_PARTICIPANT_ID,S,1)),(L=(h=(C=a.action)==null?void 0:C.key)==null?void 0:h.includes)!=null&&L.call(h,"stream")?await ee.postPublicStreamEventAction(a.event.id,a.action.key,{},S):await ee.postPublicEventAction(a.event.id,a.action.key,{},S)}t({type:X.SUCCESS,title:o("decline.success.title"),text:o("decline.success.description")}),_.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]})}catch{t({type:X.ERROR,title:o("decline.error.title"),text:o("decline.error.description")})}finally{r.value=!1}};return(p,y)=>v.value?(s(),d("div",os,[f(le,{id:p.action.key,theme:p.action.key==="action.participate"?n(W).PRIMARY:n(W).SIMPLE,reverse:p.action.key!=="action.participate","data-actions":p.action.key,pending:r.value,onClick:u},{default:E(()=>[M(l(p.action.label),1)]),_:1},8,["id","theme","reverse","data-actions","pending"]),p.event.id===n(ie).TLF?(s(),d("div",rs,l(n(o)("no_refound_tlf")),1)):$("",!0)])):$("",!0)}});function hn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{decline:{success:{title:e=>{const{normalize:t}=e;return t(["Merci"])},description:e=>{const{normalize:t}=e;return t(["Nous avons bien pris en compte votre modification."])}},error:{title:e=>{const{normalize:t}=e;return t(["Erreur"])},description:e=>{const{normalize:t}=e;return t(["Une erreur est survenue lors de l'envoi de votre requête. Veuillez réessayer"])}}},no_refound_tlf:e=>{const{normalize:t}=e;return t(["Votre billet n'est pas remboursable"])}},en:{decline:{success:{title:e=>{const{normalize:t}=e;return t(["Thank you"])},description:e=>{const{normalize:t}=e;return t(["Updated successfully."])}},error:{title:e=>{const{normalize:t}=e;return t(["Error"])},description:e=>{const{normalize:t}=e;return t(["An error occurred during the sending of the request. Please try again"])}}},no_refound_tlf:e=>{const{normalize:t}=e;return t(["Your ticket is not refundable"])}}}})}typeof hn=="function"&&hn(Ta);const bn=j(Ta,[["__scopeId","data-v-944fd6c2"]]),is=["id","data-actions"],ss=x({__name:"ActionFinished",props:{action:{}},setup(i){const a=i,e=z(()=>{var t;return["action.finished","action.running","action.sold_out","action.declined","action.refused"].includes((t=a.action)==null?void 0:t.key)});return(t,r)=>e.value?(s(),d("div",{key:0,id:t.action.key,"data-actions":t.action.key,class:"action"},l(t.action.label),9,is)):$("",!0)}}),gn=j(ss,[["__scopeId","data-v-e75be45f"]]),ls=x({__name:"ActionRedirect",props:{action:{}},setup(i){const a=i,e=z(()=>{var t;return["action.join_insider_club","action.join_club","action.stream.join_club"].includes((t=a.action)==null?void 0:t.key)});return(t,r)=>e.value?(s(),F(le,{key:0,id:t.action.key,theme:n(W).PRIMARY,"data-actions":t.action.key,href:t.action.url},{default:E(()=>[M(l(t.action.label),1)]),_:1},8,["id","theme","data-actions","href"])):$("",!0)}}),cs={key:0},Ca=x({__name:"ActionSuggest",props:{event:{},action:{}},setup(i){const a=i,{t:e}=G(),t=Y(!1),r=z(()=>{var o;return["action.suggest_guest","action.stream.suggest_guest"].includes((o=a.action)==null?void 0:o.key)});return(o,_)=>r.value?(s(),d("div",cs,[f(le,{id:o.action.key,"data-actions":o.action.key,theme:n(W).PRIMARY,reverse:"",class:"btn btn-outline-default",onClick:_[0]||(_[0]=v=>t.value=!0)},{default:E(()=>[M(l(o.action.label),1)]),_:1},8,["id","data-actions","theme"]),f(Ct,{modelValue:t.value,"onUpdate:modelValue":_[1]||(_[1]=v=>t.value=v),event:o.event,context:n(De).SUGGESTING},{title:E(()=>[M(l(n(e)("modal_title")),1)]),button:E(()=>[M(l(n(e)("modal_validate")),1)]),_:1},8,["modelValue","event","context"])])):$("",!0)}});function kn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{modal_title:e=>{const{normalize:t}=e;return t(["Suggérer un invité"])},modal_validate:e=>{const{normalize:t}=e;return t(["Inviter"])}},en:{modal_title:e=>{const{normalize:t}=e;return t(["Suggest a guest"])},modal_validate:e=>{const{normalize:t}=e;return t(["Invite"])}}}})}typeof kn=="function"&&kn(Ca);const us=x({__name:"ActionSteamWatchReplay",props:{action:{}},setup(i){const a=i,e=z(()=>{var t;return((t=a.action)==null?void 0:t.key)==="action.stream.watch_replay"});return(t,r)=>e.value?(s(),F(le,{key:0,id:t.action.key,"data-actions":t.action.key,href:t.action.url,target:"_blank",rel:"noopener noreferrer",theme:n(W).SIMPLE,reverse:""},{default:E(()=>[M(l(t.action.label),1)]),_:1},8,["id","data-actions","href","theme"])):$("",!0)}}),ms={key:0,class:"action"},_s={class:"action__title"},ds={class:"action__content"},ps={class:"action__description"},Pa=x({__name:"ActionStreamRequestReplay",props:{action:{}},setup(i){const a=i,e=ke(),{t}=G(),{toast:r}=he(),o=Y(!1),_=z(()=>{var b;return((b=a.action)==null?void 0:b.key)==="action.stream.request_replay"}),{isSuccess:v,isError:m,error:u}=He({queryKey:[ue.EVENT_ACTION_REQUEST_REPLAY,e.params.id],queryFn:()=>ee.getEventStreamReplayRequest(parseInt(e.params.id)),enabled:_}),{mutate:p,isPending:y}=Ue({mutationFn:()=>ee.postEventStreamReplayRequest(parseInt(e.params.id)),onSuccess:()=>{o.value=!0,r({type:X.SUCCESS,title:t("payment.form.success_title")})},onError:b=>{console.error(b),r({type:X.ERROR,title:t("payment.form.error_title"),text:t("action.stream.request.replay.error")})}});return fe(v,()=>{v.value&&(o.value=!0)}),fe(m,()=>{m.value&&(console.error(u.value),o.value=!1)}),(b,C)=>_.value?(s(),d("div",ms,[f(so,{class:"action__hr"}),c("p",_s,l(n(t)("action.stream.request.replay.title")),1),c("div",ds,[c("div",ps,l(n(t)("action.stream.request.replay.description")),1),c("div",null,[o.value?(s(),F(le,{key:1,disabled:"",reverse:""},{default:E(()=>[M(l(n(t)("action.stream.replay_requested")),1)]),_:1})):(s(),F(le,{key:0,id:"action.stream.request_replay",pending:n(y),reverse:"",onClick:n(p)},{default:E(()=>[M(l(n(t)("action.stream.replay_request")),1)]),_:1},8,["pending","onClick"]))])])])):$("",!0)}});function En(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"payment.form.error_title":e=>{const{normalize:t}=e;return t(["Une erreur est survenue"])},"payment.form.success_title":e=>{const{normalize:t}=e;return t(["Votre demande a bien été bien reçu"])},"action.stream.request.replay.error":e=>{const{normalize:t}=e;return t(["Une erreur est survenue lors de l'envoi de votre requête. Veuillez réessayer"])},"action.stream.request.replay.title":e=>{const{normalize:t}=e;return t(["Un replay sera disponible"])},"action.stream.request.replay.description":e=>{const{normalize:t}=e;return t(["Si vous ne pouvez pas participer à l'horaire du live, sachez que cet événement sera enregistré et disponible en replay sur la plateforme !"])},"action.stream.replay_request":e=>{const{normalize:t}=e;return t(["Me prévenir par email"])},"action.stream.replay_requested":e=>{const{normalize:t}=e;return t(["Vous serez prévenu"])}},en:{"payment.form.error_title":e=>{const{normalize:t}=e;return t(["An error occurred"])},"action.stream.request.replay.error":e=>{const{normalize:t}=e;return t(["An error occurred during the sending of the request. Please try again"])},"action.stream.request.replay.title":e=>{const{normalize:t}=e;return t(["A replay is available"])},"action.stream.request.replay.description":e=>{const{normalize:t}=e;return t(["If you can't participate to the live, notice that the event will be recorded and available in replay on the platform !"])},"action.stream.replay_request":e=>{const{normalize:t}=e;return t(["Inform me by email"])},"action.stream.replay_requested":e=>{const{normalize:t}=e;return t(["You'll be informed"])},"payment.form.success_title":e=>{const{normalize:t}=e;return t(["Your request has been well received"])}}}})}typeof En=="function"&&En(Pa);const vs=j(Pa,[["__scopeId","data-v-fba4337c"]]),fs=["id"],ys=x({__name:"ActionStreamNotOpenToRegistration",props:{action:{}},setup(i){const a=i,e=z(()=>["action.stream.not_open","action.not_open"].includes(a.action.key));return(t,r)=>e.value?(s(),d("div",{key:0,id:t.action.key,class:"action"},l(t.action.label),9,fs)):$("",!0)}}),zs=j(ys,[["__scopeId","data-v-c56d61ad"]]),Sa=x({__name:"ActionWaitingList",props:{event:{},action:{}},setup(i){const a=i,{isLoggedIn:e}=ne(),{toast:t}=he(),r=Y(!1),{t:o}=G(),_=Ae(),v=z(()=>["action.join_waiting_list","action.stream.join_waiting_list"].includes(a.action.key)),m=z(()=>e),u=async()=>{var p,y,b,C,h,L;try{if(r.value=!0,m.value)(b=(y=(p=a.action)==null?void 0:p.key)==null?void 0:y.includes)!=null&&b.call(y,"stream")?await ee.postStreamEventAction(a.event.id,a.action.key):await ee.postEventAction(a.event.id,a.action.key);else{const P=(a.action.url||"").split("/").reverse()[0],R=window.atob(P),S=JSON.parse(R).publicParticipantId||window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT_ID);S&&(window.sessionStorage.setItem(te.PUBLIC_PARTICIPANT_ID,S),ve.set(te.PUBLIC_PARTICIPANT_ID,S,1)),(L=(h=(C=a.action)==null?void 0:C.key)==null?void 0:h.includes)!=null&&L.call(h,"stream")?await ee.postPublicStreamEventAction(a.event.id,a.action.key,{},S):await ee.postPublicEventAction(a.event.id,a.action.key,{},S),t({type:X.SUCCESS,title:o("action.join_waiting_list.success")})}_.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]})}catch{t({type:X.ERROR,title:o("action.join_waiting_list.error")})}finally{r.value=!1}};return(p,y)=>v.value?(s(),F(le,{key:0,id:p.action.key,theme:n(W).SIMPLE,reverse:"","data-actions":p.action.key,pending:r.value,onClick:u},{default:E(()=>[M(l(p.action.label),1)]),_:1},8,["id","theme","data-actions","pending"])):$("",!0)}});function Tn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"action.join_waiting_list":{success:e=>{const{normalize:t}=e;return t(["Vous avez demandé à rejoindre la liste d'attente"])},error:e=>{const{normalize:t}=e;return t(["Une erreur est survenue lors de votre action. Veuillez réessayer"])}}},en:{"action.join_waiting_list":{success:e=>{const{normalize:t}=e;return t(["You asked to join the waiting list"])},error:e=>{const{normalize:t}=e;return t(["An error occurred during your action.Try Again"])}}}}})}typeof Tn=="function"&&Tn(Sa);const hs={key:0,class:"participation mb-2"},bs={class:"text-secondary font-weight-bold mb-2 mt-3 text-center"},gs={class:"modal__options"},ks={class:"text-ice font-weight-bold"},Es={class:"text-ice font-weight-bold"},Ts={key:0,class:"mb-3"},Cs={key:1,class:"mt-6"},Ia=x({__name:"ModalEventParticipation",props:{event:{},modelValue:{type:Boolean},profileType:{},showProfileType:{type:Boolean}},emits:["update:modelValue","update:profileType"],setup(i,{emit:a}){const e=i,t=a,{t:r}=G(),o=ie.RETAIL_PARTY,_=z(()=>e.event.id===o?"en":void 0),v=u=>{t("update:profileType",u)},m=z(()=>e.profileType==="retailer"?r("price.retailer"):r("price.classic"));return(u,p)=>{const y=ze("safe-html");return s(),F(Je,{class:"modal","model-value":u.modelValue,"onUpdate:modelValue":p[2]||(p[2]=b=>t("update:modelValue",b))},{title:E(()=>[M(l(n(r)("title",0,{locale:_.value})),1)]),default:E(()=>[u.showProfileType?(s(),d("div",hs,[p[3]||(p[3]=c("div",{class:"modal__options-label mx-2 mb-2"},null,-1)),c("div",bs,l(n(r)("participate_as",0,{locale:_.value})),1),c("div",gs,[c("div",{class:ce(["modal__option",{"modal__option--selected":u.profileType==="retailer"}]),onClick:p[0]||(p[0]=b=>v("retailer"))},[f(re,{class:"modal__option-icon",name:"groups"}),se(c("span",ks,null,512),[[y,n(r)("retailer",0,{locale:_.value})]])],2),c("div",{class:ce(["modal__option",{"modal__option--selected":u.profileType==="classic"}]),onClick:p[1]||(p[1]=b=>v("classic"))},[f(re,{class:"modal__option-icon",name:"group"}),se(c("span",Es,null,512),[[y,n(r)("no_retailer",0,{locale:_.value})]])],2)]),u.profileType?(s(),d("div",Ts,l(m.value),1)):$("",!0)])):$("",!0),u.$slots.default?(s(),d("div",Cs,[Ne(u.$slots,"default",{},void 0,!0)])):$("",!0)]),_:3},8,["model-value"])}}});function Cn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{en:{title:e=>{const{normalize:t}=e;return t(["Participate in the event"])},description:e=>{const{normalize:t}=e;return t(["Retailers, online retailers, consumer services, venture capitalists, holding companies and private investment firms can benefit from the Retailer ticket."])},participate_as:e=>{const{normalize:t}=e;return t(["You are:"])},retailer:e=>{const{normalize:t}=e;return t(["Retailer<br/>Free"])},no_retailer:e=>{const{normalize:t}=e;return t(["Non retailer<br/>700 US$"])},price:{retailer:e=>{const{normalize:t}=e;return t(["As a retailer, the participation fee for this event is offered to you"])},classic:e=>{const{normalize:t}=e;return t(["Your participation fee is 700 US$"])}}}}})}typeof Cn=="function"&&Cn(Ia);const Aa=j(Ia,[["__scopeId","data-v-e5e5b138"]]),Ps={key:0,class:"mb-3"},Ss={key:1,class:"form text-left"},Is={class:"modal__actions mt-4"},$a=x({__name:"ModalParticipateAsMember",props:{event:{},actions:{}},emits:["validated"],setup(i,{expose:a,emit:e}){const t=i,r=e,o=Ae(),{toast:_}=he(),v=ne(),m=Ve(),{t:u}=G(),p=Y(!1),y=Y(!1),b=Y(null),C=Y(""),h=Y(null),L=Y(null);Be(()=>{B.value&&!k.value?h.value="physical":!B.value&&k.value&&(h.value="remote")});const P=z(()=>h.value==="physical"?B.value:k.value),R=z(()=>v.isLoggedIn&&v.hasBusinessLine(Qe.LECLUB)),S=z(()=>{var T,w;const g=((w=(T=v==null?void 0:v.authentifiedUser)==null?void 0:T.clubs)==null?void 0:w.filter(O=>(O==null?void 0:O.slug)==="retail"))||[];return v.hasRole(Re.RETAIL)||g.length>0}),B=z(()=>t.actions.find(g=>["action.participate","action.buy_ticket","action.ask_to_participate_as_member","action.ask_to_participate_as_member_and_buy_ticket"].includes(g.key))),k=z(()=>t.actions.find(g=>["action.stream.participate","action.stream.buy_ticket","action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_member_and_buy_ticket"].includes(g.key))),D=z(()=>{var g;return(g=P.value)!=null&&g.key?["action.ask_to_participate_as_member","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member"].includes(P.value.key):!1}),A=()=>{y.value=!0},V=()=>{y.value=!1},N=()=>{var g;return!(((g=B.value)==null?void 0:g.key)==="action.buy_ticket"&&R.value)},U=g=>{const T=P.value,w=T!=null&&T.key.includes("stream")?"streaming":"physical";m.push({name:st.EVENT_PAYMENT,params:{eventId:t.event.id},query:{profile:L.value||void 0,type:w}})},q=z(()=>!R.value&&!L.value),I=async()=>{var w,O,K,Q;let g=null;const T=R.value&&!S.value||!R.value&&L.value!=="retailer";if((w=P.value)!=null&&w.key&&["action.buy_ticket"].includes(P.value.key)&&T)return U();try{p.value=!0;const H=R.value&&S.value||!R.value&&L.value==="retailer";h.value==="physical"&&B.value&&(g=await ee.postEventAction(t.event.id,B.value.key,{comment:C.value,retailer:H,eventId:B.value.key.includes("action.buy_ticket")&&!T?t.event.id:void 0})),g&&(g!=null&&g.redirect)&&(window.location.href=g.redirect),r("validated",{actionResult:g,action:P.value}),(R.value&&((O=B.value)==null?void 0:O.key)==="action.ask_to_participate_as_member_and_buy_ticket"||!H)&&U(),o.invalidateQueries({queryKey:[ue.EVENT_ACTIONS]}),V()}catch(H){Me.isAxiosError(H)&&(b.value=(Q=(K=H==null?void 0:H.response)==null?void 0:K.data)==null?void 0:Q.errors,_({type:X.ERROR,title:"Error",text:H.message})),console.error(H)}finally{p.value=!1}};return a({open:A,close:V,onValidate:I,needToOpenModal:N}),(g,T)=>(s(),F(Aa,{modelValue:y.value,"onUpdate:modelValue":T[1]||(T[1]=w=>y.value=w),"profile-type":L.value,"onUpdate:profileType":T[2]||(T[2]=w=>L.value=w),event:g.event,"all-actions":g.actions,"show-profile-type":!R.value},{default:E(()=>[R.value&&!S.value?(s(),d("div",Ps,l(n(u)("price_club_no_retailer")),1)):$("",!0),D.value?(s(),d("div",Ss,[f(Oe,{modelValue:C.value,"onUpdate:modelValue":T[0]||(T[0]=w=>C.value=w),name:"comment",placeholder:"A message to communicate ?",error:b.value&&b.value.comment?b.value.comment[0]:void 0},{default:E(()=>[M(l(n(u)("motivation")),1)]),_:1},8,["modelValue","error"])])):$("",!0),c("div",Is,[f(le,{theme:n(W).PRIMARY,disabled:q.value,pending:p.value,onClick:I},{default:E(()=>[M(l(n(u)("validate")),1)]),_:1},8,["theme","disabled","pending"])])]),_:1},8,["modelValue","profile-type","event","all-actions","show-profile-type"]))}});function Pn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{en:{price_club_no_retailer:e=>{const{normalize:t}=e;return t(["The entry fee for Club members is 300$."])},motivation:e=>{const{normalize:t}=e;return t(["Your motivations for participating in this event"])},validate:e=>{const{normalize:t}=e;return t(["Validate"])}}}})}typeof Pn=="function"&&Pn($a);const As=j($a,[["__scopeId","data-v-47d02753"]]),$s={key:0,class:"action__prices"},Rs={class:"action__ticket"},ws={class:"action__price"},Ls={class:"action__ticket"},Ns={class:"action__price"},Ms={key:1,class:"action__prices"},Ds={class:"action__ticket"},Bs={key:0,class:"action__price-override"},Vs={key:0,class:"action__price-separator"},Os={key:0,class:"action__price-override"},Ra=x({__name:"EventDetailsShowPriceRetailSummit",props:{event:{},size:{},isStreamingClosed:{type:Boolean}},setup(i){const a=i,{isLostClub:e,isLoggedIn:t,authentifiedUser:r}=ne(),{t:o}=G(),_=z(()=>{var S,B,k,D;return((S=p.value)==null?void 0:S.amount)===((B=b.value)==null?void 0:B.amount)&&((k=y.value)==null?void 0:k.amount)===((D=C.value)==null?void 0:D.amount)||a.event.isOnlyStreaming||v.value}),v=z(()=>!a.event.isOnlyStreaming&&!a.event.isStreaming),m=z(()=>!!a.event.earlyBirdEndDate),u=z(()=>{var S;return a.event.earlyBirdEndDate?new Date>new Date((S=a.event)==null?void 0:S.earlyBirdEndDate):!0}),p=z(()=>{var B,k,D,A;const S=L.value&&P.value&&!h.value?"member":"public";return u.value?(k=(B=a.event.price)==null?void 0:B[S])==null?void 0:k.physical:(A=(D=a.event.price)==null?void 0:D[S])==null?void 0:A.earlyBirdPhysical}),y=z(()=>{var k,D,A,V,N;if(!m.value)return null;const S=L.value&&P.value&&!h.value?"member":"public",B=u.value?(D=(k=a.event.price)==null?void 0:k[S])==null?void 0:D.earlyBirdPhysical:(V=(A=a.event.price)==null?void 0:A[S])==null?void 0:V.physical;return(B==null?void 0:B.amount)===((N=p.value)==null?void 0:N.amount)?null:B}),b=z(()=>{var B,k,D,A;const S=L.value&&P.value&&!h.value?"member":"public";return u.value?(k=(B=a.event.price)==null?void 0:B[S])==null?void 0:k.streaming:(A=(D=a.event.price)==null?void 0:D[S])==null?void 0:A.earlyBirdStreaming}),C=z(()=>{var k,D,A,V,N;if(a.isStreamingClosed)return b.value;if(!m.value)return;const S=L.value&&P.value&&!h.value?"member":"public",B=u.value?(D=(k=a.event.price)==null?void 0:k[S])==null?void 0:D.earlyBirdStreaming:(V=(A=a.event.price)==null?void 0:A[S])==null?void 0:V.streaming;return(B==null?void 0:B.amount)===((N=b.value)==null?void 0:N.amount)?null:B}),h=z(()=>e),L=z(()=>t),P=z(()=>{var S;return((S=r==null?void 0:r.business_lines)==null?void 0:S.includes(Qe.LECLUB))||!1}),R=S=>S?S!=null&&S.amount?Number(S.amount).toLocaleString(void 0,{style:"currency",currency:S.currency,minimumFractionDigits:0}):o("event.free"):"";return(S,B)=>_.value?(s(),d("div",$s,[c("div",null,[c("h4",Rs,l(P.value?"Retail Club members":"Retailer"),1),c("h3",ws,l(n(o)("event.free")),1)]),B[0]||(B[0]=c("div",{class:"action__price-separator"},null,-1)),c("div",null,[c("h4",Ls,l(P.value?"Club members - non retailer":"Non retailer"),1),c("h3",Ns,l(P.value?"$300":"$700"),1)])])):(s(),d("div",Ms,[c("div",null,[c("h4",Ds,l(n(o)("event.physical")),1),c("h3",{class:ce([{"action__price--small":S.size==="sm"},"action__price"])},l(R(p.value)),3),y.value?(s(),d("div",Bs,l(R(y.value)),1)):$("",!0)]),S.size!=="sm"?(s(),d("div",Vs)):$("",!0),c("div",null,[c("h4",{class:ce([{"action__ticket--small":S.size==="sm"},"action__ticket"])},l(n(o)("event.online")),3),c("h3",{class:ce([{"action__price--small":S.size==="sm"},"action__price"])},l(S.isStreamingClosed?n(o)("event.streaming.full"):R(b.value)),3),C.value?(s(),d("div",Os,l(R(C.value)),1)):$("",!0)])]))}});function Sn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"action.participate":e=>{const{normalize:t}=e;return t(["Participer"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Ticket membre"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Ticket public"])},"event.free":e=>{const{normalize:t}=e;return t(["Gratuit"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Normal<br/>(Early Bird expiré depuis le ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Early bird<br/>jusqu'au ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Sur place"])},"event.online":e=>{const{normalize:t}=e;return t(["En ligne"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Complet"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% des frais d’inscription seront reversés aux associations sélectionnées"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["Une fois votre participation validée, aucun remboursement ne sera possible"])},legend:e=>{const{normalize:t}=e;return t(["Tarifs"])}},en:{"action.participate":e=>{const{normalize:t}=e;return t(["Participate"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Member ticket"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Public ticket"])},"event.free":e=>{const{normalize:t}=e;return t(["Free"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Normal price<br/>(Early Bird expired since ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Early bird price<br/>until ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Physical event"])},"event.online":e=>{const{normalize:t}=e;return t(["Online"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Full"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% of the registration fees will be donated to the charity organizations"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["When your participation is accepted, no refund will be available"])},legend:e=>{const{normalize:t}=e;return t(["Event pricing"])}}}})}typeof Sn=="function"&&Sn(Ra);const wa=j(Ra,[["__scopeId","data-v-18f63515"]]),Us=["innerHTML"],qs={key:0,class:"modal__form"},Fs={class:"modal__actions"},La=x({__name:"ModalParticipateAsPublic",props:{event:{},actions:{}},emits:["validated"],setup(i,{expose:a,emit:e}){const t=i,r=e,o=Ve(),{t:_}=G(),{toast:v}=he(),m=Ae(),u=we({initialValues:{firstName:"",lastName:"",email:"",company:"",position:"",comment:""}}),p=Y(!1),y=Y(null),b=Y(null),C=Y(null),h=z(()=>"https://private.frenchfounders.com/login"),L=z(()=>window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT_ID)||ve.get(te.PUBLIC_PARTICIPANT_ID)||""),P=z(()=>y.value==="physical"?R.value:S.value),R=z(()=>t.actions.find(I=>["action.buy_ticket","action.participate","action.participate_as_guest","action.ask_to_participate_as_public","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.participate_as_guest"].includes(I.key))),S=z(()=>t.actions.find(I=>["action.stream.buy_ticket","action.stream.ask_to_participate_as_public","action.stream.participate_as_guest","action.stream.ask_to_participate_as_public_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket"].includes(I.key))),B=z(()=>!!t.actions.find(I=>["action.participate_as_guest","action.stream.participate_as_guest"].includes(I==null?void 0:I.key))),k=()=>{p.value=!0},D=()=>{p.value=!1},A=I=>{const g=P.value,T=g!=null&&g.key.includes("stream")?"streaming":"physical";o.push({name:st.EVENT_PAYMENT,params:{eventId:t.event.id},query:{profile:b.value||void 0,type:T}})},{mutate:V,isPending:N}=Ue({mutationFn:I=>{var g,T;if(C.value=null,!R.value)throw"Error: physicalParticipateAction undefine";return ee.postPublicEventAction(t.event.id,(g=R.value)==null?void 0:g.key,{...I,retailer:b.value==="retailer",eventId:((T=R.value)==null?void 0:T.key)==="action.buy_ticket"?t.event.id:void 0},L.value)},onSuccess:I=>{I!=null&&I.publicParticipantId&&(window.sessionStorage.setItem("publicParticipantId",String(I.publicParticipantId)),ve.set(te.PUBLIC_PARTICIPANT_ID,String(I.publicParticipantId),1)),r("validated",{actionResult:I,action:P.value}),b.value!=="retailer"&&A(),m.invalidateQueries({queryKey:[ue.EVENT_ACTIONS,t.event.id]}),document.body.style.overflow=""},onError:I=>{var g,T,w,O,K,Q;console.error(I),Me.isAxiosError(I)&&(C.value=(T=(g=I==null?void 0:I.response)==null?void 0:g.data)==null?void 0:T.errors,v({type:X.ERROR,title:((O=(w=I==null?void 0:I.response)==null?void 0:w.data)==null?void 0:O.title)||_("modal.ask_to_participate.error.form"),text:(Q=(K=I==null?void 0:I.response)==null?void 0:K.data)==null?void 0:Q.message}))}}),U=u.handleSubmit(async I=>{var g,T;L.value&&!((T=(g=R.value)==null?void 0:g.options)!=null&&T.isGuest)&&b.value!=="retailer"?A():V(I)}),q=z(()=>{var I,g;return!L.value||L.value&&((g=(I=R.value)==null?void 0:I.options)==null?void 0:g.isGuest)});return a({open:k,close:D,onValidate:U,needToOpenModal:!0}),(I,g)=>(s(),F(Aa,{modelValue:p.value,"onUpdate:modelValue":g[0]||(g[0]=T=>p.value=T),"profile-type":b.value,"onUpdate:profileType":g[1]||(g[1]=T=>b.value=T),event:I.event,"all-actions":I.actions,"show-profile-type":""},{default:E(()=>{var T,w,O,K,Q,H;return[c("p",{class:"modal__please-login",innerHTML:n(_)("please_login",{url:h.value})},null,8,Us),q.value?(s(),d("div",qs,[f(Z,{name:"firstName",rules:"required",placeholder:n(_)("event.form.first_name"),error:C.value&&C.value.firstName?(T=C.value.firstName[0])==null?void 0:T.message:""},{default:E(()=>[M(l(n(_)("public_participant.modal.form.first_name.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{name:"lastName",rules:"required",placeholder:n(_)("event.form.lastName"),error:C.value&&C.value.lastName?(w=C.value.lastName[0])==null?void 0:w.message:""},{default:E(()=>[M(l(n(_)("public_participant.modal.form.last_name.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{class:"modal__field-extended",name:"email",rules:"required|email",placeholder:n(_)("event.form.email"),error:C.value&&C.value.email?(O=C.value.email[0])==null?void 0:O.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.email.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{name:"company",rules:"required",placeholder:n(_)("event.form.company"),error:C.value&&C.value.company?(K=C.value.company[0])==null?void 0:K.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.company.placeholder")),1)]),_:1},8,["placeholder","error"]),f(Z,{name:"position",rules:"required",placeholder:n(_)("event.form.position"),error:C.value&&C.value.position?(Q=C.value.position[0])==null?void 0:Q.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.position.placeholder")),1)]),_:1},8,["placeholder","error"]),B.value?$("",!0):(s(),F(Oe,{key:0,class:"modal__field-extended",name:"comment",rules:"required",multiline:!0,error:C.value&&C.value.comment?(H=C.value.comment[0])==null?void 0:H.message:void 0},{default:E(()=>[M(l(n(_)("public_participant.modal.form.comment.placeholder")),1)]),_:1},8,["error"]))])):$("",!0),c("div",Fs,[f(le,{theme:n(W).PRIMARY,disabled:!n(u).meta.value.valid,pending:n(N),onClick:n(U)},{default:E(()=>[M(l(n(_)("event.validate.guest")),1)]),_:1},8,["theme","disabled","pending","onClick"])])]}),_:1},8,["modelValue","profile-type","event","all-actions"]))}});function In(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{please_login:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Vous êtes membre de Frenchfounders ? Cliquez <a style='text-decoration: underline; color: var(--theme-color-royale)' href='",r(o("link")),"'>ici</a> pour vous identifier."])},"event.form.first_name":e=>{const{normalize:t}=e;return t(["Votre prénom"])},"public_participant.modal.form.first_name.placeholder":e=>{const{normalize:t}=e;return t(["Prénom"])},"event.form.lastName":e=>{const{normalize:t}=e;return t(["Votre nom"])},"public_participant.modal.form.last_name.placeholder":e=>{const{normalize:t}=e;return t(["Nom"])},"event.form.email":e=>{const{normalize:t}=e;return t(["email","@","entreprise.com"])},"public_participant.modal.form.email.placeholder":e=>{const{normalize:t}=e;return t(["Email"])},"event.form.phone_number":e=>{const{normalize:t}=e;return t(["Votre numéro de téléphone"])},"public_participant.modal.form.phone.placeholder":e=>{const{normalize:t}=e;return t(["Téléphone"])},"public_participant.modal.form.country.placeholder":e=>{const{normalize:t}=e;return t(["Pays"])},"event.form.company":e=>{const{normalize:t}=e;return t(["Votre entreprise"])},"public_participant.modal.form.company.placeholder":e=>{const{normalize:t}=e;return t(["Entreprise"])},"event.form.position":e=>{const{normalize:t}=e;return t(["Votre poste"])},"public_participant.modal.form.position.placeholder":e=>{const{normalize:t}=e;return t(["Poste occupé"])},"public_participant.modal.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Commentaire"])},"close.guest":e=>{const{normalize:t}=e;return t(["Fermer"])},"event.validate.guest":e=>{const{normalize:t}=e;return t(["Valider"])},"modal.ask_to_participate.error.form":e=>{const{normalize:t}=e;return t(["Une erreur est survenue"])}},en:{please_login:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Are you a Frenchfounders member ? Click <a class='link' href='",r(o("link")),"'>here</a> to login"])},"event.form.first_name":e=>{const{normalize:t}=e;return t(["Your first name"])},"public_participant.modal.form.first_name.placeholder":e=>{const{normalize:t}=e;return t(["First name"])},"event.form.lastName":e=>{const{normalize:t}=e;return t(["Your last name"])},"public_participant.modal.form.last_name.placeholder":e=>{const{normalize:t}=e;return t(["Last name"])},"event.form.email":e=>{const{normalize:t}=e;return t(["email","@","company.com"])},"public_participant.modal.form.email.placeholder":e=>{const{normalize:t}=e;return t(["Email"])},"event.form.phone_number":e=>{const{normalize:t}=e;return t(["Your phone number"])},"public_participant.modal.form.phone.placeholder":e=>{const{normalize:t}=e;return t(["Phone"])},"public_participant.modal.form.country.placeholder":e=>{const{normalize:t}=e;return t(["Country"])},"event.form.company":e=>{const{normalize:t}=e;return t(["Your company"])},"public_participant.modal.form.company.placeholder":e=>{const{normalize:t}=e;return t(["Company"])},"event.form.position":e=>{const{normalize:t}=e;return t(["Your position"])},"public_participant.modal.form.position.placeholder":e=>{const{normalize:t}=e;return t(["Job title"])},"public_participant.modal.form.comment.placeholder":e=>{const{normalize:t}=e;return t(["Please indicate your motivations to participate in this event"])},"close.guest":e=>{const{normalize:t}=e;return t(["Close"])},"event.validate.guest":e=>{const{normalize:t}=e;return t(["Confirm"])},"modal.ask_to_participate.error.form":e=>{const{normalize:t}=e;return t(["An error occured"])}}}})}typeof In=="function"&&In(La);const Ys=j(La,[["__scopeId","data-v-55878ba7"]]),xs={key:0},Gs=["innerHTML"],js={key:1,class:"action__legend"},Ks={class:"mb-4"},Hs={key:1,class:"action__hint"},Qs={key:0},Ws={key:1},Na=x({__name:"ActionBuyTicketRetailSummit",props:{actions:{},event:{},size:{}},setup(i){const{analytics:a}=Ze(),e=i,t=["action.buy_ticket","action.stream.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"],{PARTICIPATE_ACTION_KEYS:r}=Tt(),{isLostClub:o,isLoggedIn:_,authentifiedUser:v}=ne(),{t:m,locale:u}=G(),p=Y(null),y=z(()=>t.join(" ")),b=z(()=>{if(!e.actions.find(g=>["action.cancel","action.stream.cancel","action.buy_ticket","action.stream.buy_ticket","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_member_and_buy_ticket","action.stream.ask_to_participate_as_public_and_buy_ticket"].includes(g==null?void 0:g.key)))return e.actions.find(g=>r.includes(g==null?void 0:g.key))}),C=z(()=>{var I;return e.event.earlyBirdEndDate?new Date>new Date((I=e.event)==null?void 0:I.earlyBirdEndDate):!0}),h=z(()=>{var I;return e.event.earlyBirdEndDate?We(e.event.earlyBirdEndDate,{locale:((I=e.event.locales)==null?void 0:I[0])||u.value,customFormat:"dd MMMM"}):""}),L=z(()=>{var I,g,T;return!e.event.isOnlyStreaming&&e.event.isStreaming&&Number((I=S.value)==null?void 0:I.amount)===0||Number((g=B.value)==null?void 0:g.amount)===0?m("action.participate"):((T=P.value)==null?void 0:T.label)||""}),P=z(()=>{if(!e.actions.find(g=>["action.cancel","action.stream.cancel"].includes(g==null?void 0:g.key)))return e.actions.find(g=>t.includes(g==null?void 0:g.key))}),R=z(()=>D.value?"member":"public"),S=z(()=>{var g,T,w,O;const I=D.value&&A.value&&!k.value?"member":"public";return C.value?(T=(g=e.event.price)==null?void 0:g[I])==null?void 0:T.physical:(O=(w=e.event.price)==null?void 0:w[I])==null?void 0:O.earlyBirdPhysical}),B=z(()=>{var g,T,w,O;const I=D.value&&A.value&&!k.value?"member":"public";return C.value?(T=(g=e.event.price)==null?void 0:g[I])==null?void 0:T.streaming:(O=(w=e.event.price)==null?void 0:w[I])==null?void 0:O.earlyBirdStreaming}),k=z(()=>o),D=z(()=>_),A=z(()=>{var I;return((I=v==null?void 0:v.business_lines)==null?void 0:I.includes(Qe.LECLUB))||!1}),V=z(()=>{var I,g;return(g=(I=P.value)==null?void 0:I.options)==null?void 0:g.hidden}),N=()=>{var I,g,T,w;(I=p.value)!=null&&I.needToOpenModal?((g=p.value)==null||g.open(),U()):(w=(T=p.value)==null?void 0:T.onValidate)==null||w.call(T)};function U(){var I;a==null||a.track(ct.EVENT_BOOK_TICKET,{eventId:(I=e.event)==null?void 0:I.id})}const q=z(()=>e.actions.some(I=>I.key==="action.stream.sold_out"));return(I,g)=>P.value||b.value?(s(),d("div",{key:0,class:"action",style:Et({display:V.value?"none":"block"})},[I.size!=="sm"?(s(),d("div",xs,[h.value?(s(),d("h5",{key:0,class:"action__title",innerHTML:n(m)(C.value?"event.early_bird_expired":"event.early_bird_until",{date:h.value})},null,8,Gs)):(s(),d("h4",js,l(n(m)("legend")),1)),c("div",Ks,[f(wa,{actions:I.actions,event:I.event,size:I.size,"is-streaming-closed":q.value},null,8,["actions","event","size","is-streaming-closed"])])])):$("",!0),f(le,{class:"action__buy",theme:I.size==="sm"?n(W).TERTIARY:n(W).PRIMARY,size:I.size==="sm"?n(ht).SMALL:void 0,"data-actions":y.value,onClick:N},{default:E(()=>[M(l(L.value),1)]),_:1},8,["theme","size","data-actions"]),I.size!=="sm"?(s(),d("p",Hs,[I.event.id===2360?(s(),d("span",Qs,l(n(m)("payment.caritative")),1)):(s(),d("span",Ws,l(n(m)("payment.no_refund")),1))])):$("",!0),(s(),F(kt(R.value==="member"?As:Ys),{ref_key:"modalToOpen",ref:p,actions:I.actions,event:I.event},null,8,["actions","event"]))],4)):$("",!0)}});function An(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{"action.participate":e=>{const{normalize:t}=e;return t(["Participer"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Ticket membre"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Ticket public"])},"event.free":e=>{const{normalize:t}=e;return t(["Gratuit"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Normal<br/>(Early Bird expiré depuis le ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Tarif Early bird<br/>jusqu'au ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Sur place"])},"event.online":e=>{const{normalize:t}=e;return t(["En ligne"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Complet"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% des frais d’inscription seront reversés aux associations sélectionnées"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["Une fois votre participation validée, aucun remboursement ne sera possible"])},legend:e=>{const{normalize:t}=e;return t(["Tarifs"])}},en:{"action.participate":e=>{const{normalize:t}=e;return t(["Participate"])},"event.ticket.member":e=>{const{normalize:t}=e;return t(["Member ticket"])},"event.ticket.public":e=>{const{normalize:t}=e;return t(["Public ticket"])},"event.free":e=>{const{normalize:t}=e;return t(["Free"])},"event.early_bird_expired":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Normal price<br/>(Early Bird expired since ",r(o("date")),")"])},"event.early_bird_until":e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Early bird price<br/>until ",r(o("date"))])},"event.physical":e=>{const{normalize:t}=e;return t(["Physical event"])},"event.online":e=>{const{normalize:t}=e;return t(["Online"])},"event.streaming.full":e=>{const{normalize:t}=e;return t(["Full"])},"payment.caritative":e=>{const{normalize:t}=e;return t(["100% of the registration fees will be donated to the charity organizations"])},"payment.no_refund":e=>{const{normalize:t}=e;return t(["When your participation is accepted, no refund will be available"])},legend:e=>{const{normalize:t}=e;return t(["Event pricing"])}}}})}typeof An=="function"&&An(Na);const Js=j(Na,[["__scopeId","data-v-e241f285"]]);function Pt(i){var o,_,v;const a=Ve(),e=ke();let t=null,r=null;if((o=e.query)!=null&&o.payload){t=decodeURIComponent(String(e.query.payload));try{const m=window.atob(t);r=JSON.parse(m)}catch{r=null}finally{i&&a.push({query:{}})}r!=null&&r.publicParticipantId&&(window.sessionStorage.setItem(te.PUBLIC_PARTICIPANT,JSON.stringify(r)),ve.set(te.PUBLIC_PARTICIPANT,JSON.stringify(r),1),window.sessionStorage.setItem(te.PUBLIC_PARTICIPANT_ID,(_=r.publicParticipantId)==null?void 0:_.toString()),ve.set(te.PUBLIC_PARTICIPANT_ID,(v=r.publicParticipantId)==null?void 0:v.toString(),1))}else window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT_ID)?r={publicParticipant:JSON.parse(window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT)||""),publicParticipantId:Number(window.sessionStorage.getItem(te.PUBLIC_PARTICIPANT_ID))}:r=null;return r}const Zs={class:"actions"},Xs={key:0,class:"actions__legend"},el={class:"actions__list"},tl={key:0,class:"actions__legend"},nl={class:"actions__list"},al=x({__name:"EventActions",props:{event:{},lang:{}},setup(i){const a=i,e=ke(),t=Pt(),r=ie.RETAIL_PARTY,o=ie.TLF;Be(()=>{var P;(P=e==null?void 0:e.query)!=null&&P.forceReload&&u()});const{data:_,isLoading:v,isError:m,refetch:u,isSuccess:p}=He({queryKey:[ue.EVENT_ACTIONS,a.event.id],queryFn:()=>{var P;return ee.getActions(a.event.id,((P=t==null?void 0:t.publicParticipantId)==null?void 0:P.toString())||"",a.lang)}}),y=Y(!1),b=Y(!1),C=z(()=>{var S,B,k,D;const P=((B=(S=_.value)==null?void 0:S.event)==null?void 0:B.actions)||[],R=((D=(k=_.value)==null?void 0:k.stream)==null?void 0:D.actions)||[];return[...P,...R]}),h=z(()=>{var P,R,S,B;return((R=(P=_.value)==null?void 0:P.event)==null?void 0:R.legend)||((B=(S=_.value)==null?void 0:S.stream)==null?void 0:B.legend)}),L=z(()=>C.value.find(R=>["action.participate","action.participate_as_guest","action.ask_to_participate_as_member","action.ask_to_participate_as_public","action.ask_to_participate_as_public_and_buy_ticket","action.ask_to_participate_as_member_and_buy_ticket","action.stream.access","action.join_club"].includes(R.key))?C.value.filter(R=>!["action.stream.ask_to_participate_as_member","action.stream.ask_to_participate_as_public","action.stream.participate","action.stream.join_club"].includes(R.key)):C.value);return fe(p,()=>{if(p.value){const P=document.querySelector("#app");if(!P||!t)return null;const R={childList:!0,attributes:!1,subtree:!0};new MutationObserver((B,k)=>{var A;const D=document.querySelector(`[data-actions~="${t.action}"]`);D&&!b.value&&((A=D.click)==null||A.call(D),k.disconnect()),b.value=!0}).observe(P,R)}},{immediate:!0}),(P,R)=>{const S=ze("safe-html");return s(),d("div",Zs,[f(Ie,{"is-error":n(m),"is-loading":n(v),"is-success":!!n(_)},{success:E(()=>{var B;return[((B=P.event)==null?void 0:B.id)===n(o)?(s(),d(oe,{key:0},[h.value?se((s(),d("div",Xs,null,512)),[[S,h.value]]):$("",!0),c("div",el,[f(fn,{event:P.event,actions:C.value},null,8,["event","actions"])]),(s(!0),d(oe,null,ge(L.value,k=>(s(),d("div",{key:k.key,class:"actions__list"},[f(bn,{event:P.event,action:k},null,8,["event","action"]),f(gn,{action:k},null,8,["action"])]))),128))],64)):(s(),d(oe,{key:1},[h.value?se((s(),d("div",tl,null,512)),[[S,h.value]]):$("",!0),c("div",nl,[f(Xo,{event:P.event,actions:C.value},null,8,["event","actions"]),P.event.id===n(r)?(s(),F(Js,{key:0,event:P.event,actions:C.value},null,8,["event","actions"])):(s(),d(oe,{key:1},[f(fn,{event:P.event,actions:C.value},null,8,["event","actions"]),f(as,{event:P.event,actions:C.value},null,8,["event","actions"])],64))]),(s(!0),d(oe,null,ge(L.value,k=>(s(),d("div",{key:k.key,class:"actions__list"},[f(Sa,{event:P.event,action:k},null,8,["event","action"]),f(bn,{event:P.event,action:k},null,8,["event","action"]),f(gn,{action:k},null,8,["action"]),f(ls,{action:k},null,8,["action"]),f(Ca,{action:k,event:P.event},null,8,["action","event"]),f(us,{action:k},null,8,["action"]),f(vs,{action:k},null,8,["action"]),f(zs,{action:k},null,8,["action"])]))),128))],64))]}),fallback:E(()=>[f(Te)]),_:1},8,["is-error","is-loading","is-success"]),f(aa,{modelValue:y.value,"onUpdate:modelValue":R[0]||(R[0]=B=>y.value=B),event:P.event},null,8,["modelValue","event"])])}}}),vt=j(al,[["__scopeId","data-v-0e50a8f6"]]),ol={key:0,class:"suggestions"},rl={class:"suggestions__legend"},il={class:"suggestions__list"},sl={class:"suggestions__guest my-2"},Ma=x({__name:"EventDetailsSuggestedMembersStatus",setup(i){const a=ke(),e=ne(),{data:t,isLoading:r}=He({queryKey:[ue.EVENT_GUEST_INVITED,a.params.id],queryFn:()=>ee.getGuestInvited(a.params.id),enabled:e.isLoggedIn}),{t:o}=G(),_=v=>{switch(v.status){case"list.invitation_guests.status.moderation.confirmed":return Le.SUCCESS;case"list.invitation_guests.status.moderation.pending":return Le.ALERT;case"list.invitation_guests.status.participation.waiting":return Le.ALERT;case"list.invitation_guests.status.participation.refused":return Le.ERROR;case"list.invitation_guests.status.participation.canceled":return Le.ERROR;case"list.invitation_guests.status.moderation.declined":return Le.ERROR}};return(v,m)=>n(e).isLoggedIn&&n(t)&&n(t).length>0&&!n(r)?(s(),d("div",ol,[m[0]||(m[0]=c("hr",{class:"suggestions__separator"},null,-1)),c("div",rl,l(n(o)("list.invitation_guests.from_you")),1),c("ul",il,[(s(!0),d(oe,null,ge(n(t),(u,p)=>(s(),d("li",{key:p},[c("div",sl,[M(l(u.fullname)+" ",1),u.status?(s(),F(at,{key:0,type:_(u)},{default:E(()=>[M(l(n(o)(u.status)),1)]),_:2},1032,["type"])):$("",!0)])]))),128))])])):$("",!0)}});function $n(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{en:{"list.invitation_guests.status.moderation.confirmed":e=>{const{normalize:t}=e;return t(["Suggestion confirmed"])},"list.invitation_guests.status.moderation.declined":e=>{const{normalize:t}=e;return t(["Suggestion refused"])},"list.invitation_guests.status.moderation.pending":e=>{const{normalize:t}=e;return t(["Pending suggestion"])},"list.invitation_guests.status.participation.confirmed":e=>{const{normalize:t}=e;return t(["Confirmed participation"])},"list.invitation_guests.status.participation.canceled":e=>{const{normalize:t}=e;return t(["Canceled participation"])},"list.invitation_guests.status.participation.refused":e=>{const{normalize:t}=e;return t(["Declined participation"])},"list.invitation_guests.status.participation.waiting":e=>{const{normalize:t}=e;return t(["Sent invitation"])},"list.invitation_guests.from_you":e=>{const{normalize:t}=e;return t(["Your suggested the following guests:"])}},fr:{"list.invitation_guests.status.moderation.confirmed":e=>{const{normalize:t}=e;return t(["Suggestion confirmée"])},"list.invitation_guests.status.moderation.declined":e=>{const{normalize:t}=e;return t(["Suggestion refusée"])},"list.invitation_guests.status.moderation.pending":e=>{const{normalize:t}=e;return t(["Suggestion en attente"])},"list.invitation_guests.status.participation.confirmed":e=>{const{normalize:t}=e;return t(["Participation confirmée"])},"list.invitation_guests.status.participation.canceled":e=>{const{normalize:t}=e;return t(["Participation annulée"])},"list.invitation_guests.status.participation.refused":e=>{const{normalize:t}=e;return t(["Participation refusée"])},"list.invitation_guests.status.participation.waiting":e=>{const{normalize:t}=e;return t(["Invitation envoyée"])},"list.invitation_guests.from_you":e=>{const{normalize:t}=e;return t(["Vos suggestions d'invités :"])}}}})}typeof $n=="function"&&$n(Ma);const ft=j(Ma,[["__scopeId","data-v-bb4af55e"]]),ll={key:0},cl={key:0,class:"separator"},ul={class:"partners__title"},ml={key:0,class:"partners__title--separator"},_l={class:"partners__lines"},dl=["onClick"],pl=["src","alt"],vl={class:"partners__name text-sm"},fl=["href"],yl=["src","alt"],zl={class:"partners__name text-sm"},hl={key:2},Da=x({__name:"EventDetailsPartners",props:{showSeparator:{type:Boolean}},emits:["click-partner"],setup(i,{emit:a}){const e=ne(),t=ke(),{data:r,isLoading:o}=ut(t.params.id),_=ie.RETAIL_PARTY,{t:v}=G(),m=a,u=z(()=>e.isLoggedIn),p=z(()=>{const b=[];if(r.value)for(const C of r.value.data.partners){const h=C.group.level-1;b[h]||(b[h]=[]),b[h].push(C)}return b.filter(Boolean)}),y=b=>{m("click-partner",b)};return(b,C)=>n(r)&&n(r).data.partners&&n(r).data.partners.length>0&&!n(o)?(s(),d("div",ll,[b.showSeparator?(s(),d("hr",cl)):$("",!0),c("section",{class:"partners",style:Et(b.showSeparator?{padding:"1rem 0"}:{padding:"0"})},[c("h2",ul,l(n(v)("event.with_support_partners")),1),b.showSeparator?$("",!0):(s(),d("hr",ml)),c("div",_l,[(s(!0),d(oe,null,ge(p.value,(h,L)=>(s(),d("div",{key:`partner-line-${L}`,class:ce(["partners__list",{"partners__list--align":h.length===1}])},[(s(!0),d(oe,null,ge(h,P=>(s(),d("div",{key:P.name,class:"partners__partner"},[[n(_)].includes(n(r).data.id)?(s(),d("div",{key:0,class:"pointer",onClick:R=>y(P)},[c("img",{class:"partners__partner-picture",src:P.picture,alt:P.name},null,8,pl),c("div",vl,l(P.name),1)],8,dl)):(s(),d("a",{key:P.name,href:u.value&&P.company&&P.company.partner?`/companies/details/${P.company.slug}`:P.website},[c("img",{class:"partners__partner-picture",src:P.picture,alt:P.name},null,8,yl),c("div",zl,l(P.name),1)],8,fl)),P.pitch?(s(),d("div",hl,l(P.pitch),1)):$("",!0)]))),128))],2))),128))])],4)])):$("",!0)}});function Rn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{en:{event:{with_support_partners:e=>{const{normalize:t}=e;return t(["With the support of our partners"])}}},fr:{event:{with_support_partners:e=>{const{normalize:t}=e;return t(["Avec le soutien de nos partenaires"])}}}}})}typeof Rn=="function"&&Rn(Da);const bl=j(Da,[["__scopeId","data-v-a4a073eb"]]),gl="/assets/visibility-B0wAO5nV.svg",kl="/assets/invites-BJ9HqKjs.svg",El="/assets/referent-Cyv29uML.svg",Tl={class:"step"},Cl={class:"title-4 mr-4"},Pl={class:"step__blocks mb-10 mt-8"},Sl=["src"],Il=["innerHTML"],Ba=x({__name:"SponsoringStepPresentation",emits:["next"],setup(i){const{t:a}=G(),e=[{illustration:gl,text:a("benefits.be_visible")},{illustration:kl,text:a("benefits.entertain_prospects")},{illustration:El,text:a("benefits.become_referent")}];return(t,r)=>(s(),d("div",Tl,[c("h3",Cl,l(n(a)("title")),1),c("div",Pl,[(s(),d(oe,null,ge(e,(o,_)=>c("div",{key:_},[c("img",{src:o.illustration},null,8,Sl),c("p",{class:"step__text",innerHTML:o.text},null,8,Il)])),64))]),f(_e,{theme:n(W).SECONDARY,onClick:r[0]||(r[0]=o=>t.$emit("next"))},{default:E(()=>[M(l(n(a)("cta")),1)]),_:1},8,["theme"])]))}});function wn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["Pourquoi associer votre entreprise à un événement Frenchfounders ?"])},benefits:{be_visible:e=>{const{normalize:t}=e;return t(["<strong>1. Rendre visible votre entreprise</strong> en fonction de vos enjeux et votre expertises"])},entertain_prospects:e=>{const{normalize:t}=e;return t(["<strong>2. Animer vos clients et prospects</strong> en les invitant à un événement valorisant votre entreprise"])},become_referent:e=>{const{normalize:t}=e;return t(["<strong>3. Devenir un référent</strong> auprès des décideurs du réseau en montrant votre soutien à la communauté"])}},cta:e=>{const{normalize:t}=e;return t(["Contacter Frenchfounders"])}},en:{title:e=>{const{normalize:t}=e;return t(["Why associate your company with a Frenchfounders event ?"])},benefits:{be_visible:e=>{const{normalize:t}=e;return t(["<strong>1. Make your company visible based on your challenges and your expertise"])},entertain_prospects:e=>{const{normalize:t}=e;return t(["<strong>2. Enliven your customers and prospects by inviting them to an event promoting your business"])},become_referent:e=>{const{normalize:t}=e;return t(["<strong>3. Become a reference for network decision-makers by showing your support for the community"])}},cta:e=>{const{normalize:t}=e;return t(["Contact Frenchfounders"])}}}})}typeof wn=="function"&&wn(Ba);const Al=j(Ba,[["__scopeId","data-v-7bb6948b"]]),$l={class:"step"},Rl={class:"title-4 mb-6 text-center"},wl={class:"mb-10"},Ll={key:0,class:"step__contact-form mb-6"},Nl={class:"step__button"},Va=x({__name:"SponsoringStepContact",props:{valid:{type:Boolean}},emits:["next"],setup(i,{emit:a}){const e=a,{t}=G(),r=Y("+33"),o=ne(),_=()=>{o.isLoggedIn?e("next",null):e("next",r.value)};return(v,m)=>(s(),d("div",$l,[c("h3",Rl,l(n(t)("title")),1),c("p",wl,l(n(t)("subtitle")),1),n(o).isLoggedIn?$("",!0):(s(),d("div",Ll,[f(Z,{name:"firstname",rules:"required",placeholder:n(t)("firstname")},{default:E(()=>[M(l(n(t)("firstname")),1)]),_:1},8,["placeholder"]),f(Z,{name:"lastname",rules:"required",placeholder:n(t)("lastname")},{default:E(()=>[M(l(n(t)("lastname")),1)]),_:1},8,["placeholder"]),f(Z,{name:"position",rules:"required",placeholder:n(t)("position")},{default:E(()=>[M(l(n(t)("position")),1)]),_:1},8,["placeholder"]),f(Z,{name:"company",rules:"required",placeholder:n(t)("company")},{default:E(()=>[M(l(n(t)("company")),1)]),_:1},8,["placeholder"]),f(Z,{name:"email",rules:"required|email",placeholder:n(t)("email")},{default:E(()=>[M(l(n(t)("email")),1)]),_:1},8,["placeholder"]),f(Z,{phonePrefix:r.value,"onUpdate:phonePrefix":m[0]||(m[0]=u=>r.value=u),name:"phone",rules:"required",type:"tel",placeholder:n(t)("phone_number")},{default:E(()=>[M(l(n(t)("phone_number")),1)]),_:1},8,["phonePrefix","placeholder"])])),f(Oe,{name:"message",rows:"5",rules:"required",placeholder:n(t)("message_placeholder"),class:"mb-6"},{default:E(()=>[M(l(n(t)("message")),1)]),_:1},8,["placeholder"]),c("div",Nl,[f(_e,{theme:n(W).SECONDARY,class:"step__button mb-6",disabled:!v.valid,onClick:_},{default:E(()=>[M(l(n(t)("cta")),1)]),_:1},8,["theme","disabled"])])]))}});function Ln(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["Contacter Frenchfounders"])},subtitle:e=>{const{normalize:t}=e;return t(["Veuillez renseigner les informations suivantes pour contacter nos équipes et explorer de potentielles synergies:"])},firstname:e=>{const{normalize:t}=e;return t(["Prénom"])},lastname:e=>{const{normalize:t}=e;return t(["Nom"])},position:e=>{const{normalize:t}=e;return t(["Poste"])},company:e=>{const{normalize:t}=e;return t(["Entreprise"])},email:e=>{const{normalize:t}=e;return t(["E-mail"])},phone_number:e=>{const{normalize:t}=e;return t(["Numéro de téléphone"])},message:e=>{const{normalize:t}=e;return t(["Message"])},message_placeholder:e=>{const{normalize:t}=e;return t([`Pourquoi souhaitez vous associer votre entreprise à cet événement ?
Quels sont vos enjeux et expertises ?`])},cta:e=>{const{normalize:t}=e;return t(["Envoyer mon message"])}},en:{title:e=>{const{normalize:t}=e;return t(["Contact Frenchfounders"])},subtitle:e=>{const{normalize:t}=e;return t(["Please provide the following information to contact our teams and explore potential synergies:"])},firstname:e=>{const{normalize:t}=e;return t(["First name"])},lastname:e=>{const{normalize:t}=e;return t(["Last name"])},position:e=>{const{normalize:t}=e;return t(["Position"])},company:e=>{const{normalize:t}=e;return t(["Company"])},email:e=>{const{normalize:t}=e;return t(["E-mail"])},phone_number:e=>{const{normalize:t}=e;return t(["Phone number"])},message:e=>{const{normalize:t}=e;return t(["Message"])},message_placeholder:e=>{const{normalize:t}=e;return t([`Why do you want to associate your company with this event?
What are your challenges and expertise ?`])},cta:e=>{const{normalize:t}=e;return t(["Send my message"])}}}})}typeof Ln=="function"&&Ln(Va);const Ml=j(Va,[["__scopeId","data-v-931acde7"]]),Dl="/assets/final-x9Okdkpf.svg",Bl={class:"step"},Vl={class:"title-2 mb-4 text-center"},Ol={class:"step__block"},Ul=["src"],ql={class:"mt-4 font-medium"},Fl={class:"mb-6 mt-2 text-sm"},Oa=x({__name:"SponsoringStepFinal",emits:["finished"],setup(i){const{t:a}=G();return(e,t)=>(s(),d("div",Bl,[c("h3",Vl,l(n(a)("title")),1),c("div",Ol,[c("img",{class:"text-center",src:n(Dl)},null,8,Ul),c("p",ql,l(n(a)("subtitle")),1),c("p",Fl,l(n(a)("will_be_contacted")),1),f(_e,{theme:n(W).SECONDARY,onClick:t[0]||(t[0]=r=>e.$emit("finished"))},{default:E(()=>[M(l(n(a)("cta")),1)]),_:1},8,["theme"])])]))}});function Nn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{title:e=>{const{normalize:t}=e;return t(["Merci !"])},subtitle:e=>{const{normalize:t}=e;return t(["Votre demande a bien été prise en compte"])},will_be_contacted:e=>{const{normalize:t}=e;return t(["Un membre de notre équipe vous contactera dans les plus bref delais."])},cta:e=>{const{normalize:t}=e;return t(["Fermer"])}},en:{title:e=>{const{normalize:t}=e;return t(["Thank you !"])},subtitle:e=>{const{normalize:t}=e;return t(["Your request has been taken into account"])},will_be_contacted:e=>{const{normalize:t}=e;return t(["A member of our team will contact you as soon as possible."])},cta:e=>{const{normalize:t}=e;return t(["Close"])}}}})}typeof Nn=="function"&&Nn(Oa);const Yl=j(Oa,[["__scopeId","data-v-8d27bce2"]]),xl={class:"sponsoring"},Ua=x({__name:"EventDetailsAsideSponsoring",setup(i){const{t:a}=G(),e=Y(1),t=Y(!1),{toast:r}=he(),o=ne(),{analytics:_}=Ze(),v=fo("id","",{transform:String}),{data:m}=ut(v),u=Y("lenetwork"),{values:p,meta:y,setFieldValue:b}=we({initialValues:{message:"",firstname:"",lastname:"",position:"",company:"",email:"",phone:"",phonePrefix:""}}),C=z(()=>({firstname:p.firstname,lastname:p.lastname,position:p.position,company:p.company,email:p.email,phone:p.phone,phonePrefix:p.phonePrefix,message:p.message})),{mutate:h}=Ue({mutationFn:()=>o.isLoggedIn?ee.postEventAskToSponsor(m.value.data.id,p.message):ee.postEventAskToSponsorPublic(m.value.data.id,C.value),onError:()=>{r({type:X.ERROR,title:a("error"),text:a("error_text"),duration:4e3})},onSuccess:()=>{var P;_.track("leclub:event:sponsoring_become_partner",{id:m.value.data.id,title:m.value.data.title,date:m.value.data.startDate,email:o.isLoggedIn?(P=o.authentifiedUser)==null?void 0:P.email:p.email}),e.value=3}}),L=async P=>{var R;(R=m.value)!=null&&R.data&&(P!=null&&b("phonePrefix",P),h())};return(P,R)=>(s(),d("div",xl,[c("div",{class:ce(["sponsoring__card",{"sponsoring__card--bg":u.value===n(nt).LECLUB}])},[c("p",{class:ce(["mb-4 text-sm",{"text-nuage":u.value===n(nt).LECLUB}])},l(n(a)("gain_visibility")),3),c("h2",{class:ce(["title-3 mb-4",{"text-nuage":u.value===n(nt).LECLUB}])},l(n(a)("sponsoring_title")),3),f(_e,{theme:u.value===n(nt).LECLUB?n(W).GHOST:n(W).TERTIARY,onClick:R[0]||(R[0]=S=>t.value=!0)},{default:E(()=>[M(l(n(a)("learn_more")),1)]),_:1},8,["theme"])],2),f(Je,{modelValue:t.value,"onUpdate:modelValue":R[4]||(R[4]=S=>t.value=S),size:n(Hn).LARGE,class:"sponsoring__modal"},{default:E(()=>[f(vo,{"model-value":e.value,steps:3,class:"mt-6"},{"step-1":E(()=>[f(Al,{onNext:R[1]||(R[1]=S=>e.value=2)})]),"step-2":E(()=>[f(Ml,{valid:n(y).valid,onNext:R[2]||(R[2]=S=>L(S))},null,8,["valid"])]),"step-3":E(()=>[f(Yl,{onFinished:R[3]||(R[3]=S=>t.value=!1)})]),_:1},8,["model-value"])]),_:1},8,["modelValue","size"])]))}});function Mn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{gain_visibility:e=>{const{normalize:t}=e;return t(["Rendez visible votre entreprise"])},sponsoring_title:e=>{const{normalize:t}=e;return t(["Mettre en avant votre entreprise sur l’événement"])},learn_more:e=>{const{normalize:t}=e;return t(["En savoir plus"])},error:e=>{const{normalize:t}=e;return t(["Error"])},error_text:e=>{const{normalize:t}=e;return t(["Error during the request please try again"])}},en:{gain_visibility:e=>{const{normalize:t}=e;return t(["Make your business visible"])},sponsoring_title:e=>{const{normalize:t}=e;return t(["Highlight your business at the event"])},learn_more:e=>{const{normalize:t}=e;return t(["Learn more"])},error:e=>{const{normalize:t}=e;return t(["Erreur"])},error_text:e=>{const{normalize:t}=e;return t(["Erreur lors de la demande veuillez réessayer"])}}}})}typeof Mn=="function"&&Mn(Ua);const Gl=j(Ua,[["__scopeId","data-v-7c4b49fd"]]),jl={key:0},Kl={class:"recap__title"},Hl={key:0,class:"recap__text"},Ql={class:"recap__date--container"},Wl=["innerHTML"],Jl=["innerHTML"],Zl=["innerHTML"],Xl={class:"recap__date--title"},ec={key:3},tc={class:"recap__text"},nc={class:"recap__text"},ac={class:"recap__text"},oc={key:4,class:"recap__text"},rc={key:5,class:"recap__text"},ic={key:6,class:"recap__text"},sc={key:0,class:"recap__location--container"},lc={class:"recap__location--title"},cc={class:"recap__text"},uc={key:0,href:"#map",class:"recap__location--link"},mc={key:0,class:"recap__location--container"},_c={key:0,href:"#map",class:"recap__location--link"},qa=x({__name:"EventDetailsAsideRecap",setup(i){const a=ne(),{t:e,locale:t}=G(),r=ke(),{data:o,isLoading:_}=ut(r.params.id),v=z(()=>t.value),m=z(()=>a.isLoggedIn),u=z(()=>{var k,D;return((D=(k=o.value)==null?void 0:k.data)==null?void 0:D.id)===2071}),p=z(()=>{var k,D;return((D=(k=o.value)==null?void 0:k.data)==null?void 0:D.id)===ie.RETAIL_PARTY}),y=z(()=>{var k,D,A,V,N,U;return!((D=(k=o.value)==null?void 0:k.data)!=null&&D.localStartDate)||!((V=(A=o.value)==null?void 0:A.data)!=null&&V.startDate)?null:me.fromISO((U=(N=o.value)==null?void 0:N.data)==null?void 0:U.startDate,{locale:v.value,setZone:!0}).toLocaleString(me.DATE_FULL)}),b=z(()=>{var k,D,A,V,N,U;return(D=(k=o.value)==null?void 0:k.data)!=null&&D.startDate?me.fromISO((V=(A=o.value)==null?void 0:A.data)==null?void 0:V.startDate,{locale:v.value,zone:(U=(N=o.value)==null?void 0:N.data)==null?void 0:U.timezone}).toLocaleString(me.TIME_SIMPLE):null}),C=z(()=>{var k,D,A,V,N,U,q,I;return((D=(k=o==null?void 0:o.value)==null?void 0:k.data)==null?void 0:D.eventType)==="physical"||!((V=(A=o.value)==null?void 0:A.data)!=null&&V.streamingStartDate)?null:me.fromISO((U=(N=o.value)==null?void 0:N.data)==null?void 0:U.streamingStartDate,{locale:v.value,zone:(I=(q=o.value)==null?void 0:q.data)==null?void 0:I.timezone}).toLocaleString(me.TIME_SIMPLE)}),h=z(()=>{var A,V,N,U,q,I;if(!((V=(A=o.value)==null?void 0:A.data)!=null&&V.streamingStartDate))return null;const k=me.fromISO((U=(N=o.value)==null?void 0:N.data)==null?void 0:U.streamingStartDate,{setZone:!0}),D=me.fromISO((I=(q=o.value)==null?void 0:q.data)==null?void 0:I.streamingStartDate).setZone(P.value);return k.day===D.day&&k.month===D.month&&k.year===D.year}),L=z(()=>Intl.DateTimeFormat().resolvedOptions().timeZone||""),P=z(()=>{var k;return((k=a.authentifiedUser)==null?void 0:k.timezone)||L.value}),R=k=>me.fromISO(k,{locale:v.value}).setZone(P.value).toLocaleString(me.TIME_SIMPLE),S=k=>me.fromISO(k,{locale:v.value}).setZone(P.value).toLocaleString(me.DATE_MED),B=k=>{if(!k)return"";const D=lo.find(A=>A.countryCode===k);return t.value.startsWith("fr")?D==null?void 0:D.countryNameFr:D==null?void 0:D.countryName};return(k,D)=>{var N,U,q,I,g,T,w,O,K,Q,H,de,ye,Ce,Pe,J,Se,Ee,qe,Fe,Ye,xe,Ge,je,pe,Xe,be,et,St,It,At,$t,Rt,wt,Lt,Nt,Mt,Dt,Bt,Vt,Ot,Ut,qt,Ft,Yt;const A=ze("safe-html"),V=ze("tooltip");return n(o)&&!n(_)?(s(),d("div",jl,[c("h2",Kl,l((N=n(o).data)==null?void 0:N.category),1),u.value?(s(),d("p",Hl,l(n(e)("event_online_only")),1)):$("",!0),c("div",Ql,[f(re,{name:"schedule",class:"recap__date--icon"}),c("div",null,[!u.value&&!((U=n(o).data)!=null&&U.isOnlyStreaming)&&((q=n(o).data)!=null&&q.streamingStartDate)?(s(),d("p",{key:0,class:"recap__text",innerHTML:n(e)("event_stream_from",{from:(I=n(o).data)==null?void 0:I.city})},null,8,Wl)):!((g=n(o).data)!=null&&g.isOnlyStreaming)&&((T=n(o).data)!=null&&T.isVisio)?(s(),d("p",{key:1,class:"recap__text",innerHTML:n(e)("event_physical_and_visio_from",{from:((w=n(o).data)==null?void 0:w.city)||((O=n(o).data)==null?void 0:O.location)})},null,8,Jl)):!((K=n(o).data)!=null&&K.isOnlyStreaming)&&((Q=n(o).data)!=null&&Q.isLivestream)?(s(),d("p",{key:2,class:"recap__text",innerHTML:n(e)("event_physical_and_livestream_from",{from:((H=n(o).data)==null?void 0:H.city)||((de=n(o).data)==null?void 0:de.location)})},null,8,Zl)):$("",!0),c("p",Xl,l(n(e)("show_date_on",{date:y.value})),1),u.value?(s(),d("div",ec,[c("div",tc,l(n(e)("event_summit_paris")),1),c("div",nc,l(n(e)("event_summit_newyork")),1),c("div",ac,l(n(e)("event_summit_shanghai")),1)])):$("",!0),(ye=n(o).data)!=null&&ye.isOnlyStreaming?$("",!0):se((s(),d("div",oc,null,512)),[[A,n(e)("event_to",{city:((Ce=n(o).data)==null?void 0:Ce.city)||((Pe=n(o).data)==null?void 0:Pe.location),time:b.value})]]),C.value&&((J=n(o).data)!=null&&J.isOnlyStreaming||!m.value)?(s(),d("div",rc,[c("span",null,l(n(e)("event_starting_live_at_local_time",{localTime:C.value,city:(Se=n(o).data)==null?void 0:Se.timezone})),1),(qe=(Ee=n(o))==null?void 0:Ee.data)!=null&&qe.streamingStartDate?se((s(),F(re,{key:0,name:"info",class:"recap__date--icon"},null,512)),[[V,h.value?n(e)("event_starting_live_at_member_tz_time",{time:R((Fe=n(o).data)==null?void 0:Fe.streamingStartDate),timezone:P.value}):n(e)("event_starting_live_at_member_tz_time_diff_days",{date:S((Ye=n(o).data)==null?void 0:Ye.streamingStartDate),time:R((xe=n(o).data)==null?void 0:xe.streamingStartDate),timezone:P.value}),void 0,{bottom:!0}]]):$("",!0)])):C.value?(s(),d("div",ic,[c("span",null,l(n(e)("event_starting_live_at_local_time",{localTime:C.value,city:((Ge=n(o).data)==null?void 0:Ge.city)||((je=n(o).data)==null?void 0:je.timezone)||"?"})),1),(Xe=(pe=n(o))==null?void 0:pe.data)!=null&&Xe.streamingStartDate?se((s(),F(re,{key:0,name:"info",class:"recap__date--icon"},null,512)),[[V,h.value?n(e)("event_starting_live_at_member_tz_time",{time:R((be=n(o).data)==null?void 0:be.streamingStartDate),timezone:P.value}):n(e)("event_starting_live_at_member_tz_time_diff_days",{date:S((et=n(o).data)==null?void 0:et.streamingStartDate),time:R((St=n(o).data)==null?void 0:St.streamingStartDate),timezone:P.value}),void 0,{bottom:!0}]]):$("",!0)])):$("",!0),f(na,{event:n(o).data},null,8,["event"])])]),m.value?(s(),d(oe,{key:1},[((It=n(o).data)!=null&&It.location||(At=n(o).data)!=null&&At.city)&&![n(ie).RETAIL_PARTY_2025_PUBLIC,n(ie).RETAIL_PARTY_2025_RETAILER].includes(n(o).data.id)?(s(),d("div",sc,[f(re,{name:"location_on",class:"recap__location--icon"}),c("div",null,[c("div",lc,l((($t=n(o).data)==null?void 0:$t.location)||((Rt=n(o).data)==null?void 0:Rt.city)),1),c("div",null,l(((wt=n(o).data)==null?void 0:wt.address1)||""),1),c("div",null,l((Lt=n(o).data)==null?void 0:Lt.postalCode)+" "+l((Nt=n(o).data)==null?void 0:Nt.city),1),c("div",cc,l(p.value?B("US"):B(((Mt=n(o).data)==null?void 0:Mt.country)||"")),1),((Dt=n(o).data)!=null&&Dt.location||(Bt=n(o).data)!=null&&Bt.city)&&m.value?(s(),d("a",uc,l(n(e)("see_map")),1)):$("",!0)])])):$("",!0)],64)):(s(),d(oe,{key:2},[((Vt=n(o).data)!=null&&Vt.location||(Ot=n(o).data)!=null&&Ot.city)&&![n(ie).RETAIL_PARTY_2025_PUBLIC,n(ie).RETAIL_PARTY_2025_RETAILER].includes(n(o).data.id)?(s(),d("div",mc,[f(re,{name:"location_on",class:"recap__location--icon"}),c("div",null,l(((Ut=n(o).data)==null?void 0:Ut.city)||B(((qt=n(o).data)==null?void 0:qt.country)||"")),1),((Ft=n(o).data)!=null&&Ft.location||(Yt=n(o).data)!=null&&Yt.city)&&m.value?(s(),d("a",_c,l(n(e)("see_map")),1)):$("",!0)])):$("",!0)],64))])):$("",!0)}}});function Dn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{event_online_only:e=>{const{normalize:t}=e;return t(["Cet événement est exclusivement accessible en ligne"])},event_stream_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Cet événement est enregistré depuis ",r(o("from"))])},event_physical_and_visio_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Cet événement a lieu à ",r(o("from"))," et est disponible en <span class='bold'>Visio</span>"])},event_physical_and_livestream_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Cet événement a lieu à ",r(o("from"))," et est disponible en <span class='bold'>Livestream</span>"])},show_date_on:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Le ",r(o("date"))])},event_summit_paris:e=>{const{normalize:t}=e;return t(["À Paris de 8 AM à 1 AM le lendemain"])},event_summit_newyork:e=>{const{normalize:t}=e;return t(["À New York de 2 AM à 7 PM"])},event_summit_shanghai:e=>{const{normalize:t}=e;return t(["À Shanghai / Hong-Kong de 2 PM à 7 AM le lendemain"])},event_to:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["À <span>",r(o("city")),"</span> - ",r(o("time"))])},event_starting_live_at_local_time:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Début du live à ",r(o("localTime"))," (",r(o("city")),")"])},event_starting_live_at_member_tz_time:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Début du live à ",r(o("time"))," dans votre fuseau horaire (",r(o("timezone")),")"])},event_starting_live_at_member_tz_time_diff_days:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Début du live le ",r(o("date"))," à ",r(o("time"))," dans votre fuseau horaire (",r(o("timezone")),")"])},info:e=>{const{normalize:t}=e;return t(["i"])},see_map:e=>{const{normalize:t}=e;return t(["Voir sur la carte"])}},en:{event_online_only:e=>{const{normalize:t}=e;return t(["This event is exclusively online"])},event_stream_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["This event is streamed from ",r(o("from"))])},event_physical_and_visio_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["This event takes place in ",r(o("from"))," and is available in <span class='bold'>Visio</span>"])},event_physical_and_livestream_from:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["This event takes place in ",r(o("from"))," and is available in <span class='bold'>Livestream</span>"])},show_date_on:e=>{const{normalize:t,interpolate:r,named:o}=e;return t([r(o("date"))])},event_summit_paris:e=>{const{normalize:t}=e;return t(["In Paris from 8 AM to 1 AM the next day"])},event_summit_newyork:e=>{const{normalize:t}=e;return t(["In New York from 2 AM to 7 PM"])},event_summit_shanghai:e=>{const{normalize:t}=e;return t(["In Shanghai / Hong-Kong from 2 PM to 7 AM the next day"])},event_to:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["In <span>",r(o("city")),"</span> - ",r(o("time"))])},event_starting_live_at_local_time:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Live starts at ",r(o("localTime"))," (",r(o("city")),")"])},event_starting_live_at_member_tz_time:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Live starts at ",r(o("time"))," in your timezone (",r(o("timezone")),")"])},event_starting_live_at_member_tz_time_diff_days:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Live starts on ",r(o("date"))," at ",r(o("time"))," in your timezone (",r(o("timezone")),")"])},info:e=>{const{normalize:t}=e;return t(["i"])},see_map:e=>{const{normalize:t}=e;return t(["See on map"])}}}})}typeof Dn=="function"&&Dn(qa);const dc=j(qa,[["__scopeId","data-v-fe704901"]]),Fa=x({__name:"ModalRegisterEvent",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(i){const{t:a}=G(),{toast:e}=he(),t=lt(i,"modelValue");Pt();const{mutate:r,isPending:o}=Ue({mutationFn:v=>Kn.updateMember(v),onError:()=>{e({type:X.ERROR,title:a("error.title"),text:a("error.update.member")})},onSuccess:()=>{t.value=!1,window.location.reload()}}),_=v=>{r({company:v.company,position:v.position})};return fe(t,()=>{var v,m;t.value?(v=window.$crisp)==null||v.push(["do","chat:hide"]):(m=window.$crisp)==null||m.push(["do","chat:show"])}),(v,m)=>(s(),F(co,{"model-value":t.value,title:n(a)("modal.title"),from:"event","force-loading":n(o),"onUpdate:modelValue":m[0]||(m[0]=u=>t.value=!1),onSuccess:_},{subtitle:E(()=>[M(l(n(a)("modal.subtitle")),1)]),form:E(()=>[f(Z,{class:"mt-4",type:"text",name:"position",rules:"required",placeholder:n(a)("modal.form.placeholder.position")},{default:E(()=>[M(l(n(a)("modal.form.position")),1)]),_:1},8,["placeholder"]),f(Z,{class:"mb-4 mt-4",type:"text",name:"company",rules:"required",placeholder:n(a)("modal.form.placeholder.company")},{default:E(()=>[M(l(n(a)("modal.form.company")),1)]),_:1},8,["placeholder"])]),_:1},8,["model-value","title","force-loading"]))}});function Bn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{modal:{title:e=>{const{normalize:t}=e;return t(["Je rejoins Frenchfounders"])},subtitle:e=>{const{normalize:t}=e;return t(["Inscrivez-vous gratuitement ci-dessous pour rejoindre Frenchfounders et ainsi accéder aux détails de l’événement, celui-ci étant réservé à nos membres (sauf conditions particulières)."])},form:{position:e=>{const{normalize:t}=e;return t(["Poste"])},company:e=>{const{normalize:t}=e;return t(["Entreprise"])},placeholder:{position:e=>{const{normalize:t}=e;return t(["Votre job"])},company:e=>{const{normalize:t}=e;return t(["Votre entreprise"])}}}},error:{title:e=>{const{normalize:t}=e;return t(["Une erreur s'est produite"])},update:{member:e=>{const{normalize:t}=e;return t(["Nous n'avons pas pu ajouter vos informations à votre profile"])}}}},en:{modal:{title:e=>{const{normalize:t}=e;return t(["Join Frenchfounders"])},subtitle:e=>{const{normalize:t}=e;return t(["Register for free below to reach Frenchfounders and thus access the details of the event, this being reserved for our members (unless special conditions)."])},form:{position:e=>{const{normalize:t}=e;return t(["Position"])},company:e=>{const{normalize:t}=e;return t(["Company"])},placeholder:{position:e=>{const{normalize:t}=e;return t(["Your job"])},company:e=>{const{normalize:t}=e;return t(["Your company"])}}}},error:{title:e=>{const{normalize:t}=e;return t(["An error has occurred"])},update:{member:e=>{const{normalize:t}=e;return t(["We could not add your information to your profile"])}}}}}})}typeof Bn=="function"&&Bn(Fa);var yt=(i=>(i.STREAM_ACCESS="action.stream.access",i.STREAM_ASK_TO_PARTICIPATE_AS_MEMBER="action.stream.ask_to_participate_as_member",i.STREAM_ASK_TO_PARTICIPATE_AS_MEMBER_AND_BUY_TICKET="action.stream.ask_to_participate_as_member_and_buy_ticket",i.STREAM_ASK_TO_PARTICIPATE_AS_PUBLIC="action.stream.ask_to_participate_as_public",i.STREAM_ASK_TO_PARTICIPATE_AS_PUBLIC_AND_BUY_TICKET="action.stream.ask_to_participate_as_public_and_buy_ticket",i.STREAM_BUY_TICKET="action.stream.buy_ticket",i.STREAM_CANCEL="action.stream.cancel",i.STREAM_CLUB_INSIDERS_ONLY="action.stream.club_insiders_only",i.STREAM_FINISHED="action.stream.finished",i.STREAM_DECLINE="action.stream.decline",i.STREAM_DECLINED="action.stream.declined",i.STREAM_MEMBERS_ONLY="action.stream.members_only",i.STREAM_PARTICIPATE="action.stream.participate",i.STREAM_PARTICIPATE_AS_GUEST="action.stream.participate_as_guest",i.STREAM_SOLD_OUT="action.stream.sold_out",i.STREAM_WATCH_REPLAY="action.stream.watch_replay",i.STREAM_REQUEST_REPLAY="action.stream.request_replay",i.STREAM_SUGGEST_GUEST="action.stream.suggest_guest",i.STREAM_NOT_OPEN_TO_REGISTRATION="action.stream.not_open",i.STREAM_JOIN_CLUB="action.stream.join_club",i.ASK_TO_PARTICIPATE_AS_MEMBER="action.ask_to_participate_as_member",i.ASK_TO_PARTICIPATE_AS_MEMBER_AND_BUY_TICKET="action.ask_to_participate_as_member_and_buy_ticket",i.ASK_TO_PARTICIPATE_AS_PUBLIC="action.ask_to_participate_as_public",i.ASK_TO_PARTICIPATE_AS_PUBLIC_AND_BUY_TICKET="action.ask_to_participate_as_public_and_buy_ticket",i.BUY_TICKET="action.buy_ticket",i.CANCEL="action.cancel",i.DECLINE="action.decline",i.DECLINED="action.declined",i.FINISHED="action.finished",i.JOIN_CLUB="action.join_club",i.JOIN_INSIDER_CLUB="action.join_insider_club",i.PARTICIPATE="action.participate",i.PARTICIPATE_AS_GUEST="action.participate_as_guest",i.REFUSED="action.refused",i.SOLD_OUT="action.sold_out",i.SUGGEST_GUEST="action.suggest_guest",i.NOT_OPEN_TO_REGISTRATION="action.not_open",i.JOIN_WAITING_LIST="action.join_waiting_list",i.JOIN_WAITING_LIST_STREAM="action.stream.join_waiting_list",i))(yt||{});const pc={key:0,class:"register"},vc={key:0,class:"mt-8"},fc={class:"register__cta mb-2"},yc={key:1,class:"register__price"},zc={class:"register__information mt-4"},hc={class:"register__cta mt-4"},Ya=x({__name:"EventDetailsAsideRegister",props:{event:{}},setup(i){const a=ie.RETAIL_PARTY,e=ne(),{t}=G(),r=Y(!1),o=yo("payload","",{transform:String});return Be(()=>{zt(()=>{if(o.value){const _=uo(o.value);[yt.JOIN_CLUB,yt.STREAM_JOIN_CLUB].includes(_.action)&&(r.value=!0)}})}),(_,v)=>{const m=ze("safe-html");return s(),d("div",null,[n(e).isLoggedIn?$("",!0):(s(),d("div",pc,[_.event.id===n(a)?(s(),d("div",vc,[c("h4",fc,l(n(t)("legend")),1),f(wa,{event:_.event,size:"sm"},null,8,["event"])])):_.event.paying?(s(),d("div",yc,[f(ka,{event:_.event},null,8,["event"])])):$("",!0),se(c("div",zc,null,512),[[m,n(t)("information")]]),c("div",hc,[f(le,{theme:n(W).PRIMARY,onClick:v[0]||(v[0]=u=>r.value=!0)},{default:E(()=>[M(l(n(t)("cta")),1)]),_:1},8,["theme"])])])),f(Fa,{modelValue:r.value,"onUpdate:modelValue":v[1]||(v[1]=u=>r.value=u)},null,8,["modelValue"])])}}});function Vn(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{information:e=>{const{normalize:t}=e;return t(["Certains de nos événements sont soumis à conditions.<br>Inscrivez-vous au réseau Frenchfounders pour connaitre les détails de cet événement et accéder à notre plateforme."])},cta:e=>{const{normalize:t}=e;return t(["S'inscrire"])},legend:e=>{const{normalize:t}=e;return t(["Prix de l'événement"])}},en:{information:e=>{const{normalize:t}=e;return t(["Some of our events are subject to conditions.<br>Register for the Frenchfounders network to know the details of this event and access our platform."])},cta:e=>{const{normalize:t}=e;return t(["Register"])},legend:e=>{const{normalize:t}=e;return t(["Event pricing"])}}}})}typeof Vn=="function"&&Vn(Ya);const bc=j(Ya,[["__scopeId","data-v-bad25fcf"]]),gc=x({__name:"ActionsTlf",props:{event:{}},setup(i){const a=Y(null),e=Y(!1),t=Kt(a);Ht(t,()=>{var v,m;e.value=((v=t.value)==null?void 0:v.nodeType)!==8&&((m=t.value)==null?void 0:m.textContent.trim())},{subtree:!0,childList:!0});const r=Y(null),o=Y(!1),_=Kt(r);return Ht(_,()=>{var v,m;o.value=((v=_.value)==null?void 0:v.nodeType)!==8&&((m=_.value)==null?void 0:m.textContent.trim())},{subtree:!0,childList:!0}),(v,m)=>se((s(),F($e,{class:"card"},{default:E(()=>[f(Ke,null,{default:E(()=>[f(vt,{ref_key:"actions",ref:r,event:v.event},null,8,["event"]),f(ft,{ref_key:"suggestions",ref:a},null,512)]),_:1})]),_:1},512)),[[gt,o.value||e.value]])}}),kc=j(gc,[["__scopeId","data-v-f37c3a5b"]]);function Ec(i,a){const e=Pt(!0);return He({queryKey:[ue.EVENT_ACTIONS,i.event.id],queryFn:()=>{var t;return ee.getActions(i.event.id,((t=e==null?void 0:e.publicParticipantId)==null?void 0:t.toString())||"",i.lang)},...a})}const xa=x({__name:"StatusTlf",props:{event:{},lang:{}},setup(i){const a=i,{t:e}=G(),{isError:t,isSuccess:r,data:o}=Ec({event:a.event,lang:a.lang}),_=z(()=>{var y,b,C,h;const u=((b=(y=o.value)==null?void 0:y.event)==null?void 0:b.actions)||[],p=((h=(C=o.value)==null?void 0:C.stream)==null?void 0:h.actions)||[];return[...u,...p]}),v=z(()=>{var u,p,y;return((y=(p=(u=o.value)==null?void 0:u.event)==null?void 0:p.metas)==null?void 0:y.moderationStatus)==="pending"}),m=z(()=>!!_.value.find(u=>["action.cancel","action.stream.cancel"].includes(u.key)));return(u,p)=>(s(),F(Ie,{id:"action_tlf","is-loading":!1,"is-error":n(t),"is-success":n(r)},{success:E(()=>[v.value?(s(),F($e,{key:0,class:"actions__waiting-list mb-4"},{default:E(()=>[f(Ke,{class:"actions__card-body"},{default:E(()=>[f(re,{name:"schedule",class:"actions__icon"}),c("div",null,l(n(e)("actions.waiting_list")),1)]),_:1})]),_:1})):m.value?(s(),F($e,{key:1,class:"actions__confirm_participation mb-4"},{default:E(()=>[f(Ke,{class:"actions__card-body"},{default:E(()=>[f(re,{name:"done",class:"actions__icon"}),c("div",null,l(n(e)("actions.confirm_participation")),1)]),_:1})]),_:1})):$("",!0)]),_:1},8,["is-error","is-success"]))}});function On(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{actions:{waiting_list:e=>{const{normalize:t}=e;return t(["Notre équipe traite votre demande de participation à cet événement"])},confirm_participation:e=>{const{normalize:t}=e;return t(["Votre inscription est terminée - vous recevrez bientôt une confirmation."])}}},en:{actions:{waiting_list:e=>{const{normalize:t}=e;return t(["Our team is processing your application to this event."])},confirm_participation:e=>{const{normalize:t}=e;return t(["Your registration is complete - you will receive an e-mail confirmation soon."])}}}}})}typeof On=="function"&&On(xa);const Tc=j(xa,[["__scopeId","data-v-695cab54"]]),Cc={class:"aside"},Pc={key:0},Sc={key:0},Ic={key:0},Ac={key:1},$c={key:1},Rc={key:3,class:"rounded bg-ray-10 p-2 text-center text-sm font-medium"},Ga=x({__name:"EventDetailsAside",props:{hideOrderSummary:{type:Boolean}},setup(i){const a="https://www.frenchfounders.com",e=ke(),t=ne(),{t:r}=G(),o=Ae(),{data:_,isLoading:v,isError:m,isSuccess:u}=ut(e.params.id),p=z(()=>t.isLoggedIn),y=window.location.href,{data:b,isLoading:C,isError:h,isSuccess:L}=ho("event",{enabled:p}),P=()=>{o.refetchQueries({queryKey:[ue.COMPLETED_PROFILE]})};return(R,S)=>{const B=ze("safe-html");return s(),d("div",Cc,[f(Ie,{"is-loading":n(v),"is-error":n(m),"is-success":n(u)},{success:E(()=>{var k,D,A,V,N;return[(k=n(_))!=null&&k.data&&((D=n(_))==null?void 0:D.data.id)===n(ie).TLF?(s(),d(oe,{key:0},[f(Tc,{event:(A=n(_))==null?void 0:A.data},null,8,["event"]),f(kc,{event:(V=n(_))==null?void 0:V.data},null,8,["event"]),R.hideOrderSummary?$("",!0):(s(),F(jo,{key:0,event:(N=n(_))==null?void 0:N.data},null,8,["event"]))],64)):$("",!0),f($e,{class:"aside__card"},{default:E(()=>{var U;return[f(Ke,null,{default:E(()=>{var q,I,g,T,w,O;return[(q=n(_))!=null&&q.data?(s(),F(bo,{key:0,class:"!absolute right-4 top-4 !h-auto",content:{title:n(_).data.title,content:n(_).data.subtitle,href:n(y)}},{default:E(()=>[f(it,{class:"title-3",name:"share"})]),_:1},8,["content"])):$("",!0),n(_)?(s(),F(dc,{key:1,class:"aside__card--recap"})):$("",!0),(I=n(_))!=null&&I.data&&((g=n(_))==null?void 0:g.data.id)!==n(ie).TLF?(s(),d(oe,{key:2},[(w=(T=n(_))==null?void 0:T.data)!=null&&w.isCommunity?(s(),d("div",Pc,[p.value?(s(),d("div",Sc,[f(Ie,{"is-loading":n(C),"is-error":n(h),"is-success":n(L)},{success:E(()=>[n(b)?(s(),d("div",Ac,[n(_)?(s(),F(vt,{key:0,event:n(_).data},null,8,["event"])):$("",!0),f(ft)])):(s(),d("div",Ic,[f(zo,{onRefresh:P})]))]),_:1},8,["is-loading","is-error","is-success"])])):$("",!0),n(_)?(s(),F(bc,{key:1,event:n(_).data},null,8,["event"])):$("",!0)])):(s(),d("div",$c,[n(_)?(s(),F(vt,{key:0,event:n(_).data},null,8,["event"])):$("",!0),f(ft)]))],64)):$("",!0),(O=n(_))!=null&&O.data.openToFutureLeaders&&n(t).hasRole(n(Re).LECLUB)?(s(),d("div",Rc,[M(l(n(r)("flp_access"))+" ",1),S[0]||(S[0]=c("br",null,null,-1)),f(Gn,{class:"mt-2",to:{name:n(xn).FUTURE_LEADERS_PASS}},{default:E(()=>[M(l(n(r)("learn_more")),1)]),_:1},8,["to"])])):$("",!0)]}),_:1}),((U=n(_))==null?void 0:U.data.id)===n(ie).RETAIL_PARTY_2025_RETAILER?(s(),F(ko,{key:0,type:n(go).ALERT,class:"mt-2",icon:"info"},{default:E(()=>{var q;return[se(c("div",null,null,512),[[B,n(r)("retail_party_redirect",{href:`${n(a)}/event/${n(ie).RETAIL_PARTY_2025_PUBLIC}/${(q=n(_))==null?void 0:q.data.slug}`})]])]}),_:1},8,["type"])):$("",!0)]}),_:1}),f($e,null,{default:E(()=>[f(Gl)]),_:1}),n(_)&&n(_).data.partners.length>0?(s(),F($e,{key:1,class:"asidepartners__card"},{default:E(()=>[f(bl)]),_:1})):$("",!0)]}),_:1},8,["is-loading","is-error","is-success"])])}}});function Un(i){const a=i;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{fr:{share_description:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Regarde cet événement Frenchfounders ",r(o("title")),": ",r(o("date")),", ",r(o("location")),"."])},share_event:e=>{const{normalize:t}=e;return t(["Partager l'événement"])},learn_more:e=>{const{normalize:t}=e;return t(["En savoir plus"])},flp_access:e=>{const{normalize:t}=e;return t(['Vous avez la possiblité de venir à cet événement avec vos enfants. Découvrez notre offre "Future Leaders Pass"'])},retail_party_redirect:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(['Cet événement est réservé aux retailers. Si vous êtes non-retailer, merci de vous <a class="font-bold" href="',r(o("href")),'">inscrire ici →</a>'])}},en:{share_description:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(["Check out this Frenchfounders event ",r(o("title")),": ",r(o("date")),", ",r(o("location")),"."])},share_event:e=>{const{normalize:t}=e;return t(["Share event"])},learn_more:e=>{const{normalize:t}=e;return t(["Learn more"])},flp_access:e=>{const{normalize:t}=e;return t(['You have the opportunity to come to this event with your children. Discover our offer "Future Pass" leaders '])},retail_party_redirect:e=>{const{normalize:t,interpolate:r,named:o}=e;return t(['This event is reserved for retailers. If you are non-retailer, please <a class="font-bold" href="',r(o("href")),'">register here →</a>'])}}}})}typeof Un=="function"&&Un(Ga);const jc=j(Ga,[["__scopeId","data-v-ea7a0f8a"]]);export{Js as A,Gc as E,fn as _,Jn as a,Wn as b,jo as c,jc as d,as as e,bn as f,gn as g,ls as h,Ca as i,us as j,Fa as k,bl as l,Eo as u};
//# sourceMappingURL=EventDetailsAside-BtLKpKhU.js.map