Epic entertainment venue opens 23 minutes from Surrey with axe throwing, beer pong and karaoke \/");return new RegExp(t)}catch(e){return void console.error(e)}}function u(e,t){if(!t.length)return!1;let n=!1,r=!1;for(let i=0;i
\n
\n
\n
\n \n
\n
\n
Bookmarks
\n
\n
\n
\n
\n
\n';t.pageTypes=["home","topic","channel","section"]},6802:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=C,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=S,t.__GetDependency__=t.__get__=T,t.default=void 0;var i,o=n(4302),a=(i=n(5719))&&i.__esModule?i:{default:i},c=n(2713);var s=function(e){var t=window.TMCONFIG.features["mvtTests.googleOptimizeId"];window.document.addEventListener("FELIZ",(function(){window.feliz.event("optimise-experiment",{id:"".concat(t,".").concat(e)})}))},u=function(){return!!localStorage.getItem("RadiusToken")},l=function(){return JSON.parse(window.localStorage.getItem("bookmarks"))},_=function(e,t,n,r){var i=r?"faded":"";return'
').concat(T(r?"readSVG":"unreadSVG"),"
")},d=function(){return window.digitalData.page.attributes.pageType},f=function(e,t){var n="";return e.split(" ").forEach((function(e){n.length
You\'ve not added any bookmarks yet...
',t.appendChild(n)}else e.forEach((function(e){var n=document.createElement("div");n.classList.add("bookmark-card-container"),n.innerHTML=T("createBookmarkCard")(e.articleUrl,T("shortenHeadline")(e.headline,40),e.imageUrl,e.isRead),t.appendChild(n),n.addEventListener("click",(function(){return T("pushDataTracking")("clickedPlaylistCard")}))}))},y=function(){var e,t=T("getPageType")();if(T("pageTypes").includes(t))e=document.querySelectorAll(".bookmark-btn-pancake");else{if("article"!==t)return;e=[document.querySelector(".bookmark-btn-container"),document.querySelector(".bookmark-btn-container-mobile")]}e.forEach((function(e){e&&e.addEventListener("click",(function(){setTimeout((function(){var e=JSON.parse(window.localStorage.getItem("bookmarks"));T("addCardsToPlaylist")(e)}),600)}))}))},v=function(){if(window.TMCONFIG.features.bookmarksEnabled){var e=T("getBookmarks")();T("applyStyle")(T("style"));var t=document.createElement("div");t.classList.add("bookmarks-playlist-container"),t.innerHTML=T("bookmarksPlaylistHTML");var n=document.createElement("div");n.classList.add("playlist-content"),n.classList.add("hidden-list"),t.appendChild(n),document.querySelector("body").appendChild(t),T("addCardsToPlaylist")(e),T("updateBookmarks")();var r=document.querySelector(".top-right"),i=document.querySelector(".expand-button"),o=document.querySelector(".dot"),a=document.querySelector(".chevron"),c=document.querySelector(".bottom-shadow"),s=document.querySelector(".bookmarks-count"),u=!1;r.addEventListener("click",(function(){u?(t.classList.remove("expanded"),c.classList.remove("bottom-shadow-expanded"),n.classList.add("hidden-list"),s.classList.add("hidden"),o.classList.remove("hidden"),a.classList.remove("upside-down"),i.innerHTML="Expand",u=!1,T("pushDataTracking")("bookmarkPlaylistClosed")):(t.classList.add("expanded"),c.classList.add("bottom-shadow-expanded"),n.classList.remove("hidden-list"),s.classList.remove("hidden"),o.classList.add("hidden"),a.classList.add("upside-down"),i.innerHTML="Collapse",u=!0,T("pushDataTracking")("bookmarkPlaylistOpened"))}))}},m=function(){var e=function(){T("isLoggedIn")()&&setTimeout((function(){return T("enablePlaylist")()}),2e3)};return window.addEventListener("radius..profile",e),function(){window.removeEventListener("radius..profile",e)}},b={id:"ID-4502",pageType:"",variants:[{traffic:50,code:function(){T("pushFelizEvent")(0)}},{traffic:50,code:function(){try{var e={childList:!0,subtree:!0},t=new MutationObserver((function(){document.querySelector("body")&&(T("isLoggedIn")()?T("enablePlaylist")():T("watchFor")(),t.disconnect())}));window.addEventListener("DOMContentLoaded",(function(){return t.observe(document.body,e)}))}catch(e){return e}T("pushFelizEvent")(1)}}]},g=b;function w(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=g;var E,R=null;function L(){if(null===R){var e=w();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),R=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return R}function x(){var e=w();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function I(){var e=L(),t=x(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(E=w()).__rewire_reset_all__||(E.__rewire_reset_all__=function(){E.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var k="__INTENTIONAL_UNDEFINED__",O={};function T(e){var t=I();if(void 0===t[e])return function(e){switch(e){case"readSVG":return c.readSVG;case"unreadSVG":return c.unreadSVG;case"createBookmarkCard":return _;case"shortenHeadline":return f;case"pushDataTracking":return p;case"getPageType":return d;case"pageTypes":return c.pageTypes;case"addCardsToPlaylist":return h;case"getBookmarks":return l;case"applyStyle":return o.applyStyle;case"style":return a.default;case"bookmarksPlaylistHTML":return c.bookmarksPlaylistHTML;case"updateBookmarks":return y;case"isLoggedIn":return u;case"enablePlaylist":return v;case"pushFelizEvent":return s;case"watchFor":return m}return}(e);var n=t[e];return n===k?void 0:n}function S(e,t){var n=I();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){C(e)}))}):(n[e]=void 0===t?k:t,function(){C(e)})}function C(e){var t=I();delete t[e],0==Object.keys(t).length&&delete x()[L]}function A(e){var t=I(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=O,function(){function e(e,t){Object.defineProperty(O,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",T),e("__GetDependency__",T),e("__Rewire__",S),e("__set__",S),e("__reset__",C),e("__ResetDependency__",C),e("__with__",A)}();var D=r(b);function G(e,t){Object.defineProperty(b,e,{value:t,enumerable:!1,configurable:!0})}"object"!==D&&"function"!==D||!Object.isExtensible(b)||(G("__get__",T),G("__GetDependency__",T),G("__Rewire__",S),G("__set__",S),G("__reset__",C),G("__ResetDependency__",C),G("__with__",A),G("__RewireAPI__",O))},3165:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(4302),o=n(6752),a=function(){var e=n(9166);v("applyStyle")(e);var t=function(e){window.dataLayer.push({event:"better404Experiment",clickEvent:e,currentURL:window.location.href})},r=document.querySelector(".static-content"),i=r.querySelector("h1");i.innerText="Sorry, we couldn't find that page",r.querySelector("h2").remove();var o=document.createElement("button"),a=window.TMCONFIG.features.publicationName||"Take me to the";o.innerText="".concat(a," homepage"),o.classList.add("error-page-button"),i.insertAdjacentElement("afterend",o),o.addEventListener("click",(function(){t("clickedHomePageButton"),window.location.href="https://".concat(window.digitalData.page.attributes.ownerSiteDomain)}));var c=r.querySelectorAll("p"),s="Wales Online"===a?"walesonline.co.uk":"football.london";c[0].innerHTML="If you're having problems using ".concat(a,',
us and we'll do what we can to help you");c[1].innerHTML='Alternitively,
go back to the previous page you were on'),document.querySelector(".mailto-link").addEventListener("click",(function(){t("clickedUsLink")})),document.querySelector(".previous-page-link").addEventListener("click",(function(){t("clickedPreviousPageLink")}))},c={id:"ID-4622",pageType:"",variants:[{traffic:50,code:function(){v("pushFelizEvent")(0)}},{traffic:50,code:function(){try{window.addEventListener("DOMContentLoaded",(function(){"404"===window.digitalData.page.attributes.channel&&(v("init404Exp")(),v("pushFelizEvent")(1))}))}catch(e){return e}}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"applyStyle":return i.applyStyle;case"pushFelizEvent":return o.pushFelizEvent;case"init404Exp":return a}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},6319:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=w,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=g,t.__GetDependency__=t.__get__=b,t.default=void 0;var i=n(6752),o=function(e){window.dataLayer.push({event:"readNextExperiment",action:e,label:window.location.href})},a=function(e,t){new IntersectionObserver((function(e,n){e.forEach((function(e){e.isIntersecting&&(b("pushDataTracking")(t),n.disconnect())}))}),{root:null,rootMargin:"0px",threshold:.5}).observe(e)},c=function(){var e=document.querySelectorAll(".article-body > ul"),t=e[e.length-1].children;[].slice.call(t).forEach((function(e){e.querySelector("a").addEventListener("click",(function(){return b("pushDataTracking")("articleLinkClicked")}))})),b("observeElementIsInViewport")(e[e.length-1],"controlReadNextListViewed")},s=function(e){if("article:photo-story"!==window.digitalData.page.attributes.pageType){var t=document.querySelectorAll(".article-body > *"),n=Array.prototype.slice.call(t),r=document.querySelectorAll(".article-body > ul");if(r.length){var i=[],o=[];if(n.forEach((function(e,t){(e.innerText.toLowerCase().includes("read next")||e.firstChild&&e.firstChild.innerText&&e.firstChild.innerText.toLowerCase().includes("read next"))&&(i.push(e),o.push(t))})),i.length){var a=i[i.length-1],c=r[r.length-1];if(n.indexOf(a)+1===n.indexOf(c)){a.remove(),c.remove();var s=function(){var e=window.feliz.getPageConfig("inlineRecommendations").slice(0,5);if(e.length){var t=o[o.length-1]-1,r=n[t],i=document.createElement("div"),a=document.createElement("p"),c=document.createElement("ul");a.innerHTML="
Read Next: ",i.appendChild(a),r.insertAdjacentElement("afterend",i),a.insertAdjacentElement("afterend",c),e.forEach((function(e){var t=document.createElement("li");t.innerHTML='
').concat(e.title," "),t.addEventListener("click",(function(){return b("pushDataTracking")("recommendedArticleLinkClicked")})),c.appendChild(t)})),b("observeElementIsInViewport")(c,"recommendedReadNextListViewed")}};e&&(window.feliz?s():document.addEventListener("FELIZ",s))}}}}},u={id:"ID-4915",pageType:"ARTICLE",variants:[{traffic:33,code:function(){window.addEventListener("DOMContentLoaded",b("addTrackingToControlLinks")),b("pushFelizEvent")(0)}},{traffic:33,code:function(){window.addEventListener("DOMContentLoaded",(function(){return b("initReadNextExp")(!1)})),b("pushFelizEvent")(1)}},{traffic:33,code:function(){window.addEventListener("DOMContentLoaded",(function(){return b("initReadNextExp")(!0)})),b("pushFelizEvent")(2)}}]},l=u;function _(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=l;var d,f=null;function p(){if(null===f){var e=_();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),f=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return f}function h(){var e=_();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function y(){var e=p(),t=h(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(d=_()).__rewire_reset_all__||(d.__rewire_reset_all__=function(){d.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var v="__INTENTIONAL_UNDEFINED__",m={};function b(e){var t=y();if(void 0===t[e])return function(e){switch(e){case"pushDataTracking":return o;case"observeElementIsInViewport":return a;case"addTrackingToControlLinks":return c;case"pushFelizEvent":return i.pushFelizEvent;case"initReadNextExp":return s}return}(e);var n=t[e];return n===v?void 0:n}function g(e,t){var n=y();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){w(e)}))}):(n[e]=void 0===t?v:t,function(){w(e)})}function w(e){var t=y();delete t[e],0==Object.keys(t).length&&delete h()[p]}function E(e){var t=y(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=m,function(){function e(e,t){Object.defineProperty(m,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",b),e("__GetDependency__",b),e("__Rewire__",g),e("__set__",g),e("__reset__",w),e("__ResetDependency__",w),e("__with__",E)}();var R=r(u);function L(e,t){Object.defineProperty(u,e,{value:t,enumerable:!1,configurable:!0})}"object"!==R&&"function"!==R||!Object.isExtensible(u)||(L("__get__",b),L("__GetDependency__",b),L("__Rewire__",g),L("__set__",g),L("__reset__",w),L("__ResetDependency__",w),L("__with__",E),L("__RewireAPI__",m))},4637:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=v,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=y,t.__GetDependency__=t.__get__=h,t.default=void 0;var i=function(e){var t=function(){var t=window.TMCONFIG.features["mvtTests.googleOptimizeId"];window.feliz.event("optimise-experiment",{id:"".concat(t,".").concat(e)})};window.feliz?t():document.addEventListener("FELIZ",t)},o={id:"ID-4965",pageType:"",variants:[{traffic:50,code:function(){return h("pushFelizEvent")(0)}},{traffic:50,code:function(){try{window.TMCONFIG.features.notificationTrayEnabled=!1,document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#comments-section");e&&e.classList.remove("notification-tray-enabled")})),h("pushFelizEvent")(1)}catch(e){return e}}}]},a=o;function c(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=a;var s,u=null;function l(){if(null===u){var e=c();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),u=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return u}function _(){var e=c();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function d(){var e=l(),t=_(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(s=c()).__rewire_reset_all__||(s.__rewire_reset_all__=function(){s.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var f="__INTENTIONAL_UNDEFINED__",p={};function h(e){var t=d();if(void 0===t[e])return function(e){if("pushFelizEvent"===e)return i;return}(e);var n=t[e];return n===f?void 0:n}function y(e,t){var n=d();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){v(e)}))}):(n[e]=void 0===t?f:t,function(){v(e)})}function v(e){var t=d();delete t[e],0==Object.keys(t).length&&delete _()[l]}function m(e){var t=d(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=p,function(){function e(e,t){Object.defineProperty(p,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",h),e("__GetDependency__",h),e("__Rewire__",y),e("__set__",y),e("__reset__",v),e("__ResetDependency__",v),e("__with__",m)}();var b=r(o);function g(e,t){Object.defineProperty(o,e,{value:t,enumerable:!1,configurable:!0})}"object"!==b&&"function"!==b||!Object.isExtensible(o)||(g("__get__",h),g("__GetDependency__",h),g("__Rewire__",y),g("__set__",y),g("__reset__",v),g("__ResetDependency__",v),g("__with__",m),g("__RewireAPI__",p))},7893:function(e,t){t.__esModule=!0,t.EXPERIMENT_ID=t.CLOSE_BUTTON=t.BUTTON_CONTENT=t.AD_FREE_POPUP_SCREEN_TWO=t.AD_FREE_POPUP_SCREEN_ONE=void 0;t.EXPERIMENT_ID="ID-5065";t.AD_FREE_POPUP_SCREEN_ONE='\n
\n
\n
\n';t.AD_FREE_POPUP_SCREEN_TWO='\n
\n
\n';t.BUTTON_CONTENT='\n
\n
\n OPEN\n
\n';t.CLOSE_BUTTON='\n
\n \n
\n'},7706:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=L,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=R,t.__GetDependency__=t.__get__=E,t.default=void 0;var i,o=n(4302),a=(i=n(4855))&&i.__esModule?i:{default:i},c=n(7893);var s=function(){var e=new Date;e.setTime(e.getTime()+2592e6);var t="expires=".concat(e.toUTCString());document.cookie="ad_free_popup=".concat(new Date,";").concat(t,";path=/")},u=function(){return 2==="; ".concat(document.cookie).split("; ad_free_popup=").length},l=function(e){window.dataLayer.push({event:"adFreePopupExperiment",action:e,label:window.location.href})},_=function(e){if(!E("getCookie")()){E("applyStyle")(E("style"));var t,n=document.querySelector("body"),r=document.createElement("div"),i=document.createElement("div"),o=document.createElement("button"),a=!1,c=!1,s=!1,u=0;r.className="ad-free-popup".concat(e?"":" is-popup"),r.innerHTML=E("AD_FREE_POPUP_SCREEN_ONE"),i.className="ad-free-popup-screen-two ad-free-is-hidden".concat(e?"":" is-popup"),i.innerHTML=E("AD_FREE_POPUP_SCREEN_TWO"),o.innerHTML=E("BUTTON_CONTENT"),o.className="ad-free-toggle-button".concat(e?"":" ad-free-is-hidden"),n.appendChild(o),o.insertAdjacentElement("afterend",i),o.insertAdjacentElement("afterend",r);var l=document.querySelector(".ad-free-button-text"),_=document.querySelector(".ad-free-chevron");if(e||((t=document.createElement("div")).className="ad-free-popup-close-button",t.innerHTML=E("CLOSE_BUTTON"),r.appendChild(t),i.appendChild(t.cloneNode(!0))),setTimeout((function(){c||(r.classList.add("open"),e&&(o.classList.add("open"),l.innerText="CLOSE",_.classList.add("open")),a=!0,E("setCookie")(),E("pushDataTracking")("adFreePopupShown-".concat(e?"static":"popup")))}),7e3),e)o.addEventListener("click",(function(){a?(r.classList.remove("open"),o.classList.remove("open"),i.classList.add("ad-free-is-hidden"),l.innerText="OPEN",_.classList.remove("open"),a=!1,E("pushDataTracking")("adFreePopupClosed")):(r.classList.add("open"),o.classList.add("open"),s&&i.classList.remove("ad-free-is-hidden"),l.innerText="CLOSE",_.classList.add("open"),a=!0,c=!0,E("getCookie")()||E("setCookie")(),E("pushDataTracking")("adFreePopupOpened"))}));else o.remove(),document.querySelectorAll(".ad-free-popup-close-button").forEach((function(e,t){e.addEventListener("click",(function(){r.remove(),i.remove(),E("pushDataTracking")("adFreePopupClosedScreen".concat(t+1))}))}));document.querySelectorAll(".ad-free-option").forEach((function(e,t){e.addEventListener("click",(function(){e.classList.contains("selected")||(document.querySelector(".ad-free-option.selected").classList.remove("selected"),e.classList.add("selected"),u=t)}))})),document.querySelector(".ad-free-popup-button").addEventListener("click",(function(){r.classList.add("ad-free-is-hidden"),i.classList.remove("ad-free-is-hidden"),s=!0;var e=0===u?"yearly":"monthly";E("pushDataTracking")("adFreePopupGetItNowClicked-".concat(e))})),document.querySelector(".ad-free-popup--button").addEventListener("click",(function(){r.remove(),i.remove(),o.remove(),E("pushDataTracking")("adFreePopupAppClicked"),window.open("https://apps.apple.com/gb/app/manchester-evening-news/id334456452")}))}},d={id:E("id"),pageType:"",variants:[{traffic:33,code:function(){}},{traffic:33,code:function(){try{var e={childList:!0,subtree:!0},t=new MutationObserver((function(){document.querySelector("body")&&(E("initAdFreePopup")(!0),t.disconnect())}));window.addEventListener("DOMContentLoaded",(function(){return t.observe(document.body,e)}))}catch(e){return e}}},{traffic:33,code:function(){try{var e={childList:!0,subtree:!0},t=new MutationObserver((function(){document.querySelector("body")&&(E("initAdFreePopup")(!1),t.disconnect())}));window.addEventListener("DOMContentLoaded",(function(){return t.observe(document.body,e)}))}catch(e){return e}}}]},f=d;function p(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=f;var h,y=null;function v(){if(null===y){var e=p();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),y=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return y}function m(){var e=p();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function b(){var e=v(),t=m(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(h=p()).__rewire_reset_all__||(h.__rewire_reset_all__=function(){h.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var g="__INTENTIONAL_UNDEFINED__",w={};function E(e){var t=b();if(void 0===t[e])return function(e){switch(e){case"getCookie":return u;case"applyStyle":return o.applyStyle;case"style":return a.default;case"AD_FREE_POPUP_SCREEN_ONE":return c.AD_FREE_POPUP_SCREEN_ONE;case"AD_FREE_POPUP_SCREEN_TWO":return c.AD_FREE_POPUP_SCREEN_TWO;case"BUTTON_CONTENT":return c.BUTTON_CONTENT;case"CLOSE_BUTTON":return c.CLOSE_BUTTON;case"setCookie":return s;case"pushDataTracking":return l;case"id":return c.EXPERIMENT_ID;case"initAdFreePopup":return _}return}(e);var n=t[e];return n===g?void 0:n}function R(e,t){var n=b();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){L(e)}))}):(n[e]=void 0===t?g:t,function(){L(e)})}function L(e){var t=b();delete t[e],0==Object.keys(t).length&&delete m()[v]}function x(e){var t=b(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=w,function(){function e(e,t){Object.defineProperty(w,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",E),e("__GetDependency__",E),e("__Rewire__",R),e("__set__",R),e("__reset__",L),e("__ResetDependency__",L),e("__with__",x)}();var I=r(d);function k(e,t){Object.defineProperty(d,e,{value:t,enumerable:!1,configurable:!0})}"object"!==I&&"function"!==I||!Object.isExtensible(d)||(k("__get__",E),k("__GetDependency__",E),k("__Rewire__",R),k("__set__",R),k("__reset__",L),k("__ResetDependency__",L),k("__with__",x),k("__RewireAPI__",w))},3750:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(4302),o=n(6752),a="ID-5256",c={id:v("experimentId"),pageType:"HOME",variants:[{traffic:25,code:function(){v("pushFelizEvent")(0)}},{traffic:25,code:function(){try{var e=n(9468);v("applyStyle")(e),v("pushFelizEvent")(1)}catch(e){return e}}},{traffic:25,code:function(){try{var e=n(854);v("applyStyle")(e),v("pushFelizEvent")(2)}catch(e){return e}}},{traffic:25,code:function(){try{var e=n(7364);v("applyStyle")(e),v("pushFelizEvent")(3)}catch(e){return e}}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"experimentId":return a;case"pushFelizEvent":return o.pushFelizEvent;case"applyStyle":return i.applyStyle}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},211:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(6752),o=n(2850),a="ID-5325",c={id:v("experimentId"),pageType:v("pageTypes").ARTICLE,variants:[{traffic:25,code:function(){v("pushFelizEvent")(0)}},{traffic:25,code:function(){try{window.TMCONFIG.features.oneTapScrollDepth="20",v("pushFelizEvent")(1)}catch(e){return e}}},{traffic:25,code:function(){try{window.TMCONFIG.features.oneTapScrollDepth="30",v("pushFelizEvent")(2)}catch(e){return e}}},{traffic:25,code:function(){try{window.TMCONFIG.features.oneTapScrollDepth="40",v("pushFelizEvent")(3)}catch(e){return e}}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"experimentId":return a;case"pageTypes":return o.pageTypes;case"pushFelizEvent":return i.pushFelizEvent}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},8125:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(6752),o=n(2850),a="ID-5395",c={id:v("experimentId"),pageType:v("pageTypes").ARTICLE,variants:[{traffic:50,code:function(){return v("pushFelizEvent")(0)}},{traffic:50,code:function(){try{window.TMCONFIG.features.swipeNavigation=!1,v("pushFelizEvent")(1)}catch(e){return e}}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"experimentId":return a;case"pageTypes":return o.pageTypes;case"pushFelizEvent":return i.pushFelizEvent}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},3027:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=x,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=L,t.__GetDependency__=t.__get__=R,t.default=void 0;var i,o=n(6752),a=n(2850),c=n(4302),s=(i=n(1819))&&i.__esModule?i:{default:i};function u(e,t){var n=!1;return function(){n||(e(),n=!0,setTimeout((function(){n=!1}),t))}}var l=function(e,t,n){var r,i=document.documentElement.clientHeight,o=e.getBoundingClientRect(),a=i-o.y,c=n&&n.clientHeight||0;a<0?r=0:(r=a/(o.height-c)*100)>100&&(r=100),t.style.transform="translateX(".concat(r-100,"%)")},_=function(e){R("applyStyle")(R("style"));var t=document.querySelector(".sharebar"),n=document.querySelector(".article-body"),r=document.querySelector(".read-next-recommended"),i=document.createElement("div");i.className="scroll-progress-bar thick-".concat(e);var o=document.createElement("div");o.className="scroll-progress",i.appendChild(o);var a=document.querySelector(".scroll-progress-bar");t&&!a&&(t.appendChild(i),document.addEventListener("scroll",R("throttle")((function(){return R("scroll")(n,o,r)}),1e3/60)))},d=function(e){try{var t={childList:!0,subtree:!0},n=new MutationObserver((function(){document.querySelector(".sharebar")&&(R("addScrollProgressBar")(e),n.disconnect())}));window.addEventListener("DOMContentLoaded",(function(){return n.observe(document.body,t)}))}catch(e){return e}},f={id:"ID-5396",pageType:R("pageTypes").ARTICLE,variants:[{traffic:33,code:function(){R("pushFelizEvent")(0)}},{traffic:33,code:function(){R("pushFelizEvent")(1),R("addScrollbarMutationObserver")(1)}},{traffic:33,code:function(){R("pushFelizEvent")(2),R("addScrollbarMutationObserver")(2)}}]},p=f;function h(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=p;var y,v=null;function m(){if(null===v){var e=h();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),v=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return v}function b(){var e=h();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function g(){var e=m(),t=b(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(y=h()).__rewire_reset_all__||(y.__rewire_reset_all__=function(){y.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var w="__INTENTIONAL_UNDEFINED__",E={};function R(e){var t=g();if(void 0===t[e])return function(e){switch(e){case"applyStyle":return c.applyStyle;case"style":return s.default;case"throttle":return u;case"scroll":return l;case"addScrollProgressBar":return _;case"pageTypes":return a.pageTypes;case"pushFelizEvent":return o.pushFelizEvent;case"addScrollbarMutationObserver":return d}return}(e);var n=t[e];return n===w?void 0:n}function L(e,t){var n=g();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){x(e)}))}):(n[e]=void 0===t?w:t,function(){x(e)})}function x(e){var t=g();delete t[e],0==Object.keys(t).length&&delete b()[m]}function I(e){var t=g(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=E,function(){function e(e,t){Object.defineProperty(E,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",R),e("__GetDependency__",R),e("__Rewire__",L),e("__set__",L),e("__reset__",x),e("__ResetDependency__",x),e("__with__",I)}();var k=r(f);function O(e,t){Object.defineProperty(f,e,{value:t,enumerable:!1,configurable:!0})}"object"!==k&&"function"!==k||!Object.isExtensible(f)||(O("__get__",R),O("__GetDependency__",R),O("__Rewire__",L),O("__set__",L),O("__reset__",x),O("__ResetDependency__",x),O("__with__",I),O("__RewireAPI__",E))},8881:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=x,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=L,t.__GetDependency__=t.__get__=R,t.default=void 0;var i=n(2850),o=n(4302);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n
.numbering")).forEach((function(e){var t=e.nextElementSibling.querySelector("figure");t&&t.append(e.cloneNode(!0))})))}t.default=_;var p=function(e){try{var t={childList:!0,subtree:!0},n=new MutationObserver((function(){if(document.querySelector(".whats-hot .rec-list")){switch(n.disconnect(),e){case 1:R("updateHeading")();break;case 2:R("updateStyles")();break;case 3:R("updateHeading")(),R("updateStyles")()}n.disconnect()}}));window.addEventListener("DOMContentLoaded",(function(){return n.observe(document.body,t)}))}catch(e){return e}};function h(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}var y,v=null;function m(){if(null===v){var e=h();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),v=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return v}function b(){var e=h();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function g(){var e=m(),t=b(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(y=h()).__rewire_reset_all__||(y.__rewire_reset_all__=function(){y.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var w="__INTENTIONAL_UNDEFINED__",E={};function R(e){var t=g();if(void 0===t[e])return function(e){switch(e){case"applyStyle":return o.applyStyle;case"updateHeading":return d;case"updateStyles":return f;case"experimentId":return s;case"pageTypes":return i.pageTypes;case"isMobile":return u;case"addRecListMutationObserver":return p}return}(e);var n=t[e];return n===w?void 0:n}function L(e,t){var n=g();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){x(e)}))}):(n[e]=void 0===t?w:t,function(){x(e)})}function x(e){var t=g();delete t[e],0==Object.keys(t).length&&delete b()[m]}function I(e){var t=g(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=E,function(){function e(e,t){Object.defineProperty(E,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",R),e("__GetDependency__",R),e("__Rewire__",L),e("__set__",L),e("__reset__",x),e("__ResetDependency__",x),e("__with__",I)}();var k=r(l);function O(e,t){Object.defineProperty(l,e,{value:t,enumerable:!1,configurable:!0})}"object"!==k&&"function"!==k||!Object.isExtensible(l)||(O("__get__",R),O("__GetDependency__",R),O("__Rewire__",L),O("__set__",L),O("__reset__",x),O("__ResetDependency__",x),O("__with__",I),O("__RewireAPI__",E))},7170:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=T,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=O,t.__GetDependency__=t.__get__=k,t.default=void 0;var i=n(4302),o=n(6752),a=window.TMCONFIG.features.publicationName||"Take me to the",c=function(e){window.dataLayer.push({event:"better404Experimentv2",clickEvent:e,currentURL:window.location.href})},s=function(e){e.preventDefault(),k("pushDataTracking")("clickedHomePageButton"),window.location.href="https://".concat(window.digitalData.page.attributes.ownerSiteDomain)},u=function(){k("pushDataTracking")("clickedUsLink")},l=function(e){e.preventDefault(),k("pushDataTracking")("clickedPreviousPageLink"),history.go(-1)},_=function(){var e=document.querySelector(".static-content");e.classList.add("mantis-hidden");var t=e.querySelector("h1");t.innerText="Sorry, we couldn't find that page";var n=e.querySelector("h2");return n&&n.remove(),{staticContent:e,title:t}},d=function(e){var t=document.createElement("button");return t.innerText=e,t.classList.add("error-page-button"),t},f=function(e){var t=document.createElement("div");t.id="recirculation-404",t.classList.add("brand-hint-bg");var n="
";return t.innerHTML="
You may also like our top stories \n
".concat(n+n+n,"
"),t.insertAdjacentElement("beforeend",e),window.feliz?k("addRecomm")(t):document.addEventListener("FELIZ",(function(){return k("addRecomm")(t)})),t},p=function(e){var t=window.feliz.getPageConfig("recommendations");Array.from(e.querySelectorAll(".recirculation-404-teaser")).forEach((function(e,n){e.addEventListener("click",(function(e){e.preventDefault(),k("pushDataTracking")("clickedRecommendedArticle"),window.location.href=t[n].url}));var r=e.querySelector(".recirculation-404-teaser-img");t[n].image&&t[n].image.href?r.setAttribute("src",t[n].image.href.replace("BINARY","ALTERNATES/s180")):(r.classList.add("black-and-white"),r.setAttribute("src",getComputedStyle(document.documentElement).getPropertyValue("--pub-logo"))),r.setAttribute("alt",t[n].image&&t[n].image.altText||"#"),e.querySelector(".recirculation-404-teaser-title").textContent=t[n].title,e.querySelector(".recirculation-404-teaser-link").setAttribute("href",t[n].url)}))},h=function(e){if(1===e){var t=n(5744);k("applyStyle")(t);var r=k("buildHomeBtn")("".concat(k("publicationTitle")," homepage")),i=k("updateHeading")(),o=i.title,a=i.staticContent;o.insertAdjacentElement("afterend",r);var c=a.querySelectorAll("p"),s=new URL(window.origin).hostname;c[0].innerHTML="If you're having problems using ".concat(k("publicationTitle"),',
us and we'll do what we can to help you");c[1].innerHTML='Alternatively,
go back to the previous page you were on'),r.addEventListener("click",k("handleHome")),document.querySelector(".mailto-link").addEventListener("click",k("handleUs")),document.querySelector(".previous-page-link").addEventListener("click",k("handleGoBack"))}else if(2===e){var u=n(6514);k("applyStyle")(u);var l=k("buildHomeBtn")("Discover more top stories");k("updateHeading")().staticContent.insertAdjacentElement("beforeend",k("buildWidget")(l)),l.addEventListener("click",(function(e){e.preventDefault(),k("pushDataTracking")("clickedDiscoverMoreArticles"),window.location.href="https://".concat(window.digitalData.page.attributes.ownerSiteDomain,"/news")}))}},y=function(){var e=document.querySelector(".static-content");Array.from(e.querySelectorAll("p > a")).forEach((function(e){switch(e.textContent.toLowerCase()){case"click here":e.addEventListener("click",k("handleGoBack"));break;case"ing us":e.addEventListener("click",k("handleUs"));break;case"homepage":e.addEventListener("click",k("handleHome"))}}))},v={id:"ID-5569",pageType:"",variants:[{traffic:33,code:function(){try{window.addEventListener("DOMContentLoaded",(function(){"404"===window.digitalData.page.attributes.channel&&(k("pushFelizEvent")(0),k("attachListeners")())}))}catch(e){return e}}},{traffic:33,code:function(){try{window.addEventListener("DOMContentLoaded",(function(){"404"===window.digitalData.page.attributes.channel&&(k("init404Variant")(1),k("pushFelizEvent")(1))}))}catch(e){return e}}},{traffic:33,code:function(){try{window.addEventListener("DOMContentLoaded",(function(){"404"===window.digitalData.page.attributes.channel&&(k("init404Variant")(2),k("pushFelizEvent")(2))}))}catch(e){return e}}}]},m=v;function b(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=m;var g,w=null;function E(){if(null===w){var e=b();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),w=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return w}function R(){var e=b();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function L(){var e=E(),t=R(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(g=b()).__rewire_reset_all__||(g.__rewire_reset_all__=function(){g.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var x="__INTENTIONAL_UNDEFINED__",I={};function k(e){var t=L();if(void 0===t[e])return function(e){switch(e){case"pushDataTracking":return c;case"addRecomm":return p;case"applyStyle":return i.applyStyle;case"buildHomeBtn":return d;case"publicationTitle":return a;case"updateHeading":return _;case"handleHome":return s;case"handleUs":return u;case"handleGoBack":return l;case"buildWidget":return f;case"pushFelizEvent":return o.pushFelizEvent;case"attachListeners":return y;case"init404Variant":return h}return}(e);var n=t[e];return n===x?void 0:n}function O(e,t){var n=L();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){T(e)}))}):(n[e]=void 0===t?x:t,function(){T(e)})}function T(e){var t=L();delete t[e],0==Object.keys(t).length&&delete R()[E]}function S(e){var t=L(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=I,function(){function e(e,t){Object.defineProperty(I,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",k),e("__GetDependency__",k),e("__Rewire__",O),e("__set__",O),e("__reset__",T),e("__ResetDependency__",T),e("__with__",S)}();var C=r(v);function A(e,t){Object.defineProperty(v,e,{value:t,enumerable:!1,configurable:!0})}"object"!==C&&"function"!==C||!Object.isExtensible(v)||(A("__get__",k),A("__GetDependency__",k),A("__Rewire__",O),A("__set__",O),A("__reset__",T),A("__ResetDependency__",T),A("__with__",S),A("__RewireAPI__",I))},2312:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(6752),o=n(2850),a="ID-5768",c={id:v("experimentId"),pageType:v("pageTypes").ARTICLE,variants:[{traffic:50,code:function(){v("pushFelizEvent")(0)}},{traffic:50,code:function(){v("pushFelizEvent")(1),window.TMCONFIG.features.convoStarterEnabled=!1;var e=document.querySelector(".conversation-starter-container");e&&e.remove()}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"experimentId":return a;case"pageTypes":return o.pageTypes;case"pushFelizEvent":return i.pushFelizEvent}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},5394:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=x,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=L,t.__GetDependency__=t.__get__=R,t.default=void 0;var i=n(4302),o="ID-5776",a=["home","topic","channel","section"],c=function(){return window.digitalData.page.attributes.pageType},s=function(e,t){window.dataLayer.push({event:"BookmarkCTARedesign",action:e,label:t})};function u(e){var t=R("getPageType")();(R("pageTypes").includes(t)&&document.querySelectorAll(".bookmark-btn-pancake").forEach((function(t){t&&t.addEventListener("click",(function(){t.hasAttribute("data-bookmarked")?R("pushDataTracking")("removeBookmark",e):R("pushDataTracking")("addBookmark",e)}))})),t.includes("article"))&&[document.querySelector(".bookmark-btn-container"),document.querySelector(".bookmark-btn-container-mobile")].forEach((function(t){t.addEventListener("click",(function(){t.hasAttribute("data-bookmarked")?R("pushDataTracking")("removeBookmark",e):R("pushDataTracking")("addBookmark",e)}))}))}var l=function(){var e,t=R("getPageType")();if(R("pageTypes").includes(t))e=document.querySelectorAll(".bookmark-btn-pancake");else{if(!t.includes("article"))return;e=[document.querySelector(".bookmark-btn-container"),document.querySelector(".bookmark-btn-container-mobile")]}e.forEach((function(e){if(e){var t,n=e.querySelector("svg.active-svg"),r=null!=e.getAttribute("data-bookmarked");n.classList.remove("active-svg"),(t=r?e.querySelector("svg.svg-to-bookmark"):e.querySelector("svg.svg-bookmark-done"))&&t.classList.add("active-svg")}}))},_=function(){var e=R("getPageType")();if(R("pageTypes").includes(e))document.querySelectorAll(".bookmark-btn-pancake").forEach((function(e){if(e){var t=e.querySelector(".bookmark-text-pancake");t.innerHTML=t.innerHTML.replace("Bookmark","Read Later"),t.setAttribute("data-name","Read Later")}}));else{if(!e.includes("article"))return;[document.querySelector(".bookmark-btn-container"),document.querySelector(".bookmark-btn-container-mobile")].forEach((function(e){e&&e.querySelectorAll(".bookmark-text").forEach((function(e){e.innerHTML=e.innerHTML.replace("Bookmark","Read Later"),e.setAttribute("data-name","Read Later")}))}))}},d=function(e){try{var t={childList:!0,subtree:!0},n=new MutationObserver((function(){var t=document.querySelectorAll(".bookmark-btn-pancake"),r=document.querySelector(".bookmark-btn-container"),i=document.querySelector(".bookmark-btn-container-mobile");if(t.length||r||i){switch(e){case 0:R("trackingBookmarkCTARedesign")(e);break;case 1:R("updateBookmarksText")(),R("trackingBookmarkCTARedesign")(e);break;case 2:R("updateBookmarksIcon")(),R("trackingBookmarkCTARedesign")(e);break;case 3:R("updateBookmarksText")(),R("updateBookmarksIcon")(),R("trackingBookmarkCTARedesign")(e)}n.disconnect()}}));window.addEventListener("DOMContentLoaded",(function(){return n.observe(document.body,t)}))}catch(e){return e}},f={id:R("experimentId"),pageType:"",variants:[{traffic:25,code:function(){R("addMutationObserver")(0)}},{traffic:25,code:function(){var e=n(8500);R("applyStyle")(e),R("addMutationObserver")(1)}},{traffic:25,code:function(){R("addMutationObserver")(2)}},{traffic:25,code:function(){R("addMutationObserver")(3)}}]},p=f;function h(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=p;var y,v=null;function m(){if(null===v){var e=h();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),v=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return v}function b(){var e=h();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function g(){var e=m(),t=b(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(y=h()).__rewire_reset_all__||(y.__rewire_reset_all__=function(){y.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var w="__INTENTIONAL_UNDEFINED__",E={};function R(e){var t=g();if(void 0===t[e])return function(e){switch(e){case"getPageType":return c;case"pageTypes":return a;case"pushDataTracking":return s;case"trackingBookmarkCTARedesign":return u;case"updateBookmarksText":return _;case"updateBookmarksIcon":return l;case"experimentId":return o;case"addMutationObserver":return d;case"applyStyle":return i.applyStyle}return}(e);var n=t[e];return n===w?void 0:n}function L(e,t){var n=g();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){x(e)}))}):(n[e]=void 0===t?w:t,function(){x(e)})}function x(e){var t=g();delete t[e],0==Object.keys(t).length&&delete b()[m]}function I(e){var t=g(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=E,function(){function e(e,t){Object.defineProperty(E,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",R),e("__GetDependency__",R),e("__Rewire__",L),e("__set__",L),e("__reset__",x),e("__ResetDependency__",x),e("__with__",I)}();var k=r(f);function O(e,t){Object.defineProperty(f,e,{value:t,enumerable:!1,configurable:!0})}"object"!==k&&"function"!==k||!Object.isExtensible(f)||(O("__get__",R),O("__GetDependency__",R),O("__Rewire__",L),O("__set__",L),O("__reset__",x),O("__ResetDependency__",x),O("__with__",I),O("__RewireAPI__",E))},5953:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=v,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=y,t.__GetDependency__=t.__get__=h,t.default=void 0;var i="ID-5848",o={id:h("experimentId"),variants:[{traffic:50,code:function(){console.log("5848 control")}},{traffic:50,code:function(){console.log("5848 v1")}}]},a=o;function c(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=a;var s,u=null;function l(){if(null===u){var e=c();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),u=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return u}function _(){var e=c();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function d(){var e=l(),t=_(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(s=c()).__rewire_reset_all__||(s.__rewire_reset_all__=function(){s.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var f="__INTENTIONAL_UNDEFINED__",p={};function h(e){var t=d();if(void 0===t[e])return function(e){if("experimentId"===e)return i;return}(e);var n=t[e];return n===f?void 0:n}function y(e,t){var n=d();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){v(e)}))}):(n[e]=void 0===t?f:t,function(){v(e)})}function v(e){var t=d();delete t[e],0==Object.keys(t).length&&delete _()[l]}function m(e){var t=d(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=p,function(){function e(e,t){Object.defineProperty(p,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",h),e("__GetDependency__",h),e("__Rewire__",y),e("__set__",y),e("__reset__",v),e("__ResetDependency__",v),e("__with__",m)}();var b=r(o);function g(e,t){Object.defineProperty(o,e,{value:t,enumerable:!1,configurable:!0})}"object"!==b&&"function"!==b||!Object.isExtensible(o)||(g("__get__",h),g("__GetDependency__",h),g("__Rewire__",y),g("__set__",y),g("__reset__",v),g("__ResetDependency__",v),g("__with__",m),g("__RewireAPI__",p))},4114:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=E,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=w,t.__GetDependency__=t.__get__=g,t.default=void 0;var i="ID-6385";function o(){var e=document.querySelectorAll(".article-body > p");e.forEach((function(e){if(e.innerText.toLowerCase().includes("read more:")||e.innerText.toLowerCase().includes("read next:")||e.innerText.toLowerCase().includes("read more -")){var t=e.querySelector("a");if(t)t.setAttribute("data-tmdatatrack","read-more");else{var n=e.nextSibling;if("ovp-primis"===n.id){n.nextElementSibling.querySelectorAll("a").forEach((function(e){e.setAttribute("data-tmdatatrack","read-more")}))}else{var r=n.nextElementSibling;if(null!=r)r.querySelectorAll("a").forEach((function(e){e.setAttribute("data-tmdatatrack","read-more")}))}}}}))}function a(e,t){e.forEach((function(e,n){e.setAttribute("href",t[n].url),e.innerText=t[n].title,e.setAttribute("data-tmdatatrack-url",t[n].url),e.setAttribute("data-tmdatatrack-articleid",t[n].articleId),e.setAttribute("data-tmdatatrack","read-more")}))}function c(){var e=window.feliz.getPageConfig("recommendations").slice(6),t=document.querySelectorAll(".article-body > p"),n=0;t.forEach((function(t){if(t.innerText.toLowerCase().includes("read more:")||t.innerText.toLowerCase().includes("read next:")||t.innerText.toLowerCase().includes("read more -")){var r=t.querySelector("a");if(r)r.setAttribute("href",e[n].url),r.innerText=e[n].title,r.setAttribute("data-tmdatatrack-url",e[n].url),r.setAttribute("data-tmdatatrack-articleid",e[n].articleId),r.setAttribute("data-tmdatatrack","read-more"),n++;else{var i=t.nextSibling;if("ovp-primis"===i.id){var o=i.nextElementSibling.querySelectorAll("a");g("addTrackingAttributes")(o,e)}else{var a=i.nextElementSibling;if(null!=a){var c=a.querySelectorAll("a");g("addTrackingAttributes")(c,e)}}}}}))}function s(){var e=document.querySelectorAll(".article-body > p");e.forEach((function(e){if(e.innerText.toLowerCase().includes("read more")||e.innerText.toLowerCase().includes("read next:")||e.innerText.toLowerCase().includes("read more -")){var t=e.querySelector("a");if(t)t.parentElement.remove();else{var n=e.nextSibling;if("ovp-primis"===n.id){n.nextElementSibling.remove()}else{var r=n.nextSibling;if(null!=r)r.classList.contains("read-next-recommended-list")||r.remove()}}e.classList.contains("read-next-recommended-title")||e.remove()}}))}var u=function(e){try{var t={childList:!0,subtree:!0},n=new MutationObserver((function(){if(document.querySelectorAll(".article-body > p")){switch(e){case 0:g("addFelizTrackingReore")();break;case 1:null==document.querySelector("article[data-alp]")&&(window.feliz?g("reoreToUseFeliz")():document.addEventListener("FELIZ",g("reoreToUseFeliz")));break;case 2:g("reoreRemoved")()}n.disconnect()}}));window.addEventListener("DOMContentLoaded",(function(){return n.observe(document.body,t)}))}catch(e){return e}},l={id:g("experimentId"),pageType:"",variants:[{traffic:33,code:function(){g("addMutationObserver")(0)}},{traffic:33,code:function(){g("addMutationObserver")(1)}},{traffic:33,code:function(){g("addMutationObserver")(2)}}]},_=l;function d(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=_;var f,p=null;function h(){if(null===p){var e=d();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),p=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return p}function y(){var e=d();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function v(){var e=h(),t=y(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(f=d()).__rewire_reset_all__||(f.__rewire_reset_all__=function(){f.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var m="__INTENTIONAL_UNDEFINED__",b={};function g(e){var t=v();if(void 0===t[e])return function(e){switch(e){case"addTrackingAttributes":return a;case"addFelizTrackingReore":return o;case"reoreToUseFeliz":return c;case"reoreRemoved":return s;case"experimentId":return i;case"addMutationObserver":return u}return}(e);var n=t[e];return n===m?void 0:n}function w(e,t){var n=v();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){E(e)}))}):(n[e]=void 0===t?m:t,function(){E(e)})}function E(e){var t=v();delete t[e],0==Object.keys(t).length&&delete y()[h]}function R(e){var t=v(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=b,function(){function e(e,t){Object.defineProperty(b,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",g),e("__GetDependency__",g),e("__Rewire__",w),e("__set__",w),e("__reset__",E),e("__ResetDependency__",E),e("__with__",R)}();var L=r(l);function x(e,t){Object.defineProperty(l,e,{value:t,enumerable:!1,configurable:!0})}"object"!==L&&"function"!==L||!Object.isExtensible(l)||(x("__get__",g),x("__GetDependency__",g),x("__Rewire__",w),x("__set__",w),x("__reset__",E),x("__ResetDependency__",E),x("__with__",R),x("__RewireAPI__",b))},7889:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=E,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=w,t.__GetDependency__=t.__get__=g,t.swipePromptToggle=t.swipeGestureDisabled=t.default=t.createStyle=void 0,t.waitForElementToExist=l;var i=n(2850),o="ID-6419",a=function(){return"\n
\n "};t.createStyle=a;var c={id:g("experimentId"),pageType:g("pageTypes").ARTICLE,variants:[{traffic:20,code:function(){}},{traffic:20,code:function(){try{g("swipePromptToggle")()}catch(e){return e}}},{traffic:20,code:function(){try{g("swipePromptToggle")(),g("swipeGestureDisabled")()}catch(e){return e}}},{traffic:20,code:function(){try{g("swipeGestureDisabled")()}catch(e){return e}}},{traffic:20,code:function(){try{document.head.insertAdjacentHTML("beforeend",g("createStyle")()),g("swipeGestureDisabled")()}catch(e){return e}}}]},s=c;t.default=s;var u=function(){var e=0;window.addEventListener("scroll",(function(){var t=this.window.pageYOffset||this.document.documentElement.scrollTop;t>e?document.body.setAttribute("horizontal-scroll-enabled","false"):document.body.setAttribute("horizontal-scroll-enabled","true"),e=t}))};function l(e){return new Promise((function(t){if(document.querySelector(e))return t(document.querySelector(e));var n=new MutationObserver((function(){document.querySelector(e)&&(t(document.querySelector(e)),n.disconnect())}));n.observe(document.body,{subtree:!0,childList:!0})}))}t.swipePromptToggle=u;var _=function(){g("waitForElementToExist")("article.article-main").then((function(e){e.addEventListener("touchstart",(function(){e.setAttribute("swipe-disabled","")}),!1),e.addEventListener("touchmove",(function(){e.setAttribute("swipe-disabled","")}),!1),e.addEventListener("touchend",(function(){e.setAttribute("swipe-disabled","")}),!1),window.addEventListener("scroll.start",(function(){e.setAttribute("swipe-disabled","")}))}))};function d(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.swipeGestureDisabled=_;var f,p=null;function h(){if(null===p){var e=d();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),p=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return p}function y(){var e=d();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function v(){var e=h(),t=y(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(f=d()).__rewire_reset_all__||(f.__rewire_reset_all__=function(){f.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var m="__INTENTIONAL_UNDEFINED__",b={};function g(e){var t=v();if(void 0===t[e])return function(e){switch(e){case"waitForElementToExist":return l;case"experimentId":return o;case"pageTypes":return i.pageTypes;case"swipePromptToggle":return u;case"swipeGestureDisabled":return _;case"createStyle":return a}return}(e);var n=t[e];return n===m?void 0:n}function w(e,t){var n=v();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){E(e)}))}):(n[e]=void 0===t?m:t,function(){E(e)})}function E(e){var t=v();delete t[e],0==Object.keys(t).length&&delete y()[h]}function R(e){var t=v(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=b,function(){function e(e,t){Object.defineProperty(b,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",g),e("__GetDependency__",g),e("__Rewire__",w),e("__set__",w),e("__reset__",E),e("__ResetDependency__",E),e("__with__",R)}();var L=r(c);function x(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==L&&"function"!==L||!Object.isExtensible(c)||(x("__get__",g),x("__GetDependency__",g),x("__Rewire__",w),x("__set__",w),x("__reset__",E),x("__ResetDependency__",E),x("__with__",R),x("__RewireAPI__",b))},5908:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=g,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=b,t.__GetDependency__=t.__get__=m,t.default=void 0;var i="ID-6582",o=function(){return"\n
\n "},a={id:m("experimentId"),pageType:"",variants:[{traffic:50,code:function(){document.head.insertAdjacentHTML("beforeend",m("createStyle")()),m("addMutationObserver")(0)}},{traffic:50,code:function(){}}]},c=a;t.default=c;var s=function(){[document.querySelector("#credential_picker_container"),document.querySelector("#credential_picker_iframe")].forEach((function(e){e&&e.remove()}))},u=function(e){try{var t={childList:!0,subtree:!0},n=new MutationObserver((function(){var t=document.querySelector("#credential_picker_container"),r=document.querySelector("#credential_picker_iframe");if(t||r){if(0===e)m("removeGoogleOneTapContainer")();n.disconnect()}}));window.addEventListener("DOMContentLoaded",(function(){return n.observe(document.body,t)}))}catch(e){return e}};function l(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}var _,d=null;function f(){if(null===d){var e=l();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),d=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return d}function p(){var e=l();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function h(){var e=f(),t=p(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(_=l()).__rewire_reset_all__||(_.__rewire_reset_all__=function(){_.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var y="__INTENTIONAL_UNDEFINED__",v={};function m(e){var t=h();if(void 0===t[e])return function(e){switch(e){case"removeGoogleOneTapContainer":return s;case"experimentId":return i;case"createStyle":return o;case"addMutationObserver":return u}return}(e);var n=t[e];return n===y?void 0:n}function b(e,t){var n=h();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){g(e)}))}):(n[e]=void 0===t?y:t,function(){g(e)})}function g(e){var t=h();delete t[e],0==Object.keys(t).length&&delete p()[f]}function w(e){var t=h(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=v,function(){function e(e,t){Object.defineProperty(v,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",m),e("__GetDependency__",m),e("__Rewire__",b),e("__set__",b),e("__reset__",g),e("__ResetDependency__",g),e("__with__",w)}();var E=r(a);function R(e,t){Object.defineProperty(a,e,{value:t,enumerable:!1,configurable:!0})}"object"!==E&&"function"!==E||!Object.isExtensible(a)||(R("__get__",m),R("__GetDependency__",m),R("__Rewire__",b),R("__set__",b),R("__reset__",g),R("__ResetDependency__",g),R("__with__",w),R("__RewireAPI__",v))},819:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=I,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=x,t.__GetDependency__=t.__get__=L,t.default=void 0;var i,o=n(2850),a=n(4302),c=(i=n(6433))&&i.__esModule?i:{default:i};var s="ID-7100",u=function(){return window.innerWidth<=600},l=function(){var e=function(){window.feliz.event("ask-the-author-visible",{})};window.feliz?e():document.addEventListener("FELIZ",e)};function _(){var e=document.getElementById("question-input").value,t=document.getElementById("send-response").checked,n=function(){window.feliz.event("ask-the-author-click",{sendResponse:t,question:e})};window.feliz?n():document.addEventListener("FELIZ",n);var r=document.getElementById("input-container"),i=document.getElementById("send-response-container");r.innerHTML="
Thank you for your interest! We are working hard on bringing this feature to you soon.
",i.remove()}function d(){var e=document.getElementById("question-input"),t=document.getElementById("char-count");if(e&&t){var n=e.value.length;t.textContent="".concat(n," / ").concat(e.getAttribute("maxlength"))}}var f=function(e,t){try{var n={childList:!0,subtree:!0},r=new MutationObserver((function(){if(document.getElementById("ask-the-author"))return null;var n=document.querySelector(".read-next-recommended");L("applyStyle")(L("style"));var i='
\n
\n
\n \n Tick here if you would like us to send you the author’s response
\n \n
\n '),o="\n const updateCharCount = ".concat(L("updateCharCount"),";\n const felizSubmissionEvent = ").concat(L("felizSubmissionEvent"),";\n ");if(n){n.insertAdjacentHTML("afterend",i);var a=document.createElement("script");a.textContent=o,document.getElementById("ask-the-author").appendChild(a),r.disconnect()}}));window.addEventListener("DOMContentLoaded",(function(){return r.observe(document.body,n)}))}catch(e){return e}},p={id:L("experimentId"),pageType:L("pageTypes").ARTICLE,variants:[{traffic:33,code:function(){}},{traffic:33,code:function(){try{L("isMobile")()||(L("felizVisibilityEvent")(),L("appendWidget")("Ask the Author","What would you like to ask the author about this article?"))}catch(e){return e}}},{traffic:33,code:function(){try{L("isMobile")()||(L("felizVisibilityEvent")(),L("appendWidget")("Ask Reach AI","What would you like to ask Reach AI about this article?"))}catch(e){return e}}}]},h=p;function y(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=h;var v,m=null;function b(){if(null===m){var e=y();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),m=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return m}function g(){var e=y();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function w(){var e=b(),t=g(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(v=y()).__rewire_reset_all__||(v.__rewire_reset_all__=function(){v.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var E="__INTENTIONAL_UNDEFINED__",R={};function L(e){var t=w();if(void 0===t[e])return function(e){switch(e){case"applyStyle":return a.applyStyle;case"style":return c.default;case"updateCharCount":return d;case"felizSubmissionEvent":return _;case"experimentId":return s;case"pageTypes":return o.pageTypes;case"isMobile":return u;case"felizVisibilityEvent":return l;case"appendWidget":return f}return}(e);var n=t[e];return n===E?void 0:n}function x(e,t){var n=w();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){I(e)}))}):(n[e]=void 0===t?E:t,function(){I(e)})}function I(e){var t=w();delete t[e],0==Object.keys(t).length&&delete g()[b]}function k(e){var t=w(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=R,function(){function e(e,t){Object.defineProperty(R,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",L),e("__GetDependency__",L),e("__Rewire__",x),e("__set__",x),e("__reset__",I),e("__ResetDependency__",I),e("__with__",k)}();var O=r(p);function T(e,t){Object.defineProperty(p,e,{value:t,enumerable:!1,configurable:!0})}"object"!==O&&"function"!==O||!Object.isExtensible(p)||(T("__get__",L),T("__GetDependency__",L),T("__Rewire__",x),T("__set__",x),T("__reset__",I),T("__ResetDependency__",I),T("__with__",k),T("__RewireAPI__",R))},9336:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=b,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=m,t.__GetDependency__=t.__get__=v,t.default=void 0;var i=n(2850),o=n(7889),a="ID-7316",c={id:v("experimentId"),pageType:v("pageTypes").ARTICLE,variants:[{traffic:20,code:function(){}},{traffic:20,code:function(){try{v("swipePromptToggle")()}catch(e){return e}}},{traffic:20,code:function(){try{v("swipePromptToggle")(),v("swipeGestureDisabled")()}catch(e){return e}}},{traffic:20,code:function(){try{v("swipeGestureDisabled")()}catch(e){return e}}},{traffic:20,code:function(){try{document.head.insertAdjacentHTML("beforeend",v("createStyle")()),v("swipeGestureDisabled")()}catch(e){return e}}}]},s=c;function u(){try{if(n.g)return n.g}catch(e){try{if(window)return window}catch(e){return this}}}t.default=s;var l,_=null;function d(){if(null===_){var e=u();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),_=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return _}function f(){var e=u();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function p(){var e=d(),t=f(),n=t[e];return n||(t[e]=Object.create(null),n=t[e]),n}(l=u()).__rewire_reset_all__||(l.__rewire_reset_all__=function(){l.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)});var h="__INTENTIONAL_UNDEFINED__",y={};function v(e){var t=p();if(void 0===t[e])return function(e){switch(e){case"experimentId":return a;case"pageTypes":return i.pageTypes;case"swipePromptToggle":return o.swipePromptToggle;case"swipeGestureDisabled":return o.swipeGestureDisabled;case"createStyle":return o.createStyle}return}(e);var n=t[e];return n===h?void 0:n}function m(e,t){var n=p();return"object"===r(e)?(Object.keys(e).forEach((function(t){n[t]=e[t]})),function(){Object.keys(e).forEach((function(t){b(e)}))}):(n[e]=void 0===t?h:t,function(){b(e)})}function b(e){var t=p();delete t[e],0==Object.keys(t).length&&delete f()[d]}function g(e){var t=p(),n=Object.keys(e),r={};function i(){n.forEach((function(e){t[e]=r[e]}))}return function(o){n.forEach((function(n){r[n]=t[n],t[n]=e[n]}));var a=o();return a&&"function"==typeof a.then?a.then(i).catch(i):i(),a}}t.__RewireAPI__=y,function(){function e(e,t){Object.defineProperty(y,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",v),e("__GetDependency__",v),e("__Rewire__",m),e("__set__",m),e("__reset__",b),e("__ResetDependency__",b),e("__with__",g)}();var w=r(c);function E(e,t){Object.defineProperty(c,e,{value:t,enumerable:!1,configurable:!0})}"object"!==w&&"function"!==w||!Object.isExtensible(c)||(E("__get__",v),E("__GetDependency__",v),E("__Rewire__",m),E("__set__",m),E("__reset__",b),E("__ResetDependency__",b),E("__with__",g),E("__RewireAPI__",y))},4509:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.__esModule=!0,t.__ResetDependency__=L,t.__RewireAPI__=void 0,t.__set__=t.__Rewire__=R,t.__GetDependency__=t.__get__=E,t.touchLeftDisable=t.default=t.appendWidget=void 0;var i=n(4302),o=n(2850),a="ID-7317",c=function(){return window.innerWidth<=600},s=window.TMCONFIG&&window.TMCONFIG.publication,u=function(){var e,t=document.querySelector(".article-main");t.addEventListener("touchstart",(function(t){e={posX:t.changedTouches[0].pageX,posY:t.changedTouches[0].pageY}}),!1),t.addEventListener("touchmove",(function(n){var r=(n.changedTouches[0].pageX-e.posX)/screen.width,i=r<0?"left":"right";Math.abs(r)>.1&&(n.preventDefault(),"right"===i&&t.setAttribute("swipe-disabled",""))}),!1)};function l(e){return new Promise((function(t){if(document.querySelector(e))return t(document.querySelector(e));var n=new MutationObserver((function(){document.querySelector(e)&&(t(document.querySelector(e)),n.disconnect())}));n.observe(document.body,{subtree:!0,childList:!0})}))}t.touchLeftDisable=u;var _=function(e){E("waitForElementToExist")(".article-preview-container").then((function(){var t,n,r=JSON.parse(sessionStorage.getItem("scrollList")),i=window.location.href,o=0;Array.isArray(r)&&(o=r.map((function(e){return e.url})).indexOf(i));var a=r.slice(),c=o+1;t=a[o-1],n=a[c];var s='
\n
\n
\n
\n ').concat(null==n?"javascript: void(0)":n.text,'\n
\n
\n
\n
'),u='