@20minutes/tyr 2.41.5 → 2.41.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(){"use strict";const e="forward-disable-audience-measure",t="data-preferences-consent",r=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{if(e.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled){Array.from(document.getElementsByClassName("cmp-placeholder")).forEach(e=>{e.classList.add("u-hidden")});Array.from(document.getElementsByClassName("js-game-wrapper")).forEach(e=>{e.classList.remove("u-hidden"),e.querySelectorAll("[data-href]").forEach(e=>{const t=e.getAttribute("data-href");t&&(e.setAttribute("href",t),e.removeAttribute("data-href"))}),e.querySelectorAll("[data-src]").forEach(e=>{const t=e.getAttribute("data-src");t&&(e.setAttribute("src",t),e.removeAttribute("data-src"))})})}else{Array.from(document.getElementsByClassName("cmp-placeholder")).forEach(e=>{e.classList.remove("u-hidden")})}})},n=()=>{document.querySelectorAll(".c-game-placeholder").forEach(e=>{e.addEventListener("click",e=>{const t=e.target;if(!(t instanceof HTMLElement&&t.closest(".cmp-game-button")))return;e.preventDefault(),window.didomiOnReady.push(()=>{(()=>{const e=window.Didomi.openCurrentUserStatusTransaction();e.enablePurpose("mesureda-6qyqaZXC"),window.sessionStorage.setItem("cmpModal","accepted"),e.commit(),r()})()});const n=t.closest("div.c-game-placeholder");n&&n.focus()})})},o=()=>{window.didomiOnReady=window.didomiOnReady||[],r(),window.didomiEventListeners.push({event:"consent.changed",listener(){r()}}),n()},a=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},s=e=>{document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(t=>-1===e.indexOf(t)).forEach(e=>{const{hostname:t}=window.location;a({name:e}),a({name:e,domain:t.substring(t.indexOf(".")+1)}),a({name:e,domain:t.substring(t.indexOf("."))}),a({name:e,domain:`.${t}`})})};var i=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(i||{});i.up,i.down,i.sad,i.heart,i.laughing,i.shock;const c=e=>{for(let t=sessionStorage.length-1;t>=0;t-=1){const r=sessionStorage.key(t);r&&-1===e.indexOf(r)&&sessionStorage.removeItem(r)}},l=e=>{localStorage.removeItem(e)},d=e=>{for(let t=localStorage.length-1;t>=0;t-=1){const r=localStorage.key(t);r&&-1===e.indexOf(r)&&l(r)}},u=()=>{const e=(()=>{const e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())})();delete e["didomiConfig.user.externalConsent.value"],delete e["didomiConfig.notice.enable"];const t=`${window.location.origin}${window.location.pathname}`,r=Object.entries(e).map(([e,t])=>[e,String(t)]),n=new URLSearchParams(r),o=n.toString()?`${t}?${n.toString()}`:t;window.history.replaceState({},document.title,o)};var p=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.ASTRO="astro",e.ASTRO_HOME="astrohome",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.REWIND="rewind",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(p||{});function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,h,y,g,b={exports:{}},w={},v={exports:{}},x={};function _(){if(f)return x;f=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function y(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}function g(){}function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var v=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function k(t,r,n){var o,a={},s=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(s=""+r.key),r)_.call(r,o)&&!j.hasOwnProperty(o)&&(a[o]=r[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];a.children=l}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:e,type:t,key:s,ref:i,props:a,_owner:S.current}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var N=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function C(r,n,o,a,s){var i=typeof r;"undefined"!==i&&"boolean"!==i||(r=null);var c=!1;if(null===r)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0}}if(c)return s=s(c=r),r=""===a?"."+O(c,0):a,v(s)?(o="",null!=r&&(o=r.replace(N,"$&/")+"/"),C(s,n,o,"",function(e){return e})):null!=s&&(E(s)&&(s=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(N,"$&/")+"/")+r)),n.push(s)),1;if(c=0,a=""===a?".":a+":",v(r))for(var l=0;l<r.length;l++){var d=a+O(i=r[l],l);c+=C(i,n,o,d,s)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=u&&e[u]||e["@@iterator"])?e:null}(r),"function"==typeof d)for(r=d.call(r),l=0;!(i=r.next()).done;)c+=C(i=i.value,n,o,d=a+O(i,l++),s);else if("object"===i)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function $(e,t,r){if(null==e)return e;var n=[],o=0;return C(e,n,"","",function(e){return t.call(r,e,o++)}),n}function A(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},I={transition:null},T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:I,ReactCurrentOwner:S};function P(){throw Error("act(...) is not supported in production builds of React.")}return x.Children={map:$,forEach:function(e,t,r){$(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return $(e,function(){t++}),t},toArray:function(e){return $(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},x.Component=y,x.Fragment=r,x.Profiler=o,x.PureComponent=b,x.StrictMode=n,x.Suspense=c,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,x.act=P,x.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,s=t.ref,i=t._owner;if(null!=r){if(void 0!==r.ref&&(s=r.ref,i=S.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in r)_.call(r,l)&&!j.hasOwnProperty(l)&&(o[l]=void 0===r[l]&&void 0!==c?c[l]:r[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:e,type:t.type,key:a,ref:s,props:o,_owner:i}},x.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},x.createElement=k,x.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},x.createRef=function(){return{current:null}},x.forwardRef=function(e){return{$$typeof:i,render:e}},x.isValidElement=E,x.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},x.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},x.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},x.unstable_act=P,x.useCallback=function(e,t){return R.current.useCallback(e,t)},x.useContext=function(e){return R.current.useContext(e)},x.useDebugValue=function(){},x.useDeferredValue=function(e){return R.current.useDeferredValue(e)},x.useEffect=function(e,t){return R.current.useEffect(e,t)},x.useId=function(){return R.current.useId()},x.useImperativeHandle=function(e,t,r){return R.current.useImperativeHandle(e,t,r)},x.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},x.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},x.useMemo=function(e,t){return R.current.useMemo(e,t)},x.useReducer=function(e,t,r){return R.current.useReducer(e,t,r)},x.useRef=function(e){return R.current.useRef(e)},x.useState=function(e){return R.current.useState(e)},x.useSyncExternalStore=function(e,t,r){return R.current.useSyncExternalStore(e,t,r)},x.useTransition=function(){return R.current.useTransition()},x.version="18.3.1",x}function S(){return h||(h=1,v.exports=_()),v.exports}
1
+ !function(){"use strict";const e="forward-disable-audience-measure",t="data-preferences-consent",r=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{if(e.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled){Array.from(document.getElementsByClassName("cmp-placeholder")).forEach(e=>{e.classList.add("u-hidden")});Array.from(document.getElementsByClassName("js-game-wrapper")).forEach(e=>{e.classList.remove("u-hidden"),e.querySelectorAll("[data-href]").forEach(e=>{const t=e.getAttribute("data-href");t&&(e.setAttribute("href",t),e.removeAttribute("data-href"))}),e.querySelectorAll("[data-src]").forEach(e=>{const t=e.getAttribute("data-src");t&&(e.setAttribute("src",t),e.removeAttribute("data-src"))})})}else{Array.from(document.getElementsByClassName("cmp-placeholder")).forEach(e=>{e.classList.remove("u-hidden")})}})},n=()=>{document.querySelectorAll(".c-game-placeholder").forEach(e=>{e.addEventListener("click",e=>{const t=e.target;if(!(t instanceof HTMLElement&&t.closest(".cmp-game-button")))return;e.preventDefault(),window.didomiOnReady.push(()=>{(()=>{const e=window.Didomi.openCurrentUserStatusTransaction();e.enablePurpose("mesureda-6qyqaZXC"),window.sessionStorage.setItem("cmpModal","accepted"),e.commit(),r()})()});const n=t.closest("div.c-game-placeholder");n&&n.focus()})})},o=()=>{window.didomiOnReady=window.didomiOnReady||[],r(),window.didomiEventListeners.push({event:"consent.changed",listener(){r()}}),n()},a=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},s=e=>{document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(t=>-1===e.indexOf(t)).forEach(e=>{const{hostname:t}=window.location;a({name:e}),a({name:e,domain:t.substring(t.indexOf(".")+1)}),a({name:e,domain:t.substring(t.indexOf("."))}),a({name:e,domain:`.${t}`})})};var i=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(i||{});i.up,i.down,i.sad,i.heart,i.laughing,i.shock;const c=e=>{for(let t=sessionStorage.length-1;t>=0;t-=1){const r=sessionStorage.key(t);r&&-1===e.indexOf(r)&&sessionStorage.removeItem(r)}},l=e=>{localStorage.removeItem(e)},d=e=>{for(let t=localStorage.length-1;t>=0;t-=1){const r=localStorage.key(t);r&&-1===e.indexOf(r)&&l(r)}},u=()=>{const e=(()=>{const e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())})();delete e["didomiConfig.user.externalConsent.value"],delete e["didomiConfig.notice.enable"];const t=`${window.location.origin}${window.location.pathname}`,r=Object.entries(e).map(([e,t])=>[e,String(t)]),n=new URLSearchParams(r),o=n.toString()?`${t}?${n.toString()}`:t;window.history.replaceState({},document.title,o)};var p=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.ASTRO="astro",e.ASTRO_HOME="astrohome",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.REWIND="rewind",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(p||{});function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f,h,y,g,b={exports:{}},w={},v={exports:{}},x={};function _(){if(f)return x;f=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),u=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function y(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}function g(){}function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var v=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function k(t,r,n){var o,a={},s=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(s=""+r.key),r)_.call(r,o)&&!j.hasOwnProperty(o)&&(a[o]=r[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var l=Array(c),d=0;d<c;d++)l[d]=arguments[d+2];a.children=l}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:e,type:t,key:s,ref:i,props:a,_owner:S.current}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var N=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function C(r,n,o,a,s){var i=typeof r;"undefined"!==i&&"boolean"!==i||(r=null);var c=!1;if(null===r)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0}}if(c)return s=s(c=r),r=""===a?"."+O(c,0):a,v(s)?(o="",null!=r&&(o=r.replace(N,"$&/")+"/"),C(s,n,o,"",function(e){return e})):null!=s&&(E(s)&&(s=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(N,"$&/")+"/")+r)),n.push(s)),1;if(c=0,a=""===a?".":a+":",v(r))for(var l=0;l<r.length;l++){var d=a+O(i=r[l],l);c+=C(i,n,o,d,s)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=u&&e[u]||e["@@iterator"])?e:null}(r),"function"==typeof d)for(r=d.call(r),l=0;!(i=r.next()).done;)c+=C(i=i.value,n,o,d=a+O(i,l++),s);else if("object"===i)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function $(e,t,r){if(null==e)return e;var n=[],o=0;return C(e,n,"","",function(e){return t.call(r,e,o++)}),n}function A(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},T={transition:null},I={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:T,ReactCurrentOwner:S};function L(){throw Error("act(...) is not supported in production builds of React.")}return x.Children={map:$,forEach:function(e,t,r){$(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return $(e,function(){t++}),t},toArray:function(e){return $(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},x.Component=y,x.Fragment=r,x.Profiler=o,x.PureComponent=b,x.StrictMode=n,x.Suspense=c,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,x.act=L,x.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,s=t.ref,i=t._owner;if(null!=r){if(void 0!==r.ref&&(s=r.ref,i=S.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in r)_.call(r,l)&&!j.hasOwnProperty(l)&&(o[l]=void 0===r[l]&&void 0!==c?c[l]:r[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:e,type:t.type,key:a,ref:s,props:o,_owner:i}},x.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},x.createElement=k,x.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},x.createRef=function(){return{current:null}},x.forwardRef=function(e){return{$$typeof:i,render:e}},x.isValidElement=E,x.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},x.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},x.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},x.unstable_act=L,x.useCallback=function(e,t){return R.current.useCallback(e,t)},x.useContext=function(e){return R.current.useContext(e)},x.useDebugValue=function(){},x.useDeferredValue=function(e){return R.current.useDeferredValue(e)},x.useEffect=function(e,t){return R.current.useEffect(e,t)},x.useId=function(){return R.current.useId()},x.useImperativeHandle=function(e,t,r){return R.current.useImperativeHandle(e,t,r)},x.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},x.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},x.useMemo=function(e,t){return R.current.useMemo(e,t)},x.useReducer=function(e,t,r){return R.current.useReducer(e,t,r)},x.useRef=function(e){return R.current.useRef(e)},x.useState=function(e){return R.current.useState(e)},x.useSyncExternalStore=function(e,t,r){return R.current.useSyncExternalStore(e,t,r)},x.useTransition=function(){return R.current.useTransition()},x.version="18.3.1",x}function S(){return h||(h=1,v.exports=_()),v.exports}
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,5 +7,5 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var j=(g||(g=1,b.exports=function(){if(y)return w;y=1;var e=S(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,r,s){var i,c={},l=null,d=null;for(i in void 0!==s&&(l=""+s),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(d=r.ref),r)n.call(r,i)&&!a.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps)for(i in r=e.defaultProps)void 0===c[i]&&(c[i]=r[i]);return{$$typeof:t,type:e,key:l,ref:d,props:c,_owner:o.current}}return w.Fragment=r,w.jsx=s,w.jsxs=s,w}()),b.exports),k=m(S());function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var N,O={exports:{}};var C,$=(N||(N=1,C=O,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var a in r)e.call(r,a)&&r[a]&&(o=n(o,a));return o}function n(e,t){return t?e?e+" "+t:e+t:e}C.exports?(t.default=t,C.exports=t):window.classNames=t}()),O.exports);const A=E($),R={primary:{ultramarine:{value:"#4742FF",key:"{color.primary.ultramarine}"},"ultramarine-light":{value:"#6B72FB",key:"{color.primary.ultramarine-light}"}},secondary:{orange:{value:"#FA9917",key:"{color.secondary.orange}"},yellow:{value:"#F2E500",key:"{color.secondary.yellow}"},green:{value:"#6A9F4F",key:"{color.secondary.green}"},purple:{value:"#AE6BA2",key:"{color.secondary.purple}"},red:{value:"#DC0E19",key:"{color.secondary.red}"},scarlet:{value:"#FF3F3F",key:"{color.secondary.scarlet}"},blue:{value:"#0000FF",key:"{color.secondary.blue}"},"blue-grey":{value:"#253548",key:"{color.secondary.blue-grey}"},"blue-dark":{value:"#16202B",key:"{color.secondary.blue-dark}"},pink:{value:"#EF2A82",key:"{color.secondary.pink}"},sponsoring:{value:"#FFF5F1",key:"{color.secondary.sponsoring}"},"blue-light":{value:"#D4ECFB",key:"{color.secondary.blue-light}"},"blue-ice":{value:"#F0F4F8",key:"{color.secondary.blue-ice}"}},greyscale:{black:{value:"#000",key:"{color.greyscale.black}"},white:{value:"#FFF",key:"{color.greyscale.white}"},"grey-50":{value:"#FFFFFE",key:"{color.greyscale.grey-50}"},"grey-100":{value:"#F7F7F7",key:"{color.greyscale.grey-100}"},"grey-200":{value:"#DDD",key:"{color.greyscale.grey-200}"},"grey-300":{value:"#898A8C",key:"{color.greyscale.grey-300}"},"grey-400":{value:"#6A6A6A",key:"{color.greyscale.grey-400}"},"grey-500":{value:"#484848",key:"{color.greyscale.grey-500}"},"grey-600":{value:"#2F3134",key:"{color.greyscale.grey-600}"},"grey-700":{value:"#181A1E",key:"{color.greyscale.grey-700}"},"grey-800":{value:"#101D25",key:"{color.greyscale.grey-800}"},"grey-900":{value:"#0F1115",key:"{color.greyscale.grey-900}"}},status:{warning:{value:"#FA9917",key:"{color.status.warning}"},error:{value:"#DC0E19",key:"{color.status.error}"},success:{value:"#6A9F4F",key:"{color.status.success}"}},theme:{conso:{value:"#ff8689",key:"{color.theme.conso}"},default:{value:"#4742ff",key:"{color.theme.default}"},entertainment:{value:"#9d61ff",key:"{color.theme.entertainment}"},hightech:{value:"#8f98a9",key:"{color.theme.hightech}"},media:{value:"#4742ff",key:"{color.theme.media}"},"partenaires-externes":{value:"#4742ff",key:"{color.theme.partenaires-externes}"},partner:{value:"#fd8000",key:"{color.theme.partner}"},planet:{value:"#00b482",key:"{color.theme.planet}"},production:{value:"#c5be00",key:"{color.theme.production}"},publicommunique:{value:"#c5be00",key:"{color.theme.publicommunique}"},publishing:{value:"#c5be00",key:"{color.theme.publishing}"},sport:{value:"#6398ab",key:"{color.theme.sport}"},tempo:{value:"#ecb200",key:"{color.theme.tempo}"},"vie-pro":{value:"#b49b56",key:"{color.theme.vie-pro}"},infolocale:{value:"#4742ff",key:"{color.theme.infolocale}"},gaming:{value:"#fa6ee5",key:"{color.theme.gaming}"},jeux:{value:"#4742ff",key:"{color.theme.jeux}"}}},I={base:{value:"Arial",key:"{font-family.base}"},obviously:{value:"'Obviously', sans-serif",key:"{font-family.obviously}"},"source-serif-pro":{value:"'Source Serif Pro', serif",key:"{font-family.source-serif-pro}"}};Object.keys(I).filter(e=>!["base"].includes(e)),Array.from({length:20},(e,t)=>`75056AR${(t+1).toString().padStart(2,"0")}`),Array.from({length:16},(e,t)=>`13055AR${(t+1).toString().padStart(2,"0")}`),Array.from({length:9},(e,t)=>`69123AR0${t+1}`);const T=["extreme-gauche","parti-revolutionnaire-communiste","lutte-ouvriere","npa","parti-des-travailleurs","association-nationale-communistes","france-insoumise","divers-extreme-gauche","gauche","parti-communiste-francais","parti-des-citoyens-europeens","nouvelle-donne","parti-socialiste","parti-radical-de-gauche","nouveau-front-populaire","union-gauche","divers-gauche","ecologie","europe-ecologie-les-verts","equinoxe","ecologie-positive","ecologie-au-centre","ecologistes","les-ecologistes","centristes","renaissance","ensemble","modem","horizons","udi","union-centre","divers-centre","droite","les-republicains","droite-souverainiste","union-droite","divers-droite","extreme-droite","rassemblement-national","reconquete","les-patriotes","rester-libre","les-nationalistes","les-republicains-union-extreme-droite","udr","union-extreme-droite","divers-extreme-droite","divers","changement-citoyen","decidons-nous-meme","parti-animaliste","parti-pirate","union-des-democrates-musulmans","ecologie-politique","federation-citoyenne","republique-souveraine","resistons","france-libre","la-ruche-citoyenne","defendre-les-enfants","democratie-representative","europe-democratie-esperanto","union-populaire-republicaine","regionalistes"],P={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},L={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},V={radius:["border-radius"]},F={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},D={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...F},M={...D,borderColor:["border-color"],bg:["background-color"],color:["color"],...V},z={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};function q(e){return k.forwardRef(e)}Object.keys(R.primary),Object.keys(R.secondary),Object.keys(R.greyscale),Object.keys(R.status),Object.keys(R.theme);const B=q(({as:e="button",variant:t,color:r=("ghost"===t||"link"===t?void 0:"primary"),children:n,iconProps:o,counter:a,isCentered:s=!1,isSquare:i=!1,isFullWidth:c=!1,isLoading:l=!1,size:d,isCloseWithProgress:u,closeProgressColor:p,...m},f)=>{const h={...m?.style,...p&&{"--button-close-progress-color":`var(--color-theme-${p})`}};return j.jsxs(ne,{...m,style:h,as:e,ref:f,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===t||"a"===e,radius:i?"0":void 0,className:A("c-btn",{[`c-btn--${r}`]:r,[`c-btn--${t}`]:t,[`c-btn--${d}`]:d,"c-btn--is-centered":s,"c-btn--is-loading":l,"c-btn--full-width":c},m?.className),children:[o&&j.jsx(H,{...o}),n,(0===a||a)&&j.jsx(ne,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:a}),u&&j.jsx("div",{className:"c-btn__close-progress"})]})});B.displayName="Button",q(({text:e,color:t="black",thickness:r="thin",...n},o)=>{const a=j.jsx(oe,{bg:t,align:"center",className:A("c-divider__line",{[`c-divider__line--${r}`]:"thin"!==r})});return j.jsx(ne,{...n,ref:o,className:A("c-divider",{"c-divider--has-text":!!e},n?.className),children:e?j.jsxs(j.Fragment,{children:[a,j.jsx(oe,{px:"xxs-2",className:"c-divider__text",children:j.jsx(ie,{size:"xxs",color:t,textTransform:"uppercase",children:e})}),a]}):a})}),q(({color:e="black",thickness:t="thin",...r},n)=>j.jsx(re,{...r,ref:n,bg:e,className:A("c-divider-vertical",{[`c-divider-vertical--${t}`]:"thin"!==t},r?.className)}));const H=q(({name:e,size:t=28,isRounded:r=!1,border:n,rotation:o,svgTitle:a,color:s,...i},c)=>{const l=Array.isArray(t)?t?.[0]:t,d=Array.isArray(t)?t?.[1]:t,u=!a,p=(e=>"string"==typeof e&&T.includes(e))(s);return j.jsx(re,{as:"span",...i,ref:c,color:p?void 0:s,className:A("c-icon",{[`c-icon--has-border-${n}`]:n,"c-icon--is-rounded":r,[`c-icon--${o}`]:o,[`c-icon--${s}`]:p},i?.className),children:j.jsxs("svg",{width:l,height:d,role:"img","aria-label":a||void 0,"aria-hidden":u?"true":void 0,children:[a&&j.jsx("title",{children:a}),"circle"===e?j.jsx("circle",{}):j.jsx("use",{xlinkHref:`#${e}`})]})})}),U=q(({iconProps:e,as:t="button",variant:r,color:n,size:o,hasShadow:a,isLoading:s,isFloating:i,...c},l)=>j.jsx(ne,{...c,as:t,ref:l,alignItems:"center",justifyContent:"center",className:A("c-icon-btn",{[`c-icon-btn--${r}`]:r,[`c-icon-btn--${n}`]:n,[`c-icon-btn--${o}`]:o,"c-icon-btn--has-shadow":a,"c-icon-btn--is-loading":s,"c-icon-btn--is-floating":i},c?.className),children:j.jsx(H,{...e})}));U.displayName="IconButton",q(({id:e,className:t,color:r,required:n,label:o,icon:a,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:c,variant:l,msg:d,containerProps:u,isRounded:p,isTransparent:m,isLarge:f,children:h,hint:y,error:g,...b},w)=>{const v=a&&j.jsx(B,{className:A("c-input-container__icon",`color-${r||"black"}`),iconProps:{name:a,size:18},variant:"ghost",...c}),x=a&&j.jsx(H,{className:"c-input-container__icon",name:a,size:18,color:r||"black"});return j.jsxs(ne,{direction:"column",...u,className:A("c-input",u?.className,{[`c-input--${l}`]:l}),children:[o&&j.jsxs("label",{htmlFor:e,className:"c-input__label",children:[o,n&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),y&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:y}),j.jsxs(ne,{gap:a&&h?"xs":void 0,className:A("c-input-container",{"c-input-container--rounded":p,"c-input-container--transparent":m,"c-input-container--large":f,[`c-input-container--${s}`]:a||h}),children:[(a||h)&&j.jsxs(ne,{gap:"s",children:[i?v:x,h]}),j.jsx("input",{id:e,className:A("c-input-container__input",t),required:n,ref:w,"aria-describedby":[y?`${e}-hint`:null,g?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...b})]}),d?.length&&j.jsx(ne,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:d.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(ne,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(H,{...e}),j.jsx(ie,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),g&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:g})]})});const G=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=W({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[r,n])=>{const o=W({className:e.className,defaultModifier:r,propValue:n});return o&&t.push(o),t},[])},W=e=>{if(void 0!==e.propValue){if("boolean"!=typeof e.propValue){const t=(e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase())("number"==typeof e.propValue?e.propValue.toString():e.propValue);return e.className?`${e.className}-${t}@${e.defaultModifier}`:`${t}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},Y=({basis:e,shrink:t,grow:r,...n})=>A(...G({propValue:e,className:"basis"}),...G({propValue:t,className:"shrink"}),...G({propValue:r,className:"grow"}),J(n)),X=({inline:e=!1,direction:t,wrap:r,...n})=>A(...G({propValue:e,className:e?"inline-flex":"flex"}),...G({propValue:t,className:"direction"}),...G({propValue:r}),Z(n)),Z=e=>A(...G({propValue:e.alignItems,className:"items"}),...G({propValue:e.alignContent,className:"content"}),...G({propValue:e.justifyContent,className:"justify"}),...G({propValue:e.gap,className:"gap"}),...G({propValue:e.gapX,className:"gap-x"}),...G({propValue:e.gapY,className:"gap-y"}),...G({propValue:e.flexGrow,className:"grow"})),J=e=>A(...G({propValue:e.align,className:"self"})),K=e=>"object"==typeof e.props?Object.keys(e.props).reduce((t,r)=>(e.systemPropNames.includes(r)||(t[r]=e.props[r]),t),{}):{},Q=e=>A(Object.entries(e).filter(([e])=>Object.keys(D).includes(e)).reduce((e,[t,r])=>(e.push(...G({className:t,propValue:r})),e),[])),ee=e=>A(Q(e),(e=>A({[`bg-${e.bg}`]:e.bg,[`color-${e.color}`]:e.color,[`border-color-${e.borderColor}`]:e.borderColor}))(e),(e=>A(Object.entries(e).filter(([e])=>Object.keys(V).includes(e)).reduce((e,[t,r])=>(e.push(...G({className:t,propValue:r})),e),[])))(e)),te=({textAlign:e,weight:t,textTransform:r,textDecoration:n,italic:o,fontFamily:a,whiteSpace:s})=>A(G({className:"text",propValue:e}),G({className:"font-weight",propValue:t}),{[`white-space-${s}`]:!!s,[`text-transform-${r}`]:!!r,[`text-decoration-${n}`]:!!n,"text-italic":!!o,[`font-${a}`]:!!a}),re=q(({as:e="div",children:t,...r},n)=>j.jsx(e,{...K({props:r,systemPropNames:Object.keys(M)}),ref:n,className:A(ee(r),r?.className),children:t}));re.displayName="Box";const ne=q(({as:e="div",children:t,...r},n)=>j.jsx(re,{...K({props:r,systemPropNames:Object.keys(P)}),as:e,ref:n,className:A(X(r),r?.className),children:t})),oe=q(({as:e="div",children:t,...r},n)=>j.jsx(re,{...K({props:r,systemPropNames:Object.keys(L)}),as:e,ref:n,className:A(Y(r),r?.className),children:t}));q(({as:e="a",children:t,color:r,buttonColor:n,size:o,variant:a,weight:s,whiteSpace:i,tabIsSelected:c,tabVariant:l,tabColor:d,defaultColor:u="ultramarine",isUnderlined:p,...m},f)=>{if((a||n)&&r)throw new Error("You can't use the color prop together with the variant or buttonColor prop");const h=!(!a&&!n),y=l||d?A("c-tab",{[`c-tab--${l}`]:l,[`c-tab--${d}`]:d,"c-tab--selected":c,"c-tab--unselected":!c},te({weight:s,whiteSpace:i}),m?.className):A("c-link",{"c-btn":h&&!r,[`c-btn--${n}`]:n&&!r,[`c-btn--${a}`]:a&&!r},te({weight:s,whiteSpace:i}),G({className:"text",propValue:o}),{"c-link--is-underlined":p},m?.className);return j.jsx(re,{...m,as:e,ref:f,color:l||d||h?void 0:r||("inherit"===u?void 0:u),className:y,children:t})}),q(({variant:e,progressColor:t="ultramarine"},r)=>j.jsx(re,{ref:r,bg:"grey-100",className:A("c-progress",{[`c-progress--${e}`]:e}),children:j.jsx(re,{className:"c-progress__bar",bg:t,style:{width:"0%"}})})),q(({id:e,className:t,required:r,label:n,defaultValue:o,options:a,placeholder:s,containerProps:i,variant:c="default",icon:l,isLarge:d,hint:u,error:p,...m},f)=>j.jsxs(ne,{...i,ref:f,direction:"column",className:A("c-select",i?.className),children:[n&&j.jsxs("label",{htmlFor:e,className:"c-select__label",children:[n,r&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),u&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:u}),j.jsxs("div",{className:"c-select__container",children:[l&&j.jsx(H,{className:"c-select__icon",name:l,size:18}),j.jsx(H,{className:`c-select__caret c-select__caret--${c}`,name:"arrow",size:12}),j.jsxs("select",{id:e,className:A("c-select__select",`c-select__select--${c}`,{"c-select__select--has-icon":!!l},{"c-select__select--large":d},Q(m),t),required:r,defaultValue:o||a.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[u?`${e}-hint`:null,p?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...K({props:m,systemPropNames:Object.keys(F)}),children:[s&&j.jsx("option",{value:"",disabled:!0,hidden:!0,children:s}),a.map(e=>j.jsx("option",{value:e.value,children:e.title},e.value))]})]}),p&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:p})]}));var ae=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(ae||{});q(({layout:e,children:t,itemsGap:r,hasSpaceAroundButtons:n=!1,buttonsColor:o,buttonsSize:a,colorVariant:s,sliderVariant:i="default",auto:c=!1,delay:l=3e3,...d},u)=>j.jsxs(re,{...d,ref:u,className:A("c-slider js-navigation-container",d?.className),"data-slider-variant":i,"data-slider-auto":c,"data-slider-delay":l,children:[j.jsx(re,{className:"c-slider__viewport js-navigation-container__list",children:j.jsx(ne,{className:"c-slider__list",alignItems:"center",gap:r,children:t})}),e===ae.DESKTOP&&j.jsx(re,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>j.jsx(re,{pr:n&&"previous"===e&&("translucent"===o&&"small"===a?"m":"l")||void 0,pl:n&&"next"===e&&("translucent"===o&&"small"===a?"m":"l")||void 0,className:A(`c-slider__button-container c-slider__button-container--${e} o-nav-button o-nav-button--${e}-button`,{"c-slider__button-container--has-space-around":n},{[`c-slider__button-container--${i}`]:i}),children:j.jsx(U,{color:o,size:a,..."videos"===i&&{p:"m"},iconProps:{name:"chevron",size:"videos"===i?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),q(({as:e="a",id:t,variant:r="primary",size:n,children:o,...a},s)=>j.jsx(re,{...a,as:"span"===r?"span":e,href:"span"===r?void 0:a?.href,ref:s,className:A("c-tags",`c-tags--${r}`,{[`c-tags--${n}`]:n},a?.className),"data-id":t,px:a?.px,children:o})),q(({id:e,required:t,label:r,variant:n,msg:o,rows:a=5,containerProps:s,hint:i,error:c,...l},d)=>j.jsxs(ne,{direction:"column",ref:d,...s,className:A("c-textarea",s?.className),children:[r&&j.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[r,t&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),j.jsx(ne,{className:"c-textarea-container",children:j.jsx("textarea",{rows:a,placeholder:"Votre message...",required:t,...l,id:e,name:e,className:A("c-textarea-container__input",{[`c-textarea-container__input--${n}`]:n,"c-textarea-container__input--hint":!!i,"c-textarea-container__input--error":!!c},l?.className),"aria-describedby":[i?`${e}-hint`:null,c?`${e}-error`:null].filter(Boolean).join(" ")||void 0})}),o?.length&&j.jsx(ne,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:o.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(ne,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(H,{...e}),j.jsx(ie,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),c&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:c})]}));const se=q(({as:e="h1",size:t,children:r,...n},o)=>j.jsx(ce,{...n,as:e,ref:o,className:A(G({className:"heading",propValue:t}),n?.className),children:r})),ie=q(({as:e="p",size:t,highlighted:r,children:n,...o},a)=>j.jsx(ce,{as:r?"span":e,bg:r?"sponsoring":o.bg,p:r?"xxs":o.p,color:r?"grey-800":o.color,...o,ref:a,className:A(G({className:"text",propValue:t}),{"text-highlighted":r},o?.className),children:n})),ce=q(({as:e="p",children:t,...r},n)=>t&&t.toString().length||r?.dangerouslySetInnerHTML?j.jsx(re,{...K({props:r,systemPropNames:Object.keys(z)}),as:e,ref:n,className:A(te(r),r?.className),children:t}):null);q(({icon:e,title:t,content:r,...n},o)=>j.jsxs(re,{...n,ref:o,className:A("c-astro-topic-card",n?.className),children:[j.jsxs(ne,{alignItems:"center",mb:"s",children:[j.jsx(H,{mr:"xs",name:e,size:21}),j.jsx(se,{as:"h3",size:"xs",children:t})]}),j.jsx(ie,{size:"m",children:r})]})),q(({as:e="article",children:t,className:r,clickable:n=!1,...o},a)=>j.jsx(ne,{...o,as:e,ref:a,justifyContent:o?.justifyContent||"between",className:A("c-card-container",{"c-card-container--clickable":n},r),children:t})),q(({index:e,textTitleProps:t,headingTitleProps:r,titleIconProps:n,isOpen:o,contentWithBorder:a=!0,contentProps:s,iconProps:i,btnProps:c,children:l,isDropdown:d,...u},p)=>j.jsxs(re,{...u,className:A("c-collapse js-collapse",{"c-collapse--dropdown":d}),ref:p,children:[j.jsxs(re,{...c,as:"button",type:"button",id:`c-collapse__button-${e}`,pl:c?.pl||"l",py:c?.py||"xxs",className:A("c-collapse__button js-collapse__button",c?.className),"aria-controls":`c-collapse__content-${e}`,"aria-expanded":o||"false",children:[n?j.jsxs(ne,{alignItems:"center",children:[j.jsx(H,{size:34,mr:"xs",...n}),t?.children]}):r?j.jsx(se,{as:"h3",size:"xxs",color:"black",...r,children:r?.children}):j.jsx(ie,{size:"l",color:"black",...t,children:t?.children}),j.jsx(H,{name:"chevron",size:16,...i,className:A("c-collapse__icon",i?.className)})]}),j.jsx(ne,{...s,direction:"column",p:s?.p||"xl",id:`c-collapse__content-${e}`,"aria-hidden":o?!o:"true","aria-labelledby":`c-collapse__button-${e}`,className:A("c-collapse__content",{"c-collapse__content--with-border":a}),role:"tabpanel",children:l})]}));const le=k.forwardRef(({href:e,children:t,...r},n)=>j.jsx("a",{href:e,className:A("c-skip-link",ee(r),r?.className),ref:n,...r,children:t}));le.displayName="SkipLink";const de=["20mnToken","20mnUserDataLayer","20mnTutorial","20mnUserInfo","20mnUserSession","_vfa","_vfb","_vfz","atauthority","atid","atidvisitor","atidx","atuserid","didomi_dcs","didomi_token","euconsent-v2","osano_consentmanager","osano_consentmanager_expdate","osano_consentmanager_uuid","SESSIDSF","SESSIDSFRM","TCPID","TSTD","ei_client_id","_biz_pendingA","_biz_flagsA","_biz_uid","_biz_nA","ajs_group_id","ajs_user_id","ajs_anonymous_id","TSNGUID","_mkto_trk","JSESSIONID","staging-login_idle_session_timeout","login_idle_session_timeout","lang","auth_expiration_timestamp","sticky-scorecast-business-chat","__utna","__utnv","auth_token","PHPSESSID","sticky-scorecast-business-app","sticky-scorecast-prod-app","realm","_pcid","AFFICHE_C"],ue=["consent_validity_date","20mn-articlesSaved","20mnBreakingNews","20mn-visits-content","data-preferences-consent","forward-disable-audience-measure"],pe=["com.batch.sessionId"],me=()=>{let e,r;window.cmpVariables={consentEventsCount:0},window.didomiEventListeners.push({event:"consent.changed",listener:()=>{if(document.location.href.includes("webview_player"))return;const n=(e=>{const t=document.cookie.split(";").filter(t=>-1!==t.indexOf(e))[0];return t?t.split("=")[1]:"{}"})("euconsent-v2"),o=window.cmpVariables.consentEventsCount>0||!!n,a=window.sessionStorage.getItem("cmpModal");o&&!a&&(e&&clearTimeout(e),r&&clearTimeout(r),e=setTimeout(()=>{const e=window.Didomi.getCurrentUserStatus(),r=!e.purposes.cookies?.enabled,n=!e.purposes["publicite-9qedKJMX"]?.enabled,o=!e.purposes["mesureda-6qyqaZXC"]?.enabled;(r||n||o)&&(s(de),d(ue),c(pe),u()),window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled||localStorage.setItem(t,"false")},150),r=setTimeout(()=>{window.location.reload()},window.layout===ae.DESKTOP?450:550)),a&&window.sessionStorage.removeItem("cmpModal"),window.cmpVariables.consentEventsCount+=1}})},fe=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),r=e.getCurrentUserStatus(),n=r?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(e=>{const t=e.querySelector(".cmp-placeholder"),o=e.querySelector(".embed-wrapper");if(t instanceof Element&&o instanceof Element){if(!n||!(r?.vendors[e.getAttribute("data-vendor")||""]?.enabled??1))return t.classList.remove("u-hidden"),void o.classList.add("u-hidden");t.classList.add("u-hidden"),o.classList.remove("u-hidden"),o.querySelectorAll("[data-src]").forEach(e=>{const t=e.getAttribute("data-src");t&&(e.setAttribute("src",t),e.removeAttribute("data-src"))})}})})},he=()=>{document.addEventListener("click",e=>{const t=e.target;if(!(t instanceof HTMLElement&&t.closest(".cmp-button")))return;e.preventDefault();const r=t.closest("div.embed-placeholder"),n=r instanceof HTMLElement?r.dataset.vendor??void 0:void 0;window.didomiOnReady.push(()=>{(e=>{const t=window.Didomi.openCurrentUserStatusTransaction();t.enablePurpose("activation-gGierZpp"),e&&t.enableVendor(e),window.sessionStorage.setItem("cmpModal","accepted"),t.commit(),fe()})(n)}),r&&r.focus()})};let ye=null;const ge=()=>{window.pa?.privacy?.setMode("exempt"),window.Didomi.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled&&window.pa?.privacy?.setMode("optin")},be=()=>{const{hostname:e}=window.location;if(window.__webo_withdraw_fired)return;window.__webo_withdraw_fired=!0,window.wamid="10069";const t=navigator.sendBeacon;navigator.sendBeacon=function(r,n){const o=t.call(this,r,n);try{const t="string"==typeof r?r:r.toString(),s="string"==typeof n?JSON.parse(n):null;return o&&t.includes("consent/withdraw")&&s?.affiche_c&&(a({name:"AFFICHE_C",domain:e.substring(e.indexOf("."))}),a({name:"AFFICHE_C"}),a({name:"AFFICHE_C",domain:e})),!0}catch(e){return console.error("Error while withdrawing consent from Weborama",e),!1}},(e=>{const t=document.createElement("script");if(t.type="text/javascript","async"===e.load?t.async=!0:"defer"===e.load&&(t.defer=!0),"src"in e&&e.src){const r=eval;t.src=e.src?.replace(/%(.*?)%/,(e,t)=>r(t))}e.name&&(performance.mark(`20mn:${e.name}:Start`),t.onerror=r=>{performance.mark(`20mn:${e.name}:Error`),console.error(`Script failed to load: ${e.name}${t.src?` (${t.src})`:""}`,r)}),(e.name||e.onLoad)&&(t.onload=()=>{e.name&&performance.mark(`20mn:${e.name}:End`),e.onLoad&&e.onLoad()}),"text"in e&&e.text&&(t.innerHTML=e.text),e.id&&(t.id=e.id),e.dataAttributes&&Object.entries(e.dataAttributes).forEach(([e,r])=>{var n;t.setAttribute(`data-${n=e,n.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}`,r)}),"head"===e.target&&document.head?document.head.appendChild(t):document.body?document.body.appendChild(t):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(t))})({name:"weborama-consent-withdrawal",src:"https://cstatic.weborama.fr/js/wamf/consent_withdrawal.min.js",load:"async"})},we=()=>{const e=window.Didomi.getCurrentUserStatus();return{weborama:e.vendors.weborama?.enabled?1:0,vendor366:e.vendors["366sas-U9KhdfCC"]?.enabled?1:0,firstId:e.vendors["firstid-gTwRBEyP"]?.enabled?1:0}},ve=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{ye=we()}),window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{(()=>{const e=we();if(((e,t)=>!!t&&e.weborama===t.weborama&&e.vendor366===t.vendor366&&e.firstId===t.firstId)(e,ye))return;const t=ye;ye=e,t&&((e,t)=>1===e.weborama&&0===t.weborama||1===e.vendor366&&0===t.vendor366||1===e.firstId&&0===t.firstId)(t,e)&&be()})()}})},xe=()=>{document.cookie="_pprv=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; SameSite=Lax; Secure","true"!==localStorage.getItem(t)?(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{ge()}),window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{ge()}})):window.pa?.privacy?.setMode("optout"),ve()};window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{let e=new Date;const t=e.getTimezoneOffset();e=new Date(e.getTime()-60*t*1e3);const r=e.toISOString().split("T")[0],n=localStorage.getItem("consent_validity_date");n&&r>n&&(window.Didomi.reset(),localStorage.removeItem("consent_validity_date"),window.disapproveDidomiGTMEvents=!0,s(de),d(ue),c(pe),window.Didomi.notice.show())}),xe(),me(),window.didomiOnReady=window.didomiOnReady||[],fe(),window.didomiEventListeners.push({event:"consent.changed",listener(){fe()}}),he(),window.datalayerInfo?.pageName&&[p.GAME,p.GAME_APP].includes(window.datalayerInfo?.pageName)&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o()),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{const e=document.getElementById("choice-consent");e&&window?.Didomi?.preferences?.show&&e.addEventListener("click",()=>{window.Didomi.preferences.show()})}),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=document.querySelector(".js-rewind-alert");t&&(e.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled?t.classList.add("u-hidden"):t.classList.remove("u-hidden"))}),setTimeout(()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{e.getCurrentUserStatus().purposes.cookies?.enabled||s(de)})},3e4),window.didomiOnReady.push(t=>{const r=(e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):void 0})(e);if(void 0!==r){if(l(e),!r)return;const n=t.openCurrentUserStatusTransaction();n.disablePurpose("mesureda-6qyqaZXC"),n.disableVendor("cxense"),n.commit()}})}();
10
+ */var j=(g||(g=1,b.exports=function(){if(y)return w;y=1;var e=S(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,r,s){var i,c={},l=null,d=null;for(i in void 0!==s&&(l=""+s),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(d=r.ref),r)n.call(r,i)&&!a.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps)for(i in r=e.defaultProps)void 0===c[i]&&(c[i]=r[i]);return{$$typeof:t,type:e,key:l,ref:d,props:c,_owner:o.current}}return w.Fragment=r,w.jsx=s,w.jsxs=s,w}()),b.exports),k=m(S());function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var N,O={exports:{}};var C,$=(N||(N=1,C=O,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var a in r)e.call(r,a)&&r[a]&&(o=n(o,a));return o}function n(e,t){return t?e?e+" "+t:e+t:e}C.exports?(t.default=t,C.exports=t):window.classNames=t}()),O.exports);const A=E($),R={primary:{ultramarine:{value:"#4742FF",key:"{color.primary.ultramarine}"},"ultramarine-light":{value:"#6B72FB",key:"{color.primary.ultramarine-light}"}},secondary:{orange:{value:"#FA9917",key:"{color.secondary.orange}"},yellow:{value:"#F2E500",key:"{color.secondary.yellow}"},green:{value:"#6A9F4F",key:"{color.secondary.green}"},purple:{value:"#AE6BA2",key:"{color.secondary.purple}"},red:{value:"#DC0E19",key:"{color.secondary.red}"},scarlet:{value:"#FF3F3F",key:"{color.secondary.scarlet}"},blue:{value:"#0000FF",key:"{color.secondary.blue}"},"blue-grey":{value:"#253548",key:"{color.secondary.blue-grey}"},"blue-dark":{value:"#16202B",key:"{color.secondary.blue-dark}"},pink:{value:"#EF2A82",key:"{color.secondary.pink}"},sponsoring:{value:"#FFF5F1",key:"{color.secondary.sponsoring}"},"blue-light":{value:"#D4ECFB",key:"{color.secondary.blue-light}"},"blue-ice":{value:"#F0F4F8",key:"{color.secondary.blue-ice}"}},greyscale:{black:{value:"#000",key:"{color.greyscale.black}"},white:{value:"#FFF",key:"{color.greyscale.white}"},"grey-50":{value:"#FFFFFE",key:"{color.greyscale.grey-50}"},"grey-100":{value:"#F7F7F7",key:"{color.greyscale.grey-100}"},"grey-200":{value:"#DDD",key:"{color.greyscale.grey-200}"},"grey-300":{value:"#898A8C",key:"{color.greyscale.grey-300}"},"grey-400":{value:"#6A6A6A",key:"{color.greyscale.grey-400}"},"grey-500":{value:"#484848",key:"{color.greyscale.grey-500}"},"grey-600":{value:"#2F3134",key:"{color.greyscale.grey-600}"},"grey-700":{value:"#181A1E",key:"{color.greyscale.grey-700}"},"grey-800":{value:"#101D25",key:"{color.greyscale.grey-800}"},"grey-900":{value:"#0F1115",key:"{color.greyscale.grey-900}"}},status:{warning:{value:"#FA9917",key:"{color.status.warning}"},error:{value:"#DC0E19",key:"{color.status.error}"},success:{value:"#6A9F4F",key:"{color.status.success}"}},theme:{conso:{value:"#ff8689",key:"{color.theme.conso}"},default:{value:"#4742ff",key:"{color.theme.default}"},entertainment:{value:"#9d61ff",key:"{color.theme.entertainment}"},hightech:{value:"#8f98a9",key:"{color.theme.hightech}"},media:{value:"#4742ff",key:"{color.theme.media}"},"partenaires-externes":{value:"#4742ff",key:"{color.theme.partenaires-externes}"},partner:{value:"#fd8000",key:"{color.theme.partner}"},planet:{value:"#00b482",key:"{color.theme.planet}"},production:{value:"#c5be00",key:"{color.theme.production}"},publicommunique:{value:"#c5be00",key:"{color.theme.publicommunique}"},publishing:{value:"#c5be00",key:"{color.theme.publishing}"},sport:{value:"#6398ab",key:"{color.theme.sport}"},tempo:{value:"#ecb200",key:"{color.theme.tempo}"},"vie-pro":{value:"#b49b56",key:"{color.theme.vie-pro}"},infolocale:{value:"#4742ff",key:"{color.theme.infolocale}"},gaming:{value:"#fa6ee5",key:"{color.theme.gaming}"},jeux:{value:"#4742ff",key:"{color.theme.jeux}"}}},T={base:{value:"Arial",key:"{font-family.base}"},obviously:{value:"'Obviously', sans-serif",key:"{font-family.obviously}"},"source-serif-pro":{value:"'Source Serif Pro', serif",key:"{font-family.source-serif-pro}"}};Object.keys(T).filter(e=>!["base"].includes(e)),Array.from({length:20},(e,t)=>`75056AR${(t+1).toString().padStart(2,"0")}`),Array.from({length:16},(e,t)=>`13055AR${(t+1).toString().padStart(2,"0")}`),Array.from({length:9},(e,t)=>`69123AR0${t+1}`);const I=["extreme-gauche","parti-revolutionnaire-communiste","lutte-ouvriere","npa","parti-des-travailleurs","association-nationale-communistes","france-insoumise","divers-extreme-gauche","gauche","parti-communiste-francais","parti-des-citoyens-europeens","nouvelle-donne","parti-socialiste","parti-radical-de-gauche","nouveau-front-populaire","union-gauche","divers-gauche","ecologie","europe-ecologie-les-verts","equinoxe","ecologie-positive","ecologie-au-centre","ecologistes","les-ecologistes","centristes","renaissance","ensemble","modem","horizons","udi","union-centre","divers-centre","droite","les-republicains","droite-souverainiste","union-droite","divers-droite","extreme-droite","rassemblement-national","reconquete","les-patriotes","rester-libre","les-nationalistes","les-republicains-union-extreme-droite","udr","union-extreme-droite","divers-extreme-droite","divers","changement-citoyen","decidons-nous-meme","parti-animaliste","parti-pirate","union-des-democrates-musulmans","ecologie-politique","federation-citoyenne","republique-souveraine","resistons","france-libre","la-ruche-citoyenne","defendre-les-enfants","democratie-representative","europe-democratie-esperanto","union-populaire-republicaine","regionalistes"],L={alignItems:["align-items"],alignContent:["align-content"],justifyContent:["justify-content"],gap:["gap"],gapX:["row-gap"],gapY:["col-gap"],inline:["inline"],direction:["direction"],wrap:["wrap"],flexGrow:["flex-grow"]},P={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},V={radius:["border-radius"]},F={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},D={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...F},M={...D,borderColor:["border-color"],bg:["background-color"],color:["color"],...V},z={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};function q(e){return k.forwardRef(e)}Object.keys(R.primary),Object.keys(R.secondary),Object.keys(R.greyscale),Object.keys(R.status),Object.keys(R.theme);const B=q(({as:e="button",variant:t,color:r=("ghost"===t||"link"===t?void 0:"primary"),children:n,iconProps:o,counter:a,isCentered:s=!1,isSquare:i=!1,isFullWidth:c=!1,isLoading:l=!1,size:d,isCloseWithProgress:u,closeProgressColor:p,...m},f)=>{const h={...m?.style,...p&&{"--button-close-progress-color":`var(--color-theme-${p})`}};return j.jsxs(ne,{...m,style:h,as:e,ref:f,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===t||"a"===e,radius:i?"0":void 0,className:A("c-btn",{[`c-btn--${r}`]:r,[`c-btn--${t}`]:t,[`c-btn--${d}`]:d,"c-btn--is-centered":s,"c-btn--is-loading":l,"c-btn--full-width":c},m?.className),children:[o&&j.jsx(H,{...o}),n,(0===a||a)&&j.jsx(ne,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:a}),u&&j.jsx("div",{className:"c-btn__close-progress"})]})});B.displayName="Button",q(({text:e,color:t="black",thickness:r="thin",...n},o)=>{const a=j.jsx(oe,{bg:t,align:"center",className:A("c-divider__line",{[`c-divider__line--${r}`]:"thin"!==r})});return j.jsx(ne,{...n,ref:o,className:A("c-divider",{"c-divider--has-text":!!e},n?.className),children:e?j.jsxs(j.Fragment,{children:[a,j.jsx(oe,{px:"xxs-2",className:"c-divider__text",children:j.jsx(ie,{size:"xxs",color:t,textTransform:"uppercase",children:e})}),a]}):a})}),q(({color:e="black",thickness:t="thin",...r},n)=>j.jsx(re,{...r,ref:n,bg:e,className:A("c-divider-vertical",{[`c-divider-vertical--${t}`]:"thin"!==t},r?.className)}));const H=q(({name:e,size:t=28,isRounded:r=!1,border:n,rotation:o,svgTitle:a,color:s,...i},c)=>{const l=Array.isArray(t)?t?.[0]:t,d=Array.isArray(t)?t?.[1]:t,u=!a,p=(e=>"string"==typeof e&&I.includes(e))(s);return j.jsx(re,{as:"span",...i,ref:c,color:p?void 0:s,className:A("c-icon",{[`c-icon--has-border-${n}`]:n,"c-icon--is-rounded":r,[`c-icon--${o}`]:o,[`c-icon--${s}`]:p},i?.className),children:j.jsxs("svg",{width:l,height:d,role:"img","aria-label":a||void 0,"aria-hidden":u?"true":void 0,children:[a&&j.jsx("title",{children:a}),"circle"===e?j.jsx("circle",{}):j.jsx("use",{xlinkHref:`#${e}`})]})})}),U=q(({iconProps:e,as:t="button",variant:r,color:n,size:o,hasShadow:a,isLoading:s,isFloating:i,...c},l)=>j.jsx(ne,{...c,as:t,ref:l,alignItems:"center",justifyContent:"center",className:A("c-icon-btn",{[`c-icon-btn--${r}`]:r,[`c-icon-btn--${n}`]:n,[`c-icon-btn--${o}`]:o,"c-icon-btn--has-shadow":a,"c-icon-btn--is-loading":s,"c-icon-btn--is-floating":i},c?.className),children:j.jsx(H,{...e})}));U.displayName="IconButton",q(({id:e,className:t,color:r,required:n,label:o,icon:a,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:c,variant:l,msg:d,containerProps:u,isRounded:p,isTransparent:m,isLarge:f,children:h,hint:y,error:g,...b},w)=>{const v=a&&j.jsx(B,{className:A("c-input-container__icon",`color-${r||"black"}`),iconProps:{name:a,size:18},variant:"ghost",...c}),x=a&&j.jsx(H,{className:"c-input-container__icon",name:a,size:18,color:r||"black"});return j.jsxs(ne,{direction:"column",...u,className:A("c-input",u?.className,{[`c-input--${l}`]:l}),children:[o&&j.jsxs("label",{htmlFor:e,className:"c-input__label",children:[o,n&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),y&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:y}),j.jsxs(ne,{gap:a&&h?"xs":void 0,className:A("c-input-container",{"c-input-container--rounded":p,"c-input-container--transparent":m,"c-input-container--large":f,[`c-input-container--${s}`]:a||h}),children:[(a||h)&&j.jsxs(ne,{gap:"s",children:[i?v:x,h]}),j.jsx("input",{id:e,className:A("c-input-container__input",t),required:n,ref:w,"aria-describedby":[y?`${e}-hint`:null,g?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...b})]}),d?.length&&j.jsx(ne,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:d.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(ne,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(H,{...e}),j.jsx(ie,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),g&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:g})]})});const G=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=W({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[r,n])=>{const o=W({className:e.className,defaultModifier:r,propValue:n});return o&&t.push(o),t},[])},W=e=>{if(void 0!==e.propValue){if("boolean"!=typeof e.propValue){const t=(e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase())("number"==typeof e.propValue?e.propValue.toString():e.propValue);return e.className?`${e.className}-${t}@${e.defaultModifier}`:`${t}@${e.defaultModifier}`}if(!e.className)throw new Error('It is necessary to define the argument "className" !');return`${e.className}@${e.defaultModifier}`}},Y=({basis:e,shrink:t,grow:r,...n})=>A(...G({propValue:e,className:"basis"}),...G({propValue:t,className:"shrink"}),...G({propValue:r,className:"grow"}),J(n)),X=({inline:e=!1,direction:t,wrap:r,...n})=>A(...G({propValue:e,className:e?"inline-flex":"flex"}),...G({propValue:t,className:"direction"}),...G({propValue:r}),Z(n)),Z=e=>A(...G({propValue:e.alignItems,className:"items"}),...G({propValue:e.alignContent,className:"content"}),...G({propValue:e.justifyContent,className:"justify"}),...G({propValue:e.gap,className:"gap"}),...G({propValue:e.gapX,className:"gap-x"}),...G({propValue:e.gapY,className:"gap-y"}),...G({propValue:e.flexGrow,className:"grow"})),J=e=>A(...G({propValue:e.align,className:"self"})),K=e=>"object"==typeof e.props?Object.keys(e.props).reduce((t,r)=>(e.systemPropNames.includes(r)||(t[r]=e.props[r]),t),{}):{},Q=e=>A(Object.entries(e).filter(([e])=>Object.keys(D).includes(e)).reduce((e,[t,r])=>(e.push(...G({className:t,propValue:r})),e),[])),ee=e=>A(Q(e),(e=>A({[`bg-${e.bg}`]:e.bg,[`color-${e.color}`]:e.color,[`border-color-${e.borderColor}`]:e.borderColor}))(e),(e=>A(Object.entries(e).filter(([e])=>Object.keys(V).includes(e)).reduce((e,[t,r])=>(e.push(...G({className:t,propValue:r})),e),[])))(e)),te=({textAlign:e,weight:t,textTransform:r,textDecoration:n,italic:o,fontFamily:a,whiteSpace:s})=>A(G({className:"text",propValue:e}),G({className:"font-weight",propValue:t}),{[`white-space-${s}`]:!!s,[`text-transform-${r}`]:!!r,[`text-decoration-${n}`]:!!n,"text-italic":!!o,[`font-${a}`]:!!a}),re=q(({as:e="div",children:t,...r},n)=>j.jsx(e,{...K({props:r,systemPropNames:Object.keys(M)}),ref:n,className:A(ee(r),r?.className),children:t}));re.displayName="Box";const ne=q(({as:e="div",children:t,...r},n)=>j.jsx(re,{...K({props:r,systemPropNames:Object.keys(L)}),as:e,ref:n,className:A(X(r),r?.className),children:t})),oe=q(({as:e="div",children:t,...r},n)=>j.jsx(re,{...K({props:r,systemPropNames:Object.keys(P)}),as:e,ref:n,className:A(Y(r),r?.className),children:t}));q(({as:e="a",children:t,color:r,buttonColor:n,size:o,variant:a,weight:s,whiteSpace:i,tabIsSelected:c,tabVariant:l,tabColor:d,defaultColor:u="ultramarine",isUnderlined:p,...m},f)=>{if((a||n)&&r)throw new Error("You can't use the color prop together with the variant or buttonColor prop");const h=!(!a&&!n),y=l||d?A("c-tab",{[`c-tab--${l}`]:l,[`c-tab--${d}`]:d,"c-tab--selected":c,"c-tab--unselected":!c},te({weight:s,whiteSpace:i}),m?.className):A("c-link",{"c-btn":h&&!r,[`c-btn--${n}`]:n&&!r,[`c-btn--${a}`]:a&&!r},te({weight:s,whiteSpace:i}),G({className:"text",propValue:o}),{"c-link--is-underlined":p},m?.className);return j.jsx(re,{...m,as:e,ref:f,color:l||d||h?void 0:r||("inherit"===u?void 0:u),className:y,children:t})}),q(({variant:e,progressColor:t="ultramarine"},r)=>j.jsx(re,{ref:r,bg:"grey-100",className:A("c-progress",{[`c-progress--${e}`]:e}),children:j.jsx(re,{className:"c-progress__bar",bg:t,style:{width:"0%"}})})),q(({id:e,className:t,required:r,label:n,defaultValue:o,options:a,placeholder:s,containerProps:i,variant:c="default",icon:l,isLarge:d,hint:u,error:p,...m},f)=>j.jsxs(ne,{...i,ref:f,direction:"column",className:A("c-select",i?.className),children:[n&&j.jsxs("label",{htmlFor:e,className:"c-select__label",children:[n,r&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),u&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:u}),j.jsxs("div",{className:"c-select__container",children:[l&&j.jsx(H,{className:"c-select__icon",name:l,size:18}),j.jsx(H,{className:`c-select__caret c-select__caret--${c}`,name:"arrow",size:12}),j.jsxs("select",{id:e,className:A("c-select__select",`c-select__select--${c}`,{"c-select__select--has-icon":!!l},{"c-select__select--large":d},Q(m),t),required:r,defaultValue:o||a.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[u?`${e}-hint`:null,p?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...K({props:m,systemPropNames:Object.keys(F)}),children:[s&&j.jsx("option",{value:"",disabled:!0,hidden:!0,children:s}),a.map(e=>j.jsx("option",{value:e.value,children:e.title},e.value))]})]}),p&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:p})]}));var ae=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(ae||{});q(({layout:e,children:t,itemsGap:r,hasSpaceAroundButtons:n=!1,buttonsColor:o,buttonsSize:a,colorVariant:s,sliderVariant:i="default",auto:c=!1,delay:l=3e3,...d},u)=>j.jsxs(re,{...d,ref:u,className:A("c-slider js-navigation-container",d?.className),"data-slider-variant":i,"data-slider-auto":c,"data-slider-delay":l,children:[j.jsx(re,{className:"c-slider__viewport js-navigation-container__list",children:j.jsx(ne,{className:"c-slider__list",alignItems:"center",gap:r,children:t})}),e===ae.DESKTOP&&j.jsx(re,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>j.jsx(re,{pr:n&&"previous"===e&&("translucent"===o&&"small"===a?"m":"l")||void 0,pl:n&&"next"===e&&("translucent"===o&&"small"===a?"m":"l")||void 0,className:A(`c-slider__button-container c-slider__button-container--${e} o-nav-button o-nav-button--${e}-button`,{"c-slider__button-container--has-space-around":n},{[`c-slider__button-container--${i}`]:i}),children:j.jsx(U,{color:o,size:a,..."videos"===i&&{p:"m"},iconProps:{name:"chevron",size:"videos"===i?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),q(({as:e="a",id:t,variant:r="primary",size:n,children:o,...a},s)=>j.jsx(re,{...a,as:"span"===r?"span":e,href:"span"===r?void 0:a?.href,ref:s,className:A("c-tags",`c-tags--${r}`,{[`c-tags--${n}`]:n},a?.className),"data-id":t,px:a?.px,children:o})),q(({id:e,required:t,label:r,variant:n,msg:o,rows:a=5,containerProps:s,hint:i,error:c,...l},d)=>j.jsxs(ne,{direction:"column",ref:d,...s,className:A("c-textarea",s?.className),children:[r&&j.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[r,t&&j.jsxs(ie,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&j.jsx(ie,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),j.jsx(ne,{className:"c-textarea-container",children:j.jsx("textarea",{rows:a,placeholder:"Votre message...",required:t,...l,id:e,name:e,className:A("c-textarea-container__input",{[`c-textarea-container__input--${n}`]:n,"c-textarea-container__input--hint":!!i,"c-textarea-container__input--error":!!c},l?.className),"aria-describedby":[i?`${e}-hint`:null,c?`${e}-error`:null].filter(Boolean).join(" ")||void 0})}),o?.length&&j.jsx(ne,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:o.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(ne,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(H,{...e}),j.jsx(ie,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),c&&j.jsx(ie,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:c})]}));const se=q(({as:e="h1",size:t,children:r,...n},o)=>j.jsx(ce,{...n,as:e,ref:o,className:A(G({className:"heading",propValue:t}),n?.className),children:r})),ie=q(({as:e="p",size:t,highlighted:r,children:n,...o},a)=>j.jsx(ce,{as:r?"span":e,bg:r?"sponsoring":o.bg,p:r?"xxs":o.p,color:r?"grey-800":o.color,...o,ref:a,className:A(G({className:"text",propValue:t}),{"text-highlighted":r},o?.className),children:n})),ce=q(({as:e="p",children:t,...r},n)=>t&&t.toString().length||r?.dangerouslySetInnerHTML?j.jsx(re,{...K({props:r,systemPropNames:Object.keys(z)}),as:e,ref:n,className:A(te(r),r?.className),children:t}):null);q(({icon:e,title:t,content:r,...n},o)=>j.jsxs(re,{...n,ref:o,className:A("c-astro-topic-card",n?.className),children:[j.jsxs(ne,{alignItems:"center",mb:"s",children:[j.jsx(H,{mr:"xs",name:e,size:21}),j.jsx(se,{as:"h3",size:"xs",children:t})]}),j.jsx(ie,{size:"m",children:r})]})),q(({as:e="article",children:t,className:r,clickable:n=!1,...o},a)=>j.jsx(ne,{...o,as:e,ref:a,justifyContent:o?.justifyContent||"between",className:A("c-card-container",{"c-card-container--clickable":n},r),children:t})),q(({index:e,textTitleProps:t,headingTitleProps:r,titleIconProps:n,isOpen:o,contentWithBorder:a=!0,contentProps:s,iconProps:i,btnProps:c,children:l,isDropdown:d,...u},p)=>j.jsxs(re,{...u,className:A("c-collapse js-collapse",{"c-collapse--dropdown":d}),ref:p,children:[j.jsxs(re,{...c,as:"button",type:"button",id:`c-collapse__button-${e}`,pl:c?.pl||"l",py:c?.py||"xxs",className:A("c-collapse__button js-collapse__button",c?.className),"aria-controls":`c-collapse__content-${e}`,"aria-expanded":o||"false",children:[n?j.jsxs(ne,{alignItems:"center",children:[j.jsx(H,{size:34,mr:"xs",...n}),t?.children]}):r?j.jsx(se,{as:"h3",size:"xxs",color:"black",...r,children:r?.children}):j.jsx(ie,{size:"l",color:"black",...t,children:t?.children}),j.jsx(H,{name:"chevron",size:16,...i,className:A("c-collapse__icon",i?.className)})]}),j.jsx(ne,{...s,direction:"column",p:s?.p||"xl",id:`c-collapse__content-${e}`,"aria-hidden":o?!o:"true","aria-labelledby":`c-collapse__button-${e}`,className:A("c-collapse__content",{"c-collapse__content--with-border":a}),role:"tabpanel",children:l})]}));const le=k.forwardRef(({href:e,children:t,...r},n)=>j.jsx("a",{href:e,className:A("c-skip-link",ee(r),r?.className),ref:n,...r,children:t}));le.displayName="SkipLink";const de=["20mnToken","20mnUserDataLayer","20mnTutorial","20mnUserInfo","20mnUserSession","_vfa","_vfb","_vfz","atauthority","atid","atidvisitor","atidx","atuserid","didomi_dcs","didomi_token","euconsent-v2","osano_consentmanager","osano_consentmanager_expdate","osano_consentmanager_uuid","SESSIDSF","SESSIDSFRM","TCPID","TSTD","ei_client_id","_biz_pendingA","_biz_flagsA","_biz_uid","_biz_nA","ajs_group_id","ajs_user_id","ajs_anonymous_id","TSNGUID","_mkto_trk","JSESSIONID","staging-login_idle_session_timeout","login_idle_session_timeout","lang","auth_expiration_timestamp","sticky-scorecast-business-chat","__utna","__utnv","auth_token","PHPSESSID","sticky-scorecast-business-app","sticky-scorecast-prod-app","realm","_pcid","AFFICHE_C"],ue=["consent_validity_date","20mn-articlesSaved","20mnBreakingNews","20mn-visits-content","data-preferences-consent","forward-disable-audience-measure"],pe=["com.batch.sessionId"],me=()=>{let e,r;window.cmpVariables={consentEventsCount:0},window.didomiEventListeners.push({event:"consent.changed",listener:()=>{if(document.location.href.includes("webview_player"))return;const n=(e=>{const t=document.cookie.split(";").filter(t=>-1!==t.indexOf(e))[0];return t?t.split("=")[1]:"{}"})("euconsent-v2"),o=window.cmpVariables.consentEventsCount>0||!!n,a=window.sessionStorage.getItem("cmpModal");o&&!a&&(e&&clearTimeout(e),r&&clearTimeout(r),e=setTimeout(()=>{const e=window.Didomi.getCurrentUserStatus(),r=!e.purposes.cookies?.enabled,n=!e.purposes["publicite-9qedKJMX"]?.enabled,o=!e.purposes["mesureda-6qyqaZXC"]?.enabled;(r||n||o)&&(s(de),d(ue),c(pe),u()),window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled||localStorage.setItem(t,"false")},150),r=setTimeout(()=>{window.location.reload()},window.layout===ae.DESKTOP?450:550)),a&&window.sessionStorage.removeItem("cmpModal"),window.cmpVariables.consentEventsCount+=1}})},fe=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),r=e.getCurrentUserStatus(),n=r?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(e=>{const t=e.querySelector(".cmp-placeholder"),o=e.querySelector(".embed-wrapper");if(t instanceof Element&&o instanceof Element){if(!n||!(r?.vendors[e.getAttribute("data-vendor")||""]?.enabled??1))return t.classList.remove("u-hidden"),void o.classList.add("u-hidden");t.classList.add("u-hidden"),o.classList.remove("u-hidden"),o.querySelectorAll("[data-src]").forEach(e=>{const t=e.getAttribute("data-src");t&&(e.setAttribute("src",t),e.removeAttribute("data-src"))})}})})},he=()=>{document.addEventListener("click",e=>{const t=e.target;if(!(t instanceof HTMLElement&&t.closest(".cmp-button")))return;e.preventDefault();const r=t.closest("div.embed-placeholder"),n=r instanceof HTMLElement?r.dataset.vendor??void 0:void 0;window.didomiOnReady.push(()=>{(e=>{const t=window.Didomi.openCurrentUserStatusTransaction();t.enablePurpose("activation-gGierZpp"),e&&t.enableVendor(e),window.sessionStorage.setItem("cmpModal","accepted"),t.commit(),fe()})(n)}),r&&r.focus()})};let ye=null;const ge=()=>{window.pa?.privacy?.setMode("exempt"),window.Didomi.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled&&window.pa?.privacy?.setMode("optin")},be=()=>{const{hostname:e}=window.location;if(window.__webo_withdraw_fired)return;window.__webo_withdraw_fired=!0,window.wamid="10069";const t=navigator.sendBeacon;navigator.sendBeacon=function(r,n){const o=t.call(this,r,n);try{const t="string"==typeof r?r:r.toString(),s="string"==typeof n?JSON.parse(n):null;return o&&t.includes("consent/withdraw")&&s?.affiche_c&&(a({name:"AFFICHE_C",domain:e.substring(e.indexOf("."))}),a({name:"AFFICHE_C"}),a({name:"AFFICHE_C",domain:e})),!0}catch(e){return console.error("Error while withdrawing consent from Weborama",e),!1}},(e=>{const t=document.createElement("script");if(t.type="text/javascript","async"===e.load?t.async=!0:"defer"===e.load&&(t.defer=!0),"src"in e&&e.src){const r=eval;t.src=e.src?.replace(/%(.*?)%/,(e,t)=>r(t))}e.name&&(performance.mark(`20mn:${e.name}:Start`),t.onerror=r=>{performance.mark(`20mn:${e.name}:Error`),console.error(`Script failed to load: ${e.name}${t.src?` (${t.src})`:""}`,r)}),(e.name||e.onLoad)&&(t.onload=()=>{e.name&&performance.mark(`20mn:${e.name}:End`),e.onLoad&&e.onLoad()}),"text"in e&&e.text&&(t.innerHTML=e.text),e.id&&(t.id=e.id),e.dataAttributes&&Object.entries(e.dataAttributes).forEach(([e,r])=>{var n;t.setAttribute(`data-${n=e,n.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}`,r)}),"head"===e.target&&document.head?document.head.appendChild(t):document.body?document.body.appendChild(t):(window.bodyScripts=window.bodyScripts||[],window.bodyScripts.push(t))})({name:"weborama-consent-withdrawal",src:"https://cstatic.weborama.fr/js/wamf/consent_withdrawal.min.js",load:"async"})},we=()=>{const e=window.Didomi.getCurrentUserStatus();return{weborama:e.vendors.weborama?.enabled?1:0,vendor366:e.vendors["366sas-U9KhdfCC"]?.enabled?1:0}},ve=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{ye=we()}),window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{(()=>{const e=we();if(((e,t)=>!!t&&e.weborama===t.weborama&&e.vendor366===t.vendor366)(e,ye))return;const t=ye;ye=e,t&&((e,t)=>1===e.weborama&&0===t.weborama||1===e.vendor366&&0===t.vendor366)(t,e)&&be()})()}})},xe=()=>{document.cookie="_pprv=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; SameSite=Lax; Secure","true"!==localStorage.getItem(t)?(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{ge()}),window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{ge()}})):window.pa?.privacy?.setMode("optout"),ve()};window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{let e=new Date;const t=e.getTimezoneOffset();e=new Date(e.getTime()-60*t*1e3);const r=e.toISOString().split("T")[0],n=localStorage.getItem("consent_validity_date");n&&r>n&&(window.Didomi.reset(),localStorage.removeItem("consent_validity_date"),window.disapproveDidomiGTMEvents=!0,s(de),d(ue),c(pe),window.Didomi.notice.show())}),xe(),me(),window.didomiOnReady=window.didomiOnReady||[],fe(),window.didomiEventListeners.push({event:"consent.changed",listener(){fe()}}),he(),window.datalayerInfo?.pageName&&[p.GAME,p.GAME_APP].includes(window.datalayerInfo?.pageName)&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o()),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(()=>{const e=document.getElementById("choice-consent");e&&window?.Didomi?.preferences?.show&&e.addEventListener("click",()=>{window.Didomi.preferences.show()})}),window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=document.querySelector(".js-rewind-alert");t&&(e.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled?t.classList.add("u-hidden"):t.classList.remove("u-hidden"))}),setTimeout(()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{e.getCurrentUserStatus().purposes.cookies?.enabled||s(de)})},3e4),window.didomiOnReady.push(t=>{const r=(e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):void 0})(e);if(void 0!==r){if(l(e),!r)return;const n=t.openCurrentUserStatusTransaction();n.disablePurpose("mesureda-6qyqaZXC"),n.disableVendor("cxense"),n.commit()}})}();
11
11
  //# sourceMappingURL=cmp.min.js.map