PageSourceSearch

https://www.cineville.fr/_next/static/chunks/pages/evenements/[...eventcineids]-fbbbb58cbbf28df3.js

js cineville.fr collected 2026-09-26 01:13:10 UTC 13,016 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6986],{79556:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(16835),a=n(67294),r=n(11163),o=n(38892),s=n.n(o),c=n(30816),l=n.n(c),d=n(25675),_=n.n(d),u=n(67304),m=n(58324),v=n(42310),f=n(11518),p=n(62697),h=n(85893);function x(){var e=(0,f.Z)()[0],t=(0,v.Z)((function(e){return[e.showFilmModal,e.modalData,e.eventType,e.nameCurrentCine]})),n=(0,i.Z)(t,4),o=n[0],c=n[1],d=n[2],x=(n[3],(0,a.useState)(!1)),g=x[0],b=x[1],j=(0,r.useRouter)().asPath.toLowerCase().includes("katorza")?s():l(),y=null!==c&&void 0!==c&&c.synopsis?(0,p.Z)(c.synopsis):"",Z="opera"===d?"https://storage.googleapis.com/cineville-files-prod/opera":"https://storage.googleapis.com/cineville-files-prod/images";return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:j.modal_overlay,style:{display:o&&"block"}}),(0,h.jsxs)("div",{className:j.video_container,style:{display:g?"flex":"none",width:e},children:[(0,h.jsx)("span",{className:j.close,onClick:function(){return b(!g)}}),(0,h.jsx)("iframe",{frameBorder:"0",width:"850",height:"500",scrolling:"no",src:g?"".concat(u.g5).concat(c.video_id,"?&autoplay=1&rel=0&showinfo=0&color=white&iv_load_policy=3"):"",allowFullScreen:!0})]}),(0,h.jsxs)("div",{className:[j.modal_content,o&&j.active].join(" "),style:{top:o&&"12vh"},children:[(0,h.jsxs)("div",{className:j.modal_background,style:{backgroundImage:"linear-gradient(180deg, rgba(15,15,15,0.7) 0%, rgba(40,40,40,.6) 76%, rgba(255,255,255,1) 100%), url(".concat(Z,"/").concat(c.affichette,")")},children:[(0,h.jsx)("span",{className:j.close,onClick:function(){v.Z.setState({showFilmModal:!1,modalData:"",eventType:""}),document.body.style.overflow="auto"}}),(0,h.jsxs)("div",{className:j.modal_header,children:[(0,h.jsx)("div",{className:j.modal_film_title,children:c.titre}),(0,h.jsx)("div",{className:j.modal_film_genre,children:c.duree&&"(".concat(c.duree,")")}),c.video_id&&""!==c.video_id&&(0,h.jsxs)("div",{className:j.modal_video_button,onClick:function(){return b(!g)},children:[(0,h.jsx)(_(),{src:m.Z}),"Film Annonce"]})]})]}),(0,h.jsxs)("div",{className:j.modal_text,children:[(0,h.jsxs)("div",{className:[j.modal_film_details].join(" "),children:["opera"!==d&&(0,h.jsx)("div",{className:j.modal_details_titres,children:"D\xe9tails"}),(0,h.jsx)("div",{children:c.realisateurs&&"De ".concat(c.realisateurs)}),(0,h.jsx)("div",{children:c.acteurs&&"Avec ".concat(c.acteurs)}),(0,h.jsx)("div",{children:c.duree&&"Dur\xe9e ".concat(c.duree)}),(0,h.jsx)("div",{children:c.anneeproduction&&"Ann\xe9e ".concat(c.anneeproduction)}),(0,h.jsxs)("div",{children:[" ",c.anneeproduction&&"Nationalit\xe9 ".concat(c.nationalite)]})]}),(0,h.jsx)("div",{className:j.modal_details_titres,children:"R\xe9sum\xe9"})," ",(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:y}})]})]})]})}},75960:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(74893),a=n.n(i),r=n(85893);function o(e){var t=e.title,n=e.maxWidth,i=e.titleColor,o=e.titleWeight,s=e.bckgColor,c=e.children;return(0,r.jsxs)("div",{className:a().container,style:{maxWidth:n||"1350px",backgroundColor:s||""},children:[(0,r.jsx)("div",{className:a().title,style:{color:i||"#2495c6",fontWeight:o||"800"},children:t}),(0,r.jsx)("div",{className:a().content,children:c})]})}},63102:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(50029),a=n(16835),r=n(87794),o=n.n(r),s=n(67294),c=n(42310),l=n(11163),d=n(27654),_=n(38694);function u(e){var t=(0,l.useRouter)(),n=t.query,r=t.isReady,u=e||function(e){var t=function(e){var t=parseInt(e,10);return isNaN(t)?0:t};return e.idCinema?t(e.idCinema):e.eventcineids?t(e.eventcineids[1]):0}(n),m=(0,c.Z)((function(e){return[e.listCines]})),v=(0,a.Z)(m,1)[0],f=(0,s.useState)(),p=f[0],h=f[1];function x(){return(x=(0,i.Z)(o().mark((function e(){var t,n,i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==Object.entries(v).length){e.next=13;break}return e.next=3,(0,d.Z)("GET","cines","");case 3:return t=e.sent,e.next=6,t.data;case 6:n=e.sent,i=n.find((function(e){return e.id===parseInt(u)})),a=(0,_.Z)(null===i||void 0===i?void 0:i.nom_cine_public),c.Z.setState({listCines:n,idCurrentCine:parseInt(u),nameCurrentCine:a}),h(n),e.next=14;break;case 13:h(v);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,s.useEffect)((function(){r&&u&&function(){x.apply(this,arguments)}()}),[r,u]),p}},11086:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(11163);function a(){var e=(0,i.useRouter)();return!(/\[.+\]/.test(e.route)||/\?./.test(e.asPath))||Object.keys(e.query).length>0?e.query:null}},73012:function(e,t,n){"use strict";function i(e,t){var n=e.find((function(e){return e.event_id===t}));if(!n||!n.prog)return{movies:[],showtimes:[]};var i=new Map,a=[];return n.prog.forEach((function(e){i.has(e.num_visa)||i.set(e.num_visa,{id:e.id,root_id:e.root_id,visa:e.visa,id_film_commeaucine:e.id_film_commeaucine,url_fiche_film:e.url_fiche_film,titre:e.titre,titre_sans_accent:e.titre_sans_accent,titre_sans_accent_1:e.titre_sans_accent_1,titre_sans_accent_2:e.titre_sans_accent_2,realisateurs:e.realisateurs,acteurs:e.acteurs,anneeproduction:e.anneeproduction,datedesortie:e.datedesortie,duree:e.duree,genreprincipal:e.genreprincipal,nationalite:e.nationalite,synopsis:e.synopsis,affichette:e.affichette,video_id:e.video_id,video_id_vimeo:e.video_id_vimeo,interdiction:e.interdiction,dateinsertion:e.dateinsertion,show_video:e.show_video,id_cinema:e.id_cinema,status:e.status,type:e.type}),a.push({id_cinema:e.id_cinema,id_bordereau:e.id_bordereau,titre_cotecine:e.titre_cotecine,idfilm_cotecine:e.idfilm_cotecine,num_visa:e.num_visa,version:e.version,relief:e.relief,salle:e.salle,hfr:e.hfr,audio_description:e.audio_description,format_son:e.format_son,malentendants:e.malentendants,id_seance:e.id_seance,date:e.date,heure:e.heure,attributs:e.attributs})})),{movies:Array.from(i.values()),showtimes:a}}n.d(t,{Z:function(){return i}})},31950:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return N}});var i=n(59499),a=n(27812),r=n(50029),o=n(16835),s=n(87794),c=n.n(s),l=n(67294),d=n(25292),_=n(83206),u=n(54956),m=n.n(u),v=n(11086),f=n(27654),p=n(75960),h=(n(795
156),n(56674)),x=n(11163),g=n(66493),b=n(63102),j=n(73012),y=n(42310),Z=n(82989),w=n(22424),C=n(85893);function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e){e.data;var t=(0,v.Z)(),n=((0,x.useRouter)(),(0,g.Z)()),i=(0,l.useState)(!1),s=i[0],u=i[1],F=(0,l.useState)(!1),N=F[0],k=F[1],z=((0,b.Z)(),(0,y.Z)((function(e){return[e.attributs]}))),O=(0,o.Z)(z,1)[0];function E(e){return S.apply(this,arguments)}function S(){return(S=(0,r.Z)(c().mark((function e(t){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O.some((function(e){return e.id_cinema===t}))){e.next=11;break}return e.prev=2,e.next=5,(0,f.Z)("GET","attributs","id_cinema=".concat(t));case 5:null!==(n=e.sent)&&void 0!==n&&n.data&&y.Z.setState((function(e){return{attributs:[].concat((0,a.Z)(e.attributs),(0,a.Z)(n.data.attributs))}})),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}function P(e,t){return K.apply(this,arguments)}function K(){return(K=(0,r.Z)(c().mark((function e(t,n){var i,a,r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(t);case 3:return e.next=5,(0,f.Z)("GET","eventsbycinema","id_cinema=".concat(t));case 5:i=e.sent,a=(0,j.Z)(i.data,n),r=M(M({},a),{},{movies:a.movies.map((function(e){return M(M({},e),{},{cinemaId:t})}))}),o=i.data.find((function(e){return e.event_id===n})),k(o),u(r),e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}return(0,l.useEffect)((function(){function e(){return(e=(0,r.Z)(c().mark((function e(){var n,i,a,r,s,l,d,_,u;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!t.eventcineids){e.next=15;break}if(n=(0,o.Z)(t.eventcineids,2),i=n[0],a=n[1],r=parseInt(a),s=y.Z.getState().listCines,l=s,s&&0!==s.length){e.next=11;break}return e.next=8,(0,f.Z)("GET","cines","");case 8:d=e.sent,l=d.data,y.Z.setState({listCines:l});case 11:_=l.find((function(e){return e.id===r})),u=(null===_||void 0===_?void 0:_.nom_cine_public)||nom_cine_public,y.Z.setState({idCurrentCine:r,nameCurrentCine:u}),P(r,parseInt(i));case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}(),y.Z.setState({spinnerPageChange:!1})}),[t]),(0,l.useEffect)((function(){var e=function(){var e=(0,r.Z)(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,f.Z)("GET","events","");case 3:t=e.sent,n=t.data,y.Z.setState({events:n.data}),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),n?(0,C.jsxs)(_.Z,{title:"Programme ".concat(N.event_name),children:[(0,C.jsxs)("div",{className:m().event_info,children:[N.image&&(0,C.jsx)("img",{src:"".concat("https://storage.googleapis.com/cineville-files-prod/events","/").concat(N.image),alt:N.title||"Event image",onError:function(e){e.target.onerror=null}}),(0,C.jsxs)("div",{className:m().event_text_container,children:[(0,C.jsx)("div",{className:m().title,children:N.title}),(0,C.jsx)("div",{className:m().subtitle,dangerouslySetInnerHTML:{__html:w.Z.sanitize(N.subtitle||"")}}),(0,C.jsx)("div",{className:m().description,dangerouslySetInnerHTML:{__html:w.Z.sanitize(N.description||"")}})]})]}),(0,C.jsx)(p.Z,{title:"",children:(0,C.jsxs)("div",{className:m().prog_event_container,children:[n&&s&&0!==s.movies.length&&s.movies.map((function(e,t){return e?(0,C.jsx)("div",{className:m().film_card_container,children:(0,C.jsx)(Z.Y.Provider,{value:e.cinemaId,children:(0,C.jsx)(h.Z,{film:e,event:!0,eventShowtimes:s.showtimes.filter((function(t){return t.num_visa===parseInt(e.visa,10)})),moviedata:e})},e.id?e.id:t)},e.id):(0,C.jsx)("div",{children:"Pas d'information pour ce film"},t)})),n&&s&&0===s.movies.length&&(0,C.jsxs)("div",{style:{padding:"25px"},children:["Pas d'\xe9v\xe8nements"," ",(0,C.jsx)("b",{children:N.event_name})," programm\xe9s pour le moment..."]})]})})]}):(0,C.jsx)(d.Z,{height:"100vh"})}},14160:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/evenements/[...eventcineids]",function(){return n(31950)}])},30816:function(e){e.exports={modal_overlay:"FilmModal_modal_overlay__OHlj0",modal_content:"FilmModal_modal_content__mRvbc",active:"FilmModal_active___SL0o",modal_background:"FilmModal_modal_background__DVGhW",modal_header:"FilmModal_modal_header__U6qCF",modal_film_title:"FilmModal_modal_film_title__0nLD_",modal_film_genre:"FilmModal_modal_film_genre__szbt_",modal_video_button:"FilmModal_modal_video_button__EBTzv",modal_details_titres:"FilmModal_modal_details_titres__VT9dZ",video_container:"FilmModal_video_container__gvxcv",modal_text:"FilmModal_modal_text__IfHwi",modal_close:"FilmModal_modal_close__7xe_W",modal:"FilmModal_modal__aJDs4",close:"FilmModal_close__6himC"}},38892:function(e){e.exports={modal_overlay:"FilmModalKatorza_modal_overlay__5XvCT",modal_content:"FilmModalKatorza_modal_content__07O7_",active:"FilmModalKatorza_active___I0_1",modal_background:"FilmModalKatorza_modal_background__SVCCK",modal_header:"FilmModalKatorza_modal_header__NrzO5",modal_film_title:"FilmModalKatorza_modal_film_title__XjJXN",modal_film_genre:"FilmModalKatorza_modal_film_genre__9mELq",modal_video_button:"FilmModalKatorza_modal_video_button__FKYEX",modal_details_titres:"FilmModalKatorza_modal_details_titres__qYFse",video_container:"FilmModalKatorza_video_container__V4y_H",modal_text:"FilmModalKatorza_modal_text__hjNtX",modal_close:"FilmModalKatorza_modal_close__QTQQG",modal:"FilmModalKatorza_modal__379Q1",close:"FilmModalKatorza_close__kDs3R"}}
1,74893:function(e){e.exports={container:"MainCommonContainer_container__dUf6j",title:"MainCommonContainer_title__L1owz"}},54956:function(e){e.exports={event_info:"evenements_event_info__Gzc1f",event_text_container:"evenements_event_text_container__0z1up",title:"evenements_title__Yoclt",subtitle:"evenements_subtitle__BwUd2",description:"evenements_description__ziB1_",prog_event_container:"evenements_prog_event_container__l5CNL"}}},function(e){e.O(0,[1538,3206,574,9774,2888,179],(function(){return t=14160,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.