@20minutes/tyr 2.47.7 → 2.47.8
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.
- package/dist/components/molecules/HeaderPage/HeaderPage.d.ts +2 -1
- package/dist/css/homePage-desktop-critical.css +1 -1
- package/dist/css/homePage-desktop-no-critical.css +1 -1
- package/dist/css/homePage-mobile-critical.css +1 -1
- package/dist/css/homePage-mobile-no-critical.css +1 -1
- package/dist/index.es.js +8 -7
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -241,4 +241,4 @@ Error generating stack: `+R.message+`
|
|
|
241
241
|
)`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},ND={};function DD(e,t){return e===Rn.default.falseFunc?Rn.default.falseFunc:r=>t.isTag(r)&&e(r)}function ID(e,t){const r=t.getSiblings(e);if(r.length<=1)return[];const o=r.indexOf(e);return o<0||o===r.length-1?[]:r.slice(o+1).filter(t.isTag)}function _5(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const E5=(e,t,r,o,s)=>{const l=s(t,_5(r),o);return l===Rn.default.trueFunc?e:l===Rn.default.falseFunc?Rn.default.falseFunc:c=>l(c)&&e(c)},w5={is:E5,matches:E5,where:E5,not(e,t,r,o,s){const l=s(t,_5(r),o);return l===Rn.default.falseFunc?e:l===Rn.default.trueFunc?Rn.default.falseFunc:c=>!l(c)&&e(c)},has(e,t,r,o,s){const{adapter:l}=r,c=_5(r);c.relativeSelector=!0;const h=t.some(x=>x.some(b5))?[ND]:void 0,v=s(t,c,h);if(v===Rn.default.falseFunc)return Rn.default.falseFunc;const p=DD(v,l);if(h&&v!==Rn.default.trueFunc){const{shouldTestNextSiblings:x=!1}=v;return w=>{if(!e(w))return!1;h[0]=w;const _=l.getChildren(w),D=x?[..._,...ID(w,l)]:_;return l.existsOne(p,D)}}return x=>e(x)&&l.existsOne(p,l.getChildren(x))}};function yW(e,t,r,o,s){var l;const{name:c,data:h}=t;if(Array.isArray(h)){if(!(c in w5))throw new Error(`Unknown pseudo-class :${c}(${h})`);return w5[c](e,h,r,o,s)}const v=(l=r.pseudos)===null||l===void 0?void 0:l[c],p=typeof v=="string"?v:gW[c];if(typeof p=="string"){if(h!=null)throw new Error(`Pseudo ${c} doesn't have any arguments`);const x=(0,ta.parse)(p);return w5.is(e,x,r,o,s)}if(typeof v=="function")return TD(v,c,h,1),x=>v(x,h)&&e(x);if(c in x5)return x5[c](e,h,r,o);if(c in CD){const x=CD[c];return TD(x,c,h,2),w=>x(w,r,h)&&e(w)}throw new Error(`Unknown pseudo-class :${c}`)}function S5(e,t){const r=t.getParent(e);return r&&t.isTag(r)?r:null}function bW(e,t,r,o,s){const{adapter:l,equals:c}=r;switch(t.type){case ta.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case ta.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case ta.SelectorType.Attribute:if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),fW[t.action](e,t,r);case ta.SelectorType.Pseudo:return yW(e,t,r,o,s);case ta.SelectorType.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:h}=t;return(!r.xmlMode||r.lowerCaseTags)&&(h=h.toLowerCase()),function(p){return l.getName(p)===h&&e(p)}}case ta.SelectorType.Descendant:{if(r.cacheResults===!1||typeof WeakSet>"u")return function(p){let x=p;for(;x=S5(x,l);)if(e(x))return!0;return!1};const h=new WeakSet;return function(p){let x=p;for(;x=S5(x,l);)if(!h.has(x)){if(l.isTag(x)&&e(x))return!0;h.add(x)}return!1}}case"_flexibleDescendant":return function(v){let p=v;do if(e(p))return!0;while(p=S5(p,l));return!1};case ta.SelectorType.Parent:return function(v){return l.getChildren(v).some(p=>l.isTag(p)&&e(p))};case ta.SelectorType.Child:return function(v){const p=l.getParent(v);return p!=null&&l.isTag(p)&&e(p)};case ta.SelectorType.Sibling:return function(v){const p=l.getSiblings(v);for(let x=0;x<p.length;x++){const w=p[x];if(c(v,w))break;if(l.isTag(w)&&e(w))return!0}return!1};case ta.SelectorType.Adjacent:return l.prevElementSibling?function(v){const p=l.prevElementSibling(v);return p!=null&&e(p)}:function(v){const p=l.getSiblings(v);let x;for(let w=0;w<p.length;w++){const _=p[w];if(c(v,_))break;l.isTag(_)&&(x=_)}return!!x&&e(x)};case ta.SelectorType.Universal:if(t.namespace!=null&&t.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}function xW(e,t,r){return DD(RD(e,t,r),t.adapter)}function RD(e,t,r){return jD(typeof e=="string"?(0,ta.parse)(e):e,t,r)}function OD(e){return e.type===ta.SelectorType.Pseudo&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(t=>t.some(OD)))}const AW={type:ta.SelectorType.Descendant},_W={type:"_flexibleDescendant"},EW={type:ta.SelectorType.Pseudo,name:"scope",data:null};function wW(e,{adapter:t},r){const o=!!r?.every(s=>{const l=t.isTag(s)&&t.getParent(s);return s===ND||l&&t.isTag(l)});for(const s of e){if(!(s.length>0&&b5(s[0])&&s[0].type!==ta.SelectorType.Descendant))if(o&&!s.some(OD))s.unshift(AW);else continue;s.unshift(EW)}}function jD(e,t,r){var o;e.forEach(lW),r=(o=t.context)!==null&&o!==void 0?o:r;const s=Array.isArray(r),l=r&&(Array.isArray(r)?r:[r]);if(t.relativeSelector!==!1)wW(e,t,l);else if(e.some(v=>v.length>0&&b5(v[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let c=!1;const h=e.map(v=>{if(v.length>=2){const[p,x]=v;p.type!==ta.SelectorType.Pseudo||p.name!=="scope"||(s&&x.type===ta.SelectorType.Descendant?v[1]=_W:(x.type===ta.SelectorType.Adjacent||x.type===ta.SelectorType.Sibling)&&(c=!0))}return SW(v,t,l)}).reduce(CW,Rn.default.falseFunc);return h.shouldTestNextSiblings=c,h}function SW(e,t,r){var o;return e.reduce((s,l)=>s===Rn.default.falseFunc?Rn.default.falseFunc:bW(s,l,t,r,jD),(o=t.rootFunc)!==null&&o!==void 0?o:Rn.default.trueFunc)}function CW(e,t){return t===Rn.default.falseFunc||e===Rn.default.trueFunc?e:e===Rn.default.falseFunc||t===Rn.default.trueFunc?t:function(o){return e(o)||t(o)}}const MD=(e,t)=>e===t,TW={adapter:AD,equals:MD};function LD(e){var t,r,o,s;const l=e??TW;return(t=l.adapter)!==null&&t!==void 0||(l.adapter=AD),(r=l.equals)!==null&&r!==void 0||(l.equals=(s=(o=l.adapter)===null||o===void 0?void 0:o.equals)!==null&&s!==void 0?s:MD),l}function kD(e){return function(r,o,s){const l=LD(s);typeof r!="function"&&(r=RD(r,l,o));const c=NW(o,l.adapter,r.shouldTestNextSiblings);return e(r,c,l)}}function NW(e,t,r=!1){return r&&(e=DW(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function DW(e,t){const r=Array.isArray(e)?e.slice(0):[e],o=r.length;for(let s=0;s<o;s++){const l=ID(r[s],t);r.push(...l)}return r}const IW=kD((e,t,r)=>e===Rn.default.falseFunc||!t||t.length===0?[]:r.adapter.findAll(e,t)),BD=kD((e,t,r)=>e===Rn.default.falseFunc||!t||t.length===0?null:r.adapter.findOne(e,t));function RW(e,t,r){const o=LD(r);return(typeof t=="function"?t:xW(t,o))(e)}function Bh(e){return e[e.length-1]}function b3(e){return e&&e.nodeType===1}function PD(e,t){return b3(e)?e.getAttribute(t):void 0}function OW(e){return(e&&e.rawTagName||"").toLowerCase()}function I2(e){return e&&e.childNodes}function C5(e){return e?e.parentNode:null}function jW(e){return e.text}function MW(e){let t=e.length,r,o,s;for(;--t>-1;){for(r=o=e[t],e[t]=null,s=!0;o;){if(e.indexOf(o)>-1){s=!1,e.splice(t,1);break}o=C5(o)}s&&(e[t]=r)}return e}function FD(e,t){return t.some(r=>b3(r)?e(r)||FD(e,I2(r)):!1)}function LW(e){const t=C5(e);return t?I2(t):[]}function kW(e,t){return PD(e,t)!==void 0}function HD(e,t){let r=null;for(let o=0,s=t?.length;o<s&&!r;o++){const l=t[o];if(e(l))r=l;else{const c=I2(l);c&&c.length>0&&(r=HD(e,c))}}return r}function UD(e,t){let r=[];for(let o=0,s=t.length;o<s;o++){const l=t[o];if(!b3(l))continue;e(l)&&r.push(l);const c=I2(l);c&&(r=r.concat(UD(e,c)))}return r}const x3={isTag:b3,getAttributeValue:PD,getName:OW,getChildren:I2,getParent:C5,getText:jW,removeSubsets:MW,existsOne:FD,getSiblings:LW,hasAttrib:kW,findOne:HD,findAll:UD};var qD=class{constructor(e=!1,t){this.addClosingSlash=e,Array.isArray(t)?this.voidTags=t.reduce((r,o)=>r.add(o.toLowerCase()).add(o.toUpperCase()).add(o),new Set):this.voidTags=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].reduce((r,o)=>r.add(o.toLowerCase()).add(o.toUpperCase()).add(o),new Set)}formatNode(e,t,r){const o=this.addClosingSlash,s=o&&t&&!t.endsWith(" ")?" ":"",l=o?`${s}/`:"";return this.isVoidElement(e.toLowerCase())?`<${e}${t}${l}>`:`<${e}${t}>${r}</${e}>`}isVoidElement(e){return this.voidTags.has(e)}},zf=class AB extends Z1{clone(){return new AB(this._rawText,null)}constructor(t,r=null,o){super(r,o),this.nodeType=3,this.rawTagName="",this._rawText=t}get rawText(){return this._rawText}set rawText(t){this._rawText=t,this._trimmedRawText=void 0,this._trimmedText=void 0}get trimmedRawText(){return this._trimmedRawText!==void 0?this._trimmedRawText:(this._trimmedRawText=zD(this.rawText),this._trimmedRawText)}get trimmedText(){return this._trimmedText!==void 0?this._trimmedText:(this._trimmedText=zD(this.text),this._trimmedText)}get text(){return d5(this.rawText)}get isWhitespace(){return/^(\s| )*$/.test(this.rawText)}toString(){return this.rawText}};function zD(e){let t=0,r,o;for(;t>=0&&t<e.length;)/\S/.test(e[t])&&(r===void 0?(r=t,t=e.length):(o=t,t=void 0)),r===void 0?t++:t--;r===void 0&&(r=0),o===void 0&&(o=e.length-1);const s=r>0&&/[^\S\r\n]/.test(e[r-1]),l=o<e.length-1&&/[^\S\r\n]/.test(e[o+1]);return(s?" ":"")+e.slice(r,o+1)+(l?" ":"")}function R2(e){return d5(e)}const BW=["h1","h2","h3","h4","h5","h6","header","hgroup"],PW=["details","dialog","dd","div","dt"],FW=["fieldset","figcaption","figure","footer","form"],HW=["table","td","tr"],UW=["address","article","aside","blockquote","br","hr","li","main","nav","ol","p","pre","section","ul"],T5=new Set;function qW(...e){const t=r=>{for(let o=0;o<r.length;o++){const s=r[o];T5.add(s),T5.add(s.toUpperCase())}};for(const r of e)t(r)}qW(BW,PW,FW,HW,UW);var zW=class{_validate(e){if(/\s/.test(e))throw new Error(`DOMException in DOMTokenList.add: The token '${e}' contains HTML space characters, which are not valid in tokens.`)}constructor(e=[],t=()=>null){this._set=new Set(e),this._afterUpdate=t}add(e){this._validate(e),this._set.add(e),this._afterUpdate(this)}replace(e,t){this._validate(t),this._set.delete(e),this._set.add(t),this._afterUpdate(this)}remove(e){this._set.delete(e)&&this._afterUpdate(this)}toggle(e){this._validate(e),this._set.has(e)?this._set.delete(e):this._set.add(e),this._afterUpdate(this)}contains(e){return this._set.has(e)}get length(){return this._set.size}values(){return this._set.values()}get value(){return Array.from(this._set.values())}toString(){return Array.from(this._set.values()).join(" ")}},N5=class Qy extends Z1{quoteAttribute(t){return t==null?"null":`"${t.replace(/"/g,""")}"`}constructor(t,r,o="",s=null,l,c=new qD,h={}){if(super(s,l),this.rawAttrs=o,this.voidTag=c,this.nodeType=1,this.rawTagName=t,this.rawAttrs=o||"",this._id=r.id||"",this.childNodes=[],this._parseOptions=h,this.classList=new zW(r.class?r.class.split(/\s+/):[],v=>this.setAttribute("class",v.toString())),r.id&&(o||(this.rawAttrs=`id="${r.id}"`)),r.class&&!o){const v=`class="${this.classList.toString()}"`;this.rawAttrs?this.rawAttrs+=` ${v}`:this.rawAttrs=v}}removeChild(t){return this.childNodes=this.childNodes.filter(r=>r!==t),this}exchangeChild(t,r){const o=this.childNodes;return this.childNodes=o.map(s=>s===t?r:s),this}get tagName(){return this.rawTagName?this.rawTagName.toUpperCase():this.rawTagName}set tagName(t){this.rawTagName=t.toLowerCase()}get localName(){return this.rawTagName.toLowerCase()}get isVoidElement(){return this.voidTag.isVoidElement(this.localName)}get id(){return this._id}set id(t){this.setAttribute("id",t)}get rawText(){return/^br$/i.test(this.rawTagName)?`
|
|
242
242
|
`:this.childNodes.reduce((t,r)=>t+=r.rawText,"")}get textContent(){return R2(this.rawText)}set textContent(t){const r=[new zf(aD(t),this)];this.childNodes=r}get text(){return R2(this.rawText)}get structuredText(){let t=[];const r=[t];function o(s){if(s.nodeType===1)T5.has(s.rawTagName)?(t.length>0&&r.push(t=[]),s.childNodes.forEach(o),t.length>0&&r.push(t=[])):s.childNodes.forEach(o);else if(s.nodeType===3)if(s.isWhitespace)t.prependWhitespace=!0;else{let l=s.trimmedText;t.prependWhitespace&&(l=` ${l}`,t.prependWhitespace=!1),t.push(l)}}return o(this),r.map(s=>s.join("").replace(/\s{2,}/g," ")).join(`
|
|
243
243
|
`).replace(/\s+$/,"")}toString(){const t=this.rawTagName;if(t){const r=this.rawAttrs?` ${this.rawAttrs}`:"";return this.voidTag.formatNode(t,r,this.innerHTML)}return this.innerHTML}get innerHTML(){return this.childNodes.map(t=>t.toString()).join("")}set innerHTML(t){const r=Bp(t,this._parseOptions),o=r.childNodes.length?r.childNodes:[new zf(t,this)];G0(o,this),G0(this.childNodes,null),this.childNodes=o}set_content(t,r={}){if(t instanceof Z1)t=[t];else if(typeof t=="string"){r=Lh(Lh({},this._parseOptions),r);const o=Bp(t,r);t=o.childNodes.length?o.childNodes:[new zf(o.innerHTML,this)]}return G0(this.childNodes,null),G0(t,this),this.childNodes=t,this}replaceWith(...t){const r=this.parentNode,o=t.map(l=>{if(l instanceof Z1)return[l];if(typeof l=="string"){const c=Bp(l,this._parseOptions);return c.childNodes.length?c.childNodes:[new zf(l,this)]}return[]}).flat(),s=r.childNodes.findIndex(l=>l===this);return G0([this],null),r.childNodes=[...r.childNodes.slice(0,s),...G0(o,r),...r.childNodes.slice(s+1)],this}get outerHTML(){return this.toString()}trimRight(t){for(let r=0;r<this.childNodes.length;r++){const o=this.childNodes[r];if(o.nodeType===1)o.trimRight(t);else{const s=o.rawText.search(t);s>-1&&(o.rawText=o.rawText.substr(0,s),this.childNodes.length=r+1)}}return this}get structure(){const t=[];let r=0;function o(l){t.push(" ".repeat(r)+l)}function s(l){const c=l._id?`#${l._id}`:"",h=l.classList.length?`.${l.classList.value.join(".")}`:"";o(`${l.rawTagName}${c}${h}`),r++,l.childNodes.forEach(v=>{v.nodeType===1?s(v):v.nodeType===3&&(v.isWhitespace||o("#text"))}),r--}return s(this),t.join(`
|
|
244
|
-
`)}removeWhitespace(){let t=0;this.childNodes.forEach(o=>{if(o.nodeType===3){if(o.isWhitespace)return;o.rawText=o.trimmedRawText}else o.nodeType===1&&o.removeWhitespace();this.childNodes[t++]=o}),this.childNodes.length=t;const r=Object.keys(this.rawAttributes).map(o=>{const s=this.quoteAttribute(this.rawAttributes[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" ");return this.rawAttrs=r,delete this._rawAttrs,this}querySelectorAll(t){return IW(t,this,{xmlMode:!0,adapter:x3})}querySelector(t){return BD(t,this,{xmlMode:!0,adapter:x3})}matches(t){return RW(this,t,{xmlMode:!0,adapter:x3})}getElementsByTagName(t){const r=t.toUpperCase(),o=[],s=[];let l=this,c=0;for(;c!==void 0;){let h;do h=l.childNodes[c++];while(c<l.childNodes.length&&h===void 0);if(h===void 0){l=l.parentNode,c=s.pop();continue}h.nodeType===1&&((t==="*"||h.tagName===r)&&o.push(h),h.childNodes.length>0&&(s.push(c),l=h,c=0))}return o}getElementById(t){const r=[];let o=this,s=0;for(;s!==void 0;){let l;do l=o.childNodes[s++];while(s<o.childNodes.length&&l===void 0);if(l===void 0){o=o.parentNode,s=r.pop();continue}if(l.nodeType===1){if(l._id===t)return l;l.childNodes.length>0&&(r.push(s),o=l,s=0)}}return null}closest(t){const r=new Map;let o=this,s=null;function l(c,h){let v=null;for(let p=0,x=h.length;p<x&&!v;p++){const w=h[p];if(c(w))v=w;else{const _=r.get(w);_&&(v=l(c,[_]))}}return v}for(;o;)r.set(o,s),s=o,o=o.parentNode;for(o=this;o;){const c=BD(t,o,{xmlMode:!0,adapter:Lh(Lh({},x3),{},{getChildren(h){const v=r.get(h);return v&&[v]},getSiblings(h){return[h]},findOne:l,findAll(){return[]}})});if(c)return c;o=o.parentNode}return null}appendChild(t){return this.append(t),t}get attrs(){if(this._attrs)return this._attrs;this._attrs={};const t=this.rawAttributes;for(const r in t){const o=t[r]||"";this._attrs[r.toLowerCase()]=R2(o)}return this._attrs}get attributes(){const t={},r=this.rawAttributes;for(const o in r)t[o]=R2(r[o]||"");return t}get rawAttributes(){if(this._rawAttrs)return this._rawAttrs;const t={};if(this.rawAttrs){const r=/([_a-zA-Z()[\]#@$.?:][a-zA-Z0-9-._:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;let o;for(;o=r.exec(this.rawAttrs);){const s=o[1];if(s==="__proto__")continue;let l=o[2]||null;l&&(l[0]==="'"||l[0]==='"')&&(l=l.slice(1,l.length-1)),t[s]=t[s]||l}}return this._rawAttrs=t,t}removeAttribute(t){const r=this.rawAttributes;return delete r[t],this._attrs&&delete this._attrs[t],this.rawAttrs=Object.keys(r).map(o=>{const s=this.quoteAttribute(r[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" "),t==="id"&&(this._id=""),this}hasAttribute(t){return t.toLowerCase()in this.attrs}getAttribute(t){return this.attrs[t.toLowerCase()]}setAttribute(t,r){if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");const o=t.toLowerCase(),s=this.rawAttributes;for(const l in s)if(l.toLowerCase()===o){t=l;break}return s[t]=String(r),this._attrs&&(this._attrs[o]=R2(s[t])),this.rawAttrs=Object.keys(s).map(l=>{const c=this.quoteAttribute(s[l]);return c==="null"||c==='""'?l:`${l}=${c}`}).join(" "),t==="id"&&(this._id=r),this}setAttributes(t){return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(t).map(r=>{const o=t[r];return o==="null"||o==='""'?r:`${r}=${this.quoteAttribute(String(o))}`}).join(" "),"id"in t&&(this._id=t.id),this}insertAdjacentHTML(t,r){if(arguments.length<2)throw new Error("2 arguments required");const o=Bp(r,this._parseOptions);if(t==="afterend")this.after(...o.childNodes);else if(t==="afterbegin")this.prepend(...o.childNodes);else if(t==="beforeend")this.append(...o.childNodes);else if(t==="beforebegin")this.before(...o.childNodes);else throw new Error(`The value provided ('${t}') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'`);return this}prepend(...t){const r=A3(t);G0(r,this),this.childNodes.unshift(...r)}append(...t){const r=A3(t);G0(r,this),this.childNodes.push(...r)}before(...t){const r=A3(t),o=this.parentNode.childNodes;G0(r,this.parentNode),o.splice(o.indexOf(this),0,...r)}after(...t){const r=A3(t),o=this.parentNode.childNodes;G0(r,this.parentNode),o.splice(o.indexOf(this)+1,0,...r)}get nextSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=0;for(;r<t.length;){const o=t[r++];if(this===o)return t[r]||null}return null}}get nextElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=0,o=!1;for(;r<t.length;){const s=t[r++];if(o){if(s instanceof Qy)return s||null}else this===s&&(o=!0)}return null}}get previousSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=t.length;for(;r>0;){const o=t[--r];if(this===o)return t[r-1]||null}return null}}get previousElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=t.length,o=!1;for(;r>0;){const s=t[--r];if(o){if(s instanceof Qy)return s||null}else this===s&&(o=!0)}return null}}get children(){const t=[];for(const r of this.childNodes)r instanceof Qy&&t.push(r);return t}get firstChild(){return this.childNodes[0]}get firstElementChild(){return this.children[0]}get lastChild(){return Bh(this.childNodes)}get lastElementChild(){return this.children[this.children.length-1]}get childElementCount(){return this.children.length}get classNames(){return this.classList.toString()}clone(){return Bp(this.toString(),this._parseOptions).firstChild}};const VW=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,GW=/<!--[\s\S]*?-->|<!\[CDATA\[[\s\S]*?\]\]>|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,KW=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,VD={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0},dt:{dt:!0,dd:!0,DT:!0,DD:!0},DT:{dt:!0,dd:!0,DT:!0,DD:!0},dd:{dt:!0,dd:!0,DT:!0,DD:!0},DD:{dt:!0,dd:!0,DT:!0,DD:!0}},GD={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0},dt:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},DT:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},dd:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},DD:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0}},KD={p:{a:!0,audio:!0,del:!0,ins:!0,map:!0,noscript:!0,video:!0}},D5="documentfragmentcontainer";function WD(e,t={}){var r,o;const s=new qD(t==null||(r=t.voidTag)===null||r===void 0?void 0:r.closingSlash,t==null||(o=t.voidTag)===null||o===void 0?void 0:o.tags),l=e.includes("<![CDATA["),c=l?GW:VW,h=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},v=Object.keys(h),p=v.map(ie=>new RegExp(`^${ie}$`,"i")),x=v.filter(ie=>!!h[ie]).map(ie=>new RegExp(`^${ie}$`,"i"));function w(ie){return x.some(te=>te.test(ie))}function _(ie){return p.some(te=>te.test(ie))}const D=(ie,te)=>[ie-Q,te-Q],S=new N5(null,{},"",null,[0,e.length],s,t);let T=S;const C=[S];let O=-1,L,P;e=`<${D5}>${e}</${D5}>`;const{lowerCaseTagName:z,fixNestedATags:U}=t,W=e.length-28,Q=27;for(c.lastIndex=0;P=c.exec(e);){let{0:ie,1:te,2:J,3:V,4:X}=P;const se=ie.length,ce=c.lastIndex-se,Ee=c.lastIndex;if(O>-1&&O+se<Ee){const Re=e.substring(O,ce);T.appendChild(new zf(Re,null,D(O,ce)))}if(O=c.lastIndex,l&&ie.startsWith("<![CDATA[")){T.appendChild(new zf(ie,null,D(ce,Ee)));continue}if(J!==D5){if(ie[1]==="!"){if(t.comment){const Re=e.substring(ce+4,Ee-3);T.appendChild(new oD(Re,null,D(ce,Ee)))}continue}if(z&&(J=J.toLowerCase()),!te){const Re={};for(let je;je=KW.exec(V);){const{1:Be,2:Ae}=je,Rt=Ae[0]==="'"||Ae[0]==='"';Re[Be.toLowerCase()]=Rt?Ae.slice(1,Ae.length-1):Ae}const Ue=T.rawTagName;!X&&!t.preserveTagNesting&&VD[Ue]&&VD[Ue][J]&&(C.pop(),T=Bh(C)),U&&(J==="a"||J==="A")&&(L!==void 0&&(C.splice(L),T=Bh(C)),L=C.length);const Ce=c.lastIndex,He=Ce-se;if(T=T.appendChild(new N5(J,Re,V.slice(1),null,D(He,Ce),s,t)),C.push(T),_(J)){const je=`</${J}>`,Be=z?e.toLocaleLowerCase().indexOf(je,c.lastIndex):e.indexOf(je,c.lastIndex),Ae=Be===-1?W:Be;if(w(J)){const Rt=e.substring(Ce,Ae);Rt.length>0&&/\S/.test(Rt)&&T.appendChild(new zf(Rt,null,D(Ce,Ae)))}Be===-1?O=c.lastIndex=e.length+1:(O=c.lastIndex=Be+je.length,te="/")}}if(te||X||s.isVoidElement(J))for(;;)if(L!=null&&(J==="a"||J==="A")&&(L=void 0),T.rawTagName===J){T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);break}else{const Re=T.tagName;if(GD[Re]&&GD[Re][J]){C.pop(),T=Bh(C);continue}const Ue=T.rawTagName?T.rawTagName.toLowerCase():"";if(KD[Ue]){const Ce=J.toLowerCase();if(C.length>1){const He=C[C.length-2];if(He&&He.rawTagName&&He.rawTagName.toLowerCase()===Ce&&!KD[Ue][Ce]){T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);continue}}}if(t.closeAllByClosing===!0){let Ce;for(Ce=C.length-2;Ce>=0&&C[Ce].rawTagName!==J;Ce--);if(Ce>=0){for(;C.length>Ce;)T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);continue}}break}}}return C}function Bp(e,t={}){const r=WD(e,t),[o]=r;for(;r.length>1;){const s=r.pop(),l=Bh(r);s.parentNode&&s.parentNode.parentNode&&(s.parentNode===l&&s.tagName===l.tagName?t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.parentNode.appendChild(c)}),r.pop()):t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.appendChild(c)})))}return o}function A3(e){return e.map(t=>typeof t=="string"?new zf(t):(t.remove(),t))}function G0(e,t){return e.map(r=>(r.parentNode=t,r))}function WW(e,t={}){return WD(e,t).length===1}function Ki(e,t={}){return Bp(e,t)}Ki.parse=Bp,Ki.HTMLElement=N5,Ki.CommentNode=oD,Ki.valid=WW,Ki.Node=Z1,Ki.TextNode=zf,Ki.NodeType=iD;const $D=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:r,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),r&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:r,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(ve,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(Tn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),$W=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"utf-8").toString("base64"):window.btoa(unescape(encodeURIComponent(e))),YW=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),I5=e=>{const r=YW(e).split(":");return r.length===2?r[1]:""},QW=(e,t)=>$W(`${e}:${t}`),JW=["allow","allowfullscreen","class","data-src","frameborder","height","hspace","id","loading","marginheight","marginwidth","mozallowfullscreen","name","referrerpolicy","sandbox","scrolling","src","style","webkitallowfullscreen","width"].join("|"),ZW=new RegExp(`\\s+title=(["'])([\\s\\S]*?)\\1(?=\\s+(?:${JW})\\b|\\s*\\/?>)`,"gi"),XW=e=>w2(e).replace(/&/g,"&").replace(/"/g,"""),Vf=e=>e.replace(ZW,(t,r,o)=>` title="${XW(o)}"`),Wa=e=>Op.renderToStaticMarkup(e),hu=e=>Op.renderToString(e),YD=e=>(Array.from(e.querySelectorAll("[src]")).forEach(r=>{const o=r.getAttribute("src");o&&(r.setAttribute("data-src",o),r.removeAttribute("src"))}),e),QD=e=>(Array.from(e.querySelectorAll("iframe")).forEach(r=>{r.setAttribute("loading","lazy")}),e),{convertFromRaw:e$}=PA,t$=l5.Parser(),r$=l5.ProcessingInstructions(),R5=e=>typeof e=="string"&&e.replaceAll(/[\p{Cc}\s]/gu,"").toLowerCase().startsWith("javascript:"),O5=e=>{if(Array.isArray(e))return e.map(O5);if(!pe.isValidElement(e))return e;const{children:t,style:r}=e.props,o=O5(t),s=r?Object.fromEntries(Object.entries(r).map(([l,c])=>[l.replace(/^(webkit|moz|o|khtml)(?=[A-Z])/,h=>`${h.charAt(0).toUpperCase()}${h.slice(1)}`),c])):void 0;return pe.cloneElement(e,s?{style:s}:void 0,o)},_3=e=>O5(t$.parseWithInstructions(e,l5.IsValidNodeDefinitions.alwaysValid,r$.defaultProcessingInstructions,[{shouldPreprocessNode:t=>t.attribs?.contenteditable!==void 0||t.name==="iframe"&&(!!t.attribs?.referrerpolicy||t.attribs?.allowfullscreen!==void 0||t.attribs?.allowtransparency!==void 0)||t.name==="a"&&!!t.attribs?.href&&R5(t.attribs.href),preprocessNode:t=>{delete t.attribs?.contenteditable,t.name==="iframe"&&t.attribs&&(t.attribs.referrerpolicy&&(t.attribs.referrerPolicy=t.attribs.referrerpolicy,delete t.attribs.referrerpolicy),t.attribs.allowfullscreen!==void 0&&(t.attribs.allowfullscreen=!0)),delete t.attribs?.allowtransparency,t.name==="a"&&t.attribs?.href&&R5(t.attribs.href)&&delete t.attribs.href}}])),E3=(e,t)=>{let r=e,o="";const s=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi);return s?.length===1&&(r=e.replace(s[0],""),o=s[0].replace(t??"<script>",'<script data-script-loading="lazy">')),{html:r,script:o}},n$={twitter:"xtwitter-3cVkYrxq",tiktok:"tiktok-Hd3BqYVJ",facebook:"facebook-FmRQTGkw",instagram:"instagram-RDffthKi",youtube:"youtube-ceZtLYTL",idalgo:"idalgoco-kWpXzcnt",infogram:"infogrami-9QyDJG6i",qualifio:"qualifioj-xJrbdHny",pinterest:"pinterest-9W3hHUNN",spotify:"spotify-bPVhUtPW"},a$={facebook:{vendorName:"Facebook",privacyPolicyUrl:"https://www.facebook.com/privacy/policy/"},idalgo:{vendorName:"iDalgo",privacyPolicyUrl:"https://www.idalgo.fr/mentions-legales/"},infogram:{vendorName:"Infogram",privacyPolicyUrl:"https://infogram.com/fr/privacy"},instagram:{vendorName:"Instagram",privacyPolicyUrl:"https://privacycenter.instagram.com/policy"},pinterest:{vendorName:"Pinterest",privacyPolicyUrl:"https://policy.pinterest.com/en/privacy-policy"},qualifio:{vendorName:"Qualifio",privacyPolicyUrl:"https://qualifio.com/privacy-policy/"},spotify:{vendorName:"Spotify",privacyPolicyUrl:"https://www.spotify.com/fr/legal/privacy-policy/"},tiktok:{vendorName:"TikTok",privacyPolicyUrl:"https://www.tiktok.com/legal/page/eea/privacy-policy/fr"},x:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},twitter:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},youtube:{vendorName:"YouTube",privacyPolicyUrl:"https://www.youtube.com/howyoutubeworks/privacy/"}},tm=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:r="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>{e.entityMap===void 0&&(e.entityMap={}),e.blocks[0]?.text?.startsWith("«")&&(e.blocks[0].text=e.blocks[0].text.replace(/^«(\s|\xA0)/," «"));const c=e$(e),h=(x,w)=>Wa(pe.createElement(cU,{citationText:x,citationAuthor:w,mx:{xs:"m",md:"xxl"}}));let v=0,p=JV({styleToHTML:x=>{const w=x.toLowerCase();switch(w){case"italic":return a.jsx(Me,{as:"span",italic:!0});case"bold":return a.jsx(Me,{as:"span",weight:"bold"});case"gray":return a.jsx(Me,{as:"span",color:"grey-500"});case"red":case"blue":case"purple":case"pink":return a.jsx(Me,{as:"span",color:w});default:return null}},blockToHTML:x=>{switch(x.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return h(x.text);case"header-two-unordered":return{start:'<h2 class="c-content__unordered">',end:"</h2>"};case"header-two-ordered":return{start:'<h2 class="c-content__ordered">',end:"</h2>"};case"unstyled":return x.text===""?pe.createElement("br"):x.text==="OPT_OUT_PIANO"?Wa(pe.createElement(HH,{id:"data-preferences-switch",labelPosition:"after",label:"Mes données de navigation sont collectées à des fins d’analyse statistique"})):null;case"atomic":case"media":return{start:"<unwanted>",end:"</unwanted>"};default:return null}},entityToHTML:(x,w)=>{let _;switch(x.type){case"button":case"LINK":return _=x.data.buttonProps||x.data,pe.createElement(Yt,{href:R5(_.url)?void 0:_.url,rel:_.nofollow&&"nofollow"||_.sponsored&&"sponsored"||void 0,target:_.targetBlank?"_blank":void 0,buttonColor:x.type==="button"?"primary":void 0,...x.type==="LINK"&&{defaultColor:"inherit",isUnderlined:!0}},_.label?_.label:w2(w));case"faq":{_=x.data;const D=v;return v+=1,pe.createElement(Mf,{index:D,textTitleProps:{children:_.faqProps.title},isOpen:!1,contentWithBorder:!1,bg:"grey-100",iconProps:{color:"ultramarine"}},pe.createElement(be,{className:"c-content"},_3(tm({rawDraftContent:_.faqProps.content,pageEndpoint:t}))))}case"article":return _=x.data,_.articleProps?Wa(pe.createElement(PH,{title:_.articleProps.meta.title,link:_.articleProps.meta.canonical,image:_.articleProps.meta["photo.id"]?`${r}/${_.articleProps.meta["photo.id"]}/%format`:void 0,isTargetBlank:_.isTargetBlank,isNofollow:_.isNofollow,isSponsored:_.isSponsored,isInArticle:!0})):w;case"html":{if(_=x.data,!_.htmlProps)return w;const{html:D,script:S}=E3(_.htmlProps.html);return Wa(pe.createElement("div",{dangerouslySetInnerHTML:{__html:`${D.trim()} ${S}`}}))}case"image":{_=x.data;let{src:D}=_.imageProps;if(_.imageProps?.meta?.host&&_.imageProps?.meta?.id){let{host:S}=_.imageProps.meta;S.endsWith("/")||(S=`${S}/`),D=`${S}${I5(_.imageProps.meta.id)}/%format`;const{topleft_x:T,topleft_y:C,width_ratio:O}=_?.imageProps?.meta?.crop??{};T&&C&&O&&(D=`${D}-${T}x${C}-${O}`)}return Wa(pe.createElement(kd,{type:du.photo,src:D,imgProps:{defaultFormat:"718x0",formats:["590x0","342x0","211x0"],sizes:"(min-width: 1640px) 718px, (min-width: 1440px) calc(40vw + 70px), (min-width: 1080px) 590px, (min-width: 780px) calc(88.57vw - 349px), (min-width: 660px) calc(100vw - 414px), 211px"},caption:_.imageProps.meta?.caption,credits:_.imageProps.meta?.credit,source:_.imageProps.meta?.source,..._.imageProps.width?{style:{maxWidth:_.imageProps.width,width:"100%"}}:{}}))}case"digiteka":{if(_=x.data,!_.videoProps)return w;let{html:D}=_.videoProps;return D=Vf(D),l&&["production","publicommunique","magazine"].includes(l)&&(D=D.replace("/zone/1/","/zone/17/").replace("/zone/11/","/zone/17/")),Wa(pe.createElement(GH,{html:D}))}case"podcast":{if(_=x.data,!_.podcastProps?.html)return w;const{html:D,script:S}=E3(_.podcastProps.html);return Wa(pe.createElement(kd,{type:du.podcast,src:`${D} ${S}`,className:"embed-wrapper u-hidden"}))}case"iframely":{if(_=x.data,!_.embedProps||!_.embedProps.html&&x.data.embedProps.meta?.site?.toLowerCase()!=="twitch")return w;let{html:D}=_.embedProps;const{meta:S}=_.embedProps;let T="";if(S?.site?.toLowerCase()==="infogram"){const{html:W,script:Q}=E3(D);D=W,T=Q}if(S?.site?.toLowerCase()==="qualifio"){const{html:W,script:Q}=E3(D,'<script type="text/javascript">');D=W,T=Q}if(S?.site?.toLowerCase()==="twitch"){const W=/([^/]+$)/.exec(S.canonical);W&&(D=`<iframe src="https://player.twitch.tv/?video=${W[0]}&parent=${new URL(t).host}&autoplay=false" title='Twitch embed' width='100%' height='350px' style={{ position: 'absolute', top: 0, left: 0 }}/>`)}if(!o)return Wa(pe.createElement(rb,{html:`${D}${T}`}));let C=Ki.parse(D);C=YD(C),C=QD(C);let O=pe.createElement(rb,{key:S?.title,html:`${C}${T}`});S?.site==="idalgo"&&S?.type==="widget"&&(O=pe.createElement(gb,{key:S?.title,src:S?.canonical||""}));let L="embed-placeholder",P,z;if(S?.site){const W=S.site.toLowerCase();L=`embed-placeholder u-placeholder-${W}`,P=n$[W],z=a$[W]}const U={className:L};return P&&(U["data-vendor"]=P),Wa(pe.createElement("div",U,pe.createElement("div",{className:"embed-wrapper u-hidden"},O),pe.createElement($D,z)))}case"quote":return h(x.data.quoteProps.value,x.data.quoteProps.author);case"flinkRelatedContent":return"";case"table":{_=x.data;const D=T=>{const C={blocks:T.blocks,entityMap:T.entityMap};return _3(tm({rawDraftContent:C,pageEndpoint:t}))},S=_.tableProps.rows.map(T=>T.cells.map(C=>D(C)));return Wa(pe.createElement(kU,{hasHeader:_.tableProps.hasHeader,tableProps:S}))}default:return w}},validateHTML:x=>{try{return hu(_3(x)),!0}catch(w){return w instanceof Error?console.warn(`HTML for the block is not valid: ${w.message}`):console.warn("HTML for the block is not valid"),!1}}})(c);return p=p.replaceAll(/<\/?unwanted>/gi,""),s&&(p=p.replaceAll(/<br\/>/gi," ")),p},Yd=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:r="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>_3(tm({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o,trimBr:s,subType:l})),JD=({summary:e,...t})=>e?a.jsx(VH,{...t,summary:Yd({rawDraftContent:e,trimBr:!0})}):null,w3=({headingProps:e,layout:t,tags:r,sponsor:o,...s})=>{const l=a.jsxs(a.Fragment,{children:[a.jsx(f2,{...e,as:"h2",size:{xs:"s",md:"m"},px:{xs:"m",md:"0"},...!e.iconProps&&{textAlign:{xs:"center",md:"left"}},...!!e.iconProps&&t===ge.MOBILE&&{isCentered:!0}}),r&&r.length>0&&a.jsx(sb,{layout:t,tags:r?.map((c,h)=>h===0?{...c,ml:{xs:"m",md:"0"}}:c),mt:{xs:"l",md:"0"}}),o&&a.jsx(I0,{sponsor:o,size:t===ge.MOBILE?"m":"xl",hasText:!0,justifyContent:"end",alignItems:"center",gap:{xs:"xxs",md:"s"},mt:{xs:"m",md:"0"},px:{xs:"m",md:"0"}})]});return t===ge.DESKTOP?a.jsx(ve,{justifyContent:"between",alignItems:"center",gap:"m",...s,children:l}):a.jsx(be,{...s,children:l})},ZD=({signsContent:e,layout:t=ge.MOBILE})=>a.jsx(a.Fragment,{children:e.map((r,o)=>a.jsxs(pe.Fragment,{children:[a.jsx(i9,{title:r.heading.title,subtitle:r.heading.subtitle,icon:r.heading.icon,bg:"grey-50",color:"black",mx:{xs:"m",md:"0"},mb:{xs:"0",md:"l"},p:"0"}),r.topics.map((s,l)=>a.jsx(Z7,{icon:s.icon,title:s.title,content:s.content,mx:{xs:"m",md:"0"},hasBorderBottom:l!==r.topics.length-1,...l!==0&&{pt:"l"},...l!==r.topics.length-1&&{pb:"l"}},`${s.title}-${l}`)),a.jsx(ve,{justifyContent:"center",my:{xs:"xs",md:"l"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:r.link.href,children:r.link.children})}),o===2&&a.jsx(vb,{}),o===2&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===5&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_2":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===8&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_3":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===11&&t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE"}),o!==e.length-1&&a.jsx(kn,{mx:{xs:"m",md:"0"},color:"ultramarine",mb:"l"})]},`${r.heading.title}-${o}`))}),XD=({linksProps:e})=>a.jsx(ve,{direction:"column",gap:"m",className:"u-fit-content",children:e.map(t=>a.jsx(Yt,{...t},t.href))});var j5={exports:{}};var eI;function i$(){return eI||(eI=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var l="",c=0;c<arguments.length;c++){var h=arguments[c];h&&(l=s(l,o(h)))}return l}function o(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return r.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var c="";for(var h in l)t.call(l,h)&&l[h]&&(c=s(c,h));return c}function s(l,c){return c?l?l+" "+c:l+c:l}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(j5)),j5.exports}var o$=i$();const vo=Jy(o$),M5=({src:e,withShadow:t=!1,halfOpacity:r=!1,...o})=>a.jsxs("div",{className:vo("o-page__background-container",{"o-page__background-container--with-shadow":t}),children:[a.jsx("img",{className:vo("o-page__background-img",{"o-page__background-img--with-shadow":t,"o-page__background-img--half-opacity":r}),alt:"Background",src:e,...o}),t&&a.jsx("div",{className:"o-page__background-shadow"})]}),s$=({layout:e,link:t,title:r,cardHeaderProps:o,...s})=>e&&t&&r&&o?a.jsx(c2,{...s,layout:e,link:t,title:r,cardHeaderProps:o}):null,rm=({content:e,pageEndpoint:t,imgEndpoint:r,colorScheme:o="ultramarine",disableLettering:s=!1,subType:l,...c})=>a.jsx(be,{...c,className:vo("c-content",{[`c-content--theme-${o}`]:!!o,"c-content--text-with-lettering":!s&&e.blocks[0]?.text.length>60}),children:Yd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,subType:l})}),tI=({name:e,description:t,link:r,icon:o,layout:s,...l})=>a.jsxs(Ea,{as:"a",href:r,...l,children:[s===ge.MOBILE&&e,a.jsxs(ve,{alignItems:{xs:"start",md:"center"},justifyContent:{xs:"center",md:"start"},className:"opacity-hover",children:[a.jsx(or,{bg:"white",isRounded:!0,name:o.name,size:o.size||s===ge.DESKTOP&&20||30,color:"grey-900",p:"xs",mr:{xs:"0",md:"xxs"},mb:{xs:"xs",md:"0"}}),s===ge.DESKTOP&&t]}),s===ge.MOBILE&&t]}),L5=({iconSize:e,layout:t,...r})=>a.jsxs(ve,{...r,bg:"ultramarine",p:{xs:"xxs",md:"xs"},justifyContent:{xs:"evenly",lg:"start"},children:[a.jsx(tI,{basis:{xs:50,lg:"auto"},icon:{name:"game",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Jeux"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir les",t===ge.DESKTOP?a.jsx("br",{}):" ",Object.values(pb).length," jeux"]}),link:"https://www.20minutes.fr/services/jeux",layout:t,id:"entertainment-item-game"}),a.jsx(Ea,{mx:"m",py:"xs",children:a.jsx(Xy,{color:"white"})}),a.jsx(tI,{basis:{xs:50,lg:"auto"},icon:{name:"horoscope",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Horoscope"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir mon",t===ge.DESKTOP?a.jsx("br",{}):" ","horoscope"]}),link:"https://www.20minutes.fr/horoscope/",layout:t,id:"entertainment-item-horoscope"})]}),k5=({faqData:e,pageEndpoint:t})=>a.jsx(a.Fragment,{children:e.map(r=>a.jsx(Mf,{index:r.index,...r.tag?{textTitleProps:{as:r.tag,size:{xs:"m",md:"l"},my:"xs",children:r.title}}:{headingTitleProps:{my:"xs",children:r.title}},contentWithBorder:!1,bg:"grey-100",btnProps:{py:"xxs-3"},iconProps:{color:"ultramarine"},mb:"l",children:a.jsx(rm,{content:r.children,pageEndpoint:t,disableLettering:!0})},r.index))}),rI=({enableAccordion:e,items:t,contentProps:r,heading:o={as:"h2"},...s})=>!t||t?.length===0?null:e?a.jsx(qg,{...s,items:t,contentProps:r}):a.jsx(ve,{direction:"column",gapX:"m",mx:{xs:"m",md:"0"},children:t.map(l=>pe.createElement(ve,{...s,key:l.title,direction:"column",gapX:"s"},a.jsx(Yr,{size:"xs",color:"black",weight:"semi-bold",...o,children:l.title}),a.jsx(m9,{...r,content:l.content})))}),nI=({game:e,reportContent:t,...r})=>a.jsxs(be,{...r,as:"section",px:"m",py:{xs:"m",md:"s"},bg:"grey-100",children:[a.jsxs(Me,{as:ve,direction:{xs:"column",md:"row"},alignItems:{xs:"start",md:"center"},gap:"xxs",weight:"bold",size:"m",children:[a.jsx("span",{children:`Un problème dans le jeu ${e} ?`}),a.jsx(Tn,{as:"button",id:"game-help-button",variant:"link",children:"J'ai besoin d'aide"})]}),t&&a.jsxs(Me,{mt:"m",children:["Ce jeu a été généré automatiquement à partir d’articles publiés sur 20 Minutes. Si vous constatez une erreur, vous pouvez nous la signaler à l’adresse :"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})]}),aI=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsx(Yr,{size:"s",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:"L'accès aux jeux a été bloqué afin de respecter votre consentement"}),a.jsxs(Me,{size:"l",mb:"m",children:["En cliquant sur",a.jsx(Me,{weight:"bold",as:"span",ml:"xxs",children:"« J’accepte les cookies »"}),", vous consentez le dépôt de cookies permettant l'activation des services interactifs proposés par des tiers, et pourrez ainsi accéder à l'ensemble des contenus interactifs disponibles sur 20 Minutes (jeux-concours, quiz, sondages…)."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"m",children:["En savoir plus sur",a.jsx(Me,{color:e,as:"a",href:t,mx:"xxs",children:"notre politique de cookies"})]}),a.jsxs(ve,{justifyContent:"center",gap:"m",children:[a.jsx(Tn,{className:"cmp-game-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-game-button",children:"J'accepte les cookies"})]})]}),B5=({children:e})=>a.jsxs("div",{className:"c-game-placeholder",children:[a.jsx("div",{className:"js-game-wrapper u-hidden",children:e}),a.jsx(aI,{}),a.jsx(be,{my:"m",className:"js-game-alert u-hidden",children:a.jsx(I7,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Les jeux ne se chargent pas sur Firefox ?",description:`Vérifiez que la "Protection renforcée contre le pistage" est bien désactivée sur la page, accessible depuis l'icône bouclier, à gauche de l'URL.`})})]}),P5=({id:e,name:t,type:r,src:o,keesingType:s,keesingId:l,keesingGame:c,enableAds:h},...v)=>{const p=["421","buzz","quiz"],x={player:"https://web.keesing.com/pub/player/v2.25.2/dist/",portal:"https://web.keesing.com/pub/portal/v2.25.2/dist/",js:"https://web.keesing.com/pub/bundle-loader/bundle-loader.js",css:`https://web.keesing.com/pub/config/${h?"20minutes":"20minutespremium"}/css/custom_client.css`};return o&&p.includes(e)?a.jsx(B5,{children:a.jsx("div",{id:"loginwall",children:a.jsx(IH,{title:t,htmlIframeProps:{src:o},mb:"l",className:`c-game c-game--${e}`,...v})})}):r==="Arcade"&&p.includes(e)?a.jsx(B5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":x.css}),a.jsx("div",{id:"puzzle-portal",className:`game game-${t}`,"data-customerid":h?"20minutes":"20minutespremium","data-gametype":`CG_${c}`,"data-puzzleid":`CG_${c}`,"data-publicpath":s==="player"?x.player:x.portal}),a.jsx("script",{type:"text/javascript","data-src":x.js,"data-wlpp-bundle":s??"portal"})]})}):!s||!c?null:a.jsx(B5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":x.css}),p.includes(e)?a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":h?"20minutes":"20minutespremium","data-portalview":c??"","data-publicpath":s==="player"?x.player:x.portal}),a.jsx("script",{type:"text/javascript","data-src":x.js,"data-wlpp-bundle":s??"portal"})]}):a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":h?"20minutes":"20minutespremium","data-gametype":s==="portal"?c:`CG_${c}`,"data-puzzleid":s==="portal"?`${l??c}_today`:`CG_${c}`}),a.jsx("script",{type:"text/javascript","data-wlpp-bundle":"player","data-src":x.js})]})]})})},F5=({games:e,...t})=>a.jsxs(ve,{direction:"column",gap:"m",...t,children:[a.jsx(Me,{size:{xs:"l",md:"xl"},weight:"bold",children:e[0].category}),e.map(r=>a.jsx(Ea,{as:Yt,href:r.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:r.name},r.url))]}),H5=({games:e,colsNumber:t,...r})=>{const o=s=>e.filter(l=>l.category===s).sort((l,c)=>l.name.localeCompare(c.name));return a.jsx(Mf,{index:0,textTitleProps:{children:"Voir tous les jeux",whiteSpace:"nowrap",pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...r,children:a.jsxs(Ri,{colsNumber:t??{xs:1,md:3},gap:"m",children:[a.jsx(F5,{games:o("Jeux de lettres"),mb:{xs:"xs",md:"0"}}),a.jsx(F5,{games:o("Jeux de chiffres"),mb:{xs:"xs",md:"0"}}),a.jsx(F5,{games:o("Jeux inclassables")})]})})},u$=e=>e.replace(/(<([^>]+)>)/gi,"").length,S3=({label:e,items:t,...r})=>a.jsx(Mf,{index:0,textTitleProps:{children:e,pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...r,children:a.jsx(Ri,{colsNumber:1,gap:"m",children:a.jsx(ve,{direction:"column",gap:"m",children:t.map(o=>a.jsx(Ea,{as:Yt,href:o.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:o.title},o.url))})})}),Bo=({subtitle:e,isExpandable:t,dropdown:r,...o})=>{if(e&&typeof e!="string"){const s=Yd({rawDraftContent:e}),l=u$(hu(s));return a.jsxs(a.Fragment,{children:[a.jsx(bl,{...o,isExpandable:l>200,subtitle:l>0?s:null,rightAsideElement:r&&o.layout===ge.DESKTOP?a.jsx(S3,{...r}):void 0}),r&&o.layout===ge.MOBILE&&a.jsx(S3,{mb:"l",...r})]})}return a.jsxs(a.Fragment,{children:[a.jsx(bl,{...o,isExpandable:t===void 0?!!(e&&e.length>200):t,subtitle:e,rightAsideElement:r&&o.layout===ge.DESKTOP?a.jsx(S3,{...r}):void 0}),r&&o.layout===ge.MOBILE&&a.jsx(S3,{mb:"l",...r})]})},iI=({images:e,...t})=>!e||e?.length===0?null:a.jsx(Ri,{as:"section",colsNumber:{xs:3,md:5},gap:{xs:"xxs",md:"xl"},...t,children:e.map((r,o)=>a.jsx("a",{href:r.link,children:a.jsx(Eh,{src:r.cover,alt:r.title})},`${r.cover}-${o}`))}),C3=({description:e,hasInfoButton:t,...r})=>{if(!e)return null;const o=t?{children:a.jsxs("p",{children:["Cet texte a été généré automatiquement sur la base des données fournies par l'INSEE et les pages Wikipédia des communes. En cas d'erreur, vous pouvez nous contacter à"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})}:void 0;return typeof e!="string"?a.jsx(Og,{...r,description:Yd({rawDraftContent:e}),infoButton:o}):a.jsx(Og,{...r,description:e,infoButton:o})},oI=({infosContent:e,layout:t=ge.MOBILE})=>{const r=a.jsx(a.Fragment,{children:e.map(o=>a.jsxs(ve,{gap:"xxs",alignItems:"center",mb:{xs:"xl",md:"0"},children:[a.jsx(or,{mr:"xxs",size:30,...o.iconOptions}),a.jsxs(Me,{size:"l",as:"span",weight:"bold",children:[o.title,!o.rating&&a.jsxs(Me,{as:"span",color:"ultramarine",size:"m",weight:"regular",children:[" ",o.information]})]}),o.rating&&a.jsx(W7,{rating:o.rating})]},o.title))});return t===ge.DESKTOP?a.jsx(Ri,{colsNumber:{xs:void 0,sm:2},gap:"xl",my:"l",children:r}):r},T3=({articles:e,seeMoreButton:t,layout:r,...o})=>{const{variablesForQuery:s,...l}=o;return a.jsxs(be,{...l,children:[e.map((c,h)=>{const v=`lastArticleKey${h}`,p=h===e.length-1,x=!p&&(r===ge.DESKTOP||r===ge.MOBILE&&h!==10&&h!==20);return a.jsxs(pe.Fragment,{children:[a.jsx(t9,{...c,px:{xs:"m",md:"0"},cardTitleProps:{weight:"semi-bold",maxRows:r===ge.MOBILE?void 0:3,...c.cardTitleProps},...x?{className:"u-divider-bottom-grey-200"}:{},...h!==0&&{pt:"s"},...!p&&{pb:"s"}}),h===10&&r===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),h===20&&r===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]},v)}),t&&a.jsx(Tn,{...t,color:"primary",variant:"outlined",mx:"auto",mt:"s"})]})},N3=({legalNotices:e,seeMoreLegalNotices:t,...r})=>e.length===0?null:a.jsxs(be,{...r,children:[e.map((o,s)=>pe.createElement(oU,{...o,key:`${o.link}-${s}`,linkProps:{children:"Lire l’annonce"},...s!==e.length-1&&{className:"u-divider-bottom-grey-200"},...s!==0&&{pt:"l"},...s!==e.length-1&&{pb:"l"}})),t&&a.jsx(Tn,{color:"primary",variant:"outlined",mx:"auto",mt:"xl",...t})]}),sI=({location:e,header:t,surtitle:r,title:o,date:s,linkLogo:l,description:c,linkPDF:h,linkNotice:v,signature:p,...x})=>a.jsxs(be,{...x,as:"section",children:[a.jsxs(be,{mb:"s",children:[a.jsxs(ve,{color:"ultramarine",children:[a.jsx(or,{name:"local",size:13,mr:"xxs-2",mb:"xxs-2"}),a.jsx(Me,{size:"xxs",weight:"bold",textTransform:"uppercase",children:e})]}),a.jsx(Yr,{size:"xs",children:t}),a.jsx(Yr,{size:"xs",children:r}),a.jsx(Yr,{size:"xs",children:o}),a.jsxs(Me,{as:"time",size:"s",color:"grey-400",dateTime:s,children:["Publié le ",hb(s)]})]}),l&&a.jsx(be,{as:"img",src:l,mb:"s",style:{maxWidth:"100px",maxHeight:"100px"}}),c&&a.jsx(Me,{size:"m",mb:"xxl",dangerouslySetInnerHTML:{__html:c}}),p&&a.jsx(Me,{italic:!0,mb:"xxl",children:p}),h&&a.jsx(Yt,{buttonColor:"primary",href:h,target:"_blank",mr:"m",mb:"m",children:"Télécharger le justificatif en PDF"}),v&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:v,target:"_blank",children:"Télécharger la notice"})]}),U5=({updatedAt:e,...t})=>a.jsx(d9,{...t,...e&&{updatedAt:cb(e)}}),O2=({cardOverviewProps:e,...t})=>{if(e.length<=0)return null;const r=a.jsx(a.Fragment,{children:e.map((o,s)=>pe.createElement(ib,{...o,key:o.title,mb:s!==e.length-1?"m":"0",variant:"big",cardHeaderProps:{headline:{text:"Live",bg:"red"},hasDot:!0}}))});return Object.keys(t).length===0?r:a.jsx(be,{...t,children:r})},uI=({draftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o=!0})=>{const s=pe.useRef(null);return pe.useEffect(()=>{const l=tm({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o}),c=document.createRange().createContextualFragment(l);s.current&&(s.current.innerHTML="",s.current.appendChild(c))},[e,r,t,o]),a.jsx(be,{ref:s,mt:"s",className:"c-content",children:Yd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o})})},lI=({currentTab:e})=>a.jsxs(ve,{className:"c-tablist",mb:"l",gap:"l",px:{xs:"m",md:"0"},children:[a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/film-au-cinema-en-ce-moment",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="in_theaters",children:"A l'affiche"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/sortie-cinema-de-la-semaine",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="last_releases",children:"Sorties de la semaine"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/prochaine-sortie-cinema",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="soon",children:"Prochainement"})]}),j2=({buttonLabel:e,title:t,url:r,...o})=>a.jsxs(ve,{alignItems:"center",justifyContent:"between",gap:{xs:"xs",md:"m"},py:"s",px:"xxl",direction:{xs:"column",md:"row"},bg:"ultramarine",...o,children:[a.jsx(Me,{as:"h2",color:"white",size:"xl",weight:"bold",textAlign:{xs:"center",md:"left"},children:t}),a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:r,target:"_blank",children:e})]}),l$=()=>/Android/i.test(navigator.userAgent),c$=typeof window<"u"&&navigator.userAgent.toLowerCase().includes("firefox"),d$=()=>{const e=document.getElementById("js-download-band");e&&l$()&&e.setAttribute("href","https://app.adjust.com/15shf6wg?campaign=Bandeau_1&deep_link=20minutes%3A%2F%2Fhome")},f$=()=>{const e=document.getElementById("js-election-selector");e instanceof HTMLSelectElement&&e.addEventListener("change",t=>{window.location.replace(t.target.value)})},h$=()=>{const e=document.querySelector(".c-search-banner");if(!e)return;const t=document.getElementById("js-search-banner-expand-button");if(t instanceof HTMLButtonElement){if(t.hasAttribute("data-search-banner-listener-attached"))return;const r=e.querySelector("[data-search-banner-expanded-source]"),o=e.querySelector("[data-search-banner-collapse]");if(!r||!o)return;t.setAttribute("data-search-banner-listener-attached","true"),t.addEventListener("click",()=>{r.getAttribute("aria-expanded")==="true"?(r.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")):(r.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false"))})}},q5=new Map,p$=e=>{const t=q5.get(e);if(t)return t;const r=fetch(e,{credentials:"same-origin"}).then(o=>{if(!o.ok)throw new Error(`Unable to load submenu cards: ${o.status}`);return o.text()});return q5.set(e,r),r.catch(()=>{q5.delete(e)}),r},m$=e=>e.matches(":hover")||e.matches(":focus-within"),cI=async e=>{if(!(e instanceof Element))return;const t=e.closest(".c-header__link-and-submenu-container");if(!(t instanceof HTMLElement))return;const r=t.querySelector(".js-sub-menu-cards-slot");if(!(r instanceof HTMLElement))return;const o=r.dataset.cardsUrl;if(!(!o||r.dataset.loaded==="true"||r.dataset.loading==="true")){r.dataset.loading="true";try{const s=await p$(o);if(!m$(t)||r.dataset.loaded==="true")return;r.insertAdjacentHTML("beforeend",s),r.dataset.loaded="true"}catch(s){console.error(s)}finally{delete r.dataset.loading}}},v$=()=>{const e=document.querySelector(".c-header__links-container");e instanceof HTMLElement&&(e.addEventListener("pointerover",t=>{cI(t.target)}),e.addEventListener("focusin",t=>{cI(t.target)}))},g$=[{text:"Paris",_index:"town_1717424751904",_id:"75056",_score:1,_source:{output:"Paris (75000)",url:"/elections/resultats/paris/paris-75000"}},{text:"Paris 10ème Arrondissement",_index:"town_1717424751904",_id:"75056AR10",_score:1,_source:{output:"Paris 10ème Arrondissement (75010)",url:"/elections/resultats/paris/paris-75010"}},{text:"Paris 11ème Arrondissement",_index:"town_1717424751904",_id:"75056AR11",_score:1,_source:{output:"Paris 11ème Arrondissement (75011)",url:"/elections/resultats/paris/paris-75011"}}],y$=(e,t,r,o,s,l)=>{const c=document.getElementById(e);if(!c)return;const h=c.dataset.storybook,v=c.querySelector(`#${e}-search`),p=v?.getAttribute("data-api-url"),x=c.querySelector(".c-autocomplete__menu");if(!v||!x||!p)return;const w=c.querySelector(".c-autocomplete__input-spinner"),_=v.getAttribute("data-trigger-message"),D=async P=>{try{const z=h&&t.includes("20minutes.fr")?g$:await fetch(`${p}${r}${encodeURIComponent(P)}`).then(W=>W.json()),U=l&&typeof z=="object"&&z!==null?z[l]:z;return Array.isArray(U)?U:[]}catch(z){return console.error("Error fetching autocomplete results:",z),[]}},S=(P,z)=>{const U=document.createElement("li");U.id=`/${P}`,U.textContent=z,U.addEventListener("click",()=>{v instanceof HTMLInputElement&&(v.value=z,x.classList.add("u-hidden"))}),x.appendChild(U)},T=()=>{w?.classList.toggle("u-hidden")},C=()=>{const P=document.createElement("li");P.textContent=_,x.appendChild(P)},O=async P=>{T(),x.classList.remove("u-hidden");const z=await D(P);x.innerHTML="",z.length===0&&x.classList.add("u-hidden"),z.forEach(U=>{S(U[o],U[s])}),T()},L=P=>{if(!(P.target instanceof HTMLInputElement))return;const z=P.target.value;x.classList.remove("u-hidden"),z.length>=3?O(z):(x.innerHTML="",C())};v.addEventListener("input",L),v.addEventListener("focusout",()=>{setTimeout(()=>x.classList.add("u-hidden"),300)}),v.addEventListener("focusin",()=>{x.childElementCount>0&&x.classList.remove("u-hidden")})};var z5=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(z5||{});const V5=".js-bottom-sheet",dI=`${V5}:not([aria-hidden='true'])`,b$=".c-bottom-sheet__panel",fI=".c-bottom-sheet__handle",hI=`${fI}[data-a11y-dialog-hide]`,x$="[data-a11y-dialog-show]",A$="data-bottom-sheet-anchor",_$=75,pI="c-bottom-sheet--dragging";let mI=!1,M2=null,nm=null,G5=0,L2=0;const vI=e=>{const t=e.getAttribute(A$),r=t?document.querySelector(t):null;if(!r)return;const o=Math.max(0,window.innerHeight-r.getBoundingClientRect().top);e.style.setProperty("--modal-bottom-offset",`${o}px`)},E$=()=>{document.querySelectorAll(dI).forEach(e=>{e instanceof HTMLElement&&vI(e)})},gI=()=>{M2?.classList.remove(pI),nm&&(nm.style.transform=""),M2=null,nm=null,G5=0,L2=0},w$=e=>{const t=e.target;if(!(t instanceof HTMLElement))return;const r=t.closest(V5);if(!(r instanceof HTMLElement)||r.getAttribute("aria-hidden")==="true")return;const o=r.querySelector(b$);o instanceof HTMLElement&&(!t.closest(fI)&&o.scrollTop>0||(M2=r,nm=o,G5=e.touches[0].clientY,L2=0,r.classList.add(pI)))},S$=e=>{nm&&(L2=Math.max(0,e.touches[0].clientY-G5),nm.style.transform=`translateY(${L2}px)`)};let K5=!1;const yI=e=>{const t=e.target;if(!(t instanceof Element))return null;const r=t.closest(x$);if(!(r instanceof HTMLElement))return null;const o=r.getAttribute("data-a11y-dialog-show"),s=o?document.getElementById(o):null;return!(s instanceof HTMLElement)||s.contains(r)?null:s},C$=e=>{K5=!!yI(e)?.matches(dI)},T$=e=>{if(!K5)return;K5=!1;const t=yI(e);if(!(t instanceof HTMLElement))return;const r=t.querySelector(hI);r instanceof HTMLElement&&r.click()},N$=()=>{if(M2){if(L2>_$){const e=M2.querySelector(hI);e instanceof HTMLElement&&e.click()}gI()}},D$=(e,t)=>{const r=e.id;r&&document.querySelectorAll(`[data-a11y-dialog-show="${r}"]`).forEach(o=>{!(o instanceof HTMLElement)||e.contains(o)||o.setAttribute("aria-expanded",t?"true":"false")})},I$=()=>{new MutationObserver(e=>{e.forEach(({target:t})=>{if(!(t instanceof HTMLElement)||!t.matches(V5))return;const r=t.getAttribute("aria-hidden")!=="true";r&&vI(t),D$(t,r)})}).observe(document.body,{attributes:!0,attributeFilter:["aria-hidden"],subtree:!0})},R$=()=>{window.layout===z5.MOBILE&&(mI||(document.addEventListener("touchstart",w$,{passive:!0}),document.addEventListener("touchmove",S$,{passive:!0}),document.addEventListener("touchend",N$),document.addEventListener("touchcancel",gI),document.addEventListener("mousedown",C$),document.addEventListener("click",T$),window.addEventListener("resize",E$),I$(),mI=!0))},O$=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const r=t.parentElement?.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),r?.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),r?.setAttribute("aria-hidden","false"))}},j$=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",r=>{O$(r)})})},M$="[data-countdown][data-countdown-end-date]",L$=e=>{const t=e.querySelector(".js-countdown-days"),r=e.querySelector(".js-countdown-hours"),o=e.querySelector(".js-countdown-minutes"),s=e.querySelector(".js-countdown-seconds");return!t||!r||!o||!s?null:{daysElement:t,hoursElement:r,minutesElement:o,secondsElement:s}},bI=(e,t)=>{const r=e-Date.now();if(r<=0)return!1;const o=Math.floor(r/(1e3*60*60*24)),s=Math.floor(r%(1e3*60*60*24)/(1e3*60*60)),l=Math.floor(r%(1e3*60*60)/(1e3*60)),c=Math.floor(r%(1e3*60)/1e3);return t.daysElement.textContent=o.toString(),t.hoursElement.textContent=s.toString(),t.minutesElement.textContent=l.toString(),t.secondsElement.textContent=c.toString(),!0},k$=()=>{document.querySelectorAll(M$).forEach(e=>{const t=e.dataset.countdownEndDate,r=t?new Date(t).getTime():Number.NaN,o=L$(e);if(!o)return;if(Number.isNaN(r)){e.remove();return}if(!bI(r,o)){e.remove();return}const s=setInterval(()=>{bI(r,o)||(clearInterval(s),e.remove())},1e3)})},B$=e=>{const t=e.getBBox(),r=t.width/20;return[t.x-r,t.y-r,t.width+r*2,t.height+r*2].join(" ")},P$=()=>{const e=document.querySelector(".c-map-districts-container"),t=document.querySelector(".c-map-districts");if(!e||!t)return;const r=document.querySelector(".c-map-districts-container__description"),o=document.querySelector(".c-map-districts-container__department"),s=document.querySelector(".c-map-districts-container__unzoom-button");let l=t;const c=t.getAttribute("viewBox"),h=(D,S)=>D.matches?.call(D,S),v=(D,S,T=".c-map-districts__zoomable:not(.js-selected-area)")=>{if(!D)return;let C,O=D.parentElement;for(;O instanceof SVGGraphicsElement&&O!==S;)h(O,T)&&(C=O),O=O.parentElement;return C},p=(D,S,T)=>{if(!D)return;let C=D.parentElement;for(;C instanceof SVGGraphicsElement&&C!==T;){if(S===C)return!0;C=C.parentElement}return T===S},x=(D,S)=>{if(S&&s&&r){e.classList.remove("c-map-districts-container--department-view"),r.classList.remove("u-hidden"),o?.classList.add("u-hidden"),s.classList.add("u-hidden"),S!==c&&(r.classList.add("u-hidden"),s.classList.remove("u-hidden")),l.classList.remove("js-selected-area"),l=D;const T=l.getAttribute("data-info");o&&T&&(e.classList.add("c-map-districts-container--department-view"),o.classList.remove("u-hidden"),o.innerHTML=T),l.classList.add("js-selected-area"),t.setAttribute("viewBox",S)}},w=D=>{D.stopPropagation();const S=D.currentTarget;if(l&&t&&S instanceof SVGGraphicsElement){if(S===l)return;if(D.preventDefault(),l!==t&&!p(S,l,t)){x(t,c);return}const T=v(S,l);x(T||S,B$(T||S))}},_=()=>{t&&l!==t&&x(t,c)};t.addEventListener("click",_),s&&s.addEventListener("click",_),document.querySelectorAll(".c-map-districts__zoomable").forEach(D=>{D.addEventListener("click",S=>w(S))})},F$=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const r=l=>{t.classList.remove("u-hidden");const c=t.querySelectorAll("li"),h=[];return c.forEach(v=>{v.querySelector("a")?.innerHTML.toLowerCase().includes(l.toLowerCase())&&h.push(v.innerHTML)}),h},o=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{if(!(l instanceof HTMLInputElement))return;const c=l.value;if(t.classList.add("u-hidden"),c.length>=3){const h=r(c);t.innerHTML="",h.length===0&&t.classList.add("u-hidden"),h.forEach(v=>{o(v)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},H$=(e,t)=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.remove(t)});const r=e.querySelector(".js-ellipsis-button__label");r instanceof HTMLSpanElement&&(r.innerHTML="Voir moins")},U$=(e,t)=>{e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.add(t)}),e.setAttribute("aria-expanded","false");const r=e.querySelector(".js-ellipsis-button__label");r instanceof HTMLSpanElement&&(r.innerHTML="Voir plus")},q$=(e,t)=>{const r=e.currentTarget;if(e.preventDefault(),r instanceof HTMLButtonElement){const o=t?"u-ellipsis-multiline":"u-ellipsis";return r.getAttribute("aria-expanded")==="true"?U$(r,o):H$(r,o)}return null},z$=(e=document.querySelector(".js-ellipsis-button"))=>{e&&document.querySelectorAll(".js-ellipsis-button").forEach(t=>{const r=t.getAttribute("data-multiple")==="true";t.addEventListener("click",o=>q$(o,r))})},V$=e=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","false")});const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir moins")},G$=e=>{e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false");const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir plus")},K$=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?G$(t):V$(t):null},W$=e=>{const t=e.parentNode?.querySelector(".js-expand-target");return!t||t.classList.contains("c-elections-result__members")?!1:(t.textContent?.trim().length??0)<255},$$=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(t=>{W$(t)?(t.style.display="none",t.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","false")})):t.addEventListener("click",K$)})},xI=(e,t)=>{const r=document.querySelector(".js-content-header"),o=document.querySelector(t),s=document.querySelector(e),l=document.querySelector(".c-header-mobile"),c=l instanceof HTMLElement?l.offsetHeight:0;if(r&&o&&s){const h=new IntersectionObserver(()=>{const v=s.classList,p=v.contains("u-hidden"),x=r.getBoundingClientRect().bottom-c,w=o.getBoundingClientRect().bottom-c;p&&x<=0&&w>=0&&v.remove("u-hidden"),!p&&(x>=0||w<=0)&&v.add("u-hidden")},{root:document,rootMargin:`-${c}px 0px 0px 0px`});h.observe(r),h.observe(o)}},Y$=()=>xI(".js-close-article-btn",".js-limit-scroll-close-article-btn"),Q$=()=>xI(".js-chatbot-btn",".js-limit-scroll-chatbot-btn"),J$=()=>{const e=document.querySelector(".js-game-alert");c$&&e&&e.classList.remove("u-hidden")},Z$=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const r=t.querySelector(".c-half-donut"),o=t.querySelector(".c-legend");if(!r||!o)return;o.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),c=r.querySelector(`.c-half-donut__zone--${l}`);c?.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),r.classList.add("c-half-donut--is-hovered"),o.classList.add("c-legend--is-hovered")}),c?.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),r.classList.remove("c-half-donut--is-hovered"),o.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{c?.classList.add("c-half-donut__zone--is-hovered"),o.classList.add("c-legend--is-hovered"),r.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{c?.classList.remove("c-half-donut__zone--is-hovered"),o.classList.remove("c-legend--is-hovered"),r.classList.remove("c-half-donut--is-hovered")})})}},X$=()=>{const e=document.querySelector(".c-image-slider__container");if(!e)return()=>{};const t=document.querySelectorAll(".c-image-slider__slide"),r=document.querySelector(".c-image-slider__button-container--previous"),o=document.querySelector(".c-image-slider__button-container--next"),s=document.querySelectorAll(".c-image-slider__indicator");let l=0,c=null,h=!1;const v=()=>{s.forEach((L,P)=>{L.classList.toggle("c-image-slider__indicator--is-active",P===l)})},p=(L=!0)=>{if(!(e instanceof HTMLElement))return;e.style.transition=L?"transform 0.3s ease":"none";const P=-l*100;e.style.transform=`translateX(${P}%)`,v()},x=L=>{l=L,p(!0)},w=()=>{c&&clearInterval(c),c=setInterval(()=>{if(!h){const L=(l+1)%t.length;x(L)}},4e3)},_=()=>{c&&(clearInterval(c),c=null)},D=()=>{h=!0,_()},S=()=>{h=!1,w()};r?.addEventListener("click",()=>{D();const L=(l-1+t.length)%t.length;x(L),setTimeout(S,5e3)}),o?.addEventListener("click",()=>{D();const L=(l+1)%t.length;x(L),setTimeout(S,5e3)}),s.forEach((L,P)=>{L.addEventListener("click",()=>{D(),x(P),setTimeout(S,5e3)})});let T=0,C=0,O=!1;return e.addEventListener("touchstart",L=>{e instanceof HTMLElement&&(D(),T=L.touches[0].clientX,C=T,O=!0,e.style.transition="none")}),e.addEventListener("touchmove",L=>{if(!(e instanceof HTMLElement))return;C=L.touches[0].clientX;const P=C-T,z=-l*window.innerWidth+P;e.style.transform=`translateX(${z}px)`}),e.addEventListener("touchend",()=>{if(!O)return;O=!1;const L=C-T;Math.abs(L)>75&&(L<0?l=Math.min(l+1,t.length-1):L>0&&(l=Math.max(l-1,0))),p(!0),setTimeout(S,5e3)}),p(!0),w(),()=>{_()}},eY=e=>{const t=e.currentTarget,r=t instanceof HTMLElement?t.nextElementSibling:null;!(t instanceof HTMLButtonElement)||!(r instanceof HTMLElement)||(e.stopImmediatePropagation(),e.preventDefault(),t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),r.setAttribute("aria-hidden","false")))},AI=new WeakSet,_I=()=>{typeof document>"u"||document.querySelectorAll(".js-info-button").forEach(e=>{!(e instanceof HTMLButtonElement)||AI.has(e)||(AI.add(e),e.addEventListener("click",eY))})};if(typeof document<"u"){const e=()=>_I();document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}const Ca={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var tY=[`a[href]${Ca.inert}${Ca.negTabIndex}`,`area[href]${Ca.inert}${Ca.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`input[type="radio"]${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`select${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`textarea${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`button${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`details${Ca.inert} > summary:first-of-type${Ca.negTabIndex}`,`iframe${Ca.inert}${Ca.negTabIndex}`,`audio[controls]${Ca.inert}${Ca.negTabIndex}`,`video[controls]${Ca.inert}${Ca.negTabIndex}`,`[contenteditable]${Ca.inert}${Ca.negTabIndex}`,`[tabindex]${Ca.inert}${Ca.negTabIndex}`];function EI(e){(e.querySelector("[autofocus]")||e).focus()}function rY(e){const t=k2(e,!0),r=t?k2(e,!1)||t:null;return[t,r]}function k2(e,t){if(t&&CI(e))return e;if(aY(e))if(e.shadowRoot){let r=wI(e.shadowRoot,t);for(;r;){const o=k2(r,t);if(o)return o;r=SI(r,t)}}else if(e.localName==="slot"){const r=e.assignedElements({flatten:!0});t||r.reverse();for(const o of r){const s=k2(o,t);if(s)return s}}else{let r=wI(e,t);for(;r;){const o=k2(r,t);if(o)return o;r=SI(r,t)}}return!t&&CI(e)?e:null}function wI(e,t){return t?e.firstElementChild:e.lastElementChild}function SI(e,t){return t?e.nextElementSibling:e.previousElementSibling}const nY=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),CI=e=>e.shadowRoot?.delegatesFocus?!1:e.matches(tY.join(","))&&!nY(e);function aY(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function B2(e=document){const t=e.activeElement;return t?t.shadowRoot?B2(t.shadowRoot)||document.activeElement:t:null}function iY(e,t){const[r,o]=rY(e);if(!r)return t.preventDefault();const s=B2();t.shiftKey&&s===r?(o.focus(),t.preventDefault()):!t.shiftKey&&s===o&&(r.focus(),t.preventDefault())}function am(e,t){function r(o){if(!o||o===document||o===window)return null;const s=TI(o);return s&&(o=s),o.closest(e)||r(o.getRootNode().host)}return r(t)}function TI(e){return e.assignedSlot||(e.parentNode?TI(e.parentNode):null)}const P2="data-a11y-dialog";class NI{$el;id;previouslyFocused;shown;constructor(t){this.$el=t,this.id=this.$el.getAttribute(P2)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(t){return this.shown?this:this.fire("show",t).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=B2(),this.previouslyFocused?.tagName==="BODY"&&t?.target&&(this.previouslyFocused=t.target),t?.type==="focus"?this.maintainFocus():EI(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(t){return this.shown?this.fire("hide",t).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(t,r,o){return this.$el.addEventListener(t,r,o),this}off(t,r,o){return this.$el.removeEventListener(t,r,o),this}fire(t,r){const o=new CustomEvent(t,{detail:r,cancelable:!0});return this.$el.dispatchEvent(o),o}handleTriggerClicks(t){const r=t.composedPath()[0],o=am(`[${P2}-show="${this.id}"]`,r),s=am(`[${P2}-hide="${this.id}"]`,r),l=am(`[${P2}-hide]`,r)&&am('[aria-modal="true"]',r)===this.$el;o&&this.show(t),(s||l)&&this.hide(t)}bindKeypress(t){if(am('[aria-modal="true"]',B2())!==this.$el)return;let r=!1;try{r=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!r&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&iY(this.$el,t)}maintainFocus(){const t=B2();am(`[aria-modal="true"], [${P2}-ignore-focus-trap]`,t)||EI(this.$el)}}function DI(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new NI(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",DI):DI());const oY=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new NI(e);if(e.id==="dialog-menu"){const r=document.querySelectorAll("button[data-a11y-dialog-show='dialog-menu']"),o=document.querySelectorAll("button[data-a11y-dialog-hide='dialog-menu']");r.length>0&&o.length>0&&(t.on("show",()=>{r.forEach(s=>{s.classList.add("u-hidden")}),o.forEach(s=>{s.classList.remove("u-hidden")})}),t.on("hide",()=>{r.forEach(s=>{s.classList.remove("u-hidden")}),o.forEach(s=>{s.classList.add("u-hidden")})}))}t.on("show",()=>{document.body.classList.add("noscroll")}).on("hide",()=>{document.body.classList.remove("noscroll")})}),D3="50px",W5=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{r.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=D3,e.style.paddingLeft=""),o.classList.contains("o-nav-button--visible")&&(e.style.paddingLeft=D3,r.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=D3),r.classList.contains("o-nav-button--visible")||(e.style.paddingRight="")),!r.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(t.style.width="",e.style.paddingRight="")},sY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{const s=t.scrollLeft>0,l=t.scrollLeft+(t.clientWidth+.5)<t.scrollWidth;s&&l?(r.classList?.add("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):s?(r.classList?.remove("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):l?(r.classList?.add("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")):(r.classList?.remove("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")),r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})},uY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o,sliderVariant:s})=>{if(t){const l=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(l){const c=Array.from(l).findIndex(h=>h.classList.contains("c-stepper__item--loading"));if(c<0)l[0].classList.add("c-stepper__item--loading");else{l[c].classList.remove("c-stepper__item--loading"),l[c].classList.add("c-stepper__item--loaded");const h=l[c].querySelector(".c-stepper__loader");h&&h instanceof HTMLElement&&(h.style.transition="width 0s linear"),c+1<l.length&&l[c+1].classList.add("c-stepper__item--loading")}}if(t.scrollWidth-t.clientWidth>t.clientWidth){let c=t.scrollLeft;switch(s){case"three-columns-articles":c+=t.clientWidth+32;break;case"rubrics":c+=t.clientWidth-36;break;default:c+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:c,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),c+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const c=t.scrollWidth-t.clientWidth;t.scrollTo({left:c,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})}},lY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o,sliderVariant:s,delay:l})=>{if(t){const c=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(c){const h=Array.from(c).findIndex(v=>v.classList.contains("c-stepper__item--loading"));h<0?c[0].classList.add("c-stepper__item--loading"):(c[h].classList.remove("c-stepper__item--loading"),c[h].classList.remove("c-stepper__item--loaded"),h-1>0&&(c[h-1].classList.remove("c-stepper__item--loading"),c[h-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const v=c[h-1].querySelector(".c-stepper__loader");c[h-1].classList.add("c-stepper__item--loading"),v&&v instanceof HTMLElement&&(v.style.transition=`width ${l/1e3}s linear`)},0)))}if(t.clientWidth<t.scrollLeft){let h=t.scrollLeft;switch(s){case"three-columns-articles":h-=t.clientWidth+32;break;case"rubrics":h-=t.clientWidth-36;break;default:h-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:h,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),h===0&&o.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible");r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})}},cY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{sY({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})},dY=e=>{const{sliderVariant:t}=e.dataset,{sliderAuto:r}=e.dataset,{sliderDelay:o}=e.dataset,s=o?parseInt(o,10):3e3,l=e.closest(".js-overview-bar-container")?.querySelector(".c-stepper"),c=l?.querySelectorAll(".c-stepper__item"),h=e.querySelector(".js-navigation-container__list"),v=e.querySelector(".o-nav-button--next-button"),p=e.querySelector(".o-nav-button--previous-button");if(!(!h||!v||!p)&&(h.clientWidth<h.scrollWidth&&(v.classList.add("o-nav-button--visible"),v.classList.contains("c-slider__button-container--has-space-around")&&(e.style.paddingRight=D3)),v.addEventListener("click",uY.bind(!1,{navigationContainer:e,navigatedList:h,nextBtn:v,prevBtn:p,sliderVariant:t})),p.addEventListener("click",lY.bind(!1,{navigationContainer:e,navigatedList:h,nextBtn:v,prevBtn:p,sliderVariant:t,delay:s})),r==="true")){const x=l?l.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)}),x||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{v.classList.contains("o-nav-button--visible")?v.click():h&&p&&(h.scrollLeft=0,c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition="width 0s linear"),w.classList.remove("c-stepper__item--loading"),w.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),p.click())},s)}},fY=()=>{const e=document.querySelectorAll(".js-navigation-container");Array.from(e).forEach(t=>{const r=t.querySelector(".js-navigation-container__list");if(r){const o=new ResizeObserver(s=>{s.forEach(l=>{const{width:c}=l.contentRect;c>0&&(dY(t),o.disconnect())})});o.observe(r)}})},hY=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const r=t.querySelector(".js-navigation-container__list"),o=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");r&&o&&s&&window.addEventListener("resize",cY.bind(!1,{navigationContainer:t,navigatedList:r,nextBtn:o,prevBtn:s}))}};function cc(e,t,r){const o=document.createElement(t);return e&&(o.className=e),r&&r.appendChild(o),o}function Po(e,t){return e.x=t.x,e.y=t.y,t.id!==void 0&&(e.id=t.id),e}function II(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function $5(e,t){const r=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return Math.sqrt(r*r+o*o)}function F2(e,t){return e.x===t.x&&e.y===t.y}function H2(e,t,r){return Math.min(Math.max(e,t),r)}function U2(e,t,r){let o=`translate3d(${e}px,${t||0}px,0)`;return r!==void 0&&(o+=` scale3d(${r},${r},1)`),o}function Pp(e,t,r,o){e.style.transform=U2(t,r,o)}const pY="cubic-bezier(.4,0,.22,1)";function RI(e,t,r,o){e.style.transition=t?`${t} ${r}ms ${o||pY}`:"none"}function Y5(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}function mY(e){RI(e)}function vY(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,r)=>{e.onload=()=>t(e),e.onerror=r})}const ed={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function gY(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function yY(e,t,r=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(r.querySelectorAll(s)))}return o}function OI(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let jI=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{jI=!0}}))}catch{}class bY{constructor(){this._pool=[]}add(t,r,o,s){this._toggleListener(t,r,o,s)}remove(t,r,o,s){this._toggleListener(t,r,o,s,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,r,o,s,l,c){if(!t)return;const h=l?"removeEventListener":"addEventListener";r.split(" ").forEach(v=>{if(v){c||(l?this._pool=this._pool.filter(x=>x.type!==v||x.listener!==o||x.target!==t):this._pool.push({target:t,type:v,listener:o,passive:s}));const p=jI?{passive:s||!1}:!1;t[h](v,o,p)}})}}function MI(e,t){if(e.getViewportSizeFn){const r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function q2(e,t,r,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(r,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function LI(e,t,r,o){return{x:t.x-q2("left",e,t,r,o)-q2("right",e,t,r,o),y:t.y-q2("top",e,t,r,o)-q2("bottom",e,t,r,o)}}class xY{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:r}=this.slide,o=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,s=q2(t==="x"?"left":"top",r.options,r.viewportSize,this.slide.data,this.slide.index),l=this.slide.panAreaSize[t];this.center[t]=Math.round((l-o)/2)+s,this.max[t]=o>l?Math.round(l-o)+s:this.center[t],this.min[t]=o>l?s:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,r){return H2(r,this.max[t],this.min[t])}}const kI=4e3;let BI=class{constructor(e,t,r,o){this.pswp=o,this.options=e,this.itemData=t,this.index=r,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,r){const o={x:e,y:t};this.elementSize=o,this.panAreaSize=r;const s=r.x/o.x,l=r.y/o.y;this.fit=Math.min(1,s<l?s:l),this.fill=Math.min(1,s>l?s:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",r=this.options[t];if(r)return typeof r=="function"?r(this):r==="fill"?this.fill:r==="fit"?this.fit:Number(r)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>kI&&(e=kI/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};class AY{constructor(t,r,o){this.data=t,this.index=r,this.pswp=o,this.isActive=r===o.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!o.opener.isOpen,this.zoomLevels=new BI(o.options,t,r,o),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:r}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=cc("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new xY(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!1||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const r=this.currentResolution||this.zoomLevels.initial;if(!r)return;const o=Math.round(this.width*r)||this.pswp.viewportSize.x,s=Math.round(this.height*r)||this.pswp.viewportSize.y;!this.sizeChanged(o,s)&&!t||this.content.setDisplayedSize(o,s)}sizeChanged(t,r){return t!==this.prevDisplayedWidth||r!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=r,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,r,o,s){const{pswp:l}=this;if(!this.isZoomable()||l.mainScroll.isShifted())return;l.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:r,transitionDuration:o}),l.animations.stopAllPan();const c=this.currZoomLevel;s||(t=H2(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",r,c),this.pan.y=this.calculateZoomToPanOffset("y",r,c),II(this.pan);const h=()=>{this._setResolution(t),this.applyCurrentZoomPan()};o?l.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:h,duration:o,easing:l.options.easing}):h()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,r,o){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];r||(r=this.pswp.getViewportCenterPoint()),o||(o=this.zoomLevels.initial);const s=this.currZoomLevel/o;return this.bounds.correctPan(t,(this.pan[t]-r[t])*s+r[t])}panTo(t,r){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",r),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),Po(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,r,o){o/=this.currentResolution||this.zoomLevels.initial,Pp(this.container,t,r,o)}calculateSize(){const{pswp:t}=this;Po(this.panAreaSize,LI(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return U2(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const _Y=.35,EY=.6,PI=.4,FI=.5;function wY(e,t){return e*t/(1-t)}class SY{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&Po(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:r,dragAxis:o}=this.gestures,{currSlide:s}=this.pswp;if(o==="y"&&this.pswp.options.closeOnVerticalDrag&&s&&s.currZoomLevel<=s.zoomLevels.fit&&!this.gestures.isMultitouch){const l=s.pan.y+(t.y-r.y);if(!this.pswp.dispatch("verticalDrag",{panY:l}).defaultPrevented){this._setPanWithFriction("y",l,EY);const c=1-Math.abs(this._getVerticalDragRatio(s.pan.y));this.pswp.applyBgOpacity(c),s.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),s&&(II(s.pan),s.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:r,currSlide:o}=this.pswp;let s=0;if(this.pswp.animations.stopAll(),r.isShifted()){const l=(r.x-r.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-FI&&l<0||t.x<.1&&l<-.5?(s=1,t.x=Math.min(t.x,0)):(t.x>FI&&l>0||t.x>-.1&&l>.5)&&(s=-1,t.x=Math.max(t.x,0)),r.moveIndexBy(s,!0,t.x)}o&&o.currZoomLevel>o.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:r}=this.gestures,{currSlide:o}=this.pswp;if(!o)return;const{pan:s,bounds:l}=o,c=s[t],h=this.pswp.bgOpacity<1&&t==="y",v=c+wY(r[t],.995);if(h){const D=this._getVerticalDragRatio(c),S=this._getVerticalDragRatio(v);if(D<0&&S<-PI||D>0&&S>PI){this.pswp.close();return}}const p=l.correctPan(t,v);if(c===p)return;const x=p===v?1:.82,w=this.pswp.bgOpacity,_=p-c;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:c,end:p,velocity:r[t],dampingRatio:x,onUpdate:D=>{if(h&&this.pswp.bgOpacity<1){const S=1-(p-D)/_;this.pswp.applyBgOpacity(H2(w+(1-w)*S,0,1))}s[t]=Math.floor(D),o.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:r,dragAxis:o,prevP1:s,isMultitouch:l}=this.gestures,{currSlide:c,mainScroll:h}=this.pswp,v=r[t]-s[t],p=h.x+v;if(!v||!c)return!1;if(t==="x"&&!c.isPannable()&&!l)return h.moveTo(p,!0),!0;const{bounds:x}=c,w=c.pan[t]+v;if(this.pswp.options.allowPanToNext&&o==="x"&&t==="x"&&!l){const _=h.getCurrSlideX(),D=h.x-_,S=v>0,T=!S;if(w>x.min[t]&&S){if(x.min[t]<=this.startPan[t])return h.moveTo(p,!0),!0;this._setPanWithFriction(t,w)}else if(w<x.max[t]&&T){if(this.startPan[t]<=x.max[t])return h.moveTo(p,!0),!0;this._setPanWithFriction(t,w)}else if(D!==0){if(D>0)return h.moveTo(Math.max(p,_),!0),!0;if(D<0)return h.moveTo(Math.min(p,_),!0),!0}else this._setPanWithFriction(t,w)}else t==="y"?!h.isShifted()&&x.min.y!==x.max.y&&this._setPanWithFriction(t,w):this._setPanWithFriction(t,w);return!1}_getVerticalDragRatio(t){var r,o;return(t-((r=(o=this.pswp.currSlide)===null||o===void 0?void 0:o.bounds.center.y)!==null&&r!==void 0?r:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,r,o){const{currSlide:s}=this.pswp;if(!s)return;const{pan:l,bounds:c}=s;if(c.correctPan(t,r)!==r||o){const h=Math.round(r-l[t]);l[t]+=h*(o||_Y)}else l[t]=r}}const CY=.05,TY=.15;function HI(e,t,r){return e.x=(t.x+r.x)/2,e.y=(t.y+r.y)/2,e}class NY{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,Po(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:r,p2:o,startP2:s,pswp:l}=this.gestures,{currSlide:c}=l;if(!c)return;const h=c.zoomLevels.min,v=c.zoomLevels.max;if(!c.isZoomable()||l.mainScroll.isShifted())return;HI(this._startZoomPoint,r,s),HI(this._zoomPoint,t,o);let p=1/$5(r,s)*$5(t,o)*this._startZoomLevel;if(p>c.zoomLevels.initial+c.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),p<h)if(l.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=c.zoomLevels.initial){const x=1-(h-p)/(h/1.2);l.dispatch("pinchClose",{bgOpacity:x}).defaultPrevented||l.applyBgOpacity(x)}else p=h-(h-p)*TY;else p>v&&(p=v+(p-v)*CY);c.pan.x=this._calculatePanForZoomLevel("x",p),c.pan.y=this._calculatePanForZoomLevel("y",p),c.setZoomLevel(p),c.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:r}=t;(!r||r.currZoomLevel<r.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&t.options.pinchToClose?t.close():this.correctZoomPan()}_calculatePanForZoomLevel(t,r){const o=r/this._startZoomLevel;return this._zoomPoint[t]-(this._startZoomPoint[t]-this._startPan[t])*o}correctZoomPan(t){const{pswp:r}=this.gestures,{currSlide:o}=r;if(!(o!=null&&o.isZoomable()))return;this._zoomPoint.x===0&&(t=!0);const s=o.currZoomLevel;let l,c=!0;s<o.zoomLevels.initial?l=o.zoomLevels.initial:s>o.zoomLevels.max?l=o.zoomLevels.max:(c=!1,l=s);const h=r.bgOpacity,v=r.bgOpacity<1,p=Po({x:0,y:0},o.pan);let x=Po({x:0,y:0},p);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=s,Po(this._startPan,p)),c&&(x={x:this._calculatePanForZoomLevel("x",l),y:this._calculatePanForZoomLevel("y",l)}),o.setZoomLevel(l),x={x:o.bounds.correctPan("x",x.x),y:o.bounds.correctPan("y",x.y)},o.setZoomLevel(s);const w=!F2(x,p);if(!w&&!c&&!v){o._setResolution(l),o.applyCurrentZoomPan();return}r.animations.stopAllPan(),r.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:_=>{if(_/=1e3,w||c){if(w&&(o.pan.x=p.x+(x.x-p.x)*_,o.pan.y=p.y+(x.y-p.y)*_),c){const D=s+(l-s)*_;o.setZoomLevel(D)}o.applyCurrentZoomPan()}v&&r.bgOpacity<1&&r.applyBgOpacity(H2(h+(1-h)*_,0,1))},onComplete:()=>{o._setResolution(l),o.applyCurrentZoomPan()}})}}function UI(e){return!!e.target.closest(".pswp__container")}class DY{constructor(t){this.gestures=t}click(t,r){const o=r.target.classList,s=o.contains("pswp__img"),l=o.contains("pswp__item")||o.contains("pswp__zoom-wrap");s?this._doClickOrTapAction("imageClick",t,r):l&&this._doClickOrTapAction("bgClick",t,r)}tap(t,r){UI(r)&&this._doClickOrTapAction("tap",t,r)}doubleTap(t,r){UI(r)&&this._doClickOrTapAction("doubleTap",t,r)}_doClickOrTapAction(t,r,o){var s;const{pswp:l}=this.gestures,{currSlide:c}=l,h=t+"Action",v=l.options[h];if(!l.dispatch(h,{point:r,originalEvent:o}).defaultPrevented){if(typeof v=="function"){v.call(l,r,o);return}switch(v){case"close":case"next":l[v]();break;case"zoom":c?.toggleZoom(r);break;case"zoom-or-close":c!=null&&c.isZoomable()&&c.zoomLevels.secondary!==c.zoomLevels.initial?c.toggleZoom(r):l.options.clickToCloseNonZoomable&&l.close();break;case"toggle-controls":(s=this.gestures.pswp.element)===null||s===void 0||s.classList.toggle("pswp--ui-visible");break}}}}const IY=10,RY=300,OY=25;class jY{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new SY(this),this.zoomLevels=new NY(this),this.tapHandler=new DY(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,r,o,s){const{pswp:l}=this,{events:c}=l,h=s?t+s:"";c.add(l.scrollWrap,t+r,this.onPointerDown.bind(this)),c.add(window,t+"move",this.onPointerMove.bind(this)),c.add(window,t+o,this.onPointerUp.bind(this)),h&&c.add(l.scrollWrap,h,this.onPointerUp.bind(this))}onPointerDown(t){const r=t.type==="mousedown"||t.pointerType==="mouse";if(r&&t.button>0)return;const{pswp:o}=this;if(!o.opener.isOpen){t.preventDefault();return}o.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(r&&(o.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),o.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,Po(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,Po(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?F2(this.p1,this.prevP1)||this.drag.change():(!F2(this.p1,this.prevP1)||!F2(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const r=Date.now(),o=r-this._intervalTime;o<50&&!t||(this.velocity.x=this._getVelocity("x",o),this.velocity.y=this._getVelocity("y",o),this._intervalTime=r,Po(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:r}=this.pswp;if(r.isShifted()){r.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const o=this.pswp.options.doubleTapAction?RY:0;this._tapTimer?(this._clearTapTimer(),$5(this._lastStartP1,this.startP1)<OY&&this.tapHandler.doubleTap(this.startP1,t)):(Po(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},o))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,r){const o=this.p1[t]-this._intervalP1[t];return Math.abs(o)>1&&r>5?o/r:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,r){this.pswp.applyFilters("preventPointerEvent",!0,t,r)&&t.preventDefault()}_updatePoints(t,r){if(this._pointerEventEnabled){const o=t,s=this._ongoingPointers.findIndex(l=>l.id===o.pointerId);r==="up"&&s>-1?this._ongoingPointers.splice(s,1):r==="down"&&s===-1?this._ongoingPointers.push(this._convertEventPosToPoint(o,{x:0,y:0})):s>-1&&this._convertEventPosToPoint(o,this._ongoingPointers[s]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&Po(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&Po(this.p2,this._ongoingPointers[1])}else{const o=t;this._numActivePoints=0,o.type.indexOf("touch")>-1?o.touches&&o.touches.length>0&&(this._convertEventPosToPoint(o.touches[0],this.p1),this._numActivePoints++,o.touches.length>1&&(this._convertEventPosToPoint(o.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),r==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){Po(this.prevP1,this.p1),Po(this.prevP2,this.p2)}_updateStartPoints(){Po(this.startP1,this.p1),Po(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const r=t>0?"x":"y";Math.abs(this.p1[r]-this.startP1[r])>=IY&&(this.dragAxis=r)}}}_convertEventPosToPoint(t,r){return r.x=t.pageX-this.pswp.offset.x,r.y=t.pageY-this.pswp.offset.y,"pointerId"in t?r.id=t.pointerId:t.identifier!==void 0&&(r.id=t.identifier),r}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const MY=.35;class LY{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:r}=this,o=Math.round(r.viewportSize.x+r.viewportSize.x*r.options.spacing),s=o!==this.slideWidth;s&&(this.slideWidth=o,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((l,c)=>{s&&Pp(l.el,(c+this._containerShiftIndex)*this.slideWidth),t&&l.slide&&l.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const r=cc("pswp__item","div",this.pswp.container);r.setAttribute("role","group"),r.setAttribute("aria-roledescription","slide"),r.setAttribute("aria-hidden","true"),r.style.display=t===1?"block":"none",this.itemHolders.push({el:r})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,r,o){const{pswp:s}=this;let l=s.potentialIndex+t;const c=s.getNumItems();if(s.canLoop()){l=s.getLoopedIndex(l);const v=(t+c)%c;v<=c/2?t=v:t=v-c}else l<0?l=0:l>=c&&(l=c-1),t=l-s.potentialIndex;s.potentialIndex=l,this._currPositionIndex-=t,s.animations.stopMainScroll();const h=this.getCurrSlideX();if(!r)this.moveTo(h),this.updateCurrItem();else{s.animations.startSpring({isMainScroll:!0,start:this.x,end:h,velocity:o||0,naturalFrequency:30,dampingRatio:1,onUpdate:p=>{this.moveTo(p)},onComplete:()=>{this.updateCurrItem(),s.appendHeavy()}});let v=s.potentialIndex-s.currIndex;if(s.canLoop()){const p=(v+c)%c;p<=c/2?v=p:v=p-c}Math.abs(v)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:r}=this,o=this._prevPositionIndex-this._currPositionIndex;if(!o)return;this._prevPositionIndex=this._currPositionIndex,r.currIndex=r.potentialIndex;let s=Math.abs(o),l;s>=3&&(this._containerShiftIndex+=o+(o>0?-3:3),s=3,this.itemHolders.forEach(c=>{var h;(h=c.slide)===null||h===void 0||h.destroy(),c.slide=void 0}));for(let c=0;c<s;c++)o>0?(l=this.itemHolders.shift(),l&&(this.itemHolders[2]=l,this._containerShiftIndex++,Pp(l.el,(this._containerShiftIndex+2)*this.slideWidth),r.setContent(l,r.currIndex-s+c+2))):(l=this.itemHolders.pop(),l&&(this.itemHolders.unshift(l),this._containerShiftIndex--,Pp(l.el,this._containerShiftIndex*this.slideWidth),r.setContent(l,r.currIndex+s-c-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),r.animations.stopAllPan(),this.itemHolders.forEach((c,h)=>{c.slide&&c.slide.setIsActive(h===1)}),r.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,r.contentLoader.updateLazy(o),r.currSlide&&r.currSlide.applyCurrentZoomPan(),r.dispatch("change")}moveTo(t,r){if(!this.pswp.canLoop()&&r){let o=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;o+=this.pswp.currIndex;const s=Math.round(t-this.x);(o<0&&s>0||o>=this.pswp.getNumItems()-1&&s<0)&&(t=this.x+s*MY)}this.x=t,this.pswp.container&&Pp(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:r??!1})}}const kY={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},Fp=(e,t)=>t?e:kY[e];class BY{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const r=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&r&&this._wasFocused&&r.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:r}=this;if(r.dispatch("keydown",{originalEvent:t}).defaultPrevented||gY(t))return;let o,s,l=!1;const c="key"in t;switch(c?t.key:t.keyCode){case Fp("Escape",c):r.options.escKey&&(o="close");break;case Fp("z",c):o="toggleZoom";break;case Fp("ArrowLeft",c):s="x";break;case Fp("ArrowUp",c):s="y";break;case Fp("ArrowRight",c):s="x",l=!0;break;case Fp("ArrowDown",c):l=!0,s="y";break;case Fp("Tab",c):this._focusRoot();break}if(s){t.preventDefault();const{currSlide:h}=r;r.options.arrowKeys&&s==="x"&&r.getNumItems()>1?o=l?"next":"prev":h&&h.currZoomLevel>h.zoomLevels.fit&&(h.pan[s]+=l?-80:80,h.panTo(h.pan.x,h.pan.y))}o&&(t.preventDefault(),r[o]())}_onFocusIn(t){const{template:r}=this.pswp;r&&document!==t.target&&r!==t.target&&!r.contains(t.target)&&r.focus()}}const PY="cubic-bezier(.4,0,.22,1)";class FY{constructor(t){var r;this.props=t;const{target:o,onComplete:s,transform:l,onFinish:c=()=>{},duration:h=333,easing:v=PY}=t;this.onFinish=c;const p=l?"transform":"opacity",x=(r=t[p])!==null&&r!==void 0?r:"";this._target=o,this._onComplete=s,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{RI(o,p,h,v),this._helperTimeout=setTimeout(()=>{o.addEventListener("transitionend",this._onTransitionEnd,!1),o.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},h+500),o.style[p]=x},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),mY(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const HY=12,UY=.75;class qY{constructor(t,r,o){this.velocity=t*1e3,this._dampingRatio=r||UY,this._naturalFrequency=o||HY,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,r){let o=0,s;r/=1e3;const l=Math.E**(-this._dampingRatio*this._naturalFrequency*r);if(this._dampingRatio===1)s=this.velocity+this._naturalFrequency*t,o=(t+s*r)*l,this.velocity=o*-this._naturalFrequency+s*l;else if(this._dampingRatio<1){s=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const c=Math.cos(this._dampedFrequency*r),h=Math.sin(this._dampedFrequency*r);o=l*(t*c+s*h),this.velocity=o*-this._naturalFrequency*this._dampingRatio+l*(-this._dampedFrequency*t*h+this._dampedFrequency*s*c)}return o}}class zY{constructor(t){this.props=t,this._raf=0;const{start:r,end:o,velocity:s,onUpdate:l,onComplete:c,onFinish:h=()=>{},dampingRatio:v,naturalFrequency:p}=t;this.onFinish=h;const x=new qY(s,v,p);let w=Date.now(),_=r-o;const D=()=>{this._raf&&(_=x.easeFrame(_,Date.now()-w),Math.abs(_)<1&&Math.abs(x.velocity)<50?(l(o),c&&c(),this.onFinish()):(w=Date.now(),l(_+o),this._raf=requestAnimationFrame(D)))};this._raf=requestAnimationFrame(D)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class VY{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,r){const o=r?new zY(t):new FY(t);return this.activeAnimations.push(o),o.onFinish=()=>this.stop(o),o}stop(t){t.destroy();const r=this.activeAnimations.indexOf(t);r>-1&&this.activeAnimations.splice(r,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class GY{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:r}=this.pswp;let{deltaX:o,deltaY:s}=t;if(r&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(r.isZoomable()){let l=-s;t.deltaMode===1?l*=.05:l*=t.deltaMode?1:.002,l=2**l;const c=r.currZoomLevel*l;r.zoomTo(c,{x:t.clientX,y:t.clientY})}}else r.isPannable()&&(t.deltaMode===1&&(o*=18,s*=18),r.panTo(r.pan.x-o,r.pan.y-s))}}function KY(e){if(typeof e=="string")return e;if(!e||!e.isCustomSVG)return"";const t=e;let r='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return r=r.split("%d").join(t.size||32),t.outlineID&&(r+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),r+=t.inner,r+="</svg>",r}class WY{constructor(t,r){var o;const s=r.name||r.className;let l=r.html;if(t.options[s]===!1)return;typeof t.options[s+"SVG"]=="string"&&(l=t.options[s+"SVG"]),t.dispatch("uiElementCreate",{data:r});let c="";r.isButton?(c+="pswp__button ",c+=r.className||`pswp__button--${r.name}`):c+=r.className||`pswp__${r.name}`;let h=r.isButton?r.tagName||"button":r.tagName||"div";h=h.toLowerCase();const v=cc(c,h);if(r.isButton){h==="button"&&(v.type="button");let{title:w}=r;const{ariaLabel:_}=r;typeof t.options[s+"Title"]=="string"&&(w=t.options[s+"Title"]),w&&(v.title=w);const D=_||w;D&&v.setAttribute("aria-label",D)}v.innerHTML=KY(l),r.onInit&&r.onInit(v,t),r.onClick&&(v.onclick=w=>{typeof r.onClick=="string"?t[r.onClick]():typeof r.onClick=="function"&&r.onClick(w,v,t)});const p=r.appendTo||"bar";let x=t.element;p==="bar"?(t.topBar||(t.topBar=cc("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),x=t.topBar):(v.classList.add("pswp__hide-on-close"),p==="wrapper"&&(x=t.scrollWrap)),(o=x)===null||o===void 0||o.appendChild(t.applyFilters("uiElement",v,r))}}function qI(e,t,r){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(r?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}const $Y={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:qI},YY={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{qI(e,t,!0)}},QY={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},JY={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},ZY={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let r,o=null;const s=(h,v)=>{e.classList.toggle("pswp__preloader--"+h,v)},l=h=>{r!==h&&(r=h,s("active",h))},c=()=>{var h;if(!((h=t.currSlide)!==null&&h!==void 0&&h.content.isLoading())){l(!1),o&&(clearTimeout(o),o=null);return}o||(o=setTimeout(()=>{var v;l(!!(!((v=t.currSlide)===null||v===void 0)&&v.content.isLoading())),o=null},t.options.preloaderDelay))};t.on("change",c),t.on("loadComplete",h=>{t.currSlide===h.slide&&c()}),t.ui&&(t.ui.updatePreloaderVisibility=c)}},XY={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function zI(e,t){e.classList.toggle("pswp--zoomed-in",t)}class eQ{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[QY,$Y,YY,JY,ZY,XY],t.dispatch("uiRegister"),this.uiElementsData.sort((r,o)=>(r.order||0)-(o.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(r=>{this.registerElement(r)}),t.on("change",()=>{var r;(r=t.element)===null||r===void 0||r.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new WY(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:r,options:o}=this.pswp;if(this.pswp.opener.isClosing||!t||!r)return;let{currZoomLevel:s}=r;if(this.pswp.opener.isOpen||(s=r.zoomLevels.initial),s===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=s;const l=r.zoomLevels.initial-r.zoomLevels.secondary;if(Math.abs(l)<.01||!r.isZoomable()){zI(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const c=s===r.zoomLevels.initial?r.zoomLevels.secondary:r.zoomLevels.initial;zI(t,c<=s),(o.imageClickAction==="zoom"||o.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function tQ(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function rQ(e,t,r){const o=e.getBoundingClientRect(),s=o.width/t,l=o.height/r,c=s>l?s:l,h=(o.width-t*c)/2,v=(o.height-r*c)/2,p={x:o.left+h,y:o.top+v,w:t*c};return p.innerRect={w:o.width,h:o.height,x:h,y:v},p}function nQ(e,t,r){const o=r.dispatch("thumbBounds",{index:e,itemData:t,instance:r});if(o.thumbBounds)return o.thumbBounds;const{element:s}=t;let l,c;if(s&&r.options.thumbSelector!==!1){const h=r.options.thumbSelector||"img";c=s.matches(h)?s:s.querySelector(h)}return c=r.applyFilters("thumbEl",c,t,e),c&&(t.thumbCropped?l=rQ(c,t.width||t.w||0,t.height||t.h||0):l=tQ(c)),r.applyFilters("thumbBounds",l,t,e)}let aQ=class{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}},iQ=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,r=100){var o,s,l;this._filters[e]||(this._filters[e]=[]),(o=this._filters[e])===null||o===void 0||o.push({fn:t,priority:r}),(s=this._filters[e])===null||s===void 0||s.sort((c,h)=>c.priority-h.priority),(l=this.pswp)===null||l===void 0||l.addFilter(e,t,r)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(r=>r.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var r;return(r=this._filters[e])===null||r===void 0||r.forEach(o=>{t[0]=o.fn.apply(this,t)}),t[0]}on(e,t){var r,o;this._listeners[e]||(this._listeners[e]=[]),(r=this._listeners[e])===null||r===void 0||r.push(t),(o=this.pswp)===null||o===void 0||o.on(e,t)}off(e,t){var r;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(o=>t!==o)),(r=this.pswp)===null||r===void 0||r.off(e,t)}dispatch(e,t){var r;if(this.pswp)return this.pswp.dispatch(e,t);const o=new aQ(e,t);return(r=this._listeners[e])===null||r===void 0||r.forEach(s=>{s.call(this,o)}),o}},oQ=class{constructor(e,t){if(this.element=cc("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const r=this.element;r.decoding="async",r.alt="",r.src=e,r.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&(this.element.tagName==="IMG"?(Y5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=U2(0,0,e/250)):Y5(this.element,e,t))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},sQ=class{constructor(e,t,r){this.instance=t,this.data=e,this.index=r,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=ed.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const r=this.placeholder.element;r&&!r.parentElement&&this.slide.container.prepend(r)}else{const r=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new oQ(r,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=cc("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=cc("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,r;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const o=this.element;this.updateSrcsetSizes(),this.data.srcset&&(o.srcset=this.data.srcset),o.src=(t=this.data.src)!==null&&t!==void 0?t:"",o.alt=(r=this.data.alt)!==null&&r!==void 0?r:"",this.state=ed.LOADING,o.complete?this.onLoaded():(o.onload=()=>{this.onLoaded()},o.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=ed.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===ed.LOADED||this.state===ed.ERROR)&&this.removePlaceholder())}onError(){this.state=ed.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===ed.LOADING,this)}isError(){return this.state===ed.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(Y5(this.element,e,t),this.isImageContent()&&!this.isError()))){const r=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,r?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==ed.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let r=cc("pswp__error-msg","div");r.innerText=(e=(t=this.instance.options)===null||t===void 0?void 0:t.errorMsg)!==null&&e!==void 0?e:"",r=this.instance.applyFilters("contentErrorElement",r,this),this.element=cc("pswp__content pswp__error-msg-container","div"),this.element.appendChild(r),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===ed.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||OI())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!OI()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===ed.LOADED||this.state===ed.ERROR)&&this.removePlaceholder()))}};const uQ=5;function VI(e,t,r){const o=t.createContentFromData(e,r);let s;const{options:l}=t;if(l){s=new BI(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=MI(l,t);const h=LI(l,c,e,r);s.update(o.width,o.height,h)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function lQ(e,t){const r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return VI(r,t,e)}class cQ{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,uQ),this._cachedItems=[]}updateLazy(t){const{pswp:r}=this;if(r.dispatch("lazyLoad").defaultPrevented)return;const{preload:o}=r.options,s=t===void 0?!0:t>=0;let l;for(l=0;l<=o[1];l++)this.loadSlideByIndex(r.currIndex+(s?l:-l));for(l=1;l<=o[0];l++)this.loadSlideByIndex(r.currIndex+(s?-l:l))}loadSlideByIndex(t){const r=this.pswp.getLoopedIndex(t);let o=this.getContentByIndex(r);o||(o=lQ(r,this.pswp),o&&this.addToCache(o))}getContentBySlide(t){let r=this.getContentByIndex(t.index);return r||(r=this.pswp.createContentFromData(t.data,t.index),this.addToCache(r)),r.setSlide(t),r}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const r=this._cachedItems.findIndex(o=>!o.isAttached&&!o.hasSlide);r!==-1&&this._cachedItems.splice(r,1)[0].destroy()}}removeByIndex(t){const r=this._cachedItems.findIndex(o=>o.index===t);r!==-1&&this._cachedItems.splice(r,1)}getContentByIndex(t){return this._cachedItems.find(r=>r.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}let dQ=class extends iQ{getNumItems(){var e;let t=0;const r=(e=this.options)===null||e===void 0?void 0:e.dataSource;r&&"length"in r?t=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(t=r.items.length));const o=this.dispatch("numItems",{dataSource:r,numItems:t});return this.applyFilters("numItems",o.numItems,r)}createContentFromData(e,t){return new sQ(e,this,t)}getItemData(e){var t;const r=(t=this.options)===null||t===void 0?void 0:t.dataSource;let o={};Array.isArray(r)?o=r[e]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),o=r.items[e]);let s=o;s instanceof Element&&(s=this._domElementToItemData(s));const l=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",l.itemData,e)}_getGalleryDOMElements(e){var t,r;return(t=this.options)!==null&&t!==void 0&&t.children||(r=this.options)!==null&&r!==void 0&&r.childSelector?yY(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},r=e.tagName==="A"?e:e.querySelector("a");if(r){t.src=r.dataset.pswpSrc||r.href,r.dataset.pswpSrcset&&(t.srcset=r.dataset.pswpSrcset),t.width=r.dataset.pswpWidth?parseInt(r.dataset.pswpWidth,10):0,t.height=r.dataset.pswpHeight?parseInt(r.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,r.dataset.pswpType&&(t.type=r.dataset.pswpType);const s=e.querySelector("img");if(s){var o;t.msrc=s.currentSrc||s.src,t.alt=(o=s.getAttribute("alt"))!==null&&o!==void 0?o:""}(r.dataset.pswpCropped||r.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,r)}lazyLoadData(e,t){return VI(e,this,t)}};const z2=.003;class fQ{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,r=this.pswp.currSlide,{options:o}=t;if(o.showHideAnimationType==="fade"?(o.showHideOpacity=!0,this._thumbBounds=void 0):o.showHideAnimationType==="none"?(o.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=r?.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&r?.content.usePlaceholder()&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&r&&(r.zoomAndPanToInitial(),r.applyCurrentZoomPan());else{var s;this._animateRootOpacity=(s=o.showHideOpacity)!==null&&s!==void 0?s:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>z2,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(z2)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var l;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(l=this.pswp.currSlide)===null||l===void 0?void 0:l.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(z2)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(z2)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(z2)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let r=!1,o=!0;vY(this._placeholder).finally(()=>{r=!0,o||t(!0)}),setTimeout(()=>{o=!1,r&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,r;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(r=this.pswp.element)===null||r===void 0||r.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var r;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(r=t.currSlide)===null||r===void 0||r.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:r}=this,{innerRect:o}=this._thumbBounds,{currSlide:s,viewportSize:l}=r;if(this._croppedZoom&&o&&this._cropContainer1&&this._cropContainer2){const c=-l.x+(this._thumbBounds.x-o.x)+o.w,h=-l.y+(this._thumbBounds.y-o.y)+o.h,v=l.x-o.w,p=l.y-o.h;t?(this._animateTo(this._cropContainer1,"transform",U2(c,h)),this._animateTo(this._cropContainer2,"transform",U2(v,p))):(Pp(this._cropContainer1,c,h),Pp(this._cropContainer2,v,p))}s&&(Po(s.pan,o||this._thumbBounds),s.currZoomLevel=this._thumbBounds.w/s.width,t?this._animateTo(s.container,"transform",s.getCurrentTransform()):s.applyCurrentZoomPan())}_animateTo(t,r,o){if(!this._duration){t.style[r]=o;return}const{animations:s}=this.pswp,l={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{s.activeAnimations.length||this._onAnimationComplete()},target:t};l[r]=o,s.startTransition(l)}}const hQ={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class pQ extends dQ{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new bY,this.animations=new VY,this.mainScroll=new LY(this),this.gestures=new jY(this),this.opener=new fQ(this),this.keyboard=new BY(this),this.contentLoader=new cQ(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new GY(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:r}=this.mainScroll;r[0]&&(r[0].el.style.display="block",this.setContent(r[0],this.currIndex-1)),r[2]&&(r[2].el.style.display="block",this.setContent(r[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const r=this.getNumItems();return this.options.loop&&(t>r-1&&(t-=r),t<0&&(t+=r)),H2(t,0,r-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var r;(r=t.slide)===null||r===void 0||r.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var r;(r=this.currSlide)===null||r===void 0||r.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(r=>{var o;(o=r.slide)===null||o===void 0||o.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((r,o)=>{var s,l;let c=((s=(l=this.currSlide)===null||l===void 0?void 0:l.index)!==null&&s!==void 0?s:0)-1+o;if(this.canLoop()&&(c=this.getLoopedIndex(c)),c===t&&(this.setContent(r,t,!0),o===1)){var h;this.currSlide=r.slide,(h=r.slide)===null||h===void 0||h.setIsActive(!0)}}),this.dispatch("change")}setContent(t,r,o){if(this.canLoop()&&(r=this.getLoopedIndex(r)),t.slide){if(t.slide.index===r&&!o)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(r<0||r>=this.getNumItems()))return;const s=this.getItemData(r);t.slide=new AY(s,r,this),r===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const r=MI(this.options,this);!t&&F2(r,this._prevViewportSize)||(Po(this._prevViewportSize,r),this.dispatch("beforeResize"),Po(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,r){this.offset.x=t,this.offset.y=r,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=cc("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=cc("pswp__bg","div",this.element),this.scrollWrap=cc("pswp__scroll-wrap","section",this.element),this.container=cc("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new eQ(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return nQ(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...hQ,...t}}}function V2(e,t,r){const o=document.createElement(t);return e&&(o.className=e),r&&r.appendChild(o),o}function mQ(e,t,r){let o=`translate3d(${e}px,0px,0)`;return r!==void 0&&(o+=` scale3d(${r},${r},1)`),o}function Q5(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}const td={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function vQ(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function G2(e,t,r=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(r.querySelectorAll(s)))}return o}function gQ(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function GI(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class yQ{constructor(t,r){this.type=t,this.defaultPrevented=!1,r&&Object.assign(this,r)}preventDefault(){this.defaultPrevented=!0}}class bQ{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,r,o=100){var s,l,c;this._filters[t]||(this._filters[t]=[]),(s=this._filters[t])===null||s===void 0||s.push({fn:r,priority:o}),(l=this._filters[t])===null||l===void 0||l.sort((h,v)=>h.priority-v.priority),(c=this.pswp)===null||c===void 0||c.addFilter(t,r,o)}removeFilter(t,r){this._filters[t]&&(this._filters[t]=this._filters[t].filter(o=>o.fn!==r)),this.pswp&&this.pswp.removeFilter(t,r)}applyFilters(t,...r){var o;return(o=this._filters[t])===null||o===void 0||o.forEach(s=>{r[0]=s.fn.apply(this,r)}),r[0]}on(t,r){var o,s;this._listeners[t]||(this._listeners[t]=[]),(o=this._listeners[t])===null||o===void 0||o.push(r),(s=this.pswp)===null||s===void 0||s.on(t,r)}off(t,r){var o;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(s=>r!==s)),(o=this.pswp)===null||o===void 0||o.off(t,r)}dispatch(t,r){var o;if(this.pswp)return this.pswp.dispatch(t,r);const s=new yQ(t,r);return(o=this._listeners[t])===null||o===void 0||o.forEach(l=>{l.call(this,s)}),s}}class xQ{constructor(t,r){if(this.element=V2("pswp__img pswp__img--placeholder",t?"img":"div",r),t){const o=this.element;o.decoding="async",o.alt="",o.src=t,o.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,r){this.element&&(this.element.tagName==="IMG"?(Q5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=mQ(0,0,t/250)):Q5(this.element,t,r))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class AQ{constructor(t,r,o){this.instance=r,this.data=t,this.index=o,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=td.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,r){if(this.slide&&this.usePlaceholder())if(this.placeholder){const o=this.placeholder.element;o&&!o.parentElement&&this.slide.container.prepend(o)}else{const o=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new xQ(o,this.slide.container)}this.element&&!r||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=V2("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=V2("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var r,o;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const s=this.element;this.updateSrcsetSizes(),this.data.srcset&&(s.srcset=this.data.srcset),s.src=(r=this.data.src)!==null&&r!==void 0?r:"",s.alt=(o=this.data.alt)!==null&&o!==void 0?o:"",this.state=td.LOADING,s.complete?this.onLoaded():(s.onload=()=>{this.onLoaded()},s.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=td.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder())}onError(){this.state=td.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===td.LOADING,this)}isError(){return this.state===td.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,r){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,r),!this.instance.dispatch("contentResize",{content:this,width:t,height:r}).defaultPrevented&&(Q5(this.element,t,r),this.isImageContent()&&!this.isError()))){const o=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=r,o?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:r,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==td.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,r=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||r>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=r+"px",t.dataset.largestUsedSize=String(r))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,r;let o=V2("pswp__error-msg","div");o.innerText=(t=(r=this.instance.options)===null||r===void 0?void 0:r.errorMsg)!==null&&t!==void 0?t:"",o=this.instance.applyFilters("contentErrorElement",o,this),this.element=V2("pswp__content pswp__error-msg-container","div"),this.element.appendChild(o),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===td.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||GI())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!GI()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder()))}}function _Q(e,t){if(e.getViewportSizeFn){const r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function I3(e,t,r,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(r,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function EQ(e,t,r,o){return{x:t.x-I3("left",e,t,r,o)-I3("right",e,t,r,o),y:t.y-I3("top",e,t,r,o)-I3("bottom",e,t,r,o)}}const KI=4e3;class wQ{constructor(t,r,o,s){this.pswp=s,this.options=t,this.itemData=r,this.index=o,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,r,o){const s={x:t,y:r};this.elementSize=s,this.panAreaSize=o;const l=o.x/s.x,c=o.y/s.y;this.fit=Math.min(1,l<c?l:c),this.fill=Math.min(1,l>c?l:c),this.vFill=Math.min(1,c),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const r=t+"ZoomLevel",o=this.options[r];if(o)return typeof o=="function"?o(this):o==="fill"?this.fill:o==="fit"?this.fit:Number(o)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>KI&&(t=KI/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function WI(e,t,r){const o=t.createContentFromData(e,r);let s;const{options:l}=t;if(l){s=new wQ(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=_Q(l,t);const h=EQ(l,c,e,r);s.update(o.width,o.height,h)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function SQ(e,t){const r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return WI(r,t,e)}class CQ extends bQ{getNumItems(){var t;let r=0;const o=(t=this.options)===null||t===void 0?void 0:t.dataSource;o&&"length"in o?r=o.length:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),o.items&&(r=o.items.length));const s=this.dispatch("numItems",{dataSource:o,numItems:r});return this.applyFilters("numItems",s.numItems,o)}createContentFromData(t,r){return new AQ(t,this,r)}getItemData(t){var r;const o=(r=this.options)===null||r===void 0?void 0:r.dataSource;let s={};Array.isArray(o)?s=o[t]:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),s=o.items[t]);let l=s;l instanceof Element&&(l=this._domElementToItemData(l));const c=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",c.itemData,t)}_getGalleryDOMElements(t){var r,o;return(r=this.options)!==null&&r!==void 0&&r.children||(o=this.options)!==null&&o!==void 0&&o.childSelector?G2(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const r={element:t},o=t.tagName==="A"?t:t.querySelector("a");if(o){r.src=o.dataset.pswpSrc||o.href,o.dataset.pswpSrcset&&(r.srcset=o.dataset.pswpSrcset),r.width=o.dataset.pswpWidth?parseInt(o.dataset.pswpWidth,10):0,r.height=o.dataset.pswpHeight?parseInt(o.dataset.pswpHeight,10):0,r.w=r.width,r.h=r.height,o.dataset.pswpType&&(r.type=o.dataset.pswpType);const l=t.querySelector("img");if(l){var s;r.msrc=l.currentSrc||l.src,r.alt=(s=l.getAttribute("alt"))!==null&&s!==void 0?s:""}(o.dataset.pswpCropped||o.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,t,o)}lazyLoadData(t,r){return WI(t,this,r)}}class TQ extends CQ{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){G2(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(vQ(t)||window.pswp)return;let r={x:t.clientX,y:t.clientY};!r.x&&!r.y&&(r=null);let o=this.getClickedIndex(t);o=this.applyFilters("clickedIndex",o,t,this);const s={gallery:t.currentTarget};o>=0&&(t.preventDefault(),this.loadAndOpen(o,s,r))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const r=t.target,o=G2(this.options.children,this.options.childSelector,t.currentTarget).findIndex(s=>s===r||s.contains(r));return o!==-1?o:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,r,o){if(window.pswp||!this.options)return!1;if(!r&&this.options.gallery&&this.options.children){const s=G2(this.options.gallery);s[0]&&(r={gallery:s[0]})}return this.options.index=t,this.options.initialPointerPos=o,this.shouldOpen=!0,this.preload(t,r),!0}preload(t,r){const{options:o}=this;r&&(o.dataSource=r);const s=[],l=typeof o.pswpModule;if(gQ(o.pswpModule))s.push(Promise.resolve(o.pswpModule));else{if(l==="string")throw new Error("pswpModule as string is no longer supported");if(l==="function")s.push(o.pswpModule());else throw new Error("pswpModule is not valid")}typeof o.openPromise=="function"&&s.push(o.openPromise()),o.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=SQ(t,this));const c=++this._uid;Promise.all(s).then(h=>{if(this.shouldOpen){const v=h[0];this._openPhotoswipe(v,c)}})}_openPhotoswipe(t,r){if(r!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const o=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=o,window.pswp=o,Object.keys(this._listeners).forEach(s=>{var l;(l=this._listeners[s])===null||l===void 0||l.forEach(c=>{o.on(s,c)})}),Object.keys(this._filters).forEach(s=>{var l;(l=this._filters[s])===null||l===void 0||l.forEach(c=>{o.addFilter(s,c.fn,c.priority)})}),this._preloadedContent&&(o.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),o.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),o.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},G2(this.options.gallery,this.options.gallerySelector).forEach(r=>{r.removeEventListener("click",this.onThumbnailsClick,!1)})}}const NQ=()=>{let e=null;return e=new TQ({gallery:"#photoswipe-gallery",children:"a",pswpModule:pQ,zoom:!1,imageClickAction:"next",tapAction:"next"}),e.on("uiRegister",()=>{e?.pswp?.ui?.registerElement({name:"custom-caption",appendTo:"root",onInit:t=>{e?.pswp?.on("change",()=>{const r=e?.pswp?.currSlide?.data.element;if(r){const o=r.querySelector(".caption-content");t.innerHTML=o?.innerHTML||""}})}})}),e.init(),()=>{e&&(e.destroy(),e=null)}},DQ="mbrs-game-ranking",IQ=".c-header-page__ranking-button",RQ=()=>{const e=document.querySelector(IQ),t=e?.querySelector("button");!e||!t||t.addEventListener("click",()=>{document.getElementById(DQ)?.scrollIntoView({behavior:"smooth"})})},$I=e=>Math.min(100,Math.max(0,Math.round(e))),OQ=({limitElement:e,progressBar:t,closeProgress:r,startElement:o,endElement:s})=>{if(!t&&!r)return;const{documentElement:l}=document,c=l.scrollTop;if(t){let h=l.scrollHeight-l.clientHeight;if(!h)return;e&&(h=e.scrollHeight-l.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top)),t.style.width=`${$I(c/h*100)}%`}if(r&&o&&s){const h=window.pageYOffset+o.getBoundingClientRect().bottom,v=window.pageYOffset+s.getBoundingClientRect().bottom-l.clientHeight-h;if(v>0){const p=$I((c-h)/v*100);r.style.setProperty("--progress",`${p}`),r.parentElement?.classList.toggle("c-btn--close-progress-complete",p>=100)}}},jQ=()=>{const e={limitElement:document.querySelector(".js-limit-scroll-progress-bar"),progressBar:document.querySelector(".c-progress__bar"),closeProgress:document.querySelector(".c-btn__close-progress"),startElement:document.querySelector(".js-content-header"),endElement:document.querySelector(".js-limit-scroll-close-article-btn")};(e.progressBar||e.closeProgress)&&window.addEventListener("scroll",()=>OQ(e))},MQ=(e={})=>{const{buttonSelector:t=".c-scroll-to-top"}=e,r=document.querySelector(t),o=r?.querySelector("button");if(!r||!o)return;const s=r.dataset.triggerSelector||"[data-scroll-trigger]",l=parseInt(r.dataset.triggerOffset||"0",10);r.style.display="none";const c=()=>{const v=document.querySelector(s);let p=!1;if(v){const x=v.getBoundingClientRect().top;p=window.pageYOffset>=x-l}else p=window.pageYOffset>300;r.style.display=p?"block":"none"},h=()=>{window.scrollTo({top:0,behavior:"smooth"})};window.addEventListener("scroll",c),o.addEventListener("click",h),c()},LQ=500,kQ=()=>{const e=document.getElementById("mbrs-comments-container"),t=document.querySelector(".c-scroll-to-top-comment");if(!e||!t)return;t.style.display="none",t.addEventListener("click",()=>{document.getElementById("graphcomment")?.scrollIntoView({behavior:"smooth"})});let r=!1;const o=()=>{const{top:w,bottom:_}=e.getBoundingClientRect(),D=window.innerHeight/2,S=w<-400,T=_<D;t.style.display=S&&!T?"flex":"none"},s=()=>{r||(r=!0,window.addEventListener("scroll",o,{passive:!0}),o())},l=()=>{r&&(r=!1,window.removeEventListener("scroll",o),t.style.display="none")},c=w=>{w.offsetHeight>LQ?s():l()},h=w=>{new ResizeObserver(()=>{c(w)}).observe(w)},v=w=>{c(w),h(w)},p=w=>{try{if(w.contentDocument?.readyState==="complete"){v(w);return}}catch{}w.addEventListener("load",()=>v(w),{once:!0})};if((()=>{const w=e.querySelector("iframe");return w?(p(w),!0):!1})())return;const x=new MutationObserver(w=>{w.some(_=>Array.from(_.addedNodes).some(D=>{if(D instanceof HTMLIFrameElement)return p(D),!0;if(D instanceof HTMLElement){const S=D.querySelector("iframe");if(S)return p(S),!0}return!1}))&&x.disconnect()});x.observe(e,{childList:!0,subtree:!0})},BQ="#page-content",YI="#text-tooltip",PQ=".mbrs-social-report-container",QI="c-text-tooltip--show",FQ=["#page-content .c-content","#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],JI=e=>e instanceof Element?e:e.parentElement,ZI=(e,t)=>e?t.some(r=>!!e.closest(r)):!1,HQ=(e,t)=>{const r=JI(e.startContainer),o=JI(e.endContainer);return ZI(r,t)||ZI(o,t)},UQ=e=>{if(!e.focusNode)return null;const t=e.anchorNode?.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},qQ=(e,t,r)=>{const o=document.querySelector(YI),s=document.querySelector(BQ),l=document.querySelectorAll(PQ);if(!o||!s){console.warn("Text tooltip : Tooltip or page content are not found in the DOM");return}Array.from(l).forEach(w=>{w.setAttribute("data-selected-text",r)});const c=e.getClientRects(),h=c[t?c.length-1:0];if(!h){R3();return}o.style.position="fixed",o.style.zIndex="100";const v=8,p=h.top-(o.offsetHeight+10),x=h.width<o.offsetWidth?h.left+h.width/2-o.offsetWidth/2:t?h.left+h.width-o.offsetWidth:h.left;o.style.top=`${Math.max(v,p)}px`,o.style.left=`${Math.min(Math.max(v,x),window.innerWidth-o.offsetWidth-v)}px`,o.classList.add(QI)},R3=()=>{const e=document.querySelector(`${YI}`);e&&e.classList.remove(QI)},zQ=()=>{const e=window.getSelection();if(!e?.rangeCount){R3();return}const t=e.getRangeAt(0),r=e.toString().trim();if(r.length){const o=HQ(t,FQ),s=UQ(e)||!1;o&&qQ(t,s,r);return}R3()},O3=({type:e})=>{if(e==="selectionchange"){window.getSelection()?.toString().trim().length||R3();return}zQ()},VQ=()=>{if(!window?.getSelection){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",O3),document.addEventListener("selectionchange",O3),document.addEventListener("touchend",O3),document.addEventListener("touchcancel",O3)},GQ=e=>{const{target:t}=e;if(t instanceof Element){const r=t.closest(".c-search-form--button");r&&(e.preventDefault(),r.classList.remove("c-search-form--button"))}},KQ=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{GQ(t)})},WQ=({tabsContainerElement:e,event:t})=>{t.preventDefault();const r=t.target;if(!(r instanceof HTMLButtonElement))return;const o=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=r.getAttribute("aria-controls"),c=Object.values(s).find(h=>h.id===l);o.forEach(h=>{h.setAttribute("aria-selected","false")}),s.forEach(h=>{h.setAttribute("aria-hidden","true")}),r.setAttribute("aria-selected","true"),c&&c.removeAttribute("aria-hidden")},XI=e=>e.code==="ArrowLeft"||e.keyCode===39,eR=e=>e.code==="ArrowRight"||e.keyCode===37,$Q=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const r=t.querySelectorAll('[role="tab"]');r.forEach(s=>{s.addEventListener("click",l=>{WQ({tabsContainerElement:t,event:l})})});const o=t.querySelector('[role="tablist"]');if(o&&r.length>0){let s=0;o.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(XI(l)||eR(l))&&(r[s].setAttribute("tabindex","-1"),XI(l)?(s+=1,s>=r.length&&(s=0)):eR(l)&&(s-=1,s<0&&(s=r.length-1)),r[s].setAttribute("tabindex","0"),r[s].focus())})}})},j3=e=>{const[t,r]=e.split("h").map(Number);return t*60+r},tR=()=>{const e=new Date,t=e.getHours(),r=e.getMinutes();return t*60+r},YQ=(e,t)=>{const r=tR();if(r<e||r>t)return 0;const o=t-e;return(r-e)/o},QQ=e=>{const t=tR();let r=null,o=null,s=-1;return Array.from(e).find((l,c,h)=>{if(c===h.length-1)return!1;const v=l.textContent,p=h[c+1].textContent;if(!v||!p)return!1;const x=j3(v),w=j3(p);return t>=x&&t<w?(r=v,o=p,s=c,!0):!1}),{currentIntervalStartTime:r,currentIntervalEndTime:o,currentIntervalIndex:s}},JQ=()=>{const e=document.querySelectorAll(".c-timeline__time");if(!e||e.length<2)return;const t=document.querySelector(".c-timeline__progress-bar"),{currentIntervalStartTime:r,currentIntervalEndTime:o,currentIntervalIndex:s}=QQ(e);if(!r||!o)return;const l=j3(r),c=j3(o),h=YQ(l,c);if(t instanceof HTMLElement){if(t.classList.contains("c-timeline__progress-bar--is-desktop")&&e.length>=5){const v="172px / 2";switch(s){case 0:t.style.width=`calc(${v} + (((${v} + 25% - ${v} / 2) - ${v}) * ${h})`;break;case 1:t.style.width=`calc((${v} + 25% - ${v} / 2) + (((50%) - (${v} + 25% - ${v} / 2)) * ${h})`;break;case 2:t.style.width=`calc((50%) + (((75% - ${v} / 2) - (50%)) * ${h})`;break;case 3:t.style.width=`calc((75% - ${v} / 2) + (((100% - ${v}) - (75% - ${v} / 2)) * ${h}`;break;default:t.style.width="0%"}}if(t.classList.contains("c-timeline__progress-bar--is-mobile")){const v="45px / 2",p="20px";switch(s){case 0:case 1:case 2:case 3:t.style.width=`calc((${p} + ${v}) + (((60% + ${v}) - (${p} + ${v})) * ${h})`;break;default:t.style.width="0%"}if(s===1||s===2||s===3){const x=document.querySelectorAll(".c-timeline__time"),w=document.querySelectorAll(".c-timeline__event");x.length>0&&w.length>0&&(x[0].textContent=r,x[1].textContent=o,w[0].textContent=w[s].textContent,w[1].textContent=w[s+1].textContent)}}}},J5="c-icon-item__container--is-highlighted",ZQ=e=>{e.find(t=>t.classList.contains(J5))?.classList.remove(J5)},XQ=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,r=Array.from(e.querySelectorAll(".c-icon-item__container"));ZQ(r),r.find(o=>o.querySelector("a")?.getAttribute("href")===t)?.classList.add(J5)}},eJ=12,Z5=e=>{const t=e||document.querySelector(".c-map-towns");if(!t){new MutationObserver((o,s)=>{if(typeof document<"u"){const l=document.querySelector(".c-map-towns");l&&(s.disconnect(),Z5(l))}}).observe(document.body,{childList:!0,subtree:!0});return}const r=()=>{const o=t.querySelectorAll(".js-city-marker");if(o.length===0)return!1;const s=(l=0)=>{let c=!0;o.forEach(h=>{if(h.getAttribute("aria-hidden")==="false")return;const v=h.querySelector(".js-city-anchor"),p=h.querySelector(".js-city-text"),x=h.querySelector(".js-city-bg");if(!(v instanceof SVGGraphicsElement)||!(p instanceof SVGTextElement)||!(x instanceof SVGRectElement))return;const w=v.getBBox();if(w.width>0){const{x:_,y:D,width:S,height:T}=w,C=h.getAttribute("data-scale"),O=C?` scale(${C})`:"";h.setAttribute("transform",`translate(${_+S/2}, ${D+T/2})${O}`);const L=p.getBBox(),P=8,z=4,U=8,W=L.width+P,Q=L.height+z;x.setAttribute("width",`${W}`),x.setAttribute("height",`${Q}`),x.setAttribute("x",`${-W/2}`),x.setAttribute("y",`${-Q-U}`);const ie=-Q/2-U;p.setAttribute("y",`${ie}`),h.setAttribute("aria-hidden","false")}else c=!1}),!c&&l<eJ&&requestAnimationFrame(()=>s(l+1))};return requestAnimationFrame(()=>s()),!0};r()||new MutationObserver((o,s)=>{r()&&s.disconnect()}).observe(t,{childList:!0,subtree:!0})},tJ={10:[{id:"10387",name:"Troyes"},{id:"10323",name:"Romilly-sur-Seine"},{id:"10033",name:"Bar-sur-Aube"}],11:[{id:"11262",name:"Narbonne"},{id:"11069",name:"Carcassonne"},{id:"11076",name:"Castelnaudary"}],12:[{id:"12202",name:"Rodez"},{id:"12145",name:"Millau"},{id:"12300",name:"Villefranche-de-Rouergue"}],13:[{id:"13055",name:"Marseille"},{id:"13001",name:"Aix-en-Provence"},{id:"13004",name:"Arles"}],14:[{id:"14118",name:"Caen"},{id:"14366",name:"Lisieux"},{id:"14762",name:"Vire Normandie"}],15:[{id:"15014",name:"Aurillac"},{id:"15187",name:"Saint-Flour"},{id:"15120",name:"Mauriac"}],16:[{id:"16015",name:"Angoulême"},{id:"16102",name:"Cognac"},{id:"16028",name:"Barbezieux-Saint-Hilaire"}],17:[{id:"17300",name:"La Rochelle"},{id:"17415",name:"Saintes"},{id:"17299",name:"Rochefort"}],18:[{id:"18033",name:"Bourges"},{id:"18279",name:"Vierzon"},{id:"18197",name:"Saint-Amand-Montrond"}],19:[{id:"19031",name:"Brive-la-Gaillarde"},{id:"19272",name:"Tulle"},{id:"19275",name:"Ussel"}],21:[{id:"21231",name:"Dijon"},{id:"21054",name:"Beaune"},{id:"21038",name:"Auxonne"}],22:[{id:"22278",name:"Saint-Brieuc"},{id:"22113",name:"Lannion"},{id:"22093",name:"Lamballe-Armor"}],23:[{id:"23096",name:"Guéret"},{id:"23176",name:"La Souterraine"},{id:"23008",name:"Aubusson"}],24:[{id:"24322",name:"Périgueux"},{id:"24037",name:"Bergerac"},{id:"24520",name:"Sarlat-la-Canéda"}],25:[{id:"25056",name:"Besançon"},{id:"25388",name:"Montbéliard"},{id:"25462",name:"Pontarlier"}],26:[{id:"26362",name:"Valence"},{id:"26198",name:"Montélimar"},{id:"26235",name:"Pierrelatte"}],27:[{id:"27229",name:"Évreux"},{id:"27681",name:"Vernon"},{id:"27375",name:"Louviers"}],28:[{id:"28085",name:"Chartres"},{id:"28134",name:"Dreux"},{id:"28088",name:"Châteaudun"}],29:[{id:"29019",name:"Brest"},{id:"29232",name:"Quimper"},{id:"29039",name:"Concarneau"}],30:[{id:"30189",name:"Nîmes"},{id:"30007",name:"Alès"},{id:"30028",name:"Bagnols-sur-Cèze"}],31:[{id:"31555",name:"Toulouse"},{id:"31483",name:"Saint-Gaudens"},{id:"31033",name:"Auterive"}],32:[{id:"32013",name:"Auch"},{id:"32160",name:"L'Isle-Jourdain"},{id:"32107",name:"Condom"}],33:[{id:"33063",name:"Bordeaux"},{id:"33529",name:"La Teste-de-Buch"},{id:"33243",name:"Libourne"}],34:[{id:"34172",name:"Montpellier"},{id:"34032",name:"Béziers"},{id:"34301",name:"Sète"}],35:[{id:"35238",name:"Rennes"},{id:"35288",name:"Saint-Malo"},{id:"35115",name:"Fougères"}],36:[{id:"36044",name:"Châteauroux"},{id:"36088",name:"Issoudun"},{id:"36018",name:"Le Blanc"}],37:[{id:"37261",name:"Tours"},{id:"37003",name:"Amboise"},{id:"37072",name:"Chinon"}],38:[{id:"38185",name:"Grenoble"},{id:"38544",name:"Vienne"},{id:"38053",name:"Bourgoin-Jallieu"}],39:[{id:"39198",name:"Dole"},{id:"39300",name:"Lons-le-Saunier"},{id:"39478",name:"Saint-Claude"}],40:[{id:"40192",name:"Mont-de-Marsan"},{id:"40088",name:"Dax"},{id:"40046",name:"Biscarrosse"}],41:[{id:"41018",name:"Blois"},{id:"41194",name:"Romorantin-Lanthenay"},{id:"41269",name:"Vendôme"}],42:[{id:"42218",name:"Saint-Étienne"},{id:"42187",name:"Roanne"},{id:"42147",name:"Montbrison"}],43:[{id:"43157",name:"Le Puy-en-Velay"},{id:"43137",name:"Monistrol-sur-Loire"},{id:"43040",name:"Brioude"}],44:[{id:"44109",name:"Nantes"},{id:"44184",name:"Saint-Nazaire"},{id:"44131",name:"Pornic"}],45:[{id:"45234",name:"Orléans"},{id:"45208",name:"Montargis"},{id:"45155",name:"Gien"}],46:[{id:"46042",name:"Cahors"},{id:"46102",name:"Figeac"},{id:"46127",name:"Gourdon"}],47:[{id:"47001",name:"Agen"},{id:"47323",name:"Villeneuve-sur-Lot"},{id:"47157",name:"Marmande"}],48:[{id:"48095",name:"Mende"},{id:"48140",name:"Saint-Chély-d'Apcher"},{id:"48080",name:"Langogne"}],49:[{id:"49007",name:"Angers"},{id:"49099",name:"Cholet"},{id:"49328",name:"Saumur"}],50:[{id:"50129",name:"Cherbourg-en-Cotentin"},{id:"50502",name:"Saint-Lô"},{id:"50218",name:"Granville"}],51:[{id:"51454",name:"Reims"},{id:"51108",name:"Châlons-en-Champagne"},{id:"51230",name:"Épernay"}],52:[{id:"52448",name:"Saint-Dizier"},{id:"52121",name:"Chaumont"},{id:"52269",name:"Langres"}],53:[{id:"53130",name:"Laval"},{id:"53062",name:"Château-Gontier-sur-Mayenne"},{id:"53147",name:"Mayenne"}],54:[{id:"54395",name:"Nancy"},{id:"54329",name:"Lunéville"},{id:"54528",name:"Toul"}],55:[{id:"55545",name:"Verdun"},{id:"55029",name:"Bar-le-Duc"},{id:"55122",name:"Commercy"}],56:[{id:"56121",name:"Lorient"},{id:"56260",name:"Vannes"},{id:"56178",name:"Pontivy"}],57:[{id:"57463",name:"Metz"},{id:"57672",name:"Thionville"},{id:"57227",name:"Forbach"}],58:[{id:"58194",name:"Nevers"},{id:"58086",name:"Cosne-Cours-sur-Loire"},{id:"58095",name:"Decize"}],59:[{id:"59350",name:"Lille"},{id:"59183",name:"Dunkerque"},{id:"59606",name:"Valenciennes"}],60:[{id:"60057",name:"Beauvais"},{id:"60159",name:"Compiègne"},{id:"60175",name:"Creil"}],61:[{id:"61001",name:"Alençon"},{id:"61169",name:"Flers"},{id:"61006",name:"Argentan"}],62:[{id:"62193",name:"Calais"},{id:"62041",name:"Arras"},{id:"62160",name:"Boulogne-sur-Mer"}],63:[{id:"63113",name:"Clermont-Ferrand"},{id:"63178",name:"Issoire"},{id:"63430",name:"Thiers"}],64:[{id:"64445",name:"Pau"},{id:"64102",name:"Bayonne"},{id:"64260",name:"Hendaye"}],65:[{id:"65440",name:"Tarbes"},{id:"65258",name:"Lannemezan"},{id:"65025",name:"Argelès-Gazost"}],66:[{id:"66136",name:"Perpignan"},{id:"66049",name:"Céret"},{id:"66149",name:"Prades"}],67:[{id:"67482",name:"Strasbourg"},{id:"67180",name:"Haguenau"},{id:"67462",name:"Sélestat"}],68:[{id:"68224",name:"Mulhouse"},{id:"68066",name:"Colmar"},{id:"68297",name:"Saint-Louis"}],69:[{id:"69123",name:"Lyon"},{id:"69264",name:"Villefranche-sur-Saône"},{id:"69091",name:"Givors"}],70:[{id:"70550",name:"Vesoul"},{id:"70285",name:"Héricourt"},{id:"70310",name:"Lure"}],71:[{id:"71076",name:"Chalon-sur-Saône"},{id:"71270",name:"Mâcon"},{id:"71153",name:"Le Creusot"}],72:[{id:"72181",name:"Le Mans"},{id:"72154",name:"La Flèche"},{id:"72264",name:"Sablé-sur-Sarthe"}],73:[{id:"73065",name:"Chambéry"},{id:"73011",name:"Albertville"},{id:"73248",name:"Saint-Jean-de-Maurienne"}],74:[{id:"74010",name:"Annecy"},{id:"74281",name:"Thonon-les-Bains"},{id:"74012",name:"Annemasse"}],75:[{id:"75056",name:"Paris"}],76:[{id:"76351",name:"Le Havre"},{id:"76540",name:"Rouen"},{id:"76217",name:"Dieppe"}],77:[{id:"77284",name:"Meaux"},{id:"77108",name:"Chelles"},{id:"77288",name:"Melun"}],78:[{id:"78646",name:"Versailles"},{id:"78361",name:"Mantes-la-Jolie"},{id:"78172",name:"Conflans-Sainte-Honorine"}],79:[{id:"79191",name:"Niort"},{id:"79049",name:"Bressuire"},{id:"79329",name:"Thouars"}],80:[{id:"80021",name:"Amiens"},{id:"80001",name:"Abbeville"},{id:"80016",name:"Albert"}],81:[{id:"81004",name:"Albi"},{id:"81065",name:"Castres"},{id:"81105",name:"Graulhet"}],82:[{id:"82121",name:"Montauban"},{id:"82033",name:"Castelsarrasin"},{id:"82037",name:"Caussade"}],83:[{id:"83137",name:"Toulon"},{id:"83061",name:"Fréjus"},{id:"83050",name:"Draguignan"}],84:[{id:"84007",name:"Avignon"},{id:"84031",name:"Carpentras"},{id:"84087",name:"Orange"}],85:[{id:"85191",name:"La Roche-sur-Yon"},{id:"85194",name:"Les Sables-d'Olonne"},{id:"85047",name:"Challans"}],86:[{id:"86194",name:"Poitiers"},{id:"86066",name:"Châtellerault"},{id:"86070",name:"Chauvigny"}],87:[{id:"87085",name:"Limoges"},{id:"87154",name:"Saint-Junien"},{id:"87187",name:"Saint-Yrieix-la-Perche"}],88:[{id:"88160",name:"Épinal"},{id:"88413",name:"Saint-Dié-des-Vosges"},{id:"88196",name:"Gérardmer"}],89:[{id:"89024",name:"Auxerre"},{id:"89387",name:"Sens"},{id:"89206",name:"Joigny"}],90:[{id:"90010",name:"Belfort"},{id:"90081",name:"Réchésy"}],91:[{id:"91228",name:"Évry-Courcouronnes"},{id:"91223",name:"Étampes"},{id:"91692",name:"Les Ulis"}],92:[{id:"92012",name:"Boulogne-Billancourt"}],93:[{id:"93066",name:"Saint-Denis"}],94:[{id:"94081",name:"Vitry-sur-Seine"}],95:[{id:"95018",name:"Argenteuil"},{id:"95487",name:"Persan"},{id:"95351",name:"Louvres"}],971:[{id:"97101",name:"Les Abymes"},{id:"97128",name:"Sainte-Anne"},{id:"97118",name:"Petit-Bourg"}],972:[{id:"97209",name:"Fort-de-France"},{id:"97224",name:"Saint-Joseph"},{id:"97220",name:"Rivière-Pilote"}],973:[{id:"97311",name:"Saint-Laurent-du-Maroni"},{id:"97304",name:"Kourou"}],974:[{id:"97411",name:"Saint-Denis"},{id:"97416",name:"Saint-Pierre"},{id:"97409",name:"Saint-André"}],"03":[{id:"03185",name:"Montluçon"},{id:"03310",name:"Vichy"},{id:"03190",name:"Moulins"}],"04":[{id:"04112",name:"Manosque"},{id:"04070",name:"Digne-les-Bains"},{id:"04209",name:"Sisteron"}],"09":[{id:"09225",name:"Pamiers"},{id:"09261",name:"Saint-Girons"},{id:"09160",name:"Lavelanet"}],"01":[{id:"01053",name:"Bourg-en-Bresse"},{id:"01283",name:"Oyonnax"},{id:"01033",name:"Valserhône"}],"06":[{id:"06088",name:"Nice"},{id:"06029",name:"Cannes"},{id:"06083",name:"Menton"}],"2B":[{id:"2B033",name:"Bastia"},{id:"2B096",name:"Corte"},{id:"2B050",name:"Calvi"}],"2A":[{id:"2A004",name:"Ajaccio"},{id:"2A247",name:"Porto-Vecchio"},{id:"2A032",name:"Bastelicaccia"}],"02":[{id:"02691",name:"Saint-Quentin"},{id:"02722",name:"Soissons"},{id:"02408",name:"Laon"}],"07":[{id:"07010",name:"Annonay"},{id:"07019",name:"Aubenas"},{id:"07324",name:"Tournon-sur-Rhône"}],"05":[{id:"05061",name:"Gap"},{id:"05023",name:"Briançon"},{id:"05046",name:"Embrun"}],"08":[{id:"08105",name:"Charleville-Mézières"},{id:"08362",name:"Rethel"},{id:"08190",name:"Givet"}]},rJ=/<path\b([^>]*?)\/>/g,nJ=/\b([:\w-]+)="([^"]*)"/g,aJ=e=>{const t=[];for(const r of e.matchAll(rJ)){const o=r[1];if(!o)continue;const s=new Map;for(const p of o.matchAll(nJ)){const[,x,w]=p;x&&s.set(x,w||"")}const l=s.get("id"),c=s.get("d"),h=s.get("data-name"),v=s.get("data-url");!l||!c||!h||!v||t.push({id:l,path:c,name:h,url:v})}return t},iJ=e=>new Map(e.map(t=>[t.id,t])),M3=e=>{window.location.href=e},oJ=(e,t,r)=>{const o=r.get(e);if(o)return o;const s=e.startsWith("97")?Array.from(document.querySelectorAll(`path[id^="town-${e}"][id$="-drom"]`)).map(l=>({id:l.getAttribute("id")||"",path:l.getAttribute("d")||"",name:l.getAttribute("data-name")||"",url:l.getAttribute("data-url")||""})):Array.from(t().values()).filter(l=>l.id.startsWith(`town-${e}`));return r.set(e,s),s},sJ=(e,t)=>t.get(e),uJ=e=>{e.size>0||document.querySelectorAll(".c-map-towns__map .c-map-towns__layer-towns path[data-town-id], .c-map-towns__map-drom .c-map-towns__layer-towns path[id]").forEach(t=>{const r=t.getAttribute("data-town-id")||t.getAttribute("id");r&&e.set(r,Array.from(t.classList).filter(o=>o.startsWith("c-map-towns__path--")))})},lJ=(e,t)=>{const r=e.id,o=e.url,s=e.name;if(!r||!o)return null;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",e.path),l.setAttribute("class","c-map-towns__path c-map-towns__zoom-town"),l.setAttribute("data-url",o);const c=sJ(r,t);if(c&&c.forEach(h=>{l.classList.add(h)}),s){const h=document.createElementNS("http://www.w3.org/2000/svg","title");h.textContent=s,l.appendChild(h)}return l},cJ=(e,t)=>{const r=document.createDocumentFragment();return e.forEach(o=>{const s=lJ(o,t);s&&r.appendChild(s)}),r},dJ=(e,t)=>{e.replaceChildren(t)},fJ=(e,t,r)=>{const o=document.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","js-city-marker c-map-towns__city-marker"),o.setAttribute("aria-hidden","true"),o.setAttribute("data-scale",r.toString());const s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",t),s.setAttribute("class","js-city-anchor c-map-towns__city-anchor");const l=document.createElementNS("http://www.w3.org/2000/svg","circle");l.setAttribute("class","c-map-towns__city-circle"),l.setAttribute("r","5"),l.setAttribute("fill","white"),l.setAttribute("stroke","black"),l.setAttribute("strokeWidth","1");const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("class","js-city-bg"),c.setAttribute("fill","white"),c.setAttribute("rx","4"),c.setAttribute("ry","4");const h=document.createElementNS("http://www.w3.org/2000/svg","text");return h.setAttribute("class","js-city-text c-map-towns__city-text"),h.textContent=e,o.appendChild(s),o.appendChild(l),o.appendChild(c),o.appendChild(h),o},hJ=(e,t)=>{const r=t.getBBox(),o=5,s=r.width+o*2,l=r.height+o*2;e.setAttribute("viewBox",`${r.x-o} ${r.y-o} ${s} ${l}`);const c=e.clientWidth||800,h=e.clientHeight||600;return Math.max(s/c,l/h)};let X5=!1;const e8=()=>{if(X5)return;if(!document.querySelector(".c-map-towns")){new MutationObserver((U,W)=>{typeof document<"u"&&document.querySelector(".c-map-towns")&&(W.disconnect(),e8())}).observe(document.body,{childList:!0,subtree:!0});return}const e=window.layout===z5.MOBILE,t=document.querySelector(".c-map-towns__map"),r=document.querySelector(".c-map-towns__droms"),o=document.querySelector(".c-map-towns__zooms"),s=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W.closest(".js-city-marker");if(Q){const J=Q.getAttribute("data-url");J&&M3(J);return}const ie=W.closest(".c-map-towns__zoom-item")?.getAttribute("data-city-url");if(ie){M3(ie);return}const te=W.closest(".c-map-towns__dept-trigger")?.getAttribute("data-url");te&&M3(te)};if(e){t?.addEventListener("click",s),r?.addEventListener("click",s),o?.addEventListener("click",s),X5=!0;return}const l=document.getElementById("js-zoom-overlay"),c=document.getElementById("js-zoom-svg"),h=document.getElementById("js-zoom-group"),v=document.getElementById("js-zoom-close");if(!(l instanceof HTMLElement)||!(c instanceof SVGSVGElement)||!(h instanceof SVGGElement)||!(v instanceof HTMLElement)){requestAnimationFrame(e8);return}X5=!0;const p=document.getElementById("js-zoom-label"),x=document.getElementById("js-zoom-title"),w=document.getElementById("js-town-sprite-data"),_=new Map,D=new Map;let S=null;const T=()=>{if(S)return S;const U=w instanceof HTMLScriptElement?JSON.parse(w.textContent||'""'):"";return S=iJ(aJ(U)),S},C=()=>{l.setAttribute("aria-hidden","true"),h.replaceChildren()},O=(U,W)=>U.startsWith("97")?document.querySelector(`path[id="town-${W}-drom"]`)?.getAttribute("d")||null:T().get(`town-${W}`)?.path||null,L=(U,W)=>{const Q=tJ[U]||[];if(Q.length===0)return;const ie=document.createDocumentFragment();Q.forEach(te=>{const J=O(U,te.id);if(!J)return;const V=fJ(te.name,J,W);ie.appendChild(V)}),h.appendChild(ie),requestAnimationFrame(()=>{Z5(h)})},P=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W?.closest(".c-map-towns__dept-trigger");if(!Q)return;const ie=Q.getAttribute("id")?.replace("out-","")||"",te=Q.getAttribute("data-name"),J=oJ(ie,T,_);uJ(D);const V=cJ(J,D);if(p&&x&&te&&(p.textContent=te,x.textContent=`Carte détaillée du département : ${te}`),!(Q instanceof SVGGraphicsElement))return;const X=hJ(c,Q);l.setAttribute("aria-hidden","false"),dJ(h,V),L(ie,X)},z=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W.closest(".c-map-towns__zoom-town")?.getAttribute("data-url");Q&&M3(Q)};t?.addEventListener("click",P),r?.addEventListener("click",P),h.addEventListener("click",z),v.addEventListener("click",()=>{C()}),l.addEventListener("click",U=>{U.target===l&&C()})},L3=()=>{v$(),$$(),$Q(),j$(),_I(),z$(),jQ(),NQ(),oY(),R$(),KQ(),k$(),VQ(),Y$(),Q$(),Z$(),F$(),y$("localisation-input","https://www.20minutes.fr/elections/resultats/recherche","?searchValue=","text","text"),P$(),Z5(),XQ(),f$(),h$(),X$(),e8(),fY(),hY(),J$(),d$(),JQ(),MQ(),kQ(),RQ()},bi=async({url:e,options:t})=>{const r={...t||{}},o=new Headers(r.headers);o.has("Content-Type")||o.set("Content-Type","application/json"),r.headers=o;const s=await fetch(e,r).then(l=>{if(l.ok)return l;throw new Error(`Fetch error: ${l.statusText}`)}).then(l=>o.get("Content-Type")?.toLowerCase()?.includes("image/svg+xml")?l.text():l.json());return typeof s=="object"&&s!==null&&"data"in s?s.data:s},pJ=(e,t)=>{let r;return(...s)=>{clearTimeout(r),r=setTimeout(()=>e(...s),t)}},k3={autocompleteSelector:".c-search-form__autocomplete"},mJ=({isSSR:e=!0,layout:t,title:r,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v})=>{const[p,x]=pe.useState([]),w=pe.useCallback(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&p.length>0&&T&&T.classList.remove("u-hidden")},[p]),_=pe.useCallback(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&p.length>0&&T&&T.classList.remove("u-hidden")},[p]),D=pe.useCallback(T=>{T.relatedTarget||document.querySelector(k3.autocompleteSelector)?.classList?.add("u-hidden")},[]),S=pe.useCallback(async T=>{if(T.target instanceof HTMLInputElement){const{target:C}=T;if(C.value.length<3)x([]);else try{const O=await bi({url:`${C.closest("form")?.action??"#"}?searchValue=${C.value}`});x(O.map(L=>{const{_source:P}=L;return{value:P.output,url:P.url}}))}catch(O){console.error("20mn> Error while searching:",O)}}},[]);return pe.useEffect(()=>{L3()},[]),pe.useEffect(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&T&&(p.length>0?T.classList.remove("u-hidden"):T.classList.add("u-hidden"))},[p]),a.jsxs(a.Fragment,{children:[a.jsx(fU,{layout:t,title:r,titleHref:o,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v,searchFormProps:{...s,autocompleteResults:p,onSubmit:T=>{T.preventDefault()},inputProps:{placeholder:"Recherchez les résultats de votre ville, votre département ou votre région",name:"elections-search",onClick:w,onFocus:_,onBlur:D,onKeyUp:pJ(S,300),autoComplete:"off",required:!0,"aria-required":!0}}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsSearchBannerContainer:{layout:t,title:r,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v}})} };`}})]})},rR=({id:e,isHidden:t,...r})=>t?null:a.jsx(be,{id:e,children:a.jsx(mJ,{...r})}),nR=({subtitle:e,...t})=>a.jsx(jU,{...t,subtitle:e?Yd({rawDraftContent:e}):""}),aR=({imageSrc:e,height:t,width:r,isDisplayedAsNotCropped:o,caption:s,content:l,title:c,...h})=>{const v=tm({rawDraftContent:l.content}).replace(/<[^>]*>/g,"").trim();let p=s.content,x=l;!v.length&&l.pageEndpoint&&(p="",x={...l,pageEndpoint:l.pageEndpoint,content:{entityMap:{},blocks:[{depth:0,data:{},inlineStyleRanges:[],text:s.content,type:"unstyled",key:"d1usd",entityRanges:[]}]}});let w="640x408",_=["1444x920","722x460","640x408","320x204"];return o?r<t?(w="310x0",_=["239x0","216x0","119x0","460x0","310x0"]):(w="310x0",_=["816x0","753x0","688x0","408x0","310x0"]):r<t&&(w="310x484",_=["239x522","216x472","119x261","310x678"]),a.jsxs(be,{...h,children:[c&&a.jsx(Yr,{as:"h2",fontFamily:"source-serif-pro",weight:"semi-bold",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:c}),a.jsx(Eh,{src:e,defaultFormat:w,formats:_,radius:{xs:"0",md:"xxs"},alt:c||s.content,mb:"s",isPortrait:o&&t>r,mx:o&&t>r?"auto":void 0}),a.jsxs(Me,{as:"figcaption",size:"xs",color:"grey-400",mx:{xs:"m",md:"0"},children:[p,s.credits&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[p&&a.jsx(a.Fragment,{children:" - "}),s.credits]}),s.source&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[(p||s.credits)&&a.jsx(a.Fragment,{children:" / "}),s.source]})]}),x&&a.jsx(rm,{...x,disableLettering:!0,mt:"s",mx:{xs:"m",md:"0"}})]})},vJ=({title:e,sponsor:t,item:r,...o})=>r?a.jsxs(be,{...o,px:{xs:"m",md:"0"},children:[a.jsx(Uc,{mb:"l",label:e}),a.jsx(Me,{size:"xs",px:"xxs",highlighted:!0,children:t}),a.jsx(ob,{cardTitleProps:{size:"xxs-2"},mt:"s",mb:"xl",...r})]}):null,iR=({title:e,content:t,pageEndpoint:r,imgEndpoint:o})=>a.jsxs(a.Fragment,{children:[a.jsx(Yr,{fontFamily:"source-serif-pro",size:"xl",textTransform:"uppercase",children:e}),a.jsx(kn,{mb:"m",mt:"s",thickness:"thick"}),a.jsx("section",{className:"c-content",children:Yd({rawDraftContent:t,pageEndpoint:r,imgEndpoint:o,withCmp:!1})})]}),oR=({cardHeaderProps:e,heading:t,subtitle:r,seeReplaysLink:o,mediaSrc:s,...l})=>s?a.jsxs(be,{...l,as:"section",color:"white",children:[a.jsx(Me,{size:"xs",mx:{xs:"m",md:"0"},mb:"xs",children:"TNT - Canal 32 (Île-de-France) • BBox (300) • Orange (349) • Freebox (910) • SFR (461)"}),a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Yr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"xxl"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"0"},children:t.children}),a.jsx(Me,{...r,fontFamily:"source-serif-pro",size:{xs:"m",md:"xxl"},mx:{xs:"m",md:"0"},children:r.children}),o&&a.jsx(ve,{justifyContent:{xs:"center",md:"start"},mx:{xs:"m",md:"0"},mt:"xl",children:a.jsx(Yt,{buttonColor:"primary",...o,children:"Voir tous les replays de l’émission"})})]}):null,sR=({cardHeaderProps:e,heading:t,signatureProps:r,subtitle:o,mediaSrc:s,relatedTags:l,enclosedText:c})=>s?a.jsxs(a.Fragment,{children:[a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Yr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"l"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"m"},children:t.children}),a.jsx(jg,{...r,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Me,{as:"div",fontFamily:"source-serif-pro",size:{xs:"m",md:"xl"},mx:{xs:"m",md:"0"},className:"c-content",children:Yd({rawDraftContent:o})}),c&&a.jsx(be,{bg:"blue-grey",px:"m",py:"l",mt:"l",className:"c-enclose c-enclose--theme-blue-grey",children:Yd({rawDraftContent:c})}),l&&a.jsx(sb,{...l,tags:l.tags.map(h=>({...h,variant:"quaternary"})),buttonsColor:"blue-dark",mt:"l",ml:{xs:"m",md:"0"}})]}):null,uR=({years:e,selectedYear:t,pageEndpoint:r,...o})=>a.jsx(be,{...o,children:e.map(s=>{const l=s===t;return a.jsx(uc,{variant:l?"tertiary":"primary",color:l?"white":"ultramarine",href:new URL(`/archives/${s}`,r).href,mr:"l",mb:"m",children:s},s)})}),lR=({layout:e,title:t,editions:r,selectorsLabel:o,editionSelector:s,monthSelector:l,variant:c="archivesByYear",enabled:h=!0})=>h?a.jsxs(a.Fragment,{children:[a.jsx(kn,{my:{xs:"xl",md:"xxl-2"},color:"ultramarine"}),a.jsx(Yr,{size:"xs",mb:"xxl",children:t}),a.jsxs(ve,{alignItems:{xs:"start",md:"center"},gap:{xs:"xs",md:"l"},direction:{xs:"column",md:"row"},children:[a.jsx(Me,{size:"s",weight:"bold",...o}),a.jsx(Hc,{...s,id:"archivePdfListEditionSelector",containerProps:{style:{width:e===ge.MOBILE?"100%":"163px"}},py:"m",px:"s"}),c==="archivesByYear"&&l&&a.jsx(Hc,{...l,id:"archivePdfListMonthSelector",containerProps:{style:{width:e===ge.MOBILE?"100%":"193px"}},py:"m",px:"s"})]}),r&&r.length>0&&a.jsxs(ve,{direction:"column",gap:"l",mt:"l",children:[r.slice(0,20).map(v=>a.jsxs(ve,{alignItems:"baseline",children:[a.jsx(or,{name:"diode",color:"ultramarine",size:11,mr:"xxs"}),a.jsx(Yt,{color:"ultramarine",href:v.href,children:v.name})]},v.name)),r.length>20&&a.jsx("span",{children:"Vous ne trouvez pas le journal numérique recherché ? Sélectionnez une édition et un mois pour une recherche plus précise."})]})]}):null,cR=({months:e,...t})=>e.length>0?a.jsx(be,{...t,children:e.map((r,o)=>a.jsx(yl,{...r,items:r.items.map(s=>({...s,color:"ultramarine"})),columnsNumber:{xs:1,md:3},mb:o<e.length-1?{xs:"xl",md:"xxl"}:void 0,heading:{as:"h3",...r.heading}},r.items[0].name))}):null,t8=({mediaProps:e,photoSwipeGalleryProps:t,...r})=>{const o=e?.type===du.video?{...e,src:Vf(e.src)}:e;return o&&a.jsx(kd,{...o,...r})||t&&a.jsx(WU,{...t,...r})||null},dR=({articleHeaderProps:e,signatureProps:t,contentCoverProps:r,...o})=>a.jsxs(ve,{...o,direction:"column",justifyContent:"center",children:[a.jsx(Q7,{...e,mx:"m",mb:"xs"}),a.jsx(t8,{...r,mb:"xs"}),a.jsx(jg,{...t,mx:"m",mb:"xs"}),!e.isCenteredLayout&&a.jsx(Me,{fontFamily:"source-serif-pro",size:"xl",mx:"m",children:e.lead})]}),fR=e=>{const{variablesForQuery:t,...r}=e;return a.jsx(Hu,{...r,headingProps:{...r.headingProps,as:"h2"},mb:"xxl"})},hR=({articles:e,layout:t,withDivider:r,...o})=>e.length>=1?a.jsxs(ve,{direction:"column",...o,children:[t===ge.MOBILE&&r&&a.jsx(kn,{color:"ultramarine",mb:"l"}),a.jsx(Me,{size:"l",weight:"bold",mb:"xs",children:"À lire aussi"}),a.jsx(ve,{direction:{md:"row",xs:"column"},gap:{md:"m",xs:"s"},children:e.slice(0,2).map(s=>a.jsx(Ea,{basis:50,children:a.jsx(Ap,{...s,cardTitleProps:{size:"xxs-2"}})},s.title))})]}):null,r8=({carousels:e,layout:t})=>a.jsx(a.Fragment,{children:e.map((r,o)=>a.jsx(be,{as:"section",mb:o!==e.length-1?"xxl":"0",children:a.jsx(Hu,{...r,layout:t,headingProps:{...r.headingProps,as:"h2"}})},r.label))}),pR=({items:e=[]})=>e?.length?a.jsx("div",{children:e?.map((t,r)=>a.jsx(yl,{...t},`bulleted-list-${r}`))}):null,Hp=e=>e&&(e.rightSubheader&&new Date(e.rightSubheader?.text).getTime()?{...e,rightSubheader:{...e.rightSubheader,text:cb(e.rightSubheader.text)}}:{...e}),jl=({articles:e,layout:t,columnsNumber:r=2,hideFirstDivider:o=!1,dividerProps:s,seeMoreButton:l,seeMoreLink:c,tagTotalArticles:h,currentPagePath:v,currentPage:p="1",articlesLimit:x,hasCardLarge:w=!1,hasMarginOnCard:_=!0,heading:D,isLoading:S=!1,skeletonCount:T=8,desktopArticlesListClassName:C,...O})=>{if(e.length===0)return null;const L=W=>a.jsx(Ap,{...W,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Hp(W.cardHeaderProps),mx:_?"m":void 0}),P=S?Array.from({length:T},(W,Q)=>Q):[];let z=null;t===ge.DESKTOP?z=a.jsxs(Ri,{colsNumber:r,gap:"xl",className:C,children:[e.slice(0,x).map((W,Q)=>{const{layout:ie,...te}=W;return a.jsx(U1,{...te,className:`card-item-${Q+1}`,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Hp(W.cardHeaderProps)},`${W.link}-${Q}`)}),P.map(W=>a.jsx(e9,{variant:"medium"},`skeleton-${W}`))]}):z=a.jsxs(a.Fragment,{children:[e.slice(0,x).map((W,Q)=>a.jsx(be,{className:`card-item-${Q+1}`,children:w?a.jsxs(a.Fragment,{children:[Q===0&&a.jsx(Ig,{...W,layout:t}),Q>0&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s}),L({...W,layout:t})]})]}):a.jsxs(a.Fragment,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s,className:vo({"u-hidden":Q===0&&o},s?.className)}),L({...W,layout:t})]})},`${W.link}-${Q}`)),P.map(W=>a.jsxs(be,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s}),a.jsx(e9,{variant:"extra-small",mx:_?"m":void 0})]},`skeleton-${W}`))]});const U=a.jsxs(a.Fragment,{children:[D&&a.jsx(Yr,{size:"m",mb:"xl",mx:{xs:"m",md:"0"},...D}),z,(c||l)&&a.jsxs(ve,{justifyContent:"center",mt:"l",children:[l&&a.jsx(Tn,{...l}),c&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...c}),h&&v&&a.jsx("noscript",{children:a.jsx(p9,{totalArticles:h,currentPage:p,pagePath:v,archivesUrl:"https://www.20minutes.fr/archives"})})]})]});return Object.keys(O).length===0?U:a.jsx(be,{...O,children:U})},mR=({addresses:e,layout:t,...r})=>{const o=t===ge.DESKTOP?"row":"column",s=t===ge.DESKTOP?"end":"start";return a.jsx(be,{...r,children:e.map((l,c)=>{const h=e.length>c+1?{mb:"m"}:{};return pe.createElement(ve,{justifyContent:"between",alignContent:"end",p:{xs:"m",md:"s"},bg:"grey-100",direction:o,...h,pr:{md:"xxl"},pl:{md:"m"},key:l.name},a.jsxs(Ea,{mb:{xs:"s",md:"0"},children:[a.jsx(Yr,{as:"h4",size:"xxs-3",children:l.name}),l.streets.map(v=>a.jsx("p",{children:v},v))]}),a.jsxs(Ea,{align:s,children:[l.phoneNumber&&a.jsxs(a.Fragment,{children:[a.jsxs(Me,{weight:"bold",as:"span",children:["Tél. :"," "]}),a.jsx(Me,{as:"span",color:"ultramarine",children:l.phoneNumber})]}),l.mail&&a.jsx(Me,{color:"ultramarine",children:l.mail})]}))})})},vR=({name:e,streets:t,phoneNumber:r,...o})=>a.jsxs(be,{...o,children:[a.jsx(Yr,{as:"h2",size:"m",mb:"s",children:"Nos coordonnées"}),a.jsx(Yr,{as:"h3",size:"xxs-3",children:e}),t.map(s=>a.jsx("p",{children:s},`streets-line-${s}`)),a.jsx("span",{children:"Téléphone : "}),a.jsx(Me,{as:"span",color:"ultramarine",children:r})]}),gR=e=>a.jsxs("form",{...e,id:"contact-form",method:"POST",noValidate:!0,children:[a.jsx(Yr,{as:"h2",size:"m",mb:"xxs",children:"Contactez-nous"}),a.jsx(Me,{size:"m",mb:"m",children:"Une question, une remarque, un sujet d'article à proposer, joignez nos services."}),a.jsx(Hc,{id:"service",name:"service",label:"Service",placeholder:"Choisissez votre service",hint:"Sélectionnez le service approprié pour diriger votre demande vers la bonne équipe",error:"Veuillez sélectionner un service",containerProps:{mb:"m"},form:"contact-form",options:[{value:"redaction",title:"La rédaction"},{value:"service-technique",title:"Le service technique"},{value:"service-commercial",title:"Le service commercial"},{value:"suppression-anonymisation",title:"Demande de suppression et d'anonymisation"},{value:"moderation-commentaires",title:"Modération des commentaires"},{value:"jeux",title:"Jeux"},{value:"newsletter",title:"Newsletter"},{value:"accessibility",title:"Accessibilité"},{value:"20minutes-tv",title:"20 Minutes TV"},{value:"service-abonnement",title:"Le service abonnement"}],"aria-controls":"subservice tech-object games-object subscription-object common-object source",required:!0,"aria-required":!0}),a.jsx(Hc,{id:"subservice",name:"subservice",label:"Sous-service",placeholder:"Choisissez votre sous-service",hint:"Précisez le sous-service spécifique pour une meilleure orientation de votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"redaction-chef",title:"Rédaction en chef"},{value:"service-actu",title:"Service Actu"},{value:"service-sport",title:"Service Sport"},{value:"service-culture",title:"Service Culture/Entertainment"},{value:"service-videos",title:"Service Vidéos"},{value:"service-moderation",title:"Service Modération et Contribution"},{value:"service-fact",title:"Service Fact checking"},{value:"service-magazine",title:"Service Magazine"},{value:"bureau-bordeaux",title:"Bureau Bordeaux"},{value:"bureau-lille",title:"Bureau Lille"},{value:"bureau-lyon",title:"Bureau Lyon"},{value:"bureau-marseille",title:"Bureau Marseille"},{value:"bureau-montpellier",title:"Bureau Montpellier"},{value:"bureau-nantes",title:"Bureau Nantes"},{value:"bureau-nice",title:"Bureau Nice"},{value:"bureau-paris",title:"Bureau Paris"},{value:"bureau-rennes",title:"Bureau Rennes"},{value:"bureau-strasbourg",title:"Bureau Strasbourg"},{value:"bureau-toulouse",title:"Bureau Toulouse"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"source",name:"source",label:"Source d'accès",placeholder:"Choisissez votre source d'accès",hint:"Indiquez la plateforme ou l'appareil depuis lequel vous rencontrez un problème",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"site-mobile",title:"Site depuis mobile"},{value:"site-desktop",title:"Site depuis ordinateur"},{value:"app-mobile",title:"Application sur téléphone"},{value:"app-tablet",title:"Application sur tablette"},{value:"tous",title:"Tous"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"common-object",name:"common-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m"},form:"contact-form",options:[{value:"sujet-article",title:"Un sujet d’article"},{value:"orthographe",title:"Une faute d’orthographe"},{value:"remarque",title:"Une remarque/une question"},{value:"temoignage",title:"Je suis témoin d’un événement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"tech-object",name:"tech-object",label:"Objet",placeholder:"Objet de votre message technique",hint:"Sélectionnez le type de problème technique que vous rencontrez",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-ordinateur",title:"Un problème sur le site depuis votre ordinateur"},{value:"probleme-mobile",title:"Un problème sur le site mobile depuis votre téléphone"},{value:"probleme-app",title:"Un problème sur l’application 20 Minutes"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"games-object",name:"games-object",label:"Objet",placeholder:"Objet de votre message",hint:"Décrivez le problème que vous rencontrez avec nos jeux",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-affichage",title:"Problème d'affichage"},{value:"element-cache-jeu",title:"Un élément cache le jeu"},{value:"jeu-bloque",title:"Jeu bloqué"},{value:"message-erreur",title:"Message d'erreur"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"subscription-object",name:"subscription-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"question",title:"Une question à propos de votre abonnement mensuel"},{value:"reclamation",title:"Une réclamation au service abonnement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(H7,{id:"email",name:"email",label:"E-mail",type:"email",placeholder:"Entrez votre e-mail...",hint:"Votre adresse e-mail sera utilisée pour vous répondre. Format attendu : exemple@domaine.com",error:"Veuillez entrer une adresse e-mail valide",containerProps:{mb:"m"},autoComplete:"email",required:!0,"aria-required":!0}),a.jsx(zH,{id:"message",name:"message",label:"Message",rows:10,cols:50,maxLength:5e3,placeholder:"Votre message...",hint:"Décrivez votre demande en détail. Maximum 5000 caractères",error:"Veuillez décrire votre demande.",containerProps:{mb:"m"},required:!0,"aria-required":!0}),a.jsx("div",{id:"li-antibot"}),a.jsx(Tn,{color:"primary",type:"submit",mx:"auto",my:"m",children:"Envoyer"}),a.jsx(Me,{size:"xs",mb:"m",children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de notre intérêt légitime et sont utilisées pour répondre à vos demandes d’informations. Elles seront conservées pendant 3 ans à compter de la collecte des données sauf dispositions légales particulières. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à dpo@20minutes.fr ou par courrier à :"}),a.jsx(Me,{size:"xs",mb:"m",children:"Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex."}),a.jsxs(Me,{size:"xs",mb:"m",children:["Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus."})]})]}),gJ=({layout:e,liveInProgressProps:t,lastArticlesProps:r})=>{const o=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(T3,{...r})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(T3,{...r})})},...t.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...t})}),a.jsx("aside",{className:"o-lt-show__aside"})]}):a.jsx(O2,{...t})}]:[]];return a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,tabProps:{mx:{xs:"m",md:"0"}},mb:"l"})},Ph=({header:{subtitle:e,...t},sectionId:r,liveIndicator:o,children:s,...l})=>{const c=e&&typeof e!="string"?Yd({rawDraftContent:e}):e;return a.jsxs(be,{...l,id:r,className:vo(l.className,{"u-anchor-link":!!r}),children:[o&&a.jsx(U5,{...o,variant:"elections",mx:{xs:"m",md:"0"},mb:"xs"}),t?.heading?.children&&a.jsx(mU,{...t,subtitle:c,mb:{xs:"m",sm:"xl"}}),s]})},yR=({halfDonutProps:e,...t})=>!e.results.length&&t?.header?.heading?.children===""?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e.results.length>0&&a.jsx(lU,{...e,mx:{xs:"m",md:"0"}})}),bR=({mapConstituenciesProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDistrict.length===0||Object.keys(e.mapDistrictsData||{}).length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(AU,{...e,mx:{xs:"m",md:"0"}})}),xR=({mapDepartmentsProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDepartment.length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(xU,{...e,mx:{xs:"m",md:"0"}})}),AR=({mapEuropeProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerCountry.length===0||Object.keys(e.mapEuCountriesData||{}).length===0||Object.keys(e.mapNonEuCountriesData||{}).length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(_U,{...e,mx:{xs:"m",md:"0"}})}),_R=({mapTownsByDepartmentsProps:e,...t})=>{const{electionName:r,electionYear:o,...s}=e;if(e.electionName===""&&e.electionYear===""&&e.resultsPerTown.length===0)return null;const l=(e?.resultsPerTown?.length??0)===0;return a.jsx(Ph,{...t,className:vo({"u-placeholder-map-towns-empty":l,"u-placeholder-map-towns":!l},t?.className),header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(NU,{...s,mx:{xs:"m",md:"0"}})})},im=({items:e,layout:t,visibleItems:r=10,hasRanking:o,seeMoreResults:s,seeAllResults:l,...c})=>{if(!e.length&&c?.header?.heading?.children==="")return null;const h=o?"xl":{xs:"m",sm:"l"},v=e.some(p=>p.hasAvatar&&!p.result&&!p.votes)?"Voir tous les candidats":"Voir tous les résultats";return a.jsxs(Ph,{...c,header:{...c.header,heading:{...c.header.heading,as:"h2"}},children:[e.slice(0,r).map((p,x)=>a.jsx(g9,{...p,ranking:o?x+1:void 0,mb:h,layout:t},p.label)),e.length>r&&e.slice(r).map((p,x)=>a.jsx(g9,{...p,ranking:o?r+x+1:void 0,mb:h,layout:t,className:"c-elections-result--toggleable js-toggle-target","aria-hidden":!0},p.label)),s&&!l&&e.length>r&&a.jsx(Tn,{...s,color:"primary",variant:"outlined",className:"js-toggle-button",m:"auto",mt:"xxl",children:v}),l&&!s&&a.jsx(ve,{mt:"l",mx:"m",justifyContent:"center",className:"c-bulleted-list__link",children:a.jsx(Yt,{...l,buttonColor:"primary",variant:"outlined"})})]})},ER=({multipleResults:e})=>e.length?a.jsx(a.Fragment,{children:e.map((t,r)=>a.jsx(im,{...t,mb:"xxl"},r))}):null,wR=({electionsName:e,regions:t,departments:r,cities:o,previousElections:s,seeAllResults:l,...c})=>a.jsxs(be,{...c,children:[a.jsx(yl,{heading:{children:`Résultats des élections ${e} par région`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:t,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:`Résultats des élections ${e} par département`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:r,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:`Résultats des élections ${e} par ville`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:o,visibleItems:6,maxItems:99,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:"Résultats des autres élections",textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:s,visibleItems:6}),l&&a.jsx(ve,{justifyContent:"center",mt:{xs:"xxl",md:"xxl-2"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...l,children:"Voir l'ensemble des résultats"})})]}),SR=({faqs:e,...t})=>a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e&&e.faqData.length>0&&a.jsx(k5,{...e})}),yJ=({games:e,isConnected:t=!1,layout:r,...o})=>{const s=v=>a.jsxs(ve,{...o,color:"white",bg:"ultramarine",alignItems:{xs:t?void 0:"center",md:e.length>0&&t?"start":"center"},justifyContent:"between",direction:{xs:t?"column":"row",md:e.length>0&&t?"column":"row"},gap:{xs:t?"xxs-2":void 0,md:e.length>0?"l":void 0},px:"l",py:{xs:t&&e.length<=0?"xxs":"s",md:"xl"},className:"c-favorite-games-block",children:[a.jsx(Yr,{textAlign:{xs:"center"},as:"h2",size:{xs:t&&e.length<=0?"xxs":"m",md:"m"},children:"Mes jeux favoris"}),v]}),l=()=>r===ge.DESKTOP?a.jsx(a9,{bg:"ultramarine",color:"white",visibleItems:5,heading:{as:"h2",size:{xs:"xxs",md:"m"},children:"Mes jeux favoris"},childrenItems:e.map(v=>a.jsx(d2,{link:v.url,title:v.name,cardImageProps:{cover:v.coverUrl,isFavorite:!0},cardHeaderProps:{headline:{text:v.category,color:"white"}},cardTitleProps:{weight:"semi-bold",size:"s"},layout:r},v.url)),visibleGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start"},expandableGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start","aria-hidden":e.length>5}}):s(a.jsx(Hu,{mt:"l",layout:r,articles:e.map(v=>({layout:r,link:v.url,title:v.name,cardImageProps:{cover:v.coverUrl,isFavorite:!0},cardTitleProps:{weight:"semi-bold",size:"xs"},cardHeaderProps:{headline:{text:v.category,color:"white"}}}))})),c=s(a.jsx(Tn,{color:"primary",variant:"outlined",children:r===ge.DESKTOP?"Connectez-vous pour sauvegarder vos jeux préférés !":"Connexion"})),h=e.length<=0?s(a.jsx(ve,{alignItems:"center",children:a.jsxs(Yr,{size:{xs:"xxs-4",md:"xxs-3"},children:["Retrouvez rapidement vos jeux préférés ici, en les sauvegardant grâce à l’icône"," ",a.jsx(Pd,{iconProps:{name:"star-outlined"},variant:"secondary",color:"grey-500",isClickable:!1,iconSize:"small"})]})})):l();return t?h:c},n8=({gamesAccordion:e,...t})=>t.layout===ge.DESKTOP?a.jsx(bl,{...t,...e&&{rightAsideElement:a.jsx(H5,{colsNumber:1,...e})}}):a.jsxs(a.Fragment,{children:[a.jsx(bl,{mb:"l",...t}),e&&a.jsx(H5,{colsNumber:1,mb:"l",...e})]}),a8=({subtitle:e,games:t,layout:r,useTypeAsHeader:o,allowFavorite:s=!1,...l})=>a.jsxs(be,{...l,children:[a.jsx(Yr,{id:Fd(t[0].category),as:"h2",size:{xs:"xxs",md:"m"},mb:{xs:"xxs-2",md:"s"},children:t[0].category}),a.jsx(Me,{mb:"l",children:e}),a.jsx(Ri,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:t.map(c=>a.jsx(d2,{link:c.url,title:c.name,cardImageProps:{cover:c.coverUrl,dataId:c.id,...s&&{isFavorite:!1}},cardHeaderProps:{headline:{text:o?c.type:c.category}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:c.description},layout:r},c.url))})]}),i8=({games:e,layout:t,bannerLink:r,isGameAppPage:o=!1,enableAds:s=!0,...l})=>{if(e.length===0)return null;const c=h=>e.filter(v=>v.category===h);return a.jsxs(a.Fragment,{children:[r&&a.jsx(Yt,{href:r,children:a.jsx(Eh,{mb:{xs:"l",md:"xxl"},radius:"0",src:`https://static.20mn.fr/services/games/2024/${t===ge.DESKTOP?"quiz":"quiz-mobile"}.png`})}),a.jsxs(be,{...l,children:[a.jsx(a8,{games:c("Jeux de lettres"),useTypeAsHeader:!1,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ge.MOBILE&&s&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(a8,{games:c("Jeux de chiffres"),useTypeAsHeader:!1,subtitle:"Chaque jour, de nouvelles grilles et de nouveaux défis addictifs !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ge.MOBILE&&s&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),a.jsx(a8,{games:c("Jeux inclassables"),useTypeAsHeader:!0,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}})]})]})},rd=({headingProps:e,articles:t,layout:r,variant:o="light",tags:s,sponsor:l,rubric:c,seeMoreLink:h,...v})=>{if(t.length===0)return null;const p=a.jsx(w3,{headingProps:e,layout:r,tags:s,sponsor:l,mb:{xs:"xxl",md:"m"}}),x=t?.slice(0,4).map(_=>({..._,cardTitleProps:{..._.cardTitleProps,as:"h3",maxRows:4,size:"xxs"},cardHeaderProps:{..._.cardHeaderProps,headline:{text:_.cardHeaderProps?.headline.text??"",..._.cardHeaderProps?.headline,color:o==="dark"?_.cardHeaderProps?.headline?.color||"white":_.cardHeaderProps?.headline?.color||"grey-400"},..._.cardHeaderProps?.rightSubheader&&{rightSubheader:{..._.cardHeaderProps?.rightSubheader,text:_.cardHeaderProps?.rightSubheader?.text??"",color:o==="dark"?"white":"grey-400"}}},socialBarProps:_.socialBarProps&&{..._.socialBarProps,countColor:o==="dark"?"white":"black",blockVariant:o},..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1820px) 264px, (min-width: 1440px) calc(5vw + 174px), (min-width: 1100px) 232px, calc(23.21vw - 19px)"}}})),w=a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:o==="dark"?"translucent":"primary",variant:o==="dark"?void 0:"outlined",...h,children:"Voir plus d'articles"})});return o==="dark"?a.jsx(be,{...v,as:"section",color:"white",bg:"grey-900",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[p,x.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{columnsNumber:{md:3,lg:4},layout:r,articles:x,dividerProps:{color:"grey-500"},hideFirstDivider:r===ge.MOBILE}),w]})]})}):a.jsxs(be,{...v,as:"section",children:[a.jsx(kn,{color:c||"ultramarine",mb:"xl",thickness:"heavy"}),p,x.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{desktopArticlesListClassName:"grid--in-row",columnsNumber:{md:3,lg:4},layout:r,articles:x,hideFirstDivider:r===ge.MOBILE}),w]})]})},K2=({headingProps:e,layout:t,articles:r,fitContainer:o,dividerProps:s,isScrollable:l,seeMoreLink:c,tags:h,variant:v,hasBackgroundImage:p=!1,...x})=>{if(r.length===0)return null;const w=a.jsx(w3,{headingProps:e,layout:t,tags:h,mb:{xs:"xxl",md:"xl"}}),_=(v==="dark"?r.map(S=>({...S,cardHeaderProps:{...S.cardHeaderProps,headline:{text:S.cardHeaderProps?.headline.text??"",...S.cardHeaderProps?.headline,color:v==="dark"?"white":S.cardHeaderProps?.headline?.color||"grey-400"},rightSubheader:{...S.cardHeaderProps?.rightSubheader,text:S.cardHeaderProps?.rightSubheader?.text??"",color:v==="dark"?"white":"grey-400"}}})):r).slice(0,4),D=a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:{xs:"0",lg:"xl"},className:"o-lt-show",children:[a.jsx("div",{className:vo({"o-lt-show__main o-lt-show__main--medium-size":t===ge.DESKTOP}),children:a.jsx(Ig,{..._[0],layout:t})}),a.jsxs("aside",{className:vo({"o-lt-show__aside o-lt-show__aside--auto":t===ge.DESKTOP}),children:[a.jsx(jl,{columnsNumber:4,layout:ge.MOBILE,articles:_.slice(1),dividerProps:{color:v==="dark"?"grey-500":"grey-200"},hideFirstDivider:t!==ge.MOBILE,hasMarginOnCard:t===ge.MOBILE}),c&&a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:v==="dark"?"translucent":"primary",variant:v==="dark"?void 0:"outlined",...c})})]})]});return v==="dark"?a.jsxs(be,{...x,as:"section",color:"white",bg:p?"blue-dark":"grey-900",children:[p&&a.jsx(M5,{src:"https://static.20mn.fr/tv/backgrounds/videos-home.png",halfOpacity:!0,loading:"lazy"}),a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[w,D]})]}):a.jsxs(be,{...x,as:"section",children:[a.jsx(kn,{mb:"xl",thickness:"heavy",color:s?.color||"ultramarine",...s}),w,D]})},CR=(e,t)=>e.map(r=>(r.articles.forEach((o,s)=>{(s!==0||t===ge.MOBILE)&&(o.cardImageProps=void 0)}),r)),TR=({title:e,items:t,layout:r,tabItemActive:o,...s})=>{if(t.length<=0)return null;const l=CR(t,r);if(r===ge.DESKTOP)return a.jsx(lb,{...s,title:e,items:l,layout:r});const c=()=>l.map(v=>({name:v.title.label,title:v.title.label,content:a.jsx(jl,{articles:v.articles,layout:ge.MOBILE,hasMarginOnCard:!1,seeMoreLink:v.seeMoreLink})})),h=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"xl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),a.jsx(Lf,{tabItemActive:o||(t.length>0?t[0].title.label:""),tabItems:c(),mx:"m"})]});return Object.keys(s).length===0?h:a.jsx(be,{...s,children:h})},o8=({items:e,layout:t,label:r,seeMoreLink:o,carouselProps:s,...l})=>!e||e?.length===0?null:a.jsx(be,{...l,as:"section",color:"white",bg:"entertainment",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[a.jsx(Hu,{...s,label:r,headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mb:"xl",...s?.headingProps},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"movies",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...o})})]})}),NR=({articles:e,...t})=>e.length>0?a.jsx(Ri,{...t,colsNumber:2,gapY:"xl",gapX:"m",children:e.map((r,o)=>a.jsxs(ve,{direction:"column",justifyContent:"between",children:[a.jsx(Ap,{...r,cardHeaderProps:Hp(r.cardHeaderProps)}),o<e.length-2&&a.jsx(kn,{color:"grey-200",mt:"xs"})]},`${r.link}-${o}`))}):null,DR=({games:e,layout:t,seeMoreLink:r,...o})=>e.length===0?null:a.jsx(be,{...o,as:"section",color:"white",bg:"ultramarine",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[a.jsx(Hu,{label:"Sélection de jeux populaires",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mx:{xs:"m",md:"0"},mb:"xl"},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"games",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsxs(Yt,{buttonColor:"translucent",...r,children:["Voir les ",Object.values(pb).length," jeux"]})})]})}),IR=({articles:e,layout:t,...r})=>{if(e.length===0)return null;const o=l=>{const c={...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},layout:t};return t===ge.DESKTOP?a.jsx(Ig,{...c}):a.jsx(c2,{...c})};let s=a.jsx(a.Fragment,{children:e.slice(0,10).map((l,c)=>a.jsxs(be,{className:`card-item-${c+1}`,children:[c===0?o(l):a.jsx(Ap,{...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},mx:"m",mb:c===2?"s":void 0,mt:c===3?"s":void 0}),c<e.slice(0,10).length-1&&c!==2&&a.jsx(kn,{color:"grey-200",my:"s"})]},l.title))});return t===ge.DESKTOP&&(s=a.jsxs(a.Fragment,{children:[o(e[0]),a.jsx(Ri,{colsNumber:2,gap:"xl",mt:"xl",children:e.slice(1,6).map((l,c)=>{const{layout:h,...v}=l;return pe.createElement(U1,{...v,key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3"},...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), (min-width: 660px) calc(50vw - 182px), 130px"}},className:`card-item-${c+1}`})})}),a.jsx(Ri,{colsNumber:3,gap:"xl",mt:"xl",children:e.slice(6,15).map(l=>{const{layout:c,...h}=l;return pe.createElement(U1,{...h,...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 245px, (min-width: 1440px) calc(12vw + 48px), (min-width: 1080px) 203px, (min-width: 780px) calc(29.64vw - 111px), (min-width: 660px) calc(33vw - 130px), 77px"}},key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3",maxRows:void 0,size:"xxs"}})})})]})),a.jsx(be,{...r,children:s})},RR=({articles:e,selectProps:t,seeMoreLink:r,layout:o,...s})=>{const{variablesForQuery:l,...c}=s,h=a.jsxs(a.Fragment,{children:[a.jsx(f2,{as:"h2",size:{xs:"s",md:"m"},isCentered:o===ge.MOBILE,mb:{xs:"l",md:"0"},iconProps:{name:"rubric-news",size:40},children:"Actualité locale"}),a.jsx(Hc,{...t})]}),v=(p,x)=>a.jsx(U1,{...p,cardTitleProps:{as:"h3",size:"xxs",weight:"semi-bold",fontFamily:"source-serif-pro",maxRows:4,...p.cardTitleProps},socialBarProps:void 0,...o===ge.MOBILE&&x!==e.length-1&&{className:"u-divider-bottom-grey-200"},...o===ge.MOBILE&&x!==0&&{pt:"s"},...o===ge.MOBILE&&x!==e.length-1&&{pb:"s"}},p.title);return a.jsxs(be,{...c,children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"l"}),o===ge.DESKTOP?a.jsx(ve,{justifyContent:"between",mb:"xl",alignItems:"center",children:h}):a.jsx(be,{mx:"m",mb:"l",children:h}),o===ge.DESKTOP?a.jsx(Ri,{colsNumber:4,gap:"xl",mx:o===ge.DESKTOP?"0":"m",children:e.map(p=>v(p))}):a.jsx(ve,{direction:"column",mx:"m",children:e.map((p,x)=>v(p,x))}),a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...r,children:"Voir plus d'articles"})})]})},OR=({layout:e,tags:t,regions:r,articles:o,...s})=>o&&!o.length?null:a.jsxs(be,{as:"section",...s,children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"l"}),a.jsx(w3,{headingProps:{children:"Résultats municipales 2026",iconProps:{name:"rubric-news",size:40}},layout:e,tags:t,mb:{xs:"xl",md:"xl"}}),a.jsx(Me,{px:{xs:"m",md:"0"},weight:"bold",size:"m",children:"Retrouvez dès 20h et en direct les résultats des élections municipales 2026 dans votre commune"}),a.jsx(ve,{direction:{xs:"column",md:"row"},wrap:"wrap",gapY:"xl",gapX:"xs",px:{xs:"m",md:"0"},mt:"m",children:r.map(l=>a.jsx(Me,{weight:"bold",size:"xs",children:a.jsx(Yt,{isUnderlined:!0,color:"grey-80O",href:l.url,children:l.name})},l.name))}),a.jsx(bb,{articles:o,mt:"l"})]}),jR=({title:e,items:t,layout:r,...o})=>{if(t.length<=0)return null;const s=CR(t,r);if(r===ge.DESKTOP)return a.jsx(lb,{...o,title:e,items:s.map(h=>({...h,title:{...h.title,as:"h2"}})),layout:ge.DESKTOP});const l=h=>a.jsx(a.Fragment,{children:h.map((v,p)=>a.jsxs(pe.Fragment,{children:[p!==0&&a.jsx(kn,{color:"grey-200",my:"s"}),a.jsx(Ap,{...v,cardTitleProps:{as:"h2",...v.cardTitleProps},cardHeaderProps:Hp(v.cardHeaderProps)})]},v.title))}),c=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"xl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),s.map(h=>a.jsxs(be,{mx:"m",mb:"l",children:[a.jsx(Uc,{as:"h2",label:h.title.label,mb:"l"}),l(h.articles),h.seeMoreLink&&a.jsx(ve,{justifyContent:"center",mt:"l",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...h.seeMoreLink})})]},h.title.label))]});return Object.keys(o).length===0?c:a.jsx(be,{...o,children:c})},MR=({layout:e,tags:t,lastEpisodes:r,timelineEvents:o,mediaSrc:s,seeAllEpisodesLink:l,currentLive:c})=>{if(!s)return null;const h=a.jsxs(a.Fragment,{children:[a.jsx(d9,{variant:"tv",timeSlot:{children:c?.time,color:"white"},mx:{xs:"m",md:"0"},mb:"xxs"}),a.jsx(Yr,{as:"h3",size:"m",fontFamily:"obviously",mx:{xs:"m",md:"0"},children:c?.title})]}),v=x=>x.length>0?a.jsxs(Ea,{mt:"xl",children:[a.jsx(Uc,{as:"h4",label:"Derniers épisodes",mb:"xl"}),x.map((w,_)=>pe.createElement(ob,{...w,cardHeaderProps:w.cardHeaderProps?{...w.cardHeaderProps,headline:{...w.cardHeaderProps.headline,color:"white"}}:void 0,cardTitleProps:{...w.cardTitleProps,size:"xxs-2",as:"h5"},key:w.link,..._!==x.length-1&&{className:"u-divider-bottom-grey-200"},..._!==0&&{pt:"s"},..._!==x.length-1&&{pb:"s"}}))]}):null,p=a.jsxs(a.Fragment,{children:[e===ge.MOBILE&&c&&h,a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mt:{xs:"xl",md:"0"}}),(r.length>0||e===ge.DESKTOP&&c||l)&&a.jsxs(ve,{direction:"column",justifyContent:"between",mx:{xs:"m",md:"0"},children:[e===ge.DESKTOP&&(c?a.jsxs("div",{children:[h,v(r)]}):v(r)),e===ge.MOBILE&&v(r),l&&a.jsx(Ea,{align:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",variant:void 0,...l,children:"Voir tous les épisodes"})})]})]});return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",color:"white",bg:"blue-dark",py:"xl",children:a.jsxs(be,{className:"o-page-wrap",children:[a.jsxs(ve,{justifyContent:"between",alignItems:"center",mx:{xs:"m",md:"0"},mb:"xl",children:[a.jsx(or,{name:"logo-tv",size:e===ge.DESKTOP?[76,49]:[46,30],color:"white"}),e===ge.DESKTOP?a.jsx("div",{children:t.slice(0,2).map((x,w)=>a.jsx(uc,{...x,variant:"quaternary",ml:w===1?"l":"0"},x.href))}):t.slice(0,1).map(x=>a.jsx(uc,{...x,variant:"quaternary"},x.href))]}),e===ge.DESKTOP?a.jsx(Ri,{colsNumber:"2-of-3",gap:"l",mb:"xxl",children:p}):p]})}),a.jsx(be,{as:"section",bg:"blue-grey",children:a.jsx(v9,{events:o,layout:e,py:{xs:"s",md:"l"},className:vo({"o-page-wrap":e===ge.DESKTOP})})})]})},LR=({avatarUrl:e,jobTitle:t,city:r,aboutMe:o,contacts:s})=>a.jsxs(a.Fragment,{children:[a.jsxs(ve,{px:{xs:"m",md:"0"},mb:{xs:"0",md:"xxl"},my:"xl",gap:{xs:"xl",md:"xxl-2"},direction:{xs:"column",md:"row"},children:[a.jsx(Ng,{img:e,variant:"big"}),(t||r)&&a.jsxs(ve,{gap:{xs:"l",md:"xxl-3"},direction:{xs:"column",md:"row"},children:[t&&a.jsxs(ve,{direction:"column",children:[a.jsx(Uc,{label:"Poste occupé"}),a.jsx(Me,{mt:"m",children:t})]}),r&&a.jsxs(ve,{direction:"column",children:[a.jsx(Uc,{label:"Localisation"}),a.jsx(Me,{mt:"m",children:r})]})]})]}),o&&a.jsx(Og,{heading:{children:"À propos de moi :"},description:o}),s&&s.length>0&&a.jsxs(be,{px:{xs:"m",md:"0"},mt:"xxl",children:[a.jsx(Yr,{size:"m",mb:{xs:"s",md:"l"},children:"Me contacter :"}),a.jsx(ve,{direction:"column",gap:{xs:"s",md:"l"},children:s.map(({media:l,link:c,label:h})=>a.jsxs(ve,{alignItems:"center",children:[a.jsx(or,{name:l,size:20,mr:"l"}),a.jsx(Yt,{href:c,size:"m",weight:"semi-bold",children:h})]},l))})]})]}),kR=({post:e,postIndex:t,postsCount:r,pageEndpoint:o,imgEndpoint:s,layout:l,disableAds:c=!1,enableAnchoring:h=!0})=>pe.createElement("section",{className:vo("js-post",{"u-anchor-link":h}),...h?{id:`post-${e.id}`}:{},key:e.id},a.jsx(bU,{...e.title}),e.content&&a.jsx(uI,{draftContent:e.content,pageEndpoint:o,imgEndpoint:s}),e.talk&&a.jsx(yU,{...e.talk,mt:"s"}),a.jsx(kn,{color:"grey-200",my:"l"}),!c&&r>=4&&t%6===3&&a.jsx(Se,{adUnitCompletePath:l===ge.MOBILE?"/49926454/20minutes_webmobile/live/inread":"/49926454/20minutes_desktop/live/inread",variant:"INREAD",mb:"s",isFullscreenMobile:!0}),!c&&r>=8&&t%6===0&&a.jsx(Se,{adUnitCompletePath:l===ge.MOBILE?"/49926454/20minutes_webmobile/live/article_mtf":"/49926454/20minutes_desktop/live/pave_article",variant:"ARTICLE",mb:"s",isFullscreenMobile:!0})),BR=({posts:e,layout:t,pageEndpoint:r,imgEndpoint:o,seeMoreLink:s,disableAds:l,enableAnchoring:c=!0,...h})=>{const{variablesForQuery:v,refreshButton:p,...x}=h;return e.length===0?null:a.jsxs(a.Fragment,{children:[a.jsx(be,{...x,"data-state":p?.state,"data-latest-post-id":p?.latestPostId,"data-brand-id":v?.brandId,"data-live-id":v?.liveId,children:e.map((w,_)=>a.jsx(kR,{post:w,postIndex:_,postsCount:e.length,layout:t,pageEndpoint:r,imgEndpoint:o,disableAds:l,enableAnchoring:c},`${w.id}-${_}`))}),s&&a.jsx(ve,{justifyContent:"center",my:"l",children:a.jsx(Tn,{color:"primary",variant:"outlined",...s})})]})},B3=({items:e,seeMoreButton:t,...r})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(be,{...r,children:e.map((o,s)=>{const{summaryProps:l,...c}=o,h=c.layout===ge.DESKTOP&&s!==e.length-1||c.layout===ge.MOBILE&&!(s===e.length-1||s===2||s===7);return a.jsxs(pe.Fragment,{children:[a.jsx(ab,{...c,summaryProps:c.layout!==ge.MOBILE?l:void 0,mx:{xs:"m",md:"0"},...h?{className:"u-divider-bottom-grey-200"}:{},...s!==0&&{pt:"s"},...s!==e.length-1&&{pb:"s"}}),s===2&&c.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),s===7&&c.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]},`${c.link}-${s}`)})}),t&&a.jsx(ve,{justifyContent:"center",mb:"m",children:a.jsx(Tn,{...t})})]}),s8=({...e})=>{const{variablesForQuery:t,...r}=e;return a.jsx(ub,{...r})},PR=({items:e,layout:t,seeMoreButton:r,...o})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(ve,{direction:"column",gap:"xxl-2",...o,children:e.map((s,l)=>a.jsxs(pe.Fragment,{children:[l===5&&t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(XH,{...s,layout:t,containerSpacing:{px:{xs:"m",lg:"0"}}})]},`${s.link}-${l}`))}),r&&a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Tn,{...r})}),t===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}),t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"BAN",mt:"xl"})]}),FR=({blocks:e,...t})=>e.length===0?null:a.jsx(be,{...t,children:e.map((r,o)=>a.jsx(rd,{mb:o<e.length-1?"xxl":"0",...r},o))}),HR=({articles:e,layout:t,totalArticles:r,currentPagePath:o,currentPage:s="1",seeMoreButton:l,...c})=>{if(e.length===0)return null;const h=a.jsx(Ri,{colsNumber:1,gap:{xs:"xxl",md:"xxl-2"},children:e.map((p,x)=>t===ge.DESKTOP?a.jsx(tU,{...p,className:vo(`card-item-${x+1}`,p.className),cardTitleProps:{as:"h2",...p.cardTitleProps},cardHeaderProps:Hp(p.cardHeaderProps)},p.title):a.jsx(c2,{layout:t,...p,className:vo(`card-item-${x+1}`,p.className),cardTitleProps:{as:"h2",...p.cardTitleProps},cardHeaderProps:Hp(p.cardHeaderProps)},p.title))}),v=a.jsxs(a.Fragment,{children:[h,l&&a.jsxs(a.Fragment,{children:[r&&o&&a.jsx("noscript",{children:a.jsx(p9,{totalArticles:r,currentPage:s,pagePath:o,archivesUrl:"https://www.20minutes.fr/archives"})}),a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Tn,{...l})})]})]});return Object.keys(c).length===0?v:a.jsx(be,{...c,children:v})},UR=({rewinds:e,layout:t,...r})=>a.jsx(Ri,{...r,colsNumber:{xs:1,sm:2,md:3,lg:4,xxl:5},gap:"xl",px:{xs:"m",md:"0"},children:e.map(o=>a.jsxs(ve,{as:Yt,href:o.link,direction:"column",alignItems:"center",gap:"l",children:[a.jsx(Eh,{src:o.cover,defaultFormat:t===ge.DESKTOP?"236x420":"439x781",isPortrait:!0}),a.jsxs(Me,{as:"span",color:"white",bg:"ultramarine",size:"xs",weight:"bold",px:"s",py:"xs",radius:"l",children:["Ma rétrospective ",o.year]})]},o.year))}),P3=({articles:e,...t})=>e&&e?.length>0?a.jsx(ve,{...t,direction:"column",children:e.map((r,o)=>a.jsx(U1,{...r,cardHeaderProps:Hp(r.cardHeaderProps),mb:o<e.length-1?"l":"0",cardImageProps:{...r.cardImageProps,lazyLoad:!0,cover:r?.cardImageProps?.cover??""}},r.title))}):null,qR=({title:e,tagList:t})=>a.jsxs(be,{className:"bg-grey-100",p:{xs:"m",md:"xl"},children:[a.jsx(Yr,{as:"h2",size:"xxs",mb:"l",children:e}),a.jsx(ve,{gap:"xs",wrap:"wrap",children:t.map(({name:r,href:o})=>a.jsx(uc,{variant:"secondary",href:o,children:r},r))})]}),zR=({slideshowStories:e})=>a.jsx(a.Fragment,{children:e.map(t=>pe.createElement(aR,{...t,key:t.title,mb:"l"}))}),VR=({widgets:e})=>e.length===0?null:a.jsx(a.Fragment,{children:e.map(t=>a.jsx(gb,{...t},t.src))}),W2=({cards:e,layout:t,...r})=>a.jsx(be,{...r,mx:{xs:"m",md:"0"},mb:{xs:"xxl",md:"xxl-3"},children:a.jsx(Ri,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:e.map(o=>a.jsx(d2,{link:o.url,title:o.name,cardImageProps:{cover:o.coverUrl},cardHeaderProps:{headline:{text:o.label,color:o.labelColor}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:o.summary},layout:t},o.url))})}),GR=({items:e,layout:t,...r})=>e.length===0?null:a.jsx(be,{py:"xxl",...r,children:a.jsx(Hu,{className:"o-page-wrap",pt:"0",layout:t,articles:e.map(o=>({...o,variant:"title-on-image",cardTitleProps:{color:"white",fontFamily:"base",pb:"s",px:"m"}})),sliderProps:{buttonsColor:"white",sliderVariant:"sport",ml:{xs:"m",md:"0"}}})}),KR=({articles:e,layout:t,tagCarouselProps:r,brandPublishingArticle:o,seeMoreButton:s,currentPage:l,currentPagePath:c,tagTotalArticles:h,isFullWidthCover:v})=>{if(e.length===0)return null;const p=w=>"cardImageProps"in w&&!("cardFrameProps"in w),x=e.slice(1).filter(p).map(w=>({...w,...w.cardImageProps&&{cardImageProps:{...w.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",bg:"grey-50",children:v?a.jsx(ZH,{...e[0],layout:t,mb:{xs:r?.items.length?"l":"0",md:"xl"}}):a.jsx(c2,{...e[0],layout:t,mb:{xs:r?.items.length?"l":"0",md:"xl"}})}),r&&r.items.length>0&&a.jsx(GR,{mb:{xs:"l",md:"xl"},...r}),a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:{xs:"0",md:"xxl"},bg:"grey-50",children:a.jsxs(ve,{id:"article-list-1",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(jl,{layout:t,articles:x,hideFirstDivider:r&&r.items.length>0&&t===ge.MOBILE,seeMoreButton:s&&{...s,disabled:!0,onClick:void 0},currentPage:l,currentPagePath:c,tagTotalArticles:h})}),t===ge.DESKTOP&&a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(P3,{...o}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})})]})},bJ=e=>Array.isArray(e.articles)&&e.articles.length>0,WR=({mostViewed:e,mostRecent:t,...r})=>{const s=[{name:"les plus vues",title:"Vidéos les + vues",source:e},{name:"les plus recentes",title:"Vidéos les + récentes",source:t}].filter(l=>bJ(l.source)).map(l=>({name:l.name,title:l.title,content:a.jsx(jl,{...l.source,hasMarginOnCard:!1})}));return s.length===0?null:a.jsx(be,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},mb:"xxs",...r,children:a.jsx(Lf,{tabTitlesColor:"white",tabItems:s})})},$R=({videos:e,layout:t})=>{const r=o=>a.jsxs(a.Fragment,{children:[a.jsx(Se,{adUnitCompletePath:`/49926454/20minutes_webmobile/tv/nfb_${o}`,variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(kn,{color:"grey-500",my:"s"})]});return a.jsx(a.Fragment,{children:e.map((o,s)=>{const l=s===e.length-1,c=s===0?"s":"0";return a.jsxs(pe.Fragment,{children:[a.jsx(ab,{...o,cardNumber:{value:s+1},mt:c,mx:{xs:"m",md:"0"}}),!l&&a.jsx(kn,{color:"grey-500",my:"s"}),t===ge.MOBILE&&s===2&&r("1"),t===ge.MOBILE&&s===7&&r("2")]},`${o.title}-${s}`)})})},YR=({layout:e,videos:t})=>a.jsx(a.Fragment,{children:t.map((r,o)=>{const s=o===t.length-1,l=o===0?"s":"0";return a.jsxs(pe.Fragment,{children:[a.jsx(t9,{...r,mt:l,mx:{xs:"m",md:"0"}}),!s&&a.jsx(kn,{color:"grey-500",my:"s"}),e===ge.MOBILE&&o===11&&a.jsxs(a.Fragment,{children:[a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(kn,{color:"grey-500",my:"s"})]})]},`${r.title}-${o}`)})}),QR=({breadcrumb:e,showsCarousel:t,frontPageArticles:r,seeMoreLink:o,layout:s})=>{const l=c=>"title"in c[0];return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:a.jsx(Un,{...e,isTransparent:!0,hasWhiteSeparators:!0,buttonsColor:"translucent"})}),a.jsx(vU,{...t,layout:s,withNavigation:s===ge.DESKTOP}),s===ge.DESKTOP&&r.length>0&&l(r)&&a.jsx(be,{as:"section",className:"o-page-wrap o-shift-carousel-top",children:a.jsx(Hu,{articles:r,layout:ge.DESKTOP,label:"A la Une",headingProps:{as:"h2",color:"white"},color:"white",seeMoreLink:{href:o,children:"Voir toutes les vidéos à la Une",buttonColor:"translucent",variant:void 0}})}),s===ge.MOBILE&&r.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(Uc,{label:"A la Une",my:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(jl,{articles:r,layout:ge.MOBILE,hideFirstDivider:!0,color:"white"}),a.jsx(ve,{justifyContent:"center",mt:"xl",color:"white",children:a.jsx(Yt,{buttonColor:"translucent",href:o,children:"Voir toutes les vidéos à la Une"})})]})]})},xJ=e=>{if(!window.lazyObservers?.defaultObserver&&!window.lazyObservers?.instantObserver){window.lazyElementsToObserve=window.lazyElementsToObserve||[],window.lazyElementsToObserve.push(e);return}const t=e.dataset?.distanceVisible;t==="700"?window.lazyObservers?.defaultObserver?.observe(e):t==="0"&&window.lazyObservers?.instantObserver?.observe(e)},K0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name]):not([data-lazy-loaded="true"])').forEach(t=>{xJ(t)})},JR=e=>{const t={click:Fd(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},r=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[r]}),window.pa.sendEvent(r,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[r]}]),window._paq.push(["sendEvent",r,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let s={};if(o)try{const l=JSON.parse(o.textContent||"");l.data_collection.context=l.data_collection.context||{},s=l.data_collection.context.page?.properties||{}}catch{s={}}window.edgee.track({name:r,properties:{...s,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},zu=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:window.PianoPageInfo?.name,page_chapter1:window.PianoPageInfo?.chapter1,page_chapter2:window.PianoPageInfo?.chapter2,page_chapter3:window.PianoPageInfo?.chapter3,page_chapter4:window.PianoPageInfo?.chapter4}]),window.edgee?.page&&e?.enableEdgee!==!1&&window.edgee.page()},Fh=({medias:e,imgEndpoint:t})=>{const r=e?.find(s=>s&&s.illustration===!0&&s.type===y2.photo&&s.photo?.node?.id);if(!r?.photo?.node?.id)return"";const o=r.photo?.node?.slug?`%format_${r.photo.node.slug}`:"%format";return`${t}/${I5(r.photo.node.id)}/${o}`},Up=({photo:e})=>e?.node?[{type:y2.photo,illustration:!0,legend:e.node.caption??null,photo:{node:{id:e.node.id,brand_id:e.node.brand_id,title:e.node.title??null,caption:e.node.caption??null,credit:e.node.credit??null,slug:e.node.slug??null}},video:null,podcast:null}]:[],$2=({medias:e,picto:t,editorialModel:r})=>{if(r===kf.Story)return{caption:{iconName:"diaporama"}};let o;if(t)switch(t){case"video":{if(r!==kf.Page){const s=e?.find(l=>l&&l?.illustration===!0&&l?.type===y2.video&&l[y2.video]?.duration)?.video?.duration;return{caption:{iconName:"video",text:s?kg(Number(s)):""}}}break}case"podcast":return{caption:{iconName:"podcast"}};default:return o}else e?.forEach(s=>{if(s?.type==="podcast"&&(o={caption:{iconName:"podcast"}}),s?.type==="video"&&s?.illustration&&r!==kf.Page){const l=s?.video?.duration?Number(s?.video?.duration):null;o={caption:{iconName:"video",text:l?kg(l):""}}}});return o},ZR=({pageEndpoint:e,imgEndpoint:t,layout:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((s,l)=>(!l?.node?.short_title||!l?.node?.medias||!l?.node?.url_current||s.push({title:l.node.short_title,cardImageProps:{cover:Fh({medias:l.node.medias,imgEndpoint:t}),caption:{iconName:"video",text:l?.node?.video?.node?.duration?.toString()?kg(parseInt(l.node.video.node.duration.toString(),10)):void 0}},link:new URL(l.node.url_current,e).href,layout:r,...r===ge.MOBILE&&{reverseCard:!0}}),s),[]),AJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery?.endCursor||null),[o,s]=pe.useState(e.defaultVariablesForQuery?.hasNextPage||!1),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTvReplaysOrExtracts&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery?.brandId,slug:e.defaultVariablesForQuery?.slug,first:8,after:t,filter:{publication_status:{eq:"published"},...e.defaultVariablesForQuery?.tagId?{tag_ids:{nin:[e.defaultVariablesForQuery.tagId]}}:{}}}))}`,options:{headers:_}}];try{const S=await bi(...D),T=ZR({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,layout:e.layout,data:S});c(C=>[...C,...T]),r(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery,e.layout]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},XR=({isSSR:e=!0,name:t,layout:r,articles:o,variablesForQuery:s,seeMoreButton:l,...c})=>{if(o.length===0)return null;const{isLoading:h,articles:v,hasNextPage:p,onLoadMore:x}=AJ({layout:r,defaultArticles:o,defaultVariablesForQuery:s});return pe.useEffect(()=>{h||K0()},[h]),a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:r,articles:v,seeMoreButton:l&&p?{...l,disabled:h,onClick:x}:void 0,...c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[`${t}TvExtractsAndReplaysContainer`]:{layout:r,articles:v,variablesForQuery:s,seeMoreButton:l,...c}})} };`}})]})},_J=(e,t,r,o)=>({name:e,title:o.title,content:t===ge.DESKTOP&&(r?a.jsx(Hu,{layout:t,articles:o.items}):a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(XR,{name:e,layout:t,articles:o.items,columnsNumber:4,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})}))||a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(XR,{name:e,layout:t,articles:o.items,hasMarginOnCard:!1,hideFirstDivider:!0,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})})}),u8=({layout:e,extracts:t,replays:r,variant:o="show",contentIsCarousel:s=!0,...l})=>{if(r.items.length===0&&t.items.length===0)return null;const c=[{name:"extraits",tab:{...t,title:t.title??"Extraits"}},{name:"replays",tab:{...r,title:r.title??"Replay"}}];o==="show"&&c.reverse();const h=c.filter(v=>v.tab.items.length>0).map(v=>_J(v.name,e,s,v.tab));return a.jsx(be,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},...l,children:a.jsx(Lf,{tabTitlesColor:"white",tabItems:h})})},eO=({showCover:e,replaysAndExtracts:t,layout:r,lastReplay:o,lastReplayTitle:s="Dernier Replay"})=>a.jsxs(a.Fragment,{children:[a.jsx(nR,{...e,layout:r}),o&&r===ge.DESKTOP&&a.jsxs(be,{as:"section",className:"o-page-wrap o-shift-carousel-top o-page__player-container",mt:"xxl",children:[a.jsx(Uc,{label:s,mb:"xxl",as:"h2",color:"white"}),a.jsx(c2,{...o,layout:ge.DESKTOP,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),o&&r===ge.MOBILE&&a.jsxs(be,{as:"section",className:"o-page__player-container",mt:"xxl",children:[a.jsx(Uc,{label:s,mb:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(Ig,{...o,layout:ge.MOBILE,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),a.jsx(u8,{...t})]}),tO=({shows:e,layout:t,seeMoreLink:r,...o})=>e.length===0?null:a.jsx(be,{bg:"blue-grey",...o,as:"section",color:"white",children:a.jsxs(be,{className:"o-page-wrap",pt:{xs:"xl",md:"xxl-2"},pb:"xxl",children:[a.jsx(Hu,{label:t===ge.MOBILE?"Nos émissions en replay":"Retrouvez l’intégralité de nos émissions en replay",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:"center",mx:{xs:"m",md:"0"}},titleUnderlined:!1,layout:t,articles:e,sliderProps:{buttonsColor:"white",sliderVariant:"videos",ml:{xs:"m",md:"0"}}}),r&&a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...r})})]})}),EJ=[{component:R9,componentName:Pg.AD_IFRAME_EXTERNAL_AD_ELEMENT,expiration:3600*24*30}],Y2=3600*24*30,wJ=[{componentName:qc.ANIMAL_QUIZ_BREADCRUMB,component:Un,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_HEADER_PAGE,component:Bo,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,component:Ra,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_META,component:En,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,component:r8,expiration:Y2}],SJ=e=>{switch(e){case"FRA":return"Nationale";case"BOR":return"Bordeaux";case"LIL":return"Lille";case"MAR":return"Marseille";case"MON":return"Montpellier";case"NAN":return"Nantes";case"NIC":return"Nice";case"PAR":return"Paris";case"REN":return"Rennes";case"STR":return"Strasbourg";case"TOU":return"Toulouse";default:return""}},CJ=e=>{const t=e.slice(0,4),r=e.slice(4,6),o=e.slice(6,8),s=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],l=parseInt(r,10)-1,c=s[l];return`${parseInt(o,10)} ${c} ${t}`},rO=({data:e})=>{const t=[];return Array.isArray(e)||e?.brand?.node?.edition?.node?.pdfs?.edges?.forEach(r=>{r?.node?.url&&r?.node?.publication_date&&t.push({href:r?.node?.url,name:`Lire le journal du ${CJ(r?.node?.publication_date)} - édition ${SJ(r.node.url.match(/[0-9]{8}_([A-Z]{3})\.pdf/)?.[1]??"")}`})}),t},nO={editionSelectorId:"archivePdfListEditionSelector",monthSelectorId:"archivePdfListMonthSelector"},TJ=({isSSR:e=!0,variablesForQuery:t,layout:r,title:o,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:h,enabled:v})=>{const[p,x]=pe.useState(h),w=pe.useCallback(async()=>{const{apiHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=document.getElementById(nO.editionSelectorId),T=document.getElementById(nO.monthSelectorId),C=[{url:`${_}/?id=getPdfsByEditionSlug&variables=${encodeURIComponent(JSON.stringify({brandId:t?.brandId,slug:S?.value,first:100,sort:"ASC",year:t?.year,month:T?.value}))}`,options:{headers:D}}];try{const O=await bi(...C),L=rO({data:O});x(L)}catch(O){console.error("20mn> Error while searching:",O)}},[t?.brandId,t?.year]);return a.jsxs(a.Fragment,{children:[a.jsx(lR,{title:o,selectorsLabel:s,editionSelector:{...l,onChange:w},monthSelector:c&&{...c,onChange:w},editions:p,layout:r,enabled:v}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({archivePdfListContainer:{title:o,layout:r,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:h,variablesForQuery:t,enabled:v}})} };`}})]})},NJ=[{component:En,componentName:ao.ARCHIVES_META,expiration:3600*24*30},{componentName:ao.ARCHIVES_BREADCRUMB,component:Un,expiration:300},{componentName:ao.ARCHIVES_PAGE_TITLE,component:Yr,expiration:300},{componentName:ao.ARCHIVES_DAYS_LIST,component:yl,expiration:300},{componentName:ao.ARCHIVES_CONTENTS,component:yl,expiration:300},{componentName:ao.ARCHIVES_YEARS_LIST,component:uR,expiration:300},{componentName:ao.ARCHIVES_MONTHS_LIST,component:cR,expiration:300},{componentName:ao.ARCHIVES_PDF_LIST,component:TJ,expiration:300}],DJ=[{componentName:xl.ARTICLE_CONTENT,component:rm,expiration:3600*24},{componentName:xl.ARTICLE_ENCLOSE,component:C3,expiration:3600*24},{componentName:xl.ARTICLE_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30},{componentName:xl.ARTICLE_JSON_LD_CLAIM_REVIEW,component:j9,expiration:3600*24*30},{componentName:xl.ARTICLE_PRELOAD,component:V1,expiration:3600*24*30},{componentName:xl.ARTICLE_HIGHLIGHTED_TEXT,component:Me,expiration:1800}],IJ=[{componentName:ka.ASTRO_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:ka.ASTRO_HEADER_PAGE,component:Bo,expiration:3600},{componentName:ka.ASTRO_HEADER_BANNER,component:i9,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_CONTENT,component:WH,expiration:3600},{componentName:ka.ASTRO_HOMEPAGE_CONTENT,component:ZD,expiration:3600},{componentName:ka.ASTRO_LINK,component:Yt,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,component:XD,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES,component:$H,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES_HEADING,component:Yr,expiration:3600*24*30},{componentName:ka.ASTRO_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:ka.ASTRO_META,component:En,expiration:3600*24*30}],Q2=e=>e?LB.find(t=>e.includes(t)):void 0,aO=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.url||!l?.node?.medias||!l?.node?.rubric?.node?.label||!(l?.node?.medias.length||l?.node?.photo?.node))return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:c,imgEndpoint:r}),...$2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model}),lazyLoad:!0},cardHeaderProps:{headline:{text:l?.node?.label||l.node.rubric.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0,as:"h3"},layout:e}),s},[]),RJ=e=>{const[t,r]=pe.useState(e.defaultArticles),o=pe.useCallback(async()=>{const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,first:e.variablesForQuery.first}))}`,options:{headers:l}}];try{const h=await bi(...c),v=aO({layout:window.layout,data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint});r(v)}catch(h){console.error("20mn> Error while loading articles:",h)}},[e.variablesForQuery.brandId,e.variablesForQuery.first,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({articles:t}),[t])},OJ=({isSSR:e=!0,articles:t,variablesForQuery:r,...o})=>{const{articles:s}=RJ({defaultArticles:t,variablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(fR,{...o,articles:s,variablesForQuery:r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestContentsCarouselContainer:{articles:t,variablesForQuery:r,...o}})} };`}})]})},J2=e=>{const t=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"});return{name:e.name,title:e.title,tabColor:e.tabColor,body:e.articleEdges.reduce((r,o)=>{if(o?.node?.title&&o?.node?.url&&o?.node?.rubric?.node?.slug&&o?.node?.rubric?.node?.label){let s;if(e.imgEndpoint){let c=o.node.medias??[];o?.node?.editorial_model==="Story"&&o?.node?.photo?.node&&(c=Up({photo:o.node.photo})),s={cover:Fh({medias:c,imgEndpoint:e.imgEndpoint}),lazyLoad:!0}}const l={themeColor:o.node.rubric.node.themeColor?.node?.lightmode_color||void 0,rubricName:o?.node?.label||o.node.rubric.node.label,title:o?.node?.short_title||o.node.title,url:new URL(o.node.url,e.pageEndpoint).href,cartridge:o.node?.editorial_model===kf.Live&&o.node?.state===E9.open?"live":void 0,...s?{cardImageProps:s}:{}};e.name==="le-direct"&&o?.node?.published_at&&(l.liveTime=t.format(new Date(o.node.published_at).getTime()).replace(":","h")),r.push(l)}return r},[]).slice(0,e.limit)}},iO=({data:e,pageEndpoint:t,liveLimit:r,mostReadLimit:o})=>{if(Array.isArray(e))return[];const s=e?.brand?.node,l=s?.mostReadArticles?.edges,c=s?.liveArticles?.edges,h=[];if(c?.length){const v=J2({name:"le-direct",title:"Le direct",pageEndpoint:t,articleEdges:c,limit:r,tabColor:"red"});h.push(v)}if(l?.length){const v=J2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,articleEdges:l,limit:o});h.push(v)}return h},jJ=e=>{const[t,r]=pe.useState(e.defaultTabItems),o=pe.useCallback(async()=>{if(e.variablesForQuery.liveLimit&&e.variablesForQuery.mostReadLimit){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLiveAndMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit}))}`,options:{headers:l}}];try{const h=await bi(...c),v=iO({data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit});r(v),L3()}catch(h){console.error("20mn> Error while loading tabItems:",h)}}},[e.variablesForQuery.brandId,e.variablesForQuery.liveLimit,e.variablesForQuery.mostReadLimit,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({tabItems:t}),[t])},MJ=({isSSR:e=!0,layout:t,tabItems:r,variablesForQuery:o,...s})=>{const{tabItems:l}=jJ({defaultTabItems:r,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(s8,{...s,layout:t,tabItems:l,variablesForQuery:o,hasButton:!0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({liveAndMostReadContainer:{layout:t,tabItems:r,variablesForQuery:o}})} };`}})]})},LJ=[{componentName:nt.COMMON_HEADER,component:UU,expiration:900},{componentName:nt.COMMON_HEADER_MINI,component:o9,expiration:900},{componentName:nt.COMMON_HEADER_SUBMENU_CARDS,component:YU,expiration:300},{componentName:nt.COMMON_FOOTER,component:x9,expiration:3600*24*7},{componentName:nt.COMMON_OVERVIEW_BAR,component:A9,expiration:900},{componentName:nt.COMMON_MOST_READ_ARTICLES,component:MJ,expiration:3600*24*7},{componentName:nt.COMMON_MENU,component:DU,expiration:3600*24*7},{componentName:nt.COMMON_PRELOAD,component:V1,expiration:3600*24*30},{componentName:nt.COMMON_LATEST_CONTENTS_CARROUSEL,component:OJ,expiration:300},{componentName:nt.COMMON_TOOLBAR,component:JU,expiration:3600*24*7},{componentName:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,component:tO,expiration:3600},{componentName:nt.COMMON_TV_MOST_BLOCK,component:WR,expiration:3600},{componentName:nt.COMMON_ELECTIONS_SEARCH_BANNER,component:rR,expiration:3600}],om=3600*24*30,kJ=[{componentName:Uu.CONTACT_JSON_LD_BREADCRUMB,component:Ra,expiration:om},{componentName:Uu.CONTACT_ADDRESSES,component:mR,expiration:om},{componentName:Uu.CONTACT_META,component:En,expiration:om},{componentName:Uu.CONTACT_FORM,component:gR,expiration:om},{componentName:Uu.CONTACT_DETAILS,component:vR,expiration:om},{componentName:Uu.CONTACT_BREADCRUMB,component:Un,expiration:om}],BJ=[{componentName:wr.CONTENT_READALSO_BANNER,component:OU,expiration:1800},{componentName:wr.CONTENT_BREADCRUMB,component:Un,expiration:300},{componentName:wr.CONTENT_HEADER,component:Q7,expiration:3600*24},{componentName:wr.CONTENT_HEADER_MOBILE,component:dR,expiration:3600*24},{componentName:wr.CONTENT_COVER,component:t8,expiration:300},{componentName:wr.CONTENT_SOCIAL_BAR,component:_p,expiration:300},{componentName:wr.CONTENT_SIGNATURE,component:jg,expiration:3600*24},{componentName:wr.CONTENT_SUMMARY,component:JD,expiration:3600*24},{componentName:wr.CONTENT_READALSO_BLOCK,component:hR,expiration:3600*24},{componentName:wr.CONTENT_TAG_BAR,component:sb,expiration:3600*24},{componentName:wr.CONTENT_COMMENT_V2,component:dU,expiration:3600*24*30},{componentName:wr.CONTENT_META,component:En,expiration:3600*24*30},{componentName:wr.CONTENT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:wr.CONTENT_SIDE_BRANDS_ARTICLES,component:P3,expiration:3600},{componentName:wr.CONTENT_HEADER_MINI,component:o9,expiration:900},{componentName:wr.CONTENT_SCROLL_PROGRESS_BUTTON,component:Tn,expiration:1800}],PJ=()=>{const e=document.getElementById("article-list-bottom-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(h=>{h.isIntersecting&&(zu(),c.unobserve(h.target))})}),r=e.querySelector(".card-item-1");r&&t.observe(r);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},FJ=()=>{const e=document.getElementById("quiz-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(h=>{h.isIntersecting&&(zu(),c.unobserve(h.target))})}),r=e.querySelector(".card-item-1");r&&t.observe(r);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},HJ=()=>{const e=document.getElementById("latest-articles-container");if(!e)return;const t=new IntersectionObserver((s,l)=>{s.forEach(c=>{c.isIntersecting&&(zu(),l.unobserve(c.target))})}),r=e.querySelectorAll(".c-card-container")[10];r&&t.observe(r);const o=e.querySelectorAll(".c-card-container")[20];o&&t.observe(o)},UJ=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"}),oO=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.published_at||!l?.node?.medias&&!l?.node?.photo?.node)return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:c,imgEndpoint:r}),...$2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},socialBarProps:{layout:e,commentCount:l.node.comments_count??0,shareCount:(l.node.facebook_count??0)+(l.node.pinterest_count??0),contentLegacyId:l.node?.legacy_id?.toString(),contentLink:new URL(l.node.url,t).href,commentAnchor:"mbrs-comments-container"},cardHeaderProps:{headline:{text:l.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)},liveTime:UJ.format(new Date(l.node.published_at).getTime()).replace(":","h")},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:l?.node?.lead??""},layout:e}),s},[]),qJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,sourceExcluded:e.defaultVariablesForQuery.sourceExcluded,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=oO({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S});c(C=>[...C,...T]),r(S?.brand?.node?.publishableContents?.pageInfo?.endCursor??null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage??!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.sourceExcluded]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{HJ()},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},sO=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,articles:c,hasNextPage:h,onLoadMore:v}=qJ({defaultArticles:r,defaultVariablesForQuery:o});return pe.useEffect(()=>{l||K0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(T3,{layout:t,articles:c,seeMoreButton:h?{...s,disabled:l,onClick:v}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestArticlesContainer:{layout:t,articles:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},zJ=({layout:e,liveInProgressProps:t,lastArticlesProps:r})=>{const o=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(sO,{...r})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(sO,{...r})})},...t.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...t})}),a.jsx("aside",{className:"o-lt-show__aside"})]}):a.jsx(O2,{...t})}]:[]];return e===ge.DESKTOP?a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,mb:"l"}):a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,tabProps:{mx:"m"},mb:"l"})},VJ=[{componentName:Hd.DIRECT_BREADCRUMB,component:Un,expiration:300},{componentName:Hd.DIRECT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Hd.DIRECT_TABS,component:zJ,expiration:300},{componentName:Hd.DIRECT_META,component:En,expiration:3600*24*30},{componentName:Hd.DIRECT_HEADER_PAGE,component:bl,expiration:3600*24*30}],GJ=({pageEndpoint:e,data:t})=>Array.isArray(t)?[]:(t?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((r,o)=>(!o?.node?.title||!o?.node?.url||r.push({title:o.node.title,url:new URL(o.node.url,e).href}),r),[]),KJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=GJ({pageEndpoint:window.envVariables.pageEndpoint,data:S}),C={articles:[...l,...T],endCursor:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(O=>[...O,...T]),r(C.endCursor),s(C.hasNextPage),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},WJ=({isSSR:e=!0,articles:t,variablesForQuery:r,seeMoreButton:o,linksSize:s,colsNumber:l})=>{const{isLoading:c,articles:h,hasNextPage:v,onLoadMore:p}=KJ({defaultArticles:t,defaultVariablesForQuery:r});return pe.useEffect(()=>{c||K0()},[c]),a.jsxs(a.Fragment,{children:[a.jsx(bb,{articles:h,seeMoreButton:v?{...o,disabled:c,onClick:p}:void 0,linksSize:s,colsNumber:l}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsAiArticlesContainer:{articles:h,variablesForQuery:r,seeMoreButton:o,linksSize:s,colsNumber:l}})} };`}})]})},$J=[{componentName:zc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_META,component:En,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_BREADCRUMB,component:Un,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,component:Bo,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_LIST,component:WJ,expiration:300}];function Z2(){if(this?.id)try{const e=document.getElementById(this.id);if(e){const t=e.getAttribute("value");if(t){const r=document.createElement("textarea");document.body.appendChild(r),r.value=t,r.select(),document.execCommand("copy"),document.body.removeChild(r)}}}catch(e){console.error("Oops, unable to copy",e)}}const YJ=()=>{const e=document.getElementById("goto-distribution"),t=document.getElementById("goto-european-map"),r=document.getElementById("goto-map"),o=document.getElementById("goto-statistics"),s=document.getElementById("goto-results");e&&e.addEventListener("click",Z2),t&&t.addEventListener("click",Z2),r&&r.addEventListener("click",Z2),o&&o.addEventListener("click",Z2),s&&s.addEventListener("click",Z2)},uO=(e,t)=>{const o=e.innerHTML.includes("candidats")?"candidats":"résultats";e.innerHTML=t?`Masquer tous les ${o}`:`Voir tous les ${o}`},QJ=(e,t)=>{e.setAttribute("aria-expanded","true"),uO(e,!0),t?.forEach(r=>{r.setAttribute("aria-hidden","false")})},JJ=(e,t)=>{t?.forEach(r=>{r.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false"),uO(e,!1)},ZJ=e=>{const t=e.currentTarget;if(e.preventDefault(),t instanceof HTMLButtonElement){const r=t.parentNode?.querySelectorAll(".js-toggle-target");t.getAttribute("aria-expanded")==="true"?JJ(t,r):QJ(t,r)}},XJ=(e=document.querySelector(".js-toggle-button"))=>{e&&document.querySelectorAll(".js-toggle-button").forEach(r=>{r.addEventListener("click",ZJ)})},eZ=e=>{const t=document.querySelector(".c-search-banner");if(!t)return;const r=t.querySelector("[data-search-banner-expanded-source]"),o=t.querySelector("[data-search-banner-collapse]");!o||!r||(e?(r.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false")):(r.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")))};let lO=!1;const tZ=()=>{if(lO)return;lO=!0;const e=document.getElementById("js-top-sentinel");if(!e)return;new IntersectionObserver(([r])=>{const o=r.isIntersecting;eZ(o)},{root:null,threshold:0}).observe(e)},cO=e=>{const t=e.querySelector(".c-search-banner");if(!(t instanceof HTMLElement))return;const r="c-search-banner--has-top-border";t.dataset.initialHasTopBorder??=String(t.classList.contains(r)),t.classList.toggle(r,t.dataset.initialHasTopBorder==="true"&&!e.classList.contains("u-sticky--on-top-screen"))},dO=(e,t,r)=>{r==="desktop"&&(t?(e.classList.remove("u-sticky"),e.classList.remove("u-sticky--under-header-mini")):(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header-mini"))),r==="mobile"&&(t?(e.classList.remove("u-sticky--under-header"),e.classList.add("u-sticky--on-top-screen")):(e.classList.remove("u-sticky--on-top-screen"),e.classList.add("u-sticky--under-header")),cO(e))},rZ=()=>{const e=document.getElementById("elections-form-container"),t=document.querySelector(".c-header-mini"),r=document.querySelector(".c-header-mobile"),o=document.querySelector('body[data-layout="mobile"]');e&&t&&new MutationObserver(l=>{const c=l[0],h=c.target;if(h instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const v=h.className.includes("c-header-mini--is-hidden");dO(e,v,"desktop")}}).observe(t,{attributes:!0}),o&&e&&r&&(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header"),cO(e),new MutationObserver(l=>{const c=l[0],h=c.target;if(h instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const v=h.className.includes("c-header-mobile--is-hidden");dO(e,v,"mobile")}}).observe(r,{attributes:!0}))},nZ=()=>{YJ(),XJ(),tZ(),rZ()},aZ=e=>{const[t,r]=pe.useState(e.defaultMapConstituenciesProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-districts.json"});r(l=>({...l,mapDistrictsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o(),L3(),nZ()},[o]),pe.useMemo(()=>({mapConstituenciesProps:t}),[t])},iZ=({isSSR:e=!0,mapConstituenciesProps:t,...r})=>{const{mapConstituenciesProps:o}=aZ({defaultMapConstituenciesProps:t}),s={electionName:"",electionYear:"",resultsPerDistrict:[],mapDistrictsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(bR,{mapConstituenciesProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsConstituenciesMapContainer:{mapConstituenciesProps:t,...r}})} };`}})]})},oZ=e=>{const[t,r]=pe.useState(e.defaultMapDepartmentsProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments.json"});r(l=>({...l,mapDepartmentsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapDepartmentsProps:t}),[t])},sZ=({isSSR:e=!0,mapDepartmentsProps:t,...r})=>{const{mapDepartmentsProps:o}=oZ({defaultMapDepartmentsProps:t}),s={electionName:"",electionYear:"",resultsPerDepartment:[],mapDepartmentsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(xR,{mapDepartmentsProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsDepartmentsMapContainer:{mapDepartmentsProps:t,...r}})} };`}})]})},uZ=e=>{const[t,r]=pe.useState(e.defaultMapEuropeProps),o=pe.useCallback(async()=>{try{const s=await Promise.all([bi({url:"https://static.20mn.fr/elections/map-eu-countries.json"}),bi({url:"https://static.20mn.fr/elections/map-non-eu-countries.json"})]);r(l=>({...l,mapEuCountriesData:s[0],mapNonEuCountriesData:s[1]}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapEuropeProps:t}),[t])},lZ=({isSSR:e=!0,mapEuropeProps:t,...r})=>{const{mapEuropeProps:o}=uZ({defaultMapEuropeProps:t}),s={electionName:"",electionYear:"",resultsPerCountry:[],mapEuCountriesData:{},mapNonEuCountriesData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(AR,{mapEuropeProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsEuropeanMapContainer:{mapEuropeProps:t,...r}})} };`}})]})},cZ=e=>{const[t,r]=pe.useState(e.defaultMapTownsByDepartmentsProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments-paths.json"}),l=await bi({url:"https://static.20mn.fr/elections/map-towns.svg",options:{headers:{"Content-Type":"image/svg+xml"}}}),c=await bi({url:"https://static.20mn.fr/elections/map-droms.json"});let h=[];try{h=await bi({url:`https://static.20mn.fr/elections/mn${e.defaultMapTownsByDepartmentsProps.electionYear}/electeds.json`})}catch(v){console.warn("20mn> Error while loading town results data:",v)}r(v=>({...v,townsSprite:l,departmentsPaths:s,dromsConfig:c,resultsPerTown:h}))}catch(s){console.error("20mn> Error while loading town map data:",s)}},[e.defaultMapTownsByDepartmentsProps.electionYear]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapTownsByDepartmentsProps:t}),[t])},dZ=({isSSR:e=!0,mapTownsByDepartmentsProps:t,...r})=>{const{mapTownsByDepartmentsProps:o}=cZ({defaultMapTownsByDepartmentsProps:t}),s={layout:t.layout,resultsPerTown:[]};return a.jsxs(a.Fragment,{children:[a.jsx(_R,{mapTownsByDepartmentsProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsMapTownsByDepartmentsContainer:{mapTownsByDepartmentsProps:t,...r}})} };`}})]})},dc=15,fZ=[{componentName:ar.ELECTIONS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:ar.ELECTIONS_JSON_LD_FAQ,component:yb,expiration:3600},{componentName:ar.ELECTIONS_META,component:En,expiration:3600},{componentName:ar.ELECTIONS_BREADCRUMB,component:Un,expiration:3600},{componentName:ar.ELECTIONS_HEADER_PAGE,component:Bo,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_FIRST_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_MULTIPLE,component:ER,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_SECOND_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_DISTRIBUTION,component:yR,expiration:dc},{componentName:ar.ELECTIONS_MAP_DEPARTMENTS,component:sZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_CONSTITUENCIES,component:iZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,component:dZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_EUROPEAN,component:lZ,expiration:dc},{componentName:ar.ELECTIONS_SUMMARY,component:SR,expiration:dc},{componentName:ar.ELECTIONS_INSEE_BLOCK,component:C3,expiration:3600*24*1},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_TOP,component:yl,expiration:3600},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,component:yl,expiration:3600},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,component:Hu,expiration:300},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,component:Hu,expiration:300},{componentName:ar.ELECTIONS_RESULTS_FILTERED,component:wR,expiration:dc},{componentName:ar.ELECTIONS_REFRESH_BUTTON,component:k9,expiration:3600}],hZ=[{componentName:q1.ERROR_CONTENT,component:hU,expiration:3600*24*30},{componentName:q1.ERROR_META,component:En,expiration:3600*24*30}],l8=3600*24*30,pZ=[{componentName:Ch.EXT_TEFAL_BREADCRUMB,component:Un,expiration:l8},{componentName:Ch.EXT_TEFAL_HEADER_PAGE,component:Bo,expiration:l8},{componentName:Ch.EXT_TEFAL_META,component:En,expiration:l8}],Vu=3600*24*30,mZ=[{componentName:Vn.GAME_BREADCRUMB,component:Un,expiration:Vu},{componentName:Vn.GAME_HEADER_PAGE,component:n8,expiration:Vu},{componentName:Vn.GAME_META,component:En,expiration:Vu},{componentName:Vn.GAME_JSON_LD_BREADCRUMB,component:Ra,expiration:Vu},{componentName:Vn.GAME_JSON_LD_FAQ,component:yb,expiration:Vu},{componentName:Vn.GAME_IFRAME,component:P5,expiration:Vu},{componentName:Vn.GAME_FAQ,component:rI,expiration:Vu},{componentName:Vn.GAME_CONTENT,component:be,expiration:Vu},{componentName:Vn.GAME_CONTACT,component:nI,expiration:Vu},{componentName:Vn.GAME_LIST,component:i8,expiration:Vu},{componentName:Vn.GAME_APP_FOOTER,component:x9,expiration:Vu},{componentName:Vn.GAME_APP_HEADER_PAGE,component:n8,expiration:Vu},{componentName:Vn.GAME_APP_LIST,component:i8,expiration:Vu},{componentName:Vn.GAME_APP_IFRAME,component:P5,expiration:Vu},{componentName:Vn.GAME_APP_AD,component:O9,expiration:Vu}],fO=e=>e instanceof HTMLAnchorElement?e.href:e instanceof Element&&e.closest("a")?.href||"",vZ=()=>{window.datalayerInfo?.pageName==="home"&&document.querySelectorAll("div#local-news-container div.c-card-container a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const r=fO(t.target);JR({name:"local_news_content",type:"action",customProps:{cta_context:"home",cta_type:"card",cta_destination:r,cta_engagement:1}}),window.location.href=r})})},gZ=()=>{!window.datalayerInfo?.pageName||!["article","live"].includes(window.datalayerInfo?.pageName)||document.querySelectorAll("div.c-tabpanel article a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const r=fO(t.target);JR({name:"most_read_content",type:"action",customProps:{cta_context:"content",cta_type:"link",cta_destination:r,cta_engagement:1},chapter1:"widget"}),window.location.href=r})})},c8=e=>e!=null,hO=()=>[{title:"Ain",value:"ain"},{title:"Aisne",value:"aisne"},{title:"Allier",value:"allier"},{title:"Alpes-de-Haute-Provence",value:"alpes_de_haute_provence"},{title:"Alpes-Maritimes",value:"alpes-maritimes"},{title:"Ardèche",value:"ardeche"},{title:"Ardennes",value:"ardennes"},{title:"Ariège",value:"ariege"},{title:"Aube",value:"aube"},{title:"Aude",value:"aude"},{title:"Aveyron",value:"aveyron"},{title:"Bas-Rhin",value:"bas_rhin"},{title:"Bouches-du-Rhône",value:"bouches-rhone"},{title:"Calvados",value:"calvados"},{title:"Cantal",value:"cantal"},{title:"Charente",value:"charente"},{title:"Charente-Maritime",value:"charente-maritime"},{title:"Cher",value:"cher"},{title:"Correze",value:"correze"},{title:"Corse-du-Sud",value:"corse-sud"},{title:"Côte-d'Or",value:"cote_d_or"},{title:"Côtes-d'Armor",value:"cotes_d_armor"},{title:"Creuse",value:"creuse"},{title:"Deux-Sèvres",value:"deux-sevres"},{title:"Dordogne",value:"dordogne"},{title:"Doubs",value:"doubs"},{title:"Drôme",value:"drome"},{title:"Essonne",value:"essonne"},{title:"Eure",value:"eure"},{title:"Eure-et-Loir",value:"eure_et_loire"},{title:"Finistère",value:"finistere"},{title:"Gard",value:"gard"},{title:"Gers",value:"gers"},{title:"Gironde",value:"gironde"},{title:"Guadeloupe",value:"guadeloupe"},{title:"Guyane",value:"guyane"},{title:"Haut-Rhin",value:"haut-rhin"},{title:"Haute-Corse",value:"haute-corse"},{title:"Haute-Garonne",value:"haute-garonne"},{title:"Haute-Loire",value:"haute-loire"},{title:"Haute-Marne",value:"haute-marne"},{title:"Haute-Saône",value:"haute-saone"},{title:"Haute-Vienne",value:"haute-vienne"},{title:"Hautes-Alpes",value:"hautes-alpes"},{title:"Hautes-Pyrénées",value:"hautes_pyrenees"},{title:"Hauts-de-Seine",value:"hauts-de-seine"},{title:"Hérault",value:"herault"},{title:"Ille-et-Vilaine",value:"ille_et_vilaine"},{title:"Indre",value:"indre"},{title:"Indre-et-Loire",value:"indre-loire"},{title:"Isère",value:"isere"},{title:"Jura",value:"jura"},{title:"Landes",value:"landes"},{title:"Loir-et-Cher",value:"loir-cher"},{title:"Loire",value:"loire"},{title:"Loire-Atlantique",value:"loire-atlantique"},{title:"Loiret",value:"loiret"},{title:"Lot",value:"lot"},{title:"Lot-et-Garonne",value:"lot_et_garonne"},{title:"Lozère",value:"lozere"},{title:"Maine-et-Loire",value:"maine-et-loire"},{title:"Manche",value:"manche"},{title:"Marne",value:"marne"},{title:"Martinique",value:"martinique"},{title:"Mayenne",value:"mayenne"},{title:"Mayotte",value:"mayotte"},{title:"Meurthe-et-Moselle",value:"meurthe-et-moselle"},{title:"Meuse",value:"meuse"},{title:"Morbihan",value:"morbihan"},{title:"Moselle",value:"moselle"},{title:"Nièvre",value:"nievre"},{title:"Nord",value:"nord"},{title:"Oise",value:"oise"},{title:"Orne",value:"orne"},{title:"Paris",value:"paris"},{title:"Pas-de-Calais",value:"pas-de-calais"},{title:"Puy de Dôme",value:"puy-dome"},{title:"Pyrénées-Atlantiques",value:"pyrenees-atlantiques"},{title:"Pyrénées-Orientales",value:"pyrenees_orientales"},{title:"Rhône",value:"rhone"},{title:"Saône-et-Loire",value:"saone_et_loire"},{title:"Sarthe",value:"sarthe"},{title:"Savoie",value:"savoie"},{title:"Seine-et-Marne",value:"seine-et-marne"},{title:"Seine-Maritime",value:"seine_maritime-1"},{title:"Seine-Saint-Denis",value:"seine-saint-denis"},{title:"Somme",value:"somme"},{title:"Tarn",value:"tarn"},{title:"Tarn-et-Garonne",value:"tarn_et_garonne"},{title:"Territoire de Belfort",value:"territoire-belfort"},{title:"Val-d'Oise",value:"val_d_oise"},{title:"Val-de-Marne",value:"val-de-marne"},{title:"Var",value:"var"},{title:"Vaucluse",value:"vaucluse"},{title:"Vendée",value:"vendee"},{title:"Vienne",value:"vienne-france"},{title:"Vosges",value:"vosges"},{title:"Yonne",value:"yonne"},{title:"Yvelines",value:"yvelines"}],pO=e=>{let t;return e?.forEach(r=>{const o=hO().find(s=>s.value===r?.node?.slug);o&&(t=o)}),t?t.title:""},mO=({data:e,pageEndpoint:t,layout:r})=>(e?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((o,s)=>{if(s?.node?.rubric?.node?.label&&s?.node?.title&&s?.node?.url&&s?.node?.tags?.edges){const l=s.node.tags.edges.filter(c8);o.push({link:new URL(s.node.url,t).href,title:lq(s?.node?.short_title||s.node.title),cardHeaderProps:{headline:{text:s?.node?.label||s.node.rubric.node.label},location:pO(l)},socialBarProps:{layout:r,commentCount:s.node?.comments_count??0,shareCount:(s.node?.facebook_count??0)+(s.node?.pinterest_count??0),contentLegacyId:s.node?.legacy_id?.toString()}})}return o},[]),yZ=e=>{const[t,r]=pe.useState(e.defaultArticles),[o,s]=pe.useState(!1),[l,c]=pe.useState("locales"),[h,v]=pe.useState(e.defaultSeeMoreLink.href),p=pe.useCallback(w=>{c(w.target.value),s(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getHomeLocalNews&variables=${encodeURIComponent(JSON.stringify({...e.variablesForQuery,slug:l}))}`,options:{headers:_}}];try{const S=await bi(...D),T=mO({data:S,pageEndpoint:window.envVariables.pageEndpoint,layout:window.layout});v(new URL(S?.brand?.node?.tag?.node?.url_current??"",window.envVariables.pageEndpoint).href),r(T)}catch(S){console.error("20mn> Error while loading articles:",S)}},[e.variablesForQuery,l]);return pe.useEffect(()=>{o&&x()},[o,x]),pe.useEffect(()=>{o&&s(!1),vZ()},[o]),pe.useMemo(()=>({isLoading:o,articles:t,tagUrl:h,onDepartmentChange:p}),[t,o,h,p])},bZ=({isSSR:e=!0,articles:t,variablesForQuery:r,seeMoreLink:o,selectProps:s,...l})=>{const{isLoading:c,articles:h,tagUrl:v,onDepartmentChange:p}=yZ({defaultArticles:t,defaultSeeMoreLink:o,variablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(RR,{...l,articles:h,variablesForQuery:r,seeMoreLink:{href:v},selectProps:{...s,disabled:c,onChange:p}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({localNewsContainer:{articles:h,variablesForQuery:r,selectProps:s,seeMoreLink:o,...l}})} };`}})]})},$a=15,xZ=[{componentName:Ir.HOME_META,component:En,expiration:3600*24*30},{componentName:Ir.HOME_ARTICLES_LIST_TOP,component:IR,expiration:$a},{componentName:Ir.HOME_FEATURED_TAG,component:rd,expiration:$a},{componentName:Ir.HOME_SECOND_ARTICLES_LIST_MOBILE,component:jl,expiration:$a},{componentName:Ir.HOME_ARTICLES_LIST_BOTTOM,component:NR,expiration:$a},{componentName:Ir.HOME_MOST_READ_ASIDE,component:ub,expiration:$a},{componentName:Ir.HOME_THIRD_ARTICLES_LIST_MOBILE,component:jl,expiration:$a},{componentName:Ir.HOME_LOCAL_NEWS,component:bZ,expiration:$a},{componentName:Ir.HOME_TV_BLOCK,component:MR,expiration:$a},{componentName:Ir.HOME_GAMES_CAROUSEL,component:DR,expiration:$a},{componentName:Ir.HOME_CURRENT_VIDEOS,component:K2,expiration:$a},{componentName:Ir.HOME_ENTERTAINMENT,component:K2,expiration:$a},{componentName:Ir.HOME_SPORT,component:K2,expiration:$a},{componentName:Ir.HOME_IN_PICTURES,component:K2,expiration:$a},{componentName:Ir.HOME_TEMPO,component:rd,expiration:$a},{componentName:Ir.HOME_ANIMALS,component:rd,expiration:$a},{componentName:Ir.HOME_HIGH_TECH,component:rd,expiration:$a},{componentName:Ir.HOME_PLANET,component:rd,expiration:$a},{componentName:Ir.HOME_PROFESSIONAL_LIFE,component:rd,expiration:$a},{componentName:Ir.HOME_CONSO,component:rd,expiration:$a},{componentName:Ir.HOME_PODCASTS,component:rd,expiration:$a},{componentName:Ir.HOME_PURCHASE_GUIDE,component:rd,expiration:$a},{componentName:Ir.HOME_DISCOVER_NOW,component:rd,expiration:$a},{componentName:Ir.HOME_CITY_BY_CITY,component:TR,expiration:$a},{componentName:Ir.HOME_PARTNERS,component:jR,expiration:$a},{componentName:Ir.HOME_MOVIES,component:o8,expiration:$a},{componentName:Ir.HOME_TV_PROGRAM,component:o8,expiration:$a},{componentName:Ir.HOME_MUNICIPAL_BLOCK,component:OR,expiration:$a}],nd=3600*24*7,AZ=[{componentName:wa.JOBS_JSON_LD_BREADCRUMB,component:Ra,expiration:nd},{componentName:wa.JOBS_META,component:En,expiration:nd},{componentName:wa.JOBS_BREADCRUMB,component:Un,expiration:nd},{componentName:wa.JOBS_HEADER_PAGE,component:Bo,expiration:nd},{componentName:wa.JOBS_COVER,component:kd,expiration:nd},{componentName:wa.JOBS_CARDS_LIST,component:jl,expiration:nd},{componentName:wa.JOBS_BUSINESS_SECTORS_LIST,component:yl,expiration:nd},{componentName:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,component:Hu,expiration:nd},{componentName:wa.JOBS_RELATED_JOBS_CATEGORY,component:Hu,expiration:nd},{componentName:wa.JOBS_PROPERTIES,component:oI,expiration:nd},{componentName:wa.JOBS_ENCLOSE_BANNER,component:C3,expiration:nd},{componentName:wa.JOBS_FAQ,component:k5,expiration:nd}],vO=({pageEndpoint:e,imgEndpoint:t,data:r,layout:o})=>Array.isArray(r)?[]:(r?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.medias&&!l?.node?.photo?.node)return s;const c=l?.node?.editorial_model===kf.Story;let h=l.node.medias?l.node.medias.filter(c8):[];return c&&l?.node?.photo?.node&&(h=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,e).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:h,imgEndpoint:t}),...$2({medias:h,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},cardHeaderProps:{headline:{text:l.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:l.node.published_at||""}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:o,disableComment:c?!1:!l.node.enable_comments,variant:"card",contentLink:new URL(l.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:l.node.comments_count??0,shareCount:l.node.facebook_count??0,contentLegacyId:l.node?.legacy_id?.toString()}}),s},[]),_Z=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getUserBackArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,userBackId:e.defaultVariablesForQuery.userBackId,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=vO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S,layout:window.layout});c(C=>[...C,...T]),r(S?.brand?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.userBackId]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},EZ=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:h,heading:v})=>{if(r.length===0)return null;const{isLoading:p,articles:x,hasNextPage:w,onLoadMore:_}=_Z({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{p||K0()},[p]);const D=x.map(S=>({...S,...S.cardImageProps&&{cardImageProps:{...S.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:D,seeMoreButton:w?{...s,disabled:p,onClick:_}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:h,heading:v}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({journalistArticleListContainer:{layout:t,articles:D,variablesForQuery:o,seeMoreButton:s,heading:v}})} };`}})]})},X2=3600*24,wZ=[{componentName:lc.JOURNALIST_JSON_LD_BREADCRUMB,component:Ra,expiration:X2},{componentName:lc.JOURNALIST_META,component:En,expiration:X2},{componentName:lc.JOURNALIST_BREADCRUMB,component:Un,expiration:X2},{componentName:lc.JOURNALIST_HEADER_PAGE,component:Bo,expiration:X2},{componentName:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,component:LR,expiration:X2},{componentName:lc.JOURNALIST_ARTICLES,component:EZ,expiration:300}],ev=3600*24*30,SZ=[{componentName:Vc.LA21E_BREADCRUMB,component:Un,expiration:ev},{componentName:Vc.LA21E_HEADER_PAGE,component:Bo,expiration:ev},{componentName:Vc.LA21E_JSON_LD_BREADCRUMB,component:Ra,expiration:ev},{componentName:Vc.LA21E_META,component:En,expiration:ev},{componentName:Vc.LA21E_CARDS_LIST,component:W2,expiration:ev}],d8=e=>{const t=[];return e.legalNotices.forEach(r=>{const o=r?.node;t.push({link:o?.external_id?new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href:"",title:o?.title??void 0,location:o?.legalNoticeDepartment?.node?.name||"",summaryProps:{children:o?.publishing_date?`Publié le ${fb(new Date(o.publishing_date),!1)}`:hb(new Date(Date.now()).toLocaleString())},cardTitleProps:{...o?.external_id?{as:"a",href:new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href,className:"opacity-hover"}:{}}})}),t},f8=e=>e!=null,CZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.legalNotices),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNoticesFromDept&variables=${encodeURIComponent(JSON.stringify({slug:e.defaultVariablesForQuery.slug,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(f8)??[],C=d8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(O=>[...O,...C]),r(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,legalNotices:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},TZ=({isSSR:e=!0,variablesForQuery:t,legalNotices:r})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=CZ({legalNotices:r,defaultVariablesForQuery:t});return pe.useEffect(()=>{o||K0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(N3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeDepartmentContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},NZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.legalNotices),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNotices&variables=${encodeURIComponent(JSON.stringify({first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(f8)??[],C=d8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(O=>[...O,...C]),r(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,legalNotices:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},DZ=({isSSR:e=!0,variablesForQuery:t,legalNotices:r})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=NZ({legalNotices:r,defaultVariablesForQuery:t});return pe.useEffect(()=>{o||K0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(N3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeHomeContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},sm=3600*24,IZ=[{componentName:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,component:Ra,expiration:sm},{componentName:la.LEGAL_NOTICE_META,component:En,expiration:sm},{componentName:la.LEGAL_NOTICE_BREADCRUMB,component:Un,expiration:sm},{componentName:la.LEGAL_NOTICE_HEADER_PAGE,component:Bo,expiration:sm},{componentName:la.LEGAL_NOTICE_FAQ,component:qg,expiration:sm},{componentName:la.LEGAL_NOTICE_DEPARTMENTS_LIST,component:yl,expiration:3600},{componentName:la.LEGAL_NOTICE_REGIONS_LIST,component:yl,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST,component:DZ,expiration:3600},{componentName:la.LEGAL_NOTICE_CONTENT,component:sI,expiration:sm},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,component:N3,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,component:TZ,expiration:3600}],RZ=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),r=e.getCurrentUserStatus(),o=r?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(s=>{const l=s.querySelector(".cmp-placeholder"),c=s.querySelector(".embed-wrapper");if(!(!(l instanceof Element)||!(c instanceof Element))){if(!(o&&(r?.vendors[s.getAttribute("data-vendor")||""]?.enabled??!0))){l.classList.remove("u-hidden"),c.classList.add("u-hidden");return}l.classList.add("u-hidden"),c.classList.remove("u-hidden"),c.querySelectorAll("[data-src]").forEach(h=>{const v=h.getAttribute("data-src");v&&(h.setAttribute("src",v),h.removeAttribute("data-src"))})}})})},OZ=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],gO=()=>{OZ.forEach(e=>{const t=`#dfp_${e}`,o=[...document.querySelectorAll(t)].filter(l=>l instanceof HTMLElement);for(let l=0;l<=20;l+=1){const c=document.getElementById(`dfp_${e}_${l}`);c&&o.push(c)}let s=0;o.forEach(l=>{s===0?l.id=`dfp_${e}`:l.id=`dfp_${e}_${s}`,s+=1})})},jZ=e=>{switch(e){case Sh.default:case Sh.important:case Sh.community:case Sh.faq:case Sh.bold:return e;case Sh.very_important:return"crucial";default:return"default"}},yO=(e,t)=>Array.isArray(e)?[]:(e?.brand?.node?.live?.node?.livePosts?.edges||[])?.reduce((r,o)=>{if(!o)return r;let s=o?.node?.content_md?.blocks;if(s){const h=[...s],v=h?.slice(-1);v?.[0]?.text===""&&v?.[0]?.type==="unstyled"&&(h.pop(),s=h)}let l;o?.node?.comment?.node&&(l={question:o.node.comment.node.content||"",author:o.node.comment.node.userFront?.node?.username||"",response:s?.[0]?.text});const c=o.node?.legacy_id;return c&&r.push({cursor:o?.cursor||null,id:c,title:{status:jZ(o?.node?.type),header:o?.node?.printed_hour||"",title:o?.node?.title||"",img:o?.node?.livePostLabel?.node&&t?{name:o.node.livePostLabel.node.slug||"",src:o.node.livePostLabel.node.logo?`${t}/${o.node.livePostLabel.node.logo}`:""}:void 0},content:l?void 0:{entityMap:{},...o?.node?.content_md,blocks:s??[]},talk:l}),r},[]),MZ=e=>{if(e.some(({content:r})=>Object.values(r?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&s?.embedProps?.meta?.site==="idalgo"&&s?.embedProps?.meta?.type==="widget"))){if(window?.iDalgoLoader){window.iDalgoLoader.init();return}N9({name:"widget_live-posts",src:"https://20minutes.idalgo-hosting.com/partners/i/cache/datasport/cache/page/r_js_jlu_url.php",load:"async"})}},bO=e=>{const t=e.filter(({content:r})=>Object.values(r?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)));t.length&&t.forEach(({content:r})=>{Object.values(r?.entityMap||{}).forEach(({type:o,data:s})=>{if(o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)){const{js:l=[],css:c=[]}=s?.embedProps||{};l.length&&l.forEach((h,v)=>{N9({name:`embed_live-posts-${v}`,src:h,load:"async"})}),c.length&&c.forEach(h=>{const v=document.createElement("link");v.type="text/css",v.rel="stylesheet",v.href=h,document.head.appendChild(v)})}})})},F3=()=>{const{hash:e}=new URL(window.location.href),t=e.match(/#post-(\d+)/);return t?Number(t[1]):null},xO=async({first:e,after:t,filter:r,brandId:o,liveId:s})=>{const{apiHost:l}=document.body.dataset,c=new Headers;window.envVariables?.apiAuthKey&&c.append("auth-key",window.envVariables.apiAuthKey);const h=[{url:`${l}/?id=getLivePosts&variables=${encodeURIComponent(JSON.stringify({brandId:o,liveId:s,first:e,after:t,filter:r}))}`,options:{headers:c}}],v=await bi(...h),p=yO(v,document.body.dataset.staticHost),x=v?.brand?.node?.live?.node?.livePosts?.pageInfo??null;return{nextPosts:p,pageInfo:x}},AO=async({batchSize:e,after:t,filter:r,brandId:o,liveId:s,accumulatedPosts:l,anchorPostId:c})=>{const{nextPosts:h,pageInfo:v}=await xO({first:100,after:t,filter:r,brandId:o,liveId:s}),p=[...l,...h],x=v?.endCursor??null,w=v?.hasNextPage??!1,_=p.findIndex(D=>D.id===c);if(_!==-1){const S=Math.ceil((_+1)/e)*e,T=S>p.length?p[p.length-1].cursor:p[S-1].cursor,C=p.length>S?!0:w;return{nextPosts:p.slice(0,S),pageInfo:{endCursor:T,hasNextPage:C}}}return w&&x?AO({batchSize:e,after:t,filter:r,brandId:o,liveId:s,accumulatedPosts:p,anchorPostId:c}):{nextPosts:[],pageInfo:v}},LZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultPosts),[h,v]=pe.useState(!1),[p,x]=pe.useState(!1),w=pe.useCallback(()=>{v(!0)},[]),_=pe.useCallback(async()=>{const D=F3(),S=e.defaultVariablesForQuery.first,{filter:T,brandId:C,liveId:O}=e.defaultVariablesForQuery;try{if(D&&!p&&T?.type?.eq!==Sh.very_important){const{nextPosts:L}=await AO({batchSize:S,after:t,filter:T,brandId:C,liveId:O,accumulatedPosts:[],anchorPostId:D});c(P=>[...P,...L]),x(!!D),bO(L)}else{const{nextPosts:L,pageInfo:P}=await xO({first:S,after:t,filter:T,brandId:C,liveId:O});r(P?.endCursor??null),s(P?.hasNextPage??!1),c(z=>[...z,...L]),bO(L)}zu()}catch(L){console.error("20mn> Error while loading posts:",L)}},[t,p,e.defaultVariablesForQuery]);return pe.useEffect(()=>{F3()&&!document.getElementById(`post-${F3()}`)&&v(!0)},[]),pe.useEffect(()=>{document.querySelector(`#tabpanel-le-direct #post-${F3()}`)?.scrollIntoView({behavior:"smooth",block:"start"})},[]),pe.useEffect(()=>{h&&_(),MZ(l),gO(),RZ()},[h,_,l]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{gO()},[]),pe.useMemo(()=>({isLoading:h,posts:l,hasNextPage:o,onLoadMore:w}),[h,l,o,w])},h8=({isSSR:e=!0,posts:t,variablesForQuery:r,seeMoreLink:o,staticHydrationDataName:s="livePostsContainer",disableAds:l,...c})=>{const{isLoading:h,posts:v,hasNextPage:p,onLoadMore:x}=LZ({defaultPosts:t,defaultVariablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(BR,{...c,posts:v,variablesForQuery:r,disableAds:l,seeMoreLink:p?{...o,disabled:h,onClick:x}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[s]:{posts:uq(v),variablesForQuery:r,seeMoreLink:o,disableAds:l,...c}})} };`}})]})},kZ=[{componentName:fu.LIVE_INDICATOR,component:U5,expiration:300},{componentName:fu.LIVE_TOP_CONTENT,component:rm,expiration:3600*24},{componentName:fu.LIVE_POSTS_THREAD,component:h8,expiration:60},{componentName:fu.LIVE_IMPORTANT_POSTS_THREAD,component:h8,expiration:60},{componentName:fu.LIVE_JSON_LD_LIVE_BLOG_POSTING,component:M9,expiration:300},{componentName:fu.LIVE_QUESTION,component:gU,expiration:3600*24},{componentName:fu.LIVE_PRELOAD,component:V1,expiration:3600*24*30}],tv=3600*24*30,BZ=[{componentName:Gc.MOBILE_APPS_BREADCRUMB,component:Un,expiration:tv},{componentName:Gc.MOBILE_APPS_HEADER_PAGE,component:Bo,expiration:tv},{componentName:Gc.MOBILE_APPS_JSON_LD_BREADCRUMB,component:Ra,expiration:tv},{componentName:Gc.MOBILE_APPS_META,component:En,expiration:tv},{componentName:Gc.MOBILE_APPS_CARDS_LIST,component:W2,expiration:tv}],PZ=15,p8=3600*24*30,FZ=[{componentName:R0.MOST_COMMENTED_HEADER_PAGE,component:bl,expiration:p8},{componentName:R0.MOST_COMMENTED_BREADCRUMB,component:Un,expiration:p8},{componentName:R0.MOST_COMMENTED_ARTICLES,component:B3,expiration:PZ},{componentName:R0.MOST_COMMENTED_META,component:En,expiration:p8}],_O=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o,lastNumber:s=0})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((l,c,h)=>{if(!c?.node?.title||!c?.node?.label||!c?.node?.url||!c?.node?.published_at||!c?.node?.medias&&!c?.node?.photo?.node)return l;let v=c.node.medias??[];return c?.node?.editorial_model==="Story"&&c?.node?.photo?.node&&(v=Up({photo:c.node.photo})),l.push({link:new URL(c.node.url,t).href,title:c.node.title,cardImageProps:{cover:Fh({medias:v,imgEndpoint:r})},cardHeaderProps:{headline:{text:c.node.label}},cardTitleProps:{cartridge:c?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:c?.node?.lead??""},layout:e,cardNumber:{value:s+h+1,size:"medium"},viewCount:c?.node?.total_current_visits||0}),l},[]),HZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[o,s]=pe.useState(e.defaultItems),[l,c]=pe.useState(!1),h=pe.useCallback(()=>{c(!0)},[]),v=pe.useCallback(async()=>{const{apiHost:p}=document.body.dataset,x=new Headers;window.envVariables?.apiAuthKey&&x.append("auth-key",window.envVariables.apiAuthKey);const w=[{url:`${p}/?id=getMostReadContents&variables=${encodeURIComponent(JSON.stringify({first:e.defaultVariablesForQuery.first,brandId:e.defaultVariablesForQuery.brandId,excludeModel:e.defaultVariablesForQuery.excludeModel,after:e.defaultVariablesForQuery.endCursor}))}`,options:{headers:x}}];try{const _=await bi(...w),D=_O({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:_,lastNumber:e.defaultVariablesForQuery.first});s(S=>[...S,...D||[]]),r(!1),zu()}catch(_){console.error("20mn> Error while loading contents:",_)}},[e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.endCursor,e.defaultVariablesForQuery.excludeModel,e.defaultVariablesForQuery.first]);return pe.useEffect(()=>{l&&v()},[l,v]),pe.useEffect(()=>{l&&c(!1)},[l]),pe.useMemo(()=>({isLoading:l,items:o,hasNextPage:t,onLoadMore:h}),[l,o,t,h])},UZ=({isSSR:e=!0,items:t,variablesForQuery:r,seeMoreButton:o})=>{const{isLoading:s,items:l,hasNextPage:c,onLoadMore:h}=HZ({defaultItems:t,defaultVariablesForQuery:r});return pe.useEffect(()=>{s||K0()},[s]),a.jsxs(a.Fragment,{children:[a.jsx(B3,{items:l,seeMoreButton:c?{...o,disabled:s,onClick:h}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mainMostReadContainer:{items:l,variablesForQuery:r,seeMoreButton:o}})} };`}})]})},qZ=15,m8=3600*24*30,zZ=[{componentName:O0.MOST_READ_HEADER_PAGE,component:bl,expiration:m8},{componentName:O0.MOST_READ_BREADCRUMB,component:Un,expiration:m8},{componentName:O0.MOST_READ_ARTICLES,component:UZ,expiration:qZ},{componentName:O0.MOST_READ_META,component:En,expiration:m8}],VZ=15,v8=3600*24*30,GZ=[{componentName:M0.MOST_SHARED_HEADER_PAGE,component:bl,expiration:v8},{componentName:M0.MOST_SHARED_BREADCRUMB,component:Un,expiration:v8},{componentName:M0.MOST_SHARED_ARTICLES,component:B3,expiration:VZ},{componentName:M0.MOST_SHARED_META,component:En,expiration:v8}],EO=(e,t)=>Array.isArray(e)?[]:e?.movies?.edges?.map(r=>{const o=r?.node,s=o?.movieCastings?.edges?.find(l=>l?.node?.position==="Réalisateur");return{link:o?.article_url||"#",title:o?.title_fr||"",cardImageProps:{cover:(o?.movieMedias?.edges?.length??0)>0?`${t}/movies/posters/${o?.movieMedias?.edges?.[0]?.node?.src?.replace("-%format","")??""}`:""},summary:o?.summary_short||"",castings:o?.movieCastings?.edges?.filter(l=>l?.node?.type==="cast").map(l=>`${l?.node?.firstname} ${l?.node?.lastname}`)??[],genres:o?.genres?.filter(l=>l!==null)||[],directedBy:s?`${s?.node?.firstname} ${s?.node?.lastname}`:void 0,releaseDate:o?.release_date?fb(new Date(o.release_date)):"",seeMoreLink:{children:"Voir la fiche du film",href:o?.article_url||"#"}}})||[],KZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultMovies),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getMoviesData&variables=${encodeURIComponent(JSON.stringify({status:e.defaultVariablesForQuery.status,cursor:t,orderField:w9.EXPECTATION_LEVEL,orderDirection:S9.DESC}))}`,options:{headers:_}}];try{const S=await bi(...D),{staticHost:T}=document.body.dataset,C=EO(S,T);c(O=>[...O,...C||[]]),r(S?.movies?.pageInfo?.endCursor??null),s(S?.movies?.pageInfo?.hasNextPage??!1),zu()}catch(S){console.error("20mn> Error while loading posts:",S)}},[t,e.defaultVariablesForQuery.status]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,items:l,hasNextPage:o,onLoadMore:p}),[h,l,o,p])},WZ=({isSSR:e=!0,layout:t,items:r,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,items:c,hasNextPage:h,onLoadMore:v}=KZ({defaultMovies:r,defaultVariablesForQuery:o});return pe.useEffect(()=>{l||K0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(PR,{layout:t,items:c,seeMoreButton:h?{...s,disabled:l,onClick:v}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({moviesListContainer:{layout:t,items:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},H3=3600*24,$Z=[{componentName:Al.MOVIES_HEADER_PAGE,component:bl,expiration:H3},{componentName:Al.MOVIES_BREADCRUMB,component:Un,expiration:H3},{componentName:Al.MOVIES_LIST,component:WZ,expiration:3600*24},{componentName:Al.MOVIES_NAVIGATION,component:lI,expiration:H3},{componentName:Al.MOVIES_META,component:En,expiration:H3},{componentName:Al.MOVIES_MOST_READ_ASIDE,component:ub,expiration:300}],YZ=[{componentName:Kc.NEWS_BREADCRUMB,component:Un,expiration:3600},{componentName:Kc.NEWS_HEADER_PAGE,component:Bo,expiration:3600},{componentName:Kc.NEWS_ARTICLES_BY_TAGS,component:FR,expiration:1800},{componentName:Kc.NEWS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Kc.NEWS_META,component:En,expiration:3600*24*30}],wO=["actu-generale","justice","economie","auto","emploi","faits_divers","france","politique","sante","societe","monde","locales","nantes","toulouse","strasbourg","lyon","bordeaux","lille","marseille","montpellier","nice","paris","rennes","elections-municipales","production","publicommunique","magazine"],g8=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,hasSummary:s=!1,layout:l})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((c,h)=>{if(!h?.node?.title||!h?.node?.label||!h?.node?.url||!h?.node?.medias&&!h?.node?.photo?.node)return c;const v=h?.node?.editorial_model===kf.ExternalContent,p=h?.node?.editorial_model===kf.Story;let x=h.node.medias?h.node.medias.filter(c8):[];p&&h?.node?.photo?.node&&(x=Up({photo:h.node.photo}));const w=h?.node?.editorial_model===kf.Article&&!wO.includes(h?.node?.rubric?.node?.slug||"");return c.push({layout:l,link:new URL(h.node.url,e).href,title:h.node.short_title||h.node.title,cardImageProps:{cover:Fh({medias:x,imgEndpoint:t}),...$2({medias:x,picto:h?.node?.picto,editorialModel:h?.node.editorial_model})},cardHeaderProps:{headline:{text:h.node.label,color:Q2(h?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:h.node.published_at||""}},cardTitleProps:{cartridge:h?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:l,disableComment:p?!1:!h.node.enable_comments,variant:"card",contentLink:new URL(h.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:h.node.comments_count??0,shareCount:h.node.facebook_count??0,contentId:h.node?.id?.toString(),contentLegacyId:v?void 0:h.node?.legacy_id?.toString(),contentModel:h?.node?.editorial_model||void 0,...w&&{reactionCount:C9(h.node.reactions_count),reactListItems:T9(h.node.reactions_count)}},...s&&{summaryProps:{children:h.node.lead}},...v&&r&&h?.node?.contentSource?.node?.name&&h?.node?.contentSource?.node?.logo&&h?.node?.contentSource?.node?.url&&{cardFooterProps:{avatarUrl:new URL(h.node.contentSource.node.logo,r).href,text:h.node.contentSource.node.name,externalLink:h.node.contentSource.node.url}}}),c},[]),SO=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,layout:s})=>g8({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,hasSummary:!0,layout:s}).map(c=>(delete c.socialBarProps,{...c,linkProps:{children:"Je participe","aria-label":"Je participe au quiz",href:c.link}})),QZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=SO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),O={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),r(O.endCursor),s(O.hasNextPage),zu()}catch(T){console.error("20mn> Error while loading articles:",T)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{FJ()},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},JZ=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,totalArticles:c})=>{const{isLoading:h,articles:v,hasNextPage:p,onLoadMore:x}=QZ({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{h||K0()},[h]);const w=v.map(_=>({..._,..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(HR,{layout:t,articles:w,seeMoreButton:p?{...s,disabled:h,onClick:x}:void 0,currentPagePath:l,totalArticles:c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({quizContainer:{layout:t,articles:w,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},ZZ=[{componentName:Fg.QUIZ_ARTICLES_LIST,component:JZ,expiration:3600}],XZ=[{componentName:k0.REWIND_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:k0.REWIND_LIST,component:UR,expiration:3600*24*30},{componentName:k0.REWIND_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:k0.REWIND_META,component:En,expiration:3600*24*30}],CO=({data:e,pageEndpoint:t,imgEndpoint:r,rubricSlug:o,rubricLabel:s})=>{if(Array.isArray(e))return[];const l=[],c=e?.brand?.node,h=c?.commonArticles?.edges,v=c?.rubricArticles?.edges;if(h?.length){const p=J2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,imgEndpoint:r,articleEdges:h,limit:5});l.push(p)}if(v?.length){const p=J2({name:`plus-lus-${o}`,title:`Les + lus ${s}`,pageEndpoint:t,imgEndpoint:r,articleEdges:v,limit:5});l.push(p)}return l},eX=e=>{const[t,r]=pe.useState(e.defaultTabItems),o=pe.useCallback(async()=>{if(e.variablesForQuery.rubric){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,rubricId:e.variablesForQuery.rubric.id}))}`,options:{headers:l}}];try{const h=await bi(...c),v=CO({data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,rubricSlug:e.variablesForQuery.rubric.slug,rubricLabel:e.variablesForQuery.rubric.label});r(v),L3()}catch(h){console.error("20mn> Error while loading tabItems:",h)}}},[e.variablesForQuery.brandId,e.variablesForQuery.rubric,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o(),gZ()},[o]),pe.useMemo(()=>({tabItems:t}),[t])},tX=({isSSR:e=!0,layout:t,tabItems:r,variablesForQuery:o,...s})=>{const{tabItems:l}=eX({defaultTabItems:r,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(s8,{layout:t,tabItems:l,variablesForQuery:o,...s}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mostReadContainer:{layout:t,tabItems:r,variablesForQuery:o,...s}})} };`}})]})},rX=[{componentName:_l.RUBRIC_RUBRIC_CAROUSELS,component:r8,expiration:300},{componentName:_l.RUBRIC_MOST_READ_ARTICLES,component:tX,expiration:1800},{componentName:_l.RUBRIC_THREE_COLUMNS_ARTICLES,component:lb,expiration:1800}],nX=[{componentName:B0.SEARCH_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:B0.SEARCH_HEADER_PAGE,component:Bo,expiration:3600},{componentName:B0.SEARCH_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:B0.SEARCH_META,component:En,expiration:3600*24*30}],rv=3600*24*30,aX=[{componentName:Wc.SERVICE_BREADCRUMB,component:Un,expiration:rv},{componentName:Wc.SERVICE_HEADER_PAGE,component:Bo,expiration:rv},{componentName:Wc.SERVICE_JSON_LD_BREADCRUMB,component:Ra,expiration:rv},{componentName:Wc.SERVICE_META,component:En,expiration:rv},{componentName:Wc.SERVICE_CARDS_LIST,component:W2,expiration:rv}],nv=3600*24*30,iX=[{componentName:$c.SHOPPING_GUIDE_BREADCRUMB,component:Un,expiration:nv},{componentName:$c.SHOPPING_GUIDE_HEADER_PAGE,component:Bo,expiration:nv},{componentName:$c.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,component:Ra,expiration:nv},{componentName:$c.SHOPPING_GUIDE_META,component:En,expiration:nv},{componentName:$c.SHOPPING_GUIDE_CARDS_LIST,component:W2,expiration:nv}],oX=[{componentName:El.SITEMAP_BREADCRUMB,component:Un,expiration:300},{componentName:El.SITEMAP_HEADER_PAGE,component:bl,expiration:300},{componentName:El.SITEMAP_TAGS_LIST,component:qR,expiration:300},{componentName:El.SITEMAP_BOTTOM_BULLETED_LIST,component:pR,expiration:300},{componentName:El.SITEMAP_TOP_BULLETED_LIST,component:yl,expiration:300},{componentName:El.SITEMAP_META,component:En,expiration:300}],sX=[{componentName:Hg.SLIDESHOW_CONTENT,component:zR,expiration:3600*24}],uX=[{componentName:wl.SPORT_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:wl.SPORT_HEADER_PAGE,component:Bo,expiration:3600},{componentName:wl.SPORT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:wl.SPORT_SIDEBAR,component:VR,expiration:3600},{componentName:wl.SPORT_CONTENT,component:be,expiration:3600},{componentName:wl.SPORT_META,component:En,expiration:3600*24*30}],lX=[{componentName:z1.STATIC_CONTENT,component:iR,expiration:3600*24*30},{componentName:z1.STATIC_META,component:En,expiration:300}],cX=[{componentName:Th.STORY_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30},{componentName:Th.STORY_PRELOAD,component:V1,expiration:3600*24*30},{componentName:Th.STORY_TOP_CONTENT,component:rm,expiration:3600*24*30}],dX=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=g8({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),O={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),r(O.endCursor),s(O.hasNextPage),window?.localStorage.setItem("aticles-container-data",JSON.stringify(O)),zu()}catch(T){console.error("20mn> Error while loading articles:",T)}finally{v(!1)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{if(PJ(),!window?.performance?.getEntriesByType("navigation").map(_=>_.type).includes("back_forward"))window?.localStorage.removeItem("aticles-container-data");else{const _=iq("aticles-container-data");_&&Object.hasOwn(_,"articles")&&Object.hasOwn(_,"endCursor")&&Object.hasOwn(_,"hasNextPage")&&(c(_.articles),r(_.endCursor),s(_.hasNextPage),zu())}},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},fX=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:h})=>{const{isLoading:v,articles:p,hasNextPage:x,onLoadMore:w}=dX({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{v||K0()},[v]);const _=p.map(D=>({...D,...D.cardImageProps&&{cardImageProps:{...D.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:_,isLoading:v,skeletonCount:o.first,seeMoreButton:x?{...s,disabled:v,onClick:w}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:h}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:{layout:t,articles:_,variablesForQuery:o,seeMoreButton:s,skeletonCount:o.first}})} };`}})]})},hX=[{componentName:Ka.TAG_BREADCRUMB,component:Un,expiration:3600},{componentName:Ka.TAG_HEADER_PAGE,component:Bo,expiration:3600},{componentName:Ka.TAG_OVERVIEW_BAR,component:A9,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_TOP,component:KR,expiration:3600},{componentName:Ka.TAG_NEWS_CAROUSEL,component:Hu,expiration:3600},{componentName:Ka.TAG_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:Ka.TAG_META,component:En,expiration:3600*24},{componentName:Ka.TAG_PRELOAD,component:V1,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_BOTTOM,component:fX,expiration:3600},{componentName:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,component:P3,expiration:1800}],pX=[{componentName:P0.TRAFFIC_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:P0.TRAFFIC_HEADER_PAGE,component:Bo,expiration:3600},{componentName:P0.TRAFFIC_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:P0.TRAFFIC_META,component:En,expiration:3600*24*30}],mX=[{componentName:Nh.TV_HOME_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:Nh.TV_HOME_META,component:En,expiration:3600*24},{componentName:Nh.TV_HOME_TOP_BLOCK,component:QR,expiration:3600}],vX=[{componentName:Yc.TV_LIVE_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24},{componentName:Yc.TV_LIVE_META,component:En,expiration:3600*24},{componentName:Yc.TV_LIVE_BREADCRUMB,component:Un,expiration:3600*24},{componentName:Yc.TV_LIVE_TOP_BLOCK,component:oR,expiration:60},{componentName:Yc.TV_LIVE_TIMELINE,component:v9,expiration:30}],gX=15,y8=3600*24*30,yX=[{componentName:j0.TV_MOST_RECENT_HEADER_PAGE,component:bl,expiration:y8},{componentName:j0.TV_MOST_RECENT_BREADCRUMB,component:Un,expiration:y8},{componentName:j0.TV_MOST_RECENT_VIDEOS_LIST,component:YR,expiration:gX},{componentName:j0.TV_MOST_RECENT_META,component:En,expiration:y8}],bX=15,b8=3600*24*30,xX=[{componentName:L0.TV_MOST_VIEWED_HEADER_PAGE,component:bl,expiration:b8},{componentName:L0.TV_MOST_VIEWED_BREADCRUMB,component:Un,expiration:b8},{componentName:L0.TV_MOST_VIEWED_VIDEOS_LIST,component:$R,expiration:bX},{componentName:L0.TV_MOST_VIEWED_META,component:En,expiration:b8}],AX=[{componentName:F0.TV_SHOW_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24},{componentName:F0.TV_SHOW_META,component:En,expiration:3600*24},{componentName:F0.TV_SHOW_MAIN_BLOCK,component:eO,expiration:3600},{componentName:F0.TV_SHOW_BREADCRUMB,component:Un,expiration:3600*24}],_X=[{componentName:H0.TV_SHOWS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:H0.TV_SHOWS_META,component:En,expiration:3600*24*30},{componentName:H0.TV_SHOWS_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:H0.TV_SHOWS_PROGRAMS,component:iI,expiration:3600*24*30}],EX=[{componentName:ko.TV_VIDEO_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:ko.TV_VIDEO_META,component:En,expiration:3600*24},{componentName:ko.TV_VIDEO_BREADCRUMB,component:Un,expiration:3600},{componentName:ko.TV_VIDEO_PAGE_TITLE,component:Yr,expiration:3600},{componentName:ko.TV_VIDEO_TOP_BLOCK,component:sR,expiration:3600},{componentName:ko.TV_VIDEO_MOST_VIDEOS,component:KU,expiration:3600},{componentName:ko.TV_VIDEO_BACKGROUND_IMAGE,component:M5,expiration:3600*24*30},{componentName:ko.TV_VIDEO_EXTRACTS_AND_REPLAYS,component:u8,expiration:3600},{componentName:ko.TV_VIDEO_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30}],wX=[{componentName:U0.UTIQ_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:U0.UTIQ_HEADER_PAGE,component:Bo,expiration:3600},{componentName:U0.UTIQ_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:U0.UTIQ_META,component:En,expiration:3600*24*30}],SX=[{componentName:q0.WEATHER_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:q0.WEATHER_HEADER_PAGE,component:Bo,expiration:3600},{componentName:q0.WEATHER_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:q0.WEATHER_META,component:En,expiration:3600*24*30}],CX=[{componentName:Dh.WHY_CREATE_ACCOUNT_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:Dh.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Dh.WHY_CREATE_ACCOUNT_META,component:En,expiration:3600*24*30}],TX=[...EJ,...wJ,...NJ,...DJ,...LJ,...kJ,...BJ,...VJ,...$J,...fZ,...hZ,...pZ,...mZ,...xZ,...IJ,...AZ,...wZ,...SZ,...IZ,...kZ,...BZ,...FZ,...zZ,...GZ,...$Z,...YZ,...ZZ,...XZ,...rX,...nX,...aX,...iX,...oX,...sX,...uX,...lX,...cX,...hX,...pX,...mX,...vX,...yX,...xX,...AX,..._X,...EX,...wX,...SX,...CX],Gu=["publicommunique","production","magazine"];class x8{constructor({layout:t,config:r,adsEnabled:o=!0}){this.config=r,this.layout=t,this.adsEnabled=o}renderAd(t){return this.adsEnabled?this.config[this.layout][t]??null:null}}const av=({layout:e,stylesheets:t=[],defaultPreload:r,preload:o,inlineCss:s,firstPartyScripts:l,thirdPartiesConfig:c,gtmNoScript:h,jsonLdBreadcrumb:v,jsonLdFaq:p,jsonLdClaimReview:x,jsonLdLiveBlogPosting:w,jsonLdNewsArticle:_,meta:D,children:S,envVariables:T,novaHost:C,brandId:O,goomHost:L,imgHost:P,staticHost:z,pageMetaData:U,customPrint:W,backgroundPageColor:Q,hasTopSentinel:ie,partnerLayoutContract:te})=>{const J=t?.filter(X=>X.isCritical),V=t?.filter(X=>!X.isCritical);return a.jsxs("html",{lang:"fr",children:[a.jsxs("head",{children:[a.jsx("meta",{charSet:"UTF-8"}),a.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),r,o,J?.map(({name:X,url:se})=>a.jsx("link",{rel:"preload",href:se,type:"text/css",as:"style"},X)),D,a.jsx("link",{rel:"icon",type:"image/x-icon",href:`${T?.pageEndpoint||""}/favicons/favicon.ico`}),a.jsx("link",{rel:"icon",type:"image/svg+xml",sizes:"any",href:`${T?.pageEndpoint||""}/favicons/favicon.svg`}),v,p,x,w,_,J?.map(({name:X,url:se})=>a.jsx("link",{rel:"stylesheet",href:se,type:"text/css"},X)),s&&a.jsx("style",{children:s}),te&&a.jsx(Sl,{comment:pq}),a.jsx(L9,{firstPartyScripts:l,thirdPartiesConfig:c,envVariables:T,layout:e,partnerLayoutContract:te}),l?.adsScript&&a.jsx("script",{src:l.adsScript}),l?.scriptSchedulerScript&&a.jsx("script",{async:!0,src:l.scriptSchedulerScript})]}),a.jsxs("body",{"data-api-host":C??"","data-brand-id":O??"","data-http-taskrunner-api-host":L??"","data-img-host":P??"","data-static-host":z??"","data-layout":e,"data-refresh-interval":U?.refreshAuto,"data-custom-print":W,className:vo("bg-color",{[`bg-color--is-${Q}`]:Q}),children:[ie&&a.jsx("div",{id:"js-top-sentinel",style:{position:"absolute",top:e===ge.DESKTOP?150:0,height:"1px",width:"1px"}}),h&&a.jsx("noscript",{dangerouslySetInnerHTML:{__html:h}}),S,a.jsx("script",{src:l?.reactAndReactDomScript}),l?.cmpScript&&a.jsxs(a.Fragment,{children:[te&&a.jsx(Sl,{comment:Sq}),a.jsx("script",{defer:!0,src:l.cmpScript}),te&&a.jsx(Sl,{comment:Cq})]}),l?.pianoScript&&a.jsxs(a.Fragment,{children:[te&&a.jsx(Sl,{comment:Tq}),a.jsx("script",{defer:!0,src:l.pianoScript}),te&&a.jsx(Sl,{comment:Nq})]}),l?.edgeeScript&&a.jsx("script",{defer:!0,src:l.edgeeScript}),l?.mainTyrScript&&a.jsx("script",{defer:!0,src:l.mainTyrScript}),l?.memberScript&&a.jsx("script",{defer:!0,src:l.memberScript}),l?.iframeConsentScript&&a.jsx("script",{defer:!0,src:l.iframeConsentScript}),V.length>0&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.addEventListener('DOMContentLoaded', () => {${V.map(({name:X,url:se})=>`const link = document.createElement('link');link.id = '${X}';link.type = 'text/css';link.rel = 'stylesheet';link.media = 'screen,print';link.href = '${se}';document.body.appendChild(link);`).join("")}});`}})]})]})},Wr=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,chatbot:s,overviewBar:l,adTopPage:c,children:h,footer:v,toolbar:p,backgroundPageColor:x,hasArch:w=!0,hasTopSentinel:_,enableScrollToFeed:D=!1,enableScrollToTopComment:S=!1,mainProps:T})=>a.jsxs(av,{...e,backgroundPageColor:x,hasTopSentinel:_,children:[e.partnerLayoutContract&&a.jsx(Sl,{comment:bq}),t,e.layout===ge.DESKTOP&&r,e.partnerLayoutContract&&a.jsx(Sl,{comment:xq}),e.partnerLayoutContract&&a.jsx(Sl,{comment:Aq}),o,e.partnerLayoutContract&&a.jsx(Sl,{comment:_q}),s,l,a.jsxs("main",{id:"page-wrap",className:"o-page",...T,children:[c,h,w&&e.layout===ge.DESKTOP&&a.jsx("div",{id:"arch-wrapper",className:"o-page__arch"})]}),a.jsx("div",{id:"c-alert-info"}),a.jsx("div",{id:"cookie-banner"}),e.layout===ge.MOBILE&&p,D&&a.jsx("scroll2feed",{"data-zone_index":"9"}),S&&a.jsx("section",{className:"c-scroll-to-top-comment u-hidden",children:a.jsx("div",{className:"o-page-wrap",children:a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main u-relative",children:a.jsx(Bu,{color:"tertiary",iconProps:{name:"chevron-up",size:16},"aria-label":"Remonter en haut des commentaires",title:"Remonter en haut des commentaires"})}),a.jsx("aside",{className:"o-lt-show__aside "})]})})}),e.partnerLayoutContract&&a.jsx(Sl,{comment:Eq}),v,e.partnerLayoutContract&&a.jsx(Sl,{comment:wq}),a.jsx(n9,{reactListItems:mb()})]});var U3=(e=>(e.DEFAULT="default",e.FULL_WIDTH_COVER="fullWidthCover",e))(U3||{});const q3=({htmlTemplateProps:e,adsPageConfig:t,header:r,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:h,readAlsoBanner:v,breadcrumb:p,liveIndicator:x,contentHeader:w,contentHeaderMobile:_,cover:D,socialBar:S,signature:T,summary:C,topContent:O,readAlsoBlockAbove:L,children:P,readAlsoBlockBelow:z,tagBar:U,comment:W,mostReadArticles:Q,sideBrandsArticles:ie,scrollProgressBar:te,scrollProgressButton:J,latestContentsCarousel:V,rubricCarousels:X,partnerCards:se,templating:ce={enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0},templateVariant:Ee="default"})=>{const Re=new x8({layout:e.layout,config:t,adsEnabled:ce.enableAds}),Ue=["guide-achat","publicommunique","production"].includes(e.firstPartyScripts.datalayerInfo?.subType??""),{pageKey:Ce,pageName:He,enableSponsoredContents:je}=e?.firstPartyScripts?.datalayerInfo??{};let Be;He&&[cn.ARTICLE,cn.STORY,cn.LIVE].includes(He)&&(Be=Ce);const Ae=je??ce.enableSponsoredContents;return a.jsxs(Wr,{htmlTemplateProps:e,adTopPage:(e.layout===ge.DESKTOP||!Ue&&ce.enableHeaderAd)&&Re.renderAd("topPage"),header:r,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:h,enableScrollToTopComment:!0,children:[e.layout===ge.DESKTOP?a.jsxs(be,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50","data-content-id":Be,children:[p,x,w,Ee==="fullWidthCover"&&D,a.jsxs(ve,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[Ee==="default"&&D,a.jsxs(ve,{mb:"s",gap:"xl",className:"o-paper",children:[a.jsx(ve,{as:"aside",justifyContent:"center",alignItems:"start",mt:"xxs-2",className:"o-paper__aside",children:S}),a.jsxs(be,{as:"article",className:"o-paper__content",children:[a.jsxs("header",{className:"js-content-header",children:[T,C,ce.enableFavorite&&a.jsx("div",{style:{height:"4rem"},id:"favorite-engage"}),ce.enableAudio&&a.jsx(be,{mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),a.jsx("div",{className:"smalk-ads"}),O,L]}),a.jsx(be,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-header-mini"}),P,a.jsxs("footer",{children:[z,U,v]})]})]}),Ae&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix",style:{width:"100%",height:"203.125rem"}})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[Ee==="default"&&a.jsx("div",{id:"most-read-container",children:Q}),Re.renderAd("aboveSponsoredContent"),a.jsxs("div",{className:"o-lt-show__stickywrap",children:[Ae&&a.jsx("div",{id:"taboola-aside-thumbnails",className:"taboola","data-mode":"thumbnails-rr","data-placement":"Right Rail Thumbnails","data-target-type":"mix"}),!Ue&&Re.renderAd("belowSponsoredContent"),ce.enableBlockLinks&&ie]})]})]}),!Ue&&Re.renderAd("banMiddle"),a.jsxs(ve,{as:"section",gap:"xl",mb:"xxl-2",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:W&&a.jsx("div",{id:"commentAnchor",children:W})}),a.jsx("aside",{className:"o-lt-show__aside",children:!Ue&&Re.renderAd("stickyAside")})]}),a.jsxs(be,{as:"section",mb:"xxl-2",children:[a.jsx("section",{id:"latest-contents-carousel-container",children:V}),X]}),a.jsx(be,{mb:"xxl-2",children:se}),!Ue&&Re.renderAd("banBottom")]}):a.jsxs("section",{id:"page-content","data-content-id":Be,children:[a.jsxs("header",{className:"js-content-header",children:[p,x,_,Re.renderAd("aboveSummary"),C,ce.enableAudio&&a.jsx(be,{px:"m",mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),ce.enableFavorite&&a.jsx(be,{mx:"m",style:{height:"4rem"},id:"favorite-engage"}),a.jsx("div",{className:"smalk-ads"}),O,L]}),a.jsxs("article",{children:[a.jsx(be,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-top-screen"}),J,P]}),a.jsxs("footer",{children:[v,Ae&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix"}),U,z]}),ce.enableScrollToFeed&&a.jsx("scroll2feed",{"data-zone_index":"9"}),a.jsx("div",{id:"most-read-container",children:Q}),!Ue&&Re.renderAd("belowSponsoredContent"),a.jsxs(be,{mt:"xl",mb:"l",ml:{xs:"m",md:"0"},children:[a.jsx("div",{id:"latest-contents-carousel-container",children:V}),X]}),a.jsx(be,{mb:"xxl-2",children:se}),Re.renderAd("belowFooter"),te,S]}),a.jsx(PU,{}),a.jsx(n9,{reactListItems:mb()})]})},TO=({adHtml:e,htmlTemplateProps:t})=>a.jsx(av,{layout:ge.MOBILE,firstPartyScripts:{scriptSchedulerScript:t?.firstPartyScripts?.scriptSchedulerScript,iframeConsentScript:t?.firstPartyScripts?.iframeConsentScript},thirdPartiesConfig:{veryHighPriority:[t?.thirdPartiesConfig?.veryHighPriority?.find(r=>Fd(r.name)==="didomi-sdk")]},stylesheets:t?.stylesheets,defaultPreload:!0,children:a.jsx("div",{className:"c-ad-container",children:e})}),NX=["celebrites","cinema","nourriture","sport","gaming"],NO="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),DO=[{value:"chat",label:"Chat"},{value:"chien",label:"Chien"},{value:"autres",label:"Autres (lapin, rongeur, cheval, poisson…)"}],IO=[{value:"femelle",label:"Femelle"},{value:"male",label:"Mâle"}],RO=[{value:"celebrites",label:"Célébrités",icon:"star-outlined",color:"sport",size:30},{value:"cinema",label:"Cinéma",icon:"cinema",color:"entertainment",size:30},{value:"nourriture",label:"Nourriture",icon:"nourriture",color:"tempo",size:30},{value:"sport",label:"Sport",icon:"sport",color:"sport",size:30},{value:"gaming",label:"Gaming",icon:"gaming",color:"gaming",size:30},{value:"random",label:"Aléatoire",icon:"random",color:"default",size:34}],OO=RO.filter(e=>e.value==="random"||NX.some(t=>t===e.value)),DX=DO[0].value,IX=IO[0].value,RX=NO[0],OX=OO[0]?.value??RO[0].value,jO=()=>a.jsxs(ve,{mx:{xs:"m",md:"0"},my:"m",as:"form",direction:"column",gap:"xl",id:"animal-questionnaire",onSubmit:e=>e.preventDefault(),children:[a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"Animal"}),a.jsx(ve,{direction:"row",wrap:"wrap",gap:"xxl",role:"radiogroup","aria-label":"Animal",children:DO.map(e=>a.jsx(K7,{id:`animal-${e.value}`,name:"animal",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===DX},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"Genre"}),a.jsx(ve,{direction:"row",gap:"xxl",role:"radiogroup","aria-label":"Genre",children:IO.map(e=>a.jsx(K7,{id:`genre-${e.value}`,name:"genre",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===IX},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"1ère lettre du prénom"}),a.jsx(Hc,{id:"letter",name:"letter",placeholder:"Choisissez une lettre",defaultValue:RX,options:NO.map(e=>({value:e,title:e}))})]}),a.jsxs("div",{children:[a.jsx(no,{size:{xs:"m",md:"xl"},isUppercase:!1,children:"Thématiques"}),a.jsx(Me,{mb:"l",size:{xs:"m",md:"l"},children:"En choisissant une thématique, vous donnez à votre compagnon un prénom qui lui ressemble vraiment."}),a.jsx(Ri,{colsNumber:{xs:3,sm:4,md:7},gap:"l",role:"radiogroup","aria-label":"Thématiques",children:OO.map(e=>a.jsx(g2,{className:"basis-100@xs",isSquare:!0,iconProps:{name:e.icon,size:e.size},inputProps:{type:"radio",name:"theme",value:e.value,defaultChecked:e.value===OX,bg:"grey-200",color:"grey-400",selectedBg:e.color,selectedColor:"white"},children:e.label},e.value))})]}),a.jsxs(ve,{gap:"m",wrap:"wrap",justifyContent:"center",children:[a.jsx(Tn,{type:"button",color:"green",variant:"outlined",id:"animal-questionnaire-reset",children:"Réinitialiser mes choix"}),a.jsx(Tn,{type:"button",color:"green",id:"animal-questionnaire-submit",children:"Voir les prénoms"})]}),a.jsx(Ri,{colsNumber:{xs:1,md:3},gap:"l",mt:"m",id:"animal-questionnaire-results","aria-live":"polite"})]}),MO=({breadcrumb:e,headerPage:t,summary:r,htmlTemplateProps:o,header:s,headerMini:l,overviewBar:c,menu:h,chatbot:v,footer:p,rubricCarousels:x})=>a.jsx(Wr,{htmlTemplateProps:o,adTopPage:o.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:s,headerMini:l,overviewBar:c,menu:h,chatbot:v,footer:p,children:o.layout===ge.DESKTOP?a.jsxs(be,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(ve,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(ve,{mb:"s",gap:"xl",className:"o-paper",children:a.jsx(be,{as:"article",className:"o-paper__content",children:a.jsx(jO,{})})})}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),a.jsx(be,{my:"m",children:x}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("section",{id:"page-content",children:[a.jsxs("header",{className:"js-content-header",children:[e,t,r]}),a.jsx("article",{children:a.jsx(jO,{})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(be,{my:"m",ml:"m",children:x}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),LO=({header:e,headerMini:t,overviewBar:r,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:h,pageTitle:v,archivesByDay:p,archivesOfDay:x,mostReadArticles:w,archivePdfList:_})=>a.jsx(Wr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:r,footer:o,toolbar:s,adTopPage:c.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[h,c.layout===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[v,x,p,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"ARTICLE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",mb:"xxl",bg:"grey-50",children:[v,x,p,a.jsx(be,{id:"archive-pdf-list-container",mx:"m",children:_})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})}),kO=({header:e,headerMini:t,overviewBar:r,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:h,pageTitle:v,yearsList:p,monthsList:x,mostReadArticles:w,archivePdfList:_})=>{const D=a.jsx(Yr,{as:"h2",size:{xs:"m",md:"s"},mb:"xl",mx:{xs:"m",md:"0"},children:"Archives par année"});return a.jsx(Wr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:r,footer:o,toolbar:s,adTopPage:c.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[h,c.layout===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[v,D,p,x,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",mb:"xxl",bg:"grey-50",children:[v,D,p,x,a.jsx(be,{id:"archive-pdf-list-container",mx:{xs:"m",md:"0"},children:_})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})})},BO=({isPubstackAndVideo:e,contentSubtype:t})=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/article/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/article/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Se,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Se,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_btf",variant:"BAN"})},mobile:{topPage:e?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad_display",variant:"HEADER"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_btf":"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_atf":"/49926454/20minutes_webmobile/article/article_atf",variant:"ARTICLE",mb:"l"})}}),qp=e=>e?e?.props?.dangerouslySetInnerHTML?.__html.replace(/<!--(.|\s)*?-->/gm,"").replace(/\n/gm,"")==="":!0,PO=["sport","societe","monde","faits-divers","economie","sante"],jX=["production","publicommunique","magazine"],iv=e=>{const t=Ki(e);return t.querySelectorAll('[src*="www.ultimedia.com"], [data-src*="www.ultimedia.com"]').length>0||t.querySelectorAll('[src*="www.youtube.com"], [data-src*="www.youtube.com"]').length>0||t.querySelectorAll('[src*="www.dailymotion.com"], [data-src*="www.dailymotion.com"]').length>0||t.querySelectorAll('[src*="www.brut.media"], [data-src*="www.brut.media"]').length>0};class um{constructor({data:t,layout:r,templateActivators:o}){const s={enableDisplayOnHeaderAd:!1,enableAudio:!1,enableSponsoredContents:!0,enableNewsletter:!1};this.data=t,this.layout=r,this.templateActivators={...s,...o}}resolve(){return this.resolveTemplating(),{content:this.transformContent(),templateActivators:this.templateActivators}}}const MX=["23057135412","23057517469"],LX=["publicommunique","production"],kX=["production","guide-achat","publicommunique"],BX=["guide-achat","publicommunique","production"],FO=[{name:"vie-pro",id:"WI_cm2m31ija00010rnp6ws1d6vn"},{name:"sciences",id:"WI_cm4x1rl8b00030sqmmhlv0zia"}],z3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class ov extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableDisplayOnHeaderAd:!0,enableInArticleAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!0,enablePodcast:!0,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0}})}transformContent(){let t=this.data.articleContent;return this.templateActivators.enableInArticleAds&&(t=this.layout===ge.DESKTOP?this.insertInreadDesktop(t):this.insertInreadMobile(t)),this.templateActivators.enablePodcast&&(t=ov.insertHeadliner(t,this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.breadcrumb||[""])),t=ov.transformContentVideos(t,this.layout),{...this.data,articleContent:t,media:ov.transformCover(this.data.cover)}}resolveTemplating(){const{articleContent:t,cover:r,htmlTemplateProps:o}=this.data,s=o.firstPartyScripts.datalayerInfo?.subType||"",l=o.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],c=o.firstPartyScripts.datalayerInfo?.breadcrumb||[""],h=!MX.some(x=>l.includes(x)),v=iv(w2(Wa(r))),p=iv(w2(Wa(t)))||v;this.templateActivators={...this.templateActivators,enableAds:h,enableDisplayOnHeaderAd:h&&p,enableHeaderAd:h&&!v,enableInArticleAds:h&&(s?!kX.includes(s):!0),enableSponsoredContents:h&&!LX?.includes(s),enableBlockLinks:!BX?.includes(s),enableNewsletter:PO.includes(Fd(c[0]))||!!c[1]&&PO.includes(Fd(c[1])),enablePodcast:c.some(x=>FO.some(w=>w.name===Fd(x))),enableScrollToFeed:this.layout===ge.MOBILE,enableFavorite:!jX.includes(s)}}injectInArticleAd({isInread:t,html:r,paragraph:o}){if(t&&!iv(r.toString())){const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?z3.in_read_desktop:z3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?z3.pave_article:z3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}insertInreadMobile(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}static insertHeadliner(t,r){const o=Ki(Vf(hu(t))),s=o.innerHTML.replace(/(<([^>]+)>)/gi,""),l=o.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(l.length>=7&&s.length>1200){const c=r.map(x=>Fd(x)),h=FO.find(x=>c.includes(x.name))?.id||"",v=Wa(pe.createElement("div",{className:"disco-widget","data-widget-id":h})),p=Wa(pe.createElement("script",{src:"https://disco.headliner.link/d/20minutes/web/js/widget.js",defer:!0}));l[5].insertAdjacentHTML("afterend",p),l[5].insertAdjacentHTML("afterend",v)}return _h(o.toString())}static transformContentVideos(t,r){const o=Ki(Vf(hu(t))),s=I9(o);return s.length===0||s.forEach(l=>{let c=l.getAttribute("src");if(!c)return;c.startsWith("//")&&(c=`https:${c}`);const{origin:h,pathname:v,search:p}=new URL(c),x=`${h}${v}`.replace(/\/chromeless\/1$/,"").replace(/\/$/,"");l.removeAttribute("src"),l.setAttribute("data-src",`${x}${r===ge.DESKTOP?"":"/chromeless/1"}${p}`)}),_h(o.toString())}static transformCover(t){const r=Ki(Vf(hu(t))),o=I9(r);return o.length===0?t:(o.forEach(s=>{const l=s.getAttribute("src");l&&(s.setAttribute("data-src",l),s.removeAttribute("src"))}),_h(r.toString()))}}const HO=({htmlTemplateProps:e,header:t,headerMini:r,overviewBar:o,menu:s,chatbot:l,footer:c,readAlsoBanner:h,breadcrumb:v,contentHeader:p,contentHeaderMobile:x,cover:w,socialBar:_,signature:D,summary:S,articleContent:T,encloseBanner:C,highlightedText:O,comment:L,readAlsoBlockBelow:P,tagBar:z,mostReadArticles:U,sideBrandsArticles:W,latestContentsCarousel:Q,rubricCarousels:ie,partnerCards:te,scrollProgressBar:J,scrollProgressButton:V,templateVariant:X=U3.DEFAULT})=>{const ce=new ov({data:{articleContent:T,cover:e.layout===ge.MOBILE?x:w,htmlTemplateProps:e},layout:e.layout}).resolve(),Ee={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:ce.templateActivators?.enableDisplayOnHeaderAd??!1}}},Re=BO({isPubstackAndVideo:ce.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Ee.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(q3,{htmlTemplateProps:Ee,header:t,headerMini:r,overviewBar:o,menu:s,chatbot:l,footer:c,adsPageConfig:Re,readAlsoBanner:h,breadcrumb:v,contentHeader:p,contentHeaderMobile:ce.content.media,cover:ce.content.media,socialBar:_,signature:D,summary:S,readAlsoBlockBelow:P,tagBar:z,comment:L,mostReadArticles:U,sideBrandsArticles:W,scrollProgressBar:J,scrollProgressButton:V,latestContentsCarousel:Q,rubricCarousels:ie,partnerCards:te,templating:ce.templateActivators,templateVariant:X,children:[ce.content.articleContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-chatbot-btn js-limit-scroll-progress-bar"}),C&&C,!qp(O)&&a.jsx(be,{mx:{xs:"m",md:"0"},mb:"l",children:O})]})},UO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,astroHomepageContent:h,astroTiles:v,astroLinksNextTypes:p})=>{const x={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Wr,{header:t,headerMini:r,adTopPage:x.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),menu:o,footer:s,htmlTemplateProps:x,children:x.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx(ve,{direction:"column",gap:"xxs",className:"o-lt-show__main",children:h}),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(be,{as:"article",mb:"xxl",children:[l,c,a.jsx(ve,{direction:"column",gap:"xl",className:"o-lt-show",children:a.jsxs(ve,{direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__main",children:[v,p,h]})})]})})},qO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,headerBanner:h,astroContent:v,link:p,astroTiles:x,astroLinksNextTypes:w})=>{const _={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Wr,{header:t,menu:o,headerMini:r,footer:s,htmlTemplateProps:_,adTopPage:_.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[h,v,a.jsx(ve,{justifyContent:"center",children:p}),a.jsx(be,{mb:{xs:"0",md:"l"},children:a.jsx(vb,{})})]}),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[_.layout===ge.MOBILE&&a.jsx(Yr,{as:"h3",ml:{xs:"m",md:"0"},children:"Autres horoscopes"}),x,w,e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]})]}),_.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},PX=()=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),aside:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),middle:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})}}),zO=({htmlTemplateProps:e,header:t,headerMini:r,contactForm:o,mostReadArticles:s,contactDetails:l,addresses:c,menu:h,footer:v,breadcrumb:p})=>{const x=new x8({layout:e.layout,config:PX(),adsEnabled:!0});return a.jsx(Wr,{header:t,headerMini:r,menu:h,footer:v,htmlTemplateProps:e,adTopPage:x.renderAd("topPage"),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:{xs:"xxl"},bg:"grey-50",children:[p,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[a.jsx(Yr,{size:"xxl-2",mx:"m",mb:"l",children:"Contact"}),a.jsx(be,{ml:"m",mr:{sm:"0",xs:"m"},mb:"xxl",children:o}),a.jsx(kn,{color:"ultramarine",mb:"s",ml:"m",mr:{md:"0",xs:"m"}}),l,c]}),e.layout===ge.MOBILE&&x.renderAd("middle"),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:s}),e.layout===ge.DESKTOP&&x.renderAd("aside")]})]}),x.renderAd("aboveFooter")]})})},VO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,tabs:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{htmlTemplateProps:e,adTopPage:p,header:t,headerMini:r,menu:o,footer:s,toolbar:l,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap",mb:"xxl",bg:"grey-50",children:[c,h,v,a.jsx(Se,{mb:"xxl-2",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[c,h,v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})})},GO=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,articles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"elections-ia-articles-container",children:h}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,h,a.jsx(Se,{my:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),KO=({htmlTemplateProps:e,resultsFirstRound:t,participationAndAbstentionFirstRound:r,resultsSecondRound:o,participationAndAbstentionSecondRound:s,distribution:l,mapDepartments:c,mapConstituencies:h,mapEuropean:v,mapTownsByDepartments:p})=>a.jsx(av,{...e,children:a.jsxs("div",{children:[t,r,o,s,l,a.jsx("div",{id:"elections-departments-map-container",children:c}),a.jsx("div",{id:"elections-constituencies-map-container",children:h}),a.jsx("div",{id:"elections-european-map-container",children:v}),a.jsx("div",{id:"elections-towns-by-departments-map-container",children:p})]})}),WO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:h,resultsFirstRound:v,participationAndAbstentionFirstRound:p,resultsSecondRound:x,participationAndAbstentionSecondRound:w,distribution:_,mapDepartments:D,mapConstituencies:S,mapEuropean:T,mapTownsByDepartments:C,summary:O,sideLocalitiesBottom:L,lastArticlesCarousel:P,resultsFiltered:z})=>{let U;const W=x===void 0?!1:!qp(x);return e.layout===ge.DESKTOP?(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),v,p,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),x,w,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),v,p]})),a.jsx(Wr,{adTopPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[U,O]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),L,a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),P,a.jsx(Se,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),v,L,p,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,L,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),x,w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"})]})),a.jsx(Wr,{header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:a.jsxs("div",{className:"o-lt-show__main",children:[U,O]})}),P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE",mb:"xxl"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE",mb:"xxl"})]})}))},$O=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:h,multipleResults:v,resultsFirstRound:p,participationAndAbstentionFirstRound:x,resultsSecondRound:w,participationAndAbstentionSecondRound:_,summary:D,inseeBlock:S,refreshButton:T,sideLocalitiesTop:C,sideLocalitiesBottom:O,lastArticlesCarousel:L,lastArticlesCarouselBis:P,resultsFiltered:z})=>{let U;const W=w===void 0?!1:!qp(w);return e.layout===ge.DESKTOP?(U=a.jsxs(a.Fragment,{children:[v,p,x,D,S]}),W&&(U=a.jsxs(a.Fragment,{children:[v,w,_,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),p,x,D,S]})),a.jsx(Wr,{adTopPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{className:"o-lt-show__main",children:[T,U]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[C,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),O,a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),L,P,a.jsx(Se,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(U=a.jsxs(a.Fragment,{children:[v,p,C,x,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),O,D,S]}),W&&(U=a.jsxs(a.Fragment,{children:[v,w,C,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),O,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),p,x,D,S]})),a.jsx(Wr,{header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:a.jsxs("div",{className:"o-lt-show__main",children:[T,U]})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),L,P,z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}))},YO=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,errorContent:l})=>a.jsxs(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsx(be,{as:"section",className:"o-page-wrap u-arch-shadow",pb:{xs:"xl",md:"xxl"},pt:{xs:"s",md:"xxl"},px:"m",bg:"grey-50",children:l}),s.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/pave_atf",variant:"PAVE"})]}),QO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h})=>a.jsx(Wr,{header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,a.jsx("iframe",{id:"tefal-70ans",title:"70 ans Tefal",src:"https://jeu.tefal.fr/?idfrom=7",style:{width:"1px",minWidth:"100%",border:"none"},allow:"clipboard-read; clipboard-write; web-share; autoplay; storage-access",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"}),a.jsx("script",{dangerouslySetInnerHTML:{__html:"const script = document.createElement ('script'); script.src = 'https://cdn.jsdelivr.net/npm/iframe-resizer@4.4.5/js/iframeResizer.min.js'; script.onload = function () {iFrameResize({ log: false, checkOrigin: false, heightCalculationMethod: 'bodyScroll'},'#tefal-70ans')}; document.head.appendChild(script);"}})]})}),JO=({htmlTemplateProps:e,footer:t,headerPage:r,gamesList:o,iframe:s,ad:l})=>a.jsxs(av,{...e,children:[a.jsx(be,{id:"page-wrap",className:"o-page",children:a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[r,s,o,l]})}),t]}),ZO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,gamesList:v})=>a.jsx(Wr,{adTopPage:e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:t,headerMini:r,menu:o,footer:s,toolbar:l,htmlTemplateProps:e,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(be,{id:"mbrs-game-block-container",style:{minHeight:"98px"},mt:"xl"}),a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mt:"xl",mb:"xxl-2",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(be,{id:"mbrs-game-block-container",my:"l",style:{minHeight:"78px"}}),v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})}),FX=["anagrammes","mots-croises","mots-fleches","mots-melanges","sudoku","sudoku-chaos","sudoku-killer"],XO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,contact:h,headerPage:v,gameContent:p,iframe:x,faq:w})=>a.jsxs(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,adTopPage:e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):void 0,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,v,x,FX.includes(e.firstPartyScripts.datalayerInfo?.pageKey||"")&&a.jsx("div",{id:"mbrs-game-ranking"}),h,e.layout===ge.DESKTOP?a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[w,p]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}):a.jsxs(a.Fragment,{children:[w,p]})]}),e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]}),lm=({content:e})=>a.jsx("section",{dangerouslySetInnerHTML:{__html:e}});class HX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{}})}transformContent(){const t={};return this.data.articlesListTop&&(t.articlesListTop=this.layout===ge.DESKTOP?a.jsx(lm,{content:this.handleDesktopAds()}):a.jsx(lm,{content:this.handleMobileAds()})),{...this.data,...t}}resolveTemplating(){return null}handleDesktopAds(){const t=Ki(hu(this.data.articlesListTop)),r=t.querySelectorAll(".card-item-4");if(r&&r.length===1){const o=Wa(pe.createElement(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}));r[0].insertAdjacentHTML("afterend",o)}return t.toString()}handleMobileAds(){const t=Ki(hu(this.data.articlesListTop)),r=t.querySelectorAll(".card-item-3");if(r&&r.length===1){const o=Wa(pe.createElement(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE"}));r[0].insertAdjacentHTML("afterend",o)}return t.toString()}}const ej=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,toolbar:c,articlesListTop:h,featuredTag:v,secondArticlesListMobile:p,articlesListBottom:x,mostReadArticles:w,thirdArticlesListMobile:_,localNews:D,tvBlock:S,showsReplaysCarousel:T,gamesCarousel:C,currentVideos:O,entertainment:L,sport:P,inPictures:z,tempo:U,highTech:W,planet:Q,professionalLife:ie,podcasts:te,purchaseGuide:J,discoverNow:V,cityByCity:X,partners:se,conso:ce,movies:Ee,tvProgram:Re,municipalBlock:Ue,animals:Ce})=>{const je=new HX({data:{articlesListTop:h},layout:e.layout}).resolve(),Be=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER",mb:"m"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,toolbar:c,adTopPage:Be,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx($7,{}),a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pb:"xxl-2",bg:"grey-50",children:[a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:je.content.articlesListTop}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(L5,{iconSize:20,mb:"l",layout:ge.DESKTOP}),w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),v,a.jsx(kn,{color:"ultramarine",mb:"xxl"}),a.jsxs(ve,{gap:"xl",className:"o-lt-show","data-scroll-trigger":!0,children:[a.jsx("div",{className:"o-lt-show__main",children:x}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_btf",variant:"PAVE"})})]}),a.jsx("div",{id:"local-news-container",children:D})]}),S,T,O,a.jsx(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"0",bg:"grey-50",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf",variant:"BAN"})}),C,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[L,P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf1",variant:"BAN"})]}),z,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[U,Ce,W,Q,ie,ce,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf2",variant:"BAN"})]}),te,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[J,V]}),Ee,Re,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[X,se,Ue,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})]})]}):a.jsxs(a.Fragment,{children:[je.content.articlesListTop,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"}),a.jsx(L5,{mb:"l",layout:ge.MOBILE}),w,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_3",variant:"ARTICLE"}),v,_,a.jsx("div",{id:"local-news-container",children:D}),S,T,O,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),C,L,P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_5",variant:"ARTICLE"}),z,U,Ce,W,Q,ie,ce,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_6",variant:"ARTICLE"}),te,J,V,Ee,Re,X,se,Ue,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_7",variant:"ARTICLE"})]})})},tj=({breadcrumb:e,headerPage:t,cover:r,encloseBanner:o,header:s,headerMini:l,htmlTemplateProps:c,footer:h,jobFaqs:v,jobProperties:p,menu:x,relatedJobsCategory:w,professionalLifeArticles:_,overviewBar:D})=>a.jsx(Wr,{header:s,headerMini:l,menu:x,footer:h,htmlTemplateProps:c,adTopPage:c.layout===ge.MOBILE?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),overviewBar:D,children:c.layout===ge.MOBILE?a.jsxs("article",{children:[e,t,a.jsx(l2,{inner:!0,mt:"s",children:p}),a.jsx(Se,{mb:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_atf",variant:"ARTICLE"}),v,o,w,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]}):a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[r,p,v,o]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),w,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}),rj=({htmlTemplateProps:e,overviewBar:t,header:r,headerMini:o,menu:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v,businessSectorsList:p,professionalLifeArticles:x})=>{const w=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:w,header:r,headerMini:o,menu:s,footer:l,htmlTemplateProps:e,overviewBar:t,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN",mb:"xxl-2"}),p,x,e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"})]})})},nj=({header:e,headerMini:t,headerPage:r,menu:o,footer:s,htmlTemplateProps:l,breadcrumb:c,mainInformationBlock:h,articles:v})=>a.jsx(Wr,{htmlTemplateProps:l,header:e,headerMini:t,menu:o,footer:s,adTopPage:l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:l.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[c,r,h,!qp(v)&&a.jsxs(ve,{className:"o-lt-show",mt:"xxl",children:[a.jsx(be,{className:"o-lt-show__main",children:a.jsx("div",{id:"journalist-article-list-container",children:v})}),a.jsx(be,{as:"aside",className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsxs(be,{as:"article",children:[c,r,h,!qp(v)&&a.jsx("div",{id:"journalist-article-list-container",children:v}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF"})]})}),aj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},ij=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,faq:h,cardsList:v,regionsList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:x,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),h,a.jsx(kn,{color:"ultramarine",my:"xxl"}),a.jsx("div",{id:"department-legal-notice-list-container",children:v})]}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),p,e.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},oj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,cardsList:h,departmentsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),a.jsx(h9,{items:[{id:1,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Séléctionnez"})," votre modèle d’annonce légale"]})},{id:2,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Remplissez"})," le formulaire en quelques clics"]})},{id:3,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Annonce légale"})," publiée sous 24h après validation et conformité légale"]})},{id:4,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Attestation"})," de parution et facture disponibles immédiatement après la publication"]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(qg,{contentProps:{className:"c-prose--dark c-prose--serif"},items:[{title:"Pourquoi publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes, c’est opter pour un service rapide et conforme. En quelques clics, vous validez votre annonce, qui est vérifiée sous 24 heures pour respecter les exigences légales. Profitez de la visibilité d’un média reconnu et recevez instantanément votre attestation de parution et votre facture en ligne. Avec 20 Minutes, bénéficiez d’une publication efficace et accessible, pour toutes les étapes importantes de votre entreprise !</p>"},{title:"Qui doit publier une annonce légale ?",content:"<p>La publication d’une annonce légale est obligatoire pour les entreprises à chaque étape clé de leur parcours juridique : création, modification de statuts, changement de dirigeant, augmentation de capital ou dissolution. Que vous soyez une société commerciale, une association, ou dans certains cas une micro-entreprise, cette démarche assure transparence et conformité envers le public et vos partenaires.</p>"},{title:"Comment publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes est simple et rapide. Remplissez le formulaire avec les informations de votre entreprise en quelques étapes, et laissez-vous guider. Une fois votre annonce soumise, notre équipe la vérifie pour garantir sa conformité légale. En 24 heures, votre annonce est publiée, et vous recevez immédiatement votre attestation de parution ainsi que votre facture.</p>"},{title:"Quels sont les tarifs d’une annonce légale sur 20 Minutes ?",content:"<p>Les tarifs d’une annonce légale sur 20 Minutes varient en fonction de plusieurs critères : le type d’annonce (création d’entreprise, modification de statut, dissolution, etc…), le département de publication, et le nombre de lignes. En France, le coût est généralement calculé par ligne et est soumis à une tarification réglementée par département.</p>"},{title:"Comment trouver mon annonce légale sur 20 Minutes ?",content:"<p>Pour retrouver votre annonce légale sur 20 Minutes, vous pouvez accéder directement à notre site et vous rendre dans la section dédiée aux annonces légales. En saisissant des informations spécifiques, comme le nom du département, la période de publication ou le type d’annonce vous accéderez rapidement à votre annonce. Une fois trouvée, vous pourrez la consulter ou télécharger l’attestation de parution si vous en avez besoin pour vos démarches administratives.</p>"},{title:"Dans quels départements puis-je publier une annonce légale avec 20 Minutes ?",content:"<p>Vous avez la possibilité de publier une annonce légale dans plus de 100 départements en France. Nous couvrons une grande partie du territoire, incluant les principales métropoles ainsi que de nombreuses autres départements. Pour savoir si votre département est éligible, consultez la liste complète des zones disponibles ou indiquez simplement votre code postal lors de la préparation de votre annonce pour une validation rapide.</p>"}]}),a.jsx(kn,{color:"ultramarine",my:"xxl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"}),a.jsx("div",{id:"home-legal-notice-list-container",children:h})]}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),v,e.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},sj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,content:h,cardsList:v,departmentsList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),w=a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"xxl-2",mb:"xxl"}),_=a.jsx(Yr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"});return a.jsx(Wr,{adTopPage:x,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[h,w,a.jsx(kn,{color:"ultramarine",my:"xxl"}),_,v]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),p]}):a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[l,c,h,w,a.jsx(kn,{color:"ultramarine",my:"xxl"}),_,v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},UX=()=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Se,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Se,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_atf",variant:"ARTICLE",mb:"l"})}});class qX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableAds:!0,enableDisplayOnHeaderAd:!1,enableBlockLinks:!0,enableHeaderAd:!0,enableSponsoredContents:!0,enableFavorite:!0}})}transformContent(){return{...this.data,liveContent:this.data.livePostsThread}}resolveTemplating(){const{livePostsThread:t,topContent:r}=this.data,o=iv(w2(Wa(t)+Wa(r)));this.templateActivators={...this.templateActivators,enableDisplayOnHeaderAd:this.templateActivators.enableAds&&o}}}const zX=e=>{const t=e.match(/bg-(\w+)/);return t?t[1]:void 0},uj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,liveIndicator:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,topContent:D,liveQuestion:S,livePostsThread:T,liveImportantPostsThread:C,comment:O,readAlsoBlockAbove:L,tagBar:P,mostReadArticles:z,sideBrandsArticles:U,latestContentsCarousel:W,rubricCarousels:Q,partnerCards:ie,scrollProgressButton:te})=>{const J=_&&pe.isValidElement(_)&&_.props?.dangerouslySetInnerHTML?.__html?.includes("div"),V=pe.useMemo(()=>[{name:"le-direct",title:"Le Direct",content:T,tabColor:"red",isNoWrap:!0},...J||_?.props?.summary||L?[{name:"resume",title:"Le contexte",content:a.jsxs(a.Fragment,{children:[_,L]}),isNoWrap:!0,tabColor:J?zX(_?.props?.dangerouslySetInnerHTML?.__html||""):_?.props?.rubricColor}]:[],...pe.isValidElement(C)&&C.props?.dangerouslySetInnerHTML?.__html?.includes("div")?[{name:"temps-forts",title:"Les temps forts",tabColor:"red",content:C,isNoWrap:!0}]:[]],[_?.props?.rubricColor,J,C,T,L,_]),se=new qX({data:{livePostsThread:T,topContent:D},layout:e.layout}).resolve(),ce=UX();return a.jsxs(q3,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,adsPageConfig:ce,liveIndicator:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,topContent:D,tagBar:P,comment:O,mostReadArticles:z,sideBrandsArticles:U,scrollProgressButton:te,latestContentsCarousel:W,rubricCarousels:Q,partnerCards:ie,templating:se.templateActivators,children:[S,a.jsx(Lf,{id:"live-posts-container",name:"live-tabs",tabItems:V,tabProps:{px:{xs:"m",md:"0"}}}),a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"})]})},lj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},cj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostCommentedArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},dj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostReadArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,adTopPage:p,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"main-most-read-container",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},fj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostSharedArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},hj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,moviesNavigation:h,mostReadArticles:v,moviesList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:x,htmlTemplateProps:e,header:t,menu:o,footer:s,headerMini:r,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",mb:"xxl",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[h,a.jsx("div",{id:"movies-container",children:p})]}),a.jsxs("div",{className:"o-lt-show__aside",children:[v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})]}):a.jsxs(be,{as:"section",bg:"grey-50",children:[l,c,h,a.jsx("div",{id:"movies-container",children:p}),v]})})},pj=({header:e,headerMini:t,menu:r,footer:o,toolbar:s,htmlTemplateProps:l,breadcrumb:c,headerPage:h,articlesByTag:v})=>{const p=l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:e,headerMini:t,menu:r,footer:o,toolbar:s,htmlTemplateProps:l,children:[a.jsxs(be,{as:"article",className:"o-page-wrap",pb:"xxl",bg:"grey-50",children:[c,h,v]}),l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})},mj=[...yq,mq,vq],VX=(e,t)=>{const r=e||t;if(!r)return;const o=r.replace(/(?:main|piano)-([^/]+)\.min\.js$/,"partner-tracking-overrides-$1.min.js");return o===r?void 0:o},vj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s})=>{const l={...s,firstPartyScripts:{...s.firstPartyScripts,partnerTrackingOverridesScript:VX(s.firstPartyScripts.mainTyrScript,s.firstPartyScripts.pianoScript)},partnerLayoutContract:!0};return a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:l,children:s.layout===ge.DESKTOP?a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:a.jsx(Sl,{comment:mj})}):a.jsx(be,{as:"article",children:a.jsx(Sl,{comment:mj})})})},gj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,articlesList:h})=>{const v=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:v,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:[a.jsxs(be,{as:"section",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsx("div",{id:"quiz-container",className:"o-lt-show__main",children:h}),e.layout===ge.DESKTOP&&a.jsxs(ve,{as:"aside",direction:"column",gap:"xxl",className:"o-lt-show__aside",children:[a.jsx(Ea,{grow:1,children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})}),a.jsx(Ea,{grow:1,children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},yj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,rewindList:h})=>a.jsx(Wr,{header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,a.jsx(bl,{layout:e.layout,heading:{children:"Mon Rewind"},subtitle:"Revivez les moments forts de votre année avec votre rétrospective pesonnalisée",mb:{xs:"s",md:"xl"}}),h,a.jsx(be,{mb:"m",className:"js-rewind-alert u-hidden",children:a.jsx(I7,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Optimisez votre Rewind",description:"Votre rétrospective peut être partielle si vous n’avez pas accepté les cookies de mesure d’audience."})}),a.jsx(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de l’exécution du contrat et de notre intérêt légitime. Elles sont utilisées pour la gestion de votre compte en ligne, l’accès à nos services, la connaissance de nos lectrices et lecteurs (personnaliser les contenus éditoriaux, les produits et services proposés, améliorer l’expérience utilisateur, les parcours de navigation et qualifier les audiences du site), ainsi qu’à des fins d’envoi d’informations relatives à nos produits et services. Ces données seront conservées 3 ans après la fin du contrat sauf dispositions légales particulières."}),a.jsxs(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:["Sous réserve de votre consentement dans notre plateforme de gestion des cookies, les données déduites d’informations renseignées dans votre compte utilisateur (ex : tranche d’âge estimée, genre estimé…) peuvent également être utilisées pour l’affichage de publicités ciblées par profilage à partir de votre navigation, si vous naviguez en mode « mode « connecté » sur nos Sites et Applications. Ces données seront conservées 6 mois à compter de votre consentement. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à"," ",a.jsx(Yt,{href:"mailto:dpo@20minutes.fr",children:"dpo@20minutes.fr"})," ou par courrier à : Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex. Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus"})]}),a.jsx(Yt,{href:"https://www.20minutes.fr/accessibilite",size:"xxs",px:{xs:"m",md:"0"},children:"Accessibilité : partiellement conforme"})]})}),bj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{className:"gcse-search"})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:a.jsx("div",{className:"gcse-search"})}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),xj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},Aj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},_j=({header:e,footer:t,menu:r,htmlTemplateProps:o,breadcrumb:s,headerPage:l,sitemapTagsList:c,topBulletedList:h,bottomBulletedList:v,mostReadArticles:p})=>a.jsx(Wr,{htmlTemplateProps:o,header:e,footer:t,menu:r,adTopPage:o.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[s,l,o.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ve,{mt:"m",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:[c,h]}),a.jsx("aside",{className:"o-lt-show__aside o-lt-show__aside--fit-container",children:p})]}),a.jsxs(ve,{gap:"xl",mt:"xxl-2",className:"o-lt-show",children:[a.jsx(ve,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[c,h,v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})})]})}),Ej=["23057135412","23057517469"],V3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class GX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableDisplayOnHeaderAd:!1,enableInSlideshowAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableHeaderAd:!0,enableFavorite:!0}})}transformContent(){return this.templateActivators.enableInSlideshowAds&&(this.data.slideshowContent=this.layout===ge.DESKTOP?this.insertInreadDesktop(this.data.slideshowContent):this.insertInreadMobile(this.data.slideshowContent)),{...this.data,slideshowContent:this.data.slideshowContent,media:this.data.cover}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,r=t.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],o=!Ej.some(s=>r.includes(s));this.templateActivators={...this.templateActivators,enableAds:!Ej.some(s=>r.includes(s)),enableInSlideshowAds:o,enableSponsoredContents:o}}injectInArticleAd({isInread:t,html:r,paragraph:o}){if(t&&!iv(r.toString())){const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?V3.in_read_desktop:V3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?V3.pave_article:V3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}insertInreadMobile(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}}const wj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,readAlsoBanner:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,slideshowContent:D,encloseBanner:S,highlightedText:T,comment:C,readAlsoBlockBelow:O,tagBar:L,mostReadArticles:P,sideBrandsArticles:z,latestContentsCarousel:U,rubricCarousels:W,partnerCards:Q,scrollProgressBar:ie,scrollProgressButton:te,topContent:J})=>{const X=new GX({data:{slideshowContent:D,cover:p,htmlTemplateProps:e},layout:e.layout}).resolve(),se={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:X.templateActivators?.enableDisplayOnHeaderAd??!1}}},ce=BO({isPubstackAndVideo:X.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:se.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(q3,{htmlTemplateProps:se,header:t,headerMini:r,menu:o,footer:s,adsPageConfig:ce,readAlsoBanner:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,readAlsoBlockBelow:O,tagBar:L,comment:C,mostReadArticles:P,sideBrandsArticles:z,scrollProgressBar:ie,scrollProgressButton:te,latestContentsCarousel:U,rubricCarousels:W,partnerCards:Q,topContent:J,templating:X.templateActivators,templateVariant:U3.FULL_WIDTH_COVER,children:[X.content.slideshowContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"}),S&&S,!qp(T)&&a.jsx(be,{mx:{xs:"m",md:"0"},mb:"l",children:T})]})},Sj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h,content:v,sidebar:p})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),p]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,v,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF",isFullscreenMobile:!0}),h,p,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ATF",isFullscreenMobile:!0})]})}),Cj=({header:e,headerMini:t,menu:r,content:o,footer:s,htmlTemplateProps:l})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,htmlTemplateProps:l,footer:s,children:a.jsx(ve,{as:"article",className:"o-page-wrap u-arch-shadow",py:"xxl-2",px:{xs:"m",md:"0"},bg:"grey-50",direction:"column",children:o})}),KX=e=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}),stickyAsideTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE"}),native:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/native_web":"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}),adListTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_btf":"/49926454/20minutes_desktop/homepage/pave_btf",variant:"ARTICLE"}),stickyAsideBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_mtf":"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"}),banBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_btf":"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/header_ad":"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_4":"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),adListTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_1":"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE",mt:"s"}),adListBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_2":"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"})}}),WX=["23058043934","23057517715"];class A8 extends um{constructor({data:t,layout:r,adsPageConfig:o}){super({data:t,layout:r,templateActivators:{enableHeaderAd:!0,enableAds:!0}}),this.adsPageConfig=o}transformContent(){const t={},{enableAds:r}=this.templateActivators;if(!this.data.articlesListTop)return this.data;if(!r)return{...this.data,articlesListTop:a.jsx(lm,{content:A8.removeAds(this.data.articlesListTop)})};if(t.articlesListTop=this.layout===ge.DESKTOP?a.jsx(lm,{content:this.insertNativeAds(this.data.articlesListTop)}):a.jsx(lm,{content:this.insertNFBAndNativeAds(this.data.articlesListTop)}),this.layout===ge.DESKTOP&&Gu.includes(this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.parentTagSlug||"")){const o=Ki(hu(t.articlesListTop)),s=o.querySelector('[data-dfp-name="pave_atf"]');if(s){const l=Wa(this.adsPageConfig.desktop.stickyAsideTop);s.insertAdjacentHTML("afterend",l),s.remove(),t.articlesListTop=a.jsx(lm,{content:o.toString()})}}return{...this.data,...t}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,r=t.firstPartyScripts.datalayerInfo?.pageKey||"",o=t.firstPartyScripts.datalayerInfo?.dfpTagHomeId?.[this.layout]||[],s=!WX.some(l=>o.includes(l));this.templateActivators={...this.templateActivators,enableAds:s,enableHeaderAd:s&&r!=="guide-achat"}}insertNFBAndNativeAds(t){const r=Ki(hu(t)),o=r.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.mobile.adListTop);o[0].insertAdjacentHTML("afterend",l)}const s=r.querySelectorAll(".card-item-6");if(s&&s.length===1){const l=Wa(this.adsPageConfig.mobile.adListBottom);s[0].insertAdjacentHTML("afterend",l)}return r.toString()}insertNativeAds(t){const r=Ki(hu(t)),o=r.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.desktop.native);o[0].insertAdjacentHTML("afterend",l)}const s=r.querySelectorAll(".card-item-7");if(s&&s.length===1){const l=Wa(this.adsPageConfig.desktop.adListTop);s[0].insertAdjacentHTML("afterend",l)}return r.toString()}static removeAds(t){const r=Ki(hu(t));return r.querySelectorAll("[data-dfp-path]").forEach(s=>{s.remove()}),r.toString()}}const Tj=({htmlTemplateProps:e,header:t,headerMini:r,overviewBar:o,menu:s,toolbar:l,footer:c,breadcrumb:h,headerPage:v,articlesListTop:p,newsCarousel:x,articlesListBottom:w,brandPublishingArticleBottom:_})=>{const D=KX(e.firstPartyScripts.datalayerInfo?.parentTagSlug||""),T=new A8({data:{articlesListTop:p,htmlTemplateProps:e},layout:e.layout,adsPageConfig:D}).resolve(),C=new x8({layout:e.layout,config:D,adsEnabled:T.templateActivators.enableAds});return a.jsxs(Wr,{adTopPage:e.layout===ge.DESKTOP&&T.templateActivators.enableAds||T.templateActivators.enableHeaderAd?C.renderAd("topPage"):null,header:t,headerMini:r,overviewBar:o,menu:s,toolbar:l,footer:c,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:"o-page-wrap o-page-wrap--above u-arch-shadow",bg:"grey-50",children:[h,v]}),T.content.articlesListTop,!qp(x)&&a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:x}),!e.pageMetaData?.isPaginationPage&&a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",pt:"0",bg:"grey-50",children:[a.jsxs(ve,{id:"article-list-2",direction:{xs:"column",lg:"row"},gap:"xl",mb:"xl",className:"o-lt-show",children:[a.jsx("div",{id:"article-list-bottom-container",className:"o-lt-show__main",children:w}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[_,C.renderAd("stickyAsideBottom")]}):C.renderAd("aboveFooter")})]}),C.renderAd("banBottom")]})]})},$X=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:r,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),r&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:r,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(ve,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(Tn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),Nj=({placeholder:e="minified",children:t})=>{const r=hu(t);let o=Ki(r);return o=YD(o),o=QD(o),a.jsxs("div",{className:"embed-placeholder",children:[a.jsx("div",{className:"embed-wrapper u-hidden",children:a.jsx(rb,{html:o.outerHTML})}),e==="default"&&a.jsx($X,{}),e==="minified"&&a.jsx($D,{})]})},Dj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(Nj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:a.jsx(Nj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Ij=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,topBlock:l,showsReplaysCarousel:c,mostBlock:h,toolbar:v})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:v,mainProps:{"data-theme":"dark"},children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[l,c,a.jsxs(be,{as:"section",className:"o-page-wrap",py:"xxl",children:[a.jsx(Uc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),h,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,a.jsxs(be,{as:"section",ml:"m",py:"xxl",children:[a.jsx(Uc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",mb:"xxl",hasNoBgColorMobile:!0}),h,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Rj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,topBlock:c,timeline:h,showsReplaysCarousel:v,mostBlock:p,toolbar:x})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:x,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"section",className:"o-page-wrap o-page__player-container",children:[l,c]}),a.jsx(be,{as:"section",bg:"blue-grey",children:h}),a.jsx(ve,{py:"xxl",justifyContent:"center",children:a.jsx(Tn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),v,p,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,h,a.jsx(ve,{py:"xxl",justifyContent:"center",children:a.jsx(Tn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Oj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,videosList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0}),x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"BAN",mb:"xl",hasNoBgColorMobile:!0});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(be,{as:"article",className:"o-page-wrap",color:"white",children:[c,h,a.jsxs(ve,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),x]})})},jj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,videosList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(be,{as:"article",className:"o-page-wrap",color:"white",children:[c,h,a.jsxs(ve,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"})]})})},Mj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,mainBlock:c,showsReplaysCarousel:h,mostBlock:v,toolbar:p})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:p,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),h,v,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),h,v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Lj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,programs:c})=>{const h=a.jsx(Yr,{fontFamily:"obviously",size:{xs:"l",md:"xxl"},color:"white",mb:{xs:"xxl",md:"xxl-2"},mx:{xs:"m",md:"0"},children:"Toutes nos émissions"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap",pb:"xxl",children:[l,h,c,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,h,c,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/tv/article_btf",variant:"ATF",hasNoBgColorMobile:!0})]})})};class YX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableAds:!0,enableBlockLinks:!0,enableScrollToFeed:!1}})}transformContent(){return this.data}resolveTemplating(){this.templateActivators={...this.templateActivators,enableScrollToFeed:this.layout===ge.MOBILE}}}const kj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,pageTitle:c,topBlock:h,mostVideos:v,extractsAndReplays:p,showsReplaysCarousel:x,backgroundImg:w,toolbar:_})=>{const S=new YX({data:{topBlock:h},layout:e.layout}).resolve();return a.jsxs(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:_,enableScrollToFeed:S.templateActivators.enableScrollToFeed,children:[w,e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",className:"o-page-wrap o-page__player-container",children:[l,a.jsxs(be,{as:"section",color:"white",className:"o-lt-show",children:[c,a.jsxs(ve,{gap:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:S.content.topBlock}),a.jsx("aside",{className:"o-lt-show__aside",children:v})]})]})]}),p,a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),x,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,a.jsxs(be,{as:"section",color:"white",className:"o-page__player-container",children:[c,S.content.topBlock,p,v]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),x,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})]})},Bj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsxs(l2,{className:"o-lt-show__main c-content",mx:{xs:"m",md:"0"},children:[a.jsx("p",{children:"Pour retirer votre consentement Utiq uniquement sur ce site, cliquez sur Retirer le consentement Utiq. Pour consulter et gérer tous vos consentements Utiq, y compris les retirer tous en une seule fois ou individuellement par chaque site partenaire , ou désactiver ou empêcher l’activation du service, accédez au consenthub d’Utiq. Si vous avez retiré votre consentement mais souhaitez à nouveau utiliser le Service Utiq, cliquez sur Pop-Up Consentement Utiq."}),a.jsx("h2",{children:"À propos du Service Utiq"}),a.jsx("p",{children:"Le Service Utiq vous offre un contrôle accru et une transparence sur l’utilisation de vos données lorsque vous activez une expérience personnalisée ou des analyses sur les sites partenaires d’Utiq. Dans le cadre du service Utiq, vous avez accès à un portail centralisé en libre-service, appelé consenthub d’Utiq, qui vous permet de gérer tous vos choix de Service Utiq et vos consentements Utiq ainsi que d’exercer vos droits en matière de protection des données. À tout moment. En un seul endroit. Utiq est un service facultatif. Cela signifie qu’il n’est pas activé par défaut et qu’il est uniquement activé lorsque vous donnez votre consentement sur un site participant via la fenêtre pop-up de consentement Utiq dédiée. En savoir plus sur le service Utiq sur consenthub.utiq.com"}),a.jsx("h2",{children:"À propos de notre partenariat avec Utiq"}),a.jsxs("div",{children:["Le Service Utiq est opéré par Utiq SA/NV et fourni en partenariat avec votre opérateur téléphonique et des sites partenaires comme le nôtre. Nous sommes des responsables conjoints avec Utiq pour fournir le Service Utiq. Dans le cadre de notre accord de responsables conjoints :",a.jsx("br",{}),a.jsx("br",{}),a.jsx(c9,{children:a.jsxs("ul",{children:[a.jsx("li",{children:"Le traitement lié au Service Utiq est basé sur le consentement que nous recueillons pour le compte de l’écosystème Utiq sur nos sites Web où nous intégrons le Service Utiq."}),a.jsx("li",{children:"Pour les sites Web où nous intégrons le Service Utiq, vous aurez accès à un lien dédié dans le pied de page pour vous fournir des informations sur le service, comment le gérer et vous informer de notre partenariat avec Utiq."}),a.jsx("li",{children:"Utiq met à votre disposition un portail de confidentialité centralisé (consenthub) pour faciliter l’exercice de vos droits en matière de protection des données et vous permettre de gérer facilement vos consentements Utiq et vos préférences de confidentialité du Service Utiq. À tout moment. En un seul endroit."}),a.jsx("li",{children:"Nonobstant le fait que vous pouvez exercer vos droits à l’égard de l’un des contrôleurs, Utiq agit en tant que point de contact commun pour toute question ou demande que vous pourriez avoir en relation avec le Service Utiq."})]})})]}),a.jsx("p",{children:"Si vous avez donné votre consentement pour activer le Service Utiq lors de votre première visite sur notre site, Utiq ne partagera avec nous que deux signaux sécurisés publicitaires. Ils sont appelés martechpass et adtechpass, ce sont des valeurs aléatoires générées par Utiq qui, sans révéler votre identité, nous permettent de vous reconnaître comme le même visiteur. Nous les utiliserons ensuite pour vous fournir du contenu personnalisé, de la publicité ou réaliser des analyses, en fonction des finalités pour lesquelles vous nous avez donné votre consentement. Le martechpass et adtechpass expirent respectivement après 90 jours ou 24 heures et sont stockées sur votre navigateur avec les cookies associés. Vous pouvez trouver plus d’informations sur le service Utiq dans le consenthub d’Utiq ou dans la Déclaration de confidentialité d’Utiq."})]}),s.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside"})]})]})}),Pj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main"}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:" "}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Fj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l})=>a.jsxs(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,a.jsx(bl,{layout:s.layout,heading:{children:"Pourquoi créer un compte 20 Minutes ?"},subtitle:"Quels sont les avantages de s’inscrire à 20 Minutes ?",mb:{xs:"s",md:"l"}}),a.jsxs(ve,{direction:{xs:"column",md:"row"},gap:"xl",className:"o-lt-show",mb:{xs:"xl",md:"0"},children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(h9,{items:[{id:1,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Personnalisez votre expérience"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Sauvegardez vos articles"})," favoris pour les lire plus tard"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"newsletters thématiques personnalisées"})," pour ne rien manquer de l’actualité"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"notifications et alertes"})," sur vos sujets préférés"]})]})]})},{id:2,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Interagissez et donnez votre avis"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Commentez"})," et ",a.jsx("b",{children:"échangez"})," avec la communauté 20 Minutes sur les articles"]}),a.jsxs("li",{children:[a.jsx("b",{children:"Participez"})," à des ",a.jsx("b",{children:"sondages"})," et ",a.jsx("b",{children:"enquêtes"})," sur nos live"]})]})]})},{id:3,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Fonctionnalités supplémentaires"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Accédez à tous nos ",a.jsx("b",{children:"contenus sans restriction"}),", gratuitement et sans aucun blocage"]}),a.jsxs("li",{children:["Retrouvez facilement votre activité, en consultant votre"," ",a.jsx("b",{children:"historique de lecture"})]}),a.jsxs("li",{children:[a.jsx("b",{children:"Affrontez d’autres joueurs"})," sur nos jeux exclusifs et"," ",a.jsx("b",{children:"suivez vos performances"})]})]})]})},{id:4,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Soutenir le média 20 Minutes"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Votre engagement permet à 20 Minutes de continuer à produire"," ",a.jsx("b",{children:"des articles fiables, des enquêtes approfondies et des analyses pertinentes"}),"."]}),a.jsxs("li",{children:["Aidez-nous à"," ",a.jsx("b",{children:"mieux comprendre vos attentes et votre opinion sur l’actualité"})," en participant à des sondages et échanges avec la rédaction."]}),a.jsxs("li",{children:[a.jsx("b",{children:"Soutenez un média libre et accessible à tous"}),", qui défend un journalisme indépendant, transparent et éthique, sans barrière payante."]})]})]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(j2,{buttonLabel:"Je m’inscris",title:"Rejoignez la communauté 20 Minutes dès maintenant et vivez l’info autrement !",url:"https://membre.20minutes.fr/inscription/"})]}),s.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}),s.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"PAVE"})]}),QX={name:"adIframe",component:TO,expiration:1800,components:[{name:Pg.AD_IFRAME_EXTERNAL_AD_ELEMENT,required:!0,propName:"adHtml"}]},Qr=[{name:nt.COMMON_HEADER,required:!0,propName:"header"},{name:nt.COMMON_FOOTER,required:!0,propName:"footer"},{name:nt.COMMON_MENU,required:!0,propName:"menu"}],zp=!0,JX={name:"animalQuiz",component:MO,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:zp,propName:"headerMini"},{name:qc.ANIMAL_QUIZ_BREADCRUMB,required:zp,propName:"breadcrumb"},{name:qc.ANIMAL_QUIZ_HEADER_PAGE,required:zp,propName:"headerPage"},{name:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,required:zp,propName:"rubricCarousels"},{name:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,required:zp,propName:"jsonLdBreadcrumb"},{name:qc.ANIMAL_QUIZ_META,required:zp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:zp,propName:"defaultPreload"}]},Gf=!0,ZX={name:"archiveByDay",component:LO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Gf,propName:"headerMini"},{name:ao.ARCHIVES_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:ao.ARCHIVES_PAGE_TITLE,required:Gf,propName:"pageTitle"},{name:ao.ARCHIVES_DAYS_LIST,required:Gf,propName:"archivesByDay"},{name:ao.ARCHIVES_CONTENTS,required:Gf,propName:"archivesOfDay"},{name:ao.ARCHIVES_PDF_LIST,required:Gf,propName:"archivePdfList"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Gf,propName:"mostReadArticles"},{name:ao.ARCHIVES_META,required:Gf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Gf,propName:"defaultPreload"}]},Kf=!0,XX={name:"archiveByYear",component:kO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Kf,propName:"headerMini"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Kf,propName:"mostReadArticles"},{name:ao.ARCHIVES_BREADCRUMB,required:Kf,propName:"breadcrumb"},{name:ao.ARCHIVES_MONTHS_LIST,required:Kf,propName:"monthsList"},{name:ao.ARCHIVES_YEARS_LIST,required:Kf,propName:"yearsList"},{name:ao.ARCHIVES_PAGE_TITLE,required:Kf,propName:"pageTitle"},{name:ao.ARCHIVES_PDF_LIST,required:Kf,propName:"archivePdfList"},{name:ao.ARCHIVES_META,required:Kf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Kf,propName:"defaultPreload"}]},eee={name:"article",component:HO,expiration:300,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:wr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:xl.ARTICLE_CONTENT,required:!0,propName:"articleContent"},{name:xl.ARTICLE_ENCLOSE,required:!0,propName:"encloseBanner"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:xl.ARTICLE_JSON_LD_CLAIM_REVIEW,required:!1,propName:"jsonLdClaimReview"},{name:xl.ARTICLE_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:xl.ARTICLE_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockBelow"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:xl.ARTICLE_HIGHLIGHTED_TEXT,required:!1,propName:"highlightedText"},{name:wr.CONTENT_READALSO_BANNER,required:!1,propName:"readAlsoBanner"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},tee={name:"astroHome",component:UO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HOMEPAGE_CONTENT,required:!0,propName:"astroHomepageContent"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},ree={name:"astro",component:qO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HEADER_BANNER,required:!0,propName:"headerBanner"},{name:ka.ASTRO_ASTRO_CONTENT,required:!0,propName:"astroContent"},{name:ka.ASTRO_LINK,required:!0,propName:"link"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Wf=!0,nee={name:"contact",component:zO,expiration:3600*24,components:[...Qr,{name:Uu.CONTACT_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Wf,propName:"mostReadArticles"},{name:Uu.CONTACT_JSON_LD_BREADCRUMB,required:Wf,propName:"jsonLdBreadcrumb"},{name:nt.COMMON_PRELOAD,required:Wf,propName:"defaultPreload"},{name:Uu.CONTACT_ADDRESSES,required:Wf,propName:"addresses"},{name:Uu.CONTACT_FORM,required:Wf,propName:"contactForm"},{name:Uu.CONTACT_DETAILS,required:Wf,propName:"contactDetails"},{name:Uu.CONTACT_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:Uu.CONTACT_META,required:Wf,propName:"meta"}]},Vp=!0,aee={name:"direct",component:VO,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Vp,propName:"headerMini"},{name:Hd.DIRECT_BREADCRUMB,required:Vp,propName:"breadcrumb"},{name:Hd.DIRECT_HEADER_PAGE,required:Vp,propName:"headerPage"},{name:Hd.DIRECT_TABS,required:Vp,propName:"tabs"},{name:Hd.DIRECT_META,required:Vp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Vp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Vp,propName:"toolbar"}]},Gp=!0,iee={name:"electionsAiArticles",component:GO,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Gp,propName:"headerMini"},{name:zc.ELECTIONS_AI_ARTICLES_BREADCRUMB,required:Gp,propName:"breadcrumb"},{name:zc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,required:Gp,propName:"headerPage"},{name:zc.ELECTIONS_AI_ARTICLES_LIST,required:Gp,propName:"articles"},{name:zc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,required:Gp,propName:"jsonLdBreadcrumb"},{name:zc.ELECTIONS_AI_ARTICLES_META,required:Gp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Gp,propName:"defaultPreload"}]},Qd=!0,oee={name:"electionsEmbed",component:KO,expiration:60,components:[{name:ar.ELECTIONS_META,required:Qd,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qd,propName:"defaultPreload"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:Qd,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:Qd,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:Qd,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:Qd,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:Qd,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:Qd,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:Qd,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:Qd,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:Qd,propName:"mapTownsByDepartments"}]},go=!0,see={name:"electionsHome",component:WO,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:go,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:go,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:go,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:go,propName:"meta"},{name:nt.COMMON_PRELOAD,required:go,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:go,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:go,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:go,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:go,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:go,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:go,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:go,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:go,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:go,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:go,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:go,propName:"mapTownsByDepartments"},{name:ar.ELECTIONS_SUMMARY,required:go,propName:"summary"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:go,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:go,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:go,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:go,propName:"overviewBar"}]},yo=!0,uee={name:"elections",component:$O,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:yo,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:yo,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:yo,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:yo,propName:"meta"},{name:nt.COMMON_PRELOAD,required:yo,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:yo,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:yo,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_MULTIPLE,required:yo,propName:"multipleResults"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:yo,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:yo,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:yo,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:yo,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_SUMMARY,required:yo,propName:"summary"},{name:ar.ELECTIONS_INSEE_BLOCK,required:yo,propName:"inseeBlock"},{name:ar.ELECTIONS_SIDE_LOCALITIES_TOP,required:yo,propName:"sideLocalitiesTop"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:yo,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:yo,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,required:yo,propName:"lastArticlesCarouselBis"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:yo,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:yo,propName:"overviewBar"},{name:ar.ELECTIONS_REFRESH_BUTTON,required:yo,propName:"refreshButton"}]},G3=!0,lee={name:"error",component:YO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:G3,propName:"headerMini"},{name:q1.ERROR_CONTENT,required:G3,propName:"errorContent"},{name:q1.ERROR_META,required:G3,propName:"meta"},{name:nt.COMMON_PRELOAD,required:G3,propName:"defaultPreload"}]},sv=!0,cee={name:"extTefal",component:QO,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:sv,propName:"headerMini"},{name:Ch.EXT_TEFAL_BREADCRUMB,required:sv,propName:"breadcrumb"},{name:Ch.EXT_TEFAL_HEADER_PAGE,required:sv,propName:"headerPage"},{name:Ch.EXT_TEFAL_META,required:sv,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:sv,propName:"toolbar"}]},Kp=!0,dee={name:"gameApp",component:JO,expiration:3600,components:[{name:Vn.GAME_APP_FOOTER,required:Kp,propName:"footer"},{name:nt.COMMON_PRELOAD,required:Kp,propName:"defaultPreload"},{name:Vn.GAME_META,required:Kp,propName:"meta"},{name:Vn.GAME_APP_HEADER_PAGE,required:Kp,propName:"headerPage"},{name:Vn.GAME_APP_LIST,required:Kp,propName:"gamesList"},{name:Vn.GAME_APP_IFRAME,required:Kp,propName:"iframe"},{name:Vn.GAME_APP_AD,required:Kp,propName:"ad"}]},Hh=!0,fee={name:"gameHome",component:ZO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Hh,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:Hh,propName:"defaultPreload"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:Hh,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_META,required:Hh,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:Hh,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:Hh,propName:"headerPage"},{name:Vn.GAME_LIST,required:Hh,propName:"gamesList"},{name:nt.COMMON_TOOLBAR,required:Hh,propName:"toolbar"}]},ad=!0,hee={name:"game",component:XO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:ad,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:ad,propName:"defaultPreload"},{name:Vn.GAME_META,required:ad,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:ad,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:ad,propName:"headerPage"},{name:Vn.GAME_FAQ,required:ad,propName:"faq"},{name:Vn.GAME_IFRAME,required:ad,propName:"iframe"},{name:Vn.GAME_CONTENT,required:ad,propName:"gameContent"},{name:Vn.GAME_CONTACT,required:ad,propName:"contact"},{name:nt.COMMON_TOOLBAR,required:ad,propName:"toolbar"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:ad,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_JSON_LD_FAQ,required:ad,propName:"jsonLdFaq"}]},da=!0,pee={name:"home",component:ej,expiration:15,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:da,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:da,propName:"defaultPreload"},{name:Ir.HOME_META,required:da,propName:"meta"},{name:nt.COMMON_OVERVIEW_BAR,required:da,propName:"overviewBar"},{name:Ir.HOME_ARTICLES_LIST_TOP,required:da,propName:"articlesListTop"},{name:Ir.HOME_FEATURED_TAG,required:da,propName:"featuredTag"},{name:Ir.HOME_SECOND_ARTICLES_LIST_MOBILE,required:da,propName:"secondArticlesListMobile"},{name:Ir.HOME_ARTICLES_LIST_BOTTOM,required:da,propName:"articlesListBottom"},{name:Ir.HOME_MOST_READ_ASIDE,required:da,propName:"mostReadArticles"},{name:Ir.HOME_THIRD_ARTICLES_LIST_MOBILE,required:da,propName:"thirdArticlesListMobile"},{name:Ir.HOME_LOCAL_NEWS,required:da,propName:"localNews"},{name:Ir.HOME_TV_BLOCK,required:da,propName:"tvBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:da,propName:"showsReplaysCarousel"},{name:Ir.HOME_GAMES_CAROUSEL,required:da,propName:"gamesCarousel"},{name:Ir.HOME_CURRENT_VIDEOS,required:da,propName:"currentVideos"},{name:Ir.HOME_ENTERTAINMENT,required:da,propName:"entertainment"},{name:Ir.HOME_SPORT,required:da,propName:"sport"},{name:Ir.HOME_IN_PICTURES,required:da,propName:"inPictures"},{name:Ir.HOME_TEMPO,required:da,propName:"tempo"},{name:Ir.HOME_ANIMALS,required:da,propName:"animals"},{name:Ir.HOME_HIGH_TECH,required:da,propName:"highTech"},{name:Ir.HOME_PLANET,required:da,propName:"planet"},{name:Ir.HOME_PROFESSIONAL_LIFE,required:da,propName:"professionalLife"},{name:Ir.HOME_CONSO,required:da,propName:"conso"},{name:Ir.HOME_PODCASTS,required:da,propName:"podcasts"},{name:Ir.HOME_PURCHASE_GUIDE,required:da,propName:"purchaseGuide"},{name:Ir.HOME_DISCOVER_NOW,required:da,propName:"discoverNow"},{name:Ir.HOME_CITY_BY_CITY,required:da,propName:"cityByCity"},{name:Ir.HOME_PARTNERS,required:da,propName:"partners"},{name:nt.COMMON_TOOLBAR,required:da,propName:"toolbar"},{name:Ir.HOME_MOVIES,required:da,propName:"movies"},{name:Ir.HOME_TV_PROGRAM,required:da,propName:"tvProgram"},{name:Ir.HOME_MUNICIPAL_BLOCK,required:da,propName:"municipalBlock"}]},id=!0,mee={name:"jobDetails",component:tj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:id,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:id,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:id,propName:"headerPage"},{name:wa.JOBS_RELATED_JOBS_CATEGORY,required:id,propName:"relatedJobsCategory"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:id,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:id,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:id,propName:"meta"},{name:wa.JOBS_COVER,required:id,propName:"cover"},{name:wa.JOBS_PROPERTIES,required:id,propName:"jobProperties"},{name:wa.JOBS_ENCLOSE_BANNER,required:id,propName:"encloseBanner"},{name:wa.JOBS_FAQ,required:id,propName:"jobFaqs"},{name:nt.COMMON_PRELOAD,required:id,propName:"defaultPreload"}]},$f=!0,vee={name:"jobs",component:rj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:$f,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:$f,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:$f,propName:"headerPage"},{name:wa.JOBS_CARDS_LIST,required:$f,propName:"cardsList"},{name:wa.JOBS_BUSINESS_SECTORS_LIST,required:$f,propName:"businessSectorsList"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:$f,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:$f,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:$f,propName:"meta"},{name:nt.COMMON_PRELOAD,required:$f,propName:"defaultPreload"}]},gee={name:"journalist",component:nj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:lc.JOURNALIST_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:lc.JOURNALIST_HEADER_PAGE,required:!0,propName:"headerPage"},{name:lc.JOURNALIST_META,required:!0,propName:"meta"},{name:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,required:!0,propName:"mainInformationBlock"},{name:lc.JOURNALIST_ARTICLES,required:!0,propName:"articles"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Wp=!0,yee={name:"la21e",component:aj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Wp,propName:"headerMini"},{name:Vc.LA21E_BREADCRUMB,required:Wp,propName:"breadcrumb"},{name:Vc.LA21E_HEADER_PAGE,required:Wp,propName:"headerPage"},{name:Vc.LA21E_JSON_LD_BREADCRUMB,required:Wp,propName:"jsonLdBreadcrumb"},{name:Vc.LA21E_META,required:Wp,propName:"meta"},{name:Vc.LA21E_CARDS_LIST,required:Wp,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Wp,propName:"defaultPreload"}]},Yf=!0,bee={name:"legalNoticeDepartment",component:ij,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Yf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Yf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Yf,propName:"headerPage"},{name:la.LEGAL_NOTICE_FAQ,required:Yf,propName:"faq"},{name:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,required:Yf,propName:"cardsList"},{name:la.LEGAL_NOTICE_REGIONS_LIST,required:Yf,propName:"regionsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Yf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Yf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yf,propName:"defaultPreload"}]},Qf=!0,xee={name:"legalNotice",component:sj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Qf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Qf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Qf,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Qf,propName:"departmentsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Qf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Qf,propName:"meta"},{name:la.LEGAL_NOTICE_CONTENT,required:Qf,propName:"content"},{name:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,required:Qf,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Qf,propName:"defaultPreload"}]},Uh=!0,Aee={name:"legalNoticeHome",component:oj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Uh,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Uh,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Uh,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Uh,propName:"departmentsList"},{name:la.LEGAL_NOTICE_CARDS_LIST,required:Uh,propName:"cardsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Uh,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Uh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Uh,propName:"defaultPreload"}]},_ee={name:"live",component:uj,expiration:30,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:fu.LIVE_INDICATOR,required:!0,propName:"liveIndicator"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:fu.LIVE_PRELOAD,required:!1,propName:"preload"},{name:fu.LIVE_TOP_CONTENT,required:!0,propName:"topContent"},{name:fu.LIVE_POSTS_THREAD,required:!0,propName:"livePostsThread"},{name:fu.LIVE_IMPORTANT_POSTS_THREAD,required:!0,propName:"liveImportantPostsThread"},{name:wr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockAbove"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:fu.LIVE_JSON_LD_LIVE_BLOG_POSTING,required:!1,propName:"jsonLdLiveBlogPosting"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:fu.LIVE_QUESTION,required:!1,propName:"liveQuestion"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},$p=!0,Eee={name:"mobileApps",component:lj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:$p,propName:"headerMini"},{name:Gc.MOBILE_APPS_BREADCRUMB,required:$p,propName:"breadcrumb"},{name:Gc.MOBILE_APPS_HEADER_PAGE,required:$p,propName:"headerPage"},{name:Gc.MOBILE_APPS_JSON_LD_BREADCRUMB,required:$p,propName:"jsonLdBreadcrumb"},{name:Gc.MOBILE_APPS_META,required:$p,propName:"meta"},{name:Gc.MOBILE_APPS_CARDS_LIST,required:$p,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:$p,propName:"defaultPreload"}]},Yp=!0,wee={name:"mostCommented",component:cj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Yp,propName:"headerMini"},{name:R0.MOST_COMMENTED_BREADCRUMB,required:Yp,propName:"breadcrumb"},{name:R0.MOST_COMMENTED_HEADER_PAGE,required:Yp,propName:"headerPage"},{name:R0.MOST_COMMENTED_ARTICLES,required:Yp,propName:"mostCommentedArticles"},{name:R0.MOST_COMMENTED_META,required:Yp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Yp,propName:"toolbar"}]},Qp=!0,See={name:"mostRead",component:dj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Qp,propName:"headerMini"},{name:O0.MOST_READ_BREADCRUMB,required:Qp,propName:"breadcrumb"},{name:O0.MOST_READ_HEADER_PAGE,required:Qp,propName:"headerPage"},{name:O0.MOST_READ_ARTICLES,required:Qp,propName:"mostReadArticles"},{name:O0.MOST_READ_META,required:Qp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Qp,propName:"toolbar"}]},Jp=!0,Cee={name:"mostShared",component:fj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Jp,propName:"headerMini"},{name:M0.MOST_SHARED_BREADCRUMB,required:Jp,propName:"breadcrumb"},{name:M0.MOST_SHARED_HEADER_PAGE,required:Jp,propName:"headerPage"},{name:M0.MOST_SHARED_ARTICLES,required:Jp,propName:"mostSharedArticles"},{name:M0.MOST_SHARED_META,required:Jp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Jp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Jp,propName:"toolbar"}]},Tee={name:"movies",component:hj,expiration:3600*5,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Al.MOVIES_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Al.MOVIES_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Al.MOVIES_META,required:!0,propName:"meta"},{name:Al.MOVIES_LIST,required:!0,propName:"moviesList"},{name:Al.MOVIES_NAVIGATION,required:!0,propName:"moviesNavigation"},{name:Al.MOVIES_MOST_READ_ASIDE,required:!0,propName:"mostReadArticles"}]},Zp=!0,Nee={name:"news",component:pj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Zp,propName:"headerMini"},{name:Kc.NEWS_BREADCRUMB,required:Zp,propName:"breadcrumb"},{name:Kc.NEWS_HEADER_PAGE,required:Zp,propName:"headerPage"},{name:Kc.NEWS_ARTICLES_BY_TAGS,required:Zp,propName:"articlesByTag"},{name:Kc.NEWS_JSON_LD_BREADCRUMB,required:Zp,propName:"jsonLdBreadcrumb"},{name:Kc.NEWS_META,required:Zp,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:Zp,propName:"toolbar"}]},Dee={name:"partner",component:vj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"}]},Iee={name:"quiz",component:gj,expiration:300,components:[...Qr,{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Fg.QUIZ_ARTICLES_LIST,required:!0,propName:"articlesList"}]},cm=!0,Ree={name:"rewind",component:yj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:cm,propName:"headerMini"},{name:k0.REWIND_BREADCRUMB,required:cm,propName:"breadcrumb"},{name:k0.REWIND_LIST,required:cm,propName:"rewindList"},{name:k0.REWIND_JSON_LD_BREADCRUMB,required:cm,propName:"jsonLdBreadcrumb"},{name:k0.REWIND_META,required:cm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:cm,propName:"defaultPreload"}]},Xp=!0,Oee={name:"search",component:bj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Xp,propName:"headerMini"},{name:B0.SEARCH_BREADCRUMB,required:Xp,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Xp,propName:"mostReadArticles"},{name:B0.SEARCH_HEADER_PAGE,required:Xp,propName:"headerPage"},{name:B0.SEARCH_JSON_LD_BREADCRUMB,required:Xp,propName:"jsonLdBreadcrumb"},{name:B0.SEARCH_META,required:Xp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Xp,propName:"defaultPreload"}]},qh=!0,jee={name:"service",component:xj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:qh,propName:"headerMini"},{name:Wc.SERVICE_BREADCRUMB,required:qh,propName:"breadcrumb"},{name:Wc.SERVICE_HEADER_PAGE,required:qh,propName:"headerPage"},{name:Wc.SERVICE_JSON_LD_BREADCRUMB,required:qh,propName:"jsonLdBreadcrumb"},{name:Wc.SERVICE_META,required:qh,propName:"meta"},{name:Wc.SERVICE_CARDS_LIST,required:qh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:qh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:qh,propName:"toolbar"}]},zh=!0,Mee={name:"shoppingGuide",component:Aj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:zh,propName:"headerMini"},{name:$c.SHOPPING_GUIDE_BREADCRUMB,required:zh,propName:"breadcrumb"},{name:$c.SHOPPING_GUIDE_HEADER_PAGE,required:zh,propName:"headerPage"},{name:$c.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,required:zh,propName:"jsonLdBreadcrumb"},{name:$c.SHOPPING_GUIDE_META,required:zh,propName:"meta"},{name:$c.SHOPPING_GUIDE_CARDS_LIST,required:zh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:zh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:zh,propName:"toolbar"}]},e1=!0,Lee={name:"sitemap",component:_j,expiration:3600*24,components:[...Qr,{name:El.SITEMAP_BREADCRUMB,required:e1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:e1,propName:"mostReadArticles"},{name:El.SITEMAP_HEADER_PAGE,required:e1,propName:"headerPage"},{name:El.SITEMAP_TAGS_LIST,required:e1,propName:"sitemapTagsList"},{name:El.SITEMAP_BOTTOM_BULLETED_LIST,required:e1,propName:"bottomBulletedList"},{name:El.SITEMAP_TOP_BULLETED_LIST,required:e1,propName:"topBulletedList"},{name:El.SITEMAP_META,required:e1,propName:"meta"}]},kee={name:"story",component:wj,expiration:300,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:Hg.SLIDESHOW_CONTENT,required:!0,propName:"slideshowContent"},{name:Th.STORY_TOP_CONTENT,required:!0,propName:"topContent"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:Th.STORY_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:Th.STORY_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"}]},Jf=!0,Bee={name:"sport",component:Sj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Jf,propName:"headerMini"},{name:wl.SPORT_BREADCRUMB,required:Jf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Jf,propName:"mostReadArticles"},{name:wl.SPORT_SIDEBAR,required:Jf,propName:"sidebar"},{name:wl.SPORT_HEADER_PAGE,required:Jf,propName:"headerPage"},{name:wl.SPORT_JSON_LD_BREADCRUMB,required:Jf,propName:"jsonLdBreadcrumb"},{name:wl.SPORT_CONTENT,required:Jf,propName:"content"},{name:wl.SPORT_META,required:Jf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Jf,propName:"defaultPreload"}]},Pee={name:"static",component:Cj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:z1.STATIC_CONTENT,required:!0,propName:"content"},{name:z1.STATIC_META,required:!0,propName:"meta"}]},Fee={name:"tag",component:Tj,expiration:900,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Ka.TAG_OVERVIEW_BAR,required:!1,propName:"overviewBar"},{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_ARTICLES_LIST_TOP,required:!0,propName:"articlesListTop"},{name:Ka.TAG_NEWS_CAROUSEL,required:!1,propName:"newsCarousel"},{name:Ka.TAG_ARTICLES_LIST_BOTTOM,required:!0,propName:"articlesListBottom"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,required:!1,propName:"brandPublishingArticleBottom"},{name:nt.COMMON_TOOLBAR,required:!1,propName:"toolbar"}]},t1=!0,Hee={name:"traffic",component:Dj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:t1,propName:"headerMini"},{name:P0.TRAFFIC_BREADCRUMB,required:t1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:t1,propName:"mostReadArticles"},{name:P0.TRAFFIC_HEADER_PAGE,required:t1,propName:"headerPage"},{name:P0.TRAFFIC_JSON_LD_BREADCRUMB,required:t1,propName:"jsonLdBreadcrumb"},{name:P0.TRAFFIC_META,required:t1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:t1,propName:"defaultPreload"}]},Uee={name:"tvHome",component:Ij,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Nh.TV_HOME_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Nh.TV_HOME_META,required:!0,propName:"meta"},{name:Nh.TV_HOME_TOP_BLOCK,required:!0,propName:"topBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},qee={name:"tvLive",component:Rj,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Yc.TV_LIVE_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Yc.TV_LIVE_META,required:!0,propName:"meta"},{name:Yc.TV_LIVE_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Yc.TV_LIVE_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Yc.TV_LIVE_TIMELINE,required:!0,propName:"timeline"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},zee={name:"tvMostRecent",component:Oj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:j0.TV_MOST_RECENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:j0.TV_MOST_RECENT_HEADER_PAGE,required:!0,propName:"headerPage"},{name:j0.TV_MOST_RECENT_VIDEOS_LIST,required:!0,propName:"videosList"},{name:j0.TV_MOST_RECENT_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Vee={name:"tvMostViewed",component:jj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:L0.TV_MOST_VIEWED_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:L0.TV_MOST_VIEWED_HEADER_PAGE,required:!0,propName:"headerPage"},{name:L0.TV_MOST_VIEWED_VIDEOS_LIST,required:!0,propName:"videosList"},{name:L0.TV_MOST_VIEWED_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Gee={name:"tvShow",component:Mj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:F0.TV_SHOW_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:F0.TV_SHOW_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:F0.TV_SHOW_META,required:!0,propName:"meta"},{name:F0.TV_SHOW_MAIN_BLOCK,required:!0,propName:"mainBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Kee={name:"tvShows",component:Lj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:H0.TV_SHOWS_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:H0.TV_SHOWS_META,required:!0,propName:"meta"},{name:H0.TV_SHOWS_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:H0.TV_SHOWS_PROGRAMS,required:!0,propName:"programs"}]},Wee={name:"tvVideo",component:kj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ko.TV_VIDEO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ko.TV_VIDEO_META,required:!0,propName:"meta"},{name:ko.TV_VIDEO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ko.TV_VIDEO_PAGE_TITLE,required:!0,propName:"pageTitle"},{name:ko.TV_VIDEO_TOP_BLOCK,required:!0,propName:"topBlock"},{name:ko.TV_VIDEO_MOST_VIDEOS,required:!0,propName:"mostVideos"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:ko.TV_VIDEO_BACKGROUND_IMAGE,required:!0,propName:"backgroundImg"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:ko.TV_VIDEO_EXTRACTS_AND_REPLAYS,required:!0,propName:"extractsAndReplays"},{name:ko.TV_VIDEO_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"}]},dm=!0,$ee={name:"utiq",component:Bj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:dm,propName:"headerMini"},{name:U0.UTIQ_BREADCRUMB,required:dm,propName:"breadcrumb"},{name:U0.UTIQ_HEADER_PAGE,required:dm,propName:"headerPage"},{name:U0.UTIQ_JSON_LD_BREADCRUMB,required:dm,propName:"jsonLdBreadcrumb"},{name:U0.UTIQ_META,required:dm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:dm,propName:"defaultPreload"}]},r1=!0,Yee={name:"weather",component:Pj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:r1,propName:"headerMini"},{name:q0.WEATHER_BREADCRUMB,required:r1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:r1,propName:"mostReadArticles"},{name:q0.WEATHER_HEADER_PAGE,required:r1,propName:"headerPage"},{name:q0.WEATHER_JSON_LD_BREADCRUMB,required:r1,propName:"jsonLdBreadcrumb"},{name:q0.WEATHER_META,required:r1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:r1,propName:"defaultPreload"}]},uv=!0,Qee={name:"whyCreateAccount",component:Fj,expiration:3600*24*30,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:uv,propName:"headerMini"},{name:Dh.WHY_CREATE_ACCOUNT_BREADCRUMB,required:uv,propName:"breadcrumb"},{name:nt.COMMON_PRELOAD,required:uv,propName:"defaultPreload"},{name:Dh.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,required:uv,propName:"jsonLdBreadcrumb"},{name:Dh.WHY_CREATE_ACCOUNT_META,required:uv,propName:"meta"}]},Jee=[QX,JX,ZX,XX,eee,tee,ree,nee,aee,iee,oee,see,uee,lee,cee,dee,fee,hee,pee,mee,vee,gee,yee,bee,Aee,xee,_ee,Eee,wee,See,Cee,Tee,Nee,Dee,Iee,Ree,Oee,jee,Mee,Lee,kee,Bee,Pee,Fee,Hee,Uee,qee,zee,Vee,Gee,Kee,Wee,$ee,Yee,Qee];we.AIArticlesList=bb,we.Accordion=qg,we.AdIframePage=TO,we.AnimalQuizPage=MO,we.ArchiveByDayPage=LO,we.ArchiveByYearPage=kO,we.ArchivePdfList=lR,we.ArticleMobileHeader=dR,we.ArticlePage=HO,we.ArticleSummary=JD,we.ArticlesBlockHeader=w3,we.ArticlesInRow=rd,we.ArticlesInRowMap=FR,we.ArticlesListTop=KR,we.ArticlesWithMain=K2,we.AstroHomePage=UO,we.AstroHomepageContent=ZD,we.AstroLinksNextTypes=XD,we.AstroPage=qO,we.BackgroundImage=M5,we.BlockedGameBlock=aI,we.BulletedListMap=pR,we.COMPONENT_CONFIGS=TX,we.CardExtraLarge=s$,we.CardMostList=$R,we.CardWithSummaryList=YR,we.CardsList=jl,we.CityByCityBlock=TR,we.ComponentNameAdIframe=Pg,we.ComponentNameAnimalQuiz=qc,we.ComponentNameArchives=ao,we.ComponentNameArticle=xl,we.ComponentNameAstro=ka,we.ComponentNameCommon=nt,we.ComponentNameContact=Uu,we.ComponentNameContent=wr,we.ComponentNameDirect=Hd,we.ComponentNameElections=ar,we.ComponentNameElectionsAiArticles=zc,we.ComponentNameError=q1,we.ComponentNameExtTefal=Ch,we.ComponentNameGame=Vn,we.ComponentNameHome=Ir,we.ComponentNameJobs=wa,we.ComponentNameJournalist=lc,we.ComponentNameLa21e=Vc,we.ComponentNameLegalNotice=la,we.ComponentNameLive=fu,we.ComponentNameMobileApps=Gc,we.ComponentNameMostCommented=R0,we.ComponentNameMostRead=O0,we.ComponentNameMostShared=M0,we.ComponentNameMovies=Al,we.ComponentNameNews=Kc,we.ComponentNameQuiz=Fg,we.ComponentNameRewind=k0,we.ComponentNameRubric=_l,we.ComponentNameSearch=B0,we.ComponentNameService=Wc,we.ComponentNameShoppingGuide=$c,we.ComponentNameSitemap=El,we.ComponentNameSlideshow=Hg,we.ComponentNameSport=wl,we.ComponentNameStatic=z1,we.ComponentNameStory=Th,we.ComponentNameTag=Ka,we.ComponentNameTraffic=P0,we.ComponentNameTvHome=Nh,we.ComponentNameTvLive=Yc,we.ComponentNameTvMostRecent=j0,we.ComponentNameTvMostViewed=L0,we.ComponentNameTvShow=F0,we.ComponentNameTvShows=H0,we.ComponentNameTvVideo=ko,we.ComponentNameUtiq=U0,we.ComponentNameWeather=q0,we.ComponentNameWhyCreateAccount=Dh,we.ContactAddresses=mR,we.ContactDetails=vR,we.ContactForm=gR,we.ContactPage=zO,we.Content=rm,we.ContentCover=t8,we.ContentTemplate=q3,we.DigitekaSmartPlayer=vb,we.DirectPage=VO,we.DirectTabs=gJ,we.ElectionsAIArticlesPage=GO,we.ElectionsDistribution=yR,we.ElectionsEmbedPage=KO,we.ElectionsHomePage=WO,we.ElectionsMapConstituencies=bR,we.ElectionsMapDepartments=xR,we.ElectionsMapEurope=AR,we.ElectionsMapTownsByDepartments=_R,we.ElectionsMultipleResults=ER,we.ElectionsPage=$O,we.ElectionsResults=im,we.ElectionsResultsFiltered=wR,we.ElectionsSummary=SR,we.EntertainmentBlock=L5,we.EntertainmentCarousel=o8,we.ErrorPage=YO,we.ExtTefalPage=QO,we.ExternalAdElement=R9,we.ExtraSmallArticlesBlock=NR,we.Faq=k5,we.FaqList=rI,we.FavoriteGamesBlock=yJ,we.GameAd=O9,we.GameAppPage=JO,we.GameContact=nI,we.GameHomePage=ZO,we.GameIframe=P5,we.GamePage=XO,we.GamePageHeader=n8,we.GamesAccordion=H5,we.GamesCarousel=DR,we.GamesList=i8,we.HeaderPage=Bo,we.HomePage=ej,we.HomeTopBlock=IR,we.HomeVideosTopBlock=QR,we.HtmlComment=Sl,we.HtmlTemplate=av,we.IdalgoWidget=gb,we.ImagesGrid=iI,we.InfoBanner=C3,we.InfoLine=oI,we.JobDetailsPage=tj,we.JobsPage=rj,we.JournalistPage=nj,we.JsonLdBreadcrumb=Ra,we.JsonLdClaimReview=j9,we.JsonLdFaq=yb,we.JsonLdLiveBlogPosting=M9,we.JsonLdNewsArticle=Ug,we.La21ePage=aj,we.LastArticlesBlock=T3,we.LatestContentsCarousel=fR,we.LegalNoticeCardsList=N3,we.LegalNoticeContent=sI,we.LegalNoticeDepartmentPage=ij,we.LegalNoticeHomePage=oj,we.LegalNoticePage=sj,we.LiveInProgressBlock=O2,we.LiveIndicator=U5,we.LivePage=uj,we.LivePost=kR,we.LivePostContent=uI,we.LivePostsContainer=h8,we.LivePostsThread=BR,we.LocalNews=RR,we.MainInformationBlock=LR,we.Meta=En,we.MobileAppsPage=lj,we.MonthsList=cR,we.MostCommentedPage=cj,we.MostReadArticles=s8,we.MostReadArticlesBlock=B3,we.MostReadPage=dj,we.MostSharedPage=fj,we.MoviesList=PR,we.MoviesNavigation=lI,we.MoviesPage=hj,we.MunicipalBlock=OR,we.NewsPage=pj,we.PAGE_CONFIGS=Jee,we.PageTemplate=Wr,we.PageType=cn,we.PartnerPage=vj,we.PartnersBlock=jR,we.Preload=V1,we.PromoBanner=j2,we.QuizList=HR,we.QuizPage=gj,we.REACTION_TYPES=Bg,we.ReadAlsoBlock=hR,we.RefreshButton=k9,we.RewindList=UR,we.RewindPage=yj,we.RubricsCarousels=r8,we.ScriptGlobalsInit=L9,we.SearchBanner=rR,we.SearchPage=bj,we.Section=Ph,we.ServicePage=xj,we.ShoppingGuidePage=Aj,we.ShowCover=nR,we.ShowMainBlock=eO,we.ShowsReplaysCarousel=tO,we.SideBrandsArticles=P3,we.SitemapPage=_j,we.SitemapTagsList=qR,we.SlideshowPage=wj,we.SlideshowStories=zR,we.SlideshowStory=aR,we.SponsoredBlock=vJ,we.SportPage=Sj,we.SportSidebar=VR,we.StaticCardList=W2,we.StaticContent=iR,we.StaticPage=Cj,we.TagCarousel=GR,we.TagPage=Tj,we.TemplateType=U3,we.ThirdpartyScripts=D9,we.TrafficPage=Dj,we.TvBlock=MR,we.TvExtractsAndReplaysBlock=u8,we.TvHomePage=Ij,we.TvLivePage=Rj,we.TvLiveTopBlock=oR,we.TvMostBlock=WR,we.TvMostRecentPage=Oj,we.TvMostViewedPage=jj,we.TvShowPage=Mj,we.TvShowsPage=Lj,we.TvVideoPage=kj,we.TvVideoTopBlock=sR,we.UtiqPage=Bj,we.WeatherPage=Pj,we.WhyCreateAccountPage=Fj,we.YearsList=uR,we.displayContentDate=XU,we.draftToHTML=tm,we.draftToReact=Yd,we.excludedRubricsForReactions=wO,we.formatDateWithSlash=fb,we.formatTimestampToYYYYMMDD=aq,we.fromGlobalId=I5,we.getDepartmentFromTags=pO,we.getDepartments=hO,we.getEmptyReactionListItems=mb,we.getFormatedRelativeTime=cb,we.getIllustrationPhoto=Fh,we.getImageCaption=$2,we.getReactionCount=C9,we.getReactionListItems=T9,we.getStoryMedias=Up,we.getTabItem=J2,we.getThemeColorBySlug=Q2,we.isNotNullOrUndefined=f8,we.mockDaysAgo=nq,we.mockHoursAgo=rq,we.mockMinutesAgo=tq,we.secondsToMinSec=kg,we.toGlobalId=QW,we.transformArticlesForDirectPage=oO,we.transformArticlesForJournalistPage=vO,we.transformArticlesForQuizPage=SO,we.transformArticlesForTagPage=g8,we.transformContentsForLatestContentsCarousel=aO,we.transformContentsForLiveAndMostRead=iO,we.transformContentsForLocalNews=mO,we.transformContentsForMostRead=CO,we.transformContentsForMostReadPage=_O,we.transformContentsForTVExtractsOrReplays=ZR,we.transformDateFormat=hb,we.transformLegalNoticesForLegalPage=d8,we.transformLivePostsForLivePage=yO,we.transformMoviesForMoviesPage=EO,we.transformPDFsForArchivePage=rO,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}));
|
|
244
|
+
`)}removeWhitespace(){let t=0;this.childNodes.forEach(o=>{if(o.nodeType===3){if(o.isWhitespace)return;o.rawText=o.trimmedRawText}else o.nodeType===1&&o.removeWhitespace();this.childNodes[t++]=o}),this.childNodes.length=t;const r=Object.keys(this.rawAttributes).map(o=>{const s=this.quoteAttribute(this.rawAttributes[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" ");return this.rawAttrs=r,delete this._rawAttrs,this}querySelectorAll(t){return IW(t,this,{xmlMode:!0,adapter:x3})}querySelector(t){return BD(t,this,{xmlMode:!0,adapter:x3})}matches(t){return RW(this,t,{xmlMode:!0,adapter:x3})}getElementsByTagName(t){const r=t.toUpperCase(),o=[],s=[];let l=this,c=0;for(;c!==void 0;){let h;do h=l.childNodes[c++];while(c<l.childNodes.length&&h===void 0);if(h===void 0){l=l.parentNode,c=s.pop();continue}h.nodeType===1&&((t==="*"||h.tagName===r)&&o.push(h),h.childNodes.length>0&&(s.push(c),l=h,c=0))}return o}getElementById(t){const r=[];let o=this,s=0;for(;s!==void 0;){let l;do l=o.childNodes[s++];while(s<o.childNodes.length&&l===void 0);if(l===void 0){o=o.parentNode,s=r.pop();continue}if(l.nodeType===1){if(l._id===t)return l;l.childNodes.length>0&&(r.push(s),o=l,s=0)}}return null}closest(t){const r=new Map;let o=this,s=null;function l(c,h){let v=null;for(let p=0,x=h.length;p<x&&!v;p++){const w=h[p];if(c(w))v=w;else{const _=r.get(w);_&&(v=l(c,[_]))}}return v}for(;o;)r.set(o,s),s=o,o=o.parentNode;for(o=this;o;){const c=BD(t,o,{xmlMode:!0,adapter:Lh(Lh({},x3),{},{getChildren(h){const v=r.get(h);return v&&[v]},getSiblings(h){return[h]},findOne:l,findAll(){return[]}})});if(c)return c;o=o.parentNode}return null}appendChild(t){return this.append(t),t}get attrs(){if(this._attrs)return this._attrs;this._attrs={};const t=this.rawAttributes;for(const r in t){const o=t[r]||"";this._attrs[r.toLowerCase()]=R2(o)}return this._attrs}get attributes(){const t={},r=this.rawAttributes;for(const o in r)t[o]=R2(r[o]||"");return t}get rawAttributes(){if(this._rawAttrs)return this._rawAttrs;const t={};if(this.rawAttrs){const r=/([_a-zA-Z()[\]#@$.?:][a-zA-Z0-9-._:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;let o;for(;o=r.exec(this.rawAttrs);){const s=o[1];if(s==="__proto__")continue;let l=o[2]||null;l&&(l[0]==="'"||l[0]==='"')&&(l=l.slice(1,l.length-1)),t[s]=t[s]||l}}return this._rawAttrs=t,t}removeAttribute(t){const r=this.rawAttributes;return delete r[t],this._attrs&&delete this._attrs[t],this.rawAttrs=Object.keys(r).map(o=>{const s=this.quoteAttribute(r[o]);return s==="null"||s==='""'?o:`${o}=${s}`}).join(" "),t==="id"&&(this._id=""),this}hasAttribute(t){return t.toLowerCase()in this.attrs}getAttribute(t){return this.attrs[t.toLowerCase()]}setAttribute(t,r){if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");const o=t.toLowerCase(),s=this.rawAttributes;for(const l in s)if(l.toLowerCase()===o){t=l;break}return s[t]=String(r),this._attrs&&(this._attrs[o]=R2(s[t])),this.rawAttrs=Object.keys(s).map(l=>{const c=this.quoteAttribute(s[l]);return c==="null"||c==='""'?l:`${l}=${c}`}).join(" "),t==="id"&&(this._id=r),this}setAttributes(t){return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(t).map(r=>{const o=t[r];return o==="null"||o==='""'?r:`${r}=${this.quoteAttribute(String(o))}`}).join(" "),"id"in t&&(this._id=t.id),this}insertAdjacentHTML(t,r){if(arguments.length<2)throw new Error("2 arguments required");const o=Bp(r,this._parseOptions);if(t==="afterend")this.after(...o.childNodes);else if(t==="afterbegin")this.prepend(...o.childNodes);else if(t==="beforeend")this.append(...o.childNodes);else if(t==="beforebegin")this.before(...o.childNodes);else throw new Error(`The value provided ('${t}') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'`);return this}prepend(...t){const r=A3(t);G0(r,this),this.childNodes.unshift(...r)}append(...t){const r=A3(t);G0(r,this),this.childNodes.push(...r)}before(...t){const r=A3(t),o=this.parentNode.childNodes;G0(r,this.parentNode),o.splice(o.indexOf(this),0,...r)}after(...t){const r=A3(t),o=this.parentNode.childNodes;G0(r,this.parentNode),o.splice(o.indexOf(this)+1,0,...r)}get nextSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=0;for(;r<t.length;){const o=t[r++];if(this===o)return t[r]||null}return null}}get nextElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=0,o=!1;for(;r<t.length;){const s=t[r++];if(o){if(s instanceof Qy)return s||null}else this===s&&(o=!0)}return null}}get previousSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=t.length;for(;r>0;){const o=t[--r];if(this===o)return t[r-1]||null}return null}}get previousElementSibling(){if(this.parentNode){const t=this.parentNode.childNodes;let r=t.length,o=!1;for(;r>0;){const s=t[--r];if(o){if(s instanceof Qy)return s||null}else this===s&&(o=!0)}return null}}get children(){const t=[];for(const r of this.childNodes)r instanceof Qy&&t.push(r);return t}get firstChild(){return this.childNodes[0]}get firstElementChild(){return this.children[0]}get lastChild(){return Bh(this.childNodes)}get lastElementChild(){return this.children[this.children.length-1]}get childElementCount(){return this.children.length}get classNames(){return this.classList.toString()}clone(){return Bp(this.toString(),this._parseOptions).firstChild}};const VW=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,GW=/<!--[\s\S]*?-->|<!\[CDATA\[[\s\S]*?\]\]>|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z@\xB7\xC0-\xD6\xD8-\xF6\u00F8-\u03A1\u03A3-\u03D9\u03DB-\u03EF\u03F7-\u03FF\u0400-\u04FF\u0500-\u052F\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E00-\u1E9B\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA78E\uA790-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64-\uAB65\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\x37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/gu,KW=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,VD={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0},dt:{dt:!0,dd:!0,DT:!0,DD:!0},DT:{dt:!0,dd:!0,DT:!0,DD:!0},dd:{dt:!0,dd:!0,DT:!0,DD:!0},DD:{dt:!0,dd:!0,DT:!0,DD:!0}},GD={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0},dt:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},DT:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},dd:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0},DD:{dl:!0,body:!0,html:!0,DL:!0,BODY:!0,HTML:!0}},KD={p:{a:!0,audio:!0,del:!0,ins:!0,map:!0,noscript:!0,video:!0}},D5="documentfragmentcontainer";function WD(e,t={}){var r,o;const s=new qD(t==null||(r=t.voidTag)===null||r===void 0?void 0:r.closingSlash,t==null||(o=t.voidTag)===null||o===void 0?void 0:o.tags),l=e.includes("<![CDATA["),c=l?GW:VW,h=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},v=Object.keys(h),p=v.map(ie=>new RegExp(`^${ie}$`,"i")),x=v.filter(ie=>!!h[ie]).map(ie=>new RegExp(`^${ie}$`,"i"));function w(ie){return x.some(te=>te.test(ie))}function _(ie){return p.some(te=>te.test(ie))}const D=(ie,te)=>[ie-Q,te-Q],S=new N5(null,{},"",null,[0,e.length],s,t);let T=S;const C=[S];let O=-1,L,P;e=`<${D5}>${e}</${D5}>`;const{lowerCaseTagName:z,fixNestedATags:U}=t,W=e.length-28,Q=27;for(c.lastIndex=0;P=c.exec(e);){let{0:ie,1:te,2:J,3:V,4:X}=P;const se=ie.length,ce=c.lastIndex-se,Ee=c.lastIndex;if(O>-1&&O+se<Ee){const Re=e.substring(O,ce);T.appendChild(new zf(Re,null,D(O,ce)))}if(O=c.lastIndex,l&&ie.startsWith("<![CDATA[")){T.appendChild(new zf(ie,null,D(ce,Ee)));continue}if(J!==D5){if(ie[1]==="!"){if(t.comment){const Re=e.substring(ce+4,Ee-3);T.appendChild(new oD(Re,null,D(ce,Ee)))}continue}if(z&&(J=J.toLowerCase()),!te){const Re={};for(let je;je=KW.exec(V);){const{1:Be,2:Ae}=je,Rt=Ae[0]==="'"||Ae[0]==='"';Re[Be.toLowerCase()]=Rt?Ae.slice(1,Ae.length-1):Ae}const Ue=T.rawTagName;!X&&!t.preserveTagNesting&&VD[Ue]&&VD[Ue][J]&&(C.pop(),T=Bh(C)),U&&(J==="a"||J==="A")&&(L!==void 0&&(C.splice(L),T=Bh(C)),L=C.length);const Ce=c.lastIndex,He=Ce-se;if(T=T.appendChild(new N5(J,Re,V.slice(1),null,D(He,Ce),s,t)),C.push(T),_(J)){const je=`</${J}>`,Be=z?e.toLocaleLowerCase().indexOf(je,c.lastIndex):e.indexOf(je,c.lastIndex),Ae=Be===-1?W:Be;if(w(J)){const Rt=e.substring(Ce,Ae);Rt.length>0&&/\S/.test(Rt)&&T.appendChild(new zf(Rt,null,D(Ce,Ae)))}Be===-1?O=c.lastIndex=e.length+1:(O=c.lastIndex=Be+je.length,te="/")}}if(te||X||s.isVoidElement(J))for(;;)if(L!=null&&(J==="a"||J==="A")&&(L=void 0),T.rawTagName===J){T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);break}else{const Re=T.tagName;if(GD[Re]&&GD[Re][J]){C.pop(),T=Bh(C);continue}const Ue=T.rawTagName?T.rawTagName.toLowerCase():"";if(KD[Ue]){const Ce=J.toLowerCase();if(C.length>1){const He=C[C.length-2];if(He&&He.rawTagName&&He.rawTagName.toLowerCase()===Ce&&!KD[Ue][Ce]){T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);continue}}}if(t.closeAllByClosing===!0){let Ce;for(Ce=C.length-2;Ce>=0&&C[Ce].rawTagName!==J;Ce--);if(Ce>=0){for(;C.length>Ce;)T.range[1]=D(-1,Math.max(O,Ee))[1],C.pop(),T=Bh(C);continue}}break}}}return C}function Bp(e,t={}){const r=WD(e,t),[o]=r;for(;r.length>1;){const s=r.pop(),l=Bh(r);s.parentNode&&s.parentNode.parentNode&&(s.parentNode===l&&s.tagName===l.tagName?t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.parentNode.appendChild(c)}),r.pop()):t.parseNoneClosedTags!==!0&&(l.removeChild(s),s.childNodes.forEach(c=>{l.appendChild(c)})))}return o}function A3(e){return e.map(t=>typeof t=="string"?new zf(t):(t.remove(),t))}function G0(e,t){return e.map(r=>(r.parentNode=t,r))}function WW(e,t={}){return WD(e,t).length===1}function Ki(e,t={}){return Bp(e,t)}Ki.parse=Bp,Ki.HTMLElement=N5,Ki.CommentNode=oD,Ki.valid=WW,Ki.Node=Z1,Ki.TextNode=zf,Ki.NodeType=iD;const $D=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:r,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),r&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:r,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(ve,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(Tn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),$W=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"utf-8").toString("base64"):window.btoa(unescape(encodeURIComponent(e))),YW=e=>typeof window>"u"&&typeof Buffer<"u"?Buffer.from(e,"base64").toString("utf-8"):decodeURIComponent(escape(window?.atob(e))),I5=e=>{const r=YW(e).split(":");return r.length===2?r[1]:""},QW=(e,t)=>$W(`${e}:${t}`),JW=["allow","allowfullscreen","class","data-src","frameborder","height","hspace","id","loading","marginheight","marginwidth","mozallowfullscreen","name","referrerpolicy","sandbox","scrolling","src","style","webkitallowfullscreen","width"].join("|"),ZW=new RegExp(`\\s+title=(["'])([\\s\\S]*?)\\1(?=\\s+(?:${JW})\\b|\\s*\\/?>)`,"gi"),XW=e=>w2(e).replace(/&/g,"&").replace(/"/g,"""),Vf=e=>e.replace(ZW,(t,r,o)=>` title="${XW(o)}"`),Wa=e=>Op.renderToStaticMarkup(e),hu=e=>Op.renderToString(e),YD=e=>(Array.from(e.querySelectorAll("[src]")).forEach(r=>{const o=r.getAttribute("src");o&&(r.setAttribute("data-src",o),r.removeAttribute("src"))}),e),QD=e=>(Array.from(e.querySelectorAll("iframe")).forEach(r=>{r.setAttribute("loading","lazy")}),e),{convertFromRaw:e$}=PA,t$=l5.Parser(),r$=l5.ProcessingInstructions(),R5=e=>typeof e=="string"&&e.replaceAll(/[\p{Cc}\s]/gu,"").toLowerCase().startsWith("javascript:"),O5=e=>{if(Array.isArray(e))return e.map(O5);if(!pe.isValidElement(e))return e;const{children:t,style:r}=e.props,o=O5(t),s=r?Object.fromEntries(Object.entries(r).map(([l,c])=>[l.replace(/^(webkit|moz|o|khtml)(?=[A-Z])/,h=>`${h.charAt(0).toUpperCase()}${h.slice(1)}`),c])):void 0;return pe.cloneElement(e,s?{style:s}:void 0,o)},_3=e=>O5(t$.parseWithInstructions(e,l5.IsValidNodeDefinitions.alwaysValid,r$.defaultProcessingInstructions,[{shouldPreprocessNode:t=>t.attribs?.contenteditable!==void 0||t.name==="iframe"&&(!!t.attribs?.referrerpolicy||t.attribs?.allowfullscreen!==void 0||t.attribs?.allowtransparency!==void 0)||t.name==="a"&&!!t.attribs?.href&&R5(t.attribs.href),preprocessNode:t=>{delete t.attribs?.contenteditable,t.name==="iframe"&&t.attribs&&(t.attribs.referrerpolicy&&(t.attribs.referrerPolicy=t.attribs.referrerpolicy,delete t.attribs.referrerpolicy),t.attribs.allowfullscreen!==void 0&&(t.attribs.allowfullscreen=!0)),delete t.attribs?.allowtransparency,t.name==="a"&&t.attribs?.href&&R5(t.attribs.href)&&delete t.attribs.href}}])),E3=(e,t)=>{let r=e,o="";const s=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi);return s?.length===1&&(r=e.replace(s[0],""),o=s[0].replace(t??"<script>",'<script data-script-loading="lazy">')),{html:r,script:o}},n$={twitter:"xtwitter-3cVkYrxq",tiktok:"tiktok-Hd3BqYVJ",facebook:"facebook-FmRQTGkw",instagram:"instagram-RDffthKi",youtube:"youtube-ceZtLYTL",idalgo:"idalgoco-kWpXzcnt",infogram:"infogrami-9QyDJG6i",qualifio:"qualifioj-xJrbdHny",pinterest:"pinterest-9W3hHUNN",spotify:"spotify-bPVhUtPW"},a$={facebook:{vendorName:"Facebook",privacyPolicyUrl:"https://www.facebook.com/privacy/policy/"},idalgo:{vendorName:"iDalgo",privacyPolicyUrl:"https://www.idalgo.fr/mentions-legales/"},infogram:{vendorName:"Infogram",privacyPolicyUrl:"https://infogram.com/fr/privacy"},instagram:{vendorName:"Instagram",privacyPolicyUrl:"https://privacycenter.instagram.com/policy"},pinterest:{vendorName:"Pinterest",privacyPolicyUrl:"https://policy.pinterest.com/en/privacy-policy"},qualifio:{vendorName:"Qualifio",privacyPolicyUrl:"https://qualifio.com/privacy-policy/"},spotify:{vendorName:"Spotify",privacyPolicyUrl:"https://www.spotify.com/fr/legal/privacy-policy/"},tiktok:{vendorName:"TikTok",privacyPolicyUrl:"https://www.tiktok.com/legal/page/eea/privacy-policy/fr"},x:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},twitter:{vendorName:"X (Twitter)",privacyPolicyUrl:"https://privacy.x.com/en"},youtube:{vendorName:"YouTube",privacyPolicyUrl:"https://www.youtube.com/howyoutubeworks/privacy/"}},tm=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:r="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>{e.entityMap===void 0&&(e.entityMap={}),e.blocks[0]?.text?.startsWith("«")&&(e.blocks[0].text=e.blocks[0].text.replace(/^«(\s|\xA0)/," «"));const c=e$(e),h=(x,w)=>Wa(pe.createElement(cU,{citationText:x,citationAuthor:w,mx:{xs:"m",md:"xxl"}}));let v=0,p=JV({styleToHTML:x=>{const w=x.toLowerCase();switch(w){case"italic":return a.jsx(Me,{as:"span",italic:!0});case"bold":return a.jsx(Me,{as:"span",weight:"bold"});case"gray":return a.jsx(Me,{as:"span",color:"grey-500"});case"red":case"blue":case"purple":case"pink":return a.jsx(Me,{as:"span",color:w});default:return null}},blockToHTML:x=>{switch(x.type){case"unordered-list-item":return{start:"<li>",end:"</li>",nest:"<ul>",nestStart:"<ul>",nestEnd:"</ul>"};case"ordered-list-item":return{start:"<li>",end:"</li>",nest:"<ol>",nestStart:"<ol>",nestEnd:"</ol>"};case"blockquote":return h(x.text);case"header-two-unordered":return{start:'<h2 class="c-content__unordered">',end:"</h2>"};case"header-two-ordered":return{start:'<h2 class="c-content__ordered">',end:"</h2>"};case"unstyled":return x.text===""?pe.createElement("br"):x.text==="OPT_OUT_PIANO"?Wa(pe.createElement(HH,{id:"data-preferences-switch",labelPosition:"after",label:"Mes données de navigation sont collectées à des fins d’analyse statistique"})):null;case"atomic":case"media":return{start:"<unwanted>",end:"</unwanted>"};default:return null}},entityToHTML:(x,w)=>{let _;switch(x.type){case"button":case"LINK":return _=x.data.buttonProps||x.data,pe.createElement(Yt,{href:R5(_.url)?void 0:_.url,rel:_.nofollow&&"nofollow"||_.sponsored&&"sponsored"||void 0,target:_.targetBlank?"_blank":void 0,buttonColor:x.type==="button"?"primary":void 0,...x.type==="LINK"&&{defaultColor:"inherit",isUnderlined:!0}},_.label?_.label:w2(w));case"faq":{_=x.data;const D=v;return v+=1,pe.createElement(Mf,{index:D,textTitleProps:{children:_.faqProps.title},isOpen:!1,contentWithBorder:!1,bg:"grey-100",iconProps:{color:"ultramarine"}},pe.createElement(be,{className:"c-content"},_3(tm({rawDraftContent:_.faqProps.content,pageEndpoint:t}))))}case"article":return _=x.data,_.articleProps?Wa(pe.createElement(PH,{title:_.articleProps.meta.title,link:_.articleProps.meta.canonical,image:_.articleProps.meta["photo.id"]?`${r}/${_.articleProps.meta["photo.id"]}/%format`:void 0,isTargetBlank:_.isTargetBlank,isNofollow:_.isNofollow,isSponsored:_.isSponsored,isInArticle:!0})):w;case"html":{if(_=x.data,!_.htmlProps)return w;const{html:D,script:S}=E3(_.htmlProps.html);return Wa(pe.createElement("div",{dangerouslySetInnerHTML:{__html:`${D.trim()} ${S}`}}))}case"image":{_=x.data;let{src:D}=_.imageProps;if(_.imageProps?.meta?.host&&_.imageProps?.meta?.id){let{host:S}=_.imageProps.meta;S.endsWith("/")||(S=`${S}/`),D=`${S}${I5(_.imageProps.meta.id)}/%format`;const{topleft_x:T,topleft_y:C,width_ratio:O}=_?.imageProps?.meta?.crop??{};T&&C&&O&&(D=`${D}-${T}x${C}-${O}`)}return Wa(pe.createElement(kd,{type:du.photo,src:D,imgProps:{defaultFormat:"718x0",formats:["590x0","342x0","211x0"],sizes:"(min-width: 1640px) 718px, (min-width: 1440px) calc(40vw + 70px), (min-width: 1080px) 590px, (min-width: 780px) calc(88.57vw - 349px), (min-width: 660px) calc(100vw - 414px), 211px"},caption:_.imageProps.meta?.caption,credits:_.imageProps.meta?.credit,source:_.imageProps.meta?.source,..._.imageProps.width?{style:{maxWidth:_.imageProps.width,width:"100%"}}:{}}))}case"digiteka":{if(_=x.data,!_.videoProps)return w;let{html:D}=_.videoProps;return D=Vf(D),l&&["production","publicommunique","magazine"].includes(l)&&(D=D.replace("/zone/1/","/zone/17/").replace("/zone/11/","/zone/17/")),Wa(pe.createElement(GH,{html:D}))}case"podcast":{if(_=x.data,!_.podcastProps?.html)return w;const{html:D,script:S}=E3(_.podcastProps.html);return Wa(pe.createElement(kd,{type:du.podcast,src:`${D} ${S}`,className:"embed-wrapper u-hidden"}))}case"iframely":{if(_=x.data,!_.embedProps||!_.embedProps.html&&x.data.embedProps.meta?.site?.toLowerCase()!=="twitch")return w;let{html:D}=_.embedProps;const{meta:S}=_.embedProps;let T="";if(S?.site?.toLowerCase()==="infogram"){const{html:W,script:Q}=E3(D);D=W,T=Q}if(S?.site?.toLowerCase()==="qualifio"){const{html:W,script:Q}=E3(D,'<script type="text/javascript">');D=W,T=Q}if(S?.site?.toLowerCase()==="twitch"){const W=/([^/]+$)/.exec(S.canonical);W&&(D=`<iframe src="https://player.twitch.tv/?video=${W[0]}&parent=${new URL(t).host}&autoplay=false" title='Twitch embed' width='100%' height='350px' style={{ position: 'absolute', top: 0, left: 0 }}/>`)}if(!o)return Wa(pe.createElement(rb,{html:`${D}${T}`}));let C=Ki.parse(D);C=YD(C),C=QD(C);let O=pe.createElement(rb,{key:S?.title,html:`${C}${T}`});S?.site==="idalgo"&&S?.type==="widget"&&(O=pe.createElement(gb,{key:S?.title,src:S?.canonical||""}));let L="embed-placeholder",P,z;if(S?.site){const W=S.site.toLowerCase();L=`embed-placeholder u-placeholder-${W}`,P=n$[W],z=a$[W]}const U={className:L};return P&&(U["data-vendor"]=P),Wa(pe.createElement("div",U,pe.createElement("div",{className:"embed-wrapper u-hidden"},O),pe.createElement($D,z)))}case"quote":return h(x.data.quoteProps.value,x.data.quoteProps.author);case"flinkRelatedContent":return"";case"table":{_=x.data;const D=T=>{const C={blocks:T.blocks,entityMap:T.entityMap};return _3(tm({rawDraftContent:C,pageEndpoint:t}))},S=_.tableProps.rows.map(T=>T.cells.map(C=>D(C)));return Wa(pe.createElement(kU,{hasHeader:_.tableProps.hasHeader,tableProps:S}))}default:return w}},validateHTML:x=>{try{return hu(_3(x)),!0}catch(w){return w instanceof Error?console.warn(`HTML for the block is not valid: ${w.message}`):console.warn("HTML for the block is not valid"),!1}}})(c);return p=p.replaceAll(/<\/?unwanted>/gi,""),s&&(p=p.replaceAll(/<br\/>/gi," ")),p},Yd=({rawDraftContent:e,pageEndpoint:t="https://www.20minutes.fr",imgEndpoint:r="https://img.20mn.fr",withCmp:o=!0,trimBr:s=!1,subType:l})=>_3(tm({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o,trimBr:s,subType:l})),JD=({summary:e,...t})=>e?a.jsx(VH,{...t,summary:Yd({rawDraftContent:e,trimBr:!0})}):null,w3=({headingProps:e,layout:t,tags:r,sponsor:o,...s})=>{const l=a.jsxs(a.Fragment,{children:[a.jsx(f2,{...e,as:"h2",size:{xs:"s",md:"m"},px:{xs:"m",md:"0"},...!e.iconProps&&{textAlign:{xs:"center",md:"left"}},...!!e.iconProps&&t===ge.MOBILE&&{isCentered:!0}}),r&&r.length>0&&a.jsx(sb,{layout:t,tags:r?.map((c,h)=>h===0?{...c,ml:{xs:"m",md:"0"}}:c),mt:{xs:"l",md:"0"}}),o&&a.jsx(I0,{sponsor:o,size:t===ge.MOBILE?"m":"xl",hasText:!0,justifyContent:"end",alignItems:"center",gap:{xs:"xxs",md:"s"},mt:{xs:"m",md:"0"},px:{xs:"m",md:"0"}})]});return t===ge.DESKTOP?a.jsx(ve,{justifyContent:"between",alignItems:"center",gap:"m",...s,children:l}):a.jsx(be,{...s,children:l})},ZD=({signsContent:e,layout:t=ge.MOBILE})=>a.jsx(a.Fragment,{children:e.map((r,o)=>a.jsxs(pe.Fragment,{children:[a.jsx(i9,{title:r.heading.title,subtitle:r.heading.subtitle,icon:r.heading.icon,bg:"grey-50",color:"black",mx:{xs:"m",md:"0"},mb:{xs:"0",md:"l"},p:"0"}),r.topics.map((s,l)=>a.jsx(Z7,{icon:s.icon,title:s.title,content:s.content,mx:{xs:"m",md:"0"},hasBorderBottom:l!==r.topics.length-1,...l!==0&&{pt:"l"},...l!==r.topics.length-1&&{pb:"l"}},`${s.title}-${l}`)),a.jsx(ve,{justifyContent:"center",my:{xs:"xs",md:"l"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:r.link.href,children:r.link.children})}),o===2&&a.jsx(vb,{}),o===2&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===5&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_2":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===8&&a.jsx(Se,{adUnitCompletePath:t===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_3":"/49926454/20minutes_desktop/divers/pave_home",variant:"ARTICLE"}),o===11&&t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE"}),o!==e.length-1&&a.jsx(kn,{mx:{xs:"m",md:"0"},color:"ultramarine",mb:"l"})]},`${r.heading.title}-${o}`))}),XD=({linksProps:e})=>a.jsx(ve,{direction:"column",gap:"m",className:"u-fit-content",children:e.map(t=>a.jsx(Yt,{...t},t.href))});var j5={exports:{}};var eI;function i$(){return eI||(eI=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var l="",c=0;c<arguments.length;c++){var h=arguments[c];h&&(l=s(l,o(h)))}return l}function o(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return r.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var c="";for(var h in l)t.call(l,h)&&l[h]&&(c=s(c,h));return c}function s(l,c){return c?l?l+" "+c:l+c:l}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(j5)),j5.exports}var o$=i$();const vo=Jy(o$),M5=({src:e,withShadow:t=!1,halfOpacity:r=!1,...o})=>a.jsxs("div",{className:vo("o-page__background-container",{"o-page__background-container--with-shadow":t}),children:[a.jsx("img",{className:vo("o-page__background-img",{"o-page__background-img--with-shadow":t,"o-page__background-img--half-opacity":r}),alt:"Background",src:e,...o}),t&&a.jsx("div",{className:"o-page__background-shadow"})]}),s$=({layout:e,link:t,title:r,cardHeaderProps:o,...s})=>e&&t&&r&&o?a.jsx(c2,{...s,layout:e,link:t,title:r,cardHeaderProps:o}):null,rm=({content:e,pageEndpoint:t,imgEndpoint:r,colorScheme:o="ultramarine",disableLettering:s=!1,subType:l,...c})=>a.jsx(be,{...c,className:vo("c-content",{[`c-content--theme-${o}`]:!!o,"c-content--text-with-lettering":!s&&e.blocks[0]?.text.length>60}),children:Yd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,subType:l})}),tI=({name:e,description:t,link:r,icon:o,layout:s,...l})=>a.jsxs(Ea,{as:"a",href:r,...l,children:[s===ge.MOBILE&&e,a.jsxs(ve,{alignItems:{xs:"start",md:"center"},justifyContent:{xs:"center",md:"start"},className:"opacity-hover",children:[a.jsx(or,{bg:"white",isRounded:!0,name:o.name,size:o.size||s===ge.DESKTOP&&20||30,color:"grey-900",p:"xs",mr:{xs:"0",md:"xxs"},mb:{xs:"xs",md:"0"}}),s===ge.DESKTOP&&t]}),s===ge.MOBILE&&t]}),L5=({iconSize:e,layout:t,...r})=>a.jsxs(ve,{...r,bg:"ultramarine",p:{xs:"xxs",md:"xs"},justifyContent:{xs:"evenly",lg:"start"},children:[a.jsx(tI,{basis:{xs:50,lg:"auto"},icon:{name:"game",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Jeux"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir les",t===ge.DESKTOP?a.jsx("br",{}):" ",Object.values(pb).length," jeux"]}),link:"https://www.20minutes.fr/services/jeux",layout:t,id:"entertainment-item-game"}),a.jsx(Ea,{mx:"m",py:"xs",children:a.jsx(Xy,{color:"white"})}),a.jsx(tI,{basis:{xs:50,lg:"auto"},icon:{name:"horoscope",size:e},name:a.jsx(Me,{size:{xs:"s",md:"m"},weight:"bold",color:"white",mb:"xs",textAlign:"center",children:"Horoscope"}),description:a.jsxs(Me,{size:"xs",color:"white",fontFamily:"source-serif-pro",textAlign:{xs:"center",md:"left"},children:["Voir mon",t===ge.DESKTOP?a.jsx("br",{}):" ","horoscope"]}),link:"https://www.20minutes.fr/horoscope/",layout:t,id:"entertainment-item-horoscope"})]}),k5=({faqData:e,pageEndpoint:t})=>a.jsx(a.Fragment,{children:e.map(r=>a.jsx(Mf,{index:r.index,...r.tag?{textTitleProps:{as:r.tag,size:{xs:"m",md:"l"},my:"xs",children:r.title}}:{headingTitleProps:{my:"xs",children:r.title}},contentWithBorder:!1,bg:"grey-100",btnProps:{py:"xxs-3"},iconProps:{color:"ultramarine"},mb:"l",children:a.jsx(rm,{content:r.children,pageEndpoint:t,disableLettering:!0})},r.index))}),rI=({enableAccordion:e,items:t,contentProps:r,heading:o={as:"h2"},...s})=>!t||t?.length===0?null:e?a.jsx(qg,{...s,items:t,contentProps:r}):a.jsx(ve,{direction:"column",gapX:"m",mx:{xs:"m",md:"0"},children:t.map(l=>pe.createElement(ve,{...s,key:l.title,direction:"column",gapX:"s"},a.jsx(Yr,{size:"xs",color:"black",weight:"semi-bold",...o,children:l.title}),a.jsx(m9,{...r,content:l.content})))}),nI=({game:e,reportContent:t,...r})=>a.jsxs(be,{...r,as:"section",px:"m",py:{xs:"m",md:"s"},bg:"grey-100",children:[a.jsxs(Me,{as:ve,direction:{xs:"column",md:"row"},alignItems:{xs:"start",md:"center"},gap:"xxs",weight:"bold",size:"m",children:[a.jsx("span",{children:`Un problème dans le jeu ${e} ?`}),a.jsx(Tn,{as:"button",id:"game-help-button",variant:"link",children:"J'ai besoin d'aide"})]}),t&&a.jsxs(Me,{mt:"m",children:["Ce jeu a été généré automatiquement à partir d’articles publiés sur 20 Minutes. Si vous constatez une erreur, vous pouvez nous la signaler à l’adresse :"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})]}),aI=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsx(Yr,{size:"s",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:"L'accès aux jeux a été bloqué afin de respecter votre consentement"}),a.jsxs(Me,{size:"l",mb:"m",children:["En cliquant sur",a.jsx(Me,{weight:"bold",as:"span",ml:"xxs",children:"« J’accepte les cookies »"}),", vous consentez le dépôt de cookies permettant l'activation des services interactifs proposés par des tiers, et pourrez ainsi accéder à l'ensemble des contenus interactifs disponibles sur 20 Minutes (jeux-concours, quiz, sondages…)."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"m",children:["En savoir plus sur",a.jsx(Me,{color:e,as:"a",href:t,mx:"xxs",children:"notre politique de cookies"})]}),a.jsxs(ve,{justifyContent:"center",gap:"m",children:[a.jsx(Tn,{className:"cmp-game-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-game-button",children:"J'accepte les cookies"})]})]}),B5=({children:e})=>a.jsxs("div",{className:"c-game-placeholder",children:[a.jsx("div",{className:"js-game-wrapper u-hidden",children:e}),a.jsx(aI,{}),a.jsx(be,{my:"m",className:"js-game-alert u-hidden",children:a.jsx(I7,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Les jeux ne se chargent pas sur Firefox ?",description:`Vérifiez que la "Protection renforcée contre le pistage" est bien désactivée sur la page, accessible depuis l'icône bouclier, à gauche de l'URL.`})})]}),P5=({id:e,name:t,type:r,src:o,keesingType:s,keesingId:l,keesingGame:c,enableAds:h},...v)=>{const p=["421","buzz","quiz"],x={player:"https://web.keesing.com/pub/player/v2.25.2/dist/",portal:"https://web.keesing.com/pub/portal/v2.25.2/dist/",js:"https://web.keesing.com/pub/bundle-loader/bundle-loader.js",css:`https://web.keesing.com/pub/config/${h?"20minutes":"20minutespremium"}/css/custom_client.css`};return o&&p.includes(e)?a.jsx(B5,{children:a.jsx("div",{id:"loginwall",children:a.jsx(IH,{title:t,htmlIframeProps:{src:o},mb:"l",className:`c-game c-game--${e}`,...v})})}):r==="Arcade"&&p.includes(e)?a.jsx(B5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":x.css}),a.jsx("div",{id:"puzzle-portal",className:`game game-${t}`,"data-customerid":h?"20minutes":"20minutespremium","data-gametype":`CG_${c}`,"data-puzzleid":`CG_${c}`,"data-publicpath":s==="player"?x.player:x.portal}),a.jsx("script",{type:"text/javascript","data-src":x.js,"data-wlpp-bundle":s??"portal"})]})}):!s||!c?null:a.jsx(B5,{children:a.jsxs("div",{id:"loginwall",children:[a.jsx("link",{rel:"stylesheet","data-href":x.css}),p.includes(e)?a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":h?"20minutes":"20minutespremium","data-portalview":c??"","data-publicpath":s==="player"?x.player:x.portal}),a.jsx("script",{type:"text/javascript","data-src":x.js,"data-wlpp-bundle":s??"portal"})]}):a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"puzzle-portal","data-customerid":h?"20minutes":"20minutespremium","data-gametype":s==="portal"?c:`CG_${c}`,"data-puzzleid":s==="portal"?`${l??c}_today`:`CG_${c}`}),a.jsx("script",{type:"text/javascript","data-wlpp-bundle":"player","data-src":x.js})]})]})})},F5=({games:e,...t})=>a.jsxs(ve,{direction:"column",gap:"m",...t,children:[a.jsx(Me,{size:{xs:"l",md:"xl"},weight:"bold",children:e[0].category}),e.map(r=>a.jsx(Ea,{as:Yt,href:r.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:r.name},r.url))]}),H5=({games:e,colsNumber:t,...r})=>{const o=s=>e.filter(l=>l.category===s).sort((l,c)=>l.name.localeCompare(c.name));return a.jsx(Mf,{index:0,textTitleProps:{children:"Voir tous les jeux",whiteSpace:"nowrap",pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:"ultramarine"},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...r,children:a.jsxs(Ri,{colsNumber:t??{xs:1,md:3},gap:"m",children:[a.jsx(F5,{games:o("Jeux de lettres"),mb:{xs:"xs",md:"0"}}),a.jsx(F5,{games:o("Jeux de chiffres"),mb:{xs:"xs",md:"0"}}),a.jsx(F5,{games:o("Jeux inclassables")})]})})},u$=e=>e.replace(/(<([^>]+)>)/gi,"").length,S3=({label:e,items:t,iconColor:r="ultramarine",...o})=>a.jsx(Mf,{index:0,textTitleProps:{children:e,pr:"xxl-2"},contentWithBorder:!1,bg:"grey-100",btnProps:{pl:"xl",py:"xxs-3"},iconProps:{color:r},contentProps:{py:"l",bg:"grey-100"},isDropdown:!0,...o,children:a.jsx(Ri,{colsNumber:1,gap:"m",children:a.jsx(ve,{direction:"column",gap:"m",children:t.map(s=>a.jsx(Ea,{as:Yt,href:s.url,color:"black",size:{xs:"s",md:"m"},align:"start",children:s.title},s.url))})})}),Bo=({subtitle:e,isExpandable:t,dropdown:r,...o})=>{if(e&&typeof e!="string"){const s=Yd({rawDraftContent:e}),l=u$(hu(s));return a.jsxs(a.Fragment,{children:[a.jsx(bl,{...o,isExpandable:l>200,subtitle:l>0?s:null,rightAsideElement:r&&o.layout===ge.DESKTOP?a.jsx(S3,{...r}):void 0}),r&&o.layout===ge.MOBILE&&a.jsx(S3,{mb:"l",...r})]})}return a.jsxs(a.Fragment,{children:[a.jsx(bl,{...o,isExpandable:t===void 0?!!(e&&e.length>200):t,subtitle:e,rightAsideElement:r&&o.layout===ge.DESKTOP?a.jsx(S3,{...r}):void 0}),r&&o.layout===ge.MOBILE&&a.jsx(S3,{mb:"l",...r})]})},iI=({images:e,...t})=>!e||e?.length===0?null:a.jsx(Ri,{as:"section",colsNumber:{xs:3,md:5},gap:{xs:"xxs",md:"xl"},...t,children:e.map((r,o)=>a.jsx("a",{href:r.link,children:a.jsx(Eh,{src:r.cover,alt:r.title})},`${r.cover}-${o}`))}),C3=({description:e,hasInfoButton:t,...r})=>{if(!e)return null;const o=t?{children:a.jsxs("p",{children:["Cet texte a été généré automatiquement sur la base des données fournies par l'INSEE et les pages Wikipédia des communes. En cas d'erreur, vous pouvez nous contacter à"," ",a.jsx(Yt,{href:"mailto:correctif@20minutes.fr",isUnderlined:!0,children:"correctif@20minutes.fr"})]})}:void 0;return typeof e!="string"?a.jsx(Og,{...r,description:Yd({rawDraftContent:e}),infoButton:o}):a.jsx(Og,{...r,description:e,infoButton:o})},oI=({infosContent:e,layout:t=ge.MOBILE})=>{const r=a.jsx(a.Fragment,{children:e.map(o=>a.jsxs(ve,{gap:"xxs",alignItems:"center",mb:{xs:"xl",md:"0"},children:[a.jsx(or,{mr:"xxs",size:30,...o.iconOptions}),a.jsxs(Me,{size:"l",as:"span",weight:"bold",children:[o.title,!o.rating&&a.jsxs(Me,{as:"span",color:"ultramarine",size:"m",weight:"regular",children:[" ",o.information]})]}),o.rating&&a.jsx(W7,{rating:o.rating})]},o.title))});return t===ge.DESKTOP?a.jsx(Ri,{colsNumber:{xs:void 0,sm:2},gap:"xl",my:"l",children:r}):r},T3=({articles:e,seeMoreButton:t,layout:r,...o})=>{const{variablesForQuery:s,...l}=o;return a.jsxs(be,{...l,children:[e.map((c,h)=>{const v=`lastArticleKey${h}`,p=h===e.length-1,x=!p&&(r===ge.DESKTOP||r===ge.MOBILE&&h!==10&&h!==20);return a.jsxs(pe.Fragment,{children:[a.jsx(t9,{...c,px:{xs:"m",md:"0"},cardTitleProps:{weight:"semi-bold",maxRows:r===ge.MOBILE?void 0:3,...c.cardTitleProps},...x?{className:"u-divider-bottom-grey-200"}:{},...h!==0&&{pt:"s"},...!p&&{pb:"s"}}),h===10&&r===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),h===20&&r===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]},v)}),t&&a.jsx(Tn,{...t,color:"primary",variant:"outlined",mx:"auto",mt:"s"})]})},N3=({legalNotices:e,seeMoreLegalNotices:t,...r})=>e.length===0?null:a.jsxs(be,{...r,children:[e.map((o,s)=>pe.createElement(oU,{...o,key:`${o.link}-${s}`,linkProps:{children:"Lire l’annonce"},...s!==e.length-1&&{className:"u-divider-bottom-grey-200"},...s!==0&&{pt:"l"},...s!==e.length-1&&{pb:"l"}})),t&&a.jsx(Tn,{color:"primary",variant:"outlined",mx:"auto",mt:"xl",...t})]}),sI=({location:e,header:t,surtitle:r,title:o,date:s,linkLogo:l,description:c,linkPDF:h,linkNotice:v,signature:p,...x})=>a.jsxs(be,{...x,as:"section",children:[a.jsxs(be,{mb:"s",children:[a.jsxs(ve,{color:"ultramarine",children:[a.jsx(or,{name:"local",size:13,mr:"xxs-2",mb:"xxs-2"}),a.jsx(Me,{size:"xxs",weight:"bold",textTransform:"uppercase",children:e})]}),a.jsx(Yr,{size:"xs",children:t}),a.jsx(Yr,{size:"xs",children:r}),a.jsx(Yr,{size:"xs",children:o}),a.jsxs(Me,{as:"time",size:"s",color:"grey-400",dateTime:s,children:["Publié le ",hb(s)]})]}),l&&a.jsx(be,{as:"img",src:l,mb:"s",style:{maxWidth:"100px",maxHeight:"100px"}}),c&&a.jsx(Me,{size:"m",mb:"xxl",dangerouslySetInnerHTML:{__html:c}}),p&&a.jsx(Me,{italic:!0,mb:"xxl",children:p}),h&&a.jsx(Yt,{buttonColor:"primary",href:h,target:"_blank",mr:"m",mb:"m",children:"Télécharger le justificatif en PDF"}),v&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:v,target:"_blank",children:"Télécharger la notice"})]}),U5=({updatedAt:e,...t})=>a.jsx(d9,{...t,...e&&{updatedAt:cb(e)}}),O2=({cardOverviewProps:e,...t})=>{if(e.length<=0)return null;const r=a.jsx(a.Fragment,{children:e.map((o,s)=>pe.createElement(ib,{...o,key:o.title,mb:s!==e.length-1?"m":"0",variant:"big",cardHeaderProps:{headline:{text:"Live",bg:"red"},hasDot:!0}}))});return Object.keys(t).length===0?r:a.jsx(be,{...t,children:r})},uI=({draftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o=!0})=>{const s=pe.useRef(null);return pe.useEffect(()=>{const l=tm({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o}),c=document.createRange().createContextualFragment(l);s.current&&(s.current.innerHTML="",s.current.appendChild(c))},[e,r,t,o]),a.jsx(be,{ref:s,mt:"s",className:"c-content",children:Yd({rawDraftContent:e,pageEndpoint:t,imgEndpoint:r,withCmp:o})})},lI=({currentTab:e})=>a.jsxs(ve,{className:"c-tablist",mb:"l",gap:"l",px:{xs:"m",md:"0"},children:[a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/film-au-cinema-en-ce-moment",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="in_theaters",children:"A l'affiche"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/sortie-cinema-de-la-semaine",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="last_releases",children:"Sorties de la semaine"}),a.jsx(Yt,{whiteSpace:"nowrap",href:"/arts-stars/cinema/prochaine-sortie-cinema",tabVariant:"primary",tabColor:"entertainment",tabIsSelected:e==="soon",children:"Prochainement"})]}),j2=({buttonLabel:e,title:t,url:r,...o})=>a.jsxs(ve,{alignItems:"center",justifyContent:"between",gap:{xs:"xs",md:"m"},py:"s",px:"xxl",direction:{xs:"column",md:"row"},bg:"ultramarine",...o,children:[a.jsx(Me,{as:"h2",color:"white",size:"xl",weight:"bold",textAlign:{xs:"center",md:"left"},children:t}),a.jsx(Yt,{buttonColor:"primary",variant:"outlined",href:r,target:"_blank",children:e})]}),l$=()=>/Android/i.test(navigator.userAgent),c$=typeof window<"u"&&navigator.userAgent.toLowerCase().includes("firefox"),d$=()=>{const e=document.getElementById("js-download-band");e&&l$()&&e.setAttribute("href","https://app.adjust.com/15shf6wg?campaign=Bandeau_1&deep_link=20minutes%3A%2F%2Fhome")},f$=()=>{const e=document.getElementById("js-election-selector");e instanceof HTMLSelectElement&&e.addEventListener("change",t=>{window.location.replace(t.target.value)})},h$=()=>{const e=document.querySelector(".c-search-banner");if(!e)return;const t=document.getElementById("js-search-banner-expand-button");if(t instanceof HTMLButtonElement){if(t.hasAttribute("data-search-banner-listener-attached"))return;const r=e.querySelector("[data-search-banner-expanded-source]"),o=e.querySelector("[data-search-banner-collapse]");if(!r||!o)return;t.setAttribute("data-search-banner-listener-attached","true"),t.addEventListener("click",()=>{r.getAttribute("aria-expanded")==="true"?(r.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")):(r.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false"))})}},q5=new Map,p$=e=>{const t=q5.get(e);if(t)return t;const r=fetch(e,{credentials:"same-origin"}).then(o=>{if(!o.ok)throw new Error(`Unable to load submenu cards: ${o.status}`);return o.text()});return q5.set(e,r),r.catch(()=>{q5.delete(e)}),r},m$=e=>e.matches(":hover")||e.matches(":focus-within"),cI=async e=>{if(!(e instanceof Element))return;const t=e.closest(".c-header__link-and-submenu-container");if(!(t instanceof HTMLElement))return;const r=t.querySelector(".js-sub-menu-cards-slot");if(!(r instanceof HTMLElement))return;const o=r.dataset.cardsUrl;if(!(!o||r.dataset.loaded==="true"||r.dataset.loading==="true")){r.dataset.loading="true";try{const s=await p$(o);if(!m$(t)||r.dataset.loaded==="true")return;r.insertAdjacentHTML("beforeend",s),r.dataset.loaded="true"}catch(s){console.error(s)}finally{delete r.dataset.loading}}},v$=()=>{const e=document.querySelector(".c-header__links-container");e instanceof HTMLElement&&(e.addEventListener("pointerover",t=>{cI(t.target)}),e.addEventListener("focusin",t=>{cI(t.target)}))},g$=[{text:"Paris",_index:"town_1717424751904",_id:"75056",_score:1,_source:{output:"Paris (75000)",url:"/elections/resultats/paris/paris-75000"}},{text:"Paris 10ème Arrondissement",_index:"town_1717424751904",_id:"75056AR10",_score:1,_source:{output:"Paris 10ème Arrondissement (75010)",url:"/elections/resultats/paris/paris-75010"}},{text:"Paris 11ème Arrondissement",_index:"town_1717424751904",_id:"75056AR11",_score:1,_source:{output:"Paris 11ème Arrondissement (75011)",url:"/elections/resultats/paris/paris-75011"}}],y$=(e,t,r,o,s,l)=>{const c=document.getElementById(e);if(!c)return;const h=c.dataset.storybook,v=c.querySelector(`#${e}-search`),p=v?.getAttribute("data-api-url"),x=c.querySelector(".c-autocomplete__menu");if(!v||!x||!p)return;const w=c.querySelector(".c-autocomplete__input-spinner"),_=v.getAttribute("data-trigger-message"),D=async P=>{try{const z=h&&t.includes("20minutes.fr")?g$:await fetch(`${p}${r}${encodeURIComponent(P)}`).then(W=>W.json()),U=l&&typeof z=="object"&&z!==null?z[l]:z;return Array.isArray(U)?U:[]}catch(z){return console.error("Error fetching autocomplete results:",z),[]}},S=(P,z)=>{const U=document.createElement("li");U.id=`/${P}`,U.textContent=z,U.addEventListener("click",()=>{v instanceof HTMLInputElement&&(v.value=z,x.classList.add("u-hidden"))}),x.appendChild(U)},T=()=>{w?.classList.toggle("u-hidden")},C=()=>{const P=document.createElement("li");P.textContent=_,x.appendChild(P)},O=async P=>{T(),x.classList.remove("u-hidden");const z=await D(P);x.innerHTML="",z.length===0&&x.classList.add("u-hidden"),z.forEach(U=>{S(U[o],U[s])}),T()},L=P=>{if(!(P.target instanceof HTMLInputElement))return;const z=P.target.value;x.classList.remove("u-hidden"),z.length>=3?O(z):(x.innerHTML="",C())};v.addEventListener("input",L),v.addEventListener("focusout",()=>{setTimeout(()=>x.classList.add("u-hidden"),300)}),v.addEventListener("focusin",()=>{x.childElementCount>0&&x.classList.remove("u-hidden")})};var z5=(e=>(e.MOBILE="mobile",e.DESKTOP="desktop",e))(z5||{});const V5=".js-bottom-sheet",dI=`${V5}:not([aria-hidden='true'])`,b$=".c-bottom-sheet__panel",fI=".c-bottom-sheet__handle",hI=`${fI}[data-a11y-dialog-hide]`,x$="[data-a11y-dialog-show]",A$="data-bottom-sheet-anchor",_$=75,pI="c-bottom-sheet--dragging";let mI=!1,M2=null,nm=null,G5=0,L2=0;const vI=e=>{const t=e.getAttribute(A$),r=t?document.querySelector(t):null;if(!r)return;const o=Math.max(0,window.innerHeight-r.getBoundingClientRect().top);e.style.setProperty("--modal-bottom-offset",`${o}px`)},E$=()=>{document.querySelectorAll(dI).forEach(e=>{e instanceof HTMLElement&&vI(e)})},gI=()=>{M2?.classList.remove(pI),nm&&(nm.style.transform=""),M2=null,nm=null,G5=0,L2=0},w$=e=>{const t=e.target;if(!(t instanceof HTMLElement))return;const r=t.closest(V5);if(!(r instanceof HTMLElement)||r.getAttribute("aria-hidden")==="true")return;const o=r.querySelector(b$);o instanceof HTMLElement&&(!t.closest(fI)&&o.scrollTop>0||(M2=r,nm=o,G5=e.touches[0].clientY,L2=0,r.classList.add(pI)))},S$=e=>{nm&&(L2=Math.max(0,e.touches[0].clientY-G5),nm.style.transform=`translateY(${L2}px)`)};let K5=!1;const yI=e=>{const t=e.target;if(!(t instanceof Element))return null;const r=t.closest(x$);if(!(r instanceof HTMLElement))return null;const o=r.getAttribute("data-a11y-dialog-show"),s=o?document.getElementById(o):null;return!(s instanceof HTMLElement)||s.contains(r)?null:s},C$=e=>{K5=!!yI(e)?.matches(dI)},T$=e=>{if(!K5)return;K5=!1;const t=yI(e);if(!(t instanceof HTMLElement))return;const r=t.querySelector(hI);r instanceof HTMLElement&&r.click()},N$=()=>{if(M2){if(L2>_$){const e=M2.querySelector(hI);e instanceof HTMLElement&&e.click()}gI()}},D$=(e,t)=>{const r=e.id;r&&document.querySelectorAll(`[data-a11y-dialog-show="${r}"]`).forEach(o=>{!(o instanceof HTMLElement)||e.contains(o)||o.setAttribute("aria-expanded",t?"true":"false")})},I$=()=>{new MutationObserver(e=>{e.forEach(({target:t})=>{if(!(t instanceof HTMLElement)||!t.matches(V5))return;const r=t.getAttribute("aria-hidden")!=="true";r&&vI(t),D$(t,r)})}).observe(document.body,{attributes:!0,attributeFilter:["aria-hidden"],subtree:!0})},R$=()=>{window.layout===z5.MOBILE&&(mI||(document.addEventListener("touchstart",w$,{passive:!0}),document.addEventListener("touchmove",S$,{passive:!0}),document.addEventListener("touchend",N$),document.addEventListener("touchcancel",gI),document.addEventListener("mousedown",C$),document.addEventListener("click",T$),window.addEventListener("resize",E$),I$(),mI=!0))},O$=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const r=t.parentElement?.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),r?.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),r?.setAttribute("aria-hidden","false"))}},j$=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(t=>{t.addEventListener("click",r=>{O$(r)})})},M$="[data-countdown][data-countdown-end-date]",L$=e=>{const t=e.querySelector(".js-countdown-days"),r=e.querySelector(".js-countdown-hours"),o=e.querySelector(".js-countdown-minutes"),s=e.querySelector(".js-countdown-seconds");return!t||!r||!o||!s?null:{daysElement:t,hoursElement:r,minutesElement:o,secondsElement:s}},bI=(e,t)=>{const r=e-Date.now();if(r<=0)return!1;const o=Math.floor(r/(1e3*60*60*24)),s=Math.floor(r%(1e3*60*60*24)/(1e3*60*60)),l=Math.floor(r%(1e3*60*60)/(1e3*60)),c=Math.floor(r%(1e3*60)/1e3);return t.daysElement.textContent=o.toString(),t.hoursElement.textContent=s.toString(),t.minutesElement.textContent=l.toString(),t.secondsElement.textContent=c.toString(),!0},k$=()=>{document.querySelectorAll(M$).forEach(e=>{const t=e.dataset.countdownEndDate,r=t?new Date(t).getTime():Number.NaN,o=L$(e);if(!o)return;if(Number.isNaN(r)){e.remove();return}if(!bI(r,o)){e.remove();return}const s=setInterval(()=>{bI(r,o)||(clearInterval(s),e.remove())},1e3)})},B$=e=>{const t=e.getBBox(),r=t.width/20;return[t.x-r,t.y-r,t.width+r*2,t.height+r*2].join(" ")},P$=()=>{const e=document.querySelector(".c-map-districts-container"),t=document.querySelector(".c-map-districts");if(!e||!t)return;const r=document.querySelector(".c-map-districts-container__description"),o=document.querySelector(".c-map-districts-container__department"),s=document.querySelector(".c-map-districts-container__unzoom-button");let l=t;const c=t.getAttribute("viewBox"),h=(D,S)=>D.matches?.call(D,S),v=(D,S,T=".c-map-districts__zoomable:not(.js-selected-area)")=>{if(!D)return;let C,O=D.parentElement;for(;O instanceof SVGGraphicsElement&&O!==S;)h(O,T)&&(C=O),O=O.parentElement;return C},p=(D,S,T)=>{if(!D)return;let C=D.parentElement;for(;C instanceof SVGGraphicsElement&&C!==T;){if(S===C)return!0;C=C.parentElement}return T===S},x=(D,S)=>{if(S&&s&&r){e.classList.remove("c-map-districts-container--department-view"),r.classList.remove("u-hidden"),o?.classList.add("u-hidden"),s.classList.add("u-hidden"),S!==c&&(r.classList.add("u-hidden"),s.classList.remove("u-hidden")),l.classList.remove("js-selected-area"),l=D;const T=l.getAttribute("data-info");o&&T&&(e.classList.add("c-map-districts-container--department-view"),o.classList.remove("u-hidden"),o.innerHTML=T),l.classList.add("js-selected-area"),t.setAttribute("viewBox",S)}},w=D=>{D.stopPropagation();const S=D.currentTarget;if(l&&t&&S instanceof SVGGraphicsElement){if(S===l)return;if(D.preventDefault(),l!==t&&!p(S,l,t)){x(t,c);return}const T=v(S,l);x(T||S,B$(T||S))}},_=()=>{t&&l!==t&&x(t,c)};t.addEventListener("click",_),s&&s.addEventListener("click",_),document.querySelectorAll(".c-map-districts__zoomable").forEach(D=>{D.addEventListener("click",S=>w(S))})},F$=()=>{const e=document.getElementById("elections-form-search"),t=document.querySelector(".c-search-form__autocomplete");if(!e||!t)return;const r=l=>{t.classList.remove("u-hidden");const c=t.querySelectorAll("li"),h=[];return c.forEach(v=>{v.querySelector("a")?.innerHTML.toLowerCase().includes(l.toLowerCase())&&h.push(v.innerHTML)}),h},o=l=>{t.innerHTML+=`<li>${l}</li>`},s=({target:l})=>{if(!(l instanceof HTMLInputElement))return;const c=l.value;if(t.classList.add("u-hidden"),c.length>=3){const h=r(c);t.innerHTML="",h.length===0&&t.classList.add("u-hidden"),h.forEach(v=>{o(v)})}};e.addEventListener("input",s),e.addEventListener("focusout",()=>{setTimeout(()=>t.classList.add("u-hidden"),300)}),e.addEventListener("focusin",()=>{t.childElementCount>0&&t.classList.remove("u-hidden")})},H$=(e,t)=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.remove(t)});const r=e.querySelector(".js-ellipsis-button__label");r instanceof HTMLSpanElement&&(r.innerHTML="Voir moins")},U$=(e,t)=>{e.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach(o=>{o.classList.add(t)}),e.setAttribute("aria-expanded","false");const r=e.querySelector(".js-ellipsis-button__label");r instanceof HTMLSpanElement&&(r.innerHTML="Voir plus")},q$=(e,t)=>{const r=e.currentTarget;if(e.preventDefault(),r instanceof HTMLButtonElement){const o=t?"u-ellipsis-multiline":"u-ellipsis";return r.getAttribute("aria-expanded")==="true"?U$(r,o):H$(r,o)}return null},z$=(e=document.querySelector(".js-ellipsis-button"))=>{e&&document.querySelectorAll(".js-ellipsis-button").forEach(t=>{const r=t.getAttribute("data-multiple")==="true";t.addEventListener("click",o=>q$(o,r))})},V$=e=>{e.setAttribute("aria-expanded","true"),e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","false")});const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir moins")},G$=e=>{e.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false");const t=e.querySelector(".js-expand-button__label");t instanceof HTMLSpanElement&&(t.innerHTML="Voir plus")},K$=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?G$(t):V$(t):null},W$=e=>{const t=e.parentNode?.querySelector(".js-expand-target");return!t||t.classList.contains("c-elections-result__members")?!1:(t.textContent?.trim().length??0)<255},$$=(e=document.querySelector(".js-expand-button"))=>{e&&document.querySelectorAll(".js-expand-button").forEach(t=>{W$(t)?(t.style.display="none",t.parentNode?.querySelectorAll(".js-expand-target")?.forEach(r=>{r.setAttribute("aria-hidden","false")})):t.addEventListener("click",K$)})},xI=(e,t)=>{const r=document.querySelector(".js-content-header"),o=document.querySelector(t),s=document.querySelector(e),l=document.querySelector(".c-header-mobile"),c=l instanceof HTMLElement?l.offsetHeight:0;if(r&&o&&s){const h=new IntersectionObserver(()=>{const v=s.classList,p=v.contains("u-hidden"),x=r.getBoundingClientRect().bottom-c,w=o.getBoundingClientRect().bottom-c;p&&x<=0&&w>=0&&v.remove("u-hidden"),!p&&(x>=0||w<=0)&&v.add("u-hidden")},{root:document,rootMargin:`-${c}px 0px 0px 0px`});h.observe(r),h.observe(o)}},Y$=()=>xI(".js-close-article-btn",".js-limit-scroll-close-article-btn"),Q$=()=>xI(".js-chatbot-btn",".js-limit-scroll-chatbot-btn"),J$=()=>{const e=document.querySelector(".js-game-alert");c$&&e&&e.classList.remove("u-hidden")},Z$=()=>{const e=document.querySelectorAll(".js-half-donut-result");for(const t of Array.from(e)){const r=t.querySelector(".c-half-donut"),o=t.querySelector(".c-legend");if(!r||!o)return;o.querySelectorAll("[data-color]").forEach(s=>{const l=s.getAttribute("data-color"),c=r.querySelector(`.c-half-donut__zone--${l}`);c?.addEventListener("mouseenter",()=>{s.classList.add("c-legend__item--is-hovered"),r.classList.add("c-half-donut--is-hovered"),o.classList.add("c-legend--is-hovered")}),c?.addEventListener("mouseleave",()=>{s.classList.remove("c-legend__item--is-hovered"),r.classList.remove("c-half-donut--is-hovered"),o.classList.remove("c-legend--is-hovered")}),s.addEventListener("mouseenter",()=>{c?.classList.add("c-half-donut__zone--is-hovered"),o.classList.add("c-legend--is-hovered"),r.classList.add("c-half-donut--is-hovered")}),s.addEventListener("mouseleave",()=>{c?.classList.remove("c-half-donut__zone--is-hovered"),o.classList.remove("c-legend--is-hovered"),r.classList.remove("c-half-donut--is-hovered")})})}},X$=()=>{const e=document.querySelector(".c-image-slider__container");if(!e)return()=>{};const t=document.querySelectorAll(".c-image-slider__slide"),r=document.querySelector(".c-image-slider__button-container--previous"),o=document.querySelector(".c-image-slider__button-container--next"),s=document.querySelectorAll(".c-image-slider__indicator");let l=0,c=null,h=!1;const v=()=>{s.forEach((L,P)=>{L.classList.toggle("c-image-slider__indicator--is-active",P===l)})},p=(L=!0)=>{if(!(e instanceof HTMLElement))return;e.style.transition=L?"transform 0.3s ease":"none";const P=-l*100;e.style.transform=`translateX(${P}%)`,v()},x=L=>{l=L,p(!0)},w=()=>{c&&clearInterval(c),c=setInterval(()=>{if(!h){const L=(l+1)%t.length;x(L)}},4e3)},_=()=>{c&&(clearInterval(c),c=null)},D=()=>{h=!0,_()},S=()=>{h=!1,w()};r?.addEventListener("click",()=>{D();const L=(l-1+t.length)%t.length;x(L),setTimeout(S,5e3)}),o?.addEventListener("click",()=>{D();const L=(l+1)%t.length;x(L),setTimeout(S,5e3)}),s.forEach((L,P)=>{L.addEventListener("click",()=>{D(),x(P),setTimeout(S,5e3)})});let T=0,C=0,O=!1;return e.addEventListener("touchstart",L=>{e instanceof HTMLElement&&(D(),T=L.touches[0].clientX,C=T,O=!0,e.style.transition="none")}),e.addEventListener("touchmove",L=>{if(!(e instanceof HTMLElement))return;C=L.touches[0].clientX;const P=C-T,z=-l*window.innerWidth+P;e.style.transform=`translateX(${z}px)`}),e.addEventListener("touchend",()=>{if(!O)return;O=!1;const L=C-T;Math.abs(L)>75&&(L<0?l=Math.min(l+1,t.length-1):L>0&&(l=Math.max(l-1,0))),p(!0),setTimeout(S,5e3)}),p(!0),w(),()=>{_()}},eY=e=>{const t=e.currentTarget,r=t instanceof HTMLElement?t.nextElementSibling:null;!(t instanceof HTMLButtonElement)||!(r instanceof HTMLElement)||(e.stopImmediatePropagation(),e.preventDefault(),t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),r.setAttribute("aria-hidden","false")))},AI=new WeakSet,_I=()=>{typeof document>"u"||document.querySelectorAll(".js-info-button").forEach(e=>{!(e instanceof HTMLButtonElement)||AI.has(e)||(AI.add(e),e.addEventListener("click",eY))})};if(typeof document<"u"){const e=()=>_I();document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}const Ca={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var tY=[`a[href]${Ca.inert}${Ca.negTabIndex}`,`area[href]${Ca.inert}${Ca.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`input[type="radio"]${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`select${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`textarea${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`button${Ca.inert}${Ca.negTabIndex}${Ca.disabled}`,`details${Ca.inert} > summary:first-of-type${Ca.negTabIndex}`,`iframe${Ca.inert}${Ca.negTabIndex}`,`audio[controls]${Ca.inert}${Ca.negTabIndex}`,`video[controls]${Ca.inert}${Ca.negTabIndex}`,`[contenteditable]${Ca.inert}${Ca.negTabIndex}`,`[tabindex]${Ca.inert}${Ca.negTabIndex}`];function EI(e){(e.querySelector("[autofocus]")||e).focus()}function rY(e){const t=k2(e,!0),r=t?k2(e,!1)||t:null;return[t,r]}function k2(e,t){if(t&&CI(e))return e;if(aY(e))if(e.shadowRoot){let r=wI(e.shadowRoot,t);for(;r;){const o=k2(r,t);if(o)return o;r=SI(r,t)}}else if(e.localName==="slot"){const r=e.assignedElements({flatten:!0});t||r.reverse();for(const o of r){const s=k2(o,t);if(s)return s}}else{let r=wI(e,t);for(;r;){const o=k2(r,t);if(o)return o;r=SI(r,t)}}return!t&&CI(e)?e:null}function wI(e,t){return t?e.firstElementChild:e.lastElementChild}function SI(e,t){return t?e.nextElementSibling:e.previousElementSibling}const nY=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),CI=e=>e.shadowRoot?.delegatesFocus?!1:e.matches(tY.join(","))&&!nY(e);function aY(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function B2(e=document){const t=e.activeElement;return t?t.shadowRoot?B2(t.shadowRoot)||document.activeElement:t:null}function iY(e,t){const[r,o]=rY(e);if(!r)return t.preventDefault();const s=B2();t.shiftKey&&s===r?(o.focus(),t.preventDefault()):!t.shiftKey&&s===o&&(r.focus(),t.preventDefault())}function am(e,t){function r(o){if(!o||o===document||o===window)return null;const s=TI(o);return s&&(o=s),o.closest(e)||r(o.getRootNode().host)}return r(t)}function TI(e){return e.assignedSlot||(e.parentNode?TI(e.parentNode):null)}const P2="data-a11y-dialog";class NI{$el;id;previouslyFocused;shown;constructor(t){this.$el=t,this.id=this.$el.getAttribute(P2)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented?this:(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this)}show(t){return this.shown?this:this.fire("show",t).defaultPrevented?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=B2(),this.previouslyFocused?.tagName==="BODY"&&t?.target&&(this.previouslyFocused=t.target),t?.type==="focus"?this.maintainFocus():EI(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this)}hide(t){return this.shown?this.fire("hide",t).defaultPrevented?this:(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.(),this):this}on(t,r,o){return this.$el.addEventListener(t,r,o),this}off(t,r,o){return this.$el.removeEventListener(t,r,o),this}fire(t,r){const o=new CustomEvent(t,{detail:r,cancelable:!0});return this.$el.dispatchEvent(o),o}handleTriggerClicks(t){const r=t.composedPath()[0],o=am(`[${P2}-show="${this.id}"]`,r),s=am(`[${P2}-hide="${this.id}"]`,r),l=am(`[${P2}-hide]`,r)&&am('[aria-modal="true"]',r)===this.$el;o&&this.show(t),(s||l)&&this.hide(t)}bindKeypress(t){if(am('[aria-modal="true"]',B2())!==this.$el)return;let r=!1;try{r=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!r&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&iY(this.$el,t)}maintainFocus(){const t=B2();am(`[aria-modal="true"], [${P2}-ignore-focus-trap]`,t)||EI(this.$el)}}function DI(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new NI(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",DI):DI());const oY=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new NI(e);if(e.id==="dialog-menu"){const r=document.querySelectorAll("button[data-a11y-dialog-show='dialog-menu']"),o=document.querySelectorAll("button[data-a11y-dialog-hide='dialog-menu']");r.length>0&&o.length>0&&(t.on("show",()=>{r.forEach(s=>{s.classList.add("u-hidden")}),o.forEach(s=>{s.classList.remove("u-hidden")})}),t.on("hide",()=>{r.forEach(s=>{s.classList.remove("u-hidden")}),o.forEach(s=>{s.classList.add("u-hidden")})}))}t.on("show",()=>{document.body.classList.add("noscroll")}).on("hide",()=>{document.body.classList.remove("noscroll")})}),D3="50px",W5=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{r.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=D3,e.style.paddingLeft=""),o.classList.contains("o-nav-button--visible")&&(e.style.paddingLeft=D3,r.classList.contains("o-nav-button--visible")&&(e.style.paddingRight=D3),r.classList.contains("o-nav-button--visible")||(e.style.paddingRight="")),!r.classList.contains("o-nav-button--visible")&&!o.classList.contains("o-nav-button--visible")&&(t.style.width="",e.style.paddingRight="")},sY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{const s=t.scrollLeft>0,l=t.scrollLeft+(t.clientWidth+.5)<t.scrollWidth;s&&l?(r.classList?.add("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):s?(r.classList?.remove("o-nav-button--visible"),o.classList?.add("o-nav-button--visible")):l?(r.classList?.add("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")):(r.classList?.remove("o-nav-button--visible"),o.classList?.remove("o-nav-button--visible")),r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})},uY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o,sliderVariant:s})=>{if(t){const l=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(l){const c=Array.from(l).findIndex(h=>h.classList.contains("c-stepper__item--loading"));if(c<0)l[0].classList.add("c-stepper__item--loading");else{l[c].classList.remove("c-stepper__item--loading"),l[c].classList.add("c-stepper__item--loaded");const h=l[c].querySelector(".c-stepper__loader");h&&h instanceof HTMLElement&&(h.style.transition="width 0s linear"),c+1<l.length&&l[c+1].classList.add("c-stepper__item--loading")}}if(t.scrollWidth-t.clientWidth>t.clientWidth){let c=t.scrollLeft;switch(s){case"three-columns-articles":c+=t.clientWidth+32;break;case"rubrics":c+=t.clientWidth-36;break;default:c+=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:c,behavior:"smooth"}),o.classList.add("o-nav-button--visible"),c+t.clientWidth>=t.scrollWidth&&r.classList.remove("o-nav-button--visible")}else{const c=t.scrollWidth-t.clientWidth;t.scrollTo({left:c,behavior:"smooth"}),r.classList.remove("o-nav-button--visible"),o.classList.add("o-nav-button--visible")}r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})}},lY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o,sliderVariant:s,delay:l})=>{if(t){const c=t.closest(".js-overview-bar-container")?.querySelector(".c-stepper")?.querySelectorAll(".c-stepper__item");if(c){const h=Array.from(c).findIndex(v=>v.classList.contains("c-stepper__item--loading"));h<0?c[0].classList.add("c-stepper__item--loading"):(c[h].classList.remove("c-stepper__item--loading"),c[h].classList.remove("c-stepper__item--loaded"),h-1>0&&(c[h-1].classList.remove("c-stepper__item--loading"),c[h-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const v=c[h-1].querySelector(".c-stepper__loader");c[h-1].classList.add("c-stepper__item--loading"),v&&v instanceof HTMLElement&&(v.style.transition=`width ${l/1e3}s linear`)},0)))}if(t.clientWidth<t.scrollLeft){let h=t.scrollLeft;switch(s){case"three-columns-articles":h-=t.clientWidth+32;break;case"rubrics":h-=t.clientWidth-36;break;default:h-=Math.ceil(t.clientWidth*.6);break}t.scrollTo({left:h,behavior:"smooth"}),r.classList.add("o-nav-button--visible"),h===0&&o.classList.remove("o-nav-button--visible")}else t.scrollTo({left:0,behavior:"smooth"}),o.classList.remove("o-nav-button--visible"),t.clientWidth<t.scrollWidth&&r.classList.add("o-nav-button--visible");r.classList.contains("c-slider__button-container--has-space-around")&&o.classList.contains("c-slider__button-container--has-space-around")&&W5({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})}},cY=({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})=>{sY({navigationContainer:e,navigatedList:t,nextBtn:r,prevBtn:o})},dY=e=>{const{sliderVariant:t}=e.dataset,{sliderAuto:r}=e.dataset,{sliderDelay:o}=e.dataset,s=o?parseInt(o,10):3e3,l=e.closest(".js-overview-bar-container")?.querySelector(".c-stepper"),c=l?.querySelectorAll(".c-stepper__item"),h=e.querySelector(".js-navigation-container__list"),v=e.querySelector(".o-nav-button--next-button"),p=e.querySelector(".o-nav-button--previous-button");if(!(!h||!v||!p)&&(h.clientWidth<h.scrollWidth&&(v.classList.add("o-nav-button--visible"),v.classList.contains("c-slider__button-container--has-space-around")&&(e.style.paddingRight=D3)),v.addEventListener("click",uY.bind(!1,{navigationContainer:e,navigatedList:h,nextBtn:v,prevBtn:p,sliderVariant:t})),p.addEventListener("click",lY.bind(!1,{navigationContainer:e,navigatedList:h,nextBtn:v,prevBtn:p,sliderVariant:t,delay:s})),r==="true")){const x=l?l.querySelector(".c-stepper__item--loading"):null;c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)}),x||c[0].classList.add("c-stepper__item--loading")),setInterval(()=>{v.classList.contains("o-nav-button--visible")?v.click():h&&p&&(h.scrollLeft=0,c&&(c.forEach(w=>{const _=w.querySelector(".c-stepper__loader");_&&_ instanceof HTMLElement&&(_.style.transition="width 0s linear"),w.classList.remove("c-stepper__item--loading"),w.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{_&&_ instanceof HTMLElement&&(_.style.transition=`width ${s/1e3}s linear`)},0)}),setTimeout(()=>{c[0].classList.add("c-stepper__item--loading")},0)),p.click())},s)}},fY=()=>{const e=document.querySelectorAll(".js-navigation-container");Array.from(e).forEach(t=>{const r=t.querySelector(".js-navigation-container__list");if(r){const o=new ResizeObserver(s=>{s.forEach(l=>{const{width:c}=l.contentRect;c>0&&(dY(t),o.disconnect())})});o.observe(r)}})},hY=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const r=t.querySelector(".js-navigation-container__list"),o=t.querySelector(".o-nav-button--next-button"),s=t.querySelector(".o-nav-button--previous-button");r&&o&&s&&window.addEventListener("resize",cY.bind(!1,{navigationContainer:t,navigatedList:r,nextBtn:o,prevBtn:s}))}};function cc(e,t,r){const o=document.createElement(t);return e&&(o.className=e),r&&r.appendChild(o),o}function Po(e,t){return e.x=t.x,e.y=t.y,t.id!==void 0&&(e.id=t.id),e}function II(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function $5(e,t){const r=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return Math.sqrt(r*r+o*o)}function F2(e,t){return e.x===t.x&&e.y===t.y}function H2(e,t,r){return Math.min(Math.max(e,t),r)}function U2(e,t,r){let o=`translate3d(${e}px,${t||0}px,0)`;return r!==void 0&&(o+=` scale3d(${r},${r},1)`),o}function Pp(e,t,r,o){e.style.transform=U2(t,r,o)}const pY="cubic-bezier(.4,0,.22,1)";function RI(e,t,r,o){e.style.transition=t?`${t} ${r}ms ${o||pY}`:"none"}function Y5(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}function mY(e){RI(e)}function vY(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,r)=>{e.onload=()=>t(e),e.onerror=r})}const ed={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function gY(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function yY(e,t,r=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(r.querySelectorAll(s)))}return o}function OI(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let jI=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{jI=!0}}))}catch{}class bY{constructor(){this._pool=[]}add(t,r,o,s){this._toggleListener(t,r,o,s)}remove(t,r,o,s){this._toggleListener(t,r,o,s,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,r,o,s,l,c){if(!t)return;const h=l?"removeEventListener":"addEventListener";r.split(" ").forEach(v=>{if(v){c||(l?this._pool=this._pool.filter(x=>x.type!==v||x.listener!==o||x.target!==t):this._pool.push({target:t,type:v,listener:o,passive:s}));const p=jI?{passive:s||!1}:!1;t[h](v,o,p)}})}}function MI(e,t){if(e.getViewportSizeFn){const r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function q2(e,t,r,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(r,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function LI(e,t,r,o){return{x:t.x-q2("left",e,t,r,o)-q2("right",e,t,r,o),y:t.y-q2("top",e,t,r,o)-q2("bottom",e,t,r,o)}}class xY{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:r}=this.slide,o=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,s=q2(t==="x"?"left":"top",r.options,r.viewportSize,this.slide.data,this.slide.index),l=this.slide.panAreaSize[t];this.center[t]=Math.round((l-o)/2)+s,this.max[t]=o>l?Math.round(l-o)+s:this.center[t],this.min[t]=o>l?s:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,r){return H2(r,this.max[t],this.min[t])}}const kI=4e3;let BI=class{constructor(e,t,r,o){this.pswp=o,this.options=e,this.itemData=t,this.index=r,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,r){const o={x:e,y:t};this.elementSize=o,this.panAreaSize=r;const s=r.x/o.x,l=r.y/o.y;this.fit=Math.min(1,s<l?s:l),this.fill=Math.min(1,s>l?s:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",r=this.options[t];if(r)return typeof r=="function"?r(this):r==="fill"?this.fill:r==="fit"?this.fit:Number(r)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,this.fit*3),this.elementSize&&e*this.elementSize.x>kI&&(e=kI/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};class AY{constructor(t,r,o){this.data=t,this.index=r,this.pswp=o,this.isActive=r===o.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!o.opener.isOpen,this.zoomLevels=new BI(o.options,t,r,o),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:r}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=cc("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new xY(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!1||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const r=this.currentResolution||this.zoomLevels.initial;if(!r)return;const o=Math.round(this.width*r)||this.pswp.viewportSize.x,s=Math.round(this.height*r)||this.pswp.viewportSize.y;!this.sizeChanged(o,s)&&!t||this.content.setDisplayedSize(o,s)}sizeChanged(t,r){return t!==this.prevDisplayedWidth||r!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=r,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,r,o,s){const{pswp:l}=this;if(!this.isZoomable()||l.mainScroll.isShifted())return;l.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:r,transitionDuration:o}),l.animations.stopAllPan();const c=this.currZoomLevel;s||(t=H2(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",r,c),this.pan.y=this.calculateZoomToPanOffset("y",r,c),II(this.pan);const h=()=>{this._setResolution(t),this.applyCurrentZoomPan()};o?l.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:h,duration:o,easing:l.options.easing}):h()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,r,o){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];r||(r=this.pswp.getViewportCenterPoint()),o||(o=this.zoomLevels.initial);const s=this.currZoomLevel/o;return this.bounds.correctPan(t,(this.pan[t]-r[t])*s+r[t])}panTo(t,r){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",r),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),Po(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,r,o){o/=this.currentResolution||this.zoomLevels.initial,Pp(this.container,t,r,o)}calculateSize(){const{pswp:t}=this;Po(this.panAreaSize,LI(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return U2(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const _Y=.35,EY=.6,PI=.4,FI=.5;function wY(e,t){return e*t/(1-t)}class SY{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&Po(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:r,dragAxis:o}=this.gestures,{currSlide:s}=this.pswp;if(o==="y"&&this.pswp.options.closeOnVerticalDrag&&s&&s.currZoomLevel<=s.zoomLevels.fit&&!this.gestures.isMultitouch){const l=s.pan.y+(t.y-r.y);if(!this.pswp.dispatch("verticalDrag",{panY:l}).defaultPrevented){this._setPanWithFriction("y",l,EY);const c=1-Math.abs(this._getVerticalDragRatio(s.pan.y));this.pswp.applyBgOpacity(c),s.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),s&&(II(s.pan),s.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:r,currSlide:o}=this.pswp;let s=0;if(this.pswp.animations.stopAll(),r.isShifted()){const l=(r.x-r.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-FI&&l<0||t.x<.1&&l<-.5?(s=1,t.x=Math.min(t.x,0)):(t.x>FI&&l>0||t.x>-.1&&l>.5)&&(s=-1,t.x=Math.max(t.x,0)),r.moveIndexBy(s,!0,t.x)}o&&o.currZoomLevel>o.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:r}=this.gestures,{currSlide:o}=this.pswp;if(!o)return;const{pan:s,bounds:l}=o,c=s[t],h=this.pswp.bgOpacity<1&&t==="y",v=c+wY(r[t],.995);if(h){const D=this._getVerticalDragRatio(c),S=this._getVerticalDragRatio(v);if(D<0&&S<-PI||D>0&&S>PI){this.pswp.close();return}}const p=l.correctPan(t,v);if(c===p)return;const x=p===v?1:.82,w=this.pswp.bgOpacity,_=p-c;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:c,end:p,velocity:r[t],dampingRatio:x,onUpdate:D=>{if(h&&this.pswp.bgOpacity<1){const S=1-(p-D)/_;this.pswp.applyBgOpacity(H2(w+(1-w)*S,0,1))}s[t]=Math.floor(D),o.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:r,dragAxis:o,prevP1:s,isMultitouch:l}=this.gestures,{currSlide:c,mainScroll:h}=this.pswp,v=r[t]-s[t],p=h.x+v;if(!v||!c)return!1;if(t==="x"&&!c.isPannable()&&!l)return h.moveTo(p,!0),!0;const{bounds:x}=c,w=c.pan[t]+v;if(this.pswp.options.allowPanToNext&&o==="x"&&t==="x"&&!l){const _=h.getCurrSlideX(),D=h.x-_,S=v>0,T=!S;if(w>x.min[t]&&S){if(x.min[t]<=this.startPan[t])return h.moveTo(p,!0),!0;this._setPanWithFriction(t,w)}else if(w<x.max[t]&&T){if(this.startPan[t]<=x.max[t])return h.moveTo(p,!0),!0;this._setPanWithFriction(t,w)}else if(D!==0){if(D>0)return h.moveTo(Math.max(p,_),!0),!0;if(D<0)return h.moveTo(Math.min(p,_),!0),!0}else this._setPanWithFriction(t,w)}else t==="y"?!h.isShifted()&&x.min.y!==x.max.y&&this._setPanWithFriction(t,w):this._setPanWithFriction(t,w);return!1}_getVerticalDragRatio(t){var r,o;return(t-((r=(o=this.pswp.currSlide)===null||o===void 0?void 0:o.bounds.center.y)!==null&&r!==void 0?r:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,r,o){const{currSlide:s}=this.pswp;if(!s)return;const{pan:l,bounds:c}=s;if(c.correctPan(t,r)!==r||o){const h=Math.round(r-l[t]);l[t]+=h*(o||_Y)}else l[t]=r}}const CY=.05,TY=.15;function HI(e,t,r){return e.x=(t.x+r.x)/2,e.y=(t.y+r.y)/2,e}class NY{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,Po(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:r,p2:o,startP2:s,pswp:l}=this.gestures,{currSlide:c}=l;if(!c)return;const h=c.zoomLevels.min,v=c.zoomLevels.max;if(!c.isZoomable()||l.mainScroll.isShifted())return;HI(this._startZoomPoint,r,s),HI(this._zoomPoint,t,o);let p=1/$5(r,s)*$5(t,o)*this._startZoomLevel;if(p>c.zoomLevels.initial+c.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),p<h)if(l.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=c.zoomLevels.initial){const x=1-(h-p)/(h/1.2);l.dispatch("pinchClose",{bgOpacity:x}).defaultPrevented||l.applyBgOpacity(x)}else p=h-(h-p)*TY;else p>v&&(p=v+(p-v)*CY);c.pan.x=this._calculatePanForZoomLevel("x",p),c.pan.y=this._calculatePanForZoomLevel("y",p),c.setZoomLevel(p),c.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:r}=t;(!r||r.currZoomLevel<r.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&t.options.pinchToClose?t.close():this.correctZoomPan()}_calculatePanForZoomLevel(t,r){const o=r/this._startZoomLevel;return this._zoomPoint[t]-(this._startZoomPoint[t]-this._startPan[t])*o}correctZoomPan(t){const{pswp:r}=this.gestures,{currSlide:o}=r;if(!(o!=null&&o.isZoomable()))return;this._zoomPoint.x===0&&(t=!0);const s=o.currZoomLevel;let l,c=!0;s<o.zoomLevels.initial?l=o.zoomLevels.initial:s>o.zoomLevels.max?l=o.zoomLevels.max:(c=!1,l=s);const h=r.bgOpacity,v=r.bgOpacity<1,p=Po({x:0,y:0},o.pan);let x=Po({x:0,y:0},p);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=s,Po(this._startPan,p)),c&&(x={x:this._calculatePanForZoomLevel("x",l),y:this._calculatePanForZoomLevel("y",l)}),o.setZoomLevel(l),x={x:o.bounds.correctPan("x",x.x),y:o.bounds.correctPan("y",x.y)},o.setZoomLevel(s);const w=!F2(x,p);if(!w&&!c&&!v){o._setResolution(l),o.applyCurrentZoomPan();return}r.animations.stopAllPan(),r.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:_=>{if(_/=1e3,w||c){if(w&&(o.pan.x=p.x+(x.x-p.x)*_,o.pan.y=p.y+(x.y-p.y)*_),c){const D=s+(l-s)*_;o.setZoomLevel(D)}o.applyCurrentZoomPan()}v&&r.bgOpacity<1&&r.applyBgOpacity(H2(h+(1-h)*_,0,1))},onComplete:()=>{o._setResolution(l),o.applyCurrentZoomPan()}})}}function UI(e){return!!e.target.closest(".pswp__container")}class DY{constructor(t){this.gestures=t}click(t,r){const o=r.target.classList,s=o.contains("pswp__img"),l=o.contains("pswp__item")||o.contains("pswp__zoom-wrap");s?this._doClickOrTapAction("imageClick",t,r):l&&this._doClickOrTapAction("bgClick",t,r)}tap(t,r){UI(r)&&this._doClickOrTapAction("tap",t,r)}doubleTap(t,r){UI(r)&&this._doClickOrTapAction("doubleTap",t,r)}_doClickOrTapAction(t,r,o){var s;const{pswp:l}=this.gestures,{currSlide:c}=l,h=t+"Action",v=l.options[h];if(!l.dispatch(h,{point:r,originalEvent:o}).defaultPrevented){if(typeof v=="function"){v.call(l,r,o);return}switch(v){case"close":case"next":l[v]();break;case"zoom":c?.toggleZoom(r);break;case"zoom-or-close":c!=null&&c.isZoomable()&&c.zoomLevels.secondary!==c.zoomLevels.initial?c.toggleZoom(r):l.options.clickToCloseNonZoomable&&l.close();break;case"toggle-controls":(s=this.gestures.pswp.element)===null||s===void 0||s.classList.toggle("pswp--ui-visible");break}}}}const IY=10,RY=300,OY=25;class jY{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new SY(this),this.zoomLevels=new NY(this),this.tapHandler=new DY(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,r,o,s){const{pswp:l}=this,{events:c}=l,h=s?t+s:"";c.add(l.scrollWrap,t+r,this.onPointerDown.bind(this)),c.add(window,t+"move",this.onPointerMove.bind(this)),c.add(window,t+o,this.onPointerUp.bind(this)),h&&c.add(l.scrollWrap,h,this.onPointerUp.bind(this))}onPointerDown(t){const r=t.type==="mousedown"||t.pointerType==="mouse";if(r&&t.button>0)return;const{pswp:o}=this;if(!o.opener.isOpen){t.preventDefault();return}o.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(r&&(o.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),o.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,Po(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,Po(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?F2(this.p1,this.prevP1)||this.drag.change():(!F2(this.p1,this.prevP1)||!F2(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const r=Date.now(),o=r-this._intervalTime;o<50&&!t||(this.velocity.x=this._getVelocity("x",o),this.velocity.y=this._getVelocity("y",o),this._intervalTime=r,Po(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:r}=this.pswp;if(r.isShifted()){r.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const o=this.pswp.options.doubleTapAction?RY:0;this._tapTimer?(this._clearTapTimer(),$5(this._lastStartP1,this.startP1)<OY&&this.tapHandler.doubleTap(this.startP1,t)):(Po(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},o))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,r){const o=this.p1[t]-this._intervalP1[t];return Math.abs(o)>1&&r>5?o/r:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,r){this.pswp.applyFilters("preventPointerEvent",!0,t,r)&&t.preventDefault()}_updatePoints(t,r){if(this._pointerEventEnabled){const o=t,s=this._ongoingPointers.findIndex(l=>l.id===o.pointerId);r==="up"&&s>-1?this._ongoingPointers.splice(s,1):r==="down"&&s===-1?this._ongoingPointers.push(this._convertEventPosToPoint(o,{x:0,y:0})):s>-1&&this._convertEventPosToPoint(o,this._ongoingPointers[s]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&Po(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&Po(this.p2,this._ongoingPointers[1])}else{const o=t;this._numActivePoints=0,o.type.indexOf("touch")>-1?o.touches&&o.touches.length>0&&(this._convertEventPosToPoint(o.touches[0],this.p1),this._numActivePoints++,o.touches.length>1&&(this._convertEventPosToPoint(o.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),r==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){Po(this.prevP1,this.p1),Po(this.prevP2,this.p2)}_updateStartPoints(){Po(this.startP1,this.p1),Po(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const r=t>0?"x":"y";Math.abs(this.p1[r]-this.startP1[r])>=IY&&(this.dragAxis=r)}}}_convertEventPosToPoint(t,r){return r.x=t.pageX-this.pswp.offset.x,r.y=t.pageY-this.pswp.offset.y,"pointerId"in t?r.id=t.pointerId:t.identifier!==void 0&&(r.id=t.identifier),r}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const MY=.35;class LY{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:r}=this,o=Math.round(r.viewportSize.x+r.viewportSize.x*r.options.spacing),s=o!==this.slideWidth;s&&(this.slideWidth=o,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((l,c)=>{s&&Pp(l.el,(c+this._containerShiftIndex)*this.slideWidth),t&&l.slide&&l.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const r=cc("pswp__item","div",this.pswp.container);r.setAttribute("role","group"),r.setAttribute("aria-roledescription","slide"),r.setAttribute("aria-hidden","true"),r.style.display=t===1?"block":"none",this.itemHolders.push({el:r})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,r,o){const{pswp:s}=this;let l=s.potentialIndex+t;const c=s.getNumItems();if(s.canLoop()){l=s.getLoopedIndex(l);const v=(t+c)%c;v<=c/2?t=v:t=v-c}else l<0?l=0:l>=c&&(l=c-1),t=l-s.potentialIndex;s.potentialIndex=l,this._currPositionIndex-=t,s.animations.stopMainScroll();const h=this.getCurrSlideX();if(!r)this.moveTo(h),this.updateCurrItem();else{s.animations.startSpring({isMainScroll:!0,start:this.x,end:h,velocity:o||0,naturalFrequency:30,dampingRatio:1,onUpdate:p=>{this.moveTo(p)},onComplete:()=>{this.updateCurrItem(),s.appendHeavy()}});let v=s.potentialIndex-s.currIndex;if(s.canLoop()){const p=(v+c)%c;p<=c/2?v=p:v=p-c}Math.abs(v)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:r}=this,o=this._prevPositionIndex-this._currPositionIndex;if(!o)return;this._prevPositionIndex=this._currPositionIndex,r.currIndex=r.potentialIndex;let s=Math.abs(o),l;s>=3&&(this._containerShiftIndex+=o+(o>0?-3:3),s=3,this.itemHolders.forEach(c=>{var h;(h=c.slide)===null||h===void 0||h.destroy(),c.slide=void 0}));for(let c=0;c<s;c++)o>0?(l=this.itemHolders.shift(),l&&(this.itemHolders[2]=l,this._containerShiftIndex++,Pp(l.el,(this._containerShiftIndex+2)*this.slideWidth),r.setContent(l,r.currIndex-s+c+2))):(l=this.itemHolders.pop(),l&&(this.itemHolders.unshift(l),this._containerShiftIndex--,Pp(l.el,this._containerShiftIndex*this.slideWidth),r.setContent(l,r.currIndex+s-c-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),r.animations.stopAllPan(),this.itemHolders.forEach((c,h)=>{c.slide&&c.slide.setIsActive(h===1)}),r.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,r.contentLoader.updateLazy(o),r.currSlide&&r.currSlide.applyCurrentZoomPan(),r.dispatch("change")}moveTo(t,r){if(!this.pswp.canLoop()&&r){let o=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;o+=this.pswp.currIndex;const s=Math.round(t-this.x);(o<0&&s>0||o>=this.pswp.getNumItems()-1&&s<0)&&(t=this.x+s*MY)}this.x=t,this.pswp.container&&Pp(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:r??!1})}}const kY={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},Fp=(e,t)=>t?e:kY[e];class BY{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const r=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&r&&this._wasFocused&&r.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:r}=this;if(r.dispatch("keydown",{originalEvent:t}).defaultPrevented||gY(t))return;let o,s,l=!1;const c="key"in t;switch(c?t.key:t.keyCode){case Fp("Escape",c):r.options.escKey&&(o="close");break;case Fp("z",c):o="toggleZoom";break;case Fp("ArrowLeft",c):s="x";break;case Fp("ArrowUp",c):s="y";break;case Fp("ArrowRight",c):s="x",l=!0;break;case Fp("ArrowDown",c):l=!0,s="y";break;case Fp("Tab",c):this._focusRoot();break}if(s){t.preventDefault();const{currSlide:h}=r;r.options.arrowKeys&&s==="x"&&r.getNumItems()>1?o=l?"next":"prev":h&&h.currZoomLevel>h.zoomLevels.fit&&(h.pan[s]+=l?-80:80,h.panTo(h.pan.x,h.pan.y))}o&&(t.preventDefault(),r[o]())}_onFocusIn(t){const{template:r}=this.pswp;r&&document!==t.target&&r!==t.target&&!r.contains(t.target)&&r.focus()}}const PY="cubic-bezier(.4,0,.22,1)";class FY{constructor(t){var r;this.props=t;const{target:o,onComplete:s,transform:l,onFinish:c=()=>{},duration:h=333,easing:v=PY}=t;this.onFinish=c;const p=l?"transform":"opacity",x=(r=t[p])!==null&&r!==void 0?r:"";this._target=o,this._onComplete=s,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{RI(o,p,h,v),this._helperTimeout=setTimeout(()=>{o.addEventListener("transitionend",this._onTransitionEnd,!1),o.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},h+500),o.style[p]=x},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),mY(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const HY=12,UY=.75;class qY{constructor(t,r,o){this.velocity=t*1e3,this._dampingRatio=r||UY,this._naturalFrequency=o||HY,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,r){let o=0,s;r/=1e3;const l=Math.E**(-this._dampingRatio*this._naturalFrequency*r);if(this._dampingRatio===1)s=this.velocity+this._naturalFrequency*t,o=(t+s*r)*l,this.velocity=o*-this._naturalFrequency+s*l;else if(this._dampingRatio<1){s=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const c=Math.cos(this._dampedFrequency*r),h=Math.sin(this._dampedFrequency*r);o=l*(t*c+s*h),this.velocity=o*-this._naturalFrequency*this._dampingRatio+l*(-this._dampedFrequency*t*h+this._dampedFrequency*s*c)}return o}}class zY{constructor(t){this.props=t,this._raf=0;const{start:r,end:o,velocity:s,onUpdate:l,onComplete:c,onFinish:h=()=>{},dampingRatio:v,naturalFrequency:p}=t;this.onFinish=h;const x=new qY(s,v,p);let w=Date.now(),_=r-o;const D=()=>{this._raf&&(_=x.easeFrame(_,Date.now()-w),Math.abs(_)<1&&Math.abs(x.velocity)<50?(l(o),c&&c(),this.onFinish()):(w=Date.now(),l(_+o),this._raf=requestAnimationFrame(D)))};this._raf=requestAnimationFrame(D)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class VY{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,r){const o=r?new zY(t):new FY(t);return this.activeAnimations.push(o),o.onFinish=()=>this.stop(o),o}stop(t){t.destroy();const r=this.activeAnimations.indexOf(t);r>-1&&this.activeAnimations.splice(r,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class GY{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:r}=this.pswp;let{deltaX:o,deltaY:s}=t;if(r&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(r.isZoomable()){let l=-s;t.deltaMode===1?l*=.05:l*=t.deltaMode?1:.002,l=2**l;const c=r.currZoomLevel*l;r.zoomTo(c,{x:t.clientX,y:t.clientY})}}else r.isPannable()&&(t.deltaMode===1&&(o*=18,s*=18),r.panTo(r.pan.x-o,r.pan.y-s))}}function KY(e){if(typeof e=="string")return e;if(!e||!e.isCustomSVG)return"";const t=e;let r='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return r=r.split("%d").join(t.size||32),t.outlineID&&(r+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),r+=t.inner,r+="</svg>",r}class WY{constructor(t,r){var o;const s=r.name||r.className;let l=r.html;if(t.options[s]===!1)return;typeof t.options[s+"SVG"]=="string"&&(l=t.options[s+"SVG"]),t.dispatch("uiElementCreate",{data:r});let c="";r.isButton?(c+="pswp__button ",c+=r.className||`pswp__button--${r.name}`):c+=r.className||`pswp__${r.name}`;let h=r.isButton?r.tagName||"button":r.tagName||"div";h=h.toLowerCase();const v=cc(c,h);if(r.isButton){h==="button"&&(v.type="button");let{title:w}=r;const{ariaLabel:_}=r;typeof t.options[s+"Title"]=="string"&&(w=t.options[s+"Title"]),w&&(v.title=w);const D=_||w;D&&v.setAttribute("aria-label",D)}v.innerHTML=KY(l),r.onInit&&r.onInit(v,t),r.onClick&&(v.onclick=w=>{typeof r.onClick=="string"?t[r.onClick]():typeof r.onClick=="function"&&r.onClick(w,v,t)});const p=r.appendTo||"bar";let x=t.element;p==="bar"?(t.topBar||(t.topBar=cc("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),x=t.topBar):(v.classList.add("pswp__hide-on-close"),p==="wrapper"&&(x=t.scrollWrap)),(o=x)===null||o===void 0||o.appendChild(t.applyFilters("uiElement",v,r))}}function qI(e,t,r){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(r?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}const $Y={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:qI},YY={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{qI(e,t,!0)}},QY={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},JY={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},ZY={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let r,o=null;const s=(h,v)=>{e.classList.toggle("pswp__preloader--"+h,v)},l=h=>{r!==h&&(r=h,s("active",h))},c=()=>{var h;if(!((h=t.currSlide)!==null&&h!==void 0&&h.content.isLoading())){l(!1),o&&(clearTimeout(o),o=null);return}o||(o=setTimeout(()=>{var v;l(!!(!((v=t.currSlide)===null||v===void 0)&&v.content.isLoading())),o=null},t.options.preloaderDelay))};t.on("change",c),t.on("loadComplete",h=>{t.currSlide===h.slide&&c()}),t.ui&&(t.ui.updatePreloaderVisibility=c)}},XY={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function zI(e,t){e.classList.toggle("pswp--zoomed-in",t)}class eQ{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[QY,$Y,YY,JY,ZY,XY],t.dispatch("uiRegister"),this.uiElementsData.sort((r,o)=>(r.order||0)-(o.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(r=>{this.registerElement(r)}),t.on("change",()=>{var r;(r=t.element)===null||r===void 0||r.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new WY(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:r,options:o}=this.pswp;if(this.pswp.opener.isClosing||!t||!r)return;let{currZoomLevel:s}=r;if(this.pswp.opener.isOpen||(s=r.zoomLevels.initial),s===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=s;const l=r.zoomLevels.initial-r.zoomLevels.secondary;if(Math.abs(l)<.01||!r.isZoomable()){zI(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const c=s===r.zoomLevels.initial?r.zoomLevels.secondary:r.zoomLevels.initial;zI(t,c<=s),(o.imageClickAction==="zoom"||o.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function tQ(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function rQ(e,t,r){const o=e.getBoundingClientRect(),s=o.width/t,l=o.height/r,c=s>l?s:l,h=(o.width-t*c)/2,v=(o.height-r*c)/2,p={x:o.left+h,y:o.top+v,w:t*c};return p.innerRect={w:o.width,h:o.height,x:h,y:v},p}function nQ(e,t,r){const o=r.dispatch("thumbBounds",{index:e,itemData:t,instance:r});if(o.thumbBounds)return o.thumbBounds;const{element:s}=t;let l,c;if(s&&r.options.thumbSelector!==!1){const h=r.options.thumbSelector||"img";c=s.matches(h)?s:s.querySelector(h)}return c=r.applyFilters("thumbEl",c,t,e),c&&(t.thumbCropped?l=rQ(c,t.width||t.w||0,t.height||t.h||0):l=tQ(c)),r.applyFilters("thumbBounds",l,t,e)}let aQ=class{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}},iQ=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,r=100){var o,s,l;this._filters[e]||(this._filters[e]=[]),(o=this._filters[e])===null||o===void 0||o.push({fn:t,priority:r}),(s=this._filters[e])===null||s===void 0||s.sort((c,h)=>c.priority-h.priority),(l=this.pswp)===null||l===void 0||l.addFilter(e,t,r)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(r=>r.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var r;return(r=this._filters[e])===null||r===void 0||r.forEach(o=>{t[0]=o.fn.apply(this,t)}),t[0]}on(e,t){var r,o;this._listeners[e]||(this._listeners[e]=[]),(r=this._listeners[e])===null||r===void 0||r.push(t),(o=this.pswp)===null||o===void 0||o.on(e,t)}off(e,t){var r;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(o=>t!==o)),(r=this.pswp)===null||r===void 0||r.off(e,t)}dispatch(e,t){var r;if(this.pswp)return this.pswp.dispatch(e,t);const o=new aQ(e,t);return(r=this._listeners[e])===null||r===void 0||r.forEach(s=>{s.call(this,o)}),o}},oQ=class{constructor(e,t){if(this.element=cc("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const r=this.element;r.decoding="async",r.alt="",r.src=e,r.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&(this.element.tagName==="IMG"?(Y5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=U2(0,0,e/250)):Y5(this.element,e,t))}destroy(){var e;(e=this.element)!==null&&e!==void 0&&e.parentNode&&this.element.remove(),this.element=null}},sQ=class{constructor(e,t,r){this.instance=t,this.data=e,this.index=r,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=ed.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const r=this.placeholder.element;r&&!r.parentElement&&this.slide.container.prepend(r)}else{const r=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new oQ(r,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=cc("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=cc("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,r;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const o=this.element;this.updateSrcsetSizes(),this.data.srcset&&(o.srcset=this.data.srcset),o.src=(t=this.data.src)!==null&&t!==void 0?t:"",o.alt=(r=this.data.alt)!==null&&r!==void 0?r:"",this.state=ed.LOADING,o.complete?this.onLoaded():(o.onload=()=>{this.onLoaded()},o.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=ed.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===ed.LOADED||this.state===ed.ERROR)&&this.removePlaceholder())}onError(){this.state=ed.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===ed.LOADING,this)}isError(){return this.state===ed.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(Y5(this.element,e,t),this.isImageContent()&&!this.isError()))){const r=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,r?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==ed.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let r=cc("pswp__error-msg","div");r.innerText=(e=(t=this.instance.options)===null||t===void 0?void 0:t.errorMsg)!==null&&e!==void 0?e:"",r=this.instance.applyFilters("contentErrorElement",r,this),this.element=cc("pswp__content pswp__error-msg-container","div"),this.element.appendChild(r),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===ed.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||OI())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!OI()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===ed.LOADED||this.state===ed.ERROR)&&this.removePlaceholder()))}};const uQ=5;function VI(e,t,r){const o=t.createContentFromData(e,r);let s;const{options:l}=t;if(l){s=new BI(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=MI(l,t);const h=LI(l,c,e,r);s.update(o.width,o.height,h)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function lQ(e,t){const r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return VI(r,t,e)}class cQ{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,uQ),this._cachedItems=[]}updateLazy(t){const{pswp:r}=this;if(r.dispatch("lazyLoad").defaultPrevented)return;const{preload:o}=r.options,s=t===void 0?!0:t>=0;let l;for(l=0;l<=o[1];l++)this.loadSlideByIndex(r.currIndex+(s?l:-l));for(l=1;l<=o[0];l++)this.loadSlideByIndex(r.currIndex+(s?-l:l))}loadSlideByIndex(t){const r=this.pswp.getLoopedIndex(t);let o=this.getContentByIndex(r);o||(o=lQ(r,this.pswp),o&&this.addToCache(o))}getContentBySlide(t){let r=this.getContentByIndex(t.index);return r||(r=this.pswp.createContentFromData(t.data,t.index),this.addToCache(r)),r.setSlide(t),r}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const r=this._cachedItems.findIndex(o=>!o.isAttached&&!o.hasSlide);r!==-1&&this._cachedItems.splice(r,1)[0].destroy()}}removeByIndex(t){const r=this._cachedItems.findIndex(o=>o.index===t);r!==-1&&this._cachedItems.splice(r,1)}getContentByIndex(t){return this._cachedItems.find(r=>r.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}let dQ=class extends iQ{getNumItems(){var e;let t=0;const r=(e=this.options)===null||e===void 0?void 0:e.dataSource;r&&"length"in r?t=r.length:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),r.items&&(t=r.items.length));const o=this.dispatch("numItems",{dataSource:r,numItems:t});return this.applyFilters("numItems",o.numItems,r)}createContentFromData(e,t){return new sQ(e,this,t)}getItemData(e){var t;const r=(t=this.options)===null||t===void 0?void 0:t.dataSource;let o={};Array.isArray(r)?o=r[e]:r&&"gallery"in r&&(r.items||(r.items=this._getGalleryDOMElements(r.gallery)),o=r.items[e]);let s=o;s instanceof Element&&(s=this._domElementToItemData(s));const l=this.dispatch("itemData",{itemData:s||{},index:e});return this.applyFilters("itemData",l.itemData,e)}_getGalleryDOMElements(e){var t,r;return(t=this.options)!==null&&t!==void 0&&t.children||(r=this.options)!==null&&r!==void 0&&r.childSelector?yY(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},r=e.tagName==="A"?e:e.querySelector("a");if(r){t.src=r.dataset.pswpSrc||r.href,r.dataset.pswpSrcset&&(t.srcset=r.dataset.pswpSrcset),t.width=r.dataset.pswpWidth?parseInt(r.dataset.pswpWidth,10):0,t.height=r.dataset.pswpHeight?parseInt(r.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,r.dataset.pswpType&&(t.type=r.dataset.pswpType);const s=e.querySelector("img");if(s){var o;t.msrc=s.currentSrc||s.src,t.alt=(o=s.getAttribute("alt"))!==null&&o!==void 0?o:""}(r.dataset.pswpCropped||r.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,r)}lazyLoadData(e,t){return VI(e,this,t)}};const z2=.003;class fQ{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,r=this.pswp.currSlide,{options:o}=t;if(o.showHideAnimationType==="fade"?(o.showHideOpacity=!0,this._thumbBounds=void 0):o.showHideAnimationType==="none"?(o.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=r?.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&r?.content.usePlaceholder()&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&r&&(r.zoomAndPanToInitial(),r.applyCurrentZoomPan());else{var s;this._animateRootOpacity=(s=o.showHideOpacity)!==null&&s!==void 0?s:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>z2,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(z2)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var l;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(l=this.pswp.currSlide)===null||l===void 0?void 0:l.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(z2)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(z2)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(z2)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let r=!1,o=!0;vY(this._placeholder).finally(()=>{r=!0,o||t(!0)}),setTimeout(()=>{o=!1,r&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,r;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(r=this.pswp.element)===null||r===void 0||r.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var r;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(r=t.currSlide)===null||r===void 0||r.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:r}=this,{innerRect:o}=this._thumbBounds,{currSlide:s,viewportSize:l}=r;if(this._croppedZoom&&o&&this._cropContainer1&&this._cropContainer2){const c=-l.x+(this._thumbBounds.x-o.x)+o.w,h=-l.y+(this._thumbBounds.y-o.y)+o.h,v=l.x-o.w,p=l.y-o.h;t?(this._animateTo(this._cropContainer1,"transform",U2(c,h)),this._animateTo(this._cropContainer2,"transform",U2(v,p))):(Pp(this._cropContainer1,c,h),Pp(this._cropContainer2,v,p))}s&&(Po(s.pan,o||this._thumbBounds),s.currZoomLevel=this._thumbBounds.w/s.width,t?this._animateTo(s.container,"transform",s.getCurrentTransform()):s.applyCurrentZoomPan())}_animateTo(t,r,o){if(!this._duration){t.style[r]=o;return}const{animations:s}=this.pswp,l={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{s.activeAnimations.length||this._onAnimationComplete()},target:t};l[r]=o,s.startTransition(l)}}const hQ={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class pQ extends dQ{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new bY,this.animations=new VY,this.mainScroll=new LY(this),this.gestures=new jY(this),this.opener=new fQ(this),this.keyboard=new BY(this),this.contentLoader=new cQ(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new GY(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:r}=this.mainScroll;r[0]&&(r[0].el.style.display="block",this.setContent(r[0],this.currIndex-1)),r[2]&&(r[2].el.style.display="block",this.setContent(r[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const r=this.getNumItems();return this.options.loop&&(t>r-1&&(t-=r),t<0&&(t+=r)),H2(t,0,r-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var r;(r=t.slide)===null||r===void 0||r.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var r;(r=this.currSlide)===null||r===void 0||r.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(r=>{var o;(o=r.slide)===null||o===void 0||o.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((r,o)=>{var s,l;let c=((s=(l=this.currSlide)===null||l===void 0?void 0:l.index)!==null&&s!==void 0?s:0)-1+o;if(this.canLoop()&&(c=this.getLoopedIndex(c)),c===t&&(this.setContent(r,t,!0),o===1)){var h;this.currSlide=r.slide,(h=r.slide)===null||h===void 0||h.setIsActive(!0)}}),this.dispatch("change")}setContent(t,r,o){if(this.canLoop()&&(r=this.getLoopedIndex(r)),t.slide){if(t.slide.index===r&&!o)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(r<0||r>=this.getNumItems()))return;const s=this.getItemData(r);t.slide=new AY(s,r,this),r===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const r=MI(this.options,this);!t&&F2(r,this._prevViewportSize)||(Po(this._prevViewportSize,r),this.dispatch("beforeResize"),Po(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,r){this.offset.x=t,this.offset.y=r,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=cc("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=cc("pswp__bg","div",this.element),this.scrollWrap=cc("pswp__scroll-wrap","section",this.element),this.container=cc("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new eQ(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return nQ(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...hQ,...t}}}function V2(e,t,r){const o=document.createElement(t);return e&&(o.className=e),r&&r.appendChild(o),o}function mQ(e,t,r){let o=`translate3d(${e}px,0px,0)`;return r!==void 0&&(o+=` scale3d(${r},${r},1)`),o}function Q5(e,t,r){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof r=="number"?`${r}px`:r}const td={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function vQ(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function G2(e,t,r=document){let o=[];if(e instanceof Element)o=[e];else if(e instanceof NodeList||Array.isArray(e))o=Array.from(e);else{const s=typeof e=="string"?e:t;s&&(o=Array.from(r.querySelectorAll(s)))}return o}function gQ(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function GI(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class yQ{constructor(t,r){this.type=t,this.defaultPrevented=!1,r&&Object.assign(this,r)}preventDefault(){this.defaultPrevented=!0}}class bQ{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,r,o=100){var s,l,c;this._filters[t]||(this._filters[t]=[]),(s=this._filters[t])===null||s===void 0||s.push({fn:r,priority:o}),(l=this._filters[t])===null||l===void 0||l.sort((h,v)=>h.priority-v.priority),(c=this.pswp)===null||c===void 0||c.addFilter(t,r,o)}removeFilter(t,r){this._filters[t]&&(this._filters[t]=this._filters[t].filter(o=>o.fn!==r)),this.pswp&&this.pswp.removeFilter(t,r)}applyFilters(t,...r){var o;return(o=this._filters[t])===null||o===void 0||o.forEach(s=>{r[0]=s.fn.apply(this,r)}),r[0]}on(t,r){var o,s;this._listeners[t]||(this._listeners[t]=[]),(o=this._listeners[t])===null||o===void 0||o.push(r),(s=this.pswp)===null||s===void 0||s.on(t,r)}off(t,r){var o;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(s=>r!==s)),(o=this.pswp)===null||o===void 0||o.off(t,r)}dispatch(t,r){var o;if(this.pswp)return this.pswp.dispatch(t,r);const s=new yQ(t,r);return(o=this._listeners[t])===null||o===void 0||o.forEach(l=>{l.call(this,s)}),s}}class xQ{constructor(t,r){if(this.element=V2("pswp__img pswp__img--placeholder",t?"img":"div",r),t){const o=this.element;o.decoding="async",o.alt="",o.src=t,o.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,r){this.element&&(this.element.tagName==="IMG"?(Q5(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=mQ(0,0,t/250)):Q5(this.element,t,r))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class AQ{constructor(t,r,o){this.instance=r,this.data=t,this.index=o,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=td.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,r){if(this.slide&&this.usePlaceholder())if(this.placeholder){const o=this.placeholder.element;o&&!o.parentElement&&this.slide.container.prepend(o)}else{const o=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new xQ(o,this.slide.container)}this.element&&!r||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=V2("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=V2("pswp__content","div"),this.element.innerHTML=this.data.html||""),r&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var r,o;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const s=this.element;this.updateSrcsetSizes(),this.data.srcset&&(s.srcset=this.data.srcset),s.src=(r=this.data.src)!==null&&r!==void 0?r:"",s.alt=(o=this.data.alt)!==null&&o!==void 0?o:"",this.state=td.LOADING,s.complete?this.onLoaded():(s.onload=()=>{this.onLoaded()},s.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=td.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder())}onError(){this.state=td.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===td.LOADING,this)}isError(){return this.state===td.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,r){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,r),!this.instance.dispatch("contentResize",{content:this,width:t,height:r}).defaultPrevented&&(Q5(this.element,t,r),this.isImageContent()&&!this.isError()))){const o=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=r,o?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:r,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==td.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,r=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||r>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=r+"px",t.dataset.largestUsedSize=String(r))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,r;let o=V2("pswp__error-msg","div");o.innerText=(t=(r=this.instance.options)===null||r===void 0?void 0:r.errorMsg)!==null&&t!==void 0?t:"",o=this.instance.applyFilters("contentErrorElement",o,this),this.element=V2("pswp__content pswp__error-msg-container","div"),this.element.appendChild(o),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===td.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||GI())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!GI()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===td.LOADED||this.state===td.ERROR)&&this.removePlaceholder()))}}function _Q(e,t){if(e.getViewportSizeFn){const r=e.getViewportSizeFn(e,t);if(r)return r}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function I3(e,t,r,o,s){let l=0;if(t.paddingFn)l=t.paddingFn(r,o,s)[e];else if(t.padding)l=t.padding[e];else{const c="padding"+e[0].toUpperCase()+e.slice(1);t[c]&&(l=t[c])}return Number(l)||0}function EQ(e,t,r,o){return{x:t.x-I3("left",e,t,r,o)-I3("right",e,t,r,o),y:t.y-I3("top",e,t,r,o)-I3("bottom",e,t,r,o)}}const KI=4e3;class wQ{constructor(t,r,o,s){this.pswp=s,this.options=t,this.itemData=r,this.index=o,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,r,o){const s={x:t,y:r};this.elementSize=s,this.panAreaSize=o;const l=o.x/s.x,c=o.y/s.y;this.fit=Math.min(1,l<c?l:c),this.fill=Math.min(1,l>c?l:c),this.vFill=Math.min(1,c),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const r=t+"ZoomLevel",o=this.options[r];if(o)return typeof o=="function"?o(this):o==="fill"?this.fill:o==="fit"?this.fit:Number(o)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>KI&&(t=KI/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function WI(e,t,r){const o=t.createContentFromData(e,r);let s;const{options:l}=t;if(l){s=new wQ(l,e,-1);let c;t.pswp?c=t.pswp.viewportSize:c=_Q(l,t);const h=EQ(l,c,e,r);s.update(o.width,o.height,h)}return o.lazyLoad(),s&&o.setDisplayedSize(Math.ceil(o.width*s.initial),Math.ceil(o.height*s.initial)),o}function SQ(e,t){const r=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:r}).defaultPrevented)return WI(r,t,e)}class CQ extends bQ{getNumItems(){var t;let r=0;const o=(t=this.options)===null||t===void 0?void 0:t.dataSource;o&&"length"in o?r=o.length:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),o.items&&(r=o.items.length));const s=this.dispatch("numItems",{dataSource:o,numItems:r});return this.applyFilters("numItems",s.numItems,o)}createContentFromData(t,r){return new AQ(t,this,r)}getItemData(t){var r;const o=(r=this.options)===null||r===void 0?void 0:r.dataSource;let s={};Array.isArray(o)?s=o[t]:o&&"gallery"in o&&(o.items||(o.items=this._getGalleryDOMElements(o.gallery)),s=o.items[t]);let l=s;l instanceof Element&&(l=this._domElementToItemData(l));const c=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",c.itemData,t)}_getGalleryDOMElements(t){var r,o;return(r=this.options)!==null&&r!==void 0&&r.children||(o=this.options)!==null&&o!==void 0&&o.childSelector?G2(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const r={element:t},o=t.tagName==="A"?t:t.querySelector("a");if(o){r.src=o.dataset.pswpSrc||o.href,o.dataset.pswpSrcset&&(r.srcset=o.dataset.pswpSrcset),r.width=o.dataset.pswpWidth?parseInt(o.dataset.pswpWidth,10):0,r.height=o.dataset.pswpHeight?parseInt(o.dataset.pswpHeight,10):0,r.w=r.width,r.h=r.height,o.dataset.pswpType&&(r.type=o.dataset.pswpType);const l=t.querySelector("img");if(l){var s;r.msrc=l.currentSrc||l.src,r.alt=(s=l.getAttribute("alt"))!==null&&s!==void 0?s:""}(o.dataset.pswpCropped||o.dataset.cropped)&&(r.thumbCropped=!0)}return this.applyFilters("domItemData",r,t,o)}lazyLoadData(t,r){return WI(t,this,r)}}class TQ extends CQ{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){G2(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(vQ(t)||window.pswp)return;let r={x:t.clientX,y:t.clientY};!r.x&&!r.y&&(r=null);let o=this.getClickedIndex(t);o=this.applyFilters("clickedIndex",o,t,this);const s={gallery:t.currentTarget};o>=0&&(t.preventDefault(),this.loadAndOpen(o,s,r))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const r=t.target,o=G2(this.options.children,this.options.childSelector,t.currentTarget).findIndex(s=>s===r||s.contains(r));return o!==-1?o:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,r,o){if(window.pswp||!this.options)return!1;if(!r&&this.options.gallery&&this.options.children){const s=G2(this.options.gallery);s[0]&&(r={gallery:s[0]})}return this.options.index=t,this.options.initialPointerPos=o,this.shouldOpen=!0,this.preload(t,r),!0}preload(t,r){const{options:o}=this;r&&(o.dataSource=r);const s=[],l=typeof o.pswpModule;if(gQ(o.pswpModule))s.push(Promise.resolve(o.pswpModule));else{if(l==="string")throw new Error("pswpModule as string is no longer supported");if(l==="function")s.push(o.pswpModule());else throw new Error("pswpModule is not valid")}typeof o.openPromise=="function"&&s.push(o.openPromise()),o.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=SQ(t,this));const c=++this._uid;Promise.all(s).then(h=>{if(this.shouldOpen){const v=h[0];this._openPhotoswipe(v,c)}})}_openPhotoswipe(t,r){if(r!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const o=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=o,window.pswp=o,Object.keys(this._listeners).forEach(s=>{var l;(l=this._listeners[s])===null||l===void 0||l.forEach(c=>{o.on(s,c)})}),Object.keys(this._filters).forEach(s=>{var l;(l=this._filters[s])===null||l===void 0||l.forEach(c=>{o.addFilter(s,c.fn,c.priority)})}),this._preloadedContent&&(o.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),o.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),o.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},G2(this.options.gallery,this.options.gallerySelector).forEach(r=>{r.removeEventListener("click",this.onThumbnailsClick,!1)})}}const NQ=()=>{let e=null;return e=new TQ({gallery:"#photoswipe-gallery",children:"a",pswpModule:pQ,zoom:!1,imageClickAction:"next",tapAction:"next"}),e.on("uiRegister",()=>{e?.pswp?.ui?.registerElement({name:"custom-caption",appendTo:"root",onInit:t=>{e?.pswp?.on("change",()=>{const r=e?.pswp?.currSlide?.data.element;if(r){const o=r.querySelector(".caption-content");t.innerHTML=o?.innerHTML||""}})}})}),e.init(),()=>{e&&(e.destroy(),e=null)}},DQ="mbrs-game-ranking",IQ=".c-header-page__ranking-button",RQ=()=>{const e=document.querySelector(IQ),t=e?.querySelector("button");!e||!t||t.addEventListener("click",()=>{document.getElementById(DQ)?.scrollIntoView({behavior:"smooth"})})},$I=e=>Math.min(100,Math.max(0,Math.round(e))),OQ=({limitElement:e,progressBar:t,closeProgress:r,startElement:o,endElement:s})=>{if(!t&&!r)return;const{documentElement:l}=document,c=l.scrollTop;if(t){let h=l.scrollHeight-l.clientHeight;if(!h)return;e&&(h=e.scrollHeight-l.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top)),t.style.width=`${$I(c/h*100)}%`}if(r&&o&&s){const h=window.pageYOffset+o.getBoundingClientRect().bottom,v=window.pageYOffset+s.getBoundingClientRect().bottom-l.clientHeight-h;if(v>0){const p=$I((c-h)/v*100);r.style.setProperty("--progress",`${p}`),r.parentElement?.classList.toggle("c-btn--close-progress-complete",p>=100)}}},jQ=()=>{const e={limitElement:document.querySelector(".js-limit-scroll-progress-bar"),progressBar:document.querySelector(".c-progress__bar"),closeProgress:document.querySelector(".c-btn__close-progress"),startElement:document.querySelector(".js-content-header"),endElement:document.querySelector(".js-limit-scroll-close-article-btn")};(e.progressBar||e.closeProgress)&&window.addEventListener("scroll",()=>OQ(e))},MQ=(e={})=>{const{buttonSelector:t=".c-scroll-to-top"}=e,r=document.querySelector(t),o=r?.querySelector("button");if(!r||!o)return;const s=r.dataset.triggerSelector||"[data-scroll-trigger]",l=parseInt(r.dataset.triggerOffset||"0",10);r.style.display="none";const c=()=>{const v=document.querySelector(s);let p=!1;if(v){const x=v.getBoundingClientRect().top;p=window.pageYOffset>=x-l}else p=window.pageYOffset>300;r.style.display=p?"block":"none"},h=()=>{window.scrollTo({top:0,behavior:"smooth"})};window.addEventListener("scroll",c),o.addEventListener("click",h),c()},LQ=500,kQ=()=>{const e=document.getElementById("mbrs-comments-container"),t=document.querySelector(".c-scroll-to-top-comment");if(!e||!t)return;t.style.display="none",t.addEventListener("click",()=>{document.getElementById("graphcomment")?.scrollIntoView({behavior:"smooth"})});let r=!1;const o=()=>{const{top:w,bottom:_}=e.getBoundingClientRect(),D=window.innerHeight/2,S=w<-400,T=_<D;t.style.display=S&&!T?"flex":"none"},s=()=>{r||(r=!0,window.addEventListener("scroll",o,{passive:!0}),o())},l=()=>{r&&(r=!1,window.removeEventListener("scroll",o),t.style.display="none")},c=w=>{w.offsetHeight>LQ?s():l()},h=w=>{new ResizeObserver(()=>{c(w)}).observe(w)},v=w=>{c(w),h(w)},p=w=>{try{if(w.contentDocument?.readyState==="complete"){v(w);return}}catch{}w.addEventListener("load",()=>v(w),{once:!0})};if((()=>{const w=e.querySelector("iframe");return w?(p(w),!0):!1})())return;const x=new MutationObserver(w=>{w.some(_=>Array.from(_.addedNodes).some(D=>{if(D instanceof HTMLIFrameElement)return p(D),!0;if(D instanceof HTMLElement){const S=D.querySelector("iframe");if(S)return p(S),!0}return!1}))&&x.disconnect()});x.observe(e,{childList:!0,subtree:!0})},BQ="#page-content",YI="#text-tooltip",PQ=".mbrs-social-report-container",QI="c-text-tooltip--show",FQ=["#page-content .c-content","#page-content .c-content p","#page-content .c-content h2","#page-content .c-content h3","#page-content .c-content h4","#page-content .c-content h5","#page-content .c-content h6","#page-content .c-content li","#page-content .c-content span","#page-content header span","#page-content header h1","#page-content header h2"],JI=e=>e instanceof Element?e:e.parentElement,ZI=(e,t)=>e?t.some(r=>!!e.closest(r)):!1,HQ=(e,t)=>{const r=JI(e.startContainer),o=JI(e.endContainer);return ZI(r,t)||ZI(o,t)},UQ=e=>{if(!e.focusNode)return null;const t=e.anchorNode?.compareDocumentPosition(e.focusNode);return t?(t&4)>0:e.anchorOffset<e.focusOffset},qQ=(e,t,r)=>{const o=document.querySelector(YI),s=document.querySelector(BQ),l=document.querySelectorAll(PQ);if(!o||!s){console.warn("Text tooltip : Tooltip or page content are not found in the DOM");return}Array.from(l).forEach(w=>{w.setAttribute("data-selected-text",r)});const c=e.getClientRects(),h=c[t?c.length-1:0];if(!h){R3();return}o.style.position="fixed",o.style.zIndex="100";const v=8,p=h.top-(o.offsetHeight+10),x=h.width<o.offsetWidth?h.left+h.width/2-o.offsetWidth/2:t?h.left+h.width-o.offsetWidth:h.left;o.style.top=`${Math.max(v,p)}px`,o.style.left=`${Math.min(Math.max(v,x),window.innerWidth-o.offsetWidth-v)}px`,o.classList.add(QI)},R3=()=>{const e=document.querySelector(`${YI}`);e&&e.classList.remove(QI)},zQ=()=>{const e=window.getSelection();if(!e?.rangeCount){R3();return}const t=e.getRangeAt(0),r=e.toString().trim();if(r.length){const o=HQ(t,FQ),s=UQ(e)||!1;o&&qQ(t,s,r);return}R3()},O3=({type:e})=>{if(e==="selectionchange"){window.getSelection()?.toString().trim().length||R3();return}zQ()},VQ=()=>{if(!window?.getSelection){console.warn("Selection API isn't supported");return}document.addEventListener("mouseup",O3),document.addEventListener("selectionchange",O3),document.addEventListener("touchend",O3),document.addEventListener("touchcancel",O3)},GQ=e=>{const{target:t}=e;if(t instanceof Element){const r=t.closest(".c-search-form--button");r&&(e.preventDefault(),r.classList.remove("c-search-form--button"))}},KQ=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{GQ(t)})},WQ=({tabsContainerElement:e,event:t})=>{t.preventDefault();const r=t.target;if(!(r instanceof HTMLButtonElement))return;const o=e.querySelectorAll('[role="tab"]'),s=e.querySelectorAll('[role="tabpanel"]'),l=r.getAttribute("aria-controls"),c=Object.values(s).find(h=>h.id===l);o.forEach(h=>{h.setAttribute("aria-selected","false")}),s.forEach(h=>{h.setAttribute("aria-hidden","true")}),r.setAttribute("aria-selected","true"),c&&c.removeAttribute("aria-hidden")},XI=e=>e.code==="ArrowLeft"||e.keyCode===39,eR=e=>e.code==="ArrowRight"||e.keyCode===37,$Q=(e=document.querySelectorAll(".js-tabs"))=>{e.length>0&&e.forEach(t=>{const r=t.querySelectorAll('[role="tab"]');r.forEach(s=>{s.addEventListener("click",l=>{WQ({tabsContainerElement:t,event:l})})});const o=t.querySelector('[role="tablist"]');if(o&&r.length>0){let s=0;o.addEventListener("keydown",l=>{l instanceof KeyboardEvent&&(XI(l)||eR(l))&&(r[s].setAttribute("tabindex","-1"),XI(l)?(s+=1,s>=r.length&&(s=0)):eR(l)&&(s-=1,s<0&&(s=r.length-1)),r[s].setAttribute("tabindex","0"),r[s].focus())})}})},j3=e=>{const[t,r]=e.split("h").map(Number);return t*60+r},tR=()=>{const e=new Date,t=e.getHours(),r=e.getMinutes();return t*60+r},YQ=(e,t)=>{const r=tR();if(r<e||r>t)return 0;const o=t-e;return(r-e)/o},QQ=e=>{const t=tR();let r=null,o=null,s=-1;return Array.from(e).find((l,c,h)=>{if(c===h.length-1)return!1;const v=l.textContent,p=h[c+1].textContent;if(!v||!p)return!1;const x=j3(v),w=j3(p);return t>=x&&t<w?(r=v,o=p,s=c,!0):!1}),{currentIntervalStartTime:r,currentIntervalEndTime:o,currentIntervalIndex:s}},JQ=()=>{const e=document.querySelectorAll(".c-timeline__time");if(!e||e.length<2)return;const t=document.querySelector(".c-timeline__progress-bar"),{currentIntervalStartTime:r,currentIntervalEndTime:o,currentIntervalIndex:s}=QQ(e);if(!r||!o)return;const l=j3(r),c=j3(o),h=YQ(l,c);if(t instanceof HTMLElement){if(t.classList.contains("c-timeline__progress-bar--is-desktop")&&e.length>=5){const v="172px / 2";switch(s){case 0:t.style.width=`calc(${v} + (((${v} + 25% - ${v} / 2) - ${v}) * ${h})`;break;case 1:t.style.width=`calc((${v} + 25% - ${v} / 2) + (((50%) - (${v} + 25% - ${v} / 2)) * ${h})`;break;case 2:t.style.width=`calc((50%) + (((75% - ${v} / 2) - (50%)) * ${h})`;break;case 3:t.style.width=`calc((75% - ${v} / 2) + (((100% - ${v}) - (75% - ${v} / 2)) * ${h}`;break;default:t.style.width="0%"}}if(t.classList.contains("c-timeline__progress-bar--is-mobile")){const v="45px / 2",p="20px";switch(s){case 0:case 1:case 2:case 3:t.style.width=`calc((${p} + ${v}) + (((60% + ${v}) - (${p} + ${v})) * ${h})`;break;default:t.style.width="0%"}if(s===1||s===2||s===3){const x=document.querySelectorAll(".c-timeline__time"),w=document.querySelectorAll(".c-timeline__event");x.length>0&&w.length>0&&(x[0].textContent=r,x[1].textContent=o,w[0].textContent=w[s].textContent,w[1].textContent=w[s+1].textContent)}}}},J5="c-icon-item__container--is-highlighted",ZQ=e=>{e.find(t=>t.classList.contains(J5))?.classList.remove(J5)},XQ=()=>{const e=document.querySelector(".c-toolbar");if(e){const t=window.location.origin+window.location.pathname,r=Array.from(e.querySelectorAll(".c-icon-item__container"));ZQ(r),r.find(o=>o.querySelector("a")?.getAttribute("href")===t)?.classList.add(J5)}},eJ=12,Z5=e=>{const t=e||document.querySelector(".c-map-towns");if(!t){new MutationObserver((o,s)=>{if(typeof document<"u"){const l=document.querySelector(".c-map-towns");l&&(s.disconnect(),Z5(l))}}).observe(document.body,{childList:!0,subtree:!0});return}const r=()=>{const o=t.querySelectorAll(".js-city-marker");if(o.length===0)return!1;const s=(l=0)=>{let c=!0;o.forEach(h=>{if(h.getAttribute("aria-hidden")==="false")return;const v=h.querySelector(".js-city-anchor"),p=h.querySelector(".js-city-text"),x=h.querySelector(".js-city-bg");if(!(v instanceof SVGGraphicsElement)||!(p instanceof SVGTextElement)||!(x instanceof SVGRectElement))return;const w=v.getBBox();if(w.width>0){const{x:_,y:D,width:S,height:T}=w,C=h.getAttribute("data-scale"),O=C?` scale(${C})`:"";h.setAttribute("transform",`translate(${_+S/2}, ${D+T/2})${O}`);const L=p.getBBox(),P=8,z=4,U=8,W=L.width+P,Q=L.height+z;x.setAttribute("width",`${W}`),x.setAttribute("height",`${Q}`),x.setAttribute("x",`${-W/2}`),x.setAttribute("y",`${-Q-U}`);const ie=-Q/2-U;p.setAttribute("y",`${ie}`),h.setAttribute("aria-hidden","false")}else c=!1}),!c&&l<eJ&&requestAnimationFrame(()=>s(l+1))};return requestAnimationFrame(()=>s()),!0};r()||new MutationObserver((o,s)=>{r()&&s.disconnect()}).observe(t,{childList:!0,subtree:!0})},tJ={10:[{id:"10387",name:"Troyes"},{id:"10323",name:"Romilly-sur-Seine"},{id:"10033",name:"Bar-sur-Aube"}],11:[{id:"11262",name:"Narbonne"},{id:"11069",name:"Carcassonne"},{id:"11076",name:"Castelnaudary"}],12:[{id:"12202",name:"Rodez"},{id:"12145",name:"Millau"},{id:"12300",name:"Villefranche-de-Rouergue"}],13:[{id:"13055",name:"Marseille"},{id:"13001",name:"Aix-en-Provence"},{id:"13004",name:"Arles"}],14:[{id:"14118",name:"Caen"},{id:"14366",name:"Lisieux"},{id:"14762",name:"Vire Normandie"}],15:[{id:"15014",name:"Aurillac"},{id:"15187",name:"Saint-Flour"},{id:"15120",name:"Mauriac"}],16:[{id:"16015",name:"Angoulême"},{id:"16102",name:"Cognac"},{id:"16028",name:"Barbezieux-Saint-Hilaire"}],17:[{id:"17300",name:"La Rochelle"},{id:"17415",name:"Saintes"},{id:"17299",name:"Rochefort"}],18:[{id:"18033",name:"Bourges"},{id:"18279",name:"Vierzon"},{id:"18197",name:"Saint-Amand-Montrond"}],19:[{id:"19031",name:"Brive-la-Gaillarde"},{id:"19272",name:"Tulle"},{id:"19275",name:"Ussel"}],21:[{id:"21231",name:"Dijon"},{id:"21054",name:"Beaune"},{id:"21038",name:"Auxonne"}],22:[{id:"22278",name:"Saint-Brieuc"},{id:"22113",name:"Lannion"},{id:"22093",name:"Lamballe-Armor"}],23:[{id:"23096",name:"Guéret"},{id:"23176",name:"La Souterraine"},{id:"23008",name:"Aubusson"}],24:[{id:"24322",name:"Périgueux"},{id:"24037",name:"Bergerac"},{id:"24520",name:"Sarlat-la-Canéda"}],25:[{id:"25056",name:"Besançon"},{id:"25388",name:"Montbéliard"},{id:"25462",name:"Pontarlier"}],26:[{id:"26362",name:"Valence"},{id:"26198",name:"Montélimar"},{id:"26235",name:"Pierrelatte"}],27:[{id:"27229",name:"Évreux"},{id:"27681",name:"Vernon"},{id:"27375",name:"Louviers"}],28:[{id:"28085",name:"Chartres"},{id:"28134",name:"Dreux"},{id:"28088",name:"Châteaudun"}],29:[{id:"29019",name:"Brest"},{id:"29232",name:"Quimper"},{id:"29039",name:"Concarneau"}],30:[{id:"30189",name:"Nîmes"},{id:"30007",name:"Alès"},{id:"30028",name:"Bagnols-sur-Cèze"}],31:[{id:"31555",name:"Toulouse"},{id:"31483",name:"Saint-Gaudens"},{id:"31033",name:"Auterive"}],32:[{id:"32013",name:"Auch"},{id:"32160",name:"L'Isle-Jourdain"},{id:"32107",name:"Condom"}],33:[{id:"33063",name:"Bordeaux"},{id:"33529",name:"La Teste-de-Buch"},{id:"33243",name:"Libourne"}],34:[{id:"34172",name:"Montpellier"},{id:"34032",name:"Béziers"},{id:"34301",name:"Sète"}],35:[{id:"35238",name:"Rennes"},{id:"35288",name:"Saint-Malo"},{id:"35115",name:"Fougères"}],36:[{id:"36044",name:"Châteauroux"},{id:"36088",name:"Issoudun"},{id:"36018",name:"Le Blanc"}],37:[{id:"37261",name:"Tours"},{id:"37003",name:"Amboise"},{id:"37072",name:"Chinon"}],38:[{id:"38185",name:"Grenoble"},{id:"38544",name:"Vienne"},{id:"38053",name:"Bourgoin-Jallieu"}],39:[{id:"39198",name:"Dole"},{id:"39300",name:"Lons-le-Saunier"},{id:"39478",name:"Saint-Claude"}],40:[{id:"40192",name:"Mont-de-Marsan"},{id:"40088",name:"Dax"},{id:"40046",name:"Biscarrosse"}],41:[{id:"41018",name:"Blois"},{id:"41194",name:"Romorantin-Lanthenay"},{id:"41269",name:"Vendôme"}],42:[{id:"42218",name:"Saint-Étienne"},{id:"42187",name:"Roanne"},{id:"42147",name:"Montbrison"}],43:[{id:"43157",name:"Le Puy-en-Velay"},{id:"43137",name:"Monistrol-sur-Loire"},{id:"43040",name:"Brioude"}],44:[{id:"44109",name:"Nantes"},{id:"44184",name:"Saint-Nazaire"},{id:"44131",name:"Pornic"}],45:[{id:"45234",name:"Orléans"},{id:"45208",name:"Montargis"},{id:"45155",name:"Gien"}],46:[{id:"46042",name:"Cahors"},{id:"46102",name:"Figeac"},{id:"46127",name:"Gourdon"}],47:[{id:"47001",name:"Agen"},{id:"47323",name:"Villeneuve-sur-Lot"},{id:"47157",name:"Marmande"}],48:[{id:"48095",name:"Mende"},{id:"48140",name:"Saint-Chély-d'Apcher"},{id:"48080",name:"Langogne"}],49:[{id:"49007",name:"Angers"},{id:"49099",name:"Cholet"},{id:"49328",name:"Saumur"}],50:[{id:"50129",name:"Cherbourg-en-Cotentin"},{id:"50502",name:"Saint-Lô"},{id:"50218",name:"Granville"}],51:[{id:"51454",name:"Reims"},{id:"51108",name:"Châlons-en-Champagne"},{id:"51230",name:"Épernay"}],52:[{id:"52448",name:"Saint-Dizier"},{id:"52121",name:"Chaumont"},{id:"52269",name:"Langres"}],53:[{id:"53130",name:"Laval"},{id:"53062",name:"Château-Gontier-sur-Mayenne"},{id:"53147",name:"Mayenne"}],54:[{id:"54395",name:"Nancy"},{id:"54329",name:"Lunéville"},{id:"54528",name:"Toul"}],55:[{id:"55545",name:"Verdun"},{id:"55029",name:"Bar-le-Duc"},{id:"55122",name:"Commercy"}],56:[{id:"56121",name:"Lorient"},{id:"56260",name:"Vannes"},{id:"56178",name:"Pontivy"}],57:[{id:"57463",name:"Metz"},{id:"57672",name:"Thionville"},{id:"57227",name:"Forbach"}],58:[{id:"58194",name:"Nevers"},{id:"58086",name:"Cosne-Cours-sur-Loire"},{id:"58095",name:"Decize"}],59:[{id:"59350",name:"Lille"},{id:"59183",name:"Dunkerque"},{id:"59606",name:"Valenciennes"}],60:[{id:"60057",name:"Beauvais"},{id:"60159",name:"Compiègne"},{id:"60175",name:"Creil"}],61:[{id:"61001",name:"Alençon"},{id:"61169",name:"Flers"},{id:"61006",name:"Argentan"}],62:[{id:"62193",name:"Calais"},{id:"62041",name:"Arras"},{id:"62160",name:"Boulogne-sur-Mer"}],63:[{id:"63113",name:"Clermont-Ferrand"},{id:"63178",name:"Issoire"},{id:"63430",name:"Thiers"}],64:[{id:"64445",name:"Pau"},{id:"64102",name:"Bayonne"},{id:"64260",name:"Hendaye"}],65:[{id:"65440",name:"Tarbes"},{id:"65258",name:"Lannemezan"},{id:"65025",name:"Argelès-Gazost"}],66:[{id:"66136",name:"Perpignan"},{id:"66049",name:"Céret"},{id:"66149",name:"Prades"}],67:[{id:"67482",name:"Strasbourg"},{id:"67180",name:"Haguenau"},{id:"67462",name:"Sélestat"}],68:[{id:"68224",name:"Mulhouse"},{id:"68066",name:"Colmar"},{id:"68297",name:"Saint-Louis"}],69:[{id:"69123",name:"Lyon"},{id:"69264",name:"Villefranche-sur-Saône"},{id:"69091",name:"Givors"}],70:[{id:"70550",name:"Vesoul"},{id:"70285",name:"Héricourt"},{id:"70310",name:"Lure"}],71:[{id:"71076",name:"Chalon-sur-Saône"},{id:"71270",name:"Mâcon"},{id:"71153",name:"Le Creusot"}],72:[{id:"72181",name:"Le Mans"},{id:"72154",name:"La Flèche"},{id:"72264",name:"Sablé-sur-Sarthe"}],73:[{id:"73065",name:"Chambéry"},{id:"73011",name:"Albertville"},{id:"73248",name:"Saint-Jean-de-Maurienne"}],74:[{id:"74010",name:"Annecy"},{id:"74281",name:"Thonon-les-Bains"},{id:"74012",name:"Annemasse"}],75:[{id:"75056",name:"Paris"}],76:[{id:"76351",name:"Le Havre"},{id:"76540",name:"Rouen"},{id:"76217",name:"Dieppe"}],77:[{id:"77284",name:"Meaux"},{id:"77108",name:"Chelles"},{id:"77288",name:"Melun"}],78:[{id:"78646",name:"Versailles"},{id:"78361",name:"Mantes-la-Jolie"},{id:"78172",name:"Conflans-Sainte-Honorine"}],79:[{id:"79191",name:"Niort"},{id:"79049",name:"Bressuire"},{id:"79329",name:"Thouars"}],80:[{id:"80021",name:"Amiens"},{id:"80001",name:"Abbeville"},{id:"80016",name:"Albert"}],81:[{id:"81004",name:"Albi"},{id:"81065",name:"Castres"},{id:"81105",name:"Graulhet"}],82:[{id:"82121",name:"Montauban"},{id:"82033",name:"Castelsarrasin"},{id:"82037",name:"Caussade"}],83:[{id:"83137",name:"Toulon"},{id:"83061",name:"Fréjus"},{id:"83050",name:"Draguignan"}],84:[{id:"84007",name:"Avignon"},{id:"84031",name:"Carpentras"},{id:"84087",name:"Orange"}],85:[{id:"85191",name:"La Roche-sur-Yon"},{id:"85194",name:"Les Sables-d'Olonne"},{id:"85047",name:"Challans"}],86:[{id:"86194",name:"Poitiers"},{id:"86066",name:"Châtellerault"},{id:"86070",name:"Chauvigny"}],87:[{id:"87085",name:"Limoges"},{id:"87154",name:"Saint-Junien"},{id:"87187",name:"Saint-Yrieix-la-Perche"}],88:[{id:"88160",name:"Épinal"},{id:"88413",name:"Saint-Dié-des-Vosges"},{id:"88196",name:"Gérardmer"}],89:[{id:"89024",name:"Auxerre"},{id:"89387",name:"Sens"},{id:"89206",name:"Joigny"}],90:[{id:"90010",name:"Belfort"},{id:"90081",name:"Réchésy"}],91:[{id:"91228",name:"Évry-Courcouronnes"},{id:"91223",name:"Étampes"},{id:"91692",name:"Les Ulis"}],92:[{id:"92012",name:"Boulogne-Billancourt"}],93:[{id:"93066",name:"Saint-Denis"}],94:[{id:"94081",name:"Vitry-sur-Seine"}],95:[{id:"95018",name:"Argenteuil"},{id:"95487",name:"Persan"},{id:"95351",name:"Louvres"}],971:[{id:"97101",name:"Les Abymes"},{id:"97128",name:"Sainte-Anne"},{id:"97118",name:"Petit-Bourg"}],972:[{id:"97209",name:"Fort-de-France"},{id:"97224",name:"Saint-Joseph"},{id:"97220",name:"Rivière-Pilote"}],973:[{id:"97311",name:"Saint-Laurent-du-Maroni"},{id:"97304",name:"Kourou"}],974:[{id:"97411",name:"Saint-Denis"},{id:"97416",name:"Saint-Pierre"},{id:"97409",name:"Saint-André"}],"03":[{id:"03185",name:"Montluçon"},{id:"03310",name:"Vichy"},{id:"03190",name:"Moulins"}],"04":[{id:"04112",name:"Manosque"},{id:"04070",name:"Digne-les-Bains"},{id:"04209",name:"Sisteron"}],"09":[{id:"09225",name:"Pamiers"},{id:"09261",name:"Saint-Girons"},{id:"09160",name:"Lavelanet"}],"01":[{id:"01053",name:"Bourg-en-Bresse"},{id:"01283",name:"Oyonnax"},{id:"01033",name:"Valserhône"}],"06":[{id:"06088",name:"Nice"},{id:"06029",name:"Cannes"},{id:"06083",name:"Menton"}],"2B":[{id:"2B033",name:"Bastia"},{id:"2B096",name:"Corte"},{id:"2B050",name:"Calvi"}],"2A":[{id:"2A004",name:"Ajaccio"},{id:"2A247",name:"Porto-Vecchio"},{id:"2A032",name:"Bastelicaccia"}],"02":[{id:"02691",name:"Saint-Quentin"},{id:"02722",name:"Soissons"},{id:"02408",name:"Laon"}],"07":[{id:"07010",name:"Annonay"},{id:"07019",name:"Aubenas"},{id:"07324",name:"Tournon-sur-Rhône"}],"05":[{id:"05061",name:"Gap"},{id:"05023",name:"Briançon"},{id:"05046",name:"Embrun"}],"08":[{id:"08105",name:"Charleville-Mézières"},{id:"08362",name:"Rethel"},{id:"08190",name:"Givet"}]},rJ=/<path\b([^>]*?)\/>/g,nJ=/\b([:\w-]+)="([^"]*)"/g,aJ=e=>{const t=[];for(const r of e.matchAll(rJ)){const o=r[1];if(!o)continue;const s=new Map;for(const p of o.matchAll(nJ)){const[,x,w]=p;x&&s.set(x,w||"")}const l=s.get("id"),c=s.get("d"),h=s.get("data-name"),v=s.get("data-url");!l||!c||!h||!v||t.push({id:l,path:c,name:h,url:v})}return t},iJ=e=>new Map(e.map(t=>[t.id,t])),M3=e=>{window.location.href=e},oJ=(e,t,r)=>{const o=r.get(e);if(o)return o;const s=e.startsWith("97")?Array.from(document.querySelectorAll(`path[id^="town-${e}"][id$="-drom"]`)).map(l=>({id:l.getAttribute("id")||"",path:l.getAttribute("d")||"",name:l.getAttribute("data-name")||"",url:l.getAttribute("data-url")||""})):Array.from(t().values()).filter(l=>l.id.startsWith(`town-${e}`));return r.set(e,s),s},sJ=(e,t)=>t.get(e),uJ=e=>{e.size>0||document.querySelectorAll(".c-map-towns__map .c-map-towns__layer-towns path[data-town-id], .c-map-towns__map-drom .c-map-towns__layer-towns path[id]").forEach(t=>{const r=t.getAttribute("data-town-id")||t.getAttribute("id");r&&e.set(r,Array.from(t.classList).filter(o=>o.startsWith("c-map-towns__path--")))})},lJ=(e,t)=>{const r=e.id,o=e.url,s=e.name;if(!r||!o)return null;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",e.path),l.setAttribute("class","c-map-towns__path c-map-towns__zoom-town"),l.setAttribute("data-url",o);const c=sJ(r,t);if(c&&c.forEach(h=>{l.classList.add(h)}),s){const h=document.createElementNS("http://www.w3.org/2000/svg","title");h.textContent=s,l.appendChild(h)}return l},cJ=(e,t)=>{const r=document.createDocumentFragment();return e.forEach(o=>{const s=lJ(o,t);s&&r.appendChild(s)}),r},dJ=(e,t)=>{e.replaceChildren(t)},fJ=(e,t,r)=>{const o=document.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","js-city-marker c-map-towns__city-marker"),o.setAttribute("aria-hidden","true"),o.setAttribute("data-scale",r.toString());const s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",t),s.setAttribute("class","js-city-anchor c-map-towns__city-anchor");const l=document.createElementNS("http://www.w3.org/2000/svg","circle");l.setAttribute("class","c-map-towns__city-circle"),l.setAttribute("r","5"),l.setAttribute("fill","white"),l.setAttribute("stroke","black"),l.setAttribute("strokeWidth","1");const c=document.createElementNS("http://www.w3.org/2000/svg","rect");c.setAttribute("class","js-city-bg"),c.setAttribute("fill","white"),c.setAttribute("rx","4"),c.setAttribute("ry","4");const h=document.createElementNS("http://www.w3.org/2000/svg","text");return h.setAttribute("class","js-city-text c-map-towns__city-text"),h.textContent=e,o.appendChild(s),o.appendChild(l),o.appendChild(c),o.appendChild(h),o},hJ=(e,t)=>{const r=t.getBBox(),o=5,s=r.width+o*2,l=r.height+o*2;e.setAttribute("viewBox",`${r.x-o} ${r.y-o} ${s} ${l}`);const c=e.clientWidth||800,h=e.clientHeight||600;return Math.max(s/c,l/h)};let X5=!1;const e8=()=>{if(X5)return;if(!document.querySelector(".c-map-towns")){new MutationObserver((U,W)=>{typeof document<"u"&&document.querySelector(".c-map-towns")&&(W.disconnect(),e8())}).observe(document.body,{childList:!0,subtree:!0});return}const e=window.layout===z5.MOBILE,t=document.querySelector(".c-map-towns__map"),r=document.querySelector(".c-map-towns__droms"),o=document.querySelector(".c-map-towns__zooms"),s=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W.closest(".js-city-marker");if(Q){const J=Q.getAttribute("data-url");J&&M3(J);return}const ie=W.closest(".c-map-towns__zoom-item")?.getAttribute("data-city-url");if(ie){M3(ie);return}const te=W.closest(".c-map-towns__dept-trigger")?.getAttribute("data-url");te&&M3(te)};if(e){t?.addEventListener("click",s),r?.addEventListener("click",s),o?.addEventListener("click",s),X5=!0;return}const l=document.getElementById("js-zoom-overlay"),c=document.getElementById("js-zoom-svg"),h=document.getElementById("js-zoom-group"),v=document.getElementById("js-zoom-close");if(!(l instanceof HTMLElement)||!(c instanceof SVGSVGElement)||!(h instanceof SVGGElement)||!(v instanceof HTMLElement)){requestAnimationFrame(e8);return}X5=!0;const p=document.getElementById("js-zoom-label"),x=document.getElementById("js-zoom-title"),w=document.getElementById("js-town-sprite-data"),_=new Map,D=new Map;let S=null;const T=()=>{if(S)return S;const U=w instanceof HTMLScriptElement?JSON.parse(w.textContent||'""'):"";return S=iJ(aJ(U)),S},C=()=>{l.setAttribute("aria-hidden","true"),h.replaceChildren()},O=(U,W)=>U.startsWith("97")?document.querySelector(`path[id="town-${W}-drom"]`)?.getAttribute("d")||null:T().get(`town-${W}`)?.path||null,L=(U,W)=>{const Q=tJ[U]||[];if(Q.length===0)return;const ie=document.createDocumentFragment();Q.forEach(te=>{const J=O(U,te.id);if(!J)return;const V=fJ(te.name,J,W);ie.appendChild(V)}),h.appendChild(ie),requestAnimationFrame(()=>{Z5(h)})},P=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W?.closest(".c-map-towns__dept-trigger");if(!Q)return;const ie=Q.getAttribute("id")?.replace("out-","")||"",te=Q.getAttribute("data-name"),J=oJ(ie,T,_);uJ(D);const V=cJ(J,D);if(p&&x&&te&&(p.textContent=te,x.textContent=`Carte détaillée du département : ${te}`),!(Q instanceof SVGGraphicsElement))return;const X=hJ(c,Q);l.setAttribute("aria-hidden","false"),dJ(h,V),L(ie,X)},z=U=>{const{target:W}=U;if(!(W instanceof Element))return;const Q=W.closest(".c-map-towns__zoom-town")?.getAttribute("data-url");Q&&M3(Q)};t?.addEventListener("click",P),r?.addEventListener("click",P),h.addEventListener("click",z),v.addEventListener("click",()=>{C()}),l.addEventListener("click",U=>{U.target===l&&C()})},L3=()=>{v$(),$$(),$Q(),j$(),_I(),z$(),jQ(),NQ(),oY(),R$(),KQ(),k$(),VQ(),Y$(),Q$(),Z$(),F$(),y$("localisation-input","https://www.20minutes.fr/elections/resultats/recherche","?searchValue=","text","text"),P$(),Z5(),XQ(),f$(),h$(),X$(),e8(),fY(),hY(),J$(),d$(),JQ(),MQ(),kQ(),RQ()},bi=async({url:e,options:t})=>{const r={...t||{}},o=new Headers(r.headers);o.has("Content-Type")||o.set("Content-Type","application/json"),r.headers=o;const s=await fetch(e,r).then(l=>{if(l.ok)return l;throw new Error(`Fetch error: ${l.statusText}`)}).then(l=>o.get("Content-Type")?.toLowerCase()?.includes("image/svg+xml")?l.text():l.json());return typeof s=="object"&&s!==null&&"data"in s?s.data:s},pJ=(e,t)=>{let r;return(...s)=>{clearTimeout(r),r=setTimeout(()=>e(...s),t)}},k3={autocompleteSelector:".c-search-form__autocomplete"},mJ=({isSSR:e=!0,layout:t,title:r,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v})=>{const[p,x]=pe.useState([]),w=pe.useCallback(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&p.length>0&&T&&T.classList.remove("u-hidden")},[p]),_=pe.useCallback(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&p.length>0&&T&&T.classList.remove("u-hidden")},[p]),D=pe.useCallback(T=>{T.relatedTarget||document.querySelector(k3.autocompleteSelector)?.classList?.add("u-hidden")},[]),S=pe.useCallback(async T=>{if(T.target instanceof HTMLInputElement){const{target:C}=T;if(C.value.length<3)x([]);else try{const O=await bi({url:`${C.closest("form")?.action??"#"}?searchValue=${C.value}`});x(O.map(L=>{const{_source:P}=L;return{value:P.output,url:P.url}}))}catch(O){console.error("20mn> Error while searching:",O)}}},[]);return pe.useEffect(()=>{L3()},[]),pe.useEffect(()=>{const T=document.querySelector(k3.autocompleteSelector);p&&T&&(p.length>0?T.classList.remove("u-hidden"):T.classList.add("u-hidden"))},[p]),a.jsxs(a.Fragment,{children:[a.jsx(fU,{layout:t,title:r,titleHref:o,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v,searchFormProps:{...s,autocompleteResults:p,onSubmit:T=>{T.preventDefault()},inputProps:{placeholder:"Recherchez les résultats de votre ville, votre département ou votre région",name:"elections-search",onClick:w,onFocus:_,onBlur:D,onKeyUp:pJ(S,300),autoComplete:"off",required:!0,"aria-required":!0}}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsSearchBannerContainer:{layout:t,title:r,titleHref:o,searchFormProps:s,breadcrumbProps:l,selectProps:c,variant:h,hasTopBorder:v}})} };`}})]})},rR=({id:e,isHidden:t,...r})=>t?null:a.jsx(be,{id:e,children:a.jsx(mJ,{...r})}),nR=({subtitle:e,...t})=>a.jsx(jU,{...t,subtitle:e?Yd({rawDraftContent:e}):""}),aR=({imageSrc:e,height:t,width:r,isDisplayedAsNotCropped:o,caption:s,content:l,title:c,...h})=>{const v=tm({rawDraftContent:l.content}).replace(/<[^>]*>/g,"").trim();let p=s.content,x=l;!v.length&&l.pageEndpoint&&(p="",x={...l,pageEndpoint:l.pageEndpoint,content:{entityMap:{},blocks:[{depth:0,data:{},inlineStyleRanges:[],text:s.content,type:"unstyled",key:"d1usd",entityRanges:[]}]}});let w="640x408",_=["1444x920","722x460","640x408","320x204"];return o?r<t?(w="310x0",_=["239x0","216x0","119x0","460x0","310x0"]):(w="310x0",_=["816x0","753x0","688x0","408x0","310x0"]):r<t&&(w="310x484",_=["239x522","216x472","119x261","310x678"]),a.jsxs(be,{...h,children:[c&&a.jsx(Yr,{as:"h2",fontFamily:"source-serif-pro",weight:"semi-bold",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:c}),a.jsx(Eh,{src:e,defaultFormat:w,formats:_,radius:{xs:"0",md:"xxs"},alt:c||s.content,mb:"s",isPortrait:o&&t>r,mx:o&&t>r?"auto":void 0}),a.jsxs(Me,{as:"figcaption",size:"xs",color:"grey-400",mx:{xs:"m",md:"0"},children:[p,s.credits&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[p&&a.jsx(a.Fragment,{children:" - "}),s.credits]}),s.source&&a.jsxs(Me,{as:"span",color:"grey-300",size:"xs",className:"text-italic",children:[(p||s.credits)&&a.jsx(a.Fragment,{children:" / "}),s.source]})]}),x&&a.jsx(rm,{...x,disableLettering:!0,mt:"s",mx:{xs:"m",md:"0"}})]})},vJ=({title:e,sponsor:t,item:r,...o})=>r?a.jsxs(be,{...o,px:{xs:"m",md:"0"},children:[a.jsx(Uc,{mb:"l",label:e}),a.jsx(Me,{size:"xs",px:"xxs",highlighted:!0,children:t}),a.jsx(ob,{cardTitleProps:{size:"xxs-2"},mt:"s",mb:"xl",...r})]}):null,iR=({title:e,content:t,pageEndpoint:r,imgEndpoint:o})=>a.jsxs(a.Fragment,{children:[a.jsx(Yr,{fontFamily:"source-serif-pro",size:"xl",textTransform:"uppercase",children:e}),a.jsx(kn,{mb:"m",mt:"s",thickness:"thick"}),a.jsx("section",{className:"c-content",children:Yd({rawDraftContent:t,pageEndpoint:r,imgEndpoint:o,withCmp:!1})})]}),oR=({cardHeaderProps:e,heading:t,subtitle:r,seeReplaysLink:o,mediaSrc:s,...l})=>s?a.jsxs(be,{...l,as:"section",color:"white",children:[a.jsx(Me,{size:"xs",mx:{xs:"m",md:"0"},mb:"xs",children:"TNT - Canal 32 (Île-de-France) • BBox (300) • Orange (349) • Freebox (910) • SFR (461)"}),a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Yr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"xxl"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"0"},children:t.children}),a.jsx(Me,{...r,fontFamily:"source-serif-pro",size:{xs:"m",md:"xxl"},mx:{xs:"m",md:"0"},children:r.children}),o&&a.jsx(ve,{justifyContent:{xs:"center",md:"start"},mx:{xs:"m",md:"0"},mt:"xl",children:a.jsx(Yt,{buttonColor:"primary",...o,children:"Voir tous les replays de l’émission"})})]}):null,sR=({cardHeaderProps:e,heading:t,signatureProps:r,subtitle:o,mediaSrc:s,relatedTags:l,enclosedText:c})=>s?a.jsxs(a.Fragment,{children:[a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mb:"m"}),a.jsx(Bd,{...e,headline:{...e.headline,color:"white"},rightSubheader:e.rightSubheader?{...e.rightSubheader,color:"white"}:void 0,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Yr,{...t,fontFamily:"source-serif-pro",size:{xs:"s",md:"l"},mx:{xs:"m",md:"0"},mb:{xs:"xs",md:"m"},children:t.children}),a.jsx(jg,{...r,mx:{xs:"m",md:"0"},mb:"xs"}),a.jsx(Me,{as:"div",fontFamily:"source-serif-pro",size:{xs:"m",md:"xl"},mx:{xs:"m",md:"0"},className:"c-content",children:Yd({rawDraftContent:o})}),c&&a.jsx(be,{bg:"blue-grey",px:"m",py:"l",mt:"l",className:"c-enclose c-enclose--theme-blue-grey",children:Yd({rawDraftContent:c})}),l&&a.jsx(sb,{...l,tags:l.tags.map(h=>({...h,variant:"quaternary"})),buttonsColor:"blue-dark",mt:"l",ml:{xs:"m",md:"0"}})]}):null,uR=({years:e,selectedYear:t,pageEndpoint:r,...o})=>a.jsx(be,{...o,children:e.map(s=>{const l=s===t;return a.jsx(uc,{variant:l?"tertiary":"primary",color:l?"white":"ultramarine",href:new URL(`/archives/${s}`,r).href,mr:"l",mb:"m",children:s},s)})}),lR=({layout:e,title:t,editions:r,selectorsLabel:o,editionSelector:s,monthSelector:l,variant:c="archivesByYear",enabled:h=!0})=>h?a.jsxs(a.Fragment,{children:[a.jsx(kn,{my:{xs:"xl",md:"xxl-2"},color:"ultramarine"}),a.jsx(Yr,{size:"xs",mb:"xxl",children:t}),a.jsxs(ve,{alignItems:{xs:"start",md:"center"},gap:{xs:"xs",md:"l"},direction:{xs:"column",md:"row"},children:[a.jsx(Me,{size:"s",weight:"bold",...o}),a.jsx(Hc,{...s,id:"archivePdfListEditionSelector",containerProps:{style:{width:e===ge.MOBILE?"100%":"163px"}},py:"m",px:"s"}),c==="archivesByYear"&&l&&a.jsx(Hc,{...l,id:"archivePdfListMonthSelector",containerProps:{style:{width:e===ge.MOBILE?"100%":"193px"}},py:"m",px:"s"})]}),r&&r.length>0&&a.jsxs(ve,{direction:"column",gap:"l",mt:"l",children:[r.slice(0,20).map(v=>a.jsxs(ve,{alignItems:"baseline",children:[a.jsx(or,{name:"diode",color:"ultramarine",size:11,mr:"xxs"}),a.jsx(Yt,{color:"ultramarine",href:v.href,children:v.name})]},v.name)),r.length>20&&a.jsx("span",{children:"Vous ne trouvez pas le journal numérique recherché ? Sélectionnez une édition et un mois pour une recherche plus précise."})]})]}):null,cR=({months:e,...t})=>e.length>0?a.jsx(be,{...t,children:e.map((r,o)=>a.jsx(yl,{...r,items:r.items.map(s=>({...s,color:"ultramarine"})),columnsNumber:{xs:1,md:3},mb:o<e.length-1?{xs:"xl",md:"xxl"}:void 0,heading:{as:"h3",...r.heading}},r.items[0].name))}):null,t8=({mediaProps:e,photoSwipeGalleryProps:t,...r})=>{const o=e?.type===du.video?{...e,src:Vf(e.src)}:e;return o&&a.jsx(kd,{...o,...r})||t&&a.jsx(WU,{...t,...r})||null},dR=({articleHeaderProps:e,signatureProps:t,contentCoverProps:r,...o})=>a.jsxs(ve,{...o,direction:"column",justifyContent:"center",children:[a.jsx(Q7,{...e,mx:"m",mb:"xs"}),a.jsx(t8,{...r,mb:"xs"}),a.jsx(jg,{...t,mx:"m",mb:"xs"}),!e.isCenteredLayout&&a.jsx(Me,{fontFamily:"source-serif-pro",size:"xl",mx:"m",children:e.lead})]}),fR=e=>{const{variablesForQuery:t,...r}=e;return a.jsx(Hu,{...r,headingProps:{...r.headingProps,as:"h2"},mb:"xxl"})},hR=({articles:e,layout:t,withDivider:r,...o})=>e.length>=1?a.jsxs(ve,{direction:"column",...o,children:[t===ge.MOBILE&&r&&a.jsx(kn,{color:"ultramarine",mb:"l"}),a.jsx(Me,{size:"l",weight:"bold",mb:"xs",children:"À lire aussi"}),a.jsx(ve,{direction:{md:"row",xs:"column"},gap:{md:"m",xs:"s"},children:e.slice(0,2).map(s=>a.jsx(Ea,{basis:50,children:a.jsx(Ap,{...s,cardTitleProps:{size:"xxs-2"}})},s.title))})]}):null,r8=({carousels:e,layout:t})=>a.jsx(a.Fragment,{children:e.map((r,o)=>a.jsx(be,{as:"section",mb:o!==e.length-1?"xxl":"0",children:a.jsx(Hu,{...r,layout:t,headingProps:{...r.headingProps,as:"h2"}})},r.label))}),pR=({items:e=[]})=>e?.length?a.jsx("div",{children:e?.map((t,r)=>a.jsx(yl,{...t},`bulleted-list-${r}`))}):null,Hp=e=>e&&(e.rightSubheader&&new Date(e.rightSubheader?.text).getTime()?{...e,rightSubheader:{...e.rightSubheader,text:cb(e.rightSubheader.text)}}:{...e}),jl=({articles:e,layout:t,columnsNumber:r=2,hideFirstDivider:o=!1,dividerProps:s,seeMoreButton:l,seeMoreLink:c,tagTotalArticles:h,currentPagePath:v,currentPage:p="1",articlesLimit:x,hasCardLarge:w=!1,hasMarginOnCard:_=!0,heading:D,isLoading:S=!1,skeletonCount:T=8,desktopArticlesListClassName:C,...O})=>{if(e.length===0)return null;const L=W=>a.jsx(Ap,{...W,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Hp(W.cardHeaderProps),mx:_?"m":void 0}),P=S?Array.from({length:T},(W,Q)=>Q):[];let z=null;t===ge.DESKTOP?z=a.jsxs(Ri,{colsNumber:r,gap:"xl",className:C,children:[e.slice(0,x).map((W,Q)=>{const{layout:ie,...te}=W;return a.jsx(U1,{...te,className:`card-item-${Q+1}`,cardTitleProps:{as:"h2",...W.cardTitleProps},cardHeaderProps:Hp(W.cardHeaderProps)},`${W.link}-${Q}`)}),P.map(W=>a.jsx(e9,{variant:"medium"},`skeleton-${W}`))]}):z=a.jsxs(a.Fragment,{children:[e.slice(0,x).map((W,Q)=>a.jsx(be,{className:`card-item-${Q+1}`,children:w?a.jsxs(a.Fragment,{children:[Q===0&&a.jsx(Ig,{...W,layout:t}),Q>0&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s}),L({...W,layout:t})]})]}):a.jsxs(a.Fragment,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s,className:vo({"u-hidden":Q===0&&o},s?.className)}),L({...W,layout:t})]})},`${W.link}-${Q}`)),P.map(W=>a.jsxs(be,{children:[a.jsx(kn,{color:"grey-200",my:"s",...s}),a.jsx(e9,{variant:"extra-small",mx:_?"m":void 0})]},`skeleton-${W}`))]});const U=a.jsxs(a.Fragment,{children:[D&&a.jsx(Yr,{size:"m",mb:"xl",mx:{xs:"m",md:"0"},...D}),z,(c||l)&&a.jsxs(ve,{justifyContent:"center",mt:"l",children:[l&&a.jsx(Tn,{...l}),c&&a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...c}),h&&v&&a.jsx("noscript",{children:a.jsx(p9,{totalArticles:h,currentPage:p,pagePath:v,archivesUrl:"https://www.20minutes.fr/archives"})})]})]});return Object.keys(O).length===0?U:a.jsx(be,{...O,children:U})},mR=({addresses:e,layout:t,...r})=>{const o=t===ge.DESKTOP?"row":"column",s=t===ge.DESKTOP?"end":"start";return a.jsx(be,{...r,children:e.map((l,c)=>{const h=e.length>c+1?{mb:"m"}:{};return pe.createElement(ve,{justifyContent:"between",alignContent:"end",p:{xs:"m",md:"s"},bg:"grey-100",direction:o,...h,pr:{md:"xxl"},pl:{md:"m"},key:l.name},a.jsxs(Ea,{mb:{xs:"s",md:"0"},children:[a.jsx(Yr,{as:"h4",size:"xxs-3",children:l.name}),l.streets.map(v=>a.jsx("p",{children:v},v))]}),a.jsxs(Ea,{align:s,children:[l.phoneNumber&&a.jsxs(a.Fragment,{children:[a.jsxs(Me,{weight:"bold",as:"span",children:["Tél. :"," "]}),a.jsx(Me,{as:"span",color:"ultramarine",children:l.phoneNumber})]}),l.mail&&a.jsx(Me,{color:"ultramarine",children:l.mail})]}))})})},vR=({name:e,streets:t,phoneNumber:r,...o})=>a.jsxs(be,{...o,children:[a.jsx(Yr,{as:"h2",size:"m",mb:"s",children:"Nos coordonnées"}),a.jsx(Yr,{as:"h3",size:"xxs-3",children:e}),t.map(s=>a.jsx("p",{children:s},`streets-line-${s}`)),a.jsx("span",{children:"Téléphone : "}),a.jsx(Me,{as:"span",color:"ultramarine",children:r})]}),gR=e=>a.jsxs("form",{...e,id:"contact-form",method:"POST",noValidate:!0,children:[a.jsx(Yr,{as:"h2",size:"m",mb:"xxs",children:"Contactez-nous"}),a.jsx(Me,{size:"m",mb:"m",children:"Une question, une remarque, un sujet d'article à proposer, joignez nos services."}),a.jsx(Hc,{id:"service",name:"service",label:"Service",placeholder:"Choisissez votre service",hint:"Sélectionnez le service approprié pour diriger votre demande vers la bonne équipe",error:"Veuillez sélectionner un service",containerProps:{mb:"m"},form:"contact-form",options:[{value:"redaction",title:"La rédaction"},{value:"service-technique",title:"Le service technique"},{value:"service-commercial",title:"Le service commercial"},{value:"suppression-anonymisation",title:"Demande de suppression et d'anonymisation"},{value:"moderation-commentaires",title:"Modération des commentaires"},{value:"jeux",title:"Jeux"},{value:"newsletter",title:"Newsletter"},{value:"accessibility",title:"Accessibilité"},{value:"20minutes-tv",title:"20 Minutes TV"},{value:"service-abonnement",title:"Le service abonnement"}],"aria-controls":"subservice tech-object games-object subscription-object common-object source",required:!0,"aria-required":!0}),a.jsx(Hc,{id:"subservice",name:"subservice",label:"Sous-service",placeholder:"Choisissez votre sous-service",hint:"Précisez le sous-service spécifique pour une meilleure orientation de votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"redaction-chef",title:"Rédaction en chef"},{value:"service-actu",title:"Service Actu"},{value:"service-sport",title:"Service Sport"},{value:"service-culture",title:"Service Culture/Entertainment"},{value:"service-videos",title:"Service Vidéos"},{value:"service-moderation",title:"Service Modération et Contribution"},{value:"service-fact",title:"Service Fact checking"},{value:"service-magazine",title:"Service Magazine"},{value:"bureau-bordeaux",title:"Bureau Bordeaux"},{value:"bureau-lille",title:"Bureau Lille"},{value:"bureau-lyon",title:"Bureau Lyon"},{value:"bureau-marseille",title:"Bureau Marseille"},{value:"bureau-montpellier",title:"Bureau Montpellier"},{value:"bureau-nantes",title:"Bureau Nantes"},{value:"bureau-nice",title:"Bureau Nice"},{value:"bureau-paris",title:"Bureau Paris"},{value:"bureau-rennes",title:"Bureau Rennes"},{value:"bureau-strasbourg",title:"Bureau Strasbourg"},{value:"bureau-toulouse",title:"Bureau Toulouse"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"source",name:"source",label:"Source d'accès",placeholder:"Choisissez votre source d'accès",hint:"Indiquez la plateforme ou l'appareil depuis lequel vous rencontrez un problème",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"site-mobile",title:"Site depuis mobile"},{value:"site-desktop",title:"Site depuis ordinateur"},{value:"app-mobile",title:"Application sur téléphone"},{value:"app-tablet",title:"Application sur tablette"},{value:"tous",title:"Tous"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"common-object",name:"common-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m"},form:"contact-form",options:[{value:"sujet-article",title:"Un sujet d’article"},{value:"orthographe",title:"Une faute d’orthographe"},{value:"remarque",title:"Une remarque/une question"},{value:"temoignage",title:"Je suis témoin d’un événement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"tech-object",name:"tech-object",label:"Objet",placeholder:"Objet de votre message technique",hint:"Sélectionnez le type de problème technique que vous rencontrez",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-ordinateur",title:"Un problème sur le site depuis votre ordinateur"},{value:"probleme-mobile",title:"Un problème sur le site mobile depuis votre téléphone"},{value:"probleme-app",title:"Un problème sur l’application 20 Minutes"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"games-object",name:"games-object",label:"Objet",placeholder:"Objet de votre message",hint:"Décrivez le problème que vous rencontrez avec nos jeux",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"probleme-affichage",title:"Problème d'affichage"},{value:"element-cache-jeu",title:"Un élément cache le jeu"},{value:"jeu-bloque",title:"Jeu bloqué"},{value:"message-erreur",title:"Message d'erreur"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(Hc,{id:"subscription-object",name:"subscription-object",label:"Objet",placeholder:"Objet de votre message",hint:"Sélectionnez la catégorie qui correspond le mieux à votre demande",containerProps:{mb:"m",className:"u-mask"},form:"contact-form",options:[{value:"question",title:"Une question à propos de votre abonnement mensuel"},{value:"reclamation",title:"Une réclamation au service abonnement"},{value:"autre",title:"Autre"}],required:!0,"aria-required":!0}),a.jsx(H7,{id:"email",name:"email",label:"E-mail",type:"email",placeholder:"Entrez votre e-mail...",hint:"Votre adresse e-mail sera utilisée pour vous répondre. Format attendu : exemple@domaine.com",error:"Veuillez entrer une adresse e-mail valide",containerProps:{mb:"m"},autoComplete:"email",required:!0,"aria-required":!0}),a.jsx(zH,{id:"message",name:"message",label:"Message",rows:10,cols:50,maxLength:5e3,placeholder:"Votre message...",hint:"Décrivez votre demande en détail. Maximum 5000 caractères",error:"Veuillez décrire votre demande.",containerProps:{mb:"m"},required:!0,"aria-required":!0}),a.jsx("div",{id:"li-antibot"}),a.jsx(Tn,{color:"primary",type:"submit",mx:"auto",my:"m",children:"Envoyer"}),a.jsx(Me,{size:"xs",mb:"m",children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de notre intérêt légitime et sont utilisées pour répondre à vos demandes d’informations. Elles seront conservées pendant 3 ans à compter de la collecte des données sauf dispositions légales particulières. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à dpo@20minutes.fr ou par courrier à :"}),a.jsx(Me,{size:"xs",mb:"m",children:"Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex."}),a.jsxs(Me,{size:"xs",mb:"m",children:["Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus."})]})]}),gJ=({layout:e,liveInProgressProps:t,lastArticlesProps:r})=>{const o=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(T3,{...r})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(T3,{...r})})},...t.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...t})}),a.jsx("aside",{className:"o-lt-show__aside"})]}):a.jsx(O2,{...t})}]:[]];return a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,tabProps:{mx:{xs:"m",md:"0"}},mb:"l"})},Ph=({header:{subtitle:e,...t},sectionId:r,liveIndicator:o,children:s,...l})=>{const c=e&&typeof e!="string"?Yd({rawDraftContent:e}):e;return a.jsxs(be,{...l,id:r,className:vo(l.className,{"u-anchor-link":!!r}),children:[o&&a.jsx(U5,{...o,variant:"elections",mx:{xs:"m",md:"0"},mb:"xs"}),t?.heading?.children&&a.jsx(mU,{...t,subtitle:c,mb:{xs:"m",sm:"xl"}}),s]})},yR=({halfDonutProps:e,...t})=>!e.results.length&&t?.header?.heading?.children===""?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e.results.length>0&&a.jsx(lU,{...e,mx:{xs:"m",md:"0"}})}),bR=({mapConstituenciesProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDistrict.length===0||Object.keys(e.mapDistrictsData||{}).length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(AU,{...e,mx:{xs:"m",md:"0"}})}),xR=({mapDepartmentsProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerDepartment.length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(xU,{...e,mx:{xs:"m",md:"0"}})}),AR=({mapEuropeProps:e,...t})=>e.electionName===""&&e.electionYear===""&&e.resultsPerCountry.length===0||Object.keys(e.mapEuCountriesData||{}).length===0||Object.keys(e.mapNonEuCountriesData||{}).length===0?null:a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(_U,{...e,mx:{xs:"m",md:"0"}})}),_R=({mapTownsByDepartmentsProps:e,...t})=>{const{electionName:r,electionYear:o,...s}=e;if(e.electionName===""&&e.electionYear===""&&e.resultsPerTown.length===0)return null;const l=(e?.resultsPerTown?.length??0)===0;return a.jsx(Ph,{...t,className:vo({"u-placeholder-map-towns-empty":l,"u-placeholder-map-towns":!l},t?.className),header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:a.jsx(NU,{...s,mx:{xs:"m",md:"0"}})})},im=({items:e,layout:t,visibleItems:r=10,hasRanking:o,seeMoreResults:s,seeAllResults:l,...c})=>{if(!e.length&&c?.header?.heading?.children==="")return null;const h=o?"xl":{xs:"m",sm:"l"},v=e.some(p=>p.hasAvatar&&!p.result&&!p.votes)?"Voir tous les candidats":"Voir tous les résultats";return a.jsxs(Ph,{...c,header:{...c.header,heading:{...c.header.heading,as:"h2"}},children:[e.slice(0,r).map((p,x)=>a.jsx(g9,{...p,ranking:o?x+1:void 0,mb:h,layout:t},p.label)),e.length>r&&e.slice(r).map((p,x)=>a.jsx(g9,{...p,ranking:o?r+x+1:void 0,mb:h,layout:t,className:"c-elections-result--toggleable js-toggle-target","aria-hidden":!0},p.label)),s&&!l&&e.length>r&&a.jsx(Tn,{...s,color:"primary",variant:"outlined",className:"js-toggle-button",m:"auto",mt:"xxl",children:v}),l&&!s&&a.jsx(ve,{mt:"l",mx:"m",justifyContent:"center",className:"c-bulleted-list__link",children:a.jsx(Yt,{...l,buttonColor:"primary",variant:"outlined"})})]})},ER=({multipleResults:e})=>e.length?a.jsx(a.Fragment,{children:e.map((t,r)=>a.jsx(im,{...t,mb:"xxl"},r))}):null,wR=({electionsName:e,regions:t,departments:r,cities:o,previousElections:s,seeAllResults:l,...c})=>a.jsxs(be,{...c,children:[a.jsx(yl,{heading:{children:`Résultats des élections ${e} par région`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:t,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:`Résultats des élections ${e} par département`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:r,visibleItems:6,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:`Résultats des élections ${e} par ville`,textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:o,visibleItems:6,maxItems:99,mb:{xs:"xl",md:"xxl"}}),a.jsx(yl,{heading:{children:"Résultats des autres élections",textAlign:{xs:"left",md:"center"},as:"h3"},columnsNumber:{xs:2,md:3},items:s,visibleItems:6}),l&&a.jsx(ve,{justifyContent:"center",mt:{xs:"xxl",md:"xxl-2"},children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...l,children:"Voir l'ensemble des résultats"})})]}),SR=({faqs:e,...t})=>a.jsx(Ph,{...t,header:{...t.header,heading:{...t.header.heading,as:"h2"}},children:e&&e.faqData.length>0&&a.jsx(k5,{...e})}),yJ=({games:e,isConnected:t=!1,layout:r,...o})=>{const s=v=>a.jsxs(ve,{...o,color:"white",bg:"ultramarine",alignItems:{xs:t?void 0:"center",md:e.length>0&&t?"start":"center"},justifyContent:"between",direction:{xs:t?"column":"row",md:e.length>0&&t?"column":"row"},gap:{xs:t?"xxs-2":void 0,md:e.length>0?"l":void 0},px:"l",py:{xs:t&&e.length<=0?"xxs":"s",md:"xl"},className:"c-favorite-games-block",children:[a.jsx(Yr,{textAlign:{xs:"center"},as:"h2",size:{xs:t&&e.length<=0?"xxs":"m",md:"m"},children:"Mes jeux favoris"}),v]}),l=()=>r===ge.DESKTOP?a.jsx(a9,{bg:"ultramarine",color:"white",visibleItems:5,heading:{as:"h2",size:{xs:"xxs",md:"m"},children:"Mes jeux favoris"},childrenItems:e.map(v=>a.jsx(d2,{link:v.url,title:v.name,cardImageProps:{cover:v.coverUrl,isFavorite:!0},cardHeaderProps:{headline:{text:v.category,color:"white"}},cardTitleProps:{weight:"semi-bold",size:"s"},layout:r},v.url)),visibleGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start"},expandableGridProps:{colsNumber:5,gapY:"xl",gapX:"xxl-2",alignItems:"start","aria-hidden":e.length>5}}):s(a.jsx(Hu,{mt:"l",layout:r,articles:e.map(v=>({layout:r,link:v.url,title:v.name,cardImageProps:{cover:v.coverUrl,isFavorite:!0},cardTitleProps:{weight:"semi-bold",size:"xs"},cardHeaderProps:{headline:{text:v.category,color:"white"}}}))})),c=s(a.jsx(Tn,{color:"primary",variant:"outlined",children:r===ge.DESKTOP?"Connectez-vous pour sauvegarder vos jeux préférés !":"Connexion"})),h=e.length<=0?s(a.jsx(ve,{alignItems:"center",children:a.jsxs(Yr,{size:{xs:"xxs-4",md:"xxs-3"},children:["Retrouvez rapidement vos jeux préférés ici, en les sauvegardant grâce à l’icône"," ",a.jsx(Pd,{iconProps:{name:"star-outlined"},variant:"secondary",color:"grey-500",isClickable:!1,iconSize:"small"})]})})):l();return t?h:c},n8=({gamesAccordion:e,...t})=>t.layout===ge.DESKTOP?a.jsx(bl,{...t,...e&&{rightAsideElement:a.jsx(H5,{colsNumber:1,...e})}}):a.jsxs(a.Fragment,{children:[a.jsx(bl,{mb:"l",...t}),e&&a.jsx(H5,{colsNumber:1,mb:"l",...e})]}),a8=({subtitle:e,games:t,layout:r,useTypeAsHeader:o,allowFavorite:s=!1,...l})=>a.jsxs(be,{...l,children:[a.jsx(Yr,{id:Fd(t[0].category),as:"h2",size:{xs:"xxs",md:"m"},mb:{xs:"xxs-2",md:"s"},children:t[0].category}),a.jsx(Me,{mb:"l",children:e}),a.jsx(Ri,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:t.map(c=>a.jsx(d2,{link:c.url,title:c.name,cardImageProps:{cover:c.coverUrl,dataId:c.id,...s&&{isFavorite:!1}},cardHeaderProps:{headline:{text:o?c.type:c.category}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:c.description},layout:r},c.url))})]}),i8=({games:e,layout:t,bannerLink:r,isGameAppPage:o=!1,enableAds:s=!0,...l})=>{if(e.length===0)return null;const c=h=>e.filter(v=>v.category===h);return a.jsxs(a.Fragment,{children:[r&&a.jsx(Yt,{href:r,children:a.jsx(Eh,{mb:{xs:"l",md:"xxl"},radius:"0",src:`https://static.20mn.fr/services/games/2024/${t===ge.DESKTOP?"quiz":"quiz-mobile"}.png`})}),a.jsxs(be,{...l,children:[a.jsx(a8,{games:c("Jeux de lettres"),useTypeAsHeader:!1,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ge.MOBILE&&s&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(a8,{games:c("Jeux de chiffres"),useTypeAsHeader:!1,subtitle:"Chaque jour, de nouvelles grilles et de nouveaux défis addictifs !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}}),t===ge.MOBILE&&s&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),a.jsx(a8,{games:c("Jeux inclassables"),useTypeAsHeader:!0,subtitle:"Un nouveau défi gratuit vous attend chaque jour sur votre jeu favori !",layout:t,allowFavorite:!o,mx:o?"m":{xs:"m",md:"0"},mt:{xs:"xxl",md:"xxl-2"}})]})]})},rd=({headingProps:e,articles:t,layout:r,variant:o="light",tags:s,sponsor:l,rubric:c,seeMoreLink:h,...v})=>{if(t.length===0)return null;const p=a.jsx(w3,{headingProps:e,layout:r,tags:s,sponsor:l,mb:{xs:"xxl",md:"m"}}),x=t?.slice(0,4).map(_=>({..._,cardTitleProps:{..._.cardTitleProps,as:"h3",maxRows:4,size:"xxs"},cardHeaderProps:{..._.cardHeaderProps,headline:{text:_.cardHeaderProps?.headline.text??"",..._.cardHeaderProps?.headline,color:o==="dark"?_.cardHeaderProps?.headline?.color||"white":_.cardHeaderProps?.headline?.color||"grey-400"},..._.cardHeaderProps?.rightSubheader&&{rightSubheader:{..._.cardHeaderProps?.rightSubheader,text:_.cardHeaderProps?.rightSubheader?.text??"",color:o==="dark"?"white":"grey-400"}}},socialBarProps:_.socialBarProps&&{..._.socialBarProps,countColor:o==="dark"?"white":"black",blockVariant:o},..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1820px) 264px, (min-width: 1440px) calc(5vw + 174px), (min-width: 1100px) 232px, calc(23.21vw - 19px)"}}})),w=a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:o==="dark"?"translucent":"primary",variant:o==="dark"?void 0:"outlined",...h,children:"Voir plus d'articles"})});return o==="dark"?a.jsx(be,{...v,as:"section",color:"white",bg:"grey-900",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[p,x.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{columnsNumber:{md:3,lg:4},layout:r,articles:x,dividerProps:{color:"grey-500"},hideFirstDivider:r===ge.MOBILE}),w]})]})}):a.jsxs(be,{...v,as:"section",children:[a.jsx(kn,{color:c||"ultramarine",mb:"xl",thickness:"heavy"}),p,x.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(jl,{desktopArticlesListClassName:"grid--in-row",columnsNumber:{md:3,lg:4},layout:r,articles:x,hideFirstDivider:r===ge.MOBILE}),w]})]})},K2=({headingProps:e,layout:t,articles:r,fitContainer:o,dividerProps:s,isScrollable:l,seeMoreLink:c,tags:h,variant:v,hasBackgroundImage:p=!1,...x})=>{if(r.length===0)return null;const w=a.jsx(w3,{headingProps:e,layout:t,tags:h,mb:{xs:"xxl",md:"xl"}}),_=(v==="dark"?r.map(S=>({...S,cardHeaderProps:{...S.cardHeaderProps,headline:{text:S.cardHeaderProps?.headline.text??"",...S.cardHeaderProps?.headline,color:v==="dark"?"white":S.cardHeaderProps?.headline?.color||"grey-400"},rightSubheader:{...S.cardHeaderProps?.rightSubheader,text:S.cardHeaderProps?.rightSubheader?.text??"",color:v==="dark"?"white":"grey-400"}}})):r).slice(0,4),D=a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:{xs:"0",lg:"xl"},className:"o-lt-show",children:[a.jsx("div",{className:vo({"o-lt-show__main o-lt-show__main--medium-size":t===ge.DESKTOP}),children:a.jsx(Ig,{..._[0],layout:t})}),a.jsxs("aside",{className:vo({"o-lt-show__aside o-lt-show__aside--auto":t===ge.DESKTOP}),children:[a.jsx(jl,{columnsNumber:4,layout:ge.MOBILE,articles:_.slice(1),dividerProps:{color:v==="dark"?"grey-500":"grey-200"},hideFirstDivider:t!==ge.MOBILE,hasMarginOnCard:t===ge.MOBILE}),c&&a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:v==="dark"?"translucent":"primary",variant:v==="dark"?void 0:"outlined",...c})})]})]});return v==="dark"?a.jsxs(be,{...x,as:"section",color:"white",bg:p?"blue-dark":"grey-900",children:[p&&a.jsx(M5,{src:"https://static.20mn.fr/tv/backgrounds/videos-home.png",halfOpacity:!0,loading:"lazy"}),a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[w,D]})]}):a.jsxs(be,{...x,as:"section",children:[a.jsx(kn,{mb:"xl",thickness:"heavy",color:s?.color||"ultramarine",...s}),w,D]})},CR=(e,t)=>e.map(r=>(r.articles.forEach((o,s)=>{(s!==0||t===ge.MOBILE)&&(o.cardImageProps=void 0)}),r)),TR=({title:e,items:t,layout:r,tabItemActive:o,...s})=>{if(t.length<=0)return null;const l=CR(t,r);if(r===ge.DESKTOP)return a.jsx(lb,{...s,title:e,items:l,layout:r});const c=()=>l.map(v=>({name:v.title.label,title:v.title.label,content:a.jsx(jl,{articles:v.articles,layout:ge.MOBILE,hasMarginOnCard:!1,seeMoreLink:v.seeMoreLink})})),h=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"xl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),a.jsx(Lf,{tabItemActive:o||(t.length>0?t[0].title.label:""),tabItems:c(),mx:"m"})]});return Object.keys(s).length===0?h:a.jsx(be,{...s,children:h})},o8=({items:e,layout:t,label:r,seeMoreLink:o,carouselProps:s,...l})=>!e||e?.length===0?null:a.jsx(be,{...l,as:"section",color:"white",bg:"entertainment",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[a.jsx(Hu,{...s,label:r,headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mb:"xl",...s?.headingProps},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"movies",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...o})})]})}),NR=({articles:e,...t})=>e.length>0?a.jsx(Ri,{...t,colsNumber:2,gapY:"xl",gapX:"m",children:e.map((r,o)=>a.jsxs(ve,{direction:"column",justifyContent:"between",children:[a.jsx(Ap,{...r,cardHeaderProps:Hp(r.cardHeaderProps)}),o<e.length-2&&a.jsx(kn,{color:"grey-200",mt:"xs"})]},`${r.link}-${o}`))}):null,DR=({games:e,layout:t,seeMoreLink:r,...o})=>e.length===0?null:a.jsx(be,{...o,as:"section",color:"white",bg:"ultramarine",children:a.jsxs(be,{className:"o-page-wrap",py:"xxl",children:[a.jsx(Hu,{label:"Sélection de jeux populaires",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:{xs:"center",md:"left"},mx:{xs:"m",md:"0"},mb:"xl"},titleUnderlined:!1,layout:t,articles:e,sliderProps:{sliderVariant:"games",buttonsColor:"white",ml:{xs:"m",md:"0"}}}),a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsxs(Yt,{buttonColor:"translucent",...r,children:["Voir les ",Object.values(pb).length," jeux"]})})]})}),IR=({articles:e,layout:t,...r})=>{if(e.length===0)return null;const o=l=>{const c={...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},layout:t};return t===ge.DESKTOP?a.jsx(Ig,{...c}):a.jsx(c2,{...c})};let s=a.jsx(a.Fragment,{children:e.slice(0,10).map((l,c)=>a.jsxs(be,{className:`card-item-${c+1}`,children:[c===0?o(l):a.jsx(Ap,{...l,cardTitleProps:{...l.cardTitleProps,as:"h3"},mx:"m",mb:c===2?"s":void 0,mt:c===3?"s":void 0}),c<e.slice(0,10).length-1&&c!==2&&a.jsx(kn,{color:"grey-200",my:"s"})]},l.title))});return t===ge.DESKTOP&&(s=a.jsxs(a.Fragment,{children:[o(e[0]),a.jsx(Ri,{colsNumber:2,gap:"xl",mt:"xl",children:e.slice(1,6).map((l,c)=>{const{layout:h,...v}=l;return pe.createElement(U1,{...v,key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3"},...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), (min-width: 660px) calc(50vw - 182px), 130px"}},className:`card-item-${c+1}`})})}),a.jsx(Ri,{colsNumber:3,gap:"xl",mt:"xl",children:e.slice(6,15).map(l=>{const{layout:c,...h}=l;return pe.createElement(U1,{...h,...l.cardImageProps&&{cardImageProps:{...l.cardImageProps,sizes:"(min-width: 1660px) 245px, (min-width: 1440px) calc(12vw + 48px), (min-width: 1080px) 203px, (min-width: 780px) calc(29.64vw - 111px), (min-width: 660px) calc(33vw - 130px), 77px"}},key:l.title,cardTitleProps:{...l.cardTitleProps,as:"h3",maxRows:void 0,size:"xxs"}})})})]})),a.jsx(be,{...r,children:s})},RR=({articles:e,selectProps:t,seeMoreLink:r,layout:o,...s})=>{const{variablesForQuery:l,...c}=s,h=a.jsxs(a.Fragment,{children:[a.jsx(f2,{as:"h2",size:{xs:"s",md:"m"},isCentered:o===ge.MOBILE,mb:{xs:"l",md:"0"},iconProps:{name:"rubric-news",size:40},children:"Actualité locale"}),a.jsx(Hc,{...t})]}),v=(p,x)=>a.jsx(U1,{...p,cardTitleProps:{as:"h3",size:"xxs",weight:"semi-bold",fontFamily:"source-serif-pro",maxRows:4,...p.cardTitleProps},socialBarProps:void 0,...o===ge.MOBILE&&x!==e.length-1&&{className:"u-divider-bottom-grey-200"},...o===ge.MOBILE&&x!==0&&{pt:"s"},...o===ge.MOBILE&&x!==e.length-1&&{pb:"s"}},p.title);return a.jsxs(be,{...c,children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"l"}),o===ge.DESKTOP?a.jsx(ve,{justifyContent:"between",mb:"xl",alignItems:"center",children:h}):a.jsx(be,{mx:"m",mb:"l",children:h}),o===ge.DESKTOP?a.jsx(Ri,{colsNumber:4,gap:"xl",mx:o===ge.DESKTOP?"0":"m",children:e.map(p=>v(p))}):a.jsx(ve,{direction:"column",mx:"m",children:e.map((p,x)=>v(p,x))}),a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...r,children:"Voir plus d'articles"})})]})},OR=({layout:e,tags:t,regions:r,articles:o,...s})=>o&&!o.length?null:a.jsxs(be,{as:"section",...s,children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"l"}),a.jsx(w3,{headingProps:{children:"Résultats municipales 2026",iconProps:{name:"rubric-news",size:40}},layout:e,tags:t,mb:{xs:"xl",md:"xl"}}),a.jsx(Me,{px:{xs:"m",md:"0"},weight:"bold",size:"m",children:"Retrouvez dès 20h et en direct les résultats des élections municipales 2026 dans votre commune"}),a.jsx(ve,{direction:{xs:"column",md:"row"},wrap:"wrap",gapY:"xl",gapX:"xs",px:{xs:"m",md:"0"},mt:"m",children:r.map(l=>a.jsx(Me,{weight:"bold",size:"xs",children:a.jsx(Yt,{isUnderlined:!0,color:"grey-80O",href:l.url,children:l.name})},l.name))}),a.jsx(bb,{articles:o,mt:"l"})]}),jR=({title:e,items:t,layout:r,...o})=>{if(t.length<=0)return null;const s=CR(t,r);if(r===ge.DESKTOP)return a.jsx(lb,{...o,title:e,items:s.map(h=>({...h,title:{...h.title,as:"h2"}})),layout:ge.DESKTOP});const l=h=>a.jsx(a.Fragment,{children:h.map((v,p)=>a.jsxs(pe.Fragment,{children:[p!==0&&a.jsx(kn,{color:"grey-200",my:"s"}),a.jsx(Ap,{...v,cardTitleProps:{as:"h2",...v.cardTitleProps},cardHeaderProps:Hp(v.cardHeaderProps)})]},v.title))}),c=a.jsxs(a.Fragment,{children:[e&&a.jsxs(a.Fragment,{children:[a.jsx(kn,{thickness:"heavy",color:"ultramarine",mb:"xl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"xl",textAlign:"center",fontFamily:"obviously",px:"m",children:e})]}),s.map(h=>a.jsxs(be,{mx:"m",mb:"l",children:[a.jsx(Uc,{as:"h2",label:h.title.label,mb:"l"}),l(h.articles),h.seeMoreLink&&a.jsx(ve,{justifyContent:"center",mt:"l",children:a.jsx(Yt,{buttonColor:"primary",variant:"outlined",...h.seeMoreLink})})]},h.title.label))]});return Object.keys(o).length===0?c:a.jsx(be,{...o,children:c})},MR=({layout:e,tags:t,lastEpisodes:r,timelineEvents:o,mediaSrc:s,seeAllEpisodesLink:l,currentLive:c})=>{if(!s)return null;const h=a.jsxs(a.Fragment,{children:[a.jsx(d9,{variant:"tv",timeSlot:{children:c?.time,color:"white"},mx:{xs:"m",md:"0"},mb:"xxs"}),a.jsx(Yr,{as:"h3",size:"m",fontFamily:"obviously",mx:{xs:"m",md:"0"},children:c?.title})]}),v=x=>x.length>0?a.jsxs(Ea,{mt:"xl",children:[a.jsx(Uc,{as:"h4",label:"Derniers épisodes",mb:"xl"}),x.map((w,_)=>pe.createElement(ob,{...w,cardHeaderProps:w.cardHeaderProps?{...w.cardHeaderProps,headline:{...w.cardHeaderProps.headline,color:"white"}}:void 0,cardTitleProps:{...w.cardTitleProps,size:"xxs-2",as:"h5"},key:w.link,..._!==x.length-1&&{className:"u-divider-bottom-grey-200"},..._!==0&&{pt:"s"},..._!==x.length-1&&{pb:"s"}}))]}):null,p=a.jsxs(a.Fragment,{children:[e===ge.MOBILE&&c&&h,a.jsx(kd,{type:du.video,src:s,videoIs16by9:!0,mt:{xs:"xl",md:"0"}}),(r.length>0||e===ge.DESKTOP&&c||l)&&a.jsxs(ve,{direction:"column",justifyContent:"between",mx:{xs:"m",md:"0"},children:[e===ge.DESKTOP&&(c?a.jsxs("div",{children:[h,v(r)]}):v(r)),e===ge.MOBILE&&v(r),l&&a.jsx(Ea,{align:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",variant:void 0,...l,children:"Voir tous les épisodes"})})]})]});return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",color:"white",bg:"blue-dark",py:"xl",children:a.jsxs(be,{className:"o-page-wrap",children:[a.jsxs(ve,{justifyContent:"between",alignItems:"center",mx:{xs:"m",md:"0"},mb:"xl",children:[a.jsx(or,{name:"logo-tv",size:e===ge.DESKTOP?[76,49]:[46,30],color:"white"}),e===ge.DESKTOP?a.jsx("div",{children:t.slice(0,2).map((x,w)=>a.jsx(uc,{...x,variant:"quaternary",ml:w===1?"l":"0"},x.href))}):t.slice(0,1).map(x=>a.jsx(uc,{...x,variant:"quaternary"},x.href))]}),e===ge.DESKTOP?a.jsx(Ri,{colsNumber:"2-of-3",gap:"l",mb:"xxl",children:p}):p]})}),a.jsx(be,{as:"section",bg:"blue-grey",children:a.jsx(v9,{events:o,layout:e,py:{xs:"s",md:"l"},className:vo({"o-page-wrap":e===ge.DESKTOP})})})]})},LR=({avatarUrl:e,jobTitle:t,city:r,aboutMe:o,contacts:s})=>a.jsxs(a.Fragment,{children:[a.jsxs(ve,{px:{xs:"m",md:"0"},mb:{xs:"0",md:"xxl"},my:"xl",gap:{xs:"xl",md:"xxl-2"},direction:{xs:"column",md:"row"},children:[a.jsx(Ng,{img:e,variant:"big"}),(t||r)&&a.jsxs(ve,{gap:{xs:"l",md:"xxl-3"},direction:{xs:"column",md:"row"},children:[t&&a.jsxs(ve,{direction:"column",children:[a.jsx(Uc,{label:"Poste occupé"}),a.jsx(Me,{mt:"m",children:t})]}),r&&a.jsxs(ve,{direction:"column",children:[a.jsx(Uc,{label:"Localisation"}),a.jsx(Me,{mt:"m",children:r})]})]})]}),o&&a.jsx(Og,{heading:{children:"À propos de moi :"},description:o}),s&&s.length>0&&a.jsxs(be,{px:{xs:"m",md:"0"},mt:"xxl",children:[a.jsx(Yr,{size:"m",mb:{xs:"s",md:"l"},children:"Me contacter :"}),a.jsx(ve,{direction:"column",gap:{xs:"s",md:"l"},children:s.map(({media:l,link:c,label:h})=>a.jsxs(ve,{alignItems:"center",children:[a.jsx(or,{name:l,size:20,mr:"l"}),a.jsx(Yt,{href:c,size:"m",weight:"semi-bold",children:h})]},l))})]})]}),kR=({post:e,postIndex:t,postsCount:r,pageEndpoint:o,imgEndpoint:s,layout:l,disableAds:c=!1,enableAnchoring:h=!0})=>pe.createElement("section",{className:vo("js-post",{"u-anchor-link":h}),...h?{id:`post-${e.id}`}:{},key:e.id},a.jsx(bU,{...e.title}),e.content&&a.jsx(uI,{draftContent:e.content,pageEndpoint:o,imgEndpoint:s}),e.talk&&a.jsx(yU,{...e.talk,mt:"s"}),a.jsx(kn,{color:"grey-200",my:"l"}),!c&&r>=4&&t%6===3&&a.jsx(Se,{adUnitCompletePath:l===ge.MOBILE?"/49926454/20minutes_webmobile/live/inread":"/49926454/20minutes_desktop/live/inread",variant:"INREAD",mb:"s",isFullscreenMobile:!0}),!c&&r>=8&&t%6===0&&a.jsx(Se,{adUnitCompletePath:l===ge.MOBILE?"/49926454/20minutes_webmobile/live/article_mtf":"/49926454/20minutes_desktop/live/pave_article",variant:"ARTICLE",mb:"s",isFullscreenMobile:!0})),BR=({posts:e,layout:t,pageEndpoint:r,imgEndpoint:o,seeMoreLink:s,disableAds:l,enableAnchoring:c=!0,...h})=>{const{variablesForQuery:v,refreshButton:p,...x}=h;return e.length===0?null:a.jsxs(a.Fragment,{children:[a.jsx(be,{...x,"data-state":p?.state,"data-latest-post-id":p?.latestPostId,"data-brand-id":v?.brandId,"data-live-id":v?.liveId,children:e.map((w,_)=>a.jsx(kR,{post:w,postIndex:_,postsCount:e.length,layout:t,pageEndpoint:r,imgEndpoint:o,disableAds:l,enableAnchoring:c},`${w.id}-${_}`))}),s&&a.jsx(ve,{justifyContent:"center",my:"l",children:a.jsx(Tn,{color:"primary",variant:"outlined",...s})})]})},B3=({items:e,seeMoreButton:t,...r})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(be,{...r,children:e.map((o,s)=>{const{summaryProps:l,...c}=o,h=c.layout===ge.DESKTOP&&s!==e.length-1||c.layout===ge.MOBILE&&!(s===e.length-1||s===2||s===7);return a.jsxs(pe.Fragment,{children:[a.jsx(ab,{...c,summaryProps:c.layout!==ge.MOBILE?l:void 0,mx:{xs:"m",md:"0"},...h?{className:"u-divider-bottom-grey-200"}:{},...s!==0&&{pt:"s"},...s!==e.length-1&&{pb:"s"}}),s===2&&c.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),s===7&&c.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]},`${c.link}-${s}`)})}),t&&a.jsx(ve,{justifyContent:"center",mb:"m",children:a.jsx(Tn,{...t})})]}),s8=({...e})=>{const{variablesForQuery:t,...r}=e;return a.jsx(ub,{...r})},PR=({items:e,layout:t,seeMoreButton:r,...o})=>e.length<=0?null:a.jsxs(a.Fragment,{children:[a.jsx(ve,{direction:"column",gap:"xxl-2",...o,children:e.map((s,l)=>a.jsxs(pe.Fragment,{children:[l===5&&t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(XH,{...s,layout:t,containerSpacing:{px:{xs:"m",lg:"0"}}})]},`${s.link}-${l}`))}),r&&a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Tn,{...r})}),t===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}),t===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"BAN",mt:"xl"})]}),FR=({blocks:e,...t})=>e.length===0?null:a.jsx(be,{...t,children:e.map((r,o)=>a.jsx(rd,{mb:o<e.length-1?"xxl":"0",...r},o))}),HR=({articles:e,layout:t,totalArticles:r,currentPagePath:o,currentPage:s="1",seeMoreButton:l,...c})=>{if(e.length===0)return null;const h=a.jsx(Ri,{colsNumber:1,gap:{xs:"xxl",md:"xxl-2"},children:e.map((p,x)=>t===ge.DESKTOP?a.jsx(tU,{...p,className:vo(`card-item-${x+1}`,p.className),cardTitleProps:{as:"h2",...p.cardTitleProps},cardHeaderProps:Hp(p.cardHeaderProps)},p.title):a.jsx(c2,{layout:t,...p,className:vo(`card-item-${x+1}`,p.className),cardTitleProps:{as:"h2",...p.cardTitleProps},cardHeaderProps:Hp(p.cardHeaderProps)},p.title))}),v=a.jsxs(a.Fragment,{children:[h,l&&a.jsxs(a.Fragment,{children:[r&&o&&a.jsx("noscript",{children:a.jsx(p9,{totalArticles:r,currentPage:s,pagePath:o,archivesUrl:"https://www.20minutes.fr/archives"})}),a.jsx(ve,{justifyContent:"center",mt:"xxl",children:a.jsx(Tn,{...l})})]})]});return Object.keys(c).length===0?v:a.jsx(be,{...c,children:v})},UR=({rewinds:e,layout:t,...r})=>a.jsx(Ri,{...r,colsNumber:{xs:1,sm:2,md:3,lg:4,xxl:5},gap:"xl",px:{xs:"m",md:"0"},children:e.map(o=>a.jsxs(ve,{as:Yt,href:o.link,direction:"column",alignItems:"center",gap:"l",children:[a.jsx(Eh,{src:o.cover,defaultFormat:t===ge.DESKTOP?"236x420":"439x781",isPortrait:!0}),a.jsxs(Me,{as:"span",color:"white",bg:"ultramarine",size:"xs",weight:"bold",px:"s",py:"xs",radius:"l",children:["Ma rétrospective ",o.year]})]},o.year))}),P3=({articles:e,...t})=>e&&e?.length>0?a.jsx(ve,{...t,direction:"column",children:e.map((r,o)=>a.jsx(U1,{...r,cardHeaderProps:Hp(r.cardHeaderProps),mb:o<e.length-1?"l":"0",cardImageProps:{...r.cardImageProps,lazyLoad:!0,cover:r?.cardImageProps?.cover??""}},r.title))}):null,qR=({title:e,tagList:t})=>a.jsxs(be,{className:"bg-grey-100",p:{xs:"m",md:"xl"},children:[a.jsx(Yr,{as:"h2",size:"xxs",mb:"l",children:e}),a.jsx(ve,{gap:"xs",wrap:"wrap",children:t.map(({name:r,href:o})=>a.jsx(uc,{variant:"secondary",href:o,children:r},r))})]}),zR=({slideshowStories:e})=>a.jsx(a.Fragment,{children:e.map(t=>pe.createElement(aR,{...t,key:t.title,mb:"l"}))}),VR=({widgets:e})=>e.length===0?null:a.jsx(a.Fragment,{children:e.map(t=>a.jsx(gb,{...t},t.src))}),W2=({cards:e,layout:t,...r})=>a.jsx(be,{...r,mx:{xs:"m",md:"0"},mb:{xs:"xxl",md:"xxl-3"},children:a.jsx(Ri,{colsNumber:{xs:2,md:3},gapY:{xs:"m",md:"xl"},gapX:{xs:"xxl",md:"xxl-2"},alignItems:"start",children:e.map(o=>a.jsx(d2,{link:o.url,title:o.name,cardImageProps:{cover:o.coverUrl},cardHeaderProps:{headline:{text:o.label,color:o.labelColor}},cardTitleProps:{weight:"semi-bold",size:{xs:"xs",md:"s"}},summaryProps:{children:o.summary},layout:t},o.url))})}),GR=({items:e,layout:t,...r})=>e.length===0?null:a.jsx(be,{py:"xxl",...r,children:a.jsx(Hu,{className:"o-page-wrap",pt:"0",layout:t,articles:e.map(o=>({...o,variant:"title-on-image",cardTitleProps:{color:"white",fontFamily:"base",pb:"s",px:"m"}})),sliderProps:{buttonsColor:"white",sliderVariant:"sport",ml:{xs:"m",md:"0"}}})}),KR=({articles:e,layout:t,tagCarouselProps:r,brandPublishingArticle:o,seeMoreButton:s,currentPage:l,currentPagePath:c,tagTotalArticles:h,isFullWidthCover:v})=>{if(e.length===0)return null;const p=w=>"cardImageProps"in w&&!("cardFrameProps"in w),x=e.slice(1).filter(p).map(w=>({...w,...w.cardImageProps&&{cardImageProps:{...w.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",bg:"grey-50",children:v?a.jsx(ZH,{...e[0],layout:t,mb:{xs:r?.items.length?"l":"0",md:"xl"}}):a.jsx(c2,{...e[0],layout:t,mb:{xs:r?.items.length?"l":"0",md:"xl"}})}),r&&r.items.length>0&&a.jsx(GR,{mb:{xs:"l",md:"xl"},...r}),a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:{xs:"0",md:"xxl"},bg:"grey-50",children:a.jsxs(ve,{id:"article-list-1",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(jl,{layout:t,articles:x,hideFirstDivider:r&&r.items.length>0&&t===ge.MOBILE,seeMoreButton:s&&{...s,disabled:!0,onClick:void 0},currentPage:l,currentPagePath:c,tagTotalArticles:h})}),t===ge.DESKTOP&&a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(P3,{...o}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})})]})},bJ=e=>Array.isArray(e.articles)&&e.articles.length>0,WR=({mostViewed:e,mostRecent:t,...r})=>{const s=[{name:"les plus vues",title:"Vidéos les + vues",source:e},{name:"les plus recentes",title:"Vidéos les + récentes",source:t}].filter(l=>bJ(l.source)).map(l=>({name:l.name,title:l.title,content:a.jsx(jl,{...l.source,hasMarginOnCard:!1})}));return s.length===0?null:a.jsx(be,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},mb:"xxs",...r,children:a.jsx(Lf,{tabTitlesColor:"white",tabItems:s})})},$R=({videos:e,layout:t})=>{const r=o=>a.jsxs(a.Fragment,{children:[a.jsx(Se,{adUnitCompletePath:`/49926454/20minutes_webmobile/tv/nfb_${o}`,variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(kn,{color:"grey-500",my:"s"})]});return a.jsx(a.Fragment,{children:e.map((o,s)=>{const l=s===e.length-1,c=s===0?"s":"0";return a.jsxs(pe.Fragment,{children:[a.jsx(ab,{...o,cardNumber:{value:s+1},mt:c,mx:{xs:"m",md:"0"}}),!l&&a.jsx(kn,{color:"grey-500",my:"s"}),t===ge.MOBILE&&s===2&&r("1"),t===ge.MOBILE&&s===7&&r("2")]},`${o.title}-${s}`)})})},YR=({layout:e,videos:t})=>a.jsx(a.Fragment,{children:t.map((r,o)=>{const s=o===t.length-1,l=o===0?"s":"0";return a.jsxs(pe.Fragment,{children:[a.jsx(t9,{...r,mt:l,mx:{xs:"m",md:"0"}}),!s&&a.jsx(kn,{color:"grey-500",my:"s"}),e===ge.MOBILE&&o===11&&a.jsxs(a.Fragment,{children:[a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"BAN",mt:"s",hasNoBgColorMobile:!0}),a.jsx(kn,{color:"grey-500",my:"s"})]})]},`${r.title}-${o}`)})}),QR=({breadcrumb:e,showsCarousel:t,frontPageArticles:r,seeMoreLink:o,layout:s})=>{const l=c=>"title"in c[0];return a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:a.jsx(Un,{...e,isTransparent:!0,hasWhiteSeparators:!0,buttonsColor:"translucent"})}),a.jsx(vU,{...t,layout:s,withNavigation:s===ge.DESKTOP}),s===ge.DESKTOP&&r.length>0&&l(r)&&a.jsx(be,{as:"section",className:"o-page-wrap o-shift-carousel-top",children:a.jsx(Hu,{articles:r,layout:ge.DESKTOP,label:"A la Une",headingProps:{as:"h2",color:"white"},color:"white",seeMoreLink:{href:o,children:"Voir toutes les vidéos à la Une",buttonColor:"translucent",variant:void 0}})}),s===ge.MOBILE&&r.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(Uc,{label:"A la Une",my:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(jl,{articles:r,layout:ge.MOBILE,hideFirstDivider:!0,color:"white"}),a.jsx(ve,{justifyContent:"center",mt:"xl",color:"white",children:a.jsx(Yt,{buttonColor:"translucent",href:o,children:"Voir toutes les vidéos à la Une"})})]})]})},xJ=e=>{if(!window.lazyObservers?.defaultObserver&&!window.lazyObservers?.instantObserver){window.lazyElementsToObserve=window.lazyElementsToObserve||[],window.lazyElementsToObserve.push(e);return}const t=e.dataset?.distanceVisible;t==="700"?window.lazyObservers?.defaultObserver?.observe(e):t==="0"&&window.lazyObservers?.instantObserver?.observe(e)},K0=()=>{document.querySelectorAll('[data-delayed="true"]:not([data-dfp-name]):not([data-lazy-loaded="true"])').forEach(t=>{xJ(t)})},JR=e=>{const t={click:Fd(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},r=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[r]}),window.pa.sendEvent(r,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[r]}]),window._paq.push(["sendEvent",r,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let s={};if(o)try{const l=JSON.parse(o.textContent||"");l.data_collection.context=l.data_collection.context||{},s=l.data_collection.context.page?.properties||{}}catch{s={}}window.edgee.track({name:r,properties:{...s,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},zu=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:window.PianoPageInfo?.name,page_chapter1:window.PianoPageInfo?.chapter1,page_chapter2:window.PianoPageInfo?.chapter2,page_chapter3:window.PianoPageInfo?.chapter3,page_chapter4:window.PianoPageInfo?.chapter4}]),window.edgee?.page&&e?.enableEdgee!==!1&&window.edgee.page()},Fh=({medias:e,imgEndpoint:t})=>{const r=e?.find(s=>s&&s.illustration===!0&&s.type===y2.photo&&s.photo?.node?.id);if(!r?.photo?.node?.id)return"";const o=r.photo?.node?.slug?`%format_${r.photo.node.slug}`:"%format";return`${t}/${I5(r.photo.node.id)}/${o}`},Up=({photo:e})=>e?.node?[{type:y2.photo,illustration:!0,legend:e.node.caption??null,photo:{node:{id:e.node.id,brand_id:e.node.brand_id,title:e.node.title??null,caption:e.node.caption??null,credit:e.node.credit??null,slug:e.node.slug??null}},video:null,podcast:null}]:[],$2=({medias:e,picto:t,editorialModel:r})=>{if(r===kf.Story)return{caption:{iconName:"diaporama"}};let o;if(t)switch(t){case"video":{if(r!==kf.Page){const s=e?.find(l=>l&&l?.illustration===!0&&l?.type===y2.video&&l[y2.video]?.duration)?.video?.duration;return{caption:{iconName:"video",text:s?kg(Number(s)):""}}}break}case"podcast":return{caption:{iconName:"podcast"}};default:return o}else e?.forEach(s=>{if(s?.type==="podcast"&&(o={caption:{iconName:"podcast"}}),s?.type==="video"&&s?.illustration&&r!==kf.Page){const l=s?.video?.duration?Number(s?.video?.duration):null;o={caption:{iconName:"video",text:l?kg(l):""}}}});return o},ZR=({pageEndpoint:e,imgEndpoint:t,layout:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((s,l)=>(!l?.node?.short_title||!l?.node?.medias||!l?.node?.url_current||s.push({title:l.node.short_title,cardImageProps:{cover:Fh({medias:l.node.medias,imgEndpoint:t}),caption:{iconName:"video",text:l?.node?.video?.node?.duration?.toString()?kg(parseInt(l.node.video.node.duration.toString(),10)):void 0}},link:new URL(l.node.url_current,e).href,layout:r,...r===ge.MOBILE&&{reverseCard:!0}}),s),[]),AJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery?.endCursor||null),[o,s]=pe.useState(e.defaultVariablesForQuery?.hasNextPage||!1),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTvReplaysOrExtracts&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery?.brandId,slug:e.defaultVariablesForQuery?.slug,first:8,after:t,filter:{publication_status:{eq:"published"},...e.defaultVariablesForQuery?.tagId?{tag_ids:{nin:[e.defaultVariablesForQuery.tagId]}}:{}}}))}`,options:{headers:_}}];try{const S=await bi(...D),T=ZR({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,layout:e.layout,data:S});c(C=>[...C,...T]),r(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery,e.layout]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},XR=({isSSR:e=!0,name:t,layout:r,articles:o,variablesForQuery:s,seeMoreButton:l,...c})=>{if(o.length===0)return null;const{isLoading:h,articles:v,hasNextPage:p,onLoadMore:x}=AJ({layout:r,defaultArticles:o,defaultVariablesForQuery:s});return pe.useEffect(()=>{h||K0()},[h]),a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:r,articles:v,seeMoreButton:l&&p?{...l,disabled:h,onClick:x}:void 0,...c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[`${t}TvExtractsAndReplaysContainer`]:{layout:r,articles:v,variablesForQuery:s,seeMoreButton:l,...c}})} };`}})]})},_J=(e,t,r,o)=>({name:e,title:o.title,content:t===ge.DESKTOP&&(r?a.jsx(Hu,{layout:t,articles:o.items}):a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(XR,{name:e,layout:t,articles:o.items,columnsNumber:4,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})}))||a.jsx("div",{id:`tv-tab-${e}`,children:a.jsx(XR,{name:e,layout:t,articles:o.items,hasMarginOnCard:!1,hideFirstDivider:!0,...o.seeMore&&{seeMoreButton:{color:"translucent",...o.seeMore}},variablesForQuery:o.variablesForQuery})})}),u8=({layout:e,extracts:t,replays:r,variant:o="show",contentIsCarousel:s=!0,...l})=>{if(r.items.length===0&&t.items.length===0)return null;const c=[{name:"extraits",tab:{...t,title:t.title??"Extraits"}},{name:"replays",tab:{...r,title:r.title??"Replay"}}];o==="show"&&c.reverse();const h=c.filter(v=>v.tab.items.length>0).map(v=>_J(v.name,e,s,v.tab));return a.jsx(be,{as:"section",className:"o-page-wrap",color:"white",py:{xs:"m",md:"xxl"},px:{xs:"m",md:"0"},...l,children:a.jsx(Lf,{tabTitlesColor:"white",tabItems:h})})},eO=({showCover:e,replaysAndExtracts:t,layout:r,lastReplay:o,lastReplayTitle:s="Dernier Replay"})=>a.jsxs(a.Fragment,{children:[a.jsx(nR,{...e,layout:r}),o&&r===ge.DESKTOP&&a.jsxs(be,{as:"section",className:"o-page-wrap o-shift-carousel-top o-page__player-container",mt:"xxl",children:[a.jsx(Uc,{label:s,mb:"xxl",as:"h2",color:"white"}),a.jsx(c2,{...o,layout:ge.DESKTOP,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),o&&r===ge.MOBILE&&a.jsxs(be,{as:"section",className:"o-page__player-container",mt:"xxl",children:[a.jsx(Uc,{label:s,mb:"xxl",as:"h2",color:"white",mx:"m"}),a.jsx(Ig,{...o,layout:ge.MOBILE,cardHeaderProps:o.cardHeaderProps?{...o.cardHeaderProps,headline:{...o.cardHeaderProps.headline,color:"white"}}:void 0,summaryProps:{color:"white",...o.summaryProps},cardTitleProps:{color:"white"}})]}),a.jsx(u8,{...t})]}),tO=({shows:e,layout:t,seeMoreLink:r,...o})=>e.length===0?null:a.jsx(be,{bg:"blue-grey",...o,as:"section",color:"white",children:a.jsxs(be,{className:"o-page-wrap",pt:{xs:"xl",md:"xxl-2"},pb:"xxl",children:[a.jsx(Hu,{label:t===ge.MOBILE?"Nos émissions en replay":"Retrouvez l’intégralité de nos émissions en replay",headingProps:{as:"h2",size:"m",color:"white",fontFamily:"obviously",textAlign:"center",mx:{xs:"m",md:"0"}},titleUnderlined:!1,layout:t,articles:e,sliderProps:{buttonsColor:"white",sliderVariant:"videos",ml:{xs:"m",md:"0"}}}),r&&a.jsx(ve,{justifyContent:"center",mt:"xl",children:a.jsx(Yt,{buttonColor:"translucent",...r})})]})}),EJ=[{component:R9,componentName:Pg.AD_IFRAME_EXTERNAL_AD_ELEMENT,expiration:3600*24*30}],Y2=3600*24*30,wJ=[{componentName:qc.ANIMAL_QUIZ_BREADCRUMB,component:Un,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_HEADER_PAGE,component:Bo,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,component:Ra,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_META,component:En,expiration:Y2},{componentName:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,component:r8,expiration:Y2}],SJ=e=>{switch(e){case"FRA":return"Nationale";case"BOR":return"Bordeaux";case"LIL":return"Lille";case"MAR":return"Marseille";case"MON":return"Montpellier";case"NAN":return"Nantes";case"NIC":return"Nice";case"PAR":return"Paris";case"REN":return"Rennes";case"STR":return"Strasbourg";case"TOU":return"Toulouse";default:return""}},CJ=e=>{const t=e.slice(0,4),r=e.slice(4,6),o=e.slice(6,8),s=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],l=parseInt(r,10)-1,c=s[l];return`${parseInt(o,10)} ${c} ${t}`},rO=({data:e})=>{const t=[];return Array.isArray(e)||e?.brand?.node?.edition?.node?.pdfs?.edges?.forEach(r=>{r?.node?.url&&r?.node?.publication_date&&t.push({href:r?.node?.url,name:`Lire le journal du ${CJ(r?.node?.publication_date)} - édition ${SJ(r.node.url.match(/[0-9]{8}_([A-Z]{3})\.pdf/)?.[1]??"")}`})}),t},nO={editionSelectorId:"archivePdfListEditionSelector",monthSelectorId:"archivePdfListMonthSelector"},TJ=({isSSR:e=!0,variablesForQuery:t,layout:r,title:o,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:h,enabled:v})=>{const[p,x]=pe.useState(h),w=pe.useCallback(async()=>{const{apiHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=document.getElementById(nO.editionSelectorId),T=document.getElementById(nO.monthSelectorId),C=[{url:`${_}/?id=getPdfsByEditionSlug&variables=${encodeURIComponent(JSON.stringify({brandId:t?.brandId,slug:S?.value,first:100,sort:"ASC",year:t?.year,month:T?.value}))}`,options:{headers:D}}];try{const O=await bi(...C),L=rO({data:O});x(L)}catch(O){console.error("20mn> Error while searching:",O)}},[t?.brandId,t?.year]);return a.jsxs(a.Fragment,{children:[a.jsx(lR,{title:o,selectorsLabel:s,editionSelector:{...l,onChange:w},monthSelector:c&&{...c,onChange:w},editions:p,layout:r,enabled:v}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({archivePdfListContainer:{title:o,layout:r,selectorsLabel:s,editionSelector:l,monthSelector:c,editions:h,variablesForQuery:t,enabled:v}})} };`}})]})},NJ=[{component:En,componentName:ao.ARCHIVES_META,expiration:3600*24*30},{componentName:ao.ARCHIVES_BREADCRUMB,component:Un,expiration:300},{componentName:ao.ARCHIVES_PAGE_TITLE,component:Yr,expiration:300},{componentName:ao.ARCHIVES_DAYS_LIST,component:yl,expiration:300},{componentName:ao.ARCHIVES_CONTENTS,component:yl,expiration:300},{componentName:ao.ARCHIVES_YEARS_LIST,component:uR,expiration:300},{componentName:ao.ARCHIVES_MONTHS_LIST,component:cR,expiration:300},{componentName:ao.ARCHIVES_PDF_LIST,component:TJ,expiration:300}],DJ=[{componentName:xl.ARTICLE_CONTENT,component:rm,expiration:3600*24},{componentName:xl.ARTICLE_ENCLOSE,component:C3,expiration:3600*24},{componentName:xl.ARTICLE_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30},{componentName:xl.ARTICLE_JSON_LD_CLAIM_REVIEW,component:j9,expiration:3600*24*30},{componentName:xl.ARTICLE_PRELOAD,component:V1,expiration:3600*24*30},{componentName:xl.ARTICLE_HIGHLIGHTED_TEXT,component:Me,expiration:1800}],IJ=[{componentName:ka.ASTRO_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:ka.ASTRO_HEADER_PAGE,component:Bo,expiration:3600},{componentName:ka.ASTRO_HEADER_BANNER,component:i9,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_CONTENT,component:WH,expiration:3600},{componentName:ka.ASTRO_HOMEPAGE_CONTENT,component:ZD,expiration:3600},{componentName:ka.ASTRO_LINK,component:Yt,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,component:XD,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES,component:$H,expiration:3600*24*30},{componentName:ka.ASTRO_ASTRO_TILES_HEADING,component:Yr,expiration:3600*24*30},{componentName:ka.ASTRO_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:ka.ASTRO_META,component:En,expiration:3600*24*30}],Q2=e=>e?LB.find(t=>e.includes(t)):void 0,aO=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.url||!l?.node?.medias||!l?.node?.rubric?.node?.label||!(l?.node?.medias.length||l?.node?.photo?.node))return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:c,imgEndpoint:r}),...$2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model}),lazyLoad:!0},cardHeaderProps:{headline:{text:l?.node?.label||l.node.rubric.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0,as:"h3"},layout:e}),s},[]),RJ=e=>{const[t,r]=pe.useState(e.defaultArticles),o=pe.useCallback(async()=>{const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,first:e.variablesForQuery.first}))}`,options:{headers:l}}];try{const h=await bi(...c),v=aO({layout:window.layout,data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint});r(v)}catch(h){console.error("20mn> Error while loading articles:",h)}},[e.variablesForQuery.brandId,e.variablesForQuery.first,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({articles:t}),[t])},OJ=({isSSR:e=!0,articles:t,variablesForQuery:r,...o})=>{const{articles:s}=RJ({defaultArticles:t,variablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(fR,{...o,articles:s,variablesForQuery:r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestContentsCarouselContainer:{articles:t,variablesForQuery:r,...o}})} };`}})]})},J2=e=>{const t=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"});return{name:e.name,title:e.title,tabColor:e.tabColor,body:e.articleEdges.reduce((r,o)=>{if(o?.node?.title&&o?.node?.url&&o?.node?.rubric?.node?.slug&&o?.node?.rubric?.node?.label){let s;if(e.imgEndpoint){let c=o.node.medias??[];o?.node?.editorial_model==="Story"&&o?.node?.photo?.node&&(c=Up({photo:o.node.photo})),s={cover:Fh({medias:c,imgEndpoint:e.imgEndpoint}),lazyLoad:!0}}const l={themeColor:o.node.rubric.node.themeColor?.node?.lightmode_color||void 0,rubricName:o?.node?.label||o.node.rubric.node.label,title:o?.node?.short_title||o.node.title,url:new URL(o.node.url,e.pageEndpoint).href,cartridge:o.node?.editorial_model===kf.Live&&o.node?.state===E9.open?"live":void 0,...s?{cardImageProps:s}:{}};e.name==="le-direct"&&o?.node?.published_at&&(l.liveTime=t.format(new Date(o.node.published_at).getTime()).replace(":","h")),r.push(l)}return r},[]).slice(0,e.limit)}},iO=({data:e,pageEndpoint:t,liveLimit:r,mostReadLimit:o})=>{if(Array.isArray(e))return[];const s=e?.brand?.node,l=s?.mostReadArticles?.edges,c=s?.liveArticles?.edges,h=[];if(c?.length){const v=J2({name:"le-direct",title:"Le direct",pageEndpoint:t,articleEdges:c,limit:r,tabColor:"red"});h.push(v)}if(l?.length){const v=J2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,articleEdges:l,limit:o});h.push(v)}return h},jJ=e=>{const[t,r]=pe.useState(e.defaultTabItems),o=pe.useCallback(async()=>{if(e.variablesForQuery.liveLimit&&e.variablesForQuery.mostReadLimit){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getLiveAndMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit}))}`,options:{headers:l}}];try{const h=await bi(...c),v=iO({data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,liveLimit:e.variablesForQuery.liveLimit,mostReadLimit:e.variablesForQuery.mostReadLimit});r(v),L3()}catch(h){console.error("20mn> Error while loading tabItems:",h)}}},[e.variablesForQuery.brandId,e.variablesForQuery.liveLimit,e.variablesForQuery.mostReadLimit,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({tabItems:t}),[t])},MJ=({isSSR:e=!0,layout:t,tabItems:r,variablesForQuery:o,...s})=>{const{tabItems:l}=jJ({defaultTabItems:r,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(s8,{...s,layout:t,tabItems:l,variablesForQuery:o,hasButton:!0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({liveAndMostReadContainer:{layout:t,tabItems:r,variablesForQuery:o}})} };`}})]})},LJ=[{componentName:nt.COMMON_HEADER,component:UU,expiration:900},{componentName:nt.COMMON_HEADER_MINI,component:o9,expiration:900},{componentName:nt.COMMON_HEADER_SUBMENU_CARDS,component:YU,expiration:300},{componentName:nt.COMMON_FOOTER,component:x9,expiration:3600*24*7},{componentName:nt.COMMON_OVERVIEW_BAR,component:A9,expiration:900},{componentName:nt.COMMON_MOST_READ_ARTICLES,component:MJ,expiration:3600*24*7},{componentName:nt.COMMON_MENU,component:DU,expiration:3600*24*7},{componentName:nt.COMMON_PRELOAD,component:V1,expiration:3600*24*30},{componentName:nt.COMMON_LATEST_CONTENTS_CARROUSEL,component:OJ,expiration:300},{componentName:nt.COMMON_TOOLBAR,component:JU,expiration:3600*24*7},{componentName:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,component:tO,expiration:3600},{componentName:nt.COMMON_TV_MOST_BLOCK,component:WR,expiration:3600},{componentName:nt.COMMON_ELECTIONS_SEARCH_BANNER,component:rR,expiration:3600}],om=3600*24*30,kJ=[{componentName:Uu.CONTACT_JSON_LD_BREADCRUMB,component:Ra,expiration:om},{componentName:Uu.CONTACT_ADDRESSES,component:mR,expiration:om},{componentName:Uu.CONTACT_META,component:En,expiration:om},{componentName:Uu.CONTACT_FORM,component:gR,expiration:om},{componentName:Uu.CONTACT_DETAILS,component:vR,expiration:om},{componentName:Uu.CONTACT_BREADCRUMB,component:Un,expiration:om}],BJ=[{componentName:wr.CONTENT_READALSO_BANNER,component:OU,expiration:1800},{componentName:wr.CONTENT_BREADCRUMB,component:Un,expiration:300},{componentName:wr.CONTENT_HEADER,component:Q7,expiration:3600*24},{componentName:wr.CONTENT_HEADER_MOBILE,component:dR,expiration:3600*24},{componentName:wr.CONTENT_COVER,component:t8,expiration:300},{componentName:wr.CONTENT_SOCIAL_BAR,component:_p,expiration:300},{componentName:wr.CONTENT_SIGNATURE,component:jg,expiration:3600*24},{componentName:wr.CONTENT_SUMMARY,component:JD,expiration:3600*24},{componentName:wr.CONTENT_READALSO_BLOCK,component:hR,expiration:3600*24},{componentName:wr.CONTENT_TAG_BAR,component:sb,expiration:3600*24},{componentName:wr.CONTENT_COMMENT_V2,component:dU,expiration:3600*24*30},{componentName:wr.CONTENT_META,component:En,expiration:3600*24*30},{componentName:wr.CONTENT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:wr.CONTENT_SIDE_BRANDS_ARTICLES,component:P3,expiration:3600},{componentName:wr.CONTENT_HEADER_MINI,component:o9,expiration:900},{componentName:wr.CONTENT_SCROLL_PROGRESS_BUTTON,component:Tn,expiration:1800}],PJ=()=>{const e=document.getElementById("article-list-bottom-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(h=>{h.isIntersecting&&(zu(),c.unobserve(h.target))})}),r=e.querySelector(".card-item-1");r&&t.observe(r);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},FJ=()=>{const e=document.getElementById("quiz-container");if(!e)return;const t=new IntersectionObserver((l,c)=>{l.forEach(h=>{h.isIntersecting&&(zu(),c.unobserve(h.target))})}),r=e.querySelector(".card-item-1");r&&t.observe(r);const o=e.querySelector(".card-item-8");o&&t.observe(o);const s=e.querySelector(".card-item-16");s&&t.observe(s)},HJ=()=>{const e=document.getElementById("latest-articles-container");if(!e)return;const t=new IntersectionObserver((s,l)=>{s.forEach(c=>{c.isIntersecting&&(zu(),l.unobserve(c.target))})}),r=e.querySelectorAll(".c-card-container")[10];r&&t.observe(r);const o=e.querySelectorAll(".c-card-container")[20];o&&t.observe(o)},UJ=new Intl.DateTimeFormat("fr",{timeStyle:"short",timeZone:"Europe/Paris"}),oO=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.published_at||!l?.node?.medias&&!l?.node?.photo?.node)return s;let c=l.node.medias??[];return l?.node?.editorial_model==="Story"&&l?.node?.photo?.node&&(c=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,t).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:c,imgEndpoint:r}),...$2({medias:c,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},socialBarProps:{layout:e,commentCount:l.node.comments_count??0,shareCount:(l.node.facebook_count??0)+(l.node.pinterest_count??0),contentLegacyId:l.node?.legacy_id?.toString(),contentLink:new URL(l.node.url,t).href,commentAnchor:"mbrs-comments-container"},cardHeaderProps:{headline:{text:l.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)},liveTime:UJ.format(new Date(l.node.published_at).getTime()).replace(":","h")},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:l?.node?.lead??""},layout:e}),s},[]),qJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLatestContentsCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,sourceExcluded:e.defaultVariablesForQuery.sourceExcluded,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=oO({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S});c(C=>[...C,...T]),r(S?.brand?.node?.publishableContents?.pageInfo?.endCursor??null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage??!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.sourceExcluded]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{HJ()},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},sO=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,articles:c,hasNextPage:h,onLoadMore:v}=qJ({defaultArticles:r,defaultVariablesForQuery:o});return pe.useEffect(()=>{l||K0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(T3,{layout:t,articles:c,seeMoreButton:h?{...s,disabled:l,onClick:v}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({latestArticlesContainer:{layout:t,articles:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},zJ=({layout:e,liveInProgressProps:t,lastArticlesProps:r})=>{const o=[{name:"latest-articles",title:"Derniers articles",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{id:"latest-articles-container",children:a.jsx(sO,{...r})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{style:{height:"163rem"},children:a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})}),a.jsx("div",{className:"o-lt-show__stickywrap",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})})]})]}):a.jsx("div",{id:"latest-articles-container",children:a.jsx(sO,{...r})})},...t.cardOverviewProps.length>0?[{name:"direct",title:"Lives en cours",tabColor:"red",content:e===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"l",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(O2,{...t})}),a.jsx("aside",{className:"o-lt-show__aside"})]}):a.jsx(O2,{...t})}]:[]];return e===ge.DESKTOP?a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,mb:"l"}):a.jsx(Lf,{tabItemActive:o[0].name,tabItems:o,tabProps:{mx:"m"},mb:"l"})},VJ=[{componentName:Hd.DIRECT_BREADCRUMB,component:Un,expiration:300},{componentName:Hd.DIRECT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Hd.DIRECT_TABS,component:zJ,expiration:300},{componentName:Hd.DIRECT_META,component:En,expiration:3600*24*30},{componentName:Hd.DIRECT_HEADER_PAGE,component:bl,expiration:3600*24*30}],GJ=({pageEndpoint:e,data:t})=>Array.isArray(t)?[]:(t?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((r,o)=>(!o?.node?.title||!o?.node?.url||r.push({title:o.node.title,url:new URL(o.node.url,e).href}),r),[]),KJ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=GJ({pageEndpoint:window.envVariables.pageEndpoint,data:S}),C={articles:[...l,...T],endCursor:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:S?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(O=>[...O,...T]),r(C.endCursor),s(C.hasNextPage),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},WJ=({isSSR:e=!0,articles:t,variablesForQuery:r,seeMoreButton:o,linksSize:s,colsNumber:l})=>{const{isLoading:c,articles:h,hasNextPage:v,onLoadMore:p}=KJ({defaultArticles:t,defaultVariablesForQuery:r});return pe.useEffect(()=>{c||K0()},[c]),a.jsxs(a.Fragment,{children:[a.jsx(bb,{articles:h,seeMoreButton:v?{...o,disabled:c,onClick:p}:void 0,linksSize:s,colsNumber:l}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsAiArticlesContainer:{articles:h,variablesForQuery:r,seeMoreButton:o,linksSize:s,colsNumber:l}})} };`}})]})},$J=[{componentName:zc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_META,component:En,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_BREADCRUMB,component:Un,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,component:Bo,expiration:3600},{componentName:zc.ELECTIONS_AI_ARTICLES_LIST,component:WJ,expiration:300}];function Z2(){if(this?.id)try{const e=document.getElementById(this.id);if(e){const t=e.getAttribute("value");if(t){const r=document.createElement("textarea");document.body.appendChild(r),r.value=t,r.select(),document.execCommand("copy"),document.body.removeChild(r)}}}catch(e){console.error("Oops, unable to copy",e)}}const YJ=()=>{const e=document.getElementById("goto-distribution"),t=document.getElementById("goto-european-map"),r=document.getElementById("goto-map"),o=document.getElementById("goto-statistics"),s=document.getElementById("goto-results");e&&e.addEventListener("click",Z2),t&&t.addEventListener("click",Z2),r&&r.addEventListener("click",Z2),o&&o.addEventListener("click",Z2),s&&s.addEventListener("click",Z2)},uO=(e,t)=>{const o=e.innerHTML.includes("candidats")?"candidats":"résultats";e.innerHTML=t?`Masquer tous les ${o}`:`Voir tous les ${o}`},QJ=(e,t)=>{e.setAttribute("aria-expanded","true"),uO(e,!0),t?.forEach(r=>{r.setAttribute("aria-hidden","false")})},JJ=(e,t)=>{t?.forEach(r=>{r.setAttribute("aria-hidden","true")}),e.setAttribute("aria-expanded","false"),uO(e,!1)},ZJ=e=>{const t=e.currentTarget;if(e.preventDefault(),t instanceof HTMLButtonElement){const r=t.parentNode?.querySelectorAll(".js-toggle-target");t.getAttribute("aria-expanded")==="true"?JJ(t,r):QJ(t,r)}},XJ=(e=document.querySelector(".js-toggle-button"))=>{e&&document.querySelectorAll(".js-toggle-button").forEach(r=>{r.addEventListener("click",ZJ)})},eZ=e=>{const t=document.querySelector(".c-search-banner");if(!t)return;const r=t.querySelector("[data-search-banner-expanded-source]"),o=t.querySelector("[data-search-banner-collapse]");!o||!r||(e?(r.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false")):(r.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true")))};let lO=!1;const tZ=()=>{if(lO)return;lO=!0;const e=document.getElementById("js-top-sentinel");if(!e)return;new IntersectionObserver(([r])=>{const o=r.isIntersecting;eZ(o)},{root:null,threshold:0}).observe(e)},cO=e=>{const t=e.querySelector(".c-search-banner");if(!(t instanceof HTMLElement))return;const r="c-search-banner--has-top-border";t.dataset.initialHasTopBorder??=String(t.classList.contains(r)),t.classList.toggle(r,t.dataset.initialHasTopBorder==="true"&&!e.classList.contains("u-sticky--on-top-screen"))},dO=(e,t,r)=>{r==="desktop"&&(t?(e.classList.remove("u-sticky"),e.classList.remove("u-sticky--under-header-mini")):(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header-mini"))),r==="mobile"&&(t?(e.classList.remove("u-sticky--under-header"),e.classList.add("u-sticky--on-top-screen")):(e.classList.remove("u-sticky--on-top-screen"),e.classList.add("u-sticky--under-header")),cO(e))},rZ=()=>{const e=document.getElementById("elections-form-container"),t=document.querySelector(".c-header-mini"),r=document.querySelector(".c-header-mobile"),o=document.querySelector('body[data-layout="mobile"]');e&&t&&new MutationObserver(l=>{const c=l[0],h=c.target;if(h instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const v=h.className.includes("c-header-mini--is-hidden");dO(e,v,"desktop")}}).observe(t,{attributes:!0}),o&&e&&r&&(e.classList.add("u-sticky"),e.classList.add("u-sticky--under-header"),cO(e),new MutationObserver(l=>{const c=l[0],h=c.target;if(h instanceof HTMLElement&&c.type==="attributes"&&c.attributeName==="class"){const v=h.className.includes("c-header-mobile--is-hidden");dO(e,v,"mobile")}}).observe(r,{attributes:!0}))},nZ=()=>{YJ(),XJ(),tZ(),rZ()},aZ=e=>{const[t,r]=pe.useState(e.defaultMapConstituenciesProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-districts.json"});r(l=>({...l,mapDistrictsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o(),L3(),nZ()},[o]),pe.useMemo(()=>({mapConstituenciesProps:t}),[t])},iZ=({isSSR:e=!0,mapConstituenciesProps:t,...r})=>{const{mapConstituenciesProps:o}=aZ({defaultMapConstituenciesProps:t}),s={electionName:"",electionYear:"",resultsPerDistrict:[],mapDistrictsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(bR,{mapConstituenciesProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsConstituenciesMapContainer:{mapConstituenciesProps:t,...r}})} };`}})]})},oZ=e=>{const[t,r]=pe.useState(e.defaultMapDepartmentsProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments.json"});r(l=>({...l,mapDepartmentsData:s}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapDepartmentsProps:t}),[t])},sZ=({isSSR:e=!0,mapDepartmentsProps:t,...r})=>{const{mapDepartmentsProps:o}=oZ({defaultMapDepartmentsProps:t}),s={electionName:"",electionYear:"",resultsPerDepartment:[],mapDepartmentsData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(xR,{mapDepartmentsProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsDepartmentsMapContainer:{mapDepartmentsProps:t,...r}})} };`}})]})},uZ=e=>{const[t,r]=pe.useState(e.defaultMapEuropeProps),o=pe.useCallback(async()=>{try{const s=await Promise.all([bi({url:"https://static.20mn.fr/elections/map-eu-countries.json"}),bi({url:"https://static.20mn.fr/elections/map-non-eu-countries.json"})]);r(l=>({...l,mapEuCountriesData:s[0],mapNonEuCountriesData:s[1]}))}catch(s){console.error("20mn> Error while loading map data:",s)}},[]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapEuropeProps:t}),[t])},lZ=({isSSR:e=!0,mapEuropeProps:t,...r})=>{const{mapEuropeProps:o}=uZ({defaultMapEuropeProps:t}),s={electionName:"",electionYear:"",resultsPerCountry:[],mapEuCountriesData:{},mapNonEuCountriesData:{}};return a.jsxs(a.Fragment,{children:[a.jsx(AR,{mapEuropeProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsEuropeanMapContainer:{mapEuropeProps:t,...r}})} };`}})]})},cZ=e=>{const[t,r]=pe.useState(e.defaultMapTownsByDepartmentsProps),o=pe.useCallback(async()=>{try{const s=await bi({url:"https://static.20mn.fr/elections/map-departments-paths.json"}),l=await bi({url:"https://static.20mn.fr/elections/map-towns.svg",options:{headers:{"Content-Type":"image/svg+xml"}}}),c=await bi({url:"https://static.20mn.fr/elections/map-droms.json"});let h=[];try{h=await bi({url:`https://static.20mn.fr/elections/mn${e.defaultMapTownsByDepartmentsProps.electionYear}/electeds.json`})}catch(v){console.warn("20mn> Error while loading town results data:",v)}r(v=>({...v,townsSprite:l,departmentsPaths:s,dromsConfig:c,resultsPerTown:h}))}catch(s){console.error("20mn> Error while loading town map data:",s)}},[e.defaultMapTownsByDepartmentsProps.electionYear]);return pe.useEffect(()=>{o()},[o]),pe.useMemo(()=>({mapTownsByDepartmentsProps:t}),[t])},dZ=({isSSR:e=!0,mapTownsByDepartmentsProps:t,...r})=>{const{mapTownsByDepartmentsProps:o}=cZ({defaultMapTownsByDepartmentsProps:t}),s={layout:t.layout,resultsPerTown:[]};return a.jsxs(a.Fragment,{children:[a.jsx(_R,{mapTownsByDepartmentsProps:e?s:o,...r}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({electionsMapTownsByDepartmentsContainer:{mapTownsByDepartmentsProps:t,...r}})} };`}})]})},dc=15,fZ=[{componentName:ar.ELECTIONS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:ar.ELECTIONS_JSON_LD_FAQ,component:yb,expiration:3600},{componentName:ar.ELECTIONS_META,component:En,expiration:3600},{componentName:ar.ELECTIONS_BREADCRUMB,component:Un,expiration:3600},{componentName:ar.ELECTIONS_HEADER_PAGE,component:Bo,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_FIRST_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_MULTIPLE,component:ER,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_RESULTS_SECOND_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,component:im,expiration:dc},{componentName:ar.ELECTIONS_DISTRIBUTION,component:yR,expiration:dc},{componentName:ar.ELECTIONS_MAP_DEPARTMENTS,component:sZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_CONSTITUENCIES,component:iZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,component:dZ,expiration:dc},{componentName:ar.ELECTIONS_MAP_EUROPEAN,component:lZ,expiration:dc},{componentName:ar.ELECTIONS_SUMMARY,component:SR,expiration:dc},{componentName:ar.ELECTIONS_INSEE_BLOCK,component:C3,expiration:3600*24*1},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_TOP,component:yl,expiration:3600},{componentName:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,component:yl,expiration:3600},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,component:Hu,expiration:300},{componentName:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,component:Hu,expiration:300},{componentName:ar.ELECTIONS_RESULTS_FILTERED,component:wR,expiration:dc},{componentName:ar.ELECTIONS_REFRESH_BUTTON,component:k9,expiration:3600}],hZ=[{componentName:q1.ERROR_CONTENT,component:hU,expiration:3600*24*30},{componentName:q1.ERROR_META,component:En,expiration:3600*24*30}],l8=3600*24*30,pZ=[{componentName:Ch.EXT_TEFAL_BREADCRUMB,component:Un,expiration:l8},{componentName:Ch.EXT_TEFAL_HEADER_PAGE,component:Bo,expiration:l8},{componentName:Ch.EXT_TEFAL_META,component:En,expiration:l8}],Vu=3600*24*30,mZ=[{componentName:Vn.GAME_BREADCRUMB,component:Un,expiration:Vu},{componentName:Vn.GAME_HEADER_PAGE,component:n8,expiration:Vu},{componentName:Vn.GAME_META,component:En,expiration:Vu},{componentName:Vn.GAME_JSON_LD_BREADCRUMB,component:Ra,expiration:Vu},{componentName:Vn.GAME_JSON_LD_FAQ,component:yb,expiration:Vu},{componentName:Vn.GAME_IFRAME,component:P5,expiration:Vu},{componentName:Vn.GAME_FAQ,component:rI,expiration:Vu},{componentName:Vn.GAME_CONTENT,component:be,expiration:Vu},{componentName:Vn.GAME_CONTACT,component:nI,expiration:Vu},{componentName:Vn.GAME_LIST,component:i8,expiration:Vu},{componentName:Vn.GAME_APP_FOOTER,component:x9,expiration:Vu},{componentName:Vn.GAME_APP_HEADER_PAGE,component:n8,expiration:Vu},{componentName:Vn.GAME_APP_LIST,component:i8,expiration:Vu},{componentName:Vn.GAME_APP_IFRAME,component:P5,expiration:Vu},{componentName:Vn.GAME_APP_AD,component:O9,expiration:Vu}],fO=e=>e instanceof HTMLAnchorElement?e.href:e instanceof Element&&e.closest("a")?.href||"",vZ=()=>{window.datalayerInfo?.pageName==="home"&&document.querySelectorAll("div#local-news-container div.c-card-container a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const r=fO(t.target);JR({name:"local_news_content",type:"action",customProps:{cta_context:"home",cta_type:"card",cta_destination:r,cta_engagement:1}}),window.location.href=r})})},gZ=()=>{!window.datalayerInfo?.pageName||!["article","live"].includes(window.datalayerInfo?.pageName)||document.querySelectorAll("div.c-tabpanel article a").forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault();const r=fO(t.target);JR({name:"most_read_content",type:"action",customProps:{cta_context:"content",cta_type:"link",cta_destination:r,cta_engagement:1},chapter1:"widget"}),window.location.href=r})})},c8=e=>e!=null,hO=()=>[{title:"Ain",value:"ain"},{title:"Aisne",value:"aisne"},{title:"Allier",value:"allier"},{title:"Alpes-de-Haute-Provence",value:"alpes_de_haute_provence"},{title:"Alpes-Maritimes",value:"alpes-maritimes"},{title:"Ardèche",value:"ardeche"},{title:"Ardennes",value:"ardennes"},{title:"Ariège",value:"ariege"},{title:"Aube",value:"aube"},{title:"Aude",value:"aude"},{title:"Aveyron",value:"aveyron"},{title:"Bas-Rhin",value:"bas_rhin"},{title:"Bouches-du-Rhône",value:"bouches-rhone"},{title:"Calvados",value:"calvados"},{title:"Cantal",value:"cantal"},{title:"Charente",value:"charente"},{title:"Charente-Maritime",value:"charente-maritime"},{title:"Cher",value:"cher"},{title:"Correze",value:"correze"},{title:"Corse-du-Sud",value:"corse-sud"},{title:"Côte-d'Or",value:"cote_d_or"},{title:"Côtes-d'Armor",value:"cotes_d_armor"},{title:"Creuse",value:"creuse"},{title:"Deux-Sèvres",value:"deux-sevres"},{title:"Dordogne",value:"dordogne"},{title:"Doubs",value:"doubs"},{title:"Drôme",value:"drome"},{title:"Essonne",value:"essonne"},{title:"Eure",value:"eure"},{title:"Eure-et-Loir",value:"eure_et_loire"},{title:"Finistère",value:"finistere"},{title:"Gard",value:"gard"},{title:"Gers",value:"gers"},{title:"Gironde",value:"gironde"},{title:"Guadeloupe",value:"guadeloupe"},{title:"Guyane",value:"guyane"},{title:"Haut-Rhin",value:"haut-rhin"},{title:"Haute-Corse",value:"haute-corse"},{title:"Haute-Garonne",value:"haute-garonne"},{title:"Haute-Loire",value:"haute-loire"},{title:"Haute-Marne",value:"haute-marne"},{title:"Haute-Saône",value:"haute-saone"},{title:"Haute-Vienne",value:"haute-vienne"},{title:"Hautes-Alpes",value:"hautes-alpes"},{title:"Hautes-Pyrénées",value:"hautes_pyrenees"},{title:"Hauts-de-Seine",value:"hauts-de-seine"},{title:"Hérault",value:"herault"},{title:"Ille-et-Vilaine",value:"ille_et_vilaine"},{title:"Indre",value:"indre"},{title:"Indre-et-Loire",value:"indre-loire"},{title:"Isère",value:"isere"},{title:"Jura",value:"jura"},{title:"Landes",value:"landes"},{title:"Loir-et-Cher",value:"loir-cher"},{title:"Loire",value:"loire"},{title:"Loire-Atlantique",value:"loire-atlantique"},{title:"Loiret",value:"loiret"},{title:"Lot",value:"lot"},{title:"Lot-et-Garonne",value:"lot_et_garonne"},{title:"Lozère",value:"lozere"},{title:"Maine-et-Loire",value:"maine-et-loire"},{title:"Manche",value:"manche"},{title:"Marne",value:"marne"},{title:"Martinique",value:"martinique"},{title:"Mayenne",value:"mayenne"},{title:"Mayotte",value:"mayotte"},{title:"Meurthe-et-Moselle",value:"meurthe-et-moselle"},{title:"Meuse",value:"meuse"},{title:"Morbihan",value:"morbihan"},{title:"Moselle",value:"moselle"},{title:"Nièvre",value:"nievre"},{title:"Nord",value:"nord"},{title:"Oise",value:"oise"},{title:"Orne",value:"orne"},{title:"Paris",value:"paris"},{title:"Pas-de-Calais",value:"pas-de-calais"},{title:"Puy de Dôme",value:"puy-dome"},{title:"Pyrénées-Atlantiques",value:"pyrenees-atlantiques"},{title:"Pyrénées-Orientales",value:"pyrenees_orientales"},{title:"Rhône",value:"rhone"},{title:"Saône-et-Loire",value:"saone_et_loire"},{title:"Sarthe",value:"sarthe"},{title:"Savoie",value:"savoie"},{title:"Seine-et-Marne",value:"seine-et-marne"},{title:"Seine-Maritime",value:"seine_maritime-1"},{title:"Seine-Saint-Denis",value:"seine-saint-denis"},{title:"Somme",value:"somme"},{title:"Tarn",value:"tarn"},{title:"Tarn-et-Garonne",value:"tarn_et_garonne"},{title:"Territoire de Belfort",value:"territoire-belfort"},{title:"Val-d'Oise",value:"val_d_oise"},{title:"Val-de-Marne",value:"val-de-marne"},{title:"Var",value:"var"},{title:"Vaucluse",value:"vaucluse"},{title:"Vendée",value:"vendee"},{title:"Vienne",value:"vienne-france"},{title:"Vosges",value:"vosges"},{title:"Yonne",value:"yonne"},{title:"Yvelines",value:"yvelines"}],pO=e=>{let t;return e?.forEach(r=>{const o=hO().find(s=>s.value===r?.node?.slug);o&&(t=o)}),t?t.title:""},mO=({data:e,pageEndpoint:t,layout:r})=>(e?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((o,s)=>{if(s?.node?.rubric?.node?.label&&s?.node?.title&&s?.node?.url&&s?.node?.tags?.edges){const l=s.node.tags.edges.filter(c8);o.push({link:new URL(s.node.url,t).href,title:lq(s?.node?.short_title||s.node.title),cardHeaderProps:{headline:{text:s?.node?.label||s.node.rubric.node.label},location:pO(l)},socialBarProps:{layout:r,commentCount:s.node?.comments_count??0,shareCount:(s.node?.facebook_count??0)+(s.node?.pinterest_count??0),contentLegacyId:s.node?.legacy_id?.toString()}})}return o},[]),yZ=e=>{const[t,r]=pe.useState(e.defaultArticles),[o,s]=pe.useState(!1),[l,c]=pe.useState("locales"),[h,v]=pe.useState(e.defaultSeeMoreLink.href),p=pe.useCallback(w=>{c(w.target.value),s(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getHomeLocalNews&variables=${encodeURIComponent(JSON.stringify({...e.variablesForQuery,slug:l}))}`,options:{headers:_}}];try{const S=await bi(...D),T=mO({data:S,pageEndpoint:window.envVariables.pageEndpoint,layout:window.layout});v(new URL(S?.brand?.node?.tag?.node?.url_current??"",window.envVariables.pageEndpoint).href),r(T)}catch(S){console.error("20mn> Error while loading articles:",S)}},[e.variablesForQuery,l]);return pe.useEffect(()=>{o&&x()},[o,x]),pe.useEffect(()=>{o&&s(!1),vZ()},[o]),pe.useMemo(()=>({isLoading:o,articles:t,tagUrl:h,onDepartmentChange:p}),[t,o,h,p])},bZ=({isSSR:e=!0,articles:t,variablesForQuery:r,seeMoreLink:o,selectProps:s,...l})=>{const{isLoading:c,articles:h,tagUrl:v,onDepartmentChange:p}=yZ({defaultArticles:t,defaultSeeMoreLink:o,variablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(RR,{...l,articles:h,variablesForQuery:r,seeMoreLink:{href:v},selectProps:{...s,disabled:c,onChange:p}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({localNewsContainer:{articles:h,variablesForQuery:r,selectProps:s,seeMoreLink:o,...l}})} };`}})]})},$a=15,xZ=[{componentName:Ir.HOME_META,component:En,expiration:3600*24*30},{componentName:Ir.HOME_ARTICLES_LIST_TOP,component:IR,expiration:$a},{componentName:Ir.HOME_FEATURED_TAG,component:rd,expiration:$a},{componentName:Ir.HOME_SECOND_ARTICLES_LIST_MOBILE,component:jl,expiration:$a},{componentName:Ir.HOME_ARTICLES_LIST_BOTTOM,component:NR,expiration:$a},{componentName:Ir.HOME_MOST_READ_ASIDE,component:ub,expiration:$a},{componentName:Ir.HOME_THIRD_ARTICLES_LIST_MOBILE,component:jl,expiration:$a},{componentName:Ir.HOME_LOCAL_NEWS,component:bZ,expiration:$a},{componentName:Ir.HOME_TV_BLOCK,component:MR,expiration:$a},{componentName:Ir.HOME_GAMES_CAROUSEL,component:DR,expiration:$a},{componentName:Ir.HOME_CURRENT_VIDEOS,component:K2,expiration:$a},{componentName:Ir.HOME_ENTERTAINMENT,component:K2,expiration:$a},{componentName:Ir.HOME_SPORT,component:K2,expiration:$a},{componentName:Ir.HOME_IN_PICTURES,component:K2,expiration:$a},{componentName:Ir.HOME_TEMPO,component:rd,expiration:$a},{componentName:Ir.HOME_ANIMALS,component:rd,expiration:$a},{componentName:Ir.HOME_HIGH_TECH,component:rd,expiration:$a},{componentName:Ir.HOME_PLANET,component:rd,expiration:$a},{componentName:Ir.HOME_PROFESSIONAL_LIFE,component:rd,expiration:$a},{componentName:Ir.HOME_CONSO,component:rd,expiration:$a},{componentName:Ir.HOME_PODCASTS,component:rd,expiration:$a},{componentName:Ir.HOME_PURCHASE_GUIDE,component:rd,expiration:$a},{componentName:Ir.HOME_DISCOVER_NOW,component:rd,expiration:$a},{componentName:Ir.HOME_CITY_BY_CITY,component:TR,expiration:$a},{componentName:Ir.HOME_PARTNERS,component:jR,expiration:$a},{componentName:Ir.HOME_MOVIES,component:o8,expiration:$a},{componentName:Ir.HOME_TV_PROGRAM,component:o8,expiration:$a},{componentName:Ir.HOME_MUNICIPAL_BLOCK,component:OR,expiration:$a}],nd=3600*24*7,AZ=[{componentName:wa.JOBS_JSON_LD_BREADCRUMB,component:Ra,expiration:nd},{componentName:wa.JOBS_META,component:En,expiration:nd},{componentName:wa.JOBS_BREADCRUMB,component:Un,expiration:nd},{componentName:wa.JOBS_HEADER_PAGE,component:Bo,expiration:nd},{componentName:wa.JOBS_COVER,component:kd,expiration:nd},{componentName:wa.JOBS_CARDS_LIST,component:jl,expiration:nd},{componentName:wa.JOBS_BUSINESS_SECTORS_LIST,component:yl,expiration:nd},{componentName:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,component:Hu,expiration:nd},{componentName:wa.JOBS_RELATED_JOBS_CATEGORY,component:Hu,expiration:nd},{componentName:wa.JOBS_PROPERTIES,component:oI,expiration:nd},{componentName:wa.JOBS_ENCLOSE_BANNER,component:C3,expiration:nd},{componentName:wa.JOBS_FAQ,component:k5,expiration:nd}],vO=({pageEndpoint:e,imgEndpoint:t,data:r,layout:o})=>Array.isArray(r)?[]:(r?.brand?.node?.publishableContents?.edges||[])?.reduce((s,l)=>{if(!l?.node?.title||!l?.node?.label||!l?.node?.url||!l?.node?.medias&&!l?.node?.photo?.node)return s;const c=l?.node?.editorial_model===kf.Story;let h=l.node.medias?l.node.medias.filter(c8):[];return c&&l?.node?.photo?.node&&(h=Up({photo:l.node.photo})),s.push({link:new URL(l.node.url,e).href,title:l.node.short_title||l.node.title,cardImageProps:{cover:Fh({medias:h,imgEndpoint:t}),...$2({medias:h,picto:l?.node?.picto,editorialModel:l?.node.editorial_model})},cardHeaderProps:{headline:{text:l.node.label,color:Q2(l?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:l.node.published_at||""}},cardTitleProps:{cartridge:l?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:o,disableComment:c?!1:!l.node.enable_comments,variant:"card",contentLink:new URL(l.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:l.node.comments_count??0,shareCount:l.node.facebook_count??0,contentLegacyId:l.node?.legacy_id?.toString()}}),s},[]),_Z=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getUserBackArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,userBackId:e.defaultVariablesForQuery.userBackId,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=vO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:S,layout:window.layout});c(C=>[...C,...T]),r(S?.brand?.node?.publishableContents?.pageInfo?.endCursor||null),s(S?.brand?.node?.publishableContents?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading articles:",S)}},[t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.userBackId]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},EZ=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:h,heading:v})=>{if(r.length===0)return null;const{isLoading:p,articles:x,hasNextPage:w,onLoadMore:_}=_Z({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{p||K0()},[p]);const D=x.map(S=>({...S,...S.cardImageProps&&{cardImageProps:{...S.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:D,seeMoreButton:w?{...s,disabled:p,onClick:_}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:h,heading:v}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({journalistArticleListContainer:{layout:t,articles:D,variablesForQuery:o,seeMoreButton:s,heading:v}})} };`}})]})},X2=3600*24,wZ=[{componentName:lc.JOURNALIST_JSON_LD_BREADCRUMB,component:Ra,expiration:X2},{componentName:lc.JOURNALIST_META,component:En,expiration:X2},{componentName:lc.JOURNALIST_BREADCRUMB,component:Un,expiration:X2},{componentName:lc.JOURNALIST_HEADER_PAGE,component:Bo,expiration:X2},{componentName:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,component:LR,expiration:X2},{componentName:lc.JOURNALIST_ARTICLES,component:EZ,expiration:300}],ev=3600*24*30,SZ=[{componentName:Vc.LA21E_BREADCRUMB,component:Un,expiration:ev},{componentName:Vc.LA21E_HEADER_PAGE,component:Bo,expiration:ev},{componentName:Vc.LA21E_JSON_LD_BREADCRUMB,component:Ra,expiration:ev},{componentName:Vc.LA21E_META,component:En,expiration:ev},{componentName:Vc.LA21E_CARDS_LIST,component:W2,expiration:ev}],d8=e=>{const t=[];return e.legalNotices.forEach(r=>{const o=r?.node;t.push({link:o?.external_id?new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href:"",title:o?.title??void 0,location:o?.legalNoticeDepartment?.node?.name||"",summaryProps:{children:o?.publishing_date?`Publié le ${fb(new Date(o.publishing_date),!1)}`:hb(new Date(Date.now()).toLocaleString())},cardTitleProps:{...o?.external_id?{as:"a",href:new URL(`/al/${o?.external_id}`,e.legalNoticeEndpoint).href,className:"opacity-hover"}:{}}})}),t},f8=e=>e!=null,CZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.legalNotices),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNoticesFromDept&variables=${encodeURIComponent(JSON.stringify({slug:e.defaultVariablesForQuery.slug,first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(f8)??[],C=d8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(O=>[...O,...C]),r(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,legalNotices:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},TZ=({isSSR:e=!0,variablesForQuery:t,legalNotices:r})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=CZ({legalNotices:r,defaultVariablesForQuery:t});return pe.useEffect(()=>{o||K0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(N3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeDepartmentContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},NZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.legalNotices),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getLegalNotices&variables=${encodeURIComponent(JSON.stringify({first:10,after:t}))}`,options:{headers:_}}];try{const S=await bi(...D),T=S?.legalNotices?.edges?.filter(f8)??[],C=d8({legalNotices:T,legalNoticeEndpoint:window.location.origin});c(O=>[...O,...C]),r(S?.legalNotices?.pageInfo?.endCursor||null),s(S?.legalNotices?.pageInfo?.hasNextPage||!1),zu()}catch(S){console.error("20mn> Error while loading annnouncements:",S)}},[t]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,legalNotices:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},DZ=({isSSR:e=!0,variablesForQuery:t,legalNotices:r})=>{const{isLoading:o,legalNotices:s,hasNextPage:l,onLoadMore:c}=NZ({legalNotices:r,defaultVariablesForQuery:t});return pe.useEffect(()=>{o||K0()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(N3,{legalNotices:s,seeMoreLegalNotices:l?{disabled:o,onClick:c,children:"Voir plus d’annonces légales"}:void 0,mx:{xs:"m",md:"0"}}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({legalNoticeHomeContainer:{legalNotices:s,variablesForQuery:t}})} };`}})]})},sm=3600*24,IZ=[{componentName:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,component:Ra,expiration:sm},{componentName:la.LEGAL_NOTICE_META,component:En,expiration:sm},{componentName:la.LEGAL_NOTICE_BREADCRUMB,component:Un,expiration:sm},{componentName:la.LEGAL_NOTICE_HEADER_PAGE,component:Bo,expiration:sm},{componentName:la.LEGAL_NOTICE_FAQ,component:qg,expiration:sm},{componentName:la.LEGAL_NOTICE_DEPARTMENTS_LIST,component:yl,expiration:3600},{componentName:la.LEGAL_NOTICE_REGIONS_LIST,component:yl,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST,component:DZ,expiration:3600},{componentName:la.LEGAL_NOTICE_CONTENT,component:sI,expiration:sm},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,component:N3,expiration:3600},{componentName:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,component:TZ,expiration:3600}],RZ=()=>{window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{const t=Array.from(document.getElementsByClassName("embed-placeholder")),r=e.getCurrentUserStatus(),o=r?.purposes?.["activation-gGierZpp"]?.enabled;t.forEach(s=>{const l=s.querySelector(".cmp-placeholder"),c=s.querySelector(".embed-wrapper");if(!(!(l instanceof Element)||!(c instanceof Element))){if(!(o&&(r?.vendors[s.getAttribute("data-vendor")||""]?.enabled??!0))){l.classList.remove("u-hidden"),c.classList.add("u-hidden");return}l.classList.add("u-hidden"),c.classList.remove("u-hidden"),c.querySelectorAll("[data-src]").forEach(h=>{const v=h.getAttribute("data-src");v&&(h.setAttribute("src",v),h.removeAttribute("data-src"))})}})})},OZ=["nfb_1","nfb_2","article_btf","pave_com","pave_home","inread","pave_article","article_mtf","native_web"],gO=()=>{OZ.forEach(e=>{const t=`#dfp_${e}`,o=[...document.querySelectorAll(t)].filter(l=>l instanceof HTMLElement);for(let l=0;l<=20;l+=1){const c=document.getElementById(`dfp_${e}_${l}`);c&&o.push(c)}let s=0;o.forEach(l=>{s===0?l.id=`dfp_${e}`:l.id=`dfp_${e}_${s}`,s+=1})})},jZ=e=>{switch(e){case Sh.default:case Sh.important:case Sh.community:case Sh.faq:case Sh.bold:return e;case Sh.very_important:return"crucial";default:return"default"}},yO=(e,t)=>Array.isArray(e)?[]:(e?.brand?.node?.live?.node?.livePosts?.edges||[])?.reduce((r,o)=>{if(!o)return r;let s=o?.node?.content_md?.blocks;if(s){const h=[...s],v=h?.slice(-1);v?.[0]?.text===""&&v?.[0]?.type==="unstyled"&&(h.pop(),s=h)}let l;o?.node?.comment?.node&&(l={question:o.node.comment.node.content||"",author:o.node.comment.node.userFront?.node?.username||"",response:s?.[0]?.text});const c=o.node?.legacy_id;return c&&r.push({cursor:o?.cursor||null,id:c,title:{status:jZ(o?.node?.type),header:o?.node?.printed_hour||"",title:o?.node?.title||"",img:o?.node?.livePostLabel?.node&&t?{name:o.node.livePostLabel.node.slug||"",src:o.node.livePostLabel.node.logo?`${t}/${o.node.livePostLabel.node.logo}`:""}:void 0},content:l?void 0:{entityMap:{},...o?.node?.content_md,blocks:s??[]},talk:l}),r},[]),MZ=e=>{if(e.some(({content:r})=>Object.values(r?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&s?.embedProps?.meta?.site==="idalgo"&&s?.embedProps?.meta?.type==="widget"))){if(window?.iDalgoLoader){window.iDalgoLoader.init();return}N9({name:"widget_live-posts",src:"https://20minutes.idalgo-hosting.com/partners/i/cache/datasport/cache/page/r_js_jlu_url.php",load:"async"})}},bO=e=>{const t=e.filter(({content:r})=>Object.values(r?.entityMap||{}).some(({type:o,data:s})=>o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)));t.length&&t.forEach(({content:r})=>{Object.values(r?.entityMap||{}).forEach(({type:o,data:s})=>{if(o==="iframely"&&(s?.embedProps?.js||s?.embedProps?.css)){const{js:l=[],css:c=[]}=s?.embedProps||{};l.length&&l.forEach((h,v)=>{N9({name:`embed_live-posts-${v}`,src:h,load:"async"})}),c.length&&c.forEach(h=>{const v=document.createElement("link");v.type="text/css",v.rel="stylesheet",v.href=h,document.head.appendChild(v)})}})})},F3=()=>{const{hash:e}=new URL(window.location.href),t=e.match(/#post-(\d+)/);return t?Number(t[1]):null},xO=async({first:e,after:t,filter:r,brandId:o,liveId:s})=>{const{apiHost:l}=document.body.dataset,c=new Headers;window.envVariables?.apiAuthKey&&c.append("auth-key",window.envVariables.apiAuthKey);const h=[{url:`${l}/?id=getLivePosts&variables=${encodeURIComponent(JSON.stringify({brandId:o,liveId:s,first:e,after:t,filter:r}))}`,options:{headers:c}}],v=await bi(...h),p=yO(v,document.body.dataset.staticHost),x=v?.brand?.node?.live?.node?.livePosts?.pageInfo??null;return{nextPosts:p,pageInfo:x}},AO=async({batchSize:e,after:t,filter:r,brandId:o,liveId:s,accumulatedPosts:l,anchorPostId:c})=>{const{nextPosts:h,pageInfo:v}=await xO({first:100,after:t,filter:r,brandId:o,liveId:s}),p=[...l,...h],x=v?.endCursor??null,w=v?.hasNextPage??!1,_=p.findIndex(D=>D.id===c);if(_!==-1){const S=Math.ceil((_+1)/e)*e,T=S>p.length?p[p.length-1].cursor:p[S-1].cursor,C=p.length>S?!0:w;return{nextPosts:p.slice(0,S),pageInfo:{endCursor:T,hasNextPage:C}}}return w&&x?AO({batchSize:e,after:t,filter:r,brandId:o,liveId:s,accumulatedPosts:p,anchorPostId:c}):{nextPosts:[],pageInfo:v}},LZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultPosts),[h,v]=pe.useState(!1),[p,x]=pe.useState(!1),w=pe.useCallback(()=>{v(!0)},[]),_=pe.useCallback(async()=>{const D=F3(),S=e.defaultVariablesForQuery.first,{filter:T,brandId:C,liveId:O}=e.defaultVariablesForQuery;try{if(D&&!p&&T?.type?.eq!==Sh.very_important){const{nextPosts:L}=await AO({batchSize:S,after:t,filter:T,brandId:C,liveId:O,accumulatedPosts:[],anchorPostId:D});c(P=>[...P,...L]),x(!!D),bO(L)}else{const{nextPosts:L,pageInfo:P}=await xO({first:S,after:t,filter:T,brandId:C,liveId:O});r(P?.endCursor??null),s(P?.hasNextPage??!1),c(z=>[...z,...L]),bO(L)}zu()}catch(L){console.error("20mn> Error while loading posts:",L)}},[t,p,e.defaultVariablesForQuery]);return pe.useEffect(()=>{F3()&&!document.getElementById(`post-${F3()}`)&&v(!0)},[]),pe.useEffect(()=>{document.querySelector(`#tabpanel-le-direct #post-${F3()}`)?.scrollIntoView({behavior:"smooth",block:"start"})},[]),pe.useEffect(()=>{h&&_(),MZ(l),gO(),RZ()},[h,_,l]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{gO()},[]),pe.useMemo(()=>({isLoading:h,posts:l,hasNextPage:o,onLoadMore:w}),[h,l,o,w])},h8=({isSSR:e=!0,posts:t,variablesForQuery:r,seeMoreLink:o,staticHydrationDataName:s="livePostsContainer",disableAds:l,...c})=>{const{isLoading:h,posts:v,hasNextPage:p,onLoadMore:x}=LZ({defaultPosts:t,defaultVariablesForQuery:r});return a.jsxs(a.Fragment,{children:[a.jsx(BR,{...c,posts:v,variablesForQuery:r,disableAds:l,seeMoreLink:p?{...o,disabled:h,onClick:x}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({[s]:{posts:uq(v),variablesForQuery:r,seeMoreLink:o,disableAds:l,...c}})} };`}})]})},kZ=[{componentName:fu.LIVE_INDICATOR,component:U5,expiration:300},{componentName:fu.LIVE_TOP_CONTENT,component:rm,expiration:3600*24},{componentName:fu.LIVE_POSTS_THREAD,component:h8,expiration:60},{componentName:fu.LIVE_IMPORTANT_POSTS_THREAD,component:h8,expiration:60},{componentName:fu.LIVE_JSON_LD_LIVE_BLOG_POSTING,component:M9,expiration:300},{componentName:fu.LIVE_QUESTION,component:gU,expiration:3600*24},{componentName:fu.LIVE_PRELOAD,component:V1,expiration:3600*24*30}],tv=3600*24*30,BZ=[{componentName:Gc.MOBILE_APPS_BREADCRUMB,component:Un,expiration:tv},{componentName:Gc.MOBILE_APPS_HEADER_PAGE,component:Bo,expiration:tv},{componentName:Gc.MOBILE_APPS_JSON_LD_BREADCRUMB,component:Ra,expiration:tv},{componentName:Gc.MOBILE_APPS_META,component:En,expiration:tv},{componentName:Gc.MOBILE_APPS_CARDS_LIST,component:W2,expiration:tv}],PZ=15,p8=3600*24*30,FZ=[{componentName:R0.MOST_COMMENTED_HEADER_PAGE,component:bl,expiration:p8},{componentName:R0.MOST_COMMENTED_BREADCRUMB,component:Un,expiration:p8},{componentName:R0.MOST_COMMENTED_ARTICLES,component:B3,expiration:PZ},{componentName:R0.MOST_COMMENTED_META,component:En,expiration:p8}],_O=({layout:e,pageEndpoint:t,imgEndpoint:r,data:o,lastNumber:s=0})=>Array.isArray(o)?[]:(o?.brand?.node?.publishableContents?.edges||[])?.reduce((l,c,h)=>{if(!c?.node?.title||!c?.node?.label||!c?.node?.url||!c?.node?.published_at||!c?.node?.medias&&!c?.node?.photo?.node)return l;let v=c.node.medias??[];return c?.node?.editorial_model==="Story"&&c?.node?.photo?.node&&(v=Up({photo:c.node.photo})),l.push({link:new URL(c.node.url,t).href,title:c.node.title,cardImageProps:{cover:Fh({medias:v,imgEndpoint:r})},cardHeaderProps:{headline:{text:c.node.label}},cardTitleProps:{cartridge:c?.node?.editorial_model==="Live"?"live":void 0},summaryProps:{children:c?.node?.lead??""},layout:e,cardNumber:{value:s+h+1,size:"medium"},viewCount:c?.node?.total_current_visits||0}),l},[]),HZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[o,s]=pe.useState(e.defaultItems),[l,c]=pe.useState(!1),h=pe.useCallback(()=>{c(!0)},[]),v=pe.useCallback(async()=>{const{apiHost:p}=document.body.dataset,x=new Headers;window.envVariables?.apiAuthKey&&x.append("auth-key",window.envVariables.apiAuthKey);const w=[{url:`${p}/?id=getMostReadContents&variables=${encodeURIComponent(JSON.stringify({first:e.defaultVariablesForQuery.first,brandId:e.defaultVariablesForQuery.brandId,excludeModel:e.defaultVariablesForQuery.excludeModel,after:e.defaultVariablesForQuery.endCursor}))}`,options:{headers:x}}];try{const _=await bi(...w),D=_O({layout:window.layout,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,data:_,lastNumber:e.defaultVariablesForQuery.first});s(S=>[...S,...D||[]]),r(!1),zu()}catch(_){console.error("20mn> Error while loading contents:",_)}},[e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.endCursor,e.defaultVariablesForQuery.excludeModel,e.defaultVariablesForQuery.first]);return pe.useEffect(()=>{l&&v()},[l,v]),pe.useEffect(()=>{l&&c(!1)},[l]),pe.useMemo(()=>({isLoading:l,items:o,hasNextPage:t,onLoadMore:h}),[l,o,t,h])},UZ=({isSSR:e=!0,items:t,variablesForQuery:r,seeMoreButton:o})=>{const{isLoading:s,items:l,hasNextPage:c,onLoadMore:h}=HZ({defaultItems:t,defaultVariablesForQuery:r});return pe.useEffect(()=>{s||K0()},[s]),a.jsxs(a.Fragment,{children:[a.jsx(B3,{items:l,seeMoreButton:c?{...o,disabled:s,onClick:h}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mainMostReadContainer:{items:l,variablesForQuery:r,seeMoreButton:o}})} };`}})]})},qZ=15,m8=3600*24*30,zZ=[{componentName:O0.MOST_READ_HEADER_PAGE,component:bl,expiration:m8},{componentName:O0.MOST_READ_BREADCRUMB,component:Un,expiration:m8},{componentName:O0.MOST_READ_ARTICLES,component:UZ,expiration:qZ},{componentName:O0.MOST_READ_META,component:En,expiration:m8}],VZ=15,v8=3600*24*30,GZ=[{componentName:M0.MOST_SHARED_HEADER_PAGE,component:bl,expiration:v8},{componentName:M0.MOST_SHARED_BREADCRUMB,component:Un,expiration:v8},{componentName:M0.MOST_SHARED_ARTICLES,component:B3,expiration:VZ},{componentName:M0.MOST_SHARED_META,component:En,expiration:v8}],EO=(e,t)=>Array.isArray(e)?[]:e?.movies?.edges?.map(r=>{const o=r?.node,s=o?.movieCastings?.edges?.find(l=>l?.node?.position==="Réalisateur");return{link:o?.article_url||"#",title:o?.title_fr||"",cardImageProps:{cover:(o?.movieMedias?.edges?.length??0)>0?`${t}/movies/posters/${o?.movieMedias?.edges?.[0]?.node?.src?.replace("-%format","")??""}`:""},summary:o?.summary_short||"",castings:o?.movieCastings?.edges?.filter(l=>l?.node?.type==="cast").map(l=>`${l?.node?.firstname} ${l?.node?.lastname}`)??[],genres:o?.genres?.filter(l=>l!==null)||[],directedBy:s?`${s?.node?.firstname} ${s?.node?.lastname}`:void 0,releaseDate:o?.release_date?fb(new Date(o.release_date)):"",seeMoreLink:{children:"Voir la fiche du film",href:o?.article_url||"#"}}})||[],KZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultMovies),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w}=document.body.dataset,_=new Headers;window.envVariables?.apiAuthKey&&_.append("auth-key",window.envVariables.apiAuthKey);const D=[{url:`${w}/?id=getMoviesData&variables=${encodeURIComponent(JSON.stringify({status:e.defaultVariablesForQuery.status,cursor:t,orderField:w9.EXPECTATION_LEVEL,orderDirection:S9.DESC}))}`,options:{headers:_}}];try{const S=await bi(...D),{staticHost:T}=document.body.dataset,C=EO(S,T);c(O=>[...O,...C||[]]),r(S?.movies?.pageInfo?.endCursor??null),s(S?.movies?.pageInfo?.hasNextPage??!1),zu()}catch(S){console.error("20mn> Error while loading posts:",S)}},[t,e.defaultVariablesForQuery.status]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useMemo(()=>({isLoading:h,items:l,hasNextPage:o,onLoadMore:p}),[h,l,o,p])},WZ=({isSSR:e=!0,layout:t,items:r,variablesForQuery:o,seeMoreButton:s})=>{const{isLoading:l,items:c,hasNextPage:h,onLoadMore:v}=KZ({defaultMovies:r,defaultVariablesForQuery:o});return pe.useEffect(()=>{l||K0()},[l]),a.jsxs(a.Fragment,{children:[a.jsx(PR,{layout:t,items:c,seeMoreButton:h?{...s,disabled:l,onClick:v}:void 0}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({moviesListContainer:{layout:t,items:c,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},H3=3600*24,$Z=[{componentName:Al.MOVIES_HEADER_PAGE,component:bl,expiration:H3},{componentName:Al.MOVIES_BREADCRUMB,component:Un,expiration:H3},{componentName:Al.MOVIES_LIST,component:WZ,expiration:3600*24},{componentName:Al.MOVIES_NAVIGATION,component:lI,expiration:H3},{componentName:Al.MOVIES_META,component:En,expiration:H3},{componentName:Al.MOVIES_MOST_READ_ASIDE,component:ub,expiration:300}],YZ=[{componentName:Kc.NEWS_BREADCRUMB,component:Un,expiration:3600},{componentName:Kc.NEWS_HEADER_PAGE,component:Bo,expiration:3600},{componentName:Kc.NEWS_ARTICLES_BY_TAGS,component:FR,expiration:1800},{componentName:Kc.NEWS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Kc.NEWS_META,component:En,expiration:3600*24*30}],wO=["actu-generale","justice","economie","auto","emploi","faits_divers","france","politique","sante","societe","monde","locales","nantes","toulouse","strasbourg","lyon","bordeaux","lille","marseille","montpellier","nice","paris","rennes","elections-municipales","production","publicommunique","magazine"],g8=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,hasSummary:s=!1,layout:l})=>Array.isArray(o)?[]:(o?.brand?.node?.tag?.node?.publishableContents?.edges||[])?.reduce((c,h)=>{if(!h?.node?.title||!h?.node?.label||!h?.node?.url||!h?.node?.medias&&!h?.node?.photo?.node)return c;const v=h?.node?.editorial_model===kf.ExternalContent,p=h?.node?.editorial_model===kf.Story;let x=h.node.medias?h.node.medias.filter(c8):[];p&&h?.node?.photo?.node&&(x=Up({photo:h.node.photo}));const w=h?.node?.editorial_model===kf.Article&&!wO.includes(h?.node?.rubric?.node?.slug||"");return c.push({layout:l,link:new URL(h.node.url,e).href,title:h.node.short_title||h.node.title,cardImageProps:{cover:Fh({medias:x,imgEndpoint:t}),...$2({medias:x,picto:h?.node?.picto,editorialModel:h?.node.editorial_model})},cardHeaderProps:{headline:{text:h.node.label,color:Q2(h?.node?.rubric?.node?.themeColor?.node?.slug)},rightSubheader:{text:h.node.published_at||""}},cardTitleProps:{cartridge:h?.node?.editorial_model==="Live"?"live":void 0},socialBarProps:{layout:l,disableComment:p?!1:!h.node.enable_comments,variant:"card",contentLink:new URL(h.node.url,e).href,commentAnchor:"mbrs-comments-container",commentCount:h.node.comments_count??0,shareCount:h.node.facebook_count??0,contentId:h.node?.id?.toString(),contentLegacyId:v?void 0:h.node?.legacy_id?.toString(),contentModel:h?.node?.editorial_model||void 0,...w&&{reactionCount:C9(h.node.reactions_count),reactListItems:T9(h.node.reactions_count)}},...s&&{summaryProps:{children:h.node.lead}},...v&&r&&h?.node?.contentSource?.node?.name&&h?.node?.contentSource?.node?.logo&&h?.node?.contentSource?.node?.url&&{cardFooterProps:{avatarUrl:new URL(h.node.contentSource.node.logo,r).href,text:h.node.contentSource.node.name,externalLink:h.node.contentSource.node.url}}}),c},[]),SO=({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,layout:s})=>g8({pageEndpoint:e,imgEndpoint:t,staticEndpoint:r,data:o,hasSummary:!0,layout:s}).map(c=>(delete c.socialBarProps,{...c,linkProps:{children:"Je participe","aria-label":"Je participe au quiz",href:c.link}})),QZ=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=SO({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),O={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),r(O.endCursor),s(O.hasNextPage),zu()}catch(T){console.error("20mn> Error while loading articles:",T)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{h&&v(!1)},[h]),pe.useEffect(()=>{FJ()},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},JZ=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,totalArticles:c})=>{const{isLoading:h,articles:v,hasNextPage:p,onLoadMore:x}=QZ({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{h||K0()},[h]);const w=v.map(_=>({..._,..._.cardImageProps&&{cardImageProps:{..._.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(HR,{layout:t,articles:w,seeMoreButton:p?{...s,disabled:h,onClick:x}:void 0,currentPagePath:l,totalArticles:c}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({quizContainer:{layout:t,articles:w,variablesForQuery:o,seeMoreButton:s}})} };`}})]})},ZZ=[{componentName:Fg.QUIZ_ARTICLES_LIST,component:JZ,expiration:3600}],XZ=[{componentName:k0.REWIND_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:k0.REWIND_LIST,component:UR,expiration:3600*24*30},{componentName:k0.REWIND_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:k0.REWIND_META,component:En,expiration:3600*24*30}],CO=({data:e,pageEndpoint:t,imgEndpoint:r,rubricSlug:o,rubricLabel:s})=>{if(Array.isArray(e))return[];const l=[],c=e?.brand?.node,h=c?.commonArticles?.edges,v=c?.rubricArticles?.edges;if(h?.length){const p=J2({name:"plus-lus",title:"Les + lus",pageEndpoint:t,imgEndpoint:r,articleEdges:h,limit:5});l.push(p)}if(v?.length){const p=J2({name:`plus-lus-${o}`,title:`Les + lus ${s}`,pageEndpoint:t,imgEndpoint:r,articleEdges:v,limit:5});l.push(p)}return l},eX=e=>{const[t,r]=pe.useState(e.defaultTabItems),o=pe.useCallback(async()=>{if(e.variablesForQuery.rubric){const{apiHost:s}=document.body.dataset,l=new Headers;window.envVariables?.apiAuthKey&&l.append("auth-key",window.envVariables.apiAuthKey);const c=[{url:`${s}/?id=getMostRead&variables=${encodeURIComponent(JSON.stringify({brandId:e.variablesForQuery.brandId,sourceExcluded:e.variablesForQuery.sourceExcluded,rubricId:e.variablesForQuery.rubric.id}))}`,options:{headers:l}}];try{const h=await bi(...c),v=CO({data:h,pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,rubricSlug:e.variablesForQuery.rubric.slug,rubricLabel:e.variablesForQuery.rubric.label});r(v),L3()}catch(h){console.error("20mn> Error while loading tabItems:",h)}}},[e.variablesForQuery.brandId,e.variablesForQuery.rubric,e.variablesForQuery.sourceExcluded]);return pe.useEffect(()=>{o(),gZ()},[o]),pe.useMemo(()=>({tabItems:t}),[t])},tX=({isSSR:e=!0,layout:t,tabItems:r,variablesForQuery:o,...s})=>{const{tabItems:l}=eX({defaultTabItems:r,variablesForQuery:o});return a.jsxs(a.Fragment,{children:[a.jsx(s8,{layout:t,tabItems:l,variablesForQuery:o,...s}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({mostReadContainer:{layout:t,tabItems:r,variablesForQuery:o,...s}})} };`}})]})},rX=[{componentName:_l.RUBRIC_RUBRIC_CAROUSELS,component:r8,expiration:300},{componentName:_l.RUBRIC_MOST_READ_ARTICLES,component:tX,expiration:1800},{componentName:_l.RUBRIC_THREE_COLUMNS_ARTICLES,component:lb,expiration:1800}],nX=[{componentName:B0.SEARCH_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:B0.SEARCH_HEADER_PAGE,component:Bo,expiration:3600},{componentName:B0.SEARCH_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:B0.SEARCH_META,component:En,expiration:3600*24*30}],rv=3600*24*30,aX=[{componentName:Wc.SERVICE_BREADCRUMB,component:Un,expiration:rv},{componentName:Wc.SERVICE_HEADER_PAGE,component:Bo,expiration:rv},{componentName:Wc.SERVICE_JSON_LD_BREADCRUMB,component:Ra,expiration:rv},{componentName:Wc.SERVICE_META,component:En,expiration:rv},{componentName:Wc.SERVICE_CARDS_LIST,component:W2,expiration:rv}],nv=3600*24*30,iX=[{componentName:$c.SHOPPING_GUIDE_BREADCRUMB,component:Un,expiration:nv},{componentName:$c.SHOPPING_GUIDE_HEADER_PAGE,component:Bo,expiration:nv},{componentName:$c.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,component:Ra,expiration:nv},{componentName:$c.SHOPPING_GUIDE_META,component:En,expiration:nv},{componentName:$c.SHOPPING_GUIDE_CARDS_LIST,component:W2,expiration:nv}],oX=[{componentName:El.SITEMAP_BREADCRUMB,component:Un,expiration:300},{componentName:El.SITEMAP_HEADER_PAGE,component:bl,expiration:300},{componentName:El.SITEMAP_TAGS_LIST,component:qR,expiration:300},{componentName:El.SITEMAP_BOTTOM_BULLETED_LIST,component:pR,expiration:300},{componentName:El.SITEMAP_TOP_BULLETED_LIST,component:yl,expiration:300},{componentName:El.SITEMAP_META,component:En,expiration:300}],sX=[{componentName:Hg.SLIDESHOW_CONTENT,component:zR,expiration:3600*24}],uX=[{componentName:wl.SPORT_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:wl.SPORT_HEADER_PAGE,component:Bo,expiration:3600},{componentName:wl.SPORT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:wl.SPORT_SIDEBAR,component:VR,expiration:3600},{componentName:wl.SPORT_CONTENT,component:be,expiration:3600},{componentName:wl.SPORT_META,component:En,expiration:3600*24*30}],lX=[{componentName:z1.STATIC_CONTENT,component:iR,expiration:3600*24*30},{componentName:z1.STATIC_META,component:En,expiration:300}],cX=[{componentName:Th.STORY_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30},{componentName:Th.STORY_PRELOAD,component:V1,expiration:3600*24*30},{componentName:Th.STORY_TOP_CONTENT,component:rm,expiration:3600*24*30}],dX=e=>{const[t,r]=pe.useState(e.defaultVariablesForQuery.endCursor),[o,s]=pe.useState(e.defaultVariablesForQuery.hasNextPage),[l,c]=pe.useState(e.defaultArticles),[h,v]=pe.useState(!1),p=pe.useCallback(()=>{v(!0)},[]),x=pe.useCallback(async()=>{const{apiHost:w,staticHost:_}=document.body.dataset,D=new Headers;window.envVariables?.apiAuthKey&&D.append("auth-key",window.envVariables.apiAuthKey);const S=[{url:`${w}/?id=getTagArticlesWithCursor&variables=${encodeURIComponent(JSON.stringify({brandId:e.defaultVariablesForQuery.brandId,slug:e.defaultVariablesForQuery.slug,first:e.defaultVariablesForQuery.first,after:t}))}`,options:{headers:D}}];try{const T=await bi(...S),C=g8({pageEndpoint:window.envVariables.pageEndpoint,imgEndpoint:window.envVariables.imgEndpoint,staticEndpoint:_||"",data:T,layout:window.layout}),O={articles:[...l,...C],endCursor:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.endCursor??null,hasNextPage:T?.brand?.node?.tag?.node?.publishableContents?.pageInfo?.hasNextPage??!1};c(L=>[...L,...C]),r(O.endCursor),s(O.hasNextPage),window?.localStorage.setItem("aticles-container-data",JSON.stringify(O)),zu()}catch(T){console.error("20mn> Error while loading articles:",T)}finally{v(!1)}},[l,t,e.defaultVariablesForQuery.brandId,e.defaultVariablesForQuery.first,e.defaultVariablesForQuery.slug]);return pe.useEffect(()=>{h&&x()},[h,x]),pe.useEffect(()=>{if(PJ(),!window?.performance?.getEntriesByType("navigation").map(_=>_.type).includes("back_forward"))window?.localStorage.removeItem("aticles-container-data");else{const _=iq("aticles-container-data");_&&Object.hasOwn(_,"articles")&&Object.hasOwn(_,"endCursor")&&Object.hasOwn(_,"hasNextPage")&&(c(_.articles),r(_.endCursor),s(_.hasNextPage),zu())}},[]),pe.useMemo(()=>({isLoading:h,articles:l,hasNextPage:o,onLoadMore:p}),[l,h,o,p])},fX=({isSSR:e=!0,layout:t,articles:r,variablesForQuery:o,seeMoreButton:s,currentPagePath:l,tagTotalArticles:c,columnsNumber:h})=>{const{isLoading:v,articles:p,hasNextPage:x,onLoadMore:w}=dX({defaultArticles:r,defaultVariablesForQuery:o});pe.useEffect(()=>{v||K0()},[v]);const _=p.map(D=>({...D,...D.cardImageProps&&{cardImageProps:{...D.cardImageProps,sizes:"(min-width: 1660px) 384px, (min-width: 1440px) calc(18vw + 89px), (min-width: 1080px) 320px, (min-width: 780px) calc(44.29vw - 149px), calc(50vw - 16px)"}}}));return a.jsxs(a.Fragment,{children:[a.jsx(jl,{layout:t,articles:_,isLoading:v,skeletonCount:o.first,seeMoreButton:x?{...s,disabled:v,onClick:w}:void 0,currentPagePath:l,tagTotalArticles:c,columnsNumber:h}),e&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.__staticHydrationData = { ...(window.__staticHydrationData || {}), ...${JSON.stringify({articleListBottomContainer:{layout:t,articles:_,variablesForQuery:o,seeMoreButton:s,skeletonCount:o.first}})} };`}})]})},hX=[{componentName:Ka.TAG_BREADCRUMB,component:Un,expiration:3600},{componentName:Ka.TAG_HEADER_PAGE,component:Bo,expiration:3600},{componentName:Ka.TAG_OVERVIEW_BAR,component:A9,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_TOP,component:KR,expiration:3600},{componentName:Ka.TAG_NEWS_CAROUSEL,component:Hu,expiration:3600},{componentName:Ka.TAG_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:Ka.TAG_META,component:En,expiration:3600*24},{componentName:Ka.TAG_PRELOAD,component:V1,expiration:3600},{componentName:Ka.TAG_ARTICLES_LIST_BOTTOM,component:fX,expiration:3600},{componentName:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,component:P3,expiration:1800}],pX=[{componentName:P0.TRAFFIC_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:P0.TRAFFIC_HEADER_PAGE,component:Bo,expiration:3600},{componentName:P0.TRAFFIC_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:P0.TRAFFIC_META,component:En,expiration:3600*24*30}],mX=[{componentName:Nh.TV_HOME_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:Nh.TV_HOME_META,component:En,expiration:3600*24},{componentName:Nh.TV_HOME_TOP_BLOCK,component:QR,expiration:3600}],vX=[{componentName:Yc.TV_LIVE_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24},{componentName:Yc.TV_LIVE_META,component:En,expiration:3600*24},{componentName:Yc.TV_LIVE_BREADCRUMB,component:Un,expiration:3600*24},{componentName:Yc.TV_LIVE_TOP_BLOCK,component:oR,expiration:60},{componentName:Yc.TV_LIVE_TIMELINE,component:v9,expiration:30}],gX=15,y8=3600*24*30,yX=[{componentName:j0.TV_MOST_RECENT_HEADER_PAGE,component:bl,expiration:y8},{componentName:j0.TV_MOST_RECENT_BREADCRUMB,component:Un,expiration:y8},{componentName:j0.TV_MOST_RECENT_VIDEOS_LIST,component:YR,expiration:gX},{componentName:j0.TV_MOST_RECENT_META,component:En,expiration:y8}],bX=15,b8=3600*24*30,xX=[{componentName:L0.TV_MOST_VIEWED_HEADER_PAGE,component:bl,expiration:b8},{componentName:L0.TV_MOST_VIEWED_BREADCRUMB,component:Un,expiration:b8},{componentName:L0.TV_MOST_VIEWED_VIDEOS_LIST,component:$R,expiration:bX},{componentName:L0.TV_MOST_VIEWED_META,component:En,expiration:b8}],AX=[{componentName:F0.TV_SHOW_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24},{componentName:F0.TV_SHOW_META,component:En,expiration:3600*24},{componentName:F0.TV_SHOW_MAIN_BLOCK,component:eO,expiration:3600},{componentName:F0.TV_SHOW_BREADCRUMB,component:Un,expiration:3600*24}],_X=[{componentName:H0.TV_SHOWS_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:H0.TV_SHOWS_META,component:En,expiration:3600*24*30},{componentName:H0.TV_SHOWS_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:H0.TV_SHOWS_PROGRAMS,component:iI,expiration:3600*24*30}],EX=[{componentName:ko.TV_VIDEO_JSON_LD_BREADCRUMB,component:Ra,expiration:3600},{componentName:ko.TV_VIDEO_META,component:En,expiration:3600*24},{componentName:ko.TV_VIDEO_BREADCRUMB,component:Un,expiration:3600},{componentName:ko.TV_VIDEO_PAGE_TITLE,component:Yr,expiration:3600},{componentName:ko.TV_VIDEO_TOP_BLOCK,component:sR,expiration:3600},{componentName:ko.TV_VIDEO_MOST_VIDEOS,component:KU,expiration:3600},{componentName:ko.TV_VIDEO_BACKGROUND_IMAGE,component:M5,expiration:3600*24*30},{componentName:ko.TV_VIDEO_EXTRACTS_AND_REPLAYS,component:u8,expiration:3600},{componentName:ko.TV_VIDEO_JSON_LD_NEWS_ARTICLE,component:Ug,expiration:3600*24*30}],wX=[{componentName:U0.UTIQ_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:U0.UTIQ_HEADER_PAGE,component:Bo,expiration:3600},{componentName:U0.UTIQ_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:U0.UTIQ_META,component:En,expiration:3600*24*30}],SX=[{componentName:q0.WEATHER_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:q0.WEATHER_HEADER_PAGE,component:Bo,expiration:3600},{componentName:q0.WEATHER_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:q0.WEATHER_META,component:En,expiration:3600*24*30}],CX=[{componentName:Dh.WHY_CREATE_ACCOUNT_BREADCRUMB,component:Un,expiration:3600*24*30},{componentName:Dh.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,component:Ra,expiration:3600*24*30},{componentName:Dh.WHY_CREATE_ACCOUNT_META,component:En,expiration:3600*24*30}],TX=[...EJ,...wJ,...NJ,...DJ,...LJ,...kJ,...BJ,...VJ,...$J,...fZ,...hZ,...pZ,...mZ,...xZ,...IJ,...AZ,...wZ,...SZ,...IZ,...kZ,...BZ,...FZ,...zZ,...GZ,...$Z,...YZ,...ZZ,...XZ,...rX,...nX,...aX,...iX,...oX,...sX,...uX,...lX,...cX,...hX,...pX,...mX,...vX,...yX,...xX,...AX,..._X,...EX,...wX,...SX,...CX],Gu=["publicommunique","production","magazine"];class x8{constructor({layout:t,config:r,adsEnabled:o=!0}){this.config=r,this.layout=t,this.adsEnabled=o}renderAd(t){return this.adsEnabled?this.config[this.layout][t]??null:null}}const av=({layout:e,stylesheets:t=[],defaultPreload:r,preload:o,inlineCss:s,firstPartyScripts:l,thirdPartiesConfig:c,gtmNoScript:h,jsonLdBreadcrumb:v,jsonLdFaq:p,jsonLdClaimReview:x,jsonLdLiveBlogPosting:w,jsonLdNewsArticle:_,meta:D,children:S,envVariables:T,novaHost:C,brandId:O,goomHost:L,imgHost:P,staticHost:z,pageMetaData:U,customPrint:W,backgroundPageColor:Q,hasTopSentinel:ie,partnerLayoutContract:te})=>{const J=t?.filter(X=>X.isCritical),V=t?.filter(X=>!X.isCritical);return a.jsxs("html",{lang:"fr",children:[a.jsxs("head",{children:[a.jsx("meta",{charSet:"UTF-8"}),a.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),r,o,J?.map(({name:X,url:se})=>a.jsx("link",{rel:"preload",href:se,type:"text/css",as:"style"},X)),D,a.jsx("link",{rel:"icon",type:"image/x-icon",href:`${T?.pageEndpoint||""}/favicons/favicon.ico`}),a.jsx("link",{rel:"icon",type:"image/svg+xml",sizes:"any",href:`${T?.pageEndpoint||""}/favicons/favicon.svg`}),v,p,x,w,_,J?.map(({name:X,url:se})=>a.jsx("link",{rel:"stylesheet",href:se,type:"text/css"},X)),s&&a.jsx("style",{children:s}),te&&a.jsx(Sl,{comment:pq}),a.jsx(L9,{firstPartyScripts:l,thirdPartiesConfig:c,envVariables:T,layout:e,partnerLayoutContract:te}),l?.adsScript&&a.jsx("script",{src:l.adsScript}),l?.scriptSchedulerScript&&a.jsx("script",{async:!0,src:l.scriptSchedulerScript})]}),a.jsxs("body",{"data-api-host":C??"","data-brand-id":O??"","data-http-taskrunner-api-host":L??"","data-img-host":P??"","data-static-host":z??"","data-layout":e,"data-refresh-interval":U?.refreshAuto,"data-custom-print":W,className:vo("bg-color",{[`bg-color--is-${Q}`]:Q}),children:[ie&&a.jsx("div",{id:"js-top-sentinel",style:{position:"absolute",top:e===ge.DESKTOP?150:0,height:"1px",width:"1px"}}),h&&a.jsx("noscript",{dangerouslySetInnerHTML:{__html:h}}),S,a.jsx("script",{src:l?.reactAndReactDomScript}),l?.cmpScript&&a.jsxs(a.Fragment,{children:[te&&a.jsx(Sl,{comment:Sq}),a.jsx("script",{defer:!0,src:l.cmpScript}),te&&a.jsx(Sl,{comment:Cq})]}),l?.pianoScript&&a.jsxs(a.Fragment,{children:[te&&a.jsx(Sl,{comment:Tq}),a.jsx("script",{defer:!0,src:l.pianoScript}),te&&a.jsx(Sl,{comment:Nq})]}),l?.edgeeScript&&a.jsx("script",{defer:!0,src:l.edgeeScript}),l?.mainTyrScript&&a.jsx("script",{defer:!0,src:l.mainTyrScript}),l?.memberScript&&a.jsx("script",{defer:!0,src:l.memberScript}),l?.iframeConsentScript&&a.jsx("script",{defer:!0,src:l.iframeConsentScript}),V.length>0&&a.jsx("script",{dangerouslySetInnerHTML:{__html:`window.addEventListener('DOMContentLoaded', () => {${V.map(({name:X,url:se})=>`const link = document.createElement('link');link.id = '${X}';link.type = 'text/css';link.rel = 'stylesheet';link.media = 'screen,print';link.href = '${se}';document.body.appendChild(link);`).join("")}});`}})]})]})},Wr=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,chatbot:s,overviewBar:l,adTopPage:c,children:h,footer:v,toolbar:p,backgroundPageColor:x,hasArch:w=!0,hasTopSentinel:_,enableScrollToFeed:D=!1,enableScrollToTopComment:S=!1,mainProps:T})=>a.jsxs(av,{...e,backgroundPageColor:x,hasTopSentinel:_,children:[e.partnerLayoutContract&&a.jsx(Sl,{comment:bq}),t,e.layout===ge.DESKTOP&&r,e.partnerLayoutContract&&a.jsx(Sl,{comment:xq}),e.partnerLayoutContract&&a.jsx(Sl,{comment:Aq}),o,e.partnerLayoutContract&&a.jsx(Sl,{comment:_q}),s,l,a.jsxs("main",{id:"page-wrap",className:"o-page",...T,children:[c,h,w&&e.layout===ge.DESKTOP&&a.jsx("div",{id:"arch-wrapper",className:"o-page__arch"})]}),a.jsx("div",{id:"c-alert-info"}),a.jsx("div",{id:"cookie-banner"}),e.layout===ge.MOBILE&&p,D&&a.jsx("scroll2feed",{"data-zone_index":"9"}),S&&a.jsx("section",{className:"c-scroll-to-top-comment u-hidden",children:a.jsx("div",{className:"o-page-wrap",children:a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main u-relative",children:a.jsx(Bu,{color:"tertiary",iconProps:{name:"chevron-up",size:16},"aria-label":"Remonter en haut des commentaires",title:"Remonter en haut des commentaires"})}),a.jsx("aside",{className:"o-lt-show__aside "})]})})}),e.partnerLayoutContract&&a.jsx(Sl,{comment:Eq}),v,e.partnerLayoutContract&&a.jsx(Sl,{comment:wq}),a.jsx(n9,{reactListItems:mb()})]});var U3=(e=>(e.DEFAULT="default",e.FULL_WIDTH_COVER="fullWidthCover",e))(U3||{});const q3=({htmlTemplateProps:e,adsPageConfig:t,header:r,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:h,readAlsoBanner:v,breadcrumb:p,liveIndicator:x,contentHeader:w,contentHeaderMobile:_,cover:D,socialBar:S,signature:T,summary:C,topContent:O,readAlsoBlockAbove:L,children:P,readAlsoBlockBelow:z,tagBar:U,comment:W,mostReadArticles:Q,sideBrandsArticles:ie,scrollProgressBar:te,scrollProgressButton:J,latestContentsCarousel:V,rubricCarousels:X,partnerCards:se,templating:ce={enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0},templateVariant:Ee="default"})=>{const Re=new x8({layout:e.layout,config:t,adsEnabled:ce.enableAds}),Ue=["guide-achat","publicommunique","production"].includes(e.firstPartyScripts.datalayerInfo?.subType??""),{pageKey:Ce,pageName:He,enableSponsoredContents:je}=e?.firstPartyScripts?.datalayerInfo??{};let Be;He&&[cn.ARTICLE,cn.STORY,cn.LIVE].includes(He)&&(Be=Ce);const Ae=je??ce.enableSponsoredContents;return a.jsxs(Wr,{htmlTemplateProps:e,adTopPage:(e.layout===ge.DESKTOP||!Ue&&ce.enableHeaderAd)&&Re.renderAd("topPage"),header:r,headerMini:o,overviewBar:s,menu:l,chatbot:c,footer:h,enableScrollToTopComment:!0,children:[e.layout===ge.DESKTOP?a.jsxs(be,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50","data-content-id":Be,children:[p,x,w,Ee==="fullWidthCover"&&D,a.jsxs(ve,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[Ee==="default"&&D,a.jsxs(ve,{mb:"s",gap:"xl",className:"o-paper",children:[a.jsx(ve,{as:"aside",justifyContent:"center",alignItems:"start",mt:"xxs-2",className:"o-paper__aside",children:S}),a.jsxs(be,{as:"article",className:"o-paper__content",children:[a.jsxs("header",{className:"js-content-header",children:[T,C,ce.enableFavorite&&a.jsx("div",{style:{height:"4rem"},id:"favorite-engage"}),ce.enableAudio&&a.jsx(be,{mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),a.jsx("div",{className:"smalk-ads"}),O,L]}),a.jsx(be,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-header-mini"}),P,a.jsxs("footer",{children:[z,U,v]})]})]}),Ae&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix",style:{width:"100%",height:"203.125rem"}})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[Ee==="default"&&a.jsx("div",{id:"most-read-container",children:Q}),Re.renderAd("aboveSponsoredContent"),a.jsxs("div",{className:"o-lt-show__stickywrap",children:[Ae&&a.jsx("div",{id:"taboola-aside-thumbnails",className:"taboola","data-mode":"thumbnails-rr","data-placement":"Right Rail Thumbnails","data-target-type":"mix"}),!Ue&&Re.renderAd("belowSponsoredContent"),ce.enableBlockLinks&&ie]})]})]}),!Ue&&Re.renderAd("banMiddle"),a.jsxs(ve,{as:"section",gap:"xl",mb:"xxl-2",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:W&&a.jsx("div",{id:"commentAnchor",children:W})}),a.jsx("aside",{className:"o-lt-show__aside",children:!Ue&&Re.renderAd("stickyAside")})]}),a.jsxs(be,{as:"section",mb:"xxl-2",children:[a.jsx("section",{id:"latest-contents-carousel-container",children:V}),X]}),a.jsx(be,{mb:"xxl-2",children:se}),!Ue&&Re.renderAd("banBottom")]}):a.jsxs("section",{id:"page-content","data-content-id":Be,children:[a.jsxs("header",{className:"js-content-header",children:[p,x,_,Re.renderAd("aboveSummary"),C,ce.enableAudio&&a.jsx(be,{px:"m",mb:"l",style:{height:"3.75rem"},id:"voxa-player"}),ce.enableFavorite&&a.jsx(be,{mx:"m",style:{height:"4rem"},id:"favorite-engage"}),a.jsx("div",{className:"smalk-ads"}),O,L]}),a.jsxs("article",{children:[a.jsx(be,{id:"live-refresh-button",className:"u-sticky u-sticky--spaced-top-screen"}),J,P]}),a.jsxs("footer",{children:[v,Ae&&a.jsx("div",{id:"taboola-below-article-thumbnails",className:"taboola","data-mode":"thumbs-feed-01","data-placement":"Below Article Thumbnails","data-target-type":"mix"}),U,z]}),ce.enableScrollToFeed&&a.jsx("scroll2feed",{"data-zone_index":"9"}),a.jsx("div",{id:"most-read-container",children:Q}),!Ue&&Re.renderAd("belowSponsoredContent"),a.jsxs(be,{mt:"xl",mb:"l",ml:{xs:"m",md:"0"},children:[a.jsx("div",{id:"latest-contents-carousel-container",children:V}),X]}),a.jsx(be,{mb:"xxl-2",children:se}),Re.renderAd("belowFooter"),te,S]}),a.jsx(PU,{}),a.jsx(n9,{reactListItems:mb()})]})},TO=({adHtml:e,htmlTemplateProps:t})=>a.jsx(av,{layout:ge.MOBILE,firstPartyScripts:{scriptSchedulerScript:t?.firstPartyScripts?.scriptSchedulerScript,iframeConsentScript:t?.firstPartyScripts?.iframeConsentScript},thirdPartiesConfig:{veryHighPriority:[t?.thirdPartiesConfig?.veryHighPriority?.find(r=>Fd(r.name)==="didomi-sdk")]},stylesheets:t?.stylesheets,defaultPreload:!0,children:a.jsx("div",{className:"c-ad-container",children:e})}),NX=["celebrites","cinema","nourriture","sport","gaming"],NO="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),DO=[{value:"chat",label:"Chat"},{value:"chien",label:"Chien"},{value:"autres",label:"Autres (lapin, rongeur, cheval, poisson…)"}],IO=[{value:"femelle",label:"Femelle"},{value:"male",label:"Mâle"}],RO=[{value:"celebrites",label:"Célébrités",icon:"star-outlined",color:"sport",size:30},{value:"cinema",label:"Cinéma",icon:"cinema",color:"entertainment",size:30},{value:"nourriture",label:"Nourriture",icon:"nourriture",color:"tempo",size:30},{value:"sport",label:"Sport",icon:"sport",color:"sport",size:30},{value:"gaming",label:"Gaming",icon:"gaming",color:"gaming",size:30},{value:"random",label:"Aléatoire",icon:"random",color:"default",size:34}],OO=RO.filter(e=>e.value==="random"||NX.some(t=>t===e.value)),DX=DO[0].value,IX=IO[0].value,RX=NO[0],OX=OO[0]?.value??RO[0].value,jO=()=>a.jsxs(ve,{mx:{xs:"m",md:"0"},my:"m",as:"form",direction:"column",gap:"xl",id:"animal-questionnaire",onSubmit:e=>e.preventDefault(),children:[a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"Animal"}),a.jsx(ve,{direction:"row",wrap:"wrap",gap:"xxl",role:"radiogroup","aria-label":"Animal",children:DO.map(e=>a.jsx(K7,{id:`animal-${e.value}`,name:"animal",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===DX},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"Genre"}),a.jsx(ve,{direction:"row",gap:"xxl",role:"radiogroup","aria-label":"Genre",children:IO.map(e=>a.jsx(K7,{id:`genre-${e.value}`,name:"genre",variant:"green",value:e.value,label:e.label,defaultChecked:e.value===IX},e.value))})]}),a.jsxs("div",{children:[a.jsx(no,{mb:"xxs",size:{xs:"m",md:"xl"},isUppercase:!1,children:"1ère lettre du prénom"}),a.jsx(Hc,{id:"letter",name:"letter",placeholder:"Choisissez une lettre",defaultValue:RX,options:NO.map(e=>({value:e,title:e}))})]}),a.jsxs("div",{children:[a.jsx(no,{size:{xs:"m",md:"xl"},isUppercase:!1,children:"Thématiques"}),a.jsx(Me,{mb:"l",size:{xs:"m",md:"l"},children:"En choisissant une thématique, vous donnez à votre compagnon un prénom qui lui ressemble vraiment."}),a.jsx(Ri,{colsNumber:{xs:3,sm:4,md:7},gap:"l",role:"radiogroup","aria-label":"Thématiques",children:OO.map(e=>a.jsx(g2,{className:"basis-100@xs",isSquare:!0,iconProps:{name:e.icon,size:e.size},inputProps:{type:"radio",name:"theme",value:e.value,defaultChecked:e.value===OX,bg:"grey-200",color:"grey-400",selectedBg:e.color,selectedColor:"white"},children:e.label},e.value))})]}),a.jsxs(ve,{gap:"m",wrap:"wrap",justifyContent:"center",children:[a.jsx(Tn,{type:"button",color:"green",variant:"outlined",id:"animal-questionnaire-reset",children:"Réinitialiser mes choix"}),a.jsx(Tn,{type:"button",color:"green",id:"animal-questionnaire-submit",children:"Voir les prénoms"})]}),a.jsx(Ri,{colsNumber:{xs:1,md:3},gap:"l",mt:"m",id:"animal-questionnaire-results","aria-live":"polite"})]}),MO=({breadcrumb:e,headerPage:t,summary:r,htmlTemplateProps:o,header:s,headerMini:l,overviewBar:c,menu:h,chatbot:v,footer:p,rubricCarousels:x})=>a.jsx(Wr,{htmlTemplateProps:o,adTopPage:o.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:s,headerMini:l,overviewBar:c,menu:h,chatbot:v,footer:p,children:o.layout===ge.DESKTOP?a.jsxs(be,{as:"section",id:"page-content",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(ve,{as:"section",gap:"xl",mb:"l",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(ve,{mb:"s",gap:"xl",className:"o-paper",children:a.jsx(be,{as:"article",className:"o-paper__content",children:a.jsx(jO,{})})})}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),a.jsx(be,{my:"m",children:x}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("section",{id:"page-content",children:[a.jsxs("header",{className:"js-content-header",children:[e,t,r]}),a.jsx("article",{children:a.jsx(jO,{})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),a.jsx(be,{my:"m",ml:"m",children:x}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),LO=({header:e,headerMini:t,overviewBar:r,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:h,pageTitle:v,archivesByDay:p,archivesOfDay:x,mostReadArticles:w,archivePdfList:_})=>a.jsx(Wr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:r,footer:o,toolbar:s,adTopPage:c.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[h,c.layout===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[v,x,p,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"ARTICLE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",mb:"xxl",bg:"grey-50",children:[v,x,p,a.jsx(be,{id:"archive-pdf-list-container",mx:"m",children:_})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})}),kO=({header:e,headerMini:t,overviewBar:r,footer:o,toolbar:s,menu:l,htmlTemplateProps:c,breadcrumb:h,pageTitle:v,yearsList:p,monthsList:x,mostReadArticles:w,archivePdfList:_})=>{const D=a.jsx(Yr,{as:"h2",size:{xs:"m",md:"s"},mb:"xl",mx:{xs:"m",md:"0"},children:"Archives par année"});return a.jsx(Wr,{htmlTemplateProps:c,header:e,headerMini:t,menu:l,overviewBar:r,footer:o,toolbar:s,adTopPage:c.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[h,c.layout===ge.DESKTOP?a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[v,D,p,x,a.jsx("div",{id:"archive-pdf-list-container",children:_})]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",mb:"xxl",bg:"grey-50",children:[v,D,p,x,a.jsx(be,{id:"archive-pdf-list-container",mx:{xs:"m",md:"0"},children:_})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),w]})]})})},BO=({isPubstackAndVideo:e,contentSubtype:t})=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/article/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/article/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Se,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/article/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Se,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/article/ban_btf",variant:"BAN"})},mobile:{topPage:e?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad_display",variant:"HEADER"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_btf":"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Se,{adUnitCompletePath:Gu.includes(t)?"/49926454/20minutes_webmobile/brand_publishing/article_atf":"/49926454/20minutes_webmobile/article/article_atf",variant:"ARTICLE",mb:"l"})}}),qp=e=>e?e?.props?.dangerouslySetInnerHTML?.__html.replace(/<!--(.|\s)*?-->/gm,"").replace(/\n/gm,"")==="":!0,PO=["sport","societe","monde","faits-divers","economie","sante"],jX=["production","publicommunique","magazine"],iv=e=>{const t=Ki(e);return t.querySelectorAll('[src*="www.ultimedia.com"], [data-src*="www.ultimedia.com"]').length>0||t.querySelectorAll('[src*="www.youtube.com"], [data-src*="www.youtube.com"]').length>0||t.querySelectorAll('[src*="www.dailymotion.com"], [data-src*="www.dailymotion.com"]').length>0||t.querySelectorAll('[src*="www.brut.media"], [data-src*="www.brut.media"]').length>0};class um{constructor({data:t,layout:r,templateActivators:o}){const s={enableDisplayOnHeaderAd:!1,enableAudio:!1,enableSponsoredContents:!0,enableNewsletter:!1};this.data=t,this.layout=r,this.templateActivators={...s,...o}}resolve(){return this.resolveTemplating(),{content:this.transformContent(),templateActivators:this.templateActivators}}}const MX=["23057135412","23057517469"],LX=["publicommunique","production"],kX=["production","guide-achat","publicommunique"],BX=["guide-achat","publicommunique","production"],FO=[{name:"vie-pro",id:"WI_cm2m31ija00010rnp6ws1d6vn"},{name:"sciences",id:"WI_cm4x1rl8b00030sqmmhlv0zia"}],z3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class ov extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableDisplayOnHeaderAd:!0,enableInArticleAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!0,enablePodcast:!0,enableNewsletter:!1,enableHeaderAd:!1,enableScrollToFeed:!1,enableFavorite:!0}})}transformContent(){let t=this.data.articleContent;return this.templateActivators.enableInArticleAds&&(t=this.layout===ge.DESKTOP?this.insertInreadDesktop(t):this.insertInreadMobile(t)),this.templateActivators.enablePodcast&&(t=ov.insertHeadliner(t,this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.breadcrumb||[""])),t=ov.transformContentVideos(t,this.layout),{...this.data,articleContent:t,media:ov.transformCover(this.data.cover)}}resolveTemplating(){const{articleContent:t,cover:r,htmlTemplateProps:o}=this.data,s=o.firstPartyScripts.datalayerInfo?.subType||"",l=o.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],c=o.firstPartyScripts.datalayerInfo?.breadcrumb||[""],h=!MX.some(x=>l.includes(x)),v=iv(w2(Wa(r))),p=iv(w2(Wa(t)))||v;this.templateActivators={...this.templateActivators,enableAds:h,enableDisplayOnHeaderAd:h&&p,enableHeaderAd:h&&!v,enableInArticleAds:h&&(s?!kX.includes(s):!0),enableSponsoredContents:h&&!LX?.includes(s),enableBlockLinks:!BX?.includes(s),enableNewsletter:PO.includes(Fd(c[0]))||!!c[1]&&PO.includes(Fd(c[1])),enablePodcast:c.some(x=>FO.some(w=>w.name===Fd(x))),enableScrollToFeed:this.layout===ge.MOBILE,enableFavorite:!jX.includes(s)}}injectInArticleAd({isInread:t,html:r,paragraph:o}){if(t&&!iv(r.toString())){const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?z3.in_read_desktop:z3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?z3.pave_article:z3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}insertInreadMobile(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}static insertHeadliner(t,r){const o=Ki(Vf(hu(t))),s=o.innerHTML.replace(/(<([^>]+)>)/gi,""),l=o.querySelectorAll('.c-content > p:not([class]):not([id^="c-collapse__content"] p)');if(l.length>=7&&s.length>1200){const c=r.map(x=>Fd(x)),h=FO.find(x=>c.includes(x.name))?.id||"",v=Wa(pe.createElement("div",{className:"disco-widget","data-widget-id":h})),p=Wa(pe.createElement("script",{src:"https://disco.headliner.link/d/20minutes/web/js/widget.js",defer:!0}));l[5].insertAdjacentHTML("afterend",p),l[5].insertAdjacentHTML("afterend",v)}return _h(o.toString())}static transformContentVideos(t,r){const o=Ki(Vf(hu(t))),s=I9(o);return s.length===0||s.forEach(l=>{let c=l.getAttribute("src");if(!c)return;c.startsWith("//")&&(c=`https:${c}`);const{origin:h,pathname:v,search:p}=new URL(c),x=`${h}${v}`.replace(/\/chromeless\/1$/,"").replace(/\/$/,"");l.removeAttribute("src"),l.setAttribute("data-src",`${x}${r===ge.DESKTOP?"":"/chromeless/1"}${p}`)}),_h(o.toString())}static transformCover(t){const r=Ki(Vf(hu(t))),o=I9(r);return o.length===0?t:(o.forEach(s=>{const l=s.getAttribute("src");l&&(s.setAttribute("data-src",l),s.removeAttribute("src"))}),_h(r.toString()))}}const HO=({htmlTemplateProps:e,header:t,headerMini:r,overviewBar:o,menu:s,chatbot:l,footer:c,readAlsoBanner:h,breadcrumb:v,contentHeader:p,contentHeaderMobile:x,cover:w,socialBar:_,signature:D,summary:S,articleContent:T,encloseBanner:C,highlightedText:O,comment:L,readAlsoBlockBelow:P,tagBar:z,mostReadArticles:U,sideBrandsArticles:W,latestContentsCarousel:Q,rubricCarousels:ie,partnerCards:te,scrollProgressBar:J,scrollProgressButton:V,templateVariant:X=U3.DEFAULT})=>{const ce=new ov({data:{articleContent:T,cover:e.layout===ge.MOBILE?x:w,htmlTemplateProps:e},layout:e.layout}).resolve(),Ee={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:ce.templateActivators?.enableDisplayOnHeaderAd??!1}}},Re=BO({isPubstackAndVideo:ce.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:Ee.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(q3,{htmlTemplateProps:Ee,header:t,headerMini:r,overviewBar:o,menu:s,chatbot:l,footer:c,adsPageConfig:Re,readAlsoBanner:h,breadcrumb:v,contentHeader:p,contentHeaderMobile:ce.content.media,cover:ce.content.media,socialBar:_,signature:D,summary:S,readAlsoBlockBelow:P,tagBar:z,comment:L,mostReadArticles:U,sideBrandsArticles:W,scrollProgressBar:J,scrollProgressButton:V,latestContentsCarousel:Q,rubricCarousels:ie,partnerCards:te,templating:ce.templateActivators,templateVariant:X,children:[ce.content.articleContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-chatbot-btn js-limit-scroll-progress-bar"}),C&&C,!qp(O)&&a.jsx(be,{mx:{xs:"m",md:"0"},mb:"l",children:O})]})},UO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,astroHomepageContent:h,astroTiles:v,astroLinksNextTypes:p})=>{const x={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Wr,{header:t,headerMini:r,adTopPage:x.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),menu:o,footer:s,htmlTemplateProps:x,children:x.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx(ve,{direction:"column",gap:"xxs",className:"o-lt-show__main",children:h}),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(be,{as:"article",mb:"xxl",children:[l,c,a.jsx(ve,{direction:"column",gap:"xl",className:"o-lt-show",children:a.jsxs(ve,{direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__main",children:[v,p,h]})})]})})},qO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,headerBanner:h,astroContent:v,link:p,astroTiles:x,astroLinksNextTypes:w})=>{const _={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:!0}}};return a.jsx(Wr,{header:t,menu:o,headerMini:r,footer:s,htmlTemplateProps:_,adTopPage:_.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[h,v,a.jsx(ve,{justifyContent:"center",children:p}),a.jsx(be,{mb:{xs:"0",md:"l"},children:a.jsx(vb,{})})]}),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",alignItems:"center",className:"o-lt-show__aside",children:[_.layout===ge.MOBILE&&a.jsx(Yr,{as:"h3",ml:{xs:"m",md:"0"},children:"Autres horoscopes"}),x,w,e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]})]}),_.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},PX=()=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),aside:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),middle:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})}}),zO=({htmlTemplateProps:e,header:t,headerMini:r,contactForm:o,mostReadArticles:s,contactDetails:l,addresses:c,menu:h,footer:v,breadcrumb:p})=>{const x=new x8({layout:e.layout,config:PX(),adsEnabled:!0});return a.jsx(Wr,{header:t,headerMini:r,menu:h,footer:v,htmlTemplateProps:e,adTopPage:x.renderAd("topPage"),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:{xs:"xxl"},bg:"grey-50",children:[p,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[a.jsx(Yr,{size:"xxl-2",mx:"m",mb:"l",children:"Contact"}),a.jsx(be,{ml:"m",mr:{sm:"0",xs:"m"},mb:"xxl",children:o}),a.jsx(kn,{color:"ultramarine",mb:"s",ml:"m",mr:{md:"0",xs:"m"}}),l,c]}),e.layout===ge.MOBILE&&x.renderAd("middle"),a.jsxs(ve,{as:"aside",direction:"column",gap:"xl",className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:s}),e.layout===ge.DESKTOP&&x.renderAd("aside")]})]}),x.renderAd("aboveFooter")]})})},VO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,tabs:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{htmlTemplateProps:e,adTopPage:p,header:t,headerMini:r,menu:o,footer:s,toolbar:l,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap",mb:"xxl",bg:"grey-50",children:[c,h,v,a.jsx(Se,{mb:"xxl-2",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[c,h,v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})})},GO=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,articles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"elections-ia-articles-container",children:h}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,h,a.jsx(Se,{my:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE"})]})}),KO=({htmlTemplateProps:e,resultsFirstRound:t,participationAndAbstentionFirstRound:r,resultsSecondRound:o,participationAndAbstentionSecondRound:s,distribution:l,mapDepartments:c,mapConstituencies:h,mapEuropean:v,mapTownsByDepartments:p})=>a.jsx(av,{...e,children:a.jsxs("div",{children:[t,r,o,s,l,a.jsx("div",{id:"elections-departments-map-container",children:c}),a.jsx("div",{id:"elections-constituencies-map-container",children:h}),a.jsx("div",{id:"elections-european-map-container",children:v}),a.jsx("div",{id:"elections-towns-by-departments-map-container",children:p})]})}),WO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:h,resultsFirstRound:v,participationAndAbstentionFirstRound:p,resultsSecondRound:x,participationAndAbstentionSecondRound:w,distribution:_,mapDepartments:D,mapConstituencies:S,mapEuropean:T,mapTownsByDepartments:C,summary:O,sideLocalitiesBottom:L,lastArticlesCarousel:P,resultsFiltered:z})=>{let U;const W=x===void 0?!1:!qp(x);return e.layout===ge.DESKTOP?(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),v,p,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),x,w,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),v,p]})),a.jsx(Wr,{adTopPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[U,O]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),L,a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),P,a.jsx(Se,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),v,L,p,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),a.jsx("div",{id:"elections-european-map-container",children:T}),_]}),W&&(U=a.jsxs(a.Fragment,{children:[a.jsx("div",{id:"elections-towns-by-departments-map-container",children:C}),_,L,a.jsx("div",{id:"elections-departments-map-container",children:D}),a.jsx("div",{id:"elections-constituencies-map-container",children:S}),x,w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"})]})),a.jsx(Wr,{header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:a.jsxs("div",{className:"o-lt-show__main",children:[U,O]})}),P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE",mb:"xxl"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_4",variant:"ARTICLE",mb:"xxl"})]})}))},$O=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,breadcrumb:c,headerPage:h,multipleResults:v,resultsFirstRound:p,participationAndAbstentionFirstRound:x,resultsSecondRound:w,participationAndAbstentionSecondRound:_,summary:D,inseeBlock:S,refreshButton:T,sideLocalitiesTop:C,sideLocalitiesBottom:O,lastArticlesCarousel:L,lastArticlesCarouselBis:P,resultsFiltered:z})=>{let U;const W=w===void 0?!1:!qp(w);return e.layout===ge.DESKTOP?(U=a.jsxs(a.Fragment,{children:[v,p,x,D,S]}),W&&(U=a.jsxs(a.Fragment,{children:[v,w,_,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl-2"}),p,x,D,S]})),a.jsx(Wr,{adTopPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsxs("div",{className:"o-lt-show__main",children:[T,U]}),a.jsxs("aside",{className:"o-lt-show__aside",children:[C,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE"}),O,a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_btf",variant:"PAVE"})]})]}),L,P,a.jsx(Se,{mb:"xxl",adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN"}),z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})):(U=a.jsxs(a.Fragment,{children:[v,p,C,x,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),O,D,S]}),W&&(U=a.jsxs(a.Fragment,{children:[v,w,C,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"}),O,a.jsx(kn,{thickness:"thick",color:"ultramarine",my:"xxl",mx:"m"}),p,x,D,S]})),a.jsx(Wr,{header:t,headerMini:r,menu:o,overviewBar:s,footer:l,htmlTemplateProps:e,hasTopSentinel:!0,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xxl-2",children:a.jsxs("div",{className:"o-lt-show__main",children:[T,U]})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_2",variant:"ARTICLE",mb:"xxl"}),L,P,z,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}))},YO=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,errorContent:l})=>a.jsxs(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsx(be,{as:"section",className:"o-page-wrap u-arch-shadow",pb:{xs:"xl",md:"xxl"},pt:{xs:"s",md:"xxl"},px:"m",bg:"grey-50",children:l}),s.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/pave_atf",variant:"PAVE"})]}),QO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h})=>a.jsx(Wr,{header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,a.jsx("iframe",{id:"tefal-70ans",title:"70 ans Tefal",src:"https://jeu.tefal.fr/?idfrom=7",style:{width:"1px",minWidth:"100%",border:"none"},allow:"clipboard-read; clipboard-write; web-share; autoplay; storage-access",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"}),a.jsx("script",{dangerouslySetInnerHTML:{__html:"const script = document.createElement ('script'); script.src = 'https://cdn.jsdelivr.net/npm/iframe-resizer@4.4.5/js/iframeResizer.min.js'; script.onload = function () {iFrameResize({ log: false, checkOrigin: false, heightCalculationMethod: 'bodyScroll'},'#tefal-70ans')}; document.head.appendChild(script);"}})]})}),JO=({htmlTemplateProps:e,footer:t,headerPage:r,gamesList:o,iframe:s,ad:l})=>a.jsxs(av,{...e,children:[a.jsx(be,{id:"page-wrap",className:"o-page",children:a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[r,s,o,l]})}),t]}),ZO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,gamesList:v})=>a.jsx(Wr,{adTopPage:e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),header:t,headerMini:r,menu:o,footer:s,toolbar:l,htmlTemplateProps:e,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(be,{id:"mbrs-game-block-container",style:{minHeight:"98px"},mt:"xl"}),a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mt:"xl",mb:"xxl-2",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[c,h,a.jsx(be,{id:"mbrs-game-block-container",my:"l",style:{minHeight:"78px"}}),v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_3",variant:"ARTICLE"})]})}),FX=["anagrammes","mots-croises","mots-fleches","mots-melanges","sudoku","sudoku-chaos","sudoku-killer"],XO=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,contact:h,headerPage:v,gameContent:p,iframe:x,faq:w})=>a.jsxs(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,adTopPage:e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):void 0,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,v,x,FX.includes(e.firstPartyScripts.datalayerInfo?.pageKey||"")&&a.jsx("div",{id:"mbrs-game-ranking"}),h,e.layout===ge.DESKTOP?a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[w,p]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}):a.jsxs(a.Fragment,{children:[w,p]})]}),e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]}),lm=({content:e})=>a.jsx("section",{dangerouslySetInnerHTML:{__html:e}});class HX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{}})}transformContent(){const t={};return this.data.articlesListTop&&(t.articlesListTop=this.layout===ge.DESKTOP?a.jsx(lm,{content:this.handleDesktopAds()}):a.jsx(lm,{content:this.handleMobileAds()})),{...this.data,...t}}resolveTemplating(){return null}handleDesktopAds(){const t=Ki(hu(this.data.articlesListTop)),r=t.querySelectorAll(".card-item-4");if(r&&r.length===1){const o=Wa(pe.createElement(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}));r[0].insertAdjacentHTML("afterend",o)}return t.toString()}handleMobileAds(){const t=Ki(hu(this.data.articlesListTop)),r=t.querySelectorAll(".card-item-3");if(r&&r.length===1){const o=Wa(pe.createElement(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE"}));r[0].insertAdjacentHTML("afterend",o)}return t.toString()}}const ej=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,toolbar:c,articlesListTop:h,featuredTag:v,secondArticlesListMobile:p,articlesListBottom:x,mostReadArticles:w,thirdArticlesListMobile:_,localNews:D,tvBlock:S,showsReplaysCarousel:T,gamesCarousel:C,currentVideos:O,entertainment:L,sport:P,inPictures:z,tempo:U,highTech:W,planet:Q,professionalLife:ie,podcasts:te,purchaseGuide:J,discoverNow:V,cityByCity:X,partners:se,conso:ce,movies:Ee,tvProgram:Re,municipalBlock:Ue,animals:Ce})=>{const je=new HX({data:{articlesListTop:h},layout:e.layout}).resolve(),Be=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER",mb:"m"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,overviewBar:s,footer:l,toolbar:c,adTopPage:Be,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx($7,{}),a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pb:"xxl-2",bg:"grey-50",children:[a.jsxs(ve,{gap:"xl",mt:"m",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:je.content.articlesListTop}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx(L5,{iconSize:20,mb:"l",layout:ge.DESKTOP}),w,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),v,a.jsx(kn,{color:"ultramarine",mb:"xxl"}),a.jsxs(ve,{gap:"xl",className:"o-lt-show","data-scroll-trigger":!0,children:[a.jsx("div",{className:"o-lt-show__main",children:x}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{className:"o-lt-show__stickywrap",adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_btf",variant:"PAVE"})})]}),a.jsx("div",{id:"local-news-container",children:D})]}),S,T,O,a.jsx(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"0",bg:"grey-50",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf",variant:"BAN"})}),C,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[L,P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf1",variant:"BAN"})]}),z,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[U,Ce,W,Q,ie,ce,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_mtf2",variant:"BAN"})]}),te,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[J,V]}),Ee,Re,a.jsxs(be,{as:"section",className:"o-page-wrap u-arch-shadow",pt:"xxl-2",pb:"xxl",bg:"grey-50",children:[X,se,Ue,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})]})]}):a.jsxs(a.Fragment,{children:[je.content.articlesListTop,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"}),a.jsx(L5,{mb:"l",layout:ge.MOBILE}),w,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_3",variant:"ARTICLE"}),v,_,a.jsx("div",{id:"local-news-container",children:D}),S,T,O,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),C,L,P,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_5",variant:"ARTICLE"}),z,U,Ce,W,Q,ie,ce,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_6",variant:"ARTICLE"}),te,J,V,Ee,Re,X,se,Ue,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_7",variant:"ARTICLE"})]})})},tj=({breadcrumb:e,headerPage:t,cover:r,encloseBanner:o,header:s,headerMini:l,htmlTemplateProps:c,footer:h,jobFaqs:v,jobProperties:p,menu:x,relatedJobsCategory:w,professionalLifeArticles:_,overviewBar:D})=>a.jsx(Wr,{header:s,headerMini:l,menu:x,footer:h,htmlTemplateProps:c,adTopPage:c.layout===ge.MOBILE?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),overviewBar:D,children:c.layout===ge.MOBILE?a.jsxs("article",{children:[e,t,a.jsx(l2,{inner:!0,mt:"s",children:p}),a.jsx(Se,{mb:"l",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_atf",variant:"ARTICLE"}),v,o,w,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ARTICLE"})]}):a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[e,t,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[r,p,v,o]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),w,_,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})}),rj=({htmlTemplateProps:e,overviewBar:t,header:r,headerMini:o,menu:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v,businessSectorsList:p,professionalLifeArticles:x})=>{const w=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:w,header:r,headerMini:o,menu:s,footer:l,htmlTemplateProps:e,overviewBar:t,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_mtf",variant:"BAN",mb:"xxl-2"}),p,x,e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE",mb:"xxl"})]})})},nj=({header:e,headerMini:t,headerPage:r,menu:o,footer:s,htmlTemplateProps:l,breadcrumb:c,mainInformationBlock:h,articles:v})=>a.jsx(Wr,{htmlTemplateProps:l,header:e,headerMini:t,menu:o,footer:s,adTopPage:l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:l.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[c,r,h,!qp(v)&&a.jsxs(ve,{className:"o-lt-show",mt:"xxl",children:[a.jsx(be,{className:"o-lt-show__main",children:a.jsx("div",{id:"journalist-article-list-container",children:v})}),a.jsx(be,{as:"aside",className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsxs(be,{as:"article",children:[c,r,h,!qp(v)&&a.jsx("div",{id:"journalist-article-list-container",children:v}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF"})]})}),aj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},ij=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,faq:h,cardsList:v,regionsList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:x,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),h,a.jsx(kn,{color:"ultramarine",my:"xxl"}),a.jsx("div",{id:"department-legal-notice-list-container",children:v})]}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),p,e.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},oj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,cardsList:h,departmentsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"l",mb:"xl"}),a.jsx(h9,{items:[{id:1,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Séléctionnez"})," votre modèle d’annonce légale"]})},{id:2,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Remplissez"})," le formulaire en quelques clics"]})},{id:3,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Annonce légale"})," publiée sous 24h après validation et conformité légale"]})},{id:4,text:a.jsxs(a.Fragment,{children:[a.jsx("b",{style:{display:"contents"},children:"Attestation"})," de parution et facture disponibles immédiatement après la publication"]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(qg,{contentProps:{className:"c-prose--dark c-prose--serif"},items:[{title:"Pourquoi publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes, c’est opter pour un service rapide et conforme. En quelques clics, vous validez votre annonce, qui est vérifiée sous 24 heures pour respecter les exigences légales. Profitez de la visibilité d’un média reconnu et recevez instantanément votre attestation de parution et votre facture en ligne. Avec 20 Minutes, bénéficiez d’une publication efficace et accessible, pour toutes les étapes importantes de votre entreprise !</p>"},{title:"Qui doit publier une annonce légale ?",content:"<p>La publication d’une annonce légale est obligatoire pour les entreprises à chaque étape clé de leur parcours juridique : création, modification de statuts, changement de dirigeant, augmentation de capital ou dissolution. Que vous soyez une société commerciale, une association, ou dans certains cas une micro-entreprise, cette démarche assure transparence et conformité envers le public et vos partenaires.</p>"},{title:"Comment publier une annonce légale avec 20 Minutes ?",content:"<p>Publier une annonce légale avec 20 Minutes est simple et rapide. Remplissez le formulaire avec les informations de votre entreprise en quelques étapes, et laissez-vous guider. Une fois votre annonce soumise, notre équipe la vérifie pour garantir sa conformité légale. En 24 heures, votre annonce est publiée, et vous recevez immédiatement votre attestation de parution ainsi que votre facture.</p>"},{title:"Quels sont les tarifs d’une annonce légale sur 20 Minutes ?",content:"<p>Les tarifs d’une annonce légale sur 20 Minutes varient en fonction de plusieurs critères : le type d’annonce (création d’entreprise, modification de statut, dissolution, etc…), le département de publication, et le nombre de lignes. En France, le coût est généralement calculé par ligne et est soumis à une tarification réglementée par département.</p>"},{title:"Comment trouver mon annonce légale sur 20 Minutes ?",content:"<p>Pour retrouver votre annonce légale sur 20 Minutes, vous pouvez accéder directement à notre site et vous rendre dans la section dédiée aux annonces légales. En saisissant des informations spécifiques, comme le nom du département, la période de publication ou le type d’annonce vous accéderez rapidement à votre annonce. Une fois trouvée, vous pourrez la consulter ou télécharger l’attestation de parution si vous en avez besoin pour vos démarches administratives.</p>"},{title:"Dans quels départements puis-je publier une annonce légale avec 20 Minutes ?",content:"<p>Vous avez la possibilité de publier une annonce légale dans plus de 100 départements en France. Nous couvrons une grande partie du territoire, incluant les principales métropoles ainsi que de nombreuses autres départements. Pour savoir si votre département est éligible, consultez la liste complète des zones disponibles ou indiquez simplement votre code postal lors de la préparation de votre annonce pour une validation rapide.</p>"}]}),a.jsx(kn,{color:"ultramarine",my:"xxl"}),a.jsx(Yr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"}),a.jsx("div",{id:"home-legal-notice-list-container",children:h})]}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),v,e.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},sj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,content:h,cardsList:v,departmentsList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),w=a.jsx(j2,{buttonLabel:"Publier votre annonce légale",title:a.jsxs(a.Fragment,{children:["Votre annonce légale",a.jsx("br",{}),"en 4 étapes avec 20 Minutes"]}),url:"https://20minutes.medialex.fr/20minutes/nouvelle-annonce/formulaire",mt:"xxl-2",mb:"xxl"}),_=a.jsx(Yr,{as:"h2",size:"s",mb:"s",mx:{xs:"m",md:"0"},children:"Consulter les annonces légales publiées sur 20 Minutes"});return a.jsx(Wr,{adTopPage:x,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsxs("div",{className:"o-lt-show__main",children:[h,w,a.jsx(kn,{color:"ultramarine",my:"xxl"}),_,v]}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),p]}):a.jsxs(be,{as:"article",pb:"xl",bg:"grey-50",children:[l,c,h,w,a.jsx(kn,{color:"ultramarine",my:"xxl"}),_,v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})})},UX=()=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_atf",variant:"ATF"}),aboveSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_atf",variant:"PAVE"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_mtf",variant:"PAVE"}),stickyAside:a.jsx(Se,{className:"u-sticky u-sticky--spaced-header-mini",adUnitCompletePath:"/49926454/20minutes_desktop/live/pave_btf",variant:"PAVE"}),banMiddle:a.jsx(Se,{mb:"xl",adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_mtf",variant:"BAN"}),banBottom:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/live/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/header_ad",variant:"HEADER"}),belowSponsoredContent:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_mtf",variant:"ARTICLE"}),belowFooter:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/article/article_btf",variant:"ARTICLE"}),aboveSummary:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/live/article_atf",variant:"ARTICLE",mb:"l"})}});class qX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableAds:!0,enableDisplayOnHeaderAd:!1,enableBlockLinks:!0,enableHeaderAd:!0,enableSponsoredContents:!0,enableFavorite:!0}})}transformContent(){return{...this.data,liveContent:this.data.livePostsThread}}resolveTemplating(){const{livePostsThread:t,topContent:r}=this.data,o=iv(w2(Wa(t)+Wa(r)));this.templateActivators={...this.templateActivators,enableDisplayOnHeaderAd:this.templateActivators.enableAds&&o}}}const zX=e=>{const t=e.match(/bg-(\w+)/);return t?t[1]:void 0},uj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,liveIndicator:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,topContent:D,liveQuestion:S,livePostsThread:T,liveImportantPostsThread:C,comment:O,readAlsoBlockAbove:L,tagBar:P,mostReadArticles:z,sideBrandsArticles:U,latestContentsCarousel:W,rubricCarousels:Q,partnerCards:ie,scrollProgressButton:te})=>{const J=_&&pe.isValidElement(_)&&_.props?.dangerouslySetInnerHTML?.__html?.includes("div"),V=pe.useMemo(()=>[{name:"le-direct",title:"Le Direct",content:T,tabColor:"red",isNoWrap:!0},...J||_?.props?.summary||L?[{name:"resume",title:"Le contexte",content:a.jsxs(a.Fragment,{children:[_,L]}),isNoWrap:!0,tabColor:J?zX(_?.props?.dangerouslySetInnerHTML?.__html||""):_?.props?.rubricColor}]:[],...pe.isValidElement(C)&&C.props?.dangerouslySetInnerHTML?.__html?.includes("div")?[{name:"temps-forts",title:"Les temps forts",tabColor:"red",content:C,isNoWrap:!0}]:[]],[_?.props?.rubricColor,J,C,T,L,_]),se=new qX({data:{livePostsThread:T,topContent:D},layout:e.layout}).resolve(),ce=UX();return a.jsxs(q3,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,adsPageConfig:ce,liveIndicator:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,topContent:D,tagBar:P,comment:O,mostReadArticles:z,sideBrandsArticles:U,scrollProgressButton:te,latestContentsCarousel:W,rubricCarousels:Q,partnerCards:ie,templating:se.templateActivators,children:[S,a.jsx(Lf,{id:"live-posts-container",name:"live-tabs",tabItems:V,tabProps:{px:{xs:"m",md:"0"}}}),a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"})]})},lj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},cj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostCommentedArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},dj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostReadArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,adTopPage:p,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",id:"main-most-read-container",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]})})},fj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,toolbar:l,breadcrumb:c,headerPage:h,mostSharedArticles:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:p,htmlTemplateProps:e,header:t,menu:o,footer:s,toolbar:l,headerMini:r,children:a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",children:[c,h,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})})},hj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,moviesNavigation:h,mostReadArticles:v,moviesList:p})=>{const x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsx(Wr,{adTopPage:x,htmlTemplateProps:e,header:t,menu:o,footer:s,headerMini:r,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"section",className:"o-page-wrap",bg:"grey-50",mb:"xxl",children:[l,c,a.jsxs(ve,{direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs("div",{className:"o-lt-show__main",children:[h,a.jsx("div",{id:"movies-container",children:p})]}),a.jsxs("div",{className:"o-lt-show__aside",children:[v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]})]}):a.jsxs(be,{as:"section",bg:"grey-50",children:[l,c,h,a.jsx("div",{id:"movies-container",children:p}),v]})})},pj=({header:e,headerMini:t,menu:r,footer:o,toolbar:s,htmlTemplateProps:l,breadcrumb:c,headerPage:h,articlesByTag:v})=>{const p=l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:e,headerMini:t,menu:r,footer:o,toolbar:s,htmlTemplateProps:l,children:[a.jsxs(be,{as:"article",className:"o-page-wrap",pb:"xxl",bg:"grey-50",children:[c,h,v]}),l.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"ARTICLE"})]})},mj=[...yq,mq,vq],VX=(e,t)=>{const r=e||t;if(!r)return;const o=r.replace(/(?:main|piano)-([^/]+)\.min\.js$/,"partner-tracking-overrides-$1.min.js");return o===r?void 0:o},vj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s})=>{const l={...s,firstPartyScripts:{...s.firstPartyScripts,partnerTrackingOverridesScript:VX(s.firstPartyScripts.mainTyrScript,s.firstPartyScripts.pianoScript)},partnerLayoutContract:!0};return a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:l,children:s.layout===ge.DESKTOP?a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:a.jsx(Sl,{comment:mj})}):a.jsx(be,{as:"article",children:a.jsx(Sl,{comment:mj})})})},gj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,headerPage:c,articlesList:h})=>{const v=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:v,header:t,headerMini:r,menu:o,footer:s,htmlTemplateProps:e,children:[a.jsxs(be,{as:"section",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",mb:"xxl-2",children:[a.jsx("div",{id:"quiz-container",className:"o-lt-show__main",children:h}),e.layout===ge.DESKTOP&&a.jsxs(ve,{as:"aside",direction:"column",gap:"xxl",className:"o-lt-show__aside",children:[a.jsx(Ea,{grow:1,children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})}),a.jsx(Ea,{grow:1,children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]})]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},yj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,rewindList:h})=>a.jsx(Wr,{header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,a.jsx(bl,{layout:e.layout,heading:{children:"Mon Rewind"},subtitle:"Revivez les moments forts de votre année avec votre rétrospective pesonnalisée",mb:{xs:"s",md:"xl"}}),h,a.jsx(be,{mb:"m",className:"js-rewind-alert u-hidden",children:a.jsx(I7,{variant:"warning",fill:!0,iconProps:{name:"info",size:20},title:"Optimisez votre Rewind",description:"Votre rétrospective peut être partielle si vous n’avez pas accepté les cookies de mesure d’audience."})}),a.jsx(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:"Vos données personnelles font l’objet d’un traitement informatique par la société 20 Minutes, sur le fondement de l’exécution du contrat et de notre intérêt légitime. Elles sont utilisées pour la gestion de votre compte en ligne, l’accès à nos services, la connaissance de nos lectrices et lecteurs (personnaliser les contenus éditoriaux, les produits et services proposés, améliorer l’expérience utilisateur, les parcours de navigation et qualifier les audiences du site), ainsi qu’à des fins d’envoi d’informations relatives à nos produits et services. Ces données seront conservées 3 ans après la fin du contrat sauf dispositions légales particulières."}),a.jsxs(Me,{mb:"l",size:"xxs",px:{xs:"m",md:"0"},children:["Sous réserve de votre consentement dans notre plateforme de gestion des cookies, les données déduites d’informations renseignées dans votre compte utilisateur (ex : tranche d’âge estimée, genre estimé…) peuvent également être utilisées pour l’affichage de publicités ciblées par profilage à partir de votre navigation, si vous naviguez en mode « mode « connecté » sur nos Sites et Applications. Ces données seront conservées 6 mois à compter de votre consentement. Vous disposez d’un droit d’accès, de rectification, d’opposition, de limitation et de portabilité, en vous adressant directement à"," ",a.jsx(Yt,{href:"mailto:dpo@20minutes.fr",children:"dpo@20minutes.fr"})," ou par courrier à : Délégué à la Protection des Données Personnelles 20 Minutes Bâtiment B, 159, rue Anatole France, CS 50216, 92309 Levallois-Perret Cedex. Vous avez également le droit d’introduire une réclamation auprès de la CNIL."," ",a.jsx(Yt,{href:"https://www.20minutes.fr/politique-protection-donnees-personnelles",children:"En savoir plus"})]}),a.jsx(Yt,{href:"https://www.20minutes.fr/accessibilite",size:"xxs",px:{xs:"m",md:"0"},children:"Accessibilité : partiellement conforme"})]})}),bj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx("div",{className:"gcse-search"})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:a.jsx("div",{className:"gcse-search"})}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),xj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},Aj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,cardsList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"});return a.jsxs(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:vo({"o-page-wrap u-arch-shadow":e.layout===ge.DESKTOP}),mb:"xxl",bg:"grey-50",children:[c,h,v]}),a.jsx(Se,{adUnitCompletePath:e.layout===ge.MOBILE?"/49926454/20minutes_webmobile/divers/nfb_1":"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN",mb:"xxl"})]})},_j=({header:e,footer:t,menu:r,htmlTemplateProps:o,breadcrumb:s,headerPage:l,sitemapTagsList:c,topBulletedList:h,bottomBulletedList:v,mostReadArticles:p})=>a.jsx(Wr,{htmlTemplateProps:o,header:e,footer:t,menu:r,adTopPage:o.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:[s,l,o.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(ve,{mt:"m",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",children:[a.jsxs(ve,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:[c,h]}),a.jsx("aside",{className:"o-lt-show__aside o-lt-show__aside--fit-container",children:p})]}),a.jsxs(ve,{gap:"xl",mt:"xxl-2",className:"o-lt-show",children:[a.jsx(ve,{direction:"column",gap:"xxl-2",className:"o-lt-show__main",children:v}),a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}):a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",mb:"xxl",bg:"grey-50",children:a.jsxs(ve,{direction:"column",gap:"xl",className:"o-lt-show__main",children:[c,h,v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})})]})}),Ej=["23057135412","23057517469"],V3={in_read_desktop:"/49926454/20minutes_desktop/article/inread",in_read_mobile:"/49926454/20minutes_webmobile/article/inread",pave_article:"/49926454/20minutes_desktop/article/pave_article",article_mtf:"/49926454/20minutes_webmobile/article/article_mtf"};class GX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableDisplayOnHeaderAd:!1,enableInSlideshowAds:!0,enableAds:!0,enableSponsoredContents:!0,enableBlockLinks:!0,enableAudio:!1,enableHeaderAd:!0,enableFavorite:!0}})}transformContent(){return this.templateActivators.enableInSlideshowAds&&(this.data.slideshowContent=this.layout===ge.DESKTOP?this.insertInreadDesktop(this.data.slideshowContent):this.insertInreadMobile(this.data.slideshowContent)),{...this.data,slideshowContent:this.data.slideshowContent,media:this.data.cover}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,r=t.firstPartyScripts.datalayerInfo?.dfpTagArticlesId?.[this.layout]||[],o=!Ej.some(s=>r.includes(s));this.templateActivators={...this.templateActivators,enableAds:!Ej.some(s=>r.includes(s)),enableInSlideshowAds:o,enableSponsoredContents:o}}injectInArticleAd({isInread:t,html:r,paragraph:o}){if(t&&!iv(r.toString())){const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?V3.in_read_desktop:V3.in_read_mobile,variant:"INREAD"}));o.insertAdjacentHTML("afterend",s)}else{const s=Wa(pe.createElement(Se,{adUnitCompletePath:this.layout===ge.DESKTOP?V3.pave_article:V3.article_mtf,variant:"ARTICLE"}));o.insertAdjacentHTML("afterend",s)}}insertInreadDesktop(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}insertInreadMobile(t){const r=Ki(Vf(hu(t))),o=r.innerHTML.replace(/(<([^>]+)>)/gi,""),s=r.querySelectorAll(".c-content > p:not([class])");if(s.length>=4&&o.length>1200){this.injectInArticleAd({isInread:!0,html:r,paragraph:s[2]});let l=6,c=!1,h=1;for(;s.length-1>l&&h<3;){const v=s[l];this.injectInArticleAd({isInread:c,html:r,paragraph:v}),l+=4,h+=1,c=!c}}return _h(r.toString())}}const wj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,readAlsoBanner:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,slideshowContent:D,encloseBanner:S,highlightedText:T,comment:C,readAlsoBlockBelow:O,tagBar:L,mostReadArticles:P,sideBrandsArticles:z,latestContentsCarousel:U,rubricCarousels:W,partnerCards:Q,scrollProgressBar:ie,scrollProgressButton:te,topContent:J})=>{const X=new GX({data:{slideshowContent:D,cover:p,htmlTemplateProps:e},layout:e.layout}).resolve(),se={...e,firstPartyScripts:{...e.firstPartyScripts,partnerFeatures:{...e.firstPartyScripts.partnerFeatures,enableDisplayOnHeaderAd:X.templateActivators?.enableDisplayOnHeaderAd??!1}}},ce=BO({isPubstackAndVideo:X.templateActivators?.enableDisplayOnHeaderAd,contentSubtype:se.firstPartyScripts.datalayerInfo?.subType||""});return a.jsxs(q3,{htmlTemplateProps:se,header:t,headerMini:r,menu:o,footer:s,adsPageConfig:ce,readAlsoBanner:l,breadcrumb:c,contentHeader:h,contentHeaderMobile:v,cover:p,socialBar:x,signature:w,summary:_,readAlsoBlockBelow:O,tagBar:L,comment:C,mostReadArticles:P,sideBrandsArticles:z,scrollProgressBar:ie,scrollProgressButton:te,latestContentsCarousel:U,rubricCarousels:W,partnerCards:Q,topContent:J,templating:X.templateActivators,templateVariant:U3.FULL_WIDTH_COVER,children:[X.content.slideshowContent,a.jsx("div",{className:"js-limit-scroll-close-article-btn js-limit-scroll-progress-bar"}),S&&S,!qp(T)&&a.jsx(be,{mx:{xs:"m",md:"0"},mb:"l",children:T})]})},Sj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h,content:v,sidebar:p})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:v}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),p]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,v,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ATF",isFullscreenMobile:!0}),h,p,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ATF",isFullscreenMobile:!0})]})}),Cj=({header:e,headerMini:t,menu:r,content:o,footer:s,htmlTemplateProps:l})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,htmlTemplateProps:l,footer:s,children:a.jsx(ve,{as:"article",className:"o-page-wrap u-arch-shadow",py:"xxl-2",px:{xs:"m",md:"0"},bg:"grey-50",direction:"column",children:o})}),KX=e=>({desktop:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_atf":"/49926454/20minutes_desktop/homepage/ban_atf",variant:"ATF"}),stickyAsideTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_atf":"/49926454/20minutes_desktop/homepage/pave_atf",variant:"PAVE"}),native:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/native_web":"/49926454/20minutes_desktop/homepage/native_web",variant:"ARTICLE"}),adListTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_btf":"/49926454/20minutes_desktop/homepage/pave_btf",variant:"ARTICLE"}),stickyAsideBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/pave_mtf":"/49926454/20minutes_desktop/homepage/pave_mtf",variant:"PAVE",className:"o-lt-show__stickywrap"}),banBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_desktop/brand_publishing/ban_btf":"/49926454/20minutes_desktop/homepage/ban_btf",variant:"BAN"})},mobile:{topPage:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/header_ad":"/49926454/20minutes_webmobile/homepage/header_ad",variant:"HEADER"}),aboveFooter:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_4":"/49926454/20minutes_webmobile/homepage/nfb_4",variant:"ARTICLE"}),adListTop:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_1":"/49926454/20minutes_webmobile/homepage/nfb_1",variant:"ARTICLE",mt:"s"}),adListBottom:a.jsx(Se,{adUnitCompletePath:Gu.includes(e)?"/49926454/20minutes_webmobile/brand_publishing/nfb_2":"/49926454/20minutes_webmobile/homepage/nfb_2",variant:"ARTICLE"})}}),WX=["23058043934","23057517715"];class A8 extends um{constructor({data:t,layout:r,adsPageConfig:o}){super({data:t,layout:r,templateActivators:{enableHeaderAd:!0,enableAds:!0}}),this.adsPageConfig=o}transformContent(){const t={},{enableAds:r}=this.templateActivators;if(!this.data.articlesListTop)return this.data;if(!r)return{...this.data,articlesListTop:a.jsx(lm,{content:A8.removeAds(this.data.articlesListTop)})};if(t.articlesListTop=this.layout===ge.DESKTOP?a.jsx(lm,{content:this.insertNativeAds(this.data.articlesListTop)}):a.jsx(lm,{content:this.insertNFBAndNativeAds(this.data.articlesListTop)}),this.layout===ge.DESKTOP&&Gu.includes(this.data.htmlTemplateProps.firstPartyScripts.datalayerInfo?.parentTagSlug||"")){const o=Ki(hu(t.articlesListTop)),s=o.querySelector('[data-dfp-name="pave_atf"]');if(s){const l=Wa(this.adsPageConfig.desktop.stickyAsideTop);s.insertAdjacentHTML("afterend",l),s.remove(),t.articlesListTop=a.jsx(lm,{content:o.toString()})}}return{...this.data,...t}}resolveTemplating(){const{htmlTemplateProps:t}=this.data,r=t.firstPartyScripts.datalayerInfo?.pageKey||"",o=t.firstPartyScripts.datalayerInfo?.dfpTagHomeId?.[this.layout]||[],s=!WX.some(l=>o.includes(l));this.templateActivators={...this.templateActivators,enableAds:s,enableHeaderAd:s&&r!=="guide-achat"}}insertNFBAndNativeAds(t){const r=Ki(hu(t)),o=r.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.mobile.adListTop);o[0].insertAdjacentHTML("afterend",l)}const s=r.querySelectorAll(".card-item-6");if(s&&s.length===1){const l=Wa(this.adsPageConfig.mobile.adListBottom);s[0].insertAdjacentHTML("afterend",l)}return r.toString()}insertNativeAds(t){const r=Ki(hu(t)),o=r.querySelectorAll(".card-item-2");if(o&&o.length===1){const l=Wa(this.adsPageConfig.desktop.native);o[0].insertAdjacentHTML("afterend",l)}const s=r.querySelectorAll(".card-item-7");if(s&&s.length===1){const l=Wa(this.adsPageConfig.desktop.adListTop);s[0].insertAdjacentHTML("afterend",l)}return r.toString()}static removeAds(t){const r=Ki(hu(t));return r.querySelectorAll("[data-dfp-path]").forEach(s=>{s.remove()}),r.toString()}}const Tj=({htmlTemplateProps:e,header:t,headerMini:r,overviewBar:o,menu:s,toolbar:l,footer:c,breadcrumb:h,headerPage:v,articlesListTop:p,newsCarousel:x,articlesListBottom:w,brandPublishingArticleBottom:_})=>{const D=KX(e.firstPartyScripts.datalayerInfo?.parentTagSlug||""),T=new A8({data:{articlesListTop:p,htmlTemplateProps:e},layout:e.layout,adsPageConfig:D}).resolve(),C=new x8({layout:e.layout,config:D,adsEnabled:T.templateActivators.enableAds});return a.jsxs(Wr,{adTopPage:e.layout===ge.DESKTOP&&T.templateActivators.enableAds||T.templateActivators.enableHeaderAd?C.renderAd("topPage"):null,header:t,headerMini:r,overviewBar:o,menu:s,toolbar:l,footer:c,htmlTemplateProps:e,children:[a.jsxs(be,{as:"article",className:"o-page-wrap o-page-wrap--above u-arch-shadow",bg:"grey-50",children:[h,v]}),T.content.articlesListTop,!qp(x)&&a.jsx(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:x}),!e.pageMetaData?.isPaginationPage&&a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",pt:"0",bg:"grey-50",children:[a.jsxs(ve,{id:"article-list-2",direction:{xs:"column",lg:"row"},gap:"xl",mb:"xl",className:"o-lt-show",children:[a.jsx("div",{id:"article-list-bottom-container",className:"o-lt-show__main",children:w}),a.jsx("aside",{className:"o-lt-show__aside",children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[_,C.renderAd("stickyAsideBottom")]}):C.renderAd("aboveFooter")})]}),C.renderAd("banBottom")]})]})},$X=({colorVariant:e="ultramarine",cookieLink:t="https://www.20minutes.fr/gestion-cookies",privacyPolicyUrl:r,vendorName:o="20 Minutes (contenus interactifs)"})=>a.jsxs(be,{className:"cmp-placeholder u-hidden",borderColor:"grey-200",radius:"l",p:"xxl",children:[a.jsxs(Me,{size:"xxl",color:e,mb:"xxl",fontFamily:"source-serif-pro",weight:"semi-bold",children:["L’accès à ce contenu"," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","a été bloqué afin de respecter vos choix de consentement"]}),a.jsxs(Me,{size:"l",mb:"m",children:['En cliquant sur "Accepter les cookies", vous consentez au dépôt de cookies par'," ",a.jsx(Me,{as:"span",weight:"bold",children:o})," ","et pourrez ainsi accéder à ce contenu interactif."]}),a.jsx(Me,{size:"l",mb:"m",children:"Vous pouvez, à tout moment, modifier vos choix cookies ou retirer votre consentement en bas de nos pages."}),a.jsxs(Me,{size:"s",mb:"xl",children:["En savoir plus sur notre"," ",a.jsx(Me,{color:e,as:"a",href:t,children:"politique de cookies"}),r&&a.jsxs(a.Fragment,{children:[" ","et sur la"," ",a.jsx(Me,{color:e,as:"a",href:r,children:"politique de confidentialité de ce partenaire"})]}),"."]}),a.jsxs(ve,{direction:"row",gap:"m",justifyContent:"center",wrap:"wrap",children:[a.jsx(Tn,{className:"cmp-preferences-button",variant:"outlined",children:"Gérer mes préférences"}),a.jsx(Tn,{className:"cmp-button",children:"J’accepte les cookies"})]})]}),Nj=({placeholder:e="minified",children:t})=>{const r=hu(t);let o=Ki(r);return o=YD(o),o=QD(o),a.jsxs("div",{className:"embed-placeholder",children:[a.jsx("div",{className:"embed-wrapper u-hidden",children:a.jsx(rb,{html:o.outerHTML})}),e==="default"&&a.jsx($X,{}),e==="minified"&&a.jsx($D,{})]})},Dj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main",children:a.jsx(Nj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:a.jsx(Nj,{children:a.jsx("div",{className:"waze-traffic",children:a.jsx("iframe",{title:"waze-widget",src:"https://embed.waze.com/fr/iframe?zoom=13&lat=48.85661&lon=2.35222&pin=1",width:"100%",height:"520"})})})}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Ij=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,topBlock:l,showsReplaysCarousel:c,mostBlock:h,toolbar:v})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:v,mainProps:{"data-theme":"dark"},children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[l,c,a.jsxs(be,{as:"section",className:"o-page-wrap",py:"xxl",children:[a.jsx(Uc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),h,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,a.jsxs(be,{as:"section",ml:"m",py:"xxl",children:[a.jsx(Uc,{label:"Stories",mb:"xxl",as:"h2",color:"white"}),a.jsx("div",{id:"dtk-videofeed-carrousel"})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",mb:"xxl",hasNoBgColorMobile:!0}),h,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Rj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,topBlock:c,timeline:h,showsReplaysCarousel:v,mostBlock:p,toolbar:x})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:x,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"section",className:"o-page-wrap o-page__player-container",children:[l,c]}),a.jsx(be,{as:"section",bg:"blue-grey",children:h}),a.jsx(ve,{py:"xxl",justifyContent:"center",children:a.jsx(Tn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),v,p,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,c,h,a.jsx(ve,{py:"xxl",justifyContent:"center",children:a.jsx(Tn,{as:"a",color:"translucent",href:"https://programme-tv.20minutes.fr/programme-tv/ce-soir",children:"Voir le programme TV du jour"})}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),v,p,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Oj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,videosList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0}),x=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"BAN",mb:"xl",hasNoBgColorMobile:!0});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(be,{as:"article",className:"o-page-wrap",color:"white",children:[c,h,a.jsxs(ve,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),x]})})},jj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,toolbar:s,footer:l,breadcrumb:c,headerPage:h,videosList:v})=>{const p=e.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/header_ad",variant:"HEADER",hasNoBgColorMobile:!0});return a.jsx(Wr,{adTopPage:p,header:t,headerMini:r,menu:o,toolbar:s,footer:l,htmlTemplateProps:e,backgroundPageColor:"blue-dark",children:a.jsxs(be,{as:"article",className:"o-page-wrap",color:"white",children:[c,h,a.jsxs(ve,{id:"video-list-container",direction:{xs:"column",lg:"row"},gap:"xl",className:"o-lt-show",mb:"xl",children:[a.jsx("div",{className:"ol-lt-show__main",children:v}),e.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]}),e.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN",mb:"xl"})]})})},Mj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,mainBlock:c,showsReplaysCarousel:h,mostBlock:v,toolbar:p})=>a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:p,children:e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),h,v,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[a.jsx(be,{as:"section",className:"o-page-wrap o-shift-breadcrumb-bottom",children:l}),c,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),h,v,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})}),Lj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,programs:c})=>{const h=a.jsx(Yr,{fontFamily:"obviously",size:{xs:"l",md:"xxl"},color:"white",mb:{xs:"xxl",md:"xxl-2"},mx:{xs:"m",md:"0"},children:"Toutes nos émissions"});return a.jsx(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,children:e.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap",pb:"xxl",children:[l,h,c,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,h,c,a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/tv/article_btf",variant:"ATF",hasNoBgColorMobile:!0})]})})};class YX extends um{constructor({data:t,layout:r}){super({data:t,layout:r,templateActivators:{enableAds:!0,enableBlockLinks:!0,enableScrollToFeed:!1}})}transformContent(){return this.data}resolveTemplating(){this.templateActivators={...this.templateActivators,enableScrollToFeed:this.layout===ge.MOBILE}}}const kj=({htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,breadcrumb:l,pageTitle:c,topBlock:h,mostVideos:v,extractsAndReplays:p,showsReplaysCarousel:x,backgroundImg:w,toolbar:_})=>{const S=new YX({data:{topBlock:h},layout:e.layout}).resolve();return a.jsxs(Wr,{htmlTemplateProps:e,header:t,headerMini:r,menu:o,footer:s,backgroundPageColor:"blue-dark",hasArch:!1,toolbar:_,enableScrollToFeed:S.templateActivators.enableScrollToFeed,children:[w,e.layout===ge.DESKTOP?a.jsxs(a.Fragment,{children:[a.jsxs(be,{as:"article",className:"o-page-wrap o-page__player-container",children:[l,a.jsxs(be,{as:"section",color:"white",className:"o-lt-show",children:[c,a.jsxs(ve,{gap:"xl",children:[a.jsx("div",{className:"o-lt-show__main",children:S.content.topBlock}),a.jsx("aside",{className:"o-lt-show__aside",children:v})]})]})]}),p,a.jsx(be,{as:"section",className:"o-page-wrap",py:"xxl-2",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_mtf",variant:"BAN"})}),x,a.jsx(be,{as:"section",className:"o-page-wrap",pb:"xxl",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/tv/ban_btf",variant:"BAN"})})]}):a.jsxs(a.Fragment,{children:[l,a.jsxs(be,{as:"section",color:"white",className:"o-page__player-container",children:[c,S.content.topBlock,p,v]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_1",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0}),x,a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/tv/nfb_2",variant:"ARTICLE",my:"xxl-2",hasNoBgColorMobile:!0})]})]})},Bj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,children:a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsxs(l2,{className:"o-lt-show__main c-content",mx:{xs:"m",md:"0"},children:[a.jsx("p",{children:"Pour retirer votre consentement Utiq uniquement sur ce site, cliquez sur Retirer le consentement Utiq. Pour consulter et gérer tous vos consentements Utiq, y compris les retirer tous en une seule fois ou individuellement par chaque site partenaire , ou désactiver ou empêcher l’activation du service, accédez au consenthub d’Utiq. Si vous avez retiré votre consentement mais souhaitez à nouveau utiliser le Service Utiq, cliquez sur Pop-Up Consentement Utiq."}),a.jsx("h2",{children:"À propos du Service Utiq"}),a.jsx("p",{children:"Le Service Utiq vous offre un contrôle accru et une transparence sur l’utilisation de vos données lorsque vous activez une expérience personnalisée ou des analyses sur les sites partenaires d’Utiq. Dans le cadre du service Utiq, vous avez accès à un portail centralisé en libre-service, appelé consenthub d’Utiq, qui vous permet de gérer tous vos choix de Service Utiq et vos consentements Utiq ainsi que d’exercer vos droits en matière de protection des données. À tout moment. En un seul endroit. Utiq est un service facultatif. Cela signifie qu’il n’est pas activé par défaut et qu’il est uniquement activé lorsque vous donnez votre consentement sur un site participant via la fenêtre pop-up de consentement Utiq dédiée. En savoir plus sur le service Utiq sur consenthub.utiq.com"}),a.jsx("h2",{children:"À propos de notre partenariat avec Utiq"}),a.jsxs("div",{children:["Le Service Utiq est opéré par Utiq SA/NV et fourni en partenariat avec votre opérateur téléphonique et des sites partenaires comme le nôtre. Nous sommes des responsables conjoints avec Utiq pour fournir le Service Utiq. Dans le cadre de notre accord de responsables conjoints :",a.jsx("br",{}),a.jsx("br",{}),a.jsx(c9,{children:a.jsxs("ul",{children:[a.jsx("li",{children:"Le traitement lié au Service Utiq est basé sur le consentement que nous recueillons pour le compte de l’écosystème Utiq sur nos sites Web où nous intégrons le Service Utiq."}),a.jsx("li",{children:"Pour les sites Web où nous intégrons le Service Utiq, vous aurez accès à un lien dédié dans le pied de page pour vous fournir des informations sur le service, comment le gérer et vous informer de notre partenariat avec Utiq."}),a.jsx("li",{children:"Utiq met à votre disposition un portail de confidentialité centralisé (consenthub) pour faciliter l’exercice de vos droits en matière de protection des données et vous permettre de gérer facilement vos consentements Utiq et vos préférences de confidentialité du Service Utiq. À tout moment. En un seul endroit."}),a.jsx("li",{children:"Nonobstant le fait que vous pouvez exercer vos droits à l’égard de l’un des contrôleurs, Utiq agit en tant que point de contact commun pour toute question ou demande que vous pourriez avoir en relation avec le Service Utiq."})]})})]}),a.jsx("p",{children:"Si vous avez donné votre consentement pour activer le Service Utiq lors de votre première visite sur notre site, Utiq ne partagera avec nous que deux signaux sécurisés publicitaires. Ils sont appelés martechpass et adtechpass, ce sont des valeurs aléatoires générées par Utiq qui, sans révéler votre identité, nous permettent de vous reconnaître comme le même visiteur. Nous les utiliserons ensuite pour vous fournir du contenu personnalisé, de la publicité ou réaliser des analyses, en fonction des finalités pour lesquelles vous nous avez donné votre consentement. Le martechpass et adtechpass expirent respectivement après 90 jours ou 24 heures et sont stockées sur votre navigateur avec les cookies associés. Vous pouvez trouver plus d’informations sur le service Utiq dans le consenthub d’Utiq ou dans la Déclaration de confidentialité d’Utiq."})]}),s.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside"})]})]})}),Pj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l,headerPage:c,mostReadArticles:h})=>a.jsx(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP?a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}):a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/header_ad",variant:"HEADER"}),children:s.layout===ge.DESKTOP?a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xxl",bg:"grey-50",children:[l,c,a.jsxs(ve,{gap:"xl",className:"o-lt-show",children:[a.jsx("div",{className:"o-lt-show__main"}),a.jsxs("aside",{className:"o-lt-show__aside",children:[a.jsx("div",{id:"live-and-most-read-container",children:h}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})]})]}),a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_btf",variant:"BAN"})]}):a.jsxs("article",{children:[l,c,a.jsx(l2,{inner:!0,children:" "}),a.jsx(Se,{mb:"m",adUnitCompletePath:"/49926454/20minutes_webmobile/divers/article_btf",variant:"ATF"})]})}),Fj=({header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,breadcrumb:l})=>a.jsxs(Wr,{header:e,headerMini:t,menu:r,footer:o,htmlTemplateProps:s,adTopPage:s.layout===ge.DESKTOP&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/ban_atf",variant:"ATF"}),children:[a.jsxs(be,{as:"article",className:"o-page-wrap u-arch-shadow",pb:"xl",bg:"grey-50",children:[l,a.jsx(bl,{layout:s.layout,heading:{children:"Pourquoi créer un compte 20 Minutes ?"},subtitle:"Quels sont les avantages de s’inscrire à 20 Minutes ?",mb:{xs:"s",md:"l"}}),a.jsxs(ve,{direction:{xs:"column",md:"row"},gap:"xl",className:"o-lt-show",mb:{xs:"xl",md:"0"},children:[a.jsxs("div",{className:"o-lt-show__main",children:[a.jsx(h9,{items:[{id:1,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Personnalisez votre expérience"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Sauvegardez vos articles"})," favoris pour les lire plus tard"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"newsletters thématiques personnalisées"})," pour ne rien manquer de l’actualité"]}),a.jsxs("li",{children:["Recevez des ",a.jsx("b",{children:"notifications et alertes"})," sur vos sujets préférés"]})]})]})},{id:2,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Interagissez et donnez votre avis"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:[a.jsx("b",{children:"Commentez"})," et ",a.jsx("b",{children:"échangez"})," avec la communauté 20 Minutes sur les articles"]}),a.jsxs("li",{children:[a.jsx("b",{children:"Participez"})," à des ",a.jsx("b",{children:"sondages"})," et ",a.jsx("b",{children:"enquêtes"})," sur nos live"]})]})]})},{id:3,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Fonctionnalités supplémentaires"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Accédez à tous nos ",a.jsx("b",{children:"contenus sans restriction"}),", gratuitement et sans aucun blocage"]}),a.jsxs("li",{children:["Retrouvez facilement votre activité, en consultant votre"," ",a.jsx("b",{children:"historique de lecture"})]}),a.jsxs("li",{children:[a.jsx("b",{children:"Affrontez d’autres joueurs"})," sur nos jeux exclusifs et"," ",a.jsx("b",{children:"suivez vos performances"})]})]})]})},{id:4,text:a.jsxs("div",{children:[a.jsx(Me,{as:"p",size:"xl",weight:"bold",mb:"m",children:"Soutenir le média 20 Minutes"}),a.jsxs(Me,{as:"ul",className:"c-list-with-disc",pl:"s",children:[a.jsxs("li",{children:["Votre engagement permet à 20 Minutes de continuer à produire"," ",a.jsx("b",{children:"des articles fiables, des enquêtes approfondies et des analyses pertinentes"}),"."]}),a.jsxs("li",{children:["Aidez-nous à"," ",a.jsx("b",{children:"mieux comprendre vos attentes et votre opinion sur l’actualité"})," en participant à des sondages et échanges avec la rédaction."]}),a.jsxs("li",{children:[a.jsx("b",{children:"Soutenez un média libre et accessible à tous"}),", qui défend un journalisme indépendant, transparent et éthique, sans barrière payante."]})]})]})}],mb:"xxl-2",mx:{xs:"m",md:"0"}}),a.jsx(j2,{buttonLabel:"Je m’inscris",title:"Rejoignez la communauté 20 Minutes dès maintenant et vivez l’info autrement !",url:"https://membre.20minutes.fr/inscription/"})]}),s.layout===ge.DESKTOP&&a.jsx("aside",{className:"o-lt-show__aside",children:a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_desktop/divers/pave_atf",variant:"PAVE",className:"o-lt-show__stickywrap"})})]})]}),s.layout===ge.MOBILE&&a.jsx(Se,{adUnitCompletePath:"/49926454/20minutes_webmobile/divers/nfb_1",variant:"PAVE"})]}),QX={name:"adIframe",component:TO,expiration:1800,components:[{name:Pg.AD_IFRAME_EXTERNAL_AD_ELEMENT,required:!0,propName:"adHtml"}]},Qr=[{name:nt.COMMON_HEADER,required:!0,propName:"header"},{name:nt.COMMON_FOOTER,required:!0,propName:"footer"},{name:nt.COMMON_MENU,required:!0,propName:"menu"}],zp=!0,JX={name:"animalQuiz",component:MO,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:zp,propName:"headerMini"},{name:qc.ANIMAL_QUIZ_BREADCRUMB,required:zp,propName:"breadcrumb"},{name:qc.ANIMAL_QUIZ_HEADER_PAGE,required:zp,propName:"headerPage"},{name:qc.ANIMAL_QUIZ_RUBRIC_CAROUSELS,required:zp,propName:"rubricCarousels"},{name:qc.ANIMAL_QUIZ_JSON_LD_BREADCRUMB,required:zp,propName:"jsonLdBreadcrumb"},{name:qc.ANIMAL_QUIZ_META,required:zp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:zp,propName:"defaultPreload"}]},Gf=!0,ZX={name:"archiveByDay",component:LO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Gf,propName:"headerMini"},{name:ao.ARCHIVES_BREADCRUMB,required:Gf,propName:"breadcrumb"},{name:ao.ARCHIVES_PAGE_TITLE,required:Gf,propName:"pageTitle"},{name:ao.ARCHIVES_DAYS_LIST,required:Gf,propName:"archivesByDay"},{name:ao.ARCHIVES_CONTENTS,required:Gf,propName:"archivesOfDay"},{name:ao.ARCHIVES_PDF_LIST,required:Gf,propName:"archivePdfList"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Gf,propName:"mostReadArticles"},{name:ao.ARCHIVES_META,required:Gf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Gf,propName:"defaultPreload"}]},Kf=!0,XX={name:"archiveByYear",component:kO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Kf,propName:"headerMini"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Kf,propName:"mostReadArticles"},{name:ao.ARCHIVES_BREADCRUMB,required:Kf,propName:"breadcrumb"},{name:ao.ARCHIVES_MONTHS_LIST,required:Kf,propName:"monthsList"},{name:ao.ARCHIVES_YEARS_LIST,required:Kf,propName:"yearsList"},{name:ao.ARCHIVES_PAGE_TITLE,required:Kf,propName:"pageTitle"},{name:ao.ARCHIVES_PDF_LIST,required:Kf,propName:"archivePdfList"},{name:ao.ARCHIVES_META,required:Kf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Kf,propName:"defaultPreload"}]},eee={name:"article",component:HO,expiration:300,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:wr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:xl.ARTICLE_CONTENT,required:!0,propName:"articleContent"},{name:xl.ARTICLE_ENCLOSE,required:!0,propName:"encloseBanner"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:xl.ARTICLE_JSON_LD_CLAIM_REVIEW,required:!1,propName:"jsonLdClaimReview"},{name:xl.ARTICLE_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:xl.ARTICLE_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockBelow"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:xl.ARTICLE_HIGHLIGHTED_TEXT,required:!1,propName:"highlightedText"},{name:wr.CONTENT_READALSO_BANNER,required:!1,propName:"readAlsoBanner"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},tee={name:"astroHome",component:UO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HOMEPAGE_CONTENT,required:!0,propName:"astroHomepageContent"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},ree={name:"astro",component:qO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ka.ASTRO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ka.ASTRO_HEADER_PAGE,required:!0,propName:"headerPage"},{name:ka.ASTRO_HEADER_BANNER,required:!0,propName:"headerBanner"},{name:ka.ASTRO_ASTRO_CONTENT,required:!0,propName:"astroContent"},{name:ka.ASTRO_LINK,required:!0,propName:"link"},{name:ka.ASTRO_ASTRO_LINKS_NEXT_TYPES,required:!0,propName:"astroLinksNextTypes"},{name:ka.ASTRO_ASTRO_TILES,required:!0,propName:"astroTiles"},{name:ka.ASTRO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ka.ASTRO_META,required:!0,propName:"meta"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Wf=!0,nee={name:"contact",component:zO,expiration:3600*24,components:[...Qr,{name:Uu.CONTACT_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Wf,propName:"mostReadArticles"},{name:Uu.CONTACT_JSON_LD_BREADCRUMB,required:Wf,propName:"jsonLdBreadcrumb"},{name:nt.COMMON_PRELOAD,required:Wf,propName:"defaultPreload"},{name:Uu.CONTACT_ADDRESSES,required:Wf,propName:"addresses"},{name:Uu.CONTACT_FORM,required:Wf,propName:"contactForm"},{name:Uu.CONTACT_DETAILS,required:Wf,propName:"contactDetails"},{name:Uu.CONTACT_BREADCRUMB,required:Wf,propName:"breadcrumb"},{name:Uu.CONTACT_META,required:Wf,propName:"meta"}]},Vp=!0,aee={name:"direct",component:VO,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Vp,propName:"headerMini"},{name:Hd.DIRECT_BREADCRUMB,required:Vp,propName:"breadcrumb"},{name:Hd.DIRECT_HEADER_PAGE,required:Vp,propName:"headerPage"},{name:Hd.DIRECT_TABS,required:Vp,propName:"tabs"},{name:Hd.DIRECT_META,required:Vp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Vp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Vp,propName:"toolbar"}]},Gp=!0,iee={name:"electionsAiArticles",component:GO,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Gp,propName:"headerMini"},{name:zc.ELECTIONS_AI_ARTICLES_BREADCRUMB,required:Gp,propName:"breadcrumb"},{name:zc.ELECTIONS_AI_ARTICLES_HEADER_PAGE,required:Gp,propName:"headerPage"},{name:zc.ELECTIONS_AI_ARTICLES_LIST,required:Gp,propName:"articles"},{name:zc.ELECTIONS_AI_ARTICLES_JSON_LD_BREADCRUMB,required:Gp,propName:"jsonLdBreadcrumb"},{name:zc.ELECTIONS_AI_ARTICLES_META,required:Gp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Gp,propName:"defaultPreload"}]},Qd=!0,oee={name:"electionsEmbed",component:KO,expiration:60,components:[{name:ar.ELECTIONS_META,required:Qd,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qd,propName:"defaultPreload"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:Qd,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:Qd,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:Qd,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:Qd,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:Qd,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:Qd,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:Qd,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:Qd,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:Qd,propName:"mapTownsByDepartments"}]},go=!0,see={name:"electionsHome",component:WO,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:go,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:go,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:go,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:go,propName:"meta"},{name:nt.COMMON_PRELOAD,required:go,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:go,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:go,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:go,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:go,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:go,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:go,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_DISTRIBUTION,required:go,propName:"distribution"},{name:ar.ELECTIONS_MAP_DEPARTMENTS,required:go,propName:"mapDepartments"},{name:ar.ELECTIONS_MAP_CONSTITUENCIES,required:go,propName:"mapConstituencies"},{name:ar.ELECTIONS_MAP_EUROPEAN,required:go,propName:"mapEuropean"},{name:ar.ELECTIONS_MAP_TOWNS_BY_DEPARTMENTS,required:go,propName:"mapTownsByDepartments"},{name:ar.ELECTIONS_SUMMARY,required:go,propName:"summary"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:go,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:go,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:go,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:go,propName:"overviewBar"}]},yo=!0,uee={name:"elections",component:$O,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:yo,propName:"headerMini"},{name:ar.ELECTIONS_JSON_LD_BREADCRUMB,required:yo,propName:"jsonLdBreadcrumb"},{name:ar.ELECTIONS_JSON_LD_FAQ,required:yo,propName:"jsonLdFaq"},{name:ar.ELECTIONS_META,required:yo,propName:"meta"},{name:nt.COMMON_PRELOAD,required:yo,propName:"defaultPreload"},{name:ar.ELECTIONS_BREADCRUMB,required:yo,propName:"breadcrumb"},{name:ar.ELECTIONS_HEADER_PAGE,required:yo,propName:"headerPage"},{name:ar.ELECTIONS_RESULTS_MULTIPLE,required:yo,propName:"multipleResults"},{name:ar.ELECTIONS_RESULTS_FIRST_ROUND,required:yo,propName:"resultsFirstRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_FIRST_ROUND,required:yo,propName:"participationAndAbstentionFirstRound"},{name:ar.ELECTIONS_RESULTS_SECOND_ROUND,required:yo,propName:"resultsSecondRound"},{name:ar.ELECTIONS_PARTICIPATION_AND_ABSTENTION_SECOND_ROUND,required:yo,propName:"participationAndAbstentionSecondRound"},{name:ar.ELECTIONS_SUMMARY,required:yo,propName:"summary"},{name:ar.ELECTIONS_INSEE_BLOCK,required:yo,propName:"inseeBlock"},{name:ar.ELECTIONS_SIDE_LOCALITIES_TOP,required:yo,propName:"sideLocalitiesTop"},{name:ar.ELECTIONS_SIDE_LOCALITIES_BOTTOM,required:yo,propName:"sideLocalitiesBottom"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL,required:yo,propName:"lastArticlesCarousel"},{name:ar.ELECTIONS_LAST_ARTICLES_CAROUSEL_BIS,required:yo,propName:"lastArticlesCarouselBis"},{name:ar.ELECTIONS_RESULTS_FILTERED,required:yo,propName:"resultsFiltered"},{name:nt.COMMON_ELECTIONS_SEARCH_BANNER,required:yo,propName:"overviewBar"},{name:ar.ELECTIONS_REFRESH_BUTTON,required:yo,propName:"refreshButton"}]},G3=!0,lee={name:"error",component:YO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:G3,propName:"headerMini"},{name:q1.ERROR_CONTENT,required:G3,propName:"errorContent"},{name:q1.ERROR_META,required:G3,propName:"meta"},{name:nt.COMMON_PRELOAD,required:G3,propName:"defaultPreload"}]},sv=!0,cee={name:"extTefal",component:QO,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:sv,propName:"headerMini"},{name:Ch.EXT_TEFAL_BREADCRUMB,required:sv,propName:"breadcrumb"},{name:Ch.EXT_TEFAL_HEADER_PAGE,required:sv,propName:"headerPage"},{name:Ch.EXT_TEFAL_META,required:sv,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:sv,propName:"toolbar"}]},Kp=!0,dee={name:"gameApp",component:JO,expiration:3600,components:[{name:Vn.GAME_APP_FOOTER,required:Kp,propName:"footer"},{name:nt.COMMON_PRELOAD,required:Kp,propName:"defaultPreload"},{name:Vn.GAME_META,required:Kp,propName:"meta"},{name:Vn.GAME_APP_HEADER_PAGE,required:Kp,propName:"headerPage"},{name:Vn.GAME_APP_LIST,required:Kp,propName:"gamesList"},{name:Vn.GAME_APP_IFRAME,required:Kp,propName:"iframe"},{name:Vn.GAME_APP_AD,required:Kp,propName:"ad"}]},Hh=!0,fee={name:"gameHome",component:ZO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Hh,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:Hh,propName:"defaultPreload"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:Hh,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_META,required:Hh,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:Hh,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:Hh,propName:"headerPage"},{name:Vn.GAME_LIST,required:Hh,propName:"gamesList"},{name:nt.COMMON_TOOLBAR,required:Hh,propName:"toolbar"}]},ad=!0,hee={name:"game",component:XO,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:ad,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:ad,propName:"defaultPreload"},{name:Vn.GAME_META,required:ad,propName:"meta"},{name:Vn.GAME_BREADCRUMB,required:ad,propName:"breadcrumb"},{name:Vn.GAME_HEADER_PAGE,required:ad,propName:"headerPage"},{name:Vn.GAME_FAQ,required:ad,propName:"faq"},{name:Vn.GAME_IFRAME,required:ad,propName:"iframe"},{name:Vn.GAME_CONTENT,required:ad,propName:"gameContent"},{name:Vn.GAME_CONTACT,required:ad,propName:"contact"},{name:nt.COMMON_TOOLBAR,required:ad,propName:"toolbar"},{name:Vn.GAME_JSON_LD_BREADCRUMB,required:ad,propName:"jsonLdBreadcrumb"},{name:Vn.GAME_JSON_LD_FAQ,required:ad,propName:"jsonLdFaq"}]},da=!0,pee={name:"home",component:ej,expiration:15,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:da,propName:"headerMini"},{name:nt.COMMON_PRELOAD,required:da,propName:"defaultPreload"},{name:Ir.HOME_META,required:da,propName:"meta"},{name:nt.COMMON_OVERVIEW_BAR,required:da,propName:"overviewBar"},{name:Ir.HOME_ARTICLES_LIST_TOP,required:da,propName:"articlesListTop"},{name:Ir.HOME_FEATURED_TAG,required:da,propName:"featuredTag"},{name:Ir.HOME_SECOND_ARTICLES_LIST_MOBILE,required:da,propName:"secondArticlesListMobile"},{name:Ir.HOME_ARTICLES_LIST_BOTTOM,required:da,propName:"articlesListBottom"},{name:Ir.HOME_MOST_READ_ASIDE,required:da,propName:"mostReadArticles"},{name:Ir.HOME_THIRD_ARTICLES_LIST_MOBILE,required:da,propName:"thirdArticlesListMobile"},{name:Ir.HOME_LOCAL_NEWS,required:da,propName:"localNews"},{name:Ir.HOME_TV_BLOCK,required:da,propName:"tvBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:da,propName:"showsReplaysCarousel"},{name:Ir.HOME_GAMES_CAROUSEL,required:da,propName:"gamesCarousel"},{name:Ir.HOME_CURRENT_VIDEOS,required:da,propName:"currentVideos"},{name:Ir.HOME_ENTERTAINMENT,required:da,propName:"entertainment"},{name:Ir.HOME_SPORT,required:da,propName:"sport"},{name:Ir.HOME_IN_PICTURES,required:da,propName:"inPictures"},{name:Ir.HOME_TEMPO,required:da,propName:"tempo"},{name:Ir.HOME_ANIMALS,required:da,propName:"animals"},{name:Ir.HOME_HIGH_TECH,required:da,propName:"highTech"},{name:Ir.HOME_PLANET,required:da,propName:"planet"},{name:Ir.HOME_PROFESSIONAL_LIFE,required:da,propName:"professionalLife"},{name:Ir.HOME_CONSO,required:da,propName:"conso"},{name:Ir.HOME_PODCASTS,required:da,propName:"podcasts"},{name:Ir.HOME_PURCHASE_GUIDE,required:da,propName:"purchaseGuide"},{name:Ir.HOME_DISCOVER_NOW,required:da,propName:"discoverNow"},{name:Ir.HOME_CITY_BY_CITY,required:da,propName:"cityByCity"},{name:Ir.HOME_PARTNERS,required:da,propName:"partners"},{name:nt.COMMON_TOOLBAR,required:da,propName:"toolbar"},{name:Ir.HOME_MOVIES,required:da,propName:"movies"},{name:Ir.HOME_TV_PROGRAM,required:da,propName:"tvProgram"},{name:Ir.HOME_MUNICIPAL_BLOCK,required:da,propName:"municipalBlock"}]},id=!0,mee={name:"jobDetails",component:tj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:id,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:id,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:id,propName:"headerPage"},{name:wa.JOBS_RELATED_JOBS_CATEGORY,required:id,propName:"relatedJobsCategory"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:id,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:id,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:id,propName:"meta"},{name:wa.JOBS_COVER,required:id,propName:"cover"},{name:wa.JOBS_PROPERTIES,required:id,propName:"jobProperties"},{name:wa.JOBS_ENCLOSE_BANNER,required:id,propName:"encloseBanner"},{name:wa.JOBS_FAQ,required:id,propName:"jobFaqs"},{name:nt.COMMON_PRELOAD,required:id,propName:"defaultPreload"}]},$f=!0,vee={name:"jobs",component:rj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:$f,propName:"headerMini"},{name:wa.JOBS_BREADCRUMB,required:$f,propName:"breadcrumb"},{name:wa.JOBS_HEADER_PAGE,required:$f,propName:"headerPage"},{name:wa.JOBS_CARDS_LIST,required:$f,propName:"cardsList"},{name:wa.JOBS_BUSINESS_SECTORS_LIST,required:$f,propName:"businessSectorsList"},{name:wa.JOBS_PROFESSIONAL_LIFE_ARTICLES,required:$f,propName:"professionalLifeArticles"},{name:wa.JOBS_JSON_LD_BREADCRUMB,required:$f,propName:"jsonLdBreadcrumb"},{name:wa.JOBS_META,required:$f,propName:"meta"},{name:nt.COMMON_PRELOAD,required:$f,propName:"defaultPreload"}]},gee={name:"journalist",component:nj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:lc.JOURNALIST_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:lc.JOURNALIST_HEADER_PAGE,required:!0,propName:"headerPage"},{name:lc.JOURNALIST_META,required:!0,propName:"meta"},{name:lc.JOURNALIST_MAIN_INFORMATION_BLOCK,required:!0,propName:"mainInformationBlock"},{name:lc.JOURNALIST_ARTICLES,required:!0,propName:"articles"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"}]},Wp=!0,yee={name:"la21e",component:aj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Wp,propName:"headerMini"},{name:Vc.LA21E_BREADCRUMB,required:Wp,propName:"breadcrumb"},{name:Vc.LA21E_HEADER_PAGE,required:Wp,propName:"headerPage"},{name:Vc.LA21E_JSON_LD_BREADCRUMB,required:Wp,propName:"jsonLdBreadcrumb"},{name:Vc.LA21E_META,required:Wp,propName:"meta"},{name:Vc.LA21E_CARDS_LIST,required:Wp,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Wp,propName:"defaultPreload"}]},Yf=!0,bee={name:"legalNoticeDepartment",component:ij,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Yf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Yf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Yf,propName:"headerPage"},{name:la.LEGAL_NOTICE_FAQ,required:Yf,propName:"faq"},{name:la.LEGAL_NOTICE_CARDS_LIST_DEPARTMENT,required:Yf,propName:"cardsList"},{name:la.LEGAL_NOTICE_REGIONS_LIST,required:Yf,propName:"regionsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Yf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Yf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yf,propName:"defaultPreload"}]},Qf=!0,xee={name:"legalNotice",component:sj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Qf,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Qf,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Qf,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Qf,propName:"departmentsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Qf,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Qf,propName:"meta"},{name:la.LEGAL_NOTICE_CONTENT,required:Qf,propName:"content"},{name:la.LEGAL_NOTICE_CARDS_LIST_DETAIL,required:Qf,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:Qf,propName:"defaultPreload"}]},Uh=!0,Aee={name:"legalNoticeHome",component:oj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Uh,propName:"headerMini"},{name:la.LEGAL_NOTICE_BREADCRUMB,required:Uh,propName:"breadcrumb"},{name:la.LEGAL_NOTICE_HEADER_PAGE,required:Uh,propName:"headerPage"},{name:la.LEGAL_NOTICE_DEPARTMENTS_LIST,required:Uh,propName:"departmentsList"},{name:la.LEGAL_NOTICE_CARDS_LIST,required:Uh,propName:"cardsList"},{name:la.LEGAL_NOTICE_JSON_LD_BREADCRUMB,required:Uh,propName:"jsonLdBreadcrumb"},{name:la.LEGAL_NOTICE_META,required:Uh,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Uh,propName:"defaultPreload"}]},_ee={name:"live",component:uj,expiration:30,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:fu.LIVE_INDICATOR,required:!0,propName:"liveIndicator"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SUMMARY,required:!0,propName:"summary"},{name:fu.LIVE_PRELOAD,required:!1,propName:"preload"},{name:fu.LIVE_TOP_CONTENT,required:!0,propName:"topContent"},{name:fu.LIVE_POSTS_THREAD,required:!0,propName:"livePostsThread"},{name:fu.LIVE_IMPORTANT_POSTS_THREAD,required:!0,propName:"liveImportantPostsThread"},{name:wr.CONTENT_READALSO_BLOCK,required:!1,propName:"readAlsoBlockAbove"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:fu.LIVE_JSON_LD_LIVE_BLOG_POSTING,required:!1,propName:"jsonLdLiveBlogPosting"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:fu.LIVE_QUESTION,required:!1,propName:"liveQuestion"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"}]},$p=!0,Eee={name:"mobileApps",component:lj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:$p,propName:"headerMini"},{name:Gc.MOBILE_APPS_BREADCRUMB,required:$p,propName:"breadcrumb"},{name:Gc.MOBILE_APPS_HEADER_PAGE,required:$p,propName:"headerPage"},{name:Gc.MOBILE_APPS_JSON_LD_BREADCRUMB,required:$p,propName:"jsonLdBreadcrumb"},{name:Gc.MOBILE_APPS_META,required:$p,propName:"meta"},{name:Gc.MOBILE_APPS_CARDS_LIST,required:$p,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:$p,propName:"defaultPreload"}]},Yp=!0,wee={name:"mostCommented",component:cj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Yp,propName:"headerMini"},{name:R0.MOST_COMMENTED_BREADCRUMB,required:Yp,propName:"breadcrumb"},{name:R0.MOST_COMMENTED_HEADER_PAGE,required:Yp,propName:"headerPage"},{name:R0.MOST_COMMENTED_ARTICLES,required:Yp,propName:"mostCommentedArticles"},{name:R0.MOST_COMMENTED_META,required:Yp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Yp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Yp,propName:"toolbar"}]},Qp=!0,See={name:"mostRead",component:dj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Qp,propName:"headerMini"},{name:O0.MOST_READ_BREADCRUMB,required:Qp,propName:"breadcrumb"},{name:O0.MOST_READ_HEADER_PAGE,required:Qp,propName:"headerPage"},{name:O0.MOST_READ_ARTICLES,required:Qp,propName:"mostReadArticles"},{name:O0.MOST_READ_META,required:Qp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Qp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Qp,propName:"toolbar"}]},Jp=!0,Cee={name:"mostShared",component:fj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Jp,propName:"headerMini"},{name:M0.MOST_SHARED_BREADCRUMB,required:Jp,propName:"breadcrumb"},{name:M0.MOST_SHARED_HEADER_PAGE,required:Jp,propName:"headerPage"},{name:M0.MOST_SHARED_ARTICLES,required:Jp,propName:"mostSharedArticles"},{name:M0.MOST_SHARED_META,required:Jp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Jp,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:Jp,propName:"toolbar"}]},Tee={name:"movies",component:hj,expiration:3600*5,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Al.MOVIES_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Al.MOVIES_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Al.MOVIES_META,required:!0,propName:"meta"},{name:Al.MOVIES_LIST,required:!0,propName:"moviesList"},{name:Al.MOVIES_NAVIGATION,required:!0,propName:"moviesNavigation"},{name:Al.MOVIES_MOST_READ_ASIDE,required:!0,propName:"mostReadArticles"}]},Zp=!0,Nee={name:"news",component:pj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Zp,propName:"headerMini"},{name:Kc.NEWS_BREADCRUMB,required:Zp,propName:"breadcrumb"},{name:Kc.NEWS_HEADER_PAGE,required:Zp,propName:"headerPage"},{name:Kc.NEWS_ARTICLES_BY_TAGS,required:Zp,propName:"articlesByTag"},{name:Kc.NEWS_JSON_LD_BREADCRUMB,required:Zp,propName:"jsonLdBreadcrumb"},{name:Kc.NEWS_META,required:Zp,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:Zp,propName:"toolbar"}]},Dee={name:"partner",component:vj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"}]},Iee={name:"quiz",component:gj,expiration:300,components:[...Qr,{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:Fg.QUIZ_ARTICLES_LIST,required:!0,propName:"articlesList"}]},cm=!0,Ree={name:"rewind",component:yj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:cm,propName:"headerMini"},{name:k0.REWIND_BREADCRUMB,required:cm,propName:"breadcrumb"},{name:k0.REWIND_LIST,required:cm,propName:"rewindList"},{name:k0.REWIND_JSON_LD_BREADCRUMB,required:cm,propName:"jsonLdBreadcrumb"},{name:k0.REWIND_META,required:cm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:cm,propName:"defaultPreload"}]},Xp=!0,Oee={name:"search",component:bj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Xp,propName:"headerMini"},{name:B0.SEARCH_BREADCRUMB,required:Xp,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Xp,propName:"mostReadArticles"},{name:B0.SEARCH_HEADER_PAGE,required:Xp,propName:"headerPage"},{name:B0.SEARCH_JSON_LD_BREADCRUMB,required:Xp,propName:"jsonLdBreadcrumb"},{name:B0.SEARCH_META,required:Xp,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Xp,propName:"defaultPreload"}]},qh=!0,jee={name:"service",component:xj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:qh,propName:"headerMini"},{name:Wc.SERVICE_BREADCRUMB,required:qh,propName:"breadcrumb"},{name:Wc.SERVICE_HEADER_PAGE,required:qh,propName:"headerPage"},{name:Wc.SERVICE_JSON_LD_BREADCRUMB,required:qh,propName:"jsonLdBreadcrumb"},{name:Wc.SERVICE_META,required:qh,propName:"meta"},{name:Wc.SERVICE_CARDS_LIST,required:qh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:qh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:qh,propName:"toolbar"}]},zh=!0,Mee={name:"shoppingGuide",component:Aj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:zh,propName:"headerMini"},{name:$c.SHOPPING_GUIDE_BREADCRUMB,required:zh,propName:"breadcrumb"},{name:$c.SHOPPING_GUIDE_HEADER_PAGE,required:zh,propName:"headerPage"},{name:$c.SHOPPING_GUIDE_JSON_LD_BREADCRUMB,required:zh,propName:"jsonLdBreadcrumb"},{name:$c.SHOPPING_GUIDE_META,required:zh,propName:"meta"},{name:$c.SHOPPING_GUIDE_CARDS_LIST,required:zh,propName:"cardsList"},{name:nt.COMMON_PRELOAD,required:zh,propName:"defaultPreload"},{name:nt.COMMON_TOOLBAR,required:zh,propName:"toolbar"}]},e1=!0,Lee={name:"sitemap",component:_j,expiration:3600*24,components:[...Qr,{name:El.SITEMAP_BREADCRUMB,required:e1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:e1,propName:"mostReadArticles"},{name:El.SITEMAP_HEADER_PAGE,required:e1,propName:"headerPage"},{name:El.SITEMAP_TAGS_LIST,required:e1,propName:"sitemapTagsList"},{name:El.SITEMAP_BOTTOM_BULLETED_LIST,required:e1,propName:"bottomBulletedList"},{name:El.SITEMAP_TOP_BULLETED_LIST,required:e1,propName:"topBulletedList"},{name:El.SITEMAP_META,required:e1,propName:"meta"}]},kee={name:"story",component:wj,expiration:300,components:[...Qr,{name:wr.CONTENT_HEADER_MINI,required:!0,propName:"headerMini"},{name:wr.CONTENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:wr.CONTENT_HEADER,required:!0,propName:"contentHeader"},{name:wr.CONTENT_COVER,required:!0,propName:"cover"},{name:wr.CONTENT_SOCIAL_BAR,required:!0,propName:"socialBar"},{name:wr.CONTENT_SIGNATURE,required:!0,propName:"signature"},{name:Hg.SLIDESHOW_CONTENT,required:!0,propName:"slideshowContent"},{name:Th.STORY_TOP_CONTENT,required:!0,propName:"topContent"},{name:wr.CONTENT_TAG_BAR,required:!0,propName:"tagBar"},{name:wr.CONTENT_SCROLL_PROGRESS_BUTTON,required:!1,propName:"scrollProgressButton"},{name:_l.RUBRIC_MOST_READ_ARTICLES,required:!1,propName:"mostReadArticles"},{name:nt.COMMON_LATEST_CONTENTS_CARROUSEL,required:!1,propName:"latestContentsCarousel"},{name:_l.RUBRIC_RUBRIC_CAROUSELS,required:!1,propName:"rubricCarousels"},{name:_l.RUBRIC_THREE_COLUMNS_ARTICLES,required:!1,propName:"partnerCards"},{name:wr.CONTENT_JSON_LD_BREADCRUMB,required:!1,propName:"jsonLdBreadcrumb"},{name:Th.STORY_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"},{name:wr.CONTENT_META,required:!0,propName:"meta"},{name:Th.STORY_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:wr.CONTENT_COMMENT_V2,required:!0,propName:"comment"},{name:wr.CONTENT_SIDE_BRANDS_ARTICLES,required:!1,propName:"sideBrandsArticles"},{name:wr.CONTENT_HEADER_MOBILE,required:!0,propName:"contentHeaderMobile"}]},Jf=!0,Bee={name:"sport",component:Sj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:Jf,propName:"headerMini"},{name:wl.SPORT_BREADCRUMB,required:Jf,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:Jf,propName:"mostReadArticles"},{name:wl.SPORT_SIDEBAR,required:Jf,propName:"sidebar"},{name:wl.SPORT_HEADER_PAGE,required:Jf,propName:"headerPage"},{name:wl.SPORT_JSON_LD_BREADCRUMB,required:Jf,propName:"jsonLdBreadcrumb"},{name:wl.SPORT_CONTENT,required:Jf,propName:"content"},{name:wl.SPORT_META,required:Jf,propName:"meta"},{name:nt.COMMON_PRELOAD,required:Jf,propName:"defaultPreload"}]},Pee={name:"static",component:Cj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:z1.STATIC_CONTENT,required:!0,propName:"content"},{name:z1.STATIC_META,required:!0,propName:"meta"}]},Fee={name:"tag",component:Tj,expiration:900,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Ka.TAG_OVERVIEW_BAR,required:!1,propName:"overviewBar"},{name:Ka.TAG_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Ka.TAG_HEADER_PAGE,required:!0,propName:"headerPage"},{name:Ka.TAG_ARTICLES_LIST_TOP,required:!0,propName:"articlesListTop"},{name:Ka.TAG_NEWS_CAROUSEL,required:!1,propName:"newsCarousel"},{name:Ka.TAG_ARTICLES_LIST_BOTTOM,required:!0,propName:"articlesListBottom"},{name:Ka.TAG_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Ka.TAG_META,required:!0,propName:"meta"},{name:Ka.TAG_PRELOAD,required:!0,propName:"preload"},{name:nt.COMMON_PRELOAD,required:!0,propName:"defaultPreload"},{name:Ka.TAG_BRAND_PUBLISHING_ARTICLE_BOTTOM,required:!1,propName:"brandPublishingArticleBottom"},{name:nt.COMMON_TOOLBAR,required:!1,propName:"toolbar"}]},t1=!0,Hee={name:"traffic",component:Dj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:t1,propName:"headerMini"},{name:P0.TRAFFIC_BREADCRUMB,required:t1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:t1,propName:"mostReadArticles"},{name:P0.TRAFFIC_HEADER_PAGE,required:t1,propName:"headerPage"},{name:P0.TRAFFIC_JSON_LD_BREADCRUMB,required:t1,propName:"jsonLdBreadcrumb"},{name:P0.TRAFFIC_META,required:t1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:t1,propName:"defaultPreload"}]},Uee={name:"tvHome",component:Ij,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Nh.TV_HOME_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Nh.TV_HOME_META,required:!0,propName:"meta"},{name:Nh.TV_HOME_TOP_BLOCK,required:!0,propName:"topBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},qee={name:"tvLive",component:Rj,expiration:60,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:Yc.TV_LIVE_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:Yc.TV_LIVE_META,required:!0,propName:"meta"},{name:Yc.TV_LIVE_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:Yc.TV_LIVE_TOP_BLOCK,required:!0,propName:"topBlock"},{name:Yc.TV_LIVE_TIMELINE,required:!0,propName:"timeline"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},zee={name:"tvMostRecent",component:Oj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:j0.TV_MOST_RECENT_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:j0.TV_MOST_RECENT_HEADER_PAGE,required:!0,propName:"headerPage"},{name:j0.TV_MOST_RECENT_VIDEOS_LIST,required:!0,propName:"videosList"},{name:j0.TV_MOST_RECENT_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Vee={name:"tvMostViewed",component:jj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:L0.TV_MOST_VIEWED_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:L0.TV_MOST_VIEWED_HEADER_PAGE,required:!0,propName:"headerPage"},{name:L0.TV_MOST_VIEWED_VIDEOS_LIST,required:!0,propName:"videosList"},{name:L0.TV_MOST_VIEWED_META,required:!0,propName:"meta"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Gee={name:"tvShow",component:Mj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:F0.TV_SHOW_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:F0.TV_SHOW_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:F0.TV_SHOW_META,required:!0,propName:"meta"},{name:F0.TV_SHOW_MAIN_BLOCK,required:!0,propName:"mainBlock"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:nt.COMMON_TV_MOST_BLOCK,required:!0,propName:"mostBlock"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"}]},Kee={name:"tvShows",component:Lj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:H0.TV_SHOWS_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:H0.TV_SHOWS_META,required:!0,propName:"meta"},{name:H0.TV_SHOWS_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:H0.TV_SHOWS_PROGRAMS,required:!0,propName:"programs"}]},Wee={name:"tvVideo",component:kj,expiration:300,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:!0,propName:"headerMini"},{name:ko.TV_VIDEO_JSON_LD_BREADCRUMB,required:!0,propName:"jsonLdBreadcrumb"},{name:ko.TV_VIDEO_META,required:!0,propName:"meta"},{name:ko.TV_VIDEO_BREADCRUMB,required:!0,propName:"breadcrumb"},{name:ko.TV_VIDEO_PAGE_TITLE,required:!0,propName:"pageTitle"},{name:ko.TV_VIDEO_TOP_BLOCK,required:!0,propName:"topBlock"},{name:ko.TV_VIDEO_MOST_VIDEOS,required:!0,propName:"mostVideos"},{name:nt.COMMON_TV_SHOWS_REPLAYS_CAROUSEL,required:!0,propName:"showsReplaysCarousel"},{name:ko.TV_VIDEO_BACKGROUND_IMAGE,required:!0,propName:"backgroundImg"},{name:nt.COMMON_TOOLBAR,required:!0,propName:"toolbar"},{name:ko.TV_VIDEO_EXTRACTS_AND_REPLAYS,required:!0,propName:"extractsAndReplays"},{name:ko.TV_VIDEO_JSON_LD_NEWS_ARTICLE,required:!1,propName:"jsonLdNewsArticle"}]},dm=!0,$ee={name:"utiq",component:Bj,expiration:3600,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:dm,propName:"headerMini"},{name:U0.UTIQ_BREADCRUMB,required:dm,propName:"breadcrumb"},{name:U0.UTIQ_HEADER_PAGE,required:dm,propName:"headerPage"},{name:U0.UTIQ_JSON_LD_BREADCRUMB,required:dm,propName:"jsonLdBreadcrumb"},{name:U0.UTIQ_META,required:dm,propName:"meta"},{name:nt.COMMON_PRELOAD,required:dm,propName:"defaultPreload"}]},r1=!0,Yee={name:"weather",component:Pj,expiration:3600*24,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:r1,propName:"headerMini"},{name:q0.WEATHER_BREADCRUMB,required:r1,propName:"breadcrumb"},{name:nt.COMMON_MOST_READ_ARTICLES,required:r1,propName:"mostReadArticles"},{name:q0.WEATHER_HEADER_PAGE,required:r1,propName:"headerPage"},{name:q0.WEATHER_JSON_LD_BREADCRUMB,required:r1,propName:"jsonLdBreadcrumb"},{name:q0.WEATHER_META,required:r1,propName:"meta"},{name:nt.COMMON_PRELOAD,required:r1,propName:"defaultPreload"}]},uv=!0,Qee={name:"whyCreateAccount",component:Fj,expiration:3600*24*30,components:[...Qr,{name:nt.COMMON_HEADER_MINI,required:uv,propName:"headerMini"},{name:Dh.WHY_CREATE_ACCOUNT_BREADCRUMB,required:uv,propName:"breadcrumb"},{name:nt.COMMON_PRELOAD,required:uv,propName:"defaultPreload"},{name:Dh.WHY_CREATE_ACCOUNT_JSON_LD_BREADCRUMB,required:uv,propName:"jsonLdBreadcrumb"},{name:Dh.WHY_CREATE_ACCOUNT_META,required:uv,propName:"meta"}]},Jee=[QX,JX,ZX,XX,eee,tee,ree,nee,aee,iee,oee,see,uee,lee,cee,dee,fee,hee,pee,mee,vee,gee,yee,bee,Aee,xee,_ee,Eee,wee,See,Cee,Tee,Nee,Dee,Iee,Ree,Oee,jee,Mee,Lee,kee,Bee,Pee,Fee,Hee,Uee,qee,zee,Vee,Gee,Kee,Wee,$ee,Yee,Qee];we.AIArticlesList=bb,we.Accordion=qg,we.AdIframePage=TO,we.AnimalQuizPage=MO,we.ArchiveByDayPage=LO,we.ArchiveByYearPage=kO,we.ArchivePdfList=lR,we.ArticleMobileHeader=dR,we.ArticlePage=HO,we.ArticleSummary=JD,we.ArticlesBlockHeader=w3,we.ArticlesInRow=rd,we.ArticlesInRowMap=FR,we.ArticlesListTop=KR,we.ArticlesWithMain=K2,we.AstroHomePage=UO,we.AstroHomepageContent=ZD,we.AstroLinksNextTypes=XD,we.AstroPage=qO,we.BackgroundImage=M5,we.BlockedGameBlock=aI,we.BulletedListMap=pR,we.COMPONENT_CONFIGS=TX,we.CardExtraLarge=s$,we.CardMostList=$R,we.CardWithSummaryList=YR,we.CardsList=jl,we.CityByCityBlock=TR,we.ComponentNameAdIframe=Pg,we.ComponentNameAnimalQuiz=qc,we.ComponentNameArchives=ao,we.ComponentNameArticle=xl,we.ComponentNameAstro=ka,we.ComponentNameCommon=nt,we.ComponentNameContact=Uu,we.ComponentNameContent=wr,we.ComponentNameDirect=Hd,we.ComponentNameElections=ar,we.ComponentNameElectionsAiArticles=zc,we.ComponentNameError=q1,we.ComponentNameExtTefal=Ch,we.ComponentNameGame=Vn,we.ComponentNameHome=Ir,we.ComponentNameJobs=wa,we.ComponentNameJournalist=lc,we.ComponentNameLa21e=Vc,we.ComponentNameLegalNotice=la,we.ComponentNameLive=fu,we.ComponentNameMobileApps=Gc,we.ComponentNameMostCommented=R0,we.ComponentNameMostRead=O0,we.ComponentNameMostShared=M0,we.ComponentNameMovies=Al,we.ComponentNameNews=Kc,we.ComponentNameQuiz=Fg,we.ComponentNameRewind=k0,we.ComponentNameRubric=_l,we.ComponentNameSearch=B0,we.ComponentNameService=Wc,we.ComponentNameShoppingGuide=$c,we.ComponentNameSitemap=El,we.ComponentNameSlideshow=Hg,we.ComponentNameSport=wl,we.ComponentNameStatic=z1,we.ComponentNameStory=Th,we.ComponentNameTag=Ka,we.ComponentNameTraffic=P0,we.ComponentNameTvHome=Nh,we.ComponentNameTvLive=Yc,we.ComponentNameTvMostRecent=j0,we.ComponentNameTvMostViewed=L0,we.ComponentNameTvShow=F0,we.ComponentNameTvShows=H0,we.ComponentNameTvVideo=ko,we.ComponentNameUtiq=U0,we.ComponentNameWeather=q0,we.ComponentNameWhyCreateAccount=Dh,we.ContactAddresses=mR,we.ContactDetails=vR,we.ContactForm=gR,we.ContactPage=zO,we.Content=rm,we.ContentCover=t8,we.ContentTemplate=q3,we.DigitekaSmartPlayer=vb,we.DirectPage=VO,we.DirectTabs=gJ,we.ElectionsAIArticlesPage=GO,we.ElectionsDistribution=yR,we.ElectionsEmbedPage=KO,we.ElectionsHomePage=WO,we.ElectionsMapConstituencies=bR,we.ElectionsMapDepartments=xR,we.ElectionsMapEurope=AR,we.ElectionsMapTownsByDepartments=_R,we.ElectionsMultipleResults=ER,we.ElectionsPage=$O,we.ElectionsResults=im,we.ElectionsResultsFiltered=wR,we.ElectionsSummary=SR,we.EntertainmentBlock=L5,we.EntertainmentCarousel=o8,we.ErrorPage=YO,we.ExtTefalPage=QO,we.ExternalAdElement=R9,we.ExtraSmallArticlesBlock=NR,we.Faq=k5,we.FaqList=rI,we.FavoriteGamesBlock=yJ,we.GameAd=O9,we.GameAppPage=JO,we.GameContact=nI,we.GameHomePage=ZO,we.GameIframe=P5,we.GamePage=XO,we.GamePageHeader=n8,we.GamesAccordion=H5,we.GamesCarousel=DR,we.GamesList=i8,we.HeaderPage=Bo,we.HomePage=ej,we.HomeTopBlock=IR,we.HomeVideosTopBlock=QR,we.HtmlComment=Sl,we.HtmlTemplate=av,we.IdalgoWidget=gb,we.ImagesGrid=iI,we.InfoBanner=C3,we.InfoLine=oI,we.JobDetailsPage=tj,we.JobsPage=rj,we.JournalistPage=nj,we.JsonLdBreadcrumb=Ra,we.JsonLdClaimReview=j9,we.JsonLdFaq=yb,we.JsonLdLiveBlogPosting=M9,we.JsonLdNewsArticle=Ug,we.La21ePage=aj,we.LastArticlesBlock=T3,we.LatestContentsCarousel=fR,we.LegalNoticeCardsList=N3,we.LegalNoticeContent=sI,we.LegalNoticeDepartmentPage=ij,we.LegalNoticeHomePage=oj,we.LegalNoticePage=sj,we.LiveInProgressBlock=O2,we.LiveIndicator=U5,we.LivePage=uj,we.LivePost=kR,we.LivePostContent=uI,we.LivePostsContainer=h8,we.LivePostsThread=BR,we.LocalNews=RR,we.MainInformationBlock=LR,we.Meta=En,we.MobileAppsPage=lj,we.MonthsList=cR,we.MostCommentedPage=cj,we.MostReadArticles=s8,we.MostReadArticlesBlock=B3,we.MostReadPage=dj,we.MostSharedPage=fj,we.MoviesList=PR,we.MoviesNavigation=lI,we.MoviesPage=hj,we.MunicipalBlock=OR,we.NewsPage=pj,we.PAGE_CONFIGS=Jee,we.PageTemplate=Wr,we.PageType=cn,we.PartnerPage=vj,we.PartnersBlock=jR,we.Preload=V1,we.PromoBanner=j2,we.QuizList=HR,we.QuizPage=gj,we.REACTION_TYPES=Bg,we.ReadAlsoBlock=hR,we.RefreshButton=k9,we.RewindList=UR,we.RewindPage=yj,we.RubricsCarousels=r8,we.ScriptGlobalsInit=L9,we.SearchBanner=rR,we.SearchPage=bj,we.Section=Ph,we.ServicePage=xj,we.ShoppingGuidePage=Aj,we.ShowCover=nR,we.ShowMainBlock=eO,we.ShowsReplaysCarousel=tO,we.SideBrandsArticles=P3,we.SitemapPage=_j,we.SitemapTagsList=qR,we.SlideshowPage=wj,we.SlideshowStories=zR,we.SlideshowStory=aR,we.SponsoredBlock=vJ,we.SportPage=Sj,we.SportSidebar=VR,we.StaticCardList=W2,we.StaticContent=iR,we.StaticPage=Cj,we.TagCarousel=GR,we.TagPage=Tj,we.TemplateType=U3,we.ThirdpartyScripts=D9,we.TrafficPage=Dj,we.TvBlock=MR,we.TvExtractsAndReplaysBlock=u8,we.TvHomePage=Ij,we.TvLivePage=Rj,we.TvLiveTopBlock=oR,we.TvMostBlock=WR,we.TvMostRecentPage=Oj,we.TvMostViewedPage=jj,we.TvShowPage=Mj,we.TvShowsPage=Lj,we.TvVideoPage=kj,we.TvVideoTopBlock=sR,we.UtiqPage=Bj,we.WeatherPage=Pj,we.WhyCreateAccountPage=Fj,we.YearsList=uR,we.displayContentDate=XU,we.draftToHTML=tm,we.draftToReact=Yd,we.excludedRubricsForReactions=wO,we.formatDateWithSlash=fb,we.formatTimestampToYYYYMMDD=aq,we.fromGlobalId=I5,we.getDepartmentFromTags=pO,we.getDepartments=hO,we.getEmptyReactionListItems=mb,we.getFormatedRelativeTime=cb,we.getIllustrationPhoto=Fh,we.getImageCaption=$2,we.getReactionCount=C9,we.getReactionListItems=T9,we.getStoryMedias=Up,we.getTabItem=J2,we.getThemeColorBySlug=Q2,we.isNotNullOrUndefined=f8,we.mockDaysAgo=nq,we.mockHoursAgo=rq,we.mockMinutesAgo=tq,we.secondsToMinSec=kg,we.toGlobalId=QW,we.transformArticlesForDirectPage=oO,we.transformArticlesForJournalistPage=vO,we.transformArticlesForQuizPage=SO,we.transformArticlesForTagPage=g8,we.transformContentsForLatestContentsCarousel=aO,we.transformContentsForLiveAndMostRead=iO,we.transformContentsForLocalNews=mO,we.transformContentsForMostRead=CO,we.transformContentsForMostReadPage=_O,we.transformContentsForTVExtractsOrReplays=ZR,we.transformDateFormat=hb,we.transformLegalNoticesForLegalPage=d8,we.transformLivePostsForLivePage=yO,we.transformMoviesForMoviesPage=EO,we.transformPDFsForArchivePage=rO,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})}));
|