PageSourceSearch

https://ici.tou.tv/_next/static/chunks/pages/evenement-en-direct/[id]-2a6825ecb03d5e51.js

js tou.tv collected 2026-10-02 03:10:44 UTC 16,139 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9806],{70500:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/evenement-en-direct/[id]",function(){return n(66935)}])},62566:function(e,i,n){"use strict";n.d(i,{Z:function(){return f}});var s=n(24246),a=n(28228),t=n(95850),l=n(17668),o=n(27378),c=n(79981),r=n(79620),d=n(78295),g=n(27694),m=n.n(g);function u(e){let{size:i,src:n,title:a,className:l,...g}=e,[u,p]=(0,o.useState)(null);return u||!n?a?(0,s.jsx)(d.Rn,{asNode:"p",children:a}):null:(0,s.jsx)(r.Z,{...g,src:n,config:i===t.h2.Smaller?{xs:{im:{resize:{width:240,height:24}}},md:{im:{resize:{width:360,height:36}}}}:i===t.h2.Bigger?{xs:{im:{resize:{width:240,height:38}}},md:{im:{resize:{width:360,height:56}}}}:{xs:{im:{resize:{width:240,height:32}}},md:{im:{resize:{width:360,height:44}}}},onError:p,imageFit:"contain",className:(0,c.A)(m().logo,i===t.h2.Smaller&&m().smaller,i===t.h2.Bigger&&m().bigger,l),disableShimmer:!0})}var p=n(1306),h=n(5685);function f(e){var i;let{children:n,title:o,logo:c,icon:r,sponsors:d,automation:g,decorative:m,sponsorsLimit:p,cta:f}=e,{spacing:w,mediaQueries:C}=(0,a.useTheme)();return(0,s.jsxs)(_,{hasSponsorLabel:!!(null==d?void 0:d.label),"data-cy":g,children:[(0,s.jsxs)($,{children:[r&&(0,s.jsx)(x,{as:r}),c&&(0,s.jsxs)(v,{id:m?"":l.hg.pageTitle,as:m?"span":"h1",children:[(0,s.jsx)(u,{src:c.url||void 0,alt:c.altText||void 0,size:null!==(i=c.size)&&void 0!==i?i:t.h2.Normal,title:o||void 0,loadingAttr:"eager"}),(0,s.jsx)(h.ZP,{children:o})]}),!c&&(0,s.jsx)(j,{id:m?"":l.hg.pageTitle,asNode:m?"span":"h1",$_css:r&&w[8],$_css2:C.md,$_css3:r&&w[16],children:o})]}),n,d&&(0,s.jsx)(b,{sponsors:d,limit:p}),f&&!d&&f]})}let v=(0,a.default)("h1").withConfig({componentId:"sc-9a10a17a-0"})({}),_=a.default.div.withConfig({componentId:"sc-9a10a17a-1"})(e=>{let{theme:{mediaQueries:i,spacing:n},hasSponsorLabel:s}=e;return{display:"flex",justifyContent:"space-between",alignItems:"center",columnGap:n[48],margin:n.multi(24,0),rowGap:n[24],flexDirection:s?"column":"row",[i.sm]:{marginTop:n[24],marginBottom:n[32],rowGap:n[32],flexDirection:"row"}}}),x=a.default.svg.withConfig({componentId:"sc-9a10a17a-2"})(e=>{let{theme:{mediaQueries:i,colors:n}}=e;return{minWidth:"2rem",minHeight:"2rem",maxWidth:"2rem",maxHeight:"2rem",alignSelf:"baseline",color:n.white,[i.md]:{minWidth:"3rem",minHeight:"3rem",maxWidth:"3rem",maxHeight:"3rem"}}}),$=a.default.div.withConfig({componentId:"sc-9a10a17a-3"})({display:"flex",alignItems:"center"}),b=(0,a.default)(p.Z).withConfig({componentId:"sc-9a10a17a-4"})({minWidth:"fit-content",alignSelf:"baseline"});var j=(0,a.default)(d.Rn).withConfig({componentId:"sc-9a10a17a-5"})(e=>({marginLeft:e.$_css,[e.$_css2]:{marginLeft:e.$_css3}}))},8492:function(e,i,n){"use strict";n.d(i,{X:function(){return o}});var s=n(24246),a=n(28228),t=n(9617),l=n.n(t);let o=e=>{let{backgroundUrl:i,children:n}=e;return i?(0,s.jsx)(c,{backgroundUrl:i,children:n}):(0,s.jsx)(s.Fragment,{children:n})},c=a.default.div.withConfig({componentId:"sc-1c0dae00-0"})(e=>{let{backgroundUrl:i,theme:n}=e;return{backgroundImage:"url('".concat(i,"')"),backgroundPosition:"left top",backgroundRepeat:"repeat-x",backgroundSize:"auto 180px",[".".concat(l().parentLink)]:{marginTop:n.spacing[24]},[n.mediaQueries.md]:{[".".concat(l().parentLink)]:{marginTop:n.spacing[32]}},[n.mediaQueries.lg]:{backgroundSize:"100% auto"}}})},66935:function(e,i,n){"use strict";n.r(i),n.d(i,{__N_SSP:function(){return eS},default:function(){return ez}});var s=n(24246),a=n(28228),t=n(66899),l=n(90614),o=n(1585),c=n(86677),r=n(82856),d=n(48059);n(83484),n(72358);var g=n(27378),m=n(67673),u=n(58156),p=n(25130),h=n(21859),f=n(74433),v=n(73905),_=n(40209),x=n(81442),$=n(32748),b=n(9343),j=n(62566),w=n(50220),C=n(78436),I=n(49622),T=n(74144),y=n(97787),k=n(78125),Z=n(60473),D=n(61843),A=n(65508),E=n(7811),L=n(16274),N=n(5685),S=n(22689),z=n.n(S),Q=n(3257),P=n(78295),W=n(43673),F=n(88594);let R=(0,y.G3)();function V(e){let{title:i,a11yTitle:n,duration:t,rating:l,mediaPlaybackStatus:o,onClick:c,loading:r,infoTitle:d,manageInfoTitlePipe:g,metricsData:m,...u}=e,p=(0,a.useTheme)(),h=(0,k.fY)(o),f=(0,C.He)(c,m),v=(0,k.IP)({airDate:(null==o?void 0:o.seekTimeInSeconds)?void 0:d,duration:null==t?void 0:t.a11yTime,isAutoplay:!0,mediaPlaybackStatus:o,rating:l?(0,D.hN)(l):void 0,title:n,videoDescriptionAvailable:u.videoDescriptionAvailable,closedCaptionAvailable:u.closedCaptionAvailable}),_=!!d||!!t||u.videoDescriptionAvailable||u.closedCaptionAvailable||l,x=!!d||!!t;return(0,s.jsxs)(ee,{isClickable:!!c,title:v,...u,$_css10:p.spacing[8],$_css11:p.mediaQueries.md,$_css12:p.spacing[16],children:[c&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ei,{onClick:f,"aria-label":v,title:v,children:(0,s.jsxs)(N.ZP,{children:[i," ",(0,Z.t)("(start or resume video)")]})}),(0,s.jsx)(K,{"aria-hidden":!0,sizeVariant:"large",screenReaderMessage:v,href:void 0,onClick:void 0,"data-cy":w.f3.playBtn,$_css:p.mediaQueries.md,children:r?(0,s.jsx)(E.Z,{}):void 0})]}),!r&&(0,s.jsxs)(B,{$_css7:p.spacing[4],$_css8:p.mediaQueries.md,$_css9:p.spacing[8],children:[(0,s.jsx)(U,{"aria-hidden":!0,asNode:"h2",children:i}),(null==o?void 0:o.seekTimePercentage)&&!o.completed?(0,s.jsx)(H,{$_css4:p.spacing[8],children:(0,s.jsxs)(X,{$_css2:p.spacing[8],$_css3:o.seekTimePercentage+"%",children:[(0,s.jsx)(Y,{"data-cy":w.f3.progressionBar}),h>0&&(0,s.jsxs)(Q.l5,{weight:"light",color:"gray-b",children:[(0,Z.t)("Time remaining")," –"," ",(0,s.jsx)(W.Z,{time:h,locale:R,format:"remainingTime"})]})]})}):(0,s.jsx)(s.Fragment,{children:_&&(0,s.jsxs)(G,{$_css6:p.spacing[8],children:[x&&(0,s.jsx)(Q.l5,{"aria-hidden":!0,weight:"light",color:"gray-b",children:g?(0,s.jsx)(q,{children:d}):(0,s.jsxs)(s.Fragment,{children:[d,!!(d&&t)&&(0,s.jsx)(I.E,{margin:8}),t&&(0,s.jsx)(W.Z,{formattedTime:t})]})}),(0,s.jsxs)(M,{"aria-hidden":!0,$_css5:p.spacing[8],children:[l&&(0,s.jsx)(D.ZP,{rating:l,variant:"large"}),(0,s.jsx)(F.Z,{videoDescriptionAvailable:u.videoDescriptionAvailable,closedCaptionAvailable:u.closedCaptionAvailable,size:20})]})]})})]})]})}let J=a.default.div.withConfig({componentId:"sc-29499b53-0"})({display:"flex"});var B=(0,a.default)(J).withConfig({componentId:"sc-29499b53-1"})(e=>({flexDirection:"column",gap:e.$_css7,flex:1,[e.$_css8]:{gap:e.$_css9}})),G=(0,a.default)(J).withConfig({componentId:"sc-29499b53-2"})(e=>({flexWrap:"wrap",gap:e.$_css6,alignItems:"center"})),M=(0,a.default)(J).withConfig({componentId:"sc-29499b53-3"})(e=>({gap:e.$_css5})),H=(0,a.default)(J).withConfig({componentId:"sc-29499b53-4"})(e=>({flexWrap:"wrap",gap:e.$_css4})),X=(0,a.default)(J).withConfig({componentId:"sc-29499b53-5"})(e=>({alignItems:"center",flexWrap:"wrap",gap:e.$_css2,"--progress":e.$_css3}));let O=(0,a.default)((0,T.z)(z().title3)("span")).withConfig({componentId:"sc-29499b53-6"})(()=>[I.O]);function U(e){let{children:i,...n}
1=e,a="string"==typeof i?i.split("|"):[];return(0,s.jsx)(P.y$,{...n,children:a.map((e,i)=>(0,s.jsxs)(g.Fragment,{children:[e.trim(),a.length>i+1&&(0,s.jsx)(O,{weight:"regular",margin:8,children:"|"})]},e))})}function q(e){let{children:i}=e,n="string"==typeof i?i.split("|"):[];return(0,s.jsx)(s.Fragment,{children:n.map((e,i)=>(0,s.jsxs)(g.Fragment,{children:[e.trim(),n.length>i+1&&(0,s.jsx)(I.E,{margin:8})]},e))})}var K=(0,a.default)(A.Z).withConfig({componentId:"sc-29499b53-7"})(e=>({alignSelf:"flex-start",pointerEvents:"none",position:"relative",marginTop:4,[e.$_css]:{marginTop:6}})),Y=(0,a.default)(L.Z).withConfig({componentId:"sc-29499b53-8"})({display:"inline-block",width:180,height:6,borderRadius:3,overflow:"hidden"}),ee=(0,a.default)(A.b).withConfig({componentId:"sc-29499b53-9"})(e=>({gap:e.$_css10,[e.$_css11]:{gap:e.$_css12}})),ei=(0,a.default)("button").withConfig({componentId:"sc-29499b53-10"})({position:"absolute",width:"100%",height:"100%"}),en=n(8492),es=n(66486),ea=n(65107),et=n(98989),el=n(48480),eo=n(4693),ec=n(75373),er=n(32802),ed=n(55082),eg=n(22975),em=n(76688),eu=n(94749),ep=n(16441),eh=n(21066),ef=n(36232),ev=n(17668),e_=n(69059),ex=n(93722),e$=n(35067),eb=n(3672);function ej(e){var i,n,t,o,c,r,d;let w,{pageData:C,mutate:I,premiumButtonColor:T,cardImageConfig:y}=e,{event:D,images:A,title:E,sponsors:L,recommendations:N}=C,S=(0,a.useTheme)(),{setTrigger:z,playerState:W}=(0,el.n)(),{play:F,showPlayBlockerModal:R}=(0,eo.ww)(),{getViewingStatus:J}=(0,ec.Z)(),{isTouchDevice:B}=(0,eg.Z)(),G=(0,er.Z)(),M=(0,g.useRef)(null),[H,X]=(0,g.useState)(0),O=(0,e_.Ju)(D.airDate,D.isVodEnabled,D.feedType),U=(0,em.Z)(O,D.badge),q=(0,ed.Z)({autoRedirect:!0});(0,g.useEffect)(()=>{if(O!==eh.J.LiveInLessThan24h&&O!==eh.J.Imminent)return X(0);let e=setInterval(()=>{X((0,e_.u5)(new Date,D.airDate,"seconds"))},1e3);return()=>clearInterval(e)},[D.airDate,O]),(0,g.useEffect)(()=>{"none"===W.playbackType&&I()},[W.playbackType,I]);let K=J(D.permission),Y=O===eh.J.LiveInLessThan24h||O===eh.J.Imminent||O===eh.J.Live||D.isVodEnabled,ee=(O===eh.J.Live||D.isVodEnabled)&&K===ep.pG.Unlocked,ei=O!==eh.J.Live&&K===ep.pG.Unlocked&&!D.isVodEnabled,et=!(O===eh.J.Live||O===eh.J.Ended);return B?w=(0,s.jsx)(_.Z,{iconPosition:"right",backgroundColor:T,href:null!=q?q:G,children:(0,Z.t)("Watch on the app")}):ee?w=(0,s.jsx)(V,{"data-cy":ef.kd.playNow,title:D.isVodEnabled?(0,Z.t)("Watch"):(0,ex.o)("show","cta_watch_now"),onClick:()=>{let e=D.key||(0,eb.yI)(D.url);z(M.current),F({...D,liveId:e})},videoDescriptionAvailable:D.videoDescriptionAvailable,closedCaptionAvailable:D.closedCaptionAvailable,infoTitle:D.isVodEnabled?D.callToActionTitle:null,a11yTitle:"".concat(D.isVodEnabled?"":(0,Z.t)("Live")+","," ").concat(D.title),manageInfoTitlePipe:!0}):K===ep.pG.LockedMember?w=(0,s.jsx)(u.Z,{action:"login",showDefaultIcon:!0,children:(0,ex.o)("account_login_cta","to_watch_short")}):K===ep.pG.LockedPremium&&(w=(0,s.jsx)(_.Z,{"data-cy":ef.kd.premium,icon:m.QM6,onClick:()=>R({contentType:"premium",catalog:D.permission.catalog}),backgroundColor:T,children:(0,e$.$)({messageKey:"cta_get",catalog:D.permission.catalog})})),(0,s.jsxs)(en.X,{backgroundUrl:null==A?void 0:null===(i=A.background)||void 0===i?void 0:i.url,children:[E&&(0,s.jsx)(l.Z,{children:(0,s.jsx)(j.Z,{title:E,sponsors:L,logo:null==A?void 0:A.logo,decorative:!0})}),(0,s.jsxs)(b.rj,{children:[(0,s.jsx)(ek,{$_css:S.spacing.multi(20,0),$_css2:S.mediaQueries.md,$_css3:S.spacing.multi(48,0),$_css4:S.mediaQueries.lg,$_css5:S.mediaQueries.xl,children:(0,s.jsx)(x.C,{aspectRatio:16/9,children:(0,s.jsx)(x.x,{"data-cy":ef.kd.image,src:null===(t=D.images)||void 0===t?void 0:null===(n=t.card)||void 0===n?void 0:n.url,alt:null!==(d=null===(c=D.images)||void 0===c?void 0:null===(o=c.card)||void 0===o?void 0:o.altText)&&void 0!==d?d:"",ratio:16/9,config:y})})}),(0,s.jsxs)(eE,{$_css26:S.mediaQueries.md,$_css27:S.spacing[48],$_css28:S.mediaQueries.lg,children:[U&&(0,s.jsxs)(eZ,{"aria-live":"polite",$_css6:S.spacing[16],$_css7:(0,eu.es)(20),$_css8:S.spacing[8],$_css9:S.mediaQueries.md,$_css10:(0,eu.es)(24),$_css11:S.spacing[16],children:["live"===U&&(0,s.jsx)(v.W,{variant:"large","data-cy-badge":ef.kd.live}),"editorial"===U&&(0,s.jsx)(h.Z,{label:(null===(r=D.badge)||void 0===r?void 0:r.message)||void 0,variant:"large"}),"imminent"===U&&(0,s.jsx)(f.C,{variant:"large",showIcon:!0}),!D.isVodEnabled&&D.airDate&&(0,s.jsx)(Q.l5,{weight:"light",children:(0,e_.cx)(D.airDate)})]}),(0,s.jsx)(P.Rn,{"data-cy":ef.kd.title,asNode:"h1",id:ev.hg.pageTitle,children:D.title}),(0,s.jsx)(eC,{weight:"light","data-cy":ef.kd.cardDescription,$_css12:S.spacing[16],children:D.description}),(0,s.jsxs)(eD,{ref:M,$_css16:S.spacing[32],$_css17:S.mediaQueries.md,$_css18:S.mediaQueries.xl,$_css19:S.mediaQueries.md,$_css20:S.spacing[48],children:[Y&&w,Y&&ei&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ew,{children:(0,Z.t)("Starts in")}),(0,s.jsx)(eI,{asNode:"span",role:"timer","data-cy":ef.kd.countdown,$_css13:S.spacing[4],children:(0,e_.fA)(H)}),(0,s.jsx)(eT,{videoDescriptionAvailable:D.videoDescriptionAvailable,closedCaptionAvailable:D.closedCaptionAvailable,$_css14:S.spacing[8]})]}),!Y&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P.y$,{"data-cy":ef.kd.countdown,asNode:"span",children:(0,e_.cx)(D.airDate)}),(0,s.jsx)(ey,{videoDescriptionAvailable:D.videoDescriptionAvailable,closedCaptionAvailable:D.closedCaptionAvailable,$_css15:S.spacing[8]})]})]}),(0,s.jsxs)(eA,{$_css21:S.spacing[24],$_css22:S.spacing.multi(20,0),$_
1css23:S.mediaQueries.md,$_css24:S.spacing[32],$_css25:S.spacing.multi(40,0),children:[et&&(0,s.jsx)(p.Z,{title:null==D?void 0:D.title,description:null==D?void 0:D.description,location:(null==D?void 0:D.url)?"https://".concat((0,k.VA)(),"/").concat(null==D?void 0:D.url):null,startDate:null==D?void 0:D.airDate}),(0,s.jsx)(es.Z,{})]})]})]}),(null==N?void 0:N.items)&&(0,s.jsx)(ea.ZP,{lineup:N,config:(0,ea.xR)(N.cardImageType),ratio:(0,ea.y7)(N.cardImageType),children:N.items.map(e=>{var i;return(0,s.jsx)($.Z,{item:e,automation:ef.kd.card,ratio:(0,ea.y7)(null==N?void 0:N.cardImageType),href:null!==(i=e.url)&&void 0!==i?i:"/",cardType:$.S.CardLive},e.key)})})]})}var ew=(0,a.default)(et.Fn).withConfig({componentId:"sc-94d286e4-0"})({textTransform:"uppercase"}),eC=(0,a.default)(Q.OA).withConfig({componentId:"sc-94d286e4-1"})(e=>({marginTop:e.$_css12})),eI=(0,a.default)(P.y$).withConfig({componentId:"sc-94d286e4-2"})(e=>({marginTop:e.$_css13})),eT=(0,a.default)(F.Z).withConfig({componentId:"sc-94d286e4-3"})(e=>({marginTop:e.$_css14})),ey=(0,a.default)(F.Z).withConfig({componentId:"sc-94d286e4-4"})(e=>({marginTop:e.$_css15})),ek=(0,a.default)("div").withConfig({componentId:"sc-94d286e4-5"})(e=>({gridColumn:"span 8",margin:e.$_css,[e.$_css2]:{gridColumn:"span 6",margin:e.$_css3,order:1},[e.$_css4]:{gridColumn:"10 / span 8"},[e.$_css5]:{gridColumn:"10 / span 12"}})),eZ=(0,a.default)("div").withConfig({componentId:"sc-94d286e4-6"})(e=>({display:"flex",gap:e.$_css6,alignItems:"center",height:e.$_css7,marginBottom:e.$_css8,[e.$_css9]:{height:e.$_css10,marginBottom:e.$_css11}})),eD=(0,a.default)("div").withConfig({componentId:"sc-94d286e4-7"})(e=>({height:74,marginTop:e.$_css16,[e.$_css17]:{height:80},[e.$_css18]:{height:82},[e.$_css19]:{marginTop:e.$_css20}})),eA=(0,a.default)("div").withConfig({componentId:"sc-94d286e4-8"})(e=>({display:"flex",gap:e.$_css21,margin:e.$_css22,[e.$_css23]:{gap:e.$_css24,margin:e.$_css25}})),eE=(0,a.default)("div").withConfig({componentId:"sc-94d286e4-9"})(e=>({gridColumn:"span 8",[e.$_css26]:{gridColumn:"span 6",marginTop:e.$_css27},[e.$_css28]:{gridColumn:"2 / span 7"}})),eL=n(65861),eN=n(59502),eS=!0;function ez(e){let{data:i}=e,{liveEventData:n,isLoading:a,mutate:o}=function(e){let i=(0,c.useRouter)(),{data:n,...s}=(0,r.ZP)(["getLiveEvent",i.query.id],e=>{let[,i]=e;return(0,d.o1)(i)},{fallbackData:e||void 0});return{liveEventData:n,...s}}(null!=i?i:void 0),{title:g,htmlMeta:m}=function(e){var i,n;let{liveEventData:s,defaultTitle:a}=e,t=null==s?void 0:s.event;return{title:[null==t?void 0:t.title,a].filter(Boolean).join(" | "),htmlMeta:{"og:image":null==t?void 0:null===(n=t.images)||void 0===n?void 0:null===(i=n.card)||void 0===i?void 0:i.url,...null==s?void 0:s.htmlMeta,robots:"noindex"}}}({liveEventData:n,defaultTitle:"\xc9v\xe9nement en direct"});return(0,s.jsxs)(eN.Z,{pageId:eL.u.LiveEvent,children:[(0,s.jsx)(t.Z,{title:g,htmlMeta:m}),a&&!(null==n?void 0:n.event)&&(0,s.jsx)(l.Z,{children:(0,s.jsx)(eP,{children:(0,s.jsx)(eQ,{page:!0})})}),(null==n?void 0:n.event)&&(0,s.jsx)(ej,{pageData:n,mutate:o,premiumButtonColor:"brandDarker",cardImageConfig:{xs:{im:{resize:700}},sm:{im:{resize:600}},lg:{im:{resize:1100}}}})]})}var eQ=(0,a.default)(o.Z).withConfig({componentId:"sc-eb9a3a2a-0"})({justifySelf:"center",margin:"auto"}),eP=(0,a.default)("div").withConfig({componentId:"sc-eb9a3a2a-1"})({marginTop:80,display:"flex",height:"100%"})},27694:function(e){e.exports={minMedium:"screen and (min-width: 1024px)",minXLarge:"screen and (min-width: 1920px)",logo:"pageTitle_logo__YNH25",smaller:"pageTitle_smaller__fsW7V",bigger:"pageTitle_bigger__i41NK"}},9617:function(e){e.exports={parentLink:"parentLink_parentLink__rqhDo"}}},function(e){e.O(0,[233,421,5945,2888,9774,179],function(){return e(e.s=70500)}),_N_E=e.O()}]);

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.