PageSourceSearch

https://www.connect-events.fr/_next/static/chunks/pages/exponent/embed/[id]-fc3aa1d8f73a3dc5.js

js connect-events.fr collected 2026-10-02 00:02:50 UTC 4,104 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5959],{16045:(e,t,i)=>{"use strict";i.d(t,{A:()=>b});var n=i(6029),l=i(73492),s=i(21841),o=i(34245),r=i(96930),a=i(17325),d=i(68484),u=i(56375),c=i(25854),v=i(5835),p=i(37890),x=i(76448),m=i(68642),f=i(72579),k=i(40334),h=i(55729);let b=e=>{var t,i,b;let{structure:E,eventId:C,isEmbedded:j=!1,onEventClick:_,onConversationClick:A,isPublicExponentDisplay:g=!1}=e,{getFileUrl:N}=(0,k.Co)(),w=(0,h.useMemo)(()=>({...E,products:E.products.filter(e=>C?e.events.find(e=>e.id===C):e)}),[E,C]),{data:y}=(0,l.wpP)(null!=(t=null==w?void 0:w.id)?t:""),{data:L}=(0,l.ncL)(C,null==w?void 0:w.id),S=(0,a.XAZ)(null==L?void 0:L.exhibitorProfilesPack),{mutate:I}=(0,l.xd2)(),[P,M]=(0,h.useState)(null!=(i=null==w?void 0:w.isLiked)&&i),{isAuthenticated:F}=(0,p.u)(),{openActivityList:O,closeActivityList:R,selectedActivities:D}=(0,x.F)(),{toast:X}=(0,o.dj)(),{track:G}=(0,m.A)();(0,h.useEffect)(()=>{M(w.isLiked)},[w.isLiked]);let{onWebsiteClick:T,onSocialsClick:V,handleConversationClick:z}=((e,t,i,n,l)=>{let o=t&&!i?(0,v.ax)(e.id,t,l,s.GMD.openExponentWebsite):void 0;return{onWebsiteClick:o,onSocialsClick:t&&!i?(0,v.ax)(e.id,t,l,s.GMD.openExponentSocials):void 0,handleConversationClick:()=>{!i&&e.adminId&&(t&&(0,v.ax)(e.id,t,l,s.GMD.openExponentConversation)(),null==n||n())}}})(w,C,j,A,G),U=C&&_?()=>_(C):void 0,W=(0,h.useMemo)(()=>{var e;return null!=(e=null==w?void 0:w.activities.filter(e=>D.some(t=>t.activityId===e.id)))?e:[]},[null==w?void 0:w.activities,D]);if(!w)return(0,n.jsx)(r.R,{});let q=null!=(b=w.customStructureAppearance)?b:s.KSE;return(0,n.jsxs)(u.R,{isPublicExponentDisplay:g,children:[(0,n.jsx)("div",{className:"absolute -z-20 size-full",style:{opacity:q.filterOpacity/100,backgroundColor:(0,a.oF5)(q.backgroundColor)}}),(0,n.jsx)(d.Ay,{isLiked:P,toggleLike:()=>{if(!F)return void f.A.setModalVisible(!0);let e=!P;I({structureId:w.id,like:e},{onSuccess:()=>{M(e),X({title:e?"Favoris ajout\xe9":"Favoris supprim\xe9"})}})},structure:w,onConversationClick:z,onWebsiteClick:T,onSocialsClick:V,customAppearance:q,isEmbedded:j,getFileUrl:N,onEventCardClick:j?_:U,onOpenActivityList:j?void 0:O,participations:null!=y?y:[],exhibitorPackNumber:C?S:void 0}),0!==W.length?(0,n.jsx)(c.e,{open:0!==W.length,setOpen:e=>!e&&R(),activities:W,isEmbedded:j}):null]})}},21673:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/exponent/embed/[id]",function(){return i(99753)}])},38201:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(6029),l=i(13471);let s=()=>(0,n.jsx)("div",{className:"mt-auto flex w-full bg-blue-700 p-4",children:(0,n.jsxs)("div",{className:"flex flex-1",children:[(0,n.jsx)("p",{className:"my-auto mr-1 h-fit text-white",children:"Propuls\xe9 par"}),(0,n.jsx)(l.A,{src:"/images/logos/logo_connect_events_store.png",alt:"logo Connect'Events",className:"static h-8 w-auto p-1"}),(0,n.jsx)("p",{className:"my-auto h-fit text-white",children:"Connect'Events"})]})})},99753:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>p});var n=i(6029),l=i(38201),s=i(73492),o=i(96930),r=i(55729),a=i(16045);let d=e=>{let{structureId:t,eventId:i,isEmbedded:l=!1,onEventClick:d,onConversationClick:u}=e,{data:c}=(0,s.xSV)(t,{enabled:!l}),{data:v}=(0,s.V55)(t,i,{enabled:l}),p=(0,r.useMemo)(()=>l?v:c,[l,v,c]);return p?(0,n.jsx)(a.A,{structure:p,eventId:i,isEmbedded:l,onEventClick:d,onConversationClick:u}):(0,n.jsx)(o.R,{})};var u=i(92351);let c=e=>{let{structureId:t,eventId:i}=e;return(0,n.jsxs)("div",{className:"flex min-h-[500px] flex-col",children:[(0,n.jsx)(d,{structureId:t,isEmbedded:!0,onEventClick:e=>{let t="".concat(u.A.NEXT_BASE_URL,"/event/").concat(e);window.open(t,"_blank","noopener,noreferrer")},eventId:i}),(0,n.jsx)(l.A,{})]})};var v=i(81278);function p(){let{id:e,eventId:t}=(0,v.useRouter)().query;return e?(0,n.jsx)("div",{children:(0,n.jsx)(c,{structureId:e,eventId:Array.isArray(t)?t[0]:t})}):null}p.getLayout=function(e){return(0,n.jsx)("div",{children:e})}}},e=>{e.O(0,[8807,2651,3076,4687,2229,820,4028,2947,9749,5835,636,6593,8792],()=>e(e.s=21673)),_N_E=e.O()}]);
2//# sourceMappingURL=[id]-fc3aa1d8f73a3dc5.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.