1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return l},formatWithValidation:function(){return d},urlObjectKeys:function(){return o}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",l=e.hash||"",o=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:r&&(d=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(d+=":"+e.port)),o&&"object"==typeof o&&(o=String(n.urlQueryToSearchParams(o)));let c=e.search||o&&`?${o}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||s.test(a))&&!1!==d?(d="//"+(d||""),i&&"/"!==i[0]&&(i="/"+i)):d||(d=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${a}${d}${i}${c}${l}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return l(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let a=e.r(71645);function i(e,t){let r=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=n(e,a)),t&&(i.current=n(t,a))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return n}});let a=e.r(18967),i=e.r(52817);function n(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return g},useLinkStatus:function(){return b}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(90809),s=e.r(43476),l=n._(e.r(71645)),o=e.r(95057),d=e.r(8372),c=e.r(18581),u=e.r(18967),h=e.r(5550);e.r(33525);let f=e.r(88540),m=e.r(91949),p=e.r(73668),x=e.r(9396);function g(t){var r,a;let i,n,g,[b,v]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),j=(0,l.useRef)(null),{href:_,as:w,children:S,prefetch:N=null,passHref:k,replace:R,shallow:C,scroll:z,onClick:E,onMouseEnter:P,onTouchStart:L,legacyBehavior:T=!1,onNavigate:O,transitionTypes:I,ref:F,unstable_dynamicOnHover:U,...$}=t;i=S,T&&("string"==typeof i||"number"==typeof i)&&(i=(0,s.jsx)("a",{children:i}));let A=l.default.useContext(d.AppRouterContext),B=!1!==N,M=!1!==N?null===(a=N)||"auto"===a?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,D="string"==typeof(r=w||_)?r:(0,o.formatUrl)(r);if(T){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=l.default.Children.only(i)}let W=T?n&&"object"==typeof n&&n.ref:F,q=l.default.useCallback(e=>(null!==A&&(j.current=(0,m.mountLinkInstance)(e,D,A,M,B,v)),()=>{j.current&&((0,m.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,m.unmountPrefetchableInstance)(e)}),[B,D,A,M,v]),K={ref:(0,c.useMergedRef)(q,W),onClick(t){T||"function"!=typeof E||E(t),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!A||t.defaultPrevented||function(t,r,a,i,n,s,o){if("u">typeof window){let d,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(r,i?"replace":"push",!1===n?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,a.current,o)})}}(t,D,j,R,z,O,I)},onMouseEnter(e){T||"function"!=typeof P||P(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),A&&B&&(0,m.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){T||"function"!=typeof L||L(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),A&&B&&(0,m.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,u.isAbsoluteUrl)(D)?K.href=D:T&&!k&&("a"!==n.type||"href"in n.props)||(K.href=(0,h.addBasePath)(D)),g=T?l.default.cloneElement(n,K):(0,s.jsx)("a",{...$,...K,children:i}),(0,s.jsx)(y.Provider,{value:b,children:g})}e.r(84508);let y=(0,l.createContext)(m.IDLE_LINK_STATUS),b=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63676,e=>{"use strict";let t=(0,e.i(56420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],63676)},96041,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(22016),i=e.i(63676),n=e.i(26732),s=e.i(56612);e.s(["default",0,function(){let{status:e}=(0,n.useSession)(),[l,o]=(0,r.useState)(!1),d="banner-abo-special-offer-mobile";return((0,r.useEffect)(()=>{document.cookie.split("; ").find(e=>e.startsWith(`${d}=`))||o(!0)},[]),"unauthenticated"===e&&l)?(0,t.jsxs)("aside",{className:"banner-abo banner-sticky","data-cookie-container":"","data-name":d,children:[(0,t.jsx)(a.default,{className:"banner-wrap ithalc",href:s.MEMBERSHIP_JOIN_URL,"data-ithalc":"[cta_abo]","data-ithal":"footer_bandeau",children:"Support our journalism. Become a member"}),(0,t.jsxs)("button",{type:"button",className:"banner-close ithalc",title:"Close subscription banner","data-cookie-name":d,"data-cookie-expiration":"1","data-ithalc":"[cta_bloc]","data-ithal":"footer_bandeau_close",onClick:()=>{o(!1);let e=new Date;e.setTime(e.getTime()+864e5),document.cookie=`${d}=true; expires=${e.toUTCString()}; path=/; SameSite=Lax`},children:[(0,t.jsx)(i.X,{size:18,strokeWidth:2,"aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:"Close subscription banner"})]})]}):null}])},16015,(e,t,r)=>{},98547,(e,t,r)=>{var a=e.i(47167);e.r(16015);var i=e.r(71645),n=i&&"object"==typeof i&&"default"in i?i:{default:i},s=void 0!==a.default&&a.default.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,r=t.name,a=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,n=void 0===i?s:i;d(l(a),"`name` must be a string"),this._name=a,this._deletedRulePlaceholder="#"+a+"-deleted-rule____{}",d("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(d(l(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var a=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,a))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(a){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}
1}else{var a=this._tags[e];d(a,"old rule at index `"+e+"` not found"),a.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&d(l(t),"makeStyleTag accepts only strings as second parameter");var a=document.createElement("style");this._nonce&&a.setAttribute("nonce",this._nonce),a.type="text/css",a.setAttribute("data-"+e,""),t&&a.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(a,r):i.appendChild(a),a},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},u={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),a=e+r;return u[a]||(u[a]="jsx-"+c(e+"-"+r)),u[a]}function f(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return u[r]||(u[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[r]}var m=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,a=void 0===r?null:r,i=t.optimizeForSpeed,n=void 0!==i&&i;this._sheet=a||new o({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),a&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),a=r.styleId,i=r.rules;if(a in this._instancesCounts){this._instancesCounts[a]+=1;return}var n=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[a]=n,this._instancesCounts[a]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var a=this._fromServer&&this._fromServer[r];a?(a.parentNode.removeChild(a),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],a=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:a}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,a=e.id;if(r){var i=h(a,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:h(a),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=i.createContext(null);function x(){return new m}function g(){return i.useContext(p)}p.displayName="StyleSheetContext";var y=n.default.useInsertionEffect||n.default.useLayoutEffect,b="u">typeof window?x():void 0;function v(e){var t=b||g();return t&&("u"<typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,a=i.useContext(p),s=i.useState(function(){return a||t||x()})[0];return n.default.createElement(p.Provider,{value:s},r)},r.createStyleRegistry=x,r.style=v,r.useStyleRegistry=g},37902,(e,t,r)=>{t.exports=e.r(98547).style},97411,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(18566),i=e.i(26732);let n=(0,e.i(56420).default)("bookmark",[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);async function s(e){try{let t=await fetch("/api/save-article",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(t.ok)return"ok";return 401===t.status?"unauthenticated":"error"}catch{return"error"}}async function l(e){try{let t=await fetch("/api/unsave-article",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({articleId:e})});if(t.ok)return"ok";return 401===t.status?"unauthenticated":"error"}catch{return"error"}}async function o(e){try{let t=await fetch(`/api/is-saved?articleId=${encodeURIComponent(String(e))}`);if(!t.ok)return!1;return!!(await t.json()).saved}catch{return!1}}let d="tfe_pending_bookmark";var c=e.i(37902),u=e.i(74080),h=e.i(56612);function f({open:e,onClose:a,onLoginClick:i,title:n="Save this for later?",description:s="This feature is reserved for our members."}){return((0,r.useEffect)(()=>
1{if(!e)return;let t=e=>{"Escape"===e.key&&a()};document.addEventListener("keydown",t);let r=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=r}},[e,a]),e)?(0,u.createPortal)((0,t.jsxs)("div",{role:"presentation",onClick:e=>{e.target===e.currentTarget&&a()},className:"jsx-91a1e583909ea985 tfe-auth-modal-overlay",children:[(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"tfe-auth-modal-title",className:"jsx-91a1e583909ea985 tfe-auth-modal",children:[(0,t.jsx)("button",{type:"button",onClick:a,"aria-label":"Close",className:"jsx-91a1e583909ea985 tfe-auth-modal__close",children:"â"}),(0,t.jsx)("p",{id:"tfe-auth-modal-title",className:"jsx-91a1e583909ea985 tfe-auth-modal__title",children:n}),(0,t.jsx)("p",{className:"jsx-91a1e583909ea985 tfe-auth-modal__desc",children:s}),(0,t.jsxs)("div",{className:"jsx-91a1e583909ea985 tfe-auth-modal__actions",children:[(0,t.jsx)("a",{href:h.WP_REGISTER_URL,className:"jsx-91a1e583909ea985 tfe-auth-modal__btn tfe-auth-modal__btn--primary",children:"Create account"}),(0,t.jsx)("button",{type:"button",onClick:i,className:"jsx-91a1e583909ea985 tfe-auth-modal__btn tfe-auth-modal__btn--secondary",children:"Log in"})]})]}),(0,t.jsx)(c.default,{id:"91a1e583909ea985",children:".tfe-auth-modal-overlay.jsx-91a1e583909ea985{z-index:9999;background:#2828288c;justify-content:center;align-items:center;padding:16px;animation:.15s tfe-auth-fade-in;display:flex;position:fixed;inset:0}.tfe-auth-modal.jsx-91a1e583909ea985{background:#fff;border-top:4px solid #6d2929;border-radius:0;width:100%;max-width:380px;padding:32px 28px 28px;animation:.18s tfe-auth-modal-in;position:relative;box-shadow:0 20px 60px #00000040}@keyframes tfe-auth-fade-in{0%{opacity:0}to{opacity:1}}@keyframes tfe-auth-modal-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.tfe-auth-modal-overlay.jsx-91a1e583909ea985,.tfe-auth-modal.jsx-91a1e583909ea985{animation:none}}.tfe-auth-modal__close.jsx-91a1e583909ea985{color:#9a9a97;cursor:pointer;background:0 0;border:none;border-radius:50%;width:32px;height:32px;font-size:16px;position:absolute;top:12px;right:12px}.tfe-auth-modal__close.jsx-91a1e583909ea985:hover{color:#282828;background:#f5f4f2}.tfe-auth-modal__title.jsx-91a1e583909ea985{color:#282828;margin:0 0 10px;padding-right:20px;font-size:21px;font-weight:700}.tfe-auth-modal__desc.jsx-91a1e583909ea985{color:#58514f;margin:0 0 24px;font-size:14px;line-height:1.5}.tfe-auth-modal__actions.jsx-91a1e583909ea985{flex-direction:column;gap:10px;display:flex}.tfe-auth-modal__btn.jsx-91a1e583909ea985{box-sizing:border-box;text-align:center;cursor:pointer;border:none;border-radius:8px;width:100%;padding:12px;font-size:14px;font-weight:700;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s;display:block}.tfe-auth-modal__btn--primary.jsx-91a1e583909ea985{color:#fff;background:#6d2929}.tfe-auth-modal__btn--primary.jsx-91a1e583909ea985:hover{background:#571f1f}.tfe-auth-modal__btn--secondary.jsx-91a1e583909ea985{color:#6d2929;background:#fff;border:1px solid #6d2929}.tfe-auth-modal__btn--secondary.jsx-91a1e583909ea985:hover{background:#f7eaea}"})]}),document.body):null}e.s(["default",0,function({articleId:e,slug:c,title:u,link:h,imageUrl:m,category:p,initialSaved:x=!1,showLabel:g=!1,className:y}){let{status:b}=(0,i.useSession)(),v=(0,a.useRouter)(),[j,_]=(0,r.useState)(x),[w,S]=(0,r.useState)(!1),[N,k]=(0,r.useState)(!1),[R,C]=(0,r.useState)(!1),z=(0,r.useRef)(!1);function E(){return{articleId:e,slug:c,title:u,link:h,imageUrl:m,category:p}}async function P(){if(w)return;if("authenticated"!==b)return void k(!0);C(!1),S(!0);let t=j?await l(e):await s(E());S(!1),"ok"===t?_(!j):"unauthenticated"===t?((0,i.signOut)({redirect:!1}),k(!0)):(console.error(`[bookmark] ${j?"unsave":"save"} failed for article ${e} â check TFE_MEMBERSHIP_API_URL/TFE_MEMBERSHIP_API_KEY and the WP response.`),C(!0))}(0,r.useEffect)(()=>{if("loading"===b||z.current||(z.current=!0,"authenticated"!==b))return;let t=function(e){try{let t=sessionStorage.getItem(d);if(!t)return null;let r=JSON.parse(t);if(Date.now()-r.ts>6e5)return sessionStorage.removeItem(d),null;if(String(r.articleId)!==String(e))return null;sessionStorage.removeItem(d);let{ts:a,...i}=r;return i}catch{return null}}(e);if(t){S(!0),s(t).then(e=>{S(!1),"ok"===e?_(!0):"unauthenticated"===e&&(0,i.signOut)({redirect:!1})});return}o(e).then(_)},[b,e]);let L=j?"Remove from saved articles":"Save article";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",className:`favorites${y?` ${y}`:""}`,"data-in-favorites":j,"aria-pressed":j,disabled:w,"data-model":"button",title:R?"Something went wrong. Please try again.":L,onClick:P,children:[(0,t.jsx)(n,{size:18,strokeWidth:2,"aria-hidden":"true",fill:j?"currentColor":"none"}),(0,t.jsx)("span",{className:g?"action":"action sr-only",children:L})]}),R&&(0,t.jsx)("span",{role:"status",style:{fontSize:11,color:"#c0392b",marginLeft:4},children:"Couldn't save. Try again."}),(0,t.jsx)(f,{open:N,onClose:()=>k(!1),onLoginClick:function(){var e=E();try{let t={...e,ts:Date.now()};sessionStorage.setItem(d,JSON.stringify(t))}catch{}let t=window.location.pathname+window.location.search;k(!1),v.push(`/connexion?callbackUrl=${encodeURIComponent(t)}`)},title:"Save this for later?",description:"This feature is reserved for our members."})]})}],97411)},34834,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(37902),i=e.i(74080);function n({open:e,email:s,onCancel:l,onAccept:o,submitting:d=!1}){let[c,u]=(0,r.useState)(!1),h=(0,r.useRef)(null),f=(0,r.useRef)(null);return((0,r.useEffect)(()=>{e&&u(!1)},[e]),(0,r.useEffect)(()=>
1{if(!e)return;f.current=document.activeElement,h.current?.focus();let t=e=>{"Escape"===e.key&&l()};document.addEventListener("keydown",t);let r=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=r,f.current?.focus?.()}},[e,l]),e)?(0,i.createPortal)((0,t.jsxs)("div",{role:"presentation",onClick:e=>{e.target!==e.currentTarget||d||l()},className:"jsx-aaed273bf120e5d7 tfe-nl-modal-overlay",children:[(0,t.jsxs)("div",{ref:h,role:"dialog","aria-modal":"true","aria-labelledby":"tfe-nl-modal-title","aria-describedby":"tfe-nl-modal-desc",tabIndex:-1,className:"jsx-aaed273bf120e5d7 tfe-nl-modal",children:[(0,t.jsx)("button",{type:"button",onClick:l,disabled:d,"aria-label":"Close",className:"jsx-aaed273bf120e5d7 tfe-nl-modal__close",children:"â"}),(0,t.jsx)("p",{id:"tfe-nl-modal-title",className:"jsx-aaed273bf120e5d7 tfe-nl-modal__title",children:"One last step"}),(0,t.jsxs)("p",{id:"tfe-nl-modal-desc",className:"jsx-aaed273bf120e5d7 tfe-nl-modal__desc",children:["Weâll use ",(0,t.jsx)("strong",{className:"jsx-aaed273bf120e5d7",children:s}),"to send you The Fourth Estateâs newsletter. We never share it with third parties, and you can unsubscribe from any email we send."]}),(0,t.jsxs)("a",{href:"/privacy",target:"_blank",rel:"noopener noreferrer",className:"jsx-aaed273bf120e5d7 tfe-nl-modal__policy",children:["Read our Privacy Policy",(0,t.jsx)("span",{"aria-hidden":"true",className:"jsx-aaed273bf120e5d7",children:" â"})]}),(0,t.jsxs)("label",{className:"jsx-aaed273bf120e5d7 tfe-nl-modal__consent",children:[(0,t.jsx)("input",{type:"checkbox",checked:c,onChange:e=>u(e.target.checked),disabled:d,className:"jsx-aaed273bf120e5d7"}),(0,t.jsx)("span",{className:"jsx-aaed273bf120e5d7",children:"I have read and accept the Privacy Policy."})]}),(0,t.jsxs)("div",{className:"jsx-aaed273bf120e5d7 tfe-nl-modal__actions",children:[(0,t.jsx)("button",{type:"button",onClick:o,disabled:!c||d,className:"jsx-aaed273bf120e5d7 tfe-nl-modal__btn tfe-nl-modal__btn--primary",children:d?"Subscribingâ¦":"Confirm subscription"}),(0,t.jsx)("button",{type:"button",onClick:l,disabled:d,className:"jsx-aaed273bf120e5d7 tfe-nl-modal__btn tfe-nl-modal__btn--secondary",children:"Cancel"})]})]}),(0,t.jsx)(a.default,{id:"aaed273bf120e5d7",children:".tfe-nl-modal-overlay.jsx-aaed273bf120e5d7{z-index:9999;background:#2828288c;justify-content:center;align-items:center;padding:16px;animation:.15s tfe-nl-fade-in;display:flex;position:fixed;inset:0}.tfe-nl-modal.jsx-aaed273bf120e5d7{text-align:left;background:#fff;border-top:4px solid #6d2929;border-radius:0;width:100%;max-width:420px;padding:32px 28px 28px;animation:.18s tfe-nl-modal-in;position:relative;box-shadow:0 20px 60px #00000040}.tfe-nl-modal.jsx-aaed273bf120e5d7:focus{outline:none}@keyframes tfe-nl-fade-in{0%{opacity:0}to{opacity:1}}@keyframes tfe-nl-modal-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.tfe-nl-modal-overlay.jsx-aaed273bf120e5d7,.tfe-nl-modal.jsx-aaed273bf120e5d7{animation:none}}.tfe-nl-modal__close.jsx-aaed273bf120e5d7{color:#9a9a97;cursor:pointer;background:0 0;border:none;border-radius:50%;width:32px;height:32px;font-size:16px;position:absolute;top:12px;right:12px}.tfe-nl-modal__close.jsx-aaed273bf120e5d7:hover:not(:disabled){color:#282828;background:#f5f4f2}.tfe-nl-modal__title.jsx-aaed273bf120e5d7{color:#282828;margin:0 0 10px;padding-right:20px;font-size:21px;font-weight:700}.tfe-nl-modal__desc.jsx-aaed273bf120e5d7{color:#58514f;overflow-wrap:anywhere;margin:0 0 16px;font-size:14px;line-height:1.5}.tfe-nl-modal__policy.jsx-aaed273bf120e5d7{color:#6d2929;margin:0 0 20px;font-size:14px;font-weight:700;text-decoration:underline;display:inline-block}.tfe-nl-modal__consent.jsx-aaed273bf120e5d7{color:#282828;cursor:pointer;align-items:flex-start;gap:10px;margin:0 0 24px;font-size:14px;line-height:1.4;display:flex}.tfe-nl-modal__consent.jsx-aaed273bf120e5d7 input.jsx-aaed273bf120e5d7{accent-color:#6d2929;cursor:pointer;flex:none;width:16px;height:16px;margin-top:1px}.tfe-nl-modal__actions.jsx-aaed273bf120e5d7{flex-direction:column;gap:10px;display:flex}.tfe-nl-modal__btn.jsx-aaed273bf120e5d7{box-sizing:border-box;text-align:center;cursor:pointer;border:none;border-radius:8px;width:100%;padding:12px;font-size:14px;font-weight:700;transition:background-color .15s,color .15s,border-color .15s,opacity .15s;display:block}.tfe-nl-modal__btn.jsx-aaed273bf120e5d7:disabled{opacity:.5;cursor:default}.tfe-nl-modal__btn--primary.jsx-aaed273bf120e5d7{color:#fff;background:#6d2929}.tfe-nl-modal__btn--primary.jsx-aaed273bf120e5d7:hover:not(:disabled){background:#571f1f}.tfe-nl-modal__btn--secondary.jsx-aaed273bf120e5d7{color:#6d2929;background:#fff;border:1px solid #6d2929}.tfe-nl-modal__btn--secondary.jsx-aaed273bf120e5d7:hover:not(:disabled){background:#f7eaea}"})]}),document.body):null}
1let s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,l={invalid_email:"Please enter a valid email address.",consent_required:"Please accept the Privacy Policy to subscribe.",not_configured:"Our newsletter service is not configured yet. Please try again later.",upstream_error:"Our newsletter provider refused the request. Please try again in a moment.",upstream_unreachable:"We could not reach our newsletter provider. Please try again in a moment."};e.s(["default",0,function(){let[e,a]=(0,r.useState)(""),[i,o]=(0,r.useState)("idle"),[d,c]=(0,r.useState)(null),[u,h]=(0,r.useState)(null),f=async()=>{o("loading");try{let t=await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e.trim(),consent:!0})}),r=await t.json().catch(()=>null);if(!t.ok){c(r?.error??`http_${t.status}`),h(r?.reason??r?.missing?.join(", ")??null),o("error");return}o("success")}catch{c("network_error"),h(null),o("error")}};return"success"===i?(0,t.jsx)("section",{className:"newsletter-signup",children:(0,t.jsxs)("div",{className:"newsletter-signup-inner",children:[(0,t.jsx)("h2",{className:"newsletter-signup-title",children:"Thanks for subscribing!"}),(0,t.jsx)("p",{className:"newsletter-signup-text",children:"Youâre on the list. Our next newsletter will land in your inbox."})]})}):(0,t.jsxs)("section",{className:"newsletter-signup",children:[(0,t.jsxs)("div",{className:"newsletter-signup-inner",children:[(0,t.jsx)("h2",{className:"newsletter-signup-title",children:"Journalism That Serves The Peopleâs Interest"}),(0,t.jsx)("p",{className:"newsletter-signup-text",children:"Sign up for The Fourth Estateâs newsletter and get our latest stories delivered straight to your inbox."}),(0,t.jsxs)("form",{className:"newsletter-signup-form",onSubmit:t=>{if(t.preventDefault(),"loading"===i)return;let r=e.trim();if(!s.test(r)){c("invalid_email"),h(null),o("error");return}c(null),h(null),o("consent")},children:[(0,t.jsx)("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Email"}),(0,t.jsx)("input",{id:"newsletter-email",name:"email",type:"email",placeholder:"Email",required:!0,value:e,onChange:e=>a(e.target.value),className:"newsletter-signup-input"}),(0,t.jsx)("button",{type:"submit",className:"newsletter-signup-button",disabled:"loading"===i,children:"loading"===i?"Subscribingâ¦":"Subscribe"})]}),"error"===i&&(0,t.jsxs)("p",{className:"newsletter-signup-error",children:[(d&&l[d])??"Something went wrong. Please try again.",d&&(0,t.jsxs)("span",{className:"newsletter-signup-error-code",children:[" ","(",d,u?` â ${u}`:"",")"]})]})]}),(0,t.jsx)(n,{open:"consent"===i||"loading"===i,email:e.trim(),submitting:"loading"===i,onCancel:()=>o("idle"),onAccept:f})]})}],34834)},11810,e=>{"use strict";var t=e.i(43476),r=e.i(57688),a=e.i(97411);e.s(["default",0,function({article:e,headingLevel:i,sizes:n="(max-width: 759px) 100vw, 640px"}){let s=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)("picture",{children:(0,t.jsx)(r.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:n,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?void 0:"lazy",onError:e=>{e.currentTarget.classList.add("img--error")},alt:""})})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)(i,{id:`title-${e.id}`,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(a.default,{articleId:e.id,slug:s,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}])},44916,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(57688);e.s(["default",0,function({episode:e}){let[i,n]=(0,r.useState)(!1);return i?(0,t.jsx)("div",{className:"podcast-promo-widget",children:(0,t.jsx)("div",{className:"podcast-promo-embed",children:(0,t.jsx)("iframe",{src:`https://open.spotify.com/embed/episode/${e.id}?utm_source=generator`,width:"100%",height:"152",frameBorder:"0",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",title:e.title})})}):(0,t.jsx)("div",{className:"podcast-promo-widget",children:(0,t.jsxs)("button",{type:"button",className:"podcast-promo-bar",onClick:()=>n(!0),"aria-label":`Play ${e.title}`,children:[(0,t.jsx)("span",{className:"podcast-promo-thumb",children:(0,t.jsx)(a.default,{src:e.cover,alt:"",width:64,height:64,loading:"lazy"})}),(0,t.jsxs)("span",{className:"podcast-promo-info",children:[(0,t.jsx)("span",{className:"podcast-promo-label",children:"Latest episode"}),(0,t.jsx)("span",{className:"podcast-promo-title",children:e.title})]}),(0,t.jsx)("span",{className:"podcast-promo-play","aria-hidden":"true",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})]})})}])},75854,10219,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-big-left",[["path",{d:"M10.793 19.793a.707.707 0 0 0 1.207-.5V16a1 1 0 0 1 1-1h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-6a1 1 0 0 1-1-1V4.707a.707.707 0 0 0-1.207-.5l-6.94 6.94a1.207 1.207 0 0 0 0 1.707z",key:"qbhtmx"}]]);e.s(["ArrowBigLeft",0,t],75854);var r=e.i(71645);e.s(["useSlider",0,function(){let e=(0,r.useRef)(null),[t,a]=(0,r.useState)(!1),[i,n]=(0,r.useState)(!1),s=(0,r.useCallback)(()=>{let t=e.current;t&&(a(t.scrollLeft>4),n(t.scrollLeft+t.clientWidth<t.scrollWidth-4))},[]);(0,r.useEffect)(()=>{let t=e.current;if(t)return s(),t.addEventListener("scroll",s,{passive:!0}
1),window.addEventListener("resize",s),()=>{t.removeEventListener("scroll",s),window.removeEventListener("resize",s)}},[s]);let l=t=>{let r=e.current;r&&r.scrollBy({left:t*r.clientWidth*.8,behavior:"smooth"})};return{wrapRef:e,canScrollLeft:t,canScrollRight:i,scrollLeft:()=>l(-1),scrollRight:()=>l(1)}}],10219)},35610,e=>{"use strict";var t=e.i(43476),r=e.i(22016),a=e.i(57688),i=e.i(97411);function n({article:e,index:r,sizes:s="(max-width: 759px) 200px, 320px"}){let l=`title-${e.id}-${r}`,o=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)(a.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:s,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?"eager":"lazy",onError:e=>{e.currentTarget.classList.add("img--error")},alt:""})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{id:l,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(i.default,{articleId:e.id,slug:o,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}var s=e.i(10219),l=e.i(75854),o=e.i(69519);e.s(["default",0,function({articles:e,title:a="General News"}){let{wrapRef:i,canScrollLeft:d,canScrollRight:c,scrollLeft:u,scrollRight:h}=(0,s.useSlider)();return e.length?(0,t.jsxs)("section",{className:"zone zone-type zone-archives","data-slider":"",children:[(0,t.jsx)(r.default,{href:"/category/general-news",className:"section-title",children:a}),(0,t.jsx)("div",{className:"wrap","data-slider-wrap":"",ref:i,children:e.map((e,r)=>(0,t.jsx)(n,{article:e,index:r},e.id))}),(0,t.jsxs)("div",{"data-slider-controls":"",children:[(0,t.jsx)("button",{type:"button","data-slider-left":"","aria-label":"Précédent","data-fade":!d,onClick:u,children:(0,t.jsx)(l.ArrowBigLeft,{size:18,strokeWidth:2,"aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button","data-slider-right":"","aria-label":"Suivant","data-fade":!c,onClick:h,children:(0,t.jsx)(o.ArrowBigRight,{size:18,strokeWidth:2,"aria-hidden":"true"})})]})]}):null}],35610)},57437,e=>{"use strict";var t=e.i(43476),r=e.i(22016),a=e.i(57688),i=e.i(97411);function n({article:e,index:r,sizes:s="(max-width: 759px) 200px, 320px"}){let l=`title-${e.id}-${r}`,o=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)("picture",{children:(0,t.jsx)(a.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:s,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?"eager":"lazy",onError:e=>{e.currentTarget.classList.add("img--error")},alt:""})})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{id:l,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(i.default,{articleId:e.id,slug:o,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}var s=e.i(75854),l=e.i(69519),o=e.i(10219);e.s(["default",0,function({articles:e,title:a="Environment"}){let{wrapRef:i,canScrollLeft:d,canScrollRight:c,scrollLeft:u,scrollRight:h}=(0,o.useSlider)();return e.length?(0,t.jsxs)("section",{className:"zone zone-type zone-long-format","data-sli
1der":"",children:[(0,t.jsx)(r.default,{href:"/category/environment",className:"section-title",children:a}),(0,t.jsx)("div",{className:"wrap","data-slider-wrap":"",ref:i,children:e.map((e,r)=>(0,t.jsx)(n,{article:e,index:r},e.id))}),(0,t.jsxs)("div",{"data-slider-controls":"",children:[(0,t.jsx)("button",{type:"button","data-slider-left":"","aria-label":"Précédent","data-fade":!d,onClick:u,children:(0,t.jsx)(s.ArrowBigLeft,{size:18,strokeWidth:2,"aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button","data-slider-right":"","aria-label":"Suivant","data-fade":!c,onClick:h,children:(0,t.jsx)(l.ArrowBigRight,{size:18,strokeWidth:2,"aria-hidden":"true"})})]})]}):null}],57437)},34008,e=>{"use strict";var t=e.i(43476),r=e.i(57688),a=e.i(97411);e.s(["default",0,function({article:e,sizes:i="(max-width: 759px) 100vw, 420px"}){let n=`title-${e.id}-${e.index}`,s=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)("picture",{children:(0,t.jsx)(r.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:i,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?"eager":"lazy",alt:"",onError:e=>{e.currentTarget.classList.add("img--error")}})})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{id:n,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(a.default,{articleId:e.id,slug:s,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}])},82931,e=>{"use strict";var t=e.i(43476),r=e.i(57688);e.s(["default",0,function({article:e}){return(0,t.jsx)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-index":e.index,children:(0,t.jsx)("a",{href:e.href,children:(0,t.jsxs)("div",{className:"item-text impact",children:[e.image&&(0,t.jsx)("div",{className:"impact-thumb",children:(0,t.jsx)(r.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:"96px",placeholder:e.image.blurDataURL?"blur":"empty",blurDataURL:e.image.blurDataURL,loading:"lazy",alt:""})}),(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{className:"title",children:e.title})})]})})})}])},75137,e=>{"use strict";var t=e.i(43476),r=e.i(57688),a=e.i(97411);e.s(["default",0,function({article:e,sizes:i="(max-width: 759px) 100vw, 420px"}){let n=`title-${e.id}-${e.index}`,s=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)("picture",{children:(0,t.jsx)(r.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:i,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?"eager":"lazy",alt:"",onError:e=>{e.currentTarget.classList.add("img--error")}})})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{id:n,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(a.default,{articleId:e.id,slug:s,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}])},58511,e=>{"use strict";var t=e.i(43476),r=e.i(57688),a=e.i(97411);e.s(["default",0,function({article:e,sizes:i="(max-width: 759px) 100vw, 420px"}){let n=`title-${e.id}-${e.index}
1`,s=e.href.split("/").filter(Boolean).pop()??String(e.id);return(0,t.jsxs)("article",{className:"item","data-model":e.model,"data-type":e.type,"data-section":e.section,"data-index":e.index,"data-item-id":e.id,children:[(0,t.jsxs)("a",{href:e.href,children:[e.image&&(0,t.jsx)("div",{className:"item-image",children:(0,t.jsx)("picture",{children:(0,t.jsx)(r.default,{src:e.image.src,width:e.image.width,height:e.image.height,sizes:i,placeholder:"blur",blurDataURL:e.image.blurDataURL,fetchPriority:e.image.fetchPriority,loading:"high"===e.image.fetchPriority?"eager":"lazy",alt:"",onError:e=>{e.currentTarget.classList.add("img--error")}})})}),(0,t.jsxs)("div",{className:"item-text",children:[(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)("p",{id:n,className:"title",children:e.title})}),(0,t.jsxs)("div",{className:"infos",children:[(0,t.jsx)("div",{className:"wrapper"}),(0,t.jsxs)("div",{className:"placeholders",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})]})]})]}),(0,t.jsx)("div",{className:"item-buttons",children:(0,t.jsx)(a.default,{articleId:e.id,slug:s,title:e.title,link:e.href,imageUrl:e.image?.src,category:e.tagOrCategory})})]})}])},65233,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let a="tiktok-embed-script";function i({url:e}){let n,s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{!function(e){let t=document.getElementById(a);if(t)return window.tiktokEmbed?.lib?.render?e():t.addEventListener("load",e,{once:!0});let r=document.createElement("script");r.id=a,r.src="https://www.tiktok.com/embed.js",r.async=!0,r.addEventListener("load",e,{once:!0}),document.body.appendChild(r)}(()=>{window.tiktokEmbed?.lib?.render(s.current??document)})},[e]),(0,t.jsx)("div",{ref:s,className:"tiktok-embed-wrapper",children:(0,t.jsx)("blockquote",{className:"tiktok-embed",cite:e,"data-video-id":(n=e.match(/\/video\/(\d+)/))?n[1]:"",style:{maxWidth:"325px",minWidth:"325px"},children:(0,t.jsx)("section",{children:(0,t.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:e,children:"Voir sur TikTok"})})})})}let n=/(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|shorts\/))([a-zA-Z0-9_-]{11})/;function s({url:e}){let r=e.match(n)?.[1]??"";return r?(0,t.jsx)("iframe",{className:"youtube-embed-wrapper",width:"325",height:"580",src:`https://www.youtube.com/embed/${r}?autoplay=1`,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(0,t.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:e,children:"Voir sur YouTube"})}let l="facebook-jssdk",o="fb-root";function d({url:e}){let a=(0,r.useRef)(null);return(0,r.useEffect)(()=>{!function(e){if(!document.getElementById(o)){let e=document.createElement("div");e.id=o,document.body.prepend(e)}let t=document.getElementById(l);if(t)return window.FB?.XFBML?.parse?e():t.addEventListener("load",e,{once:!0});let r=document.createElement("script");r.id=l,r.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0",r.async=!0,r.crossOrigin="anonymous",r.addEventListener("load",e,{once:!0}),document.body.appendChild(r)}(()=>{window.FB?.XFBML?.parse(a.current??document)})},[e]),(0,t.jsx)("div",{ref:a,className:"facebook-embed-wrapper",children:(0,t.jsx)("div",{className:"fb-video","data-href":e,"data-width":"325","data-show-text":"false","data-autoplay":"true",children:(0,t.jsx)("blockquote",{cite:e,className:"fb-xfbml-parse-ignore",children:(0,t.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:e,children:"Voir sur Facebook"})})})})}function c({url:e,platform:r}){return"tiktok"===r?(0,t.jsx)(i,{url:e}):"youtube"===r?(0,t.jsx)(s,{url:e}):"facebook"===r?(0,t.jsx)(d,{url:e}):(0,t.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:e,children:"Voir la vidéo"})}function u({item:e,onClose:a}){let i=(0,r.useRef)(null),n=null!==e;return((0,r.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"===e.key&&a()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n,a]),(0,r.useEffect)(()=>{if(!n)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[n]),n)?(0,t.jsxs)("div",{ref:i,className:"tiktok-modal-overlay",onClick:e=>{e.target===i.current&&a()},role:"dialog","aria-modal":"true","aria-label":"Play video",children:[(0,t.jsx)("button",{type:"button",className:"tiktok-modal-close",onClick:a,"aria-label":"Close video",children:"Ã"}),(0,t.jsx)("div",{className:"tiktok-modal-content",children:e&&(0,t.jsx)(c,{url:e.url,platform:e.platform})})]}):null}e.s(["default",0,function({items:e}){let a=(0,r.useRef)(null),[i,n]=(0,r.useState)(null),s=e=>{let t=a.current;if(!t)return;let r=t.querySelector(".item")?.clientWidth??218;t.scrollBy({left:"next"===e?r:-r,behavior:"smooth"})};return(0,t.jsxs)("section",{className:"zone zone-type zone-insta",children:[(0,t.jsx)("h3",{className:"section-title",children:"Reels"}),(0,t.jsx)("div",{className:"wrap",children:(0,t.jsxs)("div",{id:"stories",children:[(0,t.jsx)("div",{className:"carousel",ref:a,role:"region","aria-label":"video feed",children:e.map(e=>(0,t.jsx)("div",{className:"item",role:"group",children:(0,t.jsx)("div",{className:"card",children:(0,t.jsx)("div",{className:"smudge",children:(0,t.jsx)("div",{className:"thumb",style:e.thumbnail?{backgroundImage:`url("${e.thumbnail}")`}:void 0,children:(0,t.jsx)("button",{type:"button",className:"player","aria-label":e.caption?`Play: ${e.caption}`:"Play video",onClick:()=>n(e),children:(e.duration||e.caption)&&(0,t.jsx)("div",{className:"controls",children:(0,t.jsxs)("div",{className:"meta",children:[e.duration&&(0,t.jsxs)("div",{className:"duration",children:[(0,t.jsx)("span",{className:"duration-icon","aria-hidden":"true"}),(0,t.jsx)("span",{className:"text",children:e.duration})]}),e.caption&&(0,t.jsx)("div",{className:"headline",children:(0,t.jsx)("span",{className:"text",children:e.caption})})]})})})})})})},e.id))}),(0,t.jsxs)("div",{className:"navigation-buttons",children:[(0,t.jsx)("button",{type:"button","aria-label":"Previous video",onClick:()=>s("prev"),children:(0,t.jsx)("span",{className:"icon icon-prev","aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button","aria-label":"Next video",onClick:()=>s("next"),children:(0,t.jsx)("span",{className:"icon icon-next","aria-hidden":"true"})})]})]})}),(0,t.jsx)(u,{item:i,onClose:()=>n(null)})]})}],65233)},48628,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(46932);e.s(["default",0,function({items:e}){let[i,n]=(0,r.useState)(0);if(!e.length)return null;let s=e[i];return(0,t.jsxs)("section",{className:"zone-video",children:[(0,t.jsx)(a.motion.div,{className:"zone-video-bg",initial:{opacity:0,y:60},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.3},transition:{duration:.6,ease:"easeOut"}}),(0,t.jsxs)("div",{className:"zone-video-inner",children:[(0,t.jsxs)("div",{className:"zone-video-label",children:[(0,t.jsx)("span",{className:"zone-video-icon","aria-hidden":"true",children:"â¶"}),"Videos"]}),(0,t.jsx)("div",{className:"zone-video-player",children:(0,t.jsx)("iframe",{src:`https://www.youtube.com/embed/${s.youtubeId}`,title:s.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0},s.youtubeId)}),(0,t.jsxs)("div",{className:"zone-video-caption",children:[(0,t.jsx)("span",{className:"zone-video-title",children:s.title}),s.duration&&(0,t.jsx)("span",{className:"zone-video-duration",children:s.duration})]}),(0,t.jsx)("div",{className:"zone-video-thumbs",children:e.map((e,r)=>(0,t.jsxs)("button",{type:"button",className:`zone-video-thumb${r===i?" active":""}`,onClick:()=>n(r),"aria-current":r===i,children:[(0,t.jsx)("img",{src:`https://img.youtube.com/vi/${e.youtubeId}/hqdefault.jpg`,alt:"",loading:"lazy"}),(0,t.jsx)("span",{className:"zone-video-thumb-title",children:e.title})]},e.id))})]})]})}])},38312,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function({src:e,poster:a}){let i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=i.current;!e||(e.muted=!0,window.matchMedia("(prefers-reduced-motion: reduce)").matches||e.play().catch(()=>{}))},[]),(0,t.jsx)("video",{ref:i,className:"hero-card-video",src:e,poster:a,autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,preload:"metadata","aria-hidden":"true",tabIndex:-1})}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.