PageSourceSearch

https://static-oaos.rtbf.be/16838505719/_next/static/chunks/4611.b7e9f2b3f26f9ed8.js

js rtbf.be collected 2026-10-01 08:44:35 UTC 12,062 bytes, 87 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4611],{4611:(e,t,r)=>{r.r(t),r.d(t,{WidgetAuvioMultimediaSet:()=>m,widgetAuvioMultimediaSetMapper:()=>f.N});var i=r(54568),a=r(93402),l=r(20139),o=r(63444),n=r(47227),s=r(87054),d=r(28005),c=r(51035),u=r(6918),h=r(68778);let m=({configuration:e,content:t,id:r,index:m=0,source:f=o.W.EDITORIAL,...g})=>{let x=l.bO.WIDGET,b=(0,s._S)(x),v=d.a.MULTI_MEDIA_SET,w={...(0,n.T)(g,(0,s.xU)().entity(x),(0,s.xU)().contextRecord({widget_id:r,widget_order:m?.toString(),widget_title:"",widget_source:f,widget_type:v}),b)};return(0,i.jsx)(c.f,{padding:!0,className:"bg-black","data-widget-id":r,children:(0,i.jsx)(c.m,{padding:!0,spacing:!0,children:(e?.blocks||[]).map((e,l)=>{if(!t?.[l]||t?.[l]?.length===0)return null;let o=e?.layout||a.f6,n={...w,...(0,s.xU)().contextRecord({widget_id:r,widget_order:l?.toString(),widget_title:e.title,widget_source:f,widget_layout:o,widget_type:v})},d="string"==typeof e.row?parseInt(e.row):e.row;return(0,i.jsx)("div",{...n,children:(0,i.jsx)(u.AuvioCardsGrid,{type:h.d.MULTIMEDIA_SET,content:t?.[l]||[],title:e.title,subtitle:e.subtitle,rows:d,extraRows:parseInt(e.extra),archive:e.archive})},`${l}-${e.title}`)})})})};var f=r(98269)},6918:(e,t,r)=>{r.d(t,{AuvioCardsGrid:()=>E});var i=r(54568),a=r(75479),l=r(20139),o=r(87054),n=r(60327),s=r(98042),d=r(7620),c=r(90465),u=r(41414),h=r(47227),m=r(18328),f=r.n(m),g=r(42886),x=r(60740),b=r(48750),v=r(66993),w=r(80605),p=r(24242);let y=({id:e,index:t=0,href:r,imageUrl:d,imageAlt:m,category:y,title:T,rating:j,subtitle:M="",publishedFrom:N,publishedTo:E,scheduledFrom:$,scheduledTo:D,mediaDuration:I,isRecommended:_=!1,imagePriority:A=!1,onClick:k,...U})=>{let S,H=(0,u.p)(),P=(0,o._S)(l.bO.CARD),R=void 0!==$,G=!R,C=new Date(R?$:N),L=new Date(R?D:E),O=new Date,F=((S=(0,b.a)(C,void 0)).setTime(S.getTime()+I*x.Cg),S),W=R&&C.getTime()>O.getTime()&&L.getTime()>O.getTime(),z=Math.round((O.getTime()-C.getTime())/(60*I*1e3)*100),Y=Math.round((F.getTime()-O.getTime())/6e4);return(0,i.jsxs)(p.Ox,{className:f()(`
2        group
3        relative
4        block
5        h-card-auvio
6        cursor-pointer
7        overflow-hidden
8        rounded
9        bg-auvio-gray
10        shadow-base
11        transition-all
12        duration-300
13        ease-in-out
14        hover:shadow-base-hover
15        ${(0,s.h)({focusWithin:!0})}
16      `),replaceClassNames:!0,...(0,h.T)(U,P),children:[(0,i.jsxs)("div",{className:f()(`
17          relative
18          h-card-auvio-img
19          transition-all
20          duration-300
21          ease-in-out
22          group-focus-within:h-card-auvio-img-hover
23          group-hover:h-card-auvio-img-hover
24          group-focus:h-card-auvio-img-hover
25        `),children:[(0,i.jsx)(g._,{..."string"==typeof d?{src:d}:{srcSet:d},alt:m,sizes:"275px",layout:g.Y.COVER,priority:A}),!G&&(0,i.jsx)("span",{className:f()(`
26              absolute
27              top-0
28              left-0
29              w-auto
30              px-8
31              py-4
32              ${R&&W&&"bg-auvio-orange"}
33              ${R&&!W&&"bg-auvio-redish"}
34              text-12
35              font-normal
36              text-white
37            `),children:W?"Prochain direct":"En direct"}),(0,i.jsx)(n.I,{ariaHidden:!0,iconName:"PlayIcon",className:"absolute bottom-10 left-16 inline-block size-20 filter-(--filter-white)"})]}),(0,i.jsxs)("div",{className:"grow bg-auvio-gray",children:[R&&!W&&(0,i.jsx)("div",{className:`${R&&!W?"bg-auvio-progress-gray":"bg-transparent"}`,children:(0,i.jsx)("div",{className:f()(`
38                ${!R&&"bg-transparent"}
39                ${R&&"border-auvio-redish"}
40                border-t-2
41              `),style:{width:z+"%"}})}),(0,i.jsxs)("div",{className:"px-20 py-16",children:[(0,i.jsx)("span",{className:f()(`
42              mb-8
43              inline-block
44              w-full
45              truncate
46              text-12
47              font-semibold
48              ${G?"text-auvio-yellow":W?"text-auvio-orange":"text-auvio-redish"}
49            `),children:W?(0,c.Zj)(C):y}),(0,i.jsx)("h3",{className:"mb-4 inline-block w-full truncate card-title text-white",children:(0,i.jsx)(a.N,{prefetch:!1,href:r,className:"stretched-link outline-hidden",onClick:()=>{k&&k({id:e,index:t})},...(0,o.xU)().clickRecord({eventEntity:l.bO.CARD}),children:T})}),(0,i.jsx)("p",{className:"mb-4 inline-block w-full truncate text-12 text-auvio-lightgray",children:M}),H?(0,i.jsxs)("div",{className:"flex justify-between card-meta opacity-0 transition-all duration-300 ease-in-out group-focus-within:opacity-100 group-hover:opacity-100 group-focus:opacity-100",children:[(0,i.jsx)("time",{dateTime:(0,v.x)(C),className:f()(`
50                  mb-4
51                  ${W&&"text-auvio-orange"}
52                  ${R&&"text-auvio-redish uppercase"}
53                  ${!W&&!R&&"text-auvio-yellow"}
54                `),children:R&&!W?"En direct":G?(0,c.oT)(C,L):(0,c.yf)(C)}),(0,i.jsx)("time",{dateTime:(0,w.Z)({minutes:I}
54).replace("P0Y0M0DT","PT"),className:"mb-4 text-white",children:R&&!W?`${(0,c.Hv)(Y)} restantes`:(0,c.Hv)(I)})]}):null]})]})]})};var T=r(1887),j=r(68778);let M=({href:e=null,label:t="",...r})=>null===e||""===t?null:(0,i.jsxs)(a.N,{prefetch:!1,className:(0,j.b)(!1),href:e,target:T.i.BLANK,rel:"noreferrer",...(0,h.T)(r),children:[t,(0,i.jsx)(n.I,{iconName:"ChevronRightIcon",className:"ml-4 inline-block size-16"})]}),N=({label:e="",href:t=null,...r})=>{let l=(0,i.jsxs)(i.Fragment,{children:[e,(0,i.jsx)(n.I,{ariaHidden:!0,iconName:"ChevronDownIcon",className:"ml-4 inline-block size-16 filter-(--filter-white)"})]});return null===t?(0,i.jsx)("button",{className:(0,j.b)(!1),...(0,h.T)(r),children:l}):(0,i.jsx)(a.N,{prefetch:!1,className:(0,j.b)(!1),href:t,...(0,h.T)(r),children:l})},E=({title:e,subtitle:t,content:r=[],itemPerRow:c=4,rows:u=0,extraRows:h=0,archive:m,type:f=j.d.DEFAULT,moreLabel:g="",moreHref:x})=>{let b=(0,d.useId)(),v="https://auvio.rtbf.be/",w=Math.min(20,(u+h)*c),p=f===j.d.MULTIMEDIA_SET?u*c:r.length,[T,E]=(0,d.useState)(p),$=g||"Plus",D=T>=w,I=()=>{E(T+h*c)},_=l.bO.CARD;return(0,i.jsxs)("section",{className:"bg-black","aria-labelledby":b,children:[(0,i.jsx)("div",{className:"flex items-center py-8",children:(0,i.jsxs)("div",{className:"relative mb-8 flex w-full flex-col py-8 md:flex-row md:justify-between",children:[(0,i.jsxs)("h2",{id:b,className:"order-2 self-start font-Montserrat default-h2 text-white before:absolute before:bottom-0 before:left-0 before:block before:h-2 before:w-16 before:bg-auvio-yellow md:order-1",children:[e,t?.length>0&&(0,i.jsx)("div",{className:"text-18 font-normal text-auvio-lightgray",children:t})]}),(0,i.jsx)("div",{className:"order-1 mb-16 self-center md:order-2 md:mb-0",children:(0,i.jsx)(a.N,{prefetch:!1,href:v,className:`inline-block ${(0,s.h)({variant:s.i.WHITE})}`,...(0,o.xU)().clickRecord({area:"link",labelArea:v,eventEntity:l.bO.NAVIGATION}),children:(0,i.jsx)(n.I,{iconName:"AuvioIcon",ariaLabel:"Auvio",className:"h-24"})})})]})}),(0,i.jsx)("div",{className:"grid grid-cols-2 gap-16 md:grid-cols-4 md:gap-20 lg:gap-24",children:r.slice(0,f===j.d.MULTIMEDIA_SET?Math.min(w,T):T).map((e,t)=>{let r={...(0,o.xU)().entity(_),...(0,o.xU)().contextRecord({card_order:t.toString(),card_id:e.id?.toString(),card_type:e.type})};return(0,i.jsx)(y,{id:e.id,index:t,category:e.program?.label,title:e.title,rating:e.rating,publishedFrom:e.publishedFrom,publishedTo:e.publishedTo,scheduledFrom:e.scheduledFrom,scheduledTo:e.scheduledTo,imageUrl:e.image?.illustration,imageAlt:e.title,mediaDuration:Math.round(e.duration/60),href:e?.seo?.canonical||e?.href,isRecommended:!1,subtitle:e.subtitle,...r},`auvio_card_${e.id}_${t}`)}).filter(Boolean)}),(0,i.jsx)("div",{className:`flex w-full justify-center py-20 ${f===j.d.DEFAULT?"":"hidden"}`,onClick:I,children:(0,i.jsx)(N,{href:x,label:$,...(0,o.xU)().clickRecord({area:"button",labelArea:$,eventEntity:l.bO.WIDGET})})}),(0,i.jsx)("div",{className:`flex w-full justify-center py-20 ${f===j.d.MULTIMEDIA_SET?"":"hidden"}`,onClick:I,...(0,o.xU)().clickRecord({area:"button",labelArea:D?m?.text:$,eventEntity:l.bO.WIDGET}),children:D?(0,i.jsx)(M,{href:m?.url,label:m?.text}):(0,i.jsx)(N,{label:$})})]})}},24242:(e,t,r)=>{r.d(t,{Ox:()=>m,bT:()=>h,cU:()=>c,zH:()=>u});var i,a=r(54568),l=r(47227),o=r(18328),n=r.n(o),s=r(94328),d=r(98042),c=((i={}).DIV="div",i.ARTICLE="article",i);let u=()=>n()("group overflow-hidden"),h=()=>n()("duration-1000 ease-zooming motion-safe:group-hover:scale-110"),m=({as:e="div",children:t,marginTop:r,marginRight:i,marginBottom:o,marginLeft:c,fullWidth:h=!1,allowOverflow:m=!1,className:f,shadow:g=!0,replaceClassNames:x=!1,...b})=>{let v=x?f:n()(`
55    ${h?"w-full":"flex w-card-article flex-col bg-card-light dark:bg-card-dark"}
56    ${f}
57    ${g&&n()(`
58    shadow-base
59    transition-shadow
60    duration-1000
61    hover:shadow-base-hover
62    dark:shadow-invert
63  `)}
64    ${u()}
65    ${(0,s.jp)(r,i,o,c)}
66    ${!m&&"overflow-hidden"}
67    group
68    rounded
69    border-transparent
70    ${(0,d.h)({focusWithin:!0})}
71  `);return(0,a.jsx)(e,{className:v,...(0,l.T)(b),children:t})}},41414:(e,t,r)=>{r.d(t,{p:()=>a});var i=r(7620);function a(){let[e,t]=(0,i.useState)(()=>!1);return(0,i.useEffect)(function(){let e=!1;return(async()=>{await Promise.resolve(),e||t(!0)})(),()=>{e=!0}},[]),e}},42886:(e,t,r)=>{r.d(t,{Y:()=>a.YJ,_:()=>i._});var i=r(10735),a=r(70871)},68778:(e,t,r)=>{r.d(t,{b:()=>s,d:()=>n});var i,a=r(18328),l=r.n(a),o=r(98042),n=((i={}).DEFAULT="DEFAULT",i.MULTIMEDIA_SET="MULTIMEDIA_SET",i);let s=e=>l()(`
72    ${e&&"cursor-not-allowed opacity-30"}
73    flex
74    cursor-pointer
75    items-center
76    border
77    border-auvio-gray
78    px-16
79    py-4
80    text-14
81    font-normal
82    text-white
83    hover:border-auvio-yellow
84    focus:ring-2
85    focus:ring-auvio-yellow
86    ${(0,o.h)({variant:o.i.WHITE})}
87  `)},80605:(e,t,r)=>{r.d(t,{Z:()=>i});function i(e){let{years:t=0,months:r=0,days:i=0,hours:a=0,minutes:l=0,seconds:o=0}=e;return`P${t}Y${r}M${i}DT${a}H${l}M${o}S`}},90465:(e,t,r)=>{r.d(t,{B0:()=>P,F$:()=>H,Gg:()=>_,Hv:()=>U,JC:()=>N,Ku:()=>S,NE:()=>p,Vv:()=>j,Yq:()=>T,Zj:()=>A,Zr:()=>D,ef:()=>E,im:()=>M,mE:()=>y,nz:()=>w,oT:()=>k,yf:()=>I});var i=r(56887),a=r(6712),l=r(14936),o=r(74054),n=r(60100),s=r(32403),d=r(39104),c=r(45892),u=r(89794),h=r(7360),m=r(67989),f=r(96572),g=r(48069),x=r(41224);let b="dd MMMM yyyy",v="dd MMM yyyy '\xe0' HH:mm",w="yyyy-MM-dd",p="dd/MM/yyyy '\xe0' HH:mm";function y(e){return void 0!==e.day}let T=(e,t)=>
87{let r=new Date(e);if(!e)return;let a=(0,i.GP)(r,t?.withTime?v:b,{locale:x.fr});return t?.withDay?{date:a,day:(0,i.GP)(r,"EEEE",{locale:x.fr})}:a},j=e=>{let t=new Date(e);return(0,i.GP)(t,"MMMM",{locale:x.fr})},M=e=>(0,i.GP)(e,"dd"),N=e=>{let t=new Date(e);return(0,i.GP)(t,"HH:mm",{locale:x.fr})},E=e=>{let t;return(0,a.f)(e)&&(t=(0,l.c)(e)?`Publi\xe9 il y a ${(0,o.k)(e,new Date,{locale:x.fr})}`:`Publi\xe9 le ${(0,i.GP)(e,"dd MMMM yyyy '\xe0' HH:mm",{locale:x.fr})}`),t},$=(e,t)=>{let r,a=Math.abs(Math.round((e.getTime()-Date.now())/864e5));return 0===a&&(r=`il y a ${(0,o.k)(e,new Date,{locale:x.fr})}`),1===a&&(r=(0,n.o)(e,new Date,{locale:x.fr})),a>1&&(r=(0,i.GP)(e,t,{locale:x.fr})),r},D=(e,t)=>{let r="-",i=b;return t?.withTime&&(i=v),(0,a.f)(e)&&(r=$(e,i)),(0,a.f)(t?.majorUpdate)&&(0,s.d)(t?.majorUpdate,e)&&(r=`${r} - mise \xe0 jour ${$(t?.majorUpdate,i)}`),r},I=e=>(0,i.GP)(e,"dd.MM.yy",{locale:x.fr}),_=e=>(0,i.GP)(e,"HH'h'mm",{locale:x.fr}),A=e=>(0,l.c)(e)?`Aujourd'hui \xe0 ${_(e)}`:(0,d.e)(e)?`Demain \xe0 ${_(e)}`:`Le ${T(e.toISOString(),{withTime:!0})}`,k=(e,t)=>{let r=new Date,i=(0,c.c)(t,r);if(i<=7)if(!(i<=1))return"Reste "+i+" jours";else{let e=(0,u.M)(t,r);return e<=1?"Reste "+(0,h.o)(t,r)+" minutes":"Reste "+e+" heures"}return I(e)},U=e=>{let t="";return e>=60&&(t+=Math.floor(e/60)+" h "),e%60&&(t+=e%60+" min"),t},S=e=>`${Math.floor(e/60)||1} min`,H=e=>{let t=new Date(e);return(0,l.c)(t)?"Aujourd.":(0,m.r)(t,(0,f.e)(new Date,1))?"Hier":(0,m.r)(t,(0,g.f)(new Date,1))?"Demain":(0,i.GP)(t,"EEEE",{locale:x.fr})},P=e=>{let t=new Date(e);return(0,i.GP)(t,"MMM",{locale:x.fr})}}}]);

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.