PageSourceSearch

https://alliancy.fr/_nuxt/CxdRPmCw.js

js alliancy.fr collected 2026-10-02 02:50:48 UTC 3,064 bytes, 1 lines download raw bytes

1import{d as p,o as l,c as v,a as n,l as g,h as C,aa as k,j as f,t as c,u as t,B as w,w as y,ab as h,ac as R,b as E,ad as F,m as $,p as j,q as B,s as I,n as P,J as N,k as S}from"./BMrxR1rr.js";const V={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},q=p({name:"IconCircleCheck",__name:"IconCircleCheck",setup(o){return(e,s)=>(l(),v("svg",V,[...s[0]||(s[0]=[n("circle",{cx:"12",cy:"12",r:"10"},null,-1),n("path",{d:"m9 12 2 2 4-4"},null,-1)])]))}}),L=Object.assign(q,{__name:"IconCircleCheck"}),z={class:"event-registration-confirmation rounded-2xl border border-surface/10 bg-card p-8 text-center shadow-sm sm:p-12"},A={class:"mx-auto mb-6 flex size-16 items-center justify-center rounded-full bg-primary/10 text-primary"},M={class:"mb-2 text-2xl font-bold text-surface"},O={class:"mb-1 text-surface"},T={class:"mb-8 text-sm text-surface/70"},D={class:"flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:justify-center"},H=p({name:"EventRegistrationConfirmation",__name:"EventRegistrationConfirmation",props:{event:{},alreadyRegistered:{type:Boolean},profileCreated:{type:Boolean}},setup(o){const{t:e}=g(),s=C(),{isEnabled:i}=k(),r=i("user-profiles"),m=s({name:"accounts_profile_form"});return(d,x)=>{const a=L,u=R,_=F;return l(),v("div",z,[n("div",A,[f(a,{class:"size-10"})]),n("h1",M,c(o.alreadyRegistered?t(e)("eventForm.alreadyRegistered"):t(e)("eventForm.registered")),1),n("p",O,c(o.event.name),1),n("p",T,c(o.alreadyRegistered?t(e)("eventForm.alreadyRegisteredSubtitle"):t(e)("eventForm.registeredSubtitle")),1),n("div",D,[t(r)?(l(),w(u,{key:0,to:t(m),class:"inline-flex min-h-12 items-center justify-center rounded-xl border border-surface/20 px-6 py-3 text-center font-semibold text-surface transition-colors hover:bg-surface/5 sm:order-3"},{default:y(()=>[h(c(o.profileCreated?t(e)("eventForm.completeProfile"):t(e)("eventForm.viewProfile")),1)]),_:1},8,["to"])):E("",!0),f(_,{event:o.event,class:"inline-flex min-h-12 items-center justify-center rounded-xl bg-primary px-6 py-3 text-center font-semibold text-surface transition-opacity hover:opacity-90 sm:order-last"},{default:y(()=>[h(c(t(e)("eventForm.backToEvent")),1)]),_:1},8,["event"])])])}}}),J=Object.assign(H,{__name:"EventRegistrationConfirmation"}),X={class:"container py-12"},G={class:"mx-auto max-w-2xl"},W=p({name:"CommunityEventRegisteredPage",__name:"confirmation",async setup(o){let e,s;const{t:i}=g(),r=$(),m=r.params.eventId,{data:d,error:x}=([e,s]=j(()=>B(`/community/events/${m}`,{transform:I},"$jwAfXFmb8e")),e=await e,s(),e);if(x.value||!d.value)throw P({statusCode:404,statusMessage:"Event not found"});const a=d.value,u=r.query.state==="already",_=r.query.profile==="new";return N({title:a.name?`${a.name} — ${i("eventForm.registered")}`:i("eventForm.registered")}),S({meta:[{name:"robots",content:"noindex, nofollow"}]}),(K,Q)=>{const b=J;return l(),v("div",X,[n("div",G,[f(b,{event:t(a),"already-registered":u,"profile-created":_},null,8,["event"])])])}}});export{W as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.