1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5883],{577:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/event-release/refuse/[id]",function(){return s(41335)}])},41335:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var n=s(6029),a=s(69e3);let l=function(){return(0,n.jsx)(a.A,{isAccepted:!1})}},69e3:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var n=s(6029),a=s(73492),l=s(34245),c=s(96930),r=s(65403),i=s(13471),o=s(66310),u=s(81278),d=s(55729);let x=function(e){let{isAccepted:t}=e,s=(0,u.useRouter)(),{id:x}=s.query,[m,h]=(0,d.useState)(!1),[p,v]=(0,d.useState)(!1),[f,g]=(0,d.useState)(""),{mutate:_,isPending:w}=(0,a.SRW)(x);return(0,d.useEffect)(()=>{x&&_(t,{onSuccess:e=>{h(!0),v(e.isDraft)},onError:e=>{var t;(0,o.F0)(e)&&400===e.status&&(null==(t=e.response)?void 0:t.data.message)?g(e.response.data.message):(0,l.oR)({title:"Erreur",description:"Une erreur est survenue"})}})},[x,t,_]),(0,n.jsx)("div",{className:"mx-auto my-10 flex h-full w-fit items-center rounded-lg border-gray-50 bg-white p-4 shadow-sm",children:(0,n.jsxs)("div",{className:"mx-auto flex w-fit flex-col items-center space-y-8 px-8 lg:min-w-192",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,n.jsx)(i.A,{src:"/images/logos/logo_connect_events_store.png",alt:"logo Connect'Events",className:"static h-14 w-auto",width:200,height:200}),(0,n.jsx)(i.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto",width:680,height:135})]}),w?(0,n.jsx)(c.R,{}):(0,n.jsxs)(n.Fragment,{children:[m&&(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h1",{className:"text-xl font-bold text-black",children:t?"F\xe9licitation, vous avez ".concat(p?"r\xe9cup\xe9r\xe9":"accept\xe9 la publication de"," votre \xe9v\xe9nement !"):"Vous avez refus\xe9 la publication de votre \xe9v\xe9nement !"}),(0,n.jsxs)("p",{className:"text-center text-sm font-normal text-black",children:[t&&!p&&"Les derniers d\xe9tails sont en train d'\xeatre v\xe9rifi\xe9s par l'\xe9quipe de Connect'Events avant sa mise en ligne.",!t&&"Votre \xe9v\xe9nement n'a pas \xe9t\xe9 publi\xe9."]})]}),f&&(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h1",{className:"text-xl font-bold text-black",children:"Votre choix n'a pas \xe9t\xe9 pris en compte"}),(0,n.jsx)("p",{className:"mx-auto mt-2 w-[90â°]",children:f})]}),(0,n.jsx)(r.$,{variant:"blue",className:"w-full",onClick:()=>s.push("/"),children:"Retour \xe0 l'accueil"})]})]})})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=577)),_N_E=e.O()}]); 2//# sourceMappingURL=[id]-68d80c2f0025a62c.js.map
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.