1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2598,8077],{2598:(e,t,r)=>{r.r(t),r.d(t,{HotTopicModeType:()=>a.y,WidgetHotTopic:()=>g,widgetHotTopicMapper:()=>v.W});var a=r(45716),l=r(54568),i=r(93402),n=r(20139),s=r(87054),d=r(18328),o=r.n(d),c=r(28005),u=r(16961),b=r(54041),f=r(78591),h=r(50978);let g=({title:e="En ce moment",topics:t,id:r,className:a,index:d=0,sticky:g=!1,source:v=n.Wz.EDITORIAL,layout:k=i.f6})=>{let p=n.bO.WIDGET,E=(0,s._S)(p),N={...(0,s.xU)().entity(p),...(0,s.xU)().contextRecord({widget_id:r,widget_order:d?.toString(),widget_title:`'${e}'`,widget_source:v,widget_type:c.a.HOT_TOPIC,widget_layout:k})};return(0,l.jsx)(u.fI,{"aria-label":"Sujets du moment","data-widget-id":r,as:u.rJ.NAV,className:o()(` 2 ${a} 3 ${g&&"sticky top-116 z-30 lg:sticky"} 4 bg-background-light text-navy-blue-300 dark:bg-background-dark dark:text-white 5 `),...N,children:(0,l.jsx)(u.mc,{children:(0,l.jsx)("div",{...E,children:(0,l.jsx)("div",{className:o()(` 6 my-10 7 flex 8 flex-col 9 justify-start 10 gap-y-4 11 px-10 12 `),children:(0,l.jsxs)("div",{className:"mb-10 flex flex-auto items-center gap-x-12 overflow-hidden md:mt-10 lg:my-0",children:[(0,l.jsx)("h2",{className:"text-12 font-bold whitespace-nowrap text-navy-blue-700 uppercase dark:text-white",children:"En ce moment"}),(0,l.jsx)("div",{className:"flex-auto overflow-hidden",children:(0,l.jsx)(b.Ap,{arrows:!0,arrowsBackgroundClasses:"bg-background-light text-navy-blue-300 dark:bg-background-dark dark:text-white",className:"relative",sliderType:b.ue.HOT_TOPIC_BRANDED,scrollZoneClassName:"sb-scroll-40 gap-x-10",children:t.map((e,t)=>{let r=`tag_${t}_${e.href}`;return(0,l.jsx)(b.eg,{children:(0,l.jsx)(f.v,{href:e.href,size:h.IU.SMALL,variant:h.qM.OUTLINE,hotTopicBrand:!0,autoTrackingEvent:!1,children:e.label})},r)})})})]})})})})})};var v=r(93611)},2615:(e,t,r)=>{r.d(t,{e:()=>s});var a=r(54568),l=r(47227),i=r(18328),n=r.n(i);let s=({children:e,className:t="",innerClassName:r=n()("relative h-full py-6"),tabIndex:i=null,...s})=>(0,a.jsx)("li",{className:n()(` 13 ${t} 14 shrink-0 15 `),tabIndex:i,...(0,l.T)(s),children:(0,a.jsx)("div",{className:r,children:e})})},16961:(e,t,r)=>{r.d(t,{fI:()=>a.fI,mc:()=>a.mc,rJ:()=>a.rJ});var a=r(88076)},18077:(e,t,r)=>{r.d(t,{n:()=>a});function a(e,t){let r=null;return(...a)=>{null===r&&(e(...a),r=setTimeout(()=>{r=null},t))}}},39278:(e,t,r)=>{r.d(t,{P:()=>a});function a(e){try{return new URL(e).origin.includes("rtbf.be")}catch{return!1}}},50978:(e,t,r)=>{r.d(t,{IU:()=>n,iq:()=>s,n1:()=>o,qM:()=>d});var a,l,i,n=((a={}).SMALL="small",a.MEDIUM="medium",a.FREE="free",a),s=((l={}).LEFT="left",l.RIGHT="right",l),d=((i={}).PRIMARY="primary",i.SECONDARY="secondary",i.TERTIARY="tertiary",i.OUTLINE="outline",i.TRANSPARENT="transparent",i.CLEAR="clear",i);let o=["outline","clear"]},54041:(e,t,r)=>{r.d(t,{Ap:()=>a.Slider,eg:()=>l.e,ue:()=>i.u});var a=r(73384),l=r(2615),i=r(64967)},64967:(e,t,r)=>{r.d(t,{u:()=>l});var a,l=((a={}).ARTICLE="ARTICLE",a.SUGGESTED_ARTICLE="SUGGESTED_ARTICLE",a.EN_CONTINU="EN_CONTINU",a.HOT_TOPIC="HOT_TOPIC",a.HOT_TOPIC_BRANDED="HOT_TOPIC_BRANDED",a.RADIO_LIVE="RADIO_LIVE",a.EPG_LIVE="EPG_LIVE",a.MENU="MENU",a.PARTNERS="PARTNERS",a.IDALGO="IDALGO",a.CALENDAR="CALENDAR",a.WEATHER="WEATHER",a.DCOUVR="DCOUVR",a)},73384:(e,t,r)=>{r.d(t,{Slider:()=>p});var a,l=r(54568),i=r(43202),n=r(45907),s=r(18077),d=r(20139),o=r(87054),c=r(18328),u=r.n(c),b=r(7620),f=r(47227),h=r(60327),g=r(64967),v=((a=v||{}).BRANDS="BRANDS",a.CALENDAR="CALENDAR",a);let k=(0,b.forwardRef)(({ariaControls:e="slider",className:t="",shadow:r=!1,position:a,type:i,label:n,onClick:s=()=>void 0,focusable:d=!1,style:o,...c},b)=>(0,l.jsxs)("button",{className:u()(` 16 ${"left"===a&&"left-0"} 17 ${"right"===a&&"right-0"} 18 sb-pointer-events-auto 19 group/arrow 20 pointer-events-auto 21 absolute 22 top-0 23 z-20 24 flex 25 h-full 26 w-40 27 cursor-pointer 28 appearance-none 29 items-center 30 justify-center 31 hover:opacity-100 32 focus:outline-hidden 33 ${t} 34 ${!d&&"focus:border-transparent focus:ring-0"} 35 ${d&&"ring-inset focus:ring-2 focus:ring-focus dark:focus:ring-focus"} 36 ${!t.includes("bg-")&&u()(` 37 ${i===g.u.ARTICLE&&"bg-background-light opacity-90 dark:bg-background-dark"} 38 ${i===g.u.SUGGESTED_ARTICLE&&"bg-background-light-blue opacity-90 dark:bg-background-dark"} 39 ${i===g.u.EN_CONTINU&&"bg-background-light-blue opacity-90"} 40 ${i===g.u.RADIO_LIVE&&"bg-background-light-teal opacity-90 dark:bg-background-dark-teal"} 41 ${i===g.u.EPG_LIVE&&"bg-black opacity-70"} 42 ${i===g.u.PARTNERS&&"bg-background-light dark:bg-background-dark-teal"} 43 ${i===g.u.WEATHER&&"bg-background-light dark:bg-background-dark-blue"} 44 ${"CALENDAR"===i&&"bg-background-light dark:bg-navy-blue-800/60"} 45 ${i===g.u.DCOUVR&&"bg-dcouvr-green opacity-50"} 46 `)} 47 `),type:"button","aria-label":n,"aria-controls":e,tabIndex:d?null:-1,style:o||null,...(0,f.T)(c),ref:b,onClick:()=>{s()},children:[r&&(0,l.jsx)("span",{className:u()(` 48 pointer-events-none absolute inset-y-0 w-55 overflow-hidden after:absolute after:inset-y-0 after:block after:rounded-full after:bg-(image:--gradient-shadow) after:blur-[20px] after:content-[''] 49 ${"left"===a&&"-right-55 after:right-30 after:-left-35"} 50 ${"right"===a&&"-left-55 after:-right-35 after:left-30"} 51 `)}
51),(0,l.jsx)(h.I,{iconName:"left"===a?"ChevronLeftIcon":"ChevronRightIcon",className:u()(` 52 size-[28px] 53 group-hover/arrow:filter-(--filter-yellow-500) 54 ${i===g.u.ARTICLE&&"filter-(--filter-purple-500) dark:filter-(--filter-purple-100)"} 55 ${[g.u.SUGGESTED_ARTICLE,g.u.EN_CONTINU].includes(i)&&"filter-(--filter-white) dark:filter-(--filter-purple-100)"} 56 ${[g.u.HOT_TOPIC,g.u.HOT_TOPIC_BRANDED,g.u.EPG_LIVE].includes(i)&&"filter-(--filter-blue-500) dark:filter-(--filter-white)"} 57 ${i===g.u.MENU&&"filter-(--filter-white)"} 58 ${i===g.u.WEATHER&&"dark:filter-(--filter-white)"} 59 ${["BRANDS","CALENDAR"].includes(i)&&"filter-(--filter-purple-500) dark:filter-(--filter-white)"} 60 ${i===g.u.DCOUVR&&"filter-(--filter-white)"} 61 `),ariaHidden:!0})]})),p=({debug:e=!1,children:t,initialSlide:r=0,arrows:a=!1,arrowWidth:c=40,className:f="relative",scrollZoneClassName:h="",arrowsBackgroundClasses:v="",arrowsBackgroundStyle:p,sliderType:E=g.u.ARTICLE})=>{let N=(0,b.useId)(),x=(0,b.useRef)(null),R=(0,b.useRef)(null),T=(0,b.useRef)(null),[m,A]=(0,b.useState)([]),[I,y]=(0,b.useState)(null),[L,w]=(0,b.useState)(!0),[M,O]=(0,b.useState)(!0),[C,j]=(0,b.useState)(!0);(0,b.useEffect)(()=>{if(void 0===x)return;let e=x.current,t=0===e.scrollLeft,r=1>=Math.abs(Math.floor(e.scrollLeft+e.offsetWidth)-Math.floor(e.scrollWidth));O(t),j(r);let l=r=>{let a=t?0:c;return r.offsetLeft>=e.scrollLeft+a},i=(t,l=!1)=>{let i=l||!a||!L||r?0:c;return t.offsetLeft+t.offsetWidth<=e.scrollLeft+e.offsetWidth+ +!!l-i},n=[],s=e.childNodes.length;for(let t=0;t<s;t++){let r=e.childNodes[t],a=t+1===s,d=l(r),o=i(r,a);if(d&&o)n.push(t);else if(n.length>0)break}A(e=>JSON.stringify(e)!==JSON.stringify(n)?n:e)},[x,I,c,a,L]);let D=(0,i.s)(()=>{null!==x&&y(x.current.scrollLeft)},50),S=(0,i.s)(e=>{if(void 0!==e&&x.current&&!m.includes((e=>{let t=e.parentNode.childNodes,r=0;for(let a=0;a<t.length;a++){if(t[a]===e)return r;1===t[a].nodeType&&r++}return -1})(e))){let t=e.offsetLeft+e.offsetWidth/2,r=x.current.offsetWidth/2;x.current.scrollTo({left:t-r,behavior:"smooth"})}},200),U=(0,b.useCallback)(()=>{let e=Math.max(m[0]-1,0);S(x.current.children[e])},[S,m]),$=(0,b.useCallback)(()=>{let e=Math.min(m.at(-1)+1,x.current.children.length-1);S(x.current.children[e])},[S,m]),_=(0,b.useCallback)((0,s.n)(e=>{e>0?$():e<0&&U()},500),[$,U]);return(0,b.useEffect)(()=>{let e=x.current;if(!e)return;let t=e=>{Math.abs(e.deltaX)>=Math.abs(e.deltaY)&&e.preventDefault()};return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}},[]),(0,b.useEffect)(()=>{let e=!1;try{void 0!==window.matchMedia&&(e=window.matchMedia("(pointer: fine)").matches)}catch(e){n.j||console.error(e)}finally{w(e)}null===x||S(x.current.children[r])},[]),(0,l.jsxs)("div",{className:f,children:[e&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("pre",{className:"fixed z-30 bg-white dark:bg-black dark:text-white",children:["scrollLeft: ",JSON.stringify(I)," / visibleItems: ",JSON.stringify(m)]}),(0,l.jsxs)("div",{className:"mb-6 ml-[50%] flex items-end justify-start pt-10",children:[(0,l.jsx)("div",{className:"ml-2 rounded-sm bg-brand-la-trois px-4 font-[monospace] text-10/24 text-white",children:"snap point"}),(0,l.jsx)("div",{className:"absolute inset-y-0 left-1/2 border-l border-brand-la-trois"})]})]}),(0,l.jsx)("ul",{id:N,className:u()(` 62 relative 63 flex 64 w-full 65 snap-x 66 snap-mandatory 67 scrollbar-none 68 list-none 69 flex-nowrap 70 gap-6 71 overflow-x-auto 72 select-none 73 ${L?"lg:overflow-x-hidden":""} 74 ${h} 75 `),ref:x,tabIndex:-1,onScroll:D,onFocus:e=>{let t=e.target.closest("li");t&&S(t)},onClick:e=>{let t=e.target.closest("li");t&&S(t)},onWheel:e=>{10>Math.abs(e.deltaX)||_(e.deltaX)},children:t}),a&&L&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(k,{ref:R,ariaControls:N,shadow:!0,type:E,position:"left",className:u()(` 76 ${v} 77 ${M?"invisible":""} 78 `),label:"Pr\xe9c\xe9dent",onClick:U,style:p,...(0,o.xU)().clickRecord({area:"slide_arrow",labelArea:"left",eventEntity:d.bO.WIDGET})}
78),(0,l.jsx)(k,{ref:T,ariaControls:N,shadow:!0,type:E,position:"right",className:u()(` 79 ${v} 80 ${C?"invisible":""} 81 `),label:"Suivant",onClick:$,style:p,...(0,o.xU)().clickRecord({area:"slide_arrow",labelArea:"right",eventEntity:d.bO.WIDGET})})]})]})}},78591:(e,t,r)=>{r.d(t,{v:()=>N});var a=r(54568),l=r(75479),i=r(20139),n=r(87054),s=r(18328),d=r.n(s),o=r(12835),c=r(43862),u=r(94328),b=r(39278),f=r(98042),h=r(89984),g=r(50978);let v=(0,h.F)("",{variants:{size:{[g.IU.SMALL]:"h-10 w-auto",[g.IU.MEDIUM]:"h-16 w-auto",[g.IU.FREE]:null},iconPosition:{[g.iq.LEFT]:"mr-4",[g.iq.RIGHT]:"ml-4"},intent:{[g.qM.PRIMARY]:"filter-(--filter-white)",[g.qM.SECONDARY]:"filter-(--filter-white) dark:filter-(--filter-blue-900)",[g.qM.TERTIARY]:"filter-(--filter-blue-900) dark:filter-(--filter-white)",[g.qM.TRANSPARENT]:"filter-(--filter-white)"}}}),k=d()("rounded-full border px-16 transition duration-200 ease-in-out md:px-20"),p=(0,h.F)("flex items-center py-4",{variants:{size:{[g.IU.SMALL]:"text-10",[g.IU.MEDIUM]:"text-14",[g.IU.FREE]:null},intent:{[g.qM.PRIMARY]:`group ${k}`,[g.qM.SECONDARY]:`border-purple-300 dark:border-blue-200 ${k}`,[g.qM.TERTIARY]:`bg-blue-200 ${k}`,[g.qM.OUTLINE]:`border-2 ${k}`,[g.qM.TRANSPARENT]:"text-white",[g.qM.CLEAR]:"text-navy-blue-500 dark:text-white"},hotTopicBrand:{false:(0,f.h)({within:!1}),true:(0,f.h)({within:!0})},disabled:{false:"",true:"cursor-not-allowed"},asLink:{false:"",true:""}},compoundVariants:[{disabled:!1,asLink:!0,class:[d()("active:translate-y-2")]},{intent:g.qM.PRIMARY,disabled:!1,class:[d()("border-teal-500 bg-teal-500 text-white")]},{intent:g.qM.PRIMARY,asLink:!0,class:[d()("hover:bg-teal-800 dark:group-hover:filter-(--filter-teal-900) dark:hover:border-teal-300 dark:hover:bg-teal-300 dark:hover:text-teal-900"),d()("active:border-teal-900 active:bg-teal-900 active:text-white dark:active:border-teal-100 dark:active:bg-teal-100 dark:active:text-teal-900")]},{intent:g.qM.PRIMARY,disabled:!0,class:"border-blue-200 bg-blue-100 text-blue-300 dark:border-blue-200 dark:bg-purple-400 dark:opacity-50"},{intent:g.qM.SECONDARY,disabled:!1,class:[d()("bg-navy-blue-500 text-white dark:bg-blue-200 dark:text-navy-blue-500")]},{intent:g.qM.SECONDARY,disabled:!1,asLink:!0,class:[d()("hover:border-navy-blue-800 hover:bg-navy-blue-800 dark:hover:border-white dark:hover:bg-white"),d()("active:border-navy-blue-900 active:bg-navy-blue-900 active:text-blue-200 dark:active:border-white dark:active:bg-white")]},{intent:g.qM.SECONDARY,disabled:!0,class:"bg-purple-300 text-blue-200 dark:bg-blue-100 dark:text-blue-200"},{intent:g.qM.TERTIARY,disabled:!1,class:[d()("text-blue-500 dark:border-purple-300 dark:bg-purple-300 dark:text-white")]},{intent:g.qM.TERTIARY,disabled:!1,asLink:!0,class:[d()("hover:border-primary hover:bg-primary dark:hover:border-purple-400 dark:hover:bg-purple-400"),d()("active:border-purple-300 active:bg-primary dark:active:border-purple-400 dark:active:bg-purple-400")]},{intent:g.qM.TERTIARY,disabled:!0,class:"border-blue-200 text-blue-200 dark:bg-purple-400 dark:opacity-50"},{intent:g.qM.OUTLINE,disabled:!1,class:[d()("bg-transparent")]},{intent:g.qM.OUTLINE,disabled:!1,asLink:!0,class:[d()("active:border-navy-blue-500 active:bg-navy-blue-200 active:text-navy-blue-500 dark:active:border-heading-300 dark:active:bg-navy-blue-700 dark:active:text-heading-300")]},{intent:g.qM.OUTLINE,disabled:!1,hotTopicBrand:!1,class:[d()("border-navy-blue-500 text-navy-blue-500 dark:border-heading-300 dark:text-heading-300")]},{intent:g.qM.OUTLINE,disabled:!1,asLink:!0,hotTopicBrand:!1,class:[d()("hover:bg-navy-blue-100 dark:hover:bg-navy-blue-800")]},{intent:g.qM.OUTLINE,disabled:!1,hotTopicBrand:!0,class:[d()("border-navy-blue-300 text-navy-blue-700 dark:border-white dark:text-white")]},{intent:g.qM.OUTLINE,disabled:!1,asLink:!0,hotTopicBrand:!0,class:[d()("hover:bg-navy-blue-300/10 dark:hover:bg-white/10")]},{intent:g.qM.OUTLINE,disabled:!0,class:"text-blue-200 dark:text-purple-300"},{intent:g.qM.TRANSPARENT,disabled:!1,class:"px-6"},{intent:g.qM.TRANSPARENT,disabled:!1,asLink:!0,class:"hover:active-underlined"},{intent:g.qM.TRANSPARENT,disabled:!0,class:"active-underlined"},{intent:g.qM.CLEAR,disabled:!1,asLink:!0,class:"hover:active-underlined"},{intent:g.qM.CLEAR,disabled:!0,class:"active-underlined"}]}),E=({className:e,icon:t,iconPosition:r,size:l,intent:i})=>{let n=d()(` 82 transition 83 duration-200 84 ease-in-out 85 ${e} 86 ${g.n1.includes(i)&&`dark:filter-(--filter-white) ${(0,o.vD)(t)}`}
87 `),s=v({iconPosition:r,size:l,intent:i,className:n});return t in c.Wz?(0,a.jsx)(o.In,{iconName:t,className:s}):t.light&&t.dark?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"dark:hidden",children:(0,a.jsx)(o.In,{iconName:t.light,className:s})}),(0,a.jsx)("div",{className:"hidden dark:block",children:(0,a.jsx)(o.In,{iconName:t.dark,className:s})})]}):null},N=({children:e,hotTopicBrand:t=!1,href:r,icon:s,iconClassName:d="",iconPosition:o=g.iq.LEFT,isDisabled:c=!1,marginBottom:f,marginLeft:h,marginRight:v,marginTop:k,size:N=g.IU.MEDIUM,variant:x=g.qM.PRIMARY})=>{let R={};R=(0,b.P)(r)?{...(0,n.xU)().clickRecord({area:"link",labelArea:r,eventEntity:i.bO.NAVIGATION})}:{...(0,n.xU)().clickRecord({area:"tag",labelArea:e,eventEntity:i.bO.NAVIGATION})};let T=p({size:N,intent:x,hotTopicBrand:t,disabled:c,asLink:!!r,className:(0,u.jp)(k,v,f,h)}),m=(0,a.jsxs)(a.Fragment,{children:[s&&o===g.iq.LEFT&&(0,a.jsx)(E,{icon:s,iconPosition:o,size:N,intent:x,className:d}),(0,a.jsx)("span",{className:"leading-normal font-normal",children:e}),s&&o===g.iq.RIGHT&&(0,a.jsx)(E,{icon:s,iconPosition:o,size:N,intent:x,className:d})]});return r?(0,a.jsx)(l.N,{"aria-disabled":c,prefetch:!1,href:r,className:T,...R,children:m}):(0,a.jsx)("div",{className:T,children:m})}},89984:(e,t,r)=>{r.d(t,{F:()=>i});let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=function(){for(var e,t,r=0,a="",l=arguments.length;r<l;r++)(e=arguments[r])&&(t=function e(t){var r,a,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(l&&(l+=" "),l+=a)}else for(a in t)t[a]&&(l&&(l+=" "),l+=a);return l}(e))&&(a&&(a+=" "),a+=t);return a},i=(e,t)=>r=>{var i;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:s}=t,d=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],l=null==s?void 0:s[e];if(null===t)return null;let i=a(t)||a(l);return n[e][i]}),o=r&&Object.entries(r).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return l(e,d,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:a,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...o}[t]):({...s,...o})[t]===r})?[...e,r,a]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]);
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.