@20minutes/tyr 2.40.4 → 2.40.5

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=document.cookie.split(";").filter(t=>-1!==t.indexOf(e))[0];return t?t.split("=")[1]:"{}"},s=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("; ")},i=e=>{document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(t=>-1===e.indexOf(t)).forEach(e=>{const{hostname:t}=window.location;s({name:e}),s({name:e,domain:t.substring(t.indexOf(".")+1)}),s({name:e,domain:t.substring(t.indexOf("."))}),s({name:e,domain:`.${t}`})})};var c=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(c||{});c.up,c.down,c.sad,c.heart,c.laughing,c.shock;const l=e=>{for(let t=0;t<sessionStorage.length;t+=1){const r=sessionStorage.key(t);r&&-1===e.indexOf(r)&&sessionStorage.removeItem(r)}},u=e=>{for(let t=0;t<localStorage.length;t+=1){const r=localStorage.key(t);r&&-1===e.indexOf(r)&&localStorage.removeItem(r)}},d=()=>{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.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.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",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,v={exports:{}},b={},w={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"),u=Symbol.for("react.lazy"),d=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 v(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 b=v.prototype=new g;b.constructor=v,m(b,y.prototype),b.isPureReactComponent=!0;var w=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),u=0;u<c;u++)l[u]=arguments[u+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,w(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+":",w(r))for(var l=0;l<r.length;l++){var u=a+O(i=r[l],l);c+=C(i,n,o,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(r),"function"==typeof u)for(r=u.call(r),l=0;!(i=r.next()).done;)c+=C(i=i.value,n,o,u=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 R(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 $={current:null},I={transition:null},T={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:I,ReactCurrentOwner:S};function P(){throw Error("act(...) is not supported in production builds of React.")}return x.Children={map:R,forEach:function(e,t,r){R(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(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=v,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 u=0;u<l;u++)c[u]=arguments[u+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:u,_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 $.current.useCallback(e,t)},x.useContext=function(e){return $.current.useContext(e)},x.useDebugValue=function(){},x.useDeferredValue=function(e){return $.current.useDeferredValue(e)},x.useEffect=function(e,t){return $.current.useEffect(e,t)},x.useId=function(){return $.current.useId()},x.useImperativeHandle=function(e,t,r){return $.current.useImperativeHandle(e,t,r)},x.useInsertionEffect=function(e,t){return $.current.useInsertionEffect(e,t)},x.useLayoutEffect=function(e,t){return $.current.useLayoutEffect(e,t)},x.useMemo=function(e,t){return $.current.useMemo(e,t)},x.useReducer=function(e,t,r){return $.current.useReducer(e,t,r)},x.useRef=function(e){return $.current.useRef(e)},x.useState=function(e){return $.current.useState(e)},x.useSyncExternalStore=function(e,t,r){return $.current.useSyncExternalStore(e,t,r)},x.useTransition=function(){return $.current.useTransition()},x.version="18.3.1",x}function S(){return h||(h=1,w.exports=_()),w.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=document.cookie.split(";").filter(t=>-1!==t.indexOf(e))[0];return t?t.split("=")[1]:"{}"},s=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("; ")},i=e=>{document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(t=>-1===e.indexOf(t)).forEach(e=>{const{hostname:t}=window.location;s({name:e}),s({name:e,domain:t.substring(t.indexOf(".")+1)}),s({name:e,domain:t.substring(t.indexOf("."))}),s({name:e,domain:`.${t}`})})};var c=(e=>(e.down="down",e.heart="heart",e.laughing="laughing",e.sad="sad",e.shock="shock",e.up="up",e))(c||{});c.up,c.down,c.sad,c.heart,c.laughing,c.shock;const l=e=>{for(let t=0;t<sessionStorage.length;t+=1){const r=sessionStorage.key(t);r&&-1===e.indexOf(r)&&sessionStorage.removeItem(r)}},u=e=>{for(let t=0;t<localStorage.length;t+=1){const r=localStorage.key(t);r&&-1===e.indexOf(r)&&localStorage.removeItem(r)}},d=()=>{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.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.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",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,v={exports:{}},b={},w={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"),u=Symbol.for("react.lazy"),d=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 v(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 b=v.prototype=new g;b.constructor=v,m(b,y.prototype),b.isPureReactComponent=!0;var w=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),u=0;u<c;u++)l[u]=arguments[u+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,w(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+":",w(r))for(var l=0;l<r.length;l++){var u=a+O(i=r[l],l);c+=C(i,n,o,u,s)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(r),"function"==typeof u)for(r=u.call(r),l=0;!(i=r.next()).done;)c+=C(i=i.value,n,o,u=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 R(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 I={current:null},T={transition:null},$={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:S};function P(){throw Error("act(...) is not supported in production builds of React.")}return x.Children={map:R,forEach:function(e,t,r){R(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(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=v,x.StrictMode=n,x.Suspense=c,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,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 u=0;u<l;u++)c[u]=arguments[u+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:u,_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=P,x.useCallback=function(e,t){return I.current.useCallback(e,t)},x.useContext=function(e){return I.current.useContext(e)},x.useDebugValue=function(){},x.useDeferredValue=function(e){return I.current.useDeferredValue(e)},x.useEffect=function(e,t){return I.current.useEffect(e,t)},x.useId=function(){return I.current.useId()},x.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},x.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},x.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},x.useMemo=function(e,t){return I.current.useMemo(e,t)},x.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},x.useRef=function(e){return I.current.useRef(e)},x.useState=function(e){return I.current.useState(e)},x.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},x.useTransition=function(){return I.current.useTransition()},x.version="18.3.1",x}function S(){return h||(h=1,w.exports=_()),w.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,v.exports=function(){if(y)return b;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,u=null;for(i in void 0!==s&&(l=""+s),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=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:u,props:c,_owner:o.current}}return b.Fragment=r,b.jsx=s,b.jsxs=s,b}()),v.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,R=(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);function $(e){return k.forwardRef(e)}const I=$(({as:e="button",variant:t="primary",children:r,iconProps:n,counter:o,isCentered:a=!1,isSquare:s=!1,isLoading:i=!1,size:c,isCloseWithProgress:l,closeProgressColor:u,...d},p)=>{const m={...d?.style,...u&&{"--button-close-progress-color":`var(--color-theme-${u})`}};return j.jsxs(re,{...d,style:m,as:e,ref:p,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===t||"a"===e,radius:s?"0":void 0,className:A("c-btn",{[`c-btn--${t}`]:t,[`c-btn--${c}`]:c,"c-btn--is-centered":a,"c-btn--is-loading":i},d?.className),children:[n&&j.jsx(U,{...n}),r,(0===o||o)&&j.jsx(re,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:o}),l&&j.jsx("div",{className:"c-btn__close-progress"})]})});I.displayName="Button",$(({text:e,color:t="black",thickness:r="thin",...n},o)=>{const a=j.jsx(ne,{bg:t,align:"center",className:A("c-divider__line",{[`c-divider__line--${r}`]:"thin"!==r})});return j.jsx(re,{...n,ref:o,className:A("c-divider",{"c-divider--has-text":!!e},n?.className),children:e?j.jsxs(j.Fragment,{children:[a,j.jsx(ne,{px:"xxs-2",className:"c-divider__text",children:j.jsx(se,{size:"xxs",color:t,textTransform:"uppercase",children:e})}),a]}):a})}),$(({color:e="black",thickness:t="thin",...r},n)=>j.jsx(te,{...r,ref:n,bg:e,className:A("c-divider-vertical",{[`c-divider-vertical--${t}`]:"thin"!==t},r?.className)}));const T={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}"}}},P={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(P).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 V=["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"],D={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"]},F={radius:["border-radius"]},M={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},B={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...M},q={...B,borderColor:["border-color"],bg:["background-color"],color:["color"],...F},z={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};Object.keys(T.primary),Object.keys(T.secondary),Object.keys(T.greyscale),Object.keys(T.status),Object.keys(T.theme);const U=$(({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,u=Array.isArray(t)?t?.[1]:t,d=!a,p=(e=>"string"==typeof e&&V.includes(e))(s);return j.jsx(te,{...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:u,role:"img","aria-label":a||void 0,"aria-hidden":d?"true":void 0,children:[a&&j.jsx("title",{children:a}),"circle"===e?j.jsx("circle",{}):j.jsx("use",{xlinkHref:`#${e}`})]})})});$(({id:e,className:t,color:r,required:n,label:o,icon:a,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:c,variant:l,msg:u,containerProps:d,isRounded:p,isTransparent:m,isLarge:f,children:h,hint:y,error:g,...v},b)=>{const w=a&&j.jsx(I,{className:"c-input-container__icon",iconProps:{name:a,size:18},variant:"ghost",color:r||"black",...c}),x=a&&j.jsx(U,{className:"c-input-container__icon",name:a,size:18,color:r||"black"});return j.jsxs(re,{direction:"column",...d,className:A("c-input",d?.className),children:[o&&j.jsxs("label",{htmlFor:e,className:"c-input__label",children:[o,n&&j.jsxs(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),y&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:y}),j.jsxs(re,{gap:a&&h?"xs":void 0,className:A("c-input-container",{[`c-input-container--${l}`]:l,"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(re,{gap:"s",children:[i?w:x,h]}),j.jsx("input",{id:e,className:A("c-input-container__input",t),required:n,ref:b,"aria-describedby":[y?`${e}-hint`:null,g?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...v})]}),u?.length&&j.jsx(re,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:u.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(re,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(U,{...e}),j.jsx(se,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),g&&j.jsx(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:g})]})});const H=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=G({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[r,n])=>{const o=G({className:e.className,defaultModifier:r,propValue:n});return o&&t.push(o),t},[])},G=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(...H({propValue:e,className:"basis"}),...H({propValue:t,className:"shrink"}),...H({propValue:r,className:"grow"}),X(n)),J=({inline:e=!1,direction:t,wrap:r,...n})=>A(...H({propValue:e,className:e?"inline-flex":"flex"}),...H({propValue:t,className:"direction"}),...H({propValue:r}),W(n)),W=e=>A(...H({propValue:e.alignItems,className:"items"}),...H({propValue:e.alignContent,className:"content"}),...H({propValue:e.justifyContent,className:"justify"}),...H({propValue:e.gap,className:"gap"}),...H({propValue:e.gapX,className:"gap-x"}),...H({propValue:e.gapY,className:"gap-y"}),...H({propValue:e.flexGrow,className:"grow"})),X=e=>A(...H({propValue:e.align,className:"self"})),Z=e=>"object"==typeof e.props?Object.keys(e.props).reduce((t,r)=>(e.systemPropNames.includes(r)||(t[r]=e.props[r]),t),{}):{},K=e=>A(Object.entries(e).filter(([e])=>Object.keys(B).includes(e)).reduce((e,[t,r])=>(e.push(...H({className:t,propValue:r})),e),[])),Q=e=>A(K(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(F).includes(e)).reduce((e,[t,r])=>(e.push(...H({className:t,propValue:r})),e),[])))(e)),ee=({textAlign:e,weight:t,textTransform:r,textDecoration:n,italic:o,fontFamily:a,whiteSpace:s})=>A(H({className:"text",propValue:e}),H({className:"font-weight",propValue:t}),{[`white-space-${s}`]:!!s,[`text-transform-${r}`]:!!r,[`text-decoration-${n}`]:!!n,"text-italic":!!o,[`font-${a}`]:!!a}),te=$(({as:e="div",children:t,...r},n)=>j.jsx(e,{...Z({props:r,systemPropNames:Object.keys(q)}),ref:n,className:A(Q(r),r?.className),children:t}));te.displayName="Box";const re=$(({as:e="div",children:t,...r},n)=>j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(D)}),as:e,ref:n,className:A(J(r),r?.className),children:t})),ne=$(({as:e="div",children:t,...r},n)=>j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(L)}),as:e,ref:n,className:A(Y(r),r?.className),children:t}));$(({as:e="a",children:t,color:r,size:n,variant:o,weight:a,whiteSpace:s,tabIsSelected:i,tabVariant:c,tabColor:l,defaultColor:u="ultramarine",isUnderlined:d,...p},m)=>{if(o&&r)throw new Error("You can't use color and variant props together");const f=c||l?A("c-tab",{[`c-tab--${c}`]:c,[`c-tab--${l}`]:l,"c-tab--selected":i,"c-tab--unselected":!i},ee({weight:a,whiteSpace:s}),p?.className):A("c-link",{[`c-btn c-btn--${o}`]:o&&!r},ee({weight:a,whiteSpace:s}),H({className:"text",propValue:n}),{"c-link--is-underlined":d},p?.className);return j.jsx(te,{...p,as:e,ref:m,color:c||l||o?void 0:r||("inherit"===u?void 0:u),className:f,children:t})}),$(({variant:e,progressColor:t="ultramarine"},r)=>j.jsx(te,{ref:r,bg:"grey-100",className:A("c-progress",{[`c-progress--${e}`]:e}),children:j.jsx(te,{className:"c-progress__bar",bg:t,style:{width:"0%"}})})),$(({id:e,className:t,required:r,label:n,defaultValue:o,options:a,placeholder:s,containerProps:i,variant:c="default",icon:l,isLarge:u,hint:d,error:p,...m},f)=>j.jsxs(re,{...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(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),d&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:d}),j.jsxs("div",{className:"c-select__container",children:[l&&j.jsx(U,{className:"c-select__icon",name:l,size:18}),j.jsx(U,{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":u},K(m),t),required:r,defaultValue:o||a.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[d?`${e}-hint`:null,p?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...Z({props:m,systemPropNames:Object.keys(M)}),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(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:p})]}));var oe=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(oe||{});$(({layout:e,children:t,itemsGap:r,hasSpaceAroundButtons:n=!1,buttonsVariant:o,colorVariant:a,sliderVariant:s="default",auto:i=!1,delay:c=3e3,...l},u)=>j.jsxs(te,{...l,ref:u,className:A("c-slider js-navigation-container",l?.className),"data-slider-variant":s,"data-slider-auto":i,"data-slider-delay":c,children:[j.jsx(te,{className:"c-slider__viewport js-navigation-container__list",children:j.jsx(re,{className:"c-slider__list",alignItems:"center",gap:r,children:t})}),e===oe.DESKTOP&&j.jsx(te,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>j.jsx(te,{pr:n&&"previous"===e&&("round-small-transparent-bg"===o?"m":"l")||void 0,pl:n&&"next"===e&&("round-small-transparent-bg"===o?"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--${s}`]:s}),children:j.jsx(I,{variant:o||"round",color:a,..."videos"===s&&{p:"m"},iconProps:{name:"chevron",size:"videos"===s?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),$(({as:e="a",id:t,variant:r="primary",size:n,children:o,...a},s)=>j.jsx(te,{...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})),$(({id:e,required:t,label:r,variant:n,msg:o,rows:a=5,containerProps:s,hint:i,error:c,...l},u)=>j.jsxs(re,{direction:"column",ref:u,...s,className:A("c-textarea",s?.className),children:[r&&j.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[r,t&&j.jsxs(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),j.jsx(re,{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(re,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:o.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(re,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(U,{...e}),j.jsx(se,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),c&&j.jsx(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:c})]}));const ae=$(({as:e="h1",size:t,children:r,...n},o)=>j.jsx(ie,{...n,as:e,ref:o,className:A(H({className:"heading",propValue:t}),n?.className),children:r})),se=$(({as:e="p",size:t,highlighted:r,children:n,...o},a)=>j.jsx(ie,{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(H({className:"text",propValue:t}),{"text-highlighted":r},o?.className),children:n})),ie=$(({as:e="p",children:t,...r},n)=>t&&t.toString().length||r?.dangerouslySetInnerHTML?j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(z)}),as:e,ref:n,className:A(ee(r),r?.className),children:t}):null);$(({as:e="article",children:t,className:r,clickable:n=!1,...o},a)=>j.jsx(re,{...o,as:e,ref:a,justifyContent:o?.justifyContent||"between",className:A("c-card-container",{"c-card-container--clickable":n},r),children:t})),$(({index:e,textTitleProps:t,headingTitleProps:r,titleIconProps:n,isOpen:o,contentWithBorder:a=!0,contentProps:s,iconProps:i,btnProps:c,children:l,isDropdown:u,...d},p)=>j.jsxs(te,{...d,className:A("c-collapse js-collapse",{"c-collapse--dropdown":u}),ref:p,children:[j.jsxs(te,{...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(re,{alignItems:"center",children:[j.jsx(U,{size:34,mr:"xs",...n}),t?.children]}):r?j.jsx(ae,{as:"h3",size:"xxs",color:"black",...r,children:r?.children}):j.jsx(se,{size:"l",color:"black",...t,children:t?.children}),j.jsx(U,{name:"chevron",size:16,...i,className:A("c-collapse__icon",i?.className)})]}),j.jsx(re,{...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})]})),$(({icon:e,title:t,content:r,...n},o)=>j.jsxs(te,{...n,ref:o,className:A("c-horoscope-topic-card",n?.className),children:[j.jsxs(re,{alignItems:"center",mb:"s",children:[j.jsx(U,{className:"c-horoscope-topic-card__icon",name:e,size:21}),j.jsx(ae,{as:"h3",size:"xs",children:t})]}),j.jsx(se,{size:"m",children:r})]}));var ce,le={};!function(){if(ce)return le;ce=1,Object.defineProperty(le,"__esModule",{value:!0}),le.StickyShareButtons=le.InlineShareButtons=le.InlineReactionButtons=le.InlineFollowButtons=void 0;var e,t=(e=k)&&e.__esModule?e:{default:e};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var n,o=c(e);if(t){var a=c(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e,t){var r=e.props.config||{enabled:!0};r=JSON.parse(JSON.stringify(r));var n=window.onShareThisLoaded;if(window.onShareThisLoaded=function o(){if(!o.complete){if(!r.id){var a="sharethis-"+Date.now();r.id=a}e.buttons.current&&(e.buttons.current.id=r.id,window.__sharethis__.load(t,r)),n&&n(),o.complete=!0}},document.getElementById("sharethis-js"))window.__sharethis__&&window.onShareThisLoaded();else{var o=document.createElement("script");o.setAttribute("id","sharethis-js");var a={property:r.property||"",product:t,source:"reactjs"},s=Object.keys(a).map(function(e){return e+"="+a[e]}).join("&");o.src="https://platform-api.sharethis.com/js/sharethis.js?"+s,o.async=!0,document.body.appendChild(o)}},u=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-follow-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineFollowButtons=u;var d=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-share-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineShareButtons=d;var p=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-reaction-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineReactionButtons=p;var m=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"sticky-share-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.StickyShareButtons=m}();const ue=k.forwardRef(({href:e,children:t,...r},n)=>j.jsx("a",{href:e,className:A("c-skip-link",Q(r),r?.className),ref:n,...r,children:t}));ue.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"],pe=["consent_validity_date","20mn-articlesSaved","20mnBreakingNews","20mn-visits-content","data-preferences-consent","forward-disable-audience-measure"],me=["com.batch.sessionId"],fe=()=>{window.cmpVariables={consentEventsCount:0},window.didomiEventListeners.push({event:"consent.changed",listener:()=>{if(document.location.href.includes("webview_player"))return;const e=a("euconsent-v2"),r=window.cmpVariables.consentEventsCount>0||!!e,n=!window.Didomi.getCurrentUserStatus().purposes.cookies?.enabled,o=!window.Didomi.getCurrentUserStatus().purposes["publicite-9qedKJMX"]?.enabled,s=!window.Didomi.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled,c=window.sessionStorage.getItem("cmpModal");r&&!c&&((n||o||s)&&(i(de),u(pe),l(me),d()),window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled||localStorage.setItem(t,"false"),setTimeout(()=>{window.location.reload()},window.layout===oe.DESKTOP?300:400)),c&&window.sessionStorage.removeItem("cmpModal"),window.cmpVariables.consentEventsCount+=1}})},he=()=>{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"))})}})})},ye=()=>{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(),he()})(n)}),r&&r.focus()})},ge=()=>{window.pa?.privacy?.setMode("exempt"),window.Didomi.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled&&window.pa?.privacy?.setMode("optin")},ve=()=>{window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{window.Didomi.getCurrentUserStatus().vendors.weborama?.enabled&&window.Didomi.getCurrentUserStatus().vendors["366sas-U9KhdfCC"]?.enabled||(()=>{const e={wamid:"10069"},t=a("AFFICHE_C");t&&(e.affiche_c=t),navigator.sendBeacon("https://wf.frontend.weborama.fr/consent/withdraw",JSON.stringify(e));const{hostname:r}=window.location;s({name:"AFFICHE_C",domain:r.substring(r.indexOf("."))})})()}})},be=()=>{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,i(de),u(pe),l(me),window.Didomi.notice.show())}),be(),fe(),window.didomiOnReady=window.didomiOnReady||[],he(),window.didomiEventListeners.push({event:"consent.changed",listener(){he()}}),ye(),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||i(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(n=e,localStorage.removeItem(n),!r)return;const o=t.openCurrentUserStatusTransaction();o.disablePurpose("mesureda-6qyqaZXC"),o.disableVendor("cxense"),o.commit()}var n})}();
10
+ */var j=(g||(g=1,v.exports=function(){if(y)return b;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,u=null;for(i in void 0!==s&&(l=""+s),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=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:u,props:c,_owner:o.current}}return b.Fragment=r,b.jsx=s,b.jsxs=s,b}()),v.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,R=(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);function I(e){return k.forwardRef(e)}const T=I(({as:e="button",variant:t="primary",children:r,iconProps:n,counter:o,isCentered:a=!1,isSquare:s=!1,isLoading:i=!1,size:c,isCloseWithProgress:l,closeProgressColor:u,...d},p)=>{const m={...d?.style,...u&&{"--button-close-progress-color":`var(--color-theme-${u})`}};return j.jsxs(re,{...d,style:m,as:e,ref:p,alignItems:"center",justifyContent:"center",gap:"xxs",inline:"link"===t||"a"===e,radius:s?"0":void 0,className:A("c-btn",{[`c-btn--${t}`]:t,[`c-btn--${c}`]:c,"c-btn--is-centered":a,"c-btn--is-loading":i},d?.className),children:[n&&j.jsx(U,{...n}),r,(0===o||o)&&j.jsx(re,{justifyContent:"center",alignItems:"center",color:"grey-900",bg:"white",px:"xxs",radius:"s",className:"c-btn__counter",children:o}),l&&j.jsx("div",{className:"c-btn__close-progress"})]})});T.displayName="Button",I(({text:e,color:t="black",thickness:r="thin",...n},o)=>{const a=j.jsx(ne,{bg:t,align:"center",className:A("c-divider__line",{[`c-divider__line--${r}`]:"thin"!==r})});return j.jsx(re,{...n,ref:o,className:A("c-divider",{"c-divider--has-text":!!e},n?.className),children:e?j.jsxs(j.Fragment,{children:[a,j.jsx(ne,{px:"xxs-2",className:"c-divider__text",children:j.jsx(se,{size:"xxs",color:t,textTransform:"uppercase",children:e})}),a]}):a})}),I(({color:e="black",thickness:t="thin",...r},n)=>j.jsx(te,{...r,ref:n,bg:e,className:A("c-divider-vertical",{[`c-divider-vertical--${t}`]:"thin"!==t},r?.className)}));const $={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}"}}},P={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(P).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 V=["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"]},D={align:["align-self"],basis:["flex-basis"],shrink:["flex-shrink"],grow:["flex-grow"]},F={radius:["border-radius"]},M={p:["padding"],pt:["padding-top"],pr:["padding-right"],pl:["padding-left"],pb:["padding-bottom"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"]},B={m:["margin"],mt:["margin-top"],mr:["margin-right"],ml:["margin-left"],mb:["margin-bottom"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],...M},q={...B,borderColor:["border-color"],bg:["background-color"],color:["color"],...F},z={textAlign:["text-align"],weight:["font-weight"],italic:["font-style"],textDecoration:["text-decoration"],textTransform:["text-transform"],fontFamily:["font-family"],whiteSpace:["white-space"]};Object.keys($.primary),Object.keys($.secondary),Object.keys($.greyscale),Object.keys($.status),Object.keys($.theme);const U=I(({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,u=Array.isArray(t)?t?.[1]:t,d=!a,p=(e=>"string"==typeof e&&V.includes(e))(s);return j.jsx(te,{...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:u,role:"img","aria-label":a||void 0,"aria-hidden":d?"true":void 0,children:[a&&j.jsx("title",{children:a}),"circle"===e?j.jsx("circle",{}):j.jsx("use",{xlinkHref:`#${e}`})]})})});I(({id:e,className:t,color:r,required:n,label:o,icon:a,positionIcon:s="right",isIconButton:i=!1,iconButtonProps:c,variant:l,msg:u,containerProps:d,isRounded:p,isTransparent:m,isLarge:f,children:h,hint:y,error:g,...v},b)=>{const w=a&&j.jsx(T,{className:"c-input-container__icon",iconProps:{name:a,size:18},variant:"ghost",color:r||"black",...c}),x=a&&j.jsx(U,{className:"c-input-container__icon",name:a,size:18,color:r||"black"});return j.jsxs(re,{direction:"column",...d,className:A("c-input",d?.className),children:[o&&j.jsxs("label",{htmlFor:e,className:"c-input__label",children:[o,n&&j.jsxs(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),y&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:y}),j.jsxs(re,{gap:a&&h?"xs":void 0,className:A("c-input-container",{[`c-input-container--${l}`]:l,"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(re,{gap:"s",children:[i?w:x,h]}),j.jsx("input",{id:e,className:A("c-input-container__input",t),required:n,ref:b,"aria-describedby":[y?`${e}-hint`:null,g?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...v})]}),u?.length&&j.jsx(re,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:u.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(re,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(U,{...e}),j.jsx(se,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),g&&j.jsx(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:g})]})});const H=e=>{if(e.propValue&&["boolean","string","number"].includes(typeof e.propValue)||!e.propValue){const t=G({className:e.className,defaultModifier:e.defaultModifier||"xs",propValue:e.propValue});return t?[t]:[]}return Object.entries(e.propValue).reduce((t,[r,n])=>{const o=G({className:e.className,defaultModifier:r,propValue:n});return o&&t.push(o),t},[])},G=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(...H({propValue:e,className:"basis"}),...H({propValue:t,className:"shrink"}),...H({propValue:r,className:"grow"}),X(n)),J=({inline:e=!1,direction:t,wrap:r,...n})=>A(...H({propValue:e,className:e?"inline-flex":"flex"}),...H({propValue:t,className:"direction"}),...H({propValue:r}),W(n)),W=e=>A(...H({propValue:e.alignItems,className:"items"}),...H({propValue:e.alignContent,className:"content"}),...H({propValue:e.justifyContent,className:"justify"}),...H({propValue:e.gap,className:"gap"}),...H({propValue:e.gapX,className:"gap-x"}),...H({propValue:e.gapY,className:"gap-y"}),...H({propValue:e.flexGrow,className:"grow"})),X=e=>A(...H({propValue:e.align,className:"self"})),Z=e=>"object"==typeof e.props?Object.keys(e.props).reduce((t,r)=>(e.systemPropNames.includes(r)||(t[r]=e.props[r]),t),{}):{},K=e=>A(Object.entries(e).filter(([e])=>Object.keys(B).includes(e)).reduce((e,[t,r])=>(e.push(...H({className:t,propValue:r})),e),[])),Q=e=>A(K(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(F).includes(e)).reduce((e,[t,r])=>(e.push(...H({className:t,propValue:r})),e),[])))(e)),ee=({textAlign:e,weight:t,textTransform:r,textDecoration:n,italic:o,fontFamily:a,whiteSpace:s})=>A(H({className:"text",propValue:e}),H({className:"font-weight",propValue:t}),{[`white-space-${s}`]:!!s,[`text-transform-${r}`]:!!r,[`text-decoration-${n}`]:!!n,"text-italic":!!o,[`font-${a}`]:!!a}),te=I(({as:e="div",children:t,...r},n)=>j.jsx(e,{...Z({props:r,systemPropNames:Object.keys(q)}),ref:n,className:A(Q(r),r?.className),children:t}));te.displayName="Box";const re=I(({as:e="div",children:t,...r},n)=>j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(L)}),as:e,ref:n,className:A(J(r),r?.className),children:t})),ne=I(({as:e="div",children:t,...r},n)=>j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(D)}),as:e,ref:n,className:A(Y(r),r?.className),children:t}));I(({as:e="a",children:t,color:r,size:n,variant:o,weight:a,whiteSpace:s,tabIsSelected:i,tabVariant:c,tabColor:l,defaultColor:u="ultramarine",isUnderlined:d,...p},m)=>{if(o&&r)throw new Error("You can't use color and variant props together");const f=c||l?A("c-tab",{[`c-tab--${c}`]:c,[`c-tab--${l}`]:l,"c-tab--selected":i,"c-tab--unselected":!i},ee({weight:a,whiteSpace:s}),p?.className):A("c-link",{[`c-btn c-btn--${o}`]:o&&!r},ee({weight:a,whiteSpace:s}),H({className:"text",propValue:n}),{"c-link--is-underlined":d},p?.className);return j.jsx(te,{...p,as:e,ref:m,color:c||l||o?void 0:r||("inherit"===u?void 0:u),className:f,children:t})}),I(({variant:e,progressColor:t="ultramarine"},r)=>j.jsx(te,{ref:r,bg:"grey-100",className:A("c-progress",{[`c-progress--${e}`]:e}),children:j.jsx(te,{className:"c-progress__bar",bg:t,style:{width:"0%"}})})),I(({id:e,className:t,required:r,label:n,defaultValue:o,options:a,placeholder:s,containerProps:i,variant:c="default",icon:l,isLarge:u,hint:d,error:p,...m},f)=>j.jsxs(re,{...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(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),d&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:d}),j.jsxs("div",{className:"c-select__container",children:[l&&j.jsx(U,{className:"c-select__icon",name:l,size:18}),j.jsx(U,{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":u},K(m),t),required:r,defaultValue:o||a.filter(e=>e.isSelected)?.pop()?.value||"","aria-describedby":[d?`${e}-hint`:null,p?`${e}-error`:null].filter(Boolean).join(" ")||void 0,...Z({props:m,systemPropNames:Object.keys(M)}),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(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:p})]}));var oe=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(oe||{});I(({layout:e,children:t,itemsGap:r,hasSpaceAroundButtons:n=!1,buttonsVariant:o,colorVariant:a,sliderVariant:s="default",auto:i=!1,delay:c=3e3,...l},u)=>j.jsxs(te,{...l,ref:u,className:A("c-slider js-navigation-container",l?.className),"data-slider-variant":s,"data-slider-auto":i,"data-slider-delay":c,children:[j.jsx(te,{className:"c-slider__viewport js-navigation-container__list",children:j.jsx(re,{className:"c-slider__list",alignItems:"center",gap:r,children:t})}),e===oe.DESKTOP&&j.jsx(te,{className:"c-slider__buttons-container",children:Array.from(["previous","next"],e=>j.jsx(te,{pr:n&&"previous"===e&&("round-small-transparent-bg"===o?"m":"l")||void 0,pl:n&&"next"===e&&("round-small-transparent-bg"===o?"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--${s}`]:s}),children:j.jsx(T,{variant:o||"round",color:a,..."videos"===s&&{p:"m"},iconProps:{name:"chevron",size:"videos"===s?14:12,rotation:"previous"===e?"half":void 0,svgTitle:"previous"===e?"Précédent":"Suivant"}})},e))})]})),I(({as:e="a",id:t,variant:r="primary",size:n,children:o,...a},s)=>j.jsx(te,{...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})),I(({id:e,required:t,label:r,variant:n,msg:o,rows:a=5,containerProps:s,hint:i,error:c,...l},u)=>j.jsxs(re,{direction:"column",ref:u,...s,className:A("c-textarea",s?.className),children:[r&&j.jsxs("label",{htmlFor:e,className:"c-textarea__label",children:[r,t&&j.jsxs(se,{as:"span",size:"xxs",weight:"regular",children:[" ","(obligatoire)"]})]}),i&&j.jsx(se,{as:"span",id:`${e}-hint`,mt:"xxs-2",ml:"xxs-2",className:"u-mask",children:i}),j.jsx(re,{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(re,{wrap:"wrap",gapY:"s",gapX:"xxs-2",mt:"xxs-2",children:o.map(({iconProps:e,textProps:t,value:r},n)=>j.jsxs(re,{alignItems:"center",gap:"xxs",children:[e&&j.jsx(U,{...e}),j.jsx(se,{dangerouslySetInnerHTML:{__html:r},role:"alert",...t})]},n?.toString()))}),c&&j.jsx(se,{as:"span",id:`${e}-error`,className:"u-mask",color:"red",size:"xxs",mt:"xxs-2",ml:"xxs-2",role:"alert",children:c})]}));const ae=I(({as:e="h1",size:t,children:r,...n},o)=>j.jsx(ie,{...n,as:e,ref:o,className:A(H({className:"heading",propValue:t}),n?.className),children:r})),se=I(({as:e="p",size:t,highlighted:r,children:n,...o},a)=>j.jsx(ie,{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(H({className:"text",propValue:t}),{"text-highlighted":r},o?.className),children:n})),ie=I(({as:e="p",children:t,...r},n)=>t&&t.toString().length||r?.dangerouslySetInnerHTML?j.jsx(te,{...Z({props:r,systemPropNames:Object.keys(z)}),as:e,ref:n,className:A(ee(r),r?.className),children:t}):null);I(({as:e="article",children:t,className:r,clickable:n=!1,...o},a)=>j.jsx(re,{...o,as:e,ref:a,justifyContent:o?.justifyContent||"between",className:A("c-card-container",{"c-card-container--clickable":n},r),children:t})),I(({index:e,textTitleProps:t,headingTitleProps:r,titleIconProps:n,isOpen:o,contentWithBorder:a=!0,contentProps:s,iconProps:i,btnProps:c,children:l,isDropdown:u,...d},p)=>j.jsxs(te,{...d,className:A("c-collapse js-collapse",{"c-collapse--dropdown":u}),ref:p,children:[j.jsxs(te,{...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(re,{alignItems:"center",children:[j.jsx(U,{size:34,mr:"xs",...n}),t?.children]}):r?j.jsx(ae,{as:"h3",size:"xxs",color:"black",...r,children:r?.children}):j.jsx(se,{size:"l",color:"black",...t,children:t?.children}),j.jsx(U,{name:"chevron",size:16,...i,className:A("c-collapse__icon",i?.className)})]}),j.jsx(re,{...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})]})),I(({icon:e,title:t,content:r,...n},o)=>j.jsxs(te,{...n,ref:o,className:A("c-horoscope-topic-card",n?.className),children:[j.jsxs(re,{alignItems:"center",mb:"s",children:[j.jsx(U,{className:"c-horoscope-topic-card__icon",name:e,size:21}),j.jsx(ae,{as:"h3",size:"xs",children:t})]}),j.jsx(se,{size:"m",children:r})]}));var ce,le={};!function(){if(ce)return le;ce=1,Object.defineProperty(le,"__esModule",{value:!0}),le.StickyShareButtons=le.InlineShareButtons=le.InlineReactionButtons=le.InlineFollowButtons=void 0;var e,t=(e=k)&&e.__esModule?e:{default:e};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var n,o=c(e);if(t){var a=c(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=function(e,t){var r=e.props.config||{enabled:!0};r=JSON.parse(JSON.stringify(r));var n=window.onShareThisLoaded;if(window.onShareThisLoaded=function o(){if(!o.complete){if(!r.id){var a="sharethis-"+Date.now();r.id=a}e.buttons.current&&(e.buttons.current.id=r.id,window.__sharethis__.load(t,r)),n&&n(),o.complete=!0}},document.getElementById("sharethis-js"))window.__sharethis__&&window.onShareThisLoaded();else{var o=document.createElement("script");o.setAttribute("id","sharethis-js");var a={property:r.property||"",product:t,source:"reactjs"},s=Object.keys(a).map(function(e){return e+"="+a[e]}).join("&");o.src="https://platform-api.sharethis.com/js/sharethis.js?"+s,o.async=!0,document.body.appendChild(o)}},u=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-follow-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineFollowButtons=u;var d=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-share-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineShareButtons=d;var p=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"inline-reaction-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.InlineReactionButtons=p;var m=function(e){a(s,e);var r=i(s);function s(e){var o;return n(this,s),(o=r.call(this,e)).buttons=t.default.createRef(),o}return o(s,[{key:"componentDidMount",value:function(){l(this,"sticky-share-buttons")}},{key:"render",value:function(){return t.default.createElement("div",{ref:this.buttons})}}]),s}(t.default.Component);le.StickyShareButtons=m}();const ue=k.forwardRef(({href:e,children:t,...r},n)=>j.jsx("a",{href:e,className:A("c-skip-link",Q(r),r?.className),ref:n,...r,children:t}));ue.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"],pe=["consent_validity_date","20mn-articlesSaved","20mnBreakingNews","20mn-visits-content","data-preferences-consent","forward-disable-audience-measure"],me=["com.batch.sessionId"],fe=()=>{let e,r;window.cmpVariables={consentEventsCount:0},window.didomiEventListeners.push({event:"consent.changed",listener:()=>{if(document.location.href.includes("webview_player"))return;const n=a("euconsent-v2"),o=window.cmpVariables.consentEventsCount>0||!!n,s=window.sessionStorage.getItem("cmpModal");o&&!s&&(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)&&(i(de),u(pe),l(me),d()),window.didomiState.didomiPurposesDisabled||window.didomiState.didomiVendorsDisabled||localStorage.setItem(t,"false")},150),r=setTimeout(()=>{window.location.reload()},window.layout===oe.DESKTOP?300:550)),s&&window.sessionStorage.removeItem("cmpModal"),window.cmpVariables.consentEventsCount+=1}})},he=()=>{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"))})}})})},ye=()=>{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(),he()})(n)}),r&&r.focus()})},ge=()=>{window.pa?.privacy?.setMode("exempt"),window.Didomi.getCurrentUserStatus().purposes["mesureda-6qyqaZXC"]?.enabled&&window.pa?.privacy?.setMode("optin")},ve=()=>{window.didomiEventListeners=window.didomiEventListeners||[],window.didomiEventListeners.push({event:"consent.changed",listener:()=>{"4198576"!==window.datalayerInfo?.contentId||window.Didomi.getCurrentUserStatus().vendors.weborama?.enabled&&window.Didomi.getCurrentUserStatus().vendors["366sas-U9KhdfCC"]?.enabled||(()=>{const e={wamid:"10069"},t=a("AFFICHE_C");t&&(e.affiche_c=t),navigator.sendBeacon("https://wf.frontend.weborama.fr/consent/withdraw",JSON.stringify(e));const{hostname:r}=window.location;s({name:"AFFICHE_C",domain:r.substring(r.indexOf("."))})})()}})},be=()=>{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,i(de),u(pe),l(me),window.Didomi.notice.show())}),be(),fe(),window.didomiOnReady=window.didomiOnReady||[],he(),window.didomiEventListeners.push({event:"consent.changed",listener(){he()}}),ye(),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||i(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(n=e,localStorage.removeItem(n),!r)return;const o=t.openCurrentUserStatusTransaction();o.disablePurpose("mesureda-6qyqaZXC"),o.disableVendor("cxense"),o.commit()}var n})}();
11
11
  //# sourceMappingURL=cmp.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@20minutes/tyr",
3
- "version": "2.40.4",
3
+ "version": "2.40.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/20minutes/tyr.git"