SEARCH

    Select Website Language

    GDPR Compliance

    We use cookies to ensure you get the best experience on our website. By continuing to use our site, you accept our use of cookies, Privacy Policies, and Terms of Service.

    Flying taxis 'are coming to London': Six-seater aircraft that can travel at speeds of 150mph could be in the skies by 2028

    2 days ago

    {var r=n(2496),o=n(9859),i=o;i.v1=r,i.v4=o,e.exports=i},3436:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,o=t;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},6825:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},2496:(e,t,n)=>{var r,o,i=n(6825),a=n(3436),s=0,c=0;e.exports=function(e,t,n){var l=t&&n||0,u=t||[],d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==p){var _=i();null==d&&(d=r=[1|_[0],_[1],_[2],_[3],_[4],_[5]]),null==p&&(p=o=16383&(_[6]<<8|_[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,h=f-s+(m-c)/1e4;if(h<0&&void 0===e.clockseq&&(p=p+1&16383),(h<0||f>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,c=m,o=p;var E=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;u[l++]=E>>>24&255,u[l++]=E>>>16&255,u[l++]=E>>>8&255,u[l++]=255&E;var g=f/4294967296*1e4&268435455;u[l++]=g>>>8&255,u[l++]=255&g,u[l++]=g>>>24&15|16,u[l++]=g>>>16&255,u[l++]=p>>>8|128,u[l++]=255&p;for(var v=0;v<6;++v)u[l+v]=d[v];return t||a(u)}},9859:(e,t,n)=>{var r=n(6825),o=n(3436);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{getHostname:()=>_r,getPathname:()=>fr});var t={};n.r(t),n.d(t,{getConfig:()=>mr});const r={AU:"1741787707",GB:"333432218",ROW:"1846856199",US:"2490309188"},o={AU:"1101218488",GB:"2190813630",ROW:"1043007591",US:"824392404"},i=new Map,a=async()=>{window.sophi=window.sophi||{},window.sophi.demeter={actions:[]},window.demeter=window.demeter||async function(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return window.sophi.demeter.actions.push([arguments,e,t]),n},window.addEventListener("sophiDataLayerReady",(e=>{window.molSophiDataLayerEventFired=e}),{once:!0});const e=(window?.location.hostname.includes("int")?o:r)[(()=>{const e=window?.PageCriteria?.cljGeo||"GB";return["GB","IE"].includes(e)?"GB":["AU","NZ"].includes(e)?"AU":["US","CA","MX"].includes(e)?"US":"ROW"})()];await(e=>{const t=`https://cdn.sophi.io/assets/demeter/1/stable/${e}.js`;if(i.has(t))return i.get(t);const n=document.createElement("script");n.id="sophi-loader",n.async=!0,n.fetchPriority="high";const r=new Promise(((e,r)=>{n.src=t,n.onload=()=>e(!0),n.onerror=()=>{window.molSophiFeatureOff=!0,r(new Error(`Failed to load script: ${n.src}`))},document.head.appendChild(n)}));return i.set(t,r),r})(e)},s=e=>["AU","NZ"].includes(e),c="_cds",l=e=>null==e,u=e=>{if(e instanceof Date)return e.toISOString();if("object"==typeof e&&null!==e)try{return JSON.stringify(e)}catch{return"[Unserializable]"}return String(e)};n(6660);const d=e=>/^(live-(us|uk|au)\.(andweb\.dmgt\.net|mol\.dmgt\.net|mailonline\.co\.uk)|(?:www\.)?(dailymail|thisismoney)\.(co\.uk|com))$/.test(e);d(window.location.hostname);const p=class{constructor(){this.listeners=new Map}subscribe(e,t){if(!e)throw new Error('Missing required parameter "eventName"');if("function"!=typeof t)throw new Error('Parameter "handler" is not a function');return this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push(t),{unsubscribe:()=>this.unsubscribe(e,t)}}unsubscribe(e,t){if(!e)throw new Error('Missing required parameter "eventName"');if("function"!=typeof t)throw new Error('Parameter "handler" is not a function');if(this.listeners.has(e)){const n=this.listeners.get(e).filter((e=>e!==t));this.listeners.set(e,n)}}publish(e,...t){if(!e)throw new Error('Missing required parameter "eventName"');this.listeners.has(e)&&setTimeout((()=>{this.listeners.get(e).forEach((n=>n(e,...t)))}),0)}};const _=class{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}},f=function(e,t){return e.has(t)||e.set(t,new _),e.get(t)},m=new Promise((e=>{const t=document.querySelector("#mobile-content .scrollable-content article img");window.PageCriteria&&"article"===window.PageCriteria.pageType&&t?t.complete?e():(t.addEventListener("load",(()=>{e()})),t.addEventListener("error",e)):e()})),h=new Map,E=()=>{},g=function(e,t=E){if("function"!=typeof t)throw new Error('Parameter "callback" is not a function');if(!e)throw new Error('Missing required parameter "eventNames"');let n;if(n=Array.isArray(e)?e:[e],n.some((e=>"string"!=typeof e)))throw new Error('Required parameter "events" is not a string or an array of strings');const r=n.map((e=>f(h,e).promise));return Promise.all([...r,m]).then(t)},v=function(e){f(h,e).resolve()};if(g.go=v,window.DMPlaceholder&&window.DMPlaceholder.laterQueue&&window.DMPlaceholder.laterQueue.length)for(const e of window.DMPlaceholder.laterQueue)g(e.eventNames,e.callback);v("ads");const y=g;new p;let w={};const I=function(e){return Object.assign({},w,e)},O=function(){return Object.assign({},window.PageCriteria)},S=function(){const e=[],{liveBlog:t,hasLiveBlogHeaderXpmodule:n,hasVideoHeroXpmodule:r,containsVideo:o}=window.PageCriteria;return t&&e.push("liveBlog"),n&&e.push("hasLiveBlogHeaderXpmodule"),r&&e.push("hasVideoHeroXpmodule"),o&&e.push("haseditorialplayer"),e.join(",")};var b=n(5880),T=n.n(b),C=n(5934),A=n.n(C);const L=Object.keys(T().levels),P=L.reduce(((e,t)=>(e[T().levels[t]]=t,e)),{}),R=function(e){const t=window.location.href,n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(t)||[];try{return n&&n.length>1?decodeURIComponent(n[2].replace(/\+/g," ")):"object"==typeof localStorage?localStorage[e]:null}catch(e){}return null}("logLevel")||"",N=O().logLevel||"";A().apply(T(),{nameFormatter:e=>e||"mol-fe",template:"[%n] %l:"}),T().setDefaultLevel(T().levels.ERROR),T().setLevel(T().levels.ERROR),L.includes(R.toUpperCase())?T().setLevel(R,!1):L.includes(N.toUpperCase())&&T().setLevel(N,!1),console.info(`Current log level: ${P[T().getLevel()]}`),T().log=T().debug;T().log.bind(T());const M=class extends p{constructor(e={}){super(),Object.assign(this,e),this.eventsMap=Object.keys(e).reduce(((t,n)=>(t[e[n]]?T().warn(`Conflicting event value for events "${n}" and "map[events[key]]"`):t[e[n]]=n,t)),{})}subscribe(e,t){return e&&!this.eventsMap[e]&&T().warn(`Subscribing to non-standard event "${e}"`),super.subscribe(e,t)}publish(e,t){if(!e)throw new Error('Missing required parameter "eventName"');e&&!this.eventsMap[e]&&T().warn(`Publishing non-standard event "${e}"`),T().trace(`Published PageEvent "${e}"`,t),this.listeners.get(e)&&this.listeners.get(e).forEach((n=>{try{n(e,t)}catch(e){T().error(e)}}))}listen(e,t,n){T().warn('"pageEvents.listen(eventName, function(observable, eventName, data) {...}, context)" has been deprecated.\n Please use "pageEvents.subscribe(eventName, (eventName, data) => {...})" instead');return this.subscribe(e,((...e)=>{t.call(n,this,...e)}))}fireEvent(e,t){return T().warn('"pageEvents.fireEvent(eventName, data)" has been deprecated. Please use "pageEvents.publish(eventName, data)" instead'),this.publish(e,t)}},D={AD_BILLBOARD_CLOSED:"ad_billboard-closed",AD_SLOT_LOADED_ON_PAGE:"adslot.loaded_on_page",AFFILIATE_CAROUSEL_CLICK:"affiliate.carousel_click",AFFILIATE_CAROUSEL_IMPRESSION:"affiliate.carousel_impression",AFFILIATE_CAROUSEL_VIEWABLE:"affiliate.carousel_viewable",ARTICLE_HERO_AUTHOR_TWITTER_LINK_CLICK:"article_hero.author_twitter_link_click",ARTICLE_HERO_LOZENGE_LINK_CLICK:"article_hero.lozenge_link_click",ARTICLE_PREVIEW_XP_CLICK:"article.preview.xp.click",ARTICLE_PREVIEW_XP_IMPRESSION:"article.preview.xp.impression",ARTICLE_PREVIEW_XP_VIEWABLE:"article.preview.xp.viewable",ARTICLE_RECOMMENDATION_XP_CLICK:"article.recommendation.xp.click",ARTICLE_RECOMMENDATION_XP_IMPRESSION:"article.recommendation.xp.impression",ARTICLE_RECOMMENDATION_XP_VIEWABLE:"article.recommendation.xp.viewable",ARTICLE_TRUNCATION_EXPAND:"article.truncation.expand",ARTICLE_TRUNCATION_INELIGIBLE:"article.truncation.ineligible",ARTICLE_TRUNCATION_READ_NEXT:"article.truncation.read_next",ARTICLE_TRUNCATION_TRUNCATE:"article.truncation.truncate",ARTICLE_TRUNCATION_VIEWABLE:"article.truncation.viewable",BF_BUY_NOW_CAROUSEL_CLICKED:"bf.buy_now_carousel_clicked",BF_BUY_NOW_HEADER_CLICKED:"bf.buy_now_header_clicked",BF_CAROUSEL_IN_VIEW:"bf.carousel_in_view",BF_CAROUSEL_ROTATE_CLICKED:"bf.carousel_clicked",BF_IMPRESSION:"bf.impression",BF_SHOW_MORE_CLICKED:"bf.show_more_clicked",CMP_LEVEL_ONE_ACCEPT:"cmp.cmp_level_1_accept",CMP_LEVEL_ONE_CONVERSION:"cmp.cmp_level_1_conversion",CMP_LEVEL_ONE_LOGIN:"cmp.cmp_level_1_login",CMP_LEVEL_ONE_PRIVACY_SETTINGS:"cmp.cmp_level_1_privacy_settings",CMP_LEVEL_ONE_SUBSCRIBE:"cmp.cmp_level_1_subscribe",CMP_LEVEL_TWO_CONVERSION:"cmp.cmp_level_2_conversion",CMP_LEVEL_TWO_SAVE_EXIT:"cmp.cmp_level_2_save_exit",CMP_LEVEL_TWO_SUBSCRIBE:"cmp.cmp_level_2_subscribe",COMMENT_CTA_CLICK:"commentcta.click",COMMENT_CTA_IMPRESSION:"commentcta.impression",COMMENTS_ADD_COMMENT_CLICK:"comments.add-comment-click",COMMENTS_CLEAR:"comments.clear",COMMENTS_CLICK:"comments.click",COMMENTS_DELETE:"comments.delete",COMMENTS_DOWNVOTE:"comments.downvote",COMMENTS_IMPRESSION:"comments.impression",COMMENTS_LOAD_TIME:"comments.load-time",COMMENTS_LOGIN_REDIRECT:"comments.login-redirect",COMMENTS_MASTHEAD_CLICK:"comments.masthead-click",COMMENTS_NEW_COMMENT_CLICK:"comments.new-comment-click",COMMENTS_NOTIF_CLICK:"comments.notif-click",COMMENTS_OVERLAY_CLOSE:"comments.overlay-close",COMMENTS_OVERLAY_OPEN:"page.comments-overlay-open",COMMENTS_PAGINATION_CLICK:"comments.pagination-click",COMMENTS_PROFILE_CLICK:"comments.profile-click",COMMENTS_REPLY_CLICK:"comments.reply-click",COMMENTS_REPLY_SUBMIT:"comments.reply-submit",COMMENTS_REPLY_SUBMIT_SUCCESS:"comments.reply-submit-success",COMMENTS_REPORT_CLICK:"comments.report-click",COMMENTS_SHOW_MORE_CLICK:"comments.show-more-click",COMMENTS_SUBMIT_COMMENT:"comments.submit-comment",COMMENTS_SUBMIT_SUCCESS:"comments.submit-success",COMMENTS_UPVOTE:"comments.upvote",COMMENTS_VIEW:"comments.view",COMMENTS_VIEW_ALL:"comments.view-all",COMMERCE_XP_CLICK:"commerce_xp.click",COMMERCE_XP_IMPRESSION:"commerce_xp.impression",COMMERCE_XP_VIEW_MORE:"commerce_xp.view_more",COMMERCE_XP_VIEWABLE:"commerce_xp.viewable",COMPANY_REVIEW_IMPRESSION:"company_review.impression",COMPANY_REVIEW_LEARN_MORE_CLICKED:"company_review.learn_more_clicked",COMPANY_REVIEW_LESS_CONTENT_CLICKED:"company_review.less_content_clicked",COMPANY_REVIEW_MORE_CONTENT_CLICKED:"company_review.more_content_clicked",CONTACT_FORM_CAPTCHA_VALID:"mol_fe_contact_form.captcha-valid",CONTACT_FORM_FILE_ADDED:"mol_fe_contact_form.file-added",CONTACT_FORM_FILE_ERROR_CLIENT:"mol_fe_contact_form.file-error-client",CONTACT_FORM_FILE_ERROR_SERVER:"mol_fe_contact_form.file-error-server",CONTACT_FORM_SUBMIT_CLICK:"mol_fe_contact_form.submit-click",CONTACT_FORM_SUBMIT_ERROR:"mol_fe_contact_form.submit-error",CONTACT_FORM_SUBMIT_SUCCESS:"mol_fe_contact_form.submit-success",DESKTOP_HOME_PAGE_OVERLAY:"page.desktop_home_page_overlay",ERROR_RENDER_STARTED:"error-page.render-started",ESSENTIAL_ACCOUNT_LINK_COMPLETE:"cmp.essential_account_link_complete",ESSENTIAL_ACCOUNT_LINK_HELP_CLICK:"cmp.essential_account_link_help_click",ESSENTIAL_ACCOUNT_LINK_PROMPT:"cmp.essential_account_link_prompt",ESSENTIAL_ACCOUNT_LINK_RESEND:"cmp.essential_account_link_resend_email_click",ESSENTIAL_RESTORE_PURCHASE_CLICK:"cmp.essential_restore_purchase_click",FACTBOX_READ_MORE_CLICK:"factbox.read-more-click",FEATURE_ARTICLE:"page.feature_article",FIDELITY_CAMPAIGN_EVENT:"fidelity-campaign.event",FIREWORK_VIDEO_CAROUSEL_ERROR:"firework-video-carousel.error",FIREWORK_VIDEO_CAROUSEL_IMPRESSION:"firework-video-carousel.impression",FIREWORK_VIDEO_CAROUSEL_PLAYER_NAVIGATION:"firework-video-carousel.player-navigation",FIREWORK_VIDEO_CAROUSEL_PLAYER_QUIT:"firework-video-carousel.player-quit",FIREWORK_VIDEO_CAROUSEL_PLAYER_TRANSITION:"firework-video-carousel.player-transition",FIREWORK_VIDEO_CAROUSEL_READY:"firework-video-carousel.ready",FIREWORK_VIDEO_CAROUSEL_THUMBNAIL_CLICK:"firework-video-carousel.thumbnail-click",FIREWORK_VIDEO_CAROUSEL_VIDEO_CLICK_CTA:"firework-video-carousel.video-click-cta",FIREWORK_VIDEO_CAROUSEL_VIDEO_CLICK_SHARE:"firework-video-carousel.video-click-share",FIREWORK_VIDEO_CAROUSEL_VIDEO_COMPLETE:"firework-video-carousel.video-complete",FIREWORK_VIDEO_CAROUSEL_VIDEO_FIRST_QUARTILE:"firework-video-carousel.video-first-quartile",FIREWORK_VIDEO_CAROUSEL_VIDEO_IMPRESSION:"firework-video-carousel.video-impression",FIREWORK_VIDEO_CAROUSEL_VIDEO_MID_POINT:"firework-video-carousel.video-mid-point",FIREWORK_VIDEO_CAROUSEL_VIDEO_SESSION:"firework-video-carousel.video-session",FIREWORK_VIDEO_CAROUSEL_VIDEO_START:"firework-video-carousel.video-start",FIREWORK_VIDEO_CAROUSEL_VIDEO_THIRD_QUARTILE:"firework-video-carousel.video-third-quartile",FLOATING_BUTTONS_BACK_TO_TOP:"back-to-top",FOR_YOU_SAVE_PREFERENCES_CLICK:"for-you.save_preferences_click",FRAGMENT_LOADED:"page.fragment-loaded",GALLERY_ADVERT_STATS:"gallery.advert-stats",GALLERY_ADVERT_VIEWED:"gallery.advert.viewed",GALLERY_CLOSED:"gallery.closed",GALLERY_IMAGE_VIEWED:"gallery.image-viewed",GALLERY_OPENED:"gallery.opened",GDPR_EMBEDDED_VIDEO_ACCEPTED:"gdpr.embedded_video_accepted",GDPR_EMBEDDED_VIDEO_DISPLAYED:"gdpr.embedded_video_displayed",GDPR_EMBEDDED_VIDEO_SETTINGS:"gdpr.embedded_video_settings",GDPR_MOBILE_HOME_ACCEPTED:"gdpr.mobile_home_accepted",GDPR_MOBILE_HOME_DISPLAYED:"gdpr.mobile_home_displayed",GDPR_MOBILE_HOME_SETTINGS:"gdpr.mobile_home_settings",GDPR_OVERLAY_ACCEPT_BY_CLICK_SITE:"gdpr.overlay_accept_by_click_site",GDPR_OVERLAY_ACCEPTED:"gdpr.overlay_accepted",GDPR_OVERLAY_DISPLAYED:"gdpr.overlay_displayed",GDPR_OVERLAY_PRIVACY:"gdpr.overlay_privacy",GDPR_SETTINGS_ADVERTISING_ALLOW_ALL:"gdpr.settings_advertising_allow_all",GDPR_SETTINGS_ADVERTISING_LINK_CLICKED:"gdpr.settings_advertising_link_clicked",GDPR_SETTINGS_ADVERTISING_TAB_CLICKED:"gdpr.settings_advertising_tab_clicked",GDPR_SETTINGS_CONFIRMATION_ALLOW:"gdpr.settings_confirmation_allow",GDPR_SETTINGS_CONFIRMATION_DISALLOW:"gdpr.settings_confirmation_disallow",GDPR_SETTINGS_DISALLOW_ADVERTISING_PARTNERS:"gdpr.settings_disallow_advertising_partners",GDPR_SETTINGS_FUNCTION_ALLOW_ALL:"gdpr.settings_function_allow_all",GDPR_SETTINGS_FUNCTION_TAB_CLICKED:"gdpr.settings_function_tab_clicked",GDPR_SETTINGS_POLICY_LINK_CLICKED:"gdpr.settings_policy_link_clicked",GEO_TARGETED_HOMEPAGE_XP_CLICK:"geo.targeted.homepage.xp.click",GEO_TARGETED_HOMEPAGE_XP_IMPRESSION:"geo.targeted.homepage.xp.impression",GEO_TARGETED_HOMEPAGE_XP_VIEWABLE:"geo.targeted.homepage.xp.viewable",GOOGLE_SUBSCRIPTION_DISMISS:"google-subscription.dismiss",GOOGLE_SUBSCRIPTION_LINK:"google-subscription.link",GOOGLE_SUBSCRIPTION_VIEW:"google-subscription.impression",GUESTBOOK_IMPRESSION:"guestbook.impression",GUESTBOOK_LOADING_ERROR:"guestbook.loading_error",GUESTBOOK_SUBMIT_ERROR:"guestbook.submit_error",GUESTBOOK_SUBMIT_SUCCESS:"guestbook.submit_success",IFRAME_EMAIL_IMPRESSION:"iframe.email.impression",IFRAME_EMAIL_SUBMIT:"iframe.email.submit",IFRAME_EMAIL_SUBMIT_NO_EMAIL:"iframe.email.submit_no_email",IFRAME_EMAIL_VIEWABLE:"iframe.email.viewable",LINK_CLICK:"link.click",LIVE_BLOG_LOAD_MORE:"liveblog.load_click_more",MAGAZINE_READ_NOW_CLICK:"magazine.read_now_click",MASTHEAD_CLICK:"masthead_click",MOBILE_HOME_PAGE_NAV:"page.mobile_home_page_nav",MOBILE_HOME_PAGE_OVERLAY:"page.mobile_home_page_overlay",MOBILE_HOME_PAGE_SIGNPOST_CLICK:"page.mobile_home_page_signpost_click",MOBILE_HOME_PAGE_SIGNPOST_DISMISS:"page.mobile_home_page_signpost_dismiss",MOBILE_HOME_PAGE_SIGNPOST_DISPLAY:"page.mobile_home_page_signpost_display",MOBILE_HOME_PAGE_SWIPE:"page.mobile_home_page_swipe",MOBILE_HOME_PAGE_VIEW:"page.mobile_home_page_view",MOBILE_MENU_COMMENT:"menu.mobile_menu_comment",MOBILE_MENU_DESKTOP_SITE:"menu.mobile_menu_desktop_site",MODULE_IMPRESSION:"module.impression",MODULE_INTERACT:"module.interact",MODULE_VIEW:"module.view",MOST_COMMENTED_ARTICLE_CLICKED:"page.most_commented_article_clicked",MOST_COMMENTED_CLOSE_CLICKED:"page.most_commented_close_clicked",MOST_COMMENTED_RADIO_CLICKED:"page.most_commented_radio_clicked",MOST_COMMENTED_SHOWMORE_CLICKED:"page.most_commented_showmore_clicked",NEWSLETTER_ERROR:"newsletter.error",NEWSLETTER_POPUP_SHOW:"newsletter-popup.show",NEWSLETTER_POPUP_SUBMIT:"newsletter-popup.submit",NEWSLETTER_PRIVACY_CLICK:"newsletter-privacy.click",NEWSLETTER_SHOW:"newsletter.show",NEWSLETTER_SUBMIT:"newsletter.submit",ONE_TAP_CLOSE:"onetap.close",ONE_TAP_CONTINUE:"onetap.continue",ONE_TAP_IMPRESSION:"onetap.impression",PAGE_AD_DISPLAYED:"page.ad-displayed",PAGE_AD_ERRORS:"page.ad-errors",PAGE_AD_STATS:"page.ad-stats",PAGE_AUTOREFRESH_EVENT:"page.autorefresh-event",PAGE_COMMENT_FUNNEL_PROGRESSED:"page.comment-funnel-progressed",PAGE_COMMENT_TAB_SWAPPED:"page.comment-tab-swapped",PAGE_EXTERNAL_LINK_CLICKED:"page.external-link-clicked",PAGE_EXTERNAL_LINK_CLICKED_GA:"page.external-link-clicked-ga",PAGE_FOOTBALL_FIXTURES_TAB_SWAPPED:"page.football-fixtures-tab-swapped",PAGE_FURNITURE_CLICKED:"page.furniture-clicked",PAGE_IMAGE_ENLARGED:"page.image-enlarged",PAGE_LOGIN_BUTTON_CLICKED:"page.login-button-clicked",PAGE_LOGIN_OPENED:"page.login-opened",PAGE_MOBILE_TAB_CHANGE:"page.mobile.tab.change",PAGE_MODULE_CLICKED:"page.module-clicked",PAGE_NEWSLETTERS_OPENED:"page.newsletters-opened",PAGE_RENDER_STARTED:"page.render-started",PAYWALL_ACCOUNT_LINK_COMPLETE:"paywall.account-link-complete",PAYWALL_ACCOUNT_LINK_HELP:"paywall.account-link-help",PAYWALL_ACCOUNT_LINK_PROMPT:"paywall.account-link-prompt",PAYWALL_ACCOUNT_LINK_RESEND:"paywall.account-link-resend",PAYWALL_CONVERSION:"paywall.conversion",PAYWALL_CONVERSION_BANNER:"paywall.conversion-banner",PAYWALL_CONVERSION_PROFILE:"paywall.conversion-profile",PAYWALL_HOMEMODULE_ARTICLE_CLICK:"paywall.homemodule-article-click",PAYWALL_HOMEMODULE_ARTICLE_COMMENTS_CLICK:"paywall.homemodule-article-comments-click",PAYWALL_HOMEMODULE_CHANNEL_CLICK:"paywall.homemodule-channel-click",PAYWALL_HOMEMODULE_SIGNUP_CLICK:"paywall.homemodule-signup-click",PAYWALL_IMPRESSION:"paywall.impression",PAYWALL_LOGIN_CLICK:"paywall.login-click",PAYWALL_MASTHEAD_ARTICLE_CLICK:"paywall.masthead-article-click",PAYWALL_MASTHEAD_SIGNUP_CLICK:"paywall.masthead-signup-click",PAYWALL_MASTHEAD_SUBSCRIBED_CLICK:"paywall.masthead-subscribed-click",PAYWALL_PROFILE_SIGNUP_CLICK:"paywall.profile-signup",PAYWALL_RESTORE_PURCHASE_CLICK:"paywall.restore-purchase-click",PAYWALL_SIGN_UP:"paywall.signup",PAYWALL_SOPHI_LOAD:"paywall.sophi-load",PAYWALL_VIEWABLE:"paywall.viewable",PAYWALL_ZEPHR_FAIL_OPEN:"paywall.zephr-fail-open",PREDICTOR_CTA_CLICK:"predictor.cta-click",PRODUCT_BUTTON_LINK:"product.button-link",PRODUCT_IMAGE_LINK:"product.image-link",PRODUCT_PRICE_LINK:"product.price-link",PRODUCT_TITLE_LINK:"product.title-link",PROMOTIONAL_SLOT_EVENT:"promotional.slot-event",PROMOTIONS_XP_CLICK:"promotions.xp.click",PROMOTIONS_XP_IMPRESSION:"promotions.xp.impressions",PROMOTIONS_XP_VIEW_MORE:"promotions.xp.view.more",PROMOTIONS_XP_VIEWABLE:"promotions.xp.viewable",PUZZLE_COMPLETE:"puzzle.complete",PUZZLE_STARTED:"puzzle.started",RC_TAB_SELECT:"rc.tab_select",RELATED_REPLACE_CLICK:"related-replace.click",RELATED_REPLACE_IMPRESSION:"related-replace.impression",RELATED_REPLACE_VIEWABLE:"related-replace.viewable",REMIXD_COMPLETE:"remixd.complete",REMIXD_ERROR:"remixd.error",REMIXD_IMPRESSION:"remixd.impression",REMIXD_MUTE:"remixd.mute",REMIXD_PAUSE:"remixd.pause",REMIXD_PLAY:"remixd.play",SCREENSAVER_DOWNLOADED:"page.screensaver_downloaded",SIGN_IN_LOGIN_SUCCESS:"signin.login-success",SIGN_IN_REGISTRATION_SUCCESS:"signin.registration-success",SIGN_IN_SIGN_IN_CLICK:"signin.sign-in-click",SITE_SEARCH:"site-search",SMART_BANNER_CLICKED:"smart-banner.clicked",SMART_BANNER_SHOWN:"smart-banner.shown",SOCIAL_BUTTON_CLICKED:"social.button-clicked",SOCIAL_LIGHTBOX_BUTTON_CLICKED:"social.lightbox-button-clicked",SOCIAL_SHARE_CLICKED:"social.share-clicked",SOCIAL_SHARE_COMMENTS:"social_share.comments",SOCIAL_SHARE_MENU_OPEN:"social_share.menu_open",SWIPE_BAR_SHOWN:"swipe_bar.shown",SWIPE_TUTORIAL_CLOSE:"swipe_tutorial.close",SWIPE_TUTORIAL_SHOWN:"swipe_tutorial.shown",SYNDSHARE_POST:"page.syndshare_post",TIM_AFFILIATE_BOTTOM_LINK_CLICKED:"timAffiliate.bottom_link_clicked",TIM_AFFILIATE_IMPRESSION:"timAffiliate.impression",TIM_AFFILIATE_LEARN_MORE_CLICKED:"timAffiliate.learn_more_clicked",TIM_ANCHOR_LINK_CLICKED:"tim.anchor.link-clicked",TOAST_OVERLAY_CLICK:"toast-overlay.click",TOAST_OVERLAY_DISMISS:"toast-overlay.dismiss",TOAST_OVERLAY_VIEW:"toast-overlay.view",TOP_STORIES_XP_CLICK:"top.stories.xp.click",TOP_STORIES_XP_IMPRESSION:"top.stories.xp.impression",TOP_STORIES_XP_VIEW_MORE:"top.stories.xp.view.more",TOP_STORIES_XP_VIEWABLE:"top.stories.xp.viewable",USER_AUTH_SITE_REG_ERROR_ONCE:"user_auth.site-reg-error-once",VIDEO_ADVERT_ABORTED:"video.advert-aborted",VIDEO_ADVERT_COMPLETED:"video.advert-completed",VIDEO_ADVERT_FAILED:"video.advert-failed",VIDEO_ADVERT_IMPRESSION:"video.ad-impression",VIDEO_ADVERT_NOT_SHOWN:"video.no-ad-shown",VIDEO_ADVERT_STARTED:"video.advert-started",VIDEO_BRANDED_CONTENT_PROGRESS:"video.branded-content.progress",VIDEO_CAROUSEL_CLICK:"video.carousel-click",VIDEO_CAROUSEL_CLICKED:"video.carousel-clicked",VIDEO_CAROUSEL_SWIPE:"video.carousel-swipe",VIDEO_CLICKED:"video.clicked",VIDEO_CONFIG_CHANGE:"page.video-config-change",VIDEO_CONTENT_ABORTED:"video.content-aborted",VIDEO_CONTENT_COMPLETED:"video.content-completed",VIDEO_CONTENT_STARTED:"video.content-started",VIDEO_DATA_READY:"video.data-ready",VIDEO_EXTRA:"extra",VIDEO_FULLSCREEN_CHANGE:"video.fullscreen-change",VIDEO_PAUSED:"video.paused",VIDEO_PLAYER_READY:"video.player-ready",VIDEO_PROGRESS:"video.progress",VIDEO_RESUMED:"video.resumed",VIDEO_STICKY_CLOSE:"video.sticky-close",VIDEO_STREAM_FAILED:"video.stream-failed",VIDEO_STREAM_STARTED:"video.stream-started",VIDEO_THUMBNAIL_CLICK:"video.thumbnail-click",VIDEO_VOLUME_CHANGE:"video.volume-change",VWO_VARIATION_APPLIED:"vwo.variation-applied",WEB_PULL_NOTIFICATION_CLICK:"web-pull.notification-click",WEB_PUSH_NOTIFICATION_CLICK:"web-push.notification-click",WEB_PUSH_PRE_PROMPT_CLICK:"web-push.pre-prompt-click",WEB_PUSH_PRE_PROMPT_IMPRESSION:"web-push.pre-prompt-impression",WEB_PUSH_PROMPT_CLICK:"web-push.prompt-click",WEB_PUSH_PROMPT_IMPRESSION:"web-push.prompt-impression",WEB_SEARCH:"web-search",XP_BUTTON_LOGO_LINK_CLICK:"xp.button.logo_link_click",XP_BUTTON_LOGO_LINK_IMPRESSION:"xp.button.logo_link_impression",XP_POLLS_CLICK:"xp.polls.click",XP_POLLS_IMPRESSION:"xp.polls.impression",XP_POLLS_SUBSCRIBED:"xp.polls.subscribed",XP_POLLS_VIEW:"xp.polls.show",XP_POLLS_VOTED:"xp.polls.voted"},k=new M(D),U={".mol-desktop #addCommentButton, .mol-desktop #addCommentNarrowButton":"bottom add comment",".mol-desktop #articleIconLinksContainer .comments-count":"top comments click",".mol-desktop #floating-share-bar-container .comments-count":"floating comments click",".mol-mobile .social.bottom .comments-count":"bottom comment click",".mol-mobile .social.top .comments-count":"top comment click"},B="mol-fe-puzzle-tracking",x=()=>{try{return JSON.parse(window.localStorage.getItem(B))}catch(e){}return null},V=e=>{try{window.localStorage.setItem(B,JSON.stringify(e))}catch(e){}},G=()=>{try{const e=x();if(!e)return"undefined";return e.last-e.first>=72e5?"repeat player":"first time player"}catch(e){}return"undefined"},K={puzzle_complete:k.PUZZLE_COMPLETE,puzzle_play:k.PUZZLE_STARTED,PuzzleComplete:k.PUZZLE_COMPLETE,PuzzleStarted:k.PUZZLE_STARTED},W=()=>{window.VWO=window.VWO||[],window.VWO.event=window.VWO.event||function(){window.VWO.push(["event"].concat([].slice.call(arguments)))},window.VWO.visitor=window.VWO.visitor||function(){window.VWO.push(["visitor"].concat([].slice.call(arguments)))}},j=()=>(W(),new Promise((e=>{window.VWO.push(["onVWOCampaignsLoaded",t=>{const{bucketed_campaigns:n}=t||{};e(n)}])}))),F=e=>new Promise((t=>{setTimeout(t,e)})),H=()=>{try{return window.adsMVTResults&&"off"===window.adsMVTResults.selectedScenarios.vwo}catch(e){return!1}},Y=async()=>{if(H())return"";return(await Promise.race([j(),F(1e3)])||[]).map((e=>{const{name:t,variation:n}=e||{};return`${t}:${n}`})).join(",")};var $=n(6989);const X="mol-fe-tracking-scv-session-id";window.singleCustomerPageId=null;const z=()=>{try{return window.singleCustomerPageId||(window.singleCustomerPageId=(0,$.v4)()),window.singleCustomerPageId}catch(e){return null}},q=()=>{try{return sessionStorage.getItem(X)||null}catch(e){return null}},J=function(e,t){const n=Object.keys(t).filter((n=>{let r=!1;return D[n]?(k.subscribe(D[n],t[n]),r=!0):T().error(`${e}: Subscribing to invalid event ${n}`),r}));T().debug(`${e}: successfully loaded`,n)},Z=()=>{window.adverts&&window.adverts.queue&&window.adverts.queue.push((()=>{window.fbq&&window.fbq("track","Subscribe",{currency:"GBP",value:"1.99"})}))},Q=()=>{window.adverts&&window.adverts.queue&&window.adverts.queue.push((()=>{window.fbq&&window.fbq("trackCustom","SubscribeButtonClicked")}))},ee=[{PAYWALL_CONVERSION:Z,PAYWALL_CONVERSION_BANNER:Z,PAYWALL_CONVERSION_PROFILE:Z,PAYWALL_MASTHEAD_SIGNUP_CLICK:Q,PAYWALL_PROFILE_SIGNUP_CLICK:Q,PAYWALL_SIGN_UP:Q}];for(const e of ee)J("googleAnalytics",e);const te="javascript:,dmgt.net,dailymail.co.uk,mailonsunday.co.uk,mailonline.co.uk,localhost,"+location.hostname,ne=new RegExp(te.replace(/\./g,"\\.").replace(/,/g,"|"),"i"),re=O(),oe=re.isTablet,ie=re.isMobile&&!oe,ae={geo:re.geo,internalDomains:te,internalDomainsRegex:ne,isMobile:ie,isTablet:oe},se=e=>{let t=e.offsetTop,n=e.offsetParent;for(;n;)Number.isNaN(n.offsetTop)||(t+=n.offsetTop),n=n.offsetParent;return t},ce=["alpha","beta","gamma"],le=ce.map((e=>`.${e}`)).join(","),ue=function(e){const t=e.hostname||window.location.hostname;return ae.internalDomainsRegex.test(t)},de=function(e){return!ue(e)},pe=function(e){if(!e||1!==e.nodeType)return null;const t=ce.find((t=>e.classList.contains(t)));if(!t)return"other";return`${t}-${Array.from(document.querySelectorAll("."+t)).indexOf(e)+1}`},_e=e=>{const t=e.closest("[data-track-rta]");if(t)try{const{index:e}=JSON.parse(t.dataset.trackRta);return parseInt(e,10)}catch(e){return}},fe=function({interaction:e,link:t,moduleElement:n,target:r,trackAs:o,trackLinks:i}){const a=n.closest(le),s={element:t,fromLink:t,interaction:e,linkType:"IMG"===r.nodeName?"image":"text",listPosition:i.indexOf(t)+1,moduleName:n.getAttribute("data-track-module"),pixelDepth:se(t),position:n.getAttribute("data-track-pos")||pe(a)||"other",trackingType:o||t.getAttribute("data-track-type")||n.getAttribute("data-track-type")||"ck",videoId:t.getAttribute("data-videoid")};return s.moduleName.includes("-desktop-ap-")&&(s.moduleArticlePositionChannel=(e=>{const t=Array.from(document.querySelectorAll('[data-track-module*="-desktop-ap-"]')).indexOf(e);return-1===t?void 0:t+1})(n)),s.moduleName.startsWith("home-tab-")&&(s.moduleArticlePositionChannel=_e(t)),"mobile-channel-page"===s.moduleName&&(s.moduleArticlePositionChannel=_e(t)),r.closest(".sponsored")&&(s.moduleName=s.moduleName.replace("^","_sponsored^")),(e=>{if("article"!==O().pageType||"desktop"!==I().renderPlatform||!e||!e.closest(".puff"))return!1;const t=document.querySelector(".article-text .shareArticles"),n=se(t);return se(e)>n})(r)&&(s.moduleName+="AfterArticle"),t.classList.contains("article-icon-links__topChannel")&&(s.moduleName+="_channel-label"),s},me=function(e){const{moduleElement:t,shouldProceed:n,target:r}=e,o=t.getAttribute("data-track-selector")||"a",i=Array.from(t.querySelectorAll(o)),a=i.find((e=>e===r||e.contains(r)));if(a&&n(a)){const t=fe(Object.assign({link:a,trackLinks:i},e));T().debug("moduleTracking",t),k.publish(k.PAGE_MODULE_CLICKED,t)}};document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelectorAll(".mol-para-with-font a, .imageCaption a");if(e){const t=[...e].map((e=>e.getAttribute("href").startsWith("/")?e:null)).filter(Boolean);if(t.length>0)for(const e of t)e.outerHTML=`${e.outerHTML}`}})),document.addEventListener("click",(e=>{const t=e.target.closest("[data-track-module]");if(t){const n=t.getAttribute("data-track-external")?de:ue;me({interaction:"link-click",moduleElement:t,shouldProceed:n,target:e.target})}}));const he=function(e,t){window.trac.slideEvent(t.contentType+"-"+t.threadId)},Ee={GALLERY_ADVERT_VIEWED:he,GALLERY_CLOSED:he,GALLERY_IMAGE_VIEWED:he,GALLERY_OPENED:he},ge={PAGE_COMMENT_TAB_SWAPPED:function(e,t){window.trac.slideEvent(t.contentType+"-"+t.tab)}},ve=(Object.assign({},Ee,ge),{cookieClientSegment:"dm_clientsegment",DMPageMetadataKey:"clientSegmentation",queryOverrideClientSegment:"segment",storageKey:"mol-fe-segmentation.data"});var ye=n(6654),we=n.n(ye);const Ie={getItem:e=>we().get(e),removeItem:e=>we().remove(e),setItem:(e,t,n)=>we().set(e,t,n)};let Oe={getItem:()=>null,removeItem:()=>null,setItem:()=>null};try{Oe=window.localStorage}catch(e){}const Se={getItem:e=>function(e){try{return JSON.parse(e)}catch(t){return e}}(Oe.getItem(e)),removeItem:e=>Oe.removeItem(e),setItem:(e,t)=>Oe.setItem(e,function(e){return JSON.stringify(e)}(t))},be=function(){try{const e=window.localStorage,t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}}()?Se:Ie,Te=be,Ce=function(e,t){const n=new RegExp("[?&]"+e.replace(/[[\]]/g,"\\$&")+"(=([^]*)|&|#|$)").exec(t||window.location.href);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null};let Ae;const Le=function(e){return Ce(ve.queryOverrideClientSegment,e)||null},Pe=function(){return Ae=Le()||Ie.getItem(ve.cookieClientSegment),Ae},Re={getActiveSegment:function(){return Ae||Pe()},getSegmentOverride:Le,setActiveSegment:Pe},Ne=function(){return I()[ve.DMPageMetadataKey]||{}},Me=function(e={}){const t=Object.keys(e).reduce(((t,n)=>t+e[n].weight),0);return Math.random()*t},De=function(e={}){const t=e.segments;let n;if(t){const e=Me(t);let r;r=0,n=Object.keys(t).find((n=>(r+=t[n].weight,eBe.run()));const xe=function(){return Re.getActiveSegment()||"default"},Ve={geo(){},ito:window.RTA?window.RTA.ito:function(){},tedEvent(e,t={}){t.clientSegment=xe(),this.i&&(t.ito=this.i),Object.assign(t,function(){const e={},t=I(),n=t&&t.authorName&&t.authorName.split(";");return n&&n.length&&(e.authors=n),e}()),Object.assign(t,function(){const e={},t=I();return e.rp=t.renderPlatform,e}()),t.title||Object.assign(t,function(){const e={},t=I();if(t.articleId){const n=document.head.querySelector('meta[property="twitter:title"]')||document.head.querySelector('meta[property="og:title"]');e.title=n?n.getAttribute("content"):t.articleTitle}return e}()),function(e,t){window.RTA&&window.RTA.tedEvent(e,t)}(e,t)}},Ge=function(e){return function(t,n){Ve.tedEvent("page_event",{action:"store",name:e,value:n})}},Ke={CONTACT_FORM_CAPTCHA_VALID:Ge("mol-fe-contact-form-captcha-valid"),CONTACT_FORM_FILE_ADDED:Ge("mol-fe-contact-form-file-added"),CONTACT_FORM_FILE_ERROR_CLIENT:Ge("mol-fe-contact-form-file-error-client"),CONTACT_FORM_FILE_ERROR_SERVER:Ge("mol-fe-contact-form-file-error-server"),CONTACT_FORM_SUBMIT_CLICK:Ge("mol-fe-contact-form-submit-click"),CONTACT_FORM_SUBMIT_ERROR:Ge("mol-fe-contact-form-submit-error"),CONTACT_FORM_SUBMIT_SUCCESS:Ge("mol-fe-contact-form-submit-success")},We={FIDELITY_CAMPAIGN_EVENT:function(e,t,n){Ve.tedEvent("page_event",{action:n.action,name:n.name,value:n.value})}},je={FLOATING_BUTTONS_BACK_TO_TOP:function(e,t){Ve.tedEvent("page_event",{action:"set",name:"backToTop",value:t.value})}},Fe=function(e){Ve.tedEvent("page_event",{action:"store",name:e,value:!0})},He={GDPR_EMBEDDED_VIDEO_ACCEPTED:Fe,GDPR_EMBEDDED_VIDEO_DISPLAYED:Fe,GDPR_EMBEDDED_VIDEO_SETTINGS:Fe,GDPR_MOBILE_HOME_ACCEPTED:Fe,GDPR_MOBILE_HOME_DISPLAYED:Fe,GDPR_MOBILE_HOME_SETTINGS:Fe,GDPR_OVERLAY_ACCEPT_BY_CLICK_SITE:Fe,GDPR_OVERLAY_ACCEPTED:Fe,GDPR_OVERLAY_DISPLAYED:Fe,GDPR_OVERLAY_PRIVACY:Fe,GDPR_SETTINGS_ADVERTISING_ALLOW_ALL:Fe,GDPR_SETTINGS_ADVERTISING_LINK_CLICKED:Fe,GDPR_SETTINGS_ADVERTISING_TAB_CLICKED:Fe,GDPR_SETTINGS_CONFIRMATION_ALLOW:Fe,GDPR_SETTINGS_CONFIRMATION_DISALLOW:Fe,GDPR_SETTINGS_DISALLOW_ADVERTISING_PARTNERS:Fe,GDPR_SETTINGS_FUNCTION_ALLOW_ALL:Fe,GDPR_SETTINGS_FUNCTION_TAB_CLICKED:Fe,GDPR_SETTINGS_POLICY_LINK_CLICKED:Fe},Ye={articleTruncationReadNext:{criteriaCheck:e=>!["US","GB","AU"].includes(e.geo)||location.search.includes("debugSkipArticleTruncationReadNextGeoCheck=true"),percentage:.5},autoPuffNews:{criteriaCheck:e=>"desktop"===e.renderPlatform,percentage:.1},commerceArticleMailplus:{percentage:.2},googlePrompt:{criteriaCheck:e=>["AU"].includes(e.geo)||location.search.includes("debugGooglePrompt=true"),percentage:.5},homepageArticleUI:{criteriaCheck:e=>"desktop"===e.renderPlatform||"mobile"===e.renderPlatform||location.search.includes("debugMV_homepageArticleUI"),percentage:.05,subSegments:["WithTimestamp","WithoutTimestamp"]},morePaywalledRelatedReplace:{criteriaCheck:()=>window.getIsPaywallEligible&&window.getIsPaywallEligible(),percentage:.05},oneTap:{criteriaCheck:e=>["AU"].includes(e.geo)||location.search.includes("debugOneTap=onetap"),percentage:.25},scrollingNavVariant:{criteriaCheck:e=>["US","GB","AU"].includes(e.geo)&&"mobile"===e.renderPlatform||location.search.includes("debugScrollingNavVariant=true"),percentage:0}},$e="mol-fe-multivariant-",Xe=e=>{try{if(!("localStorage"in window))return null;const t=window.localStorage.getItem(`${$e}${e}`);if(t)return JSON.parse(t)}catch(e){}return null},ze=1e6,qe="numbers",Je=(e,t)=>{let n=Xe(qe);n&&"object"==typeof n||(n={}),n[e]=t,((e,t)=>{try{if(!("localStorage"in window))return;window.localStorage.setItem(`${$e}${e}`,JSON.stringify(t))}catch(e){}})(qe,n)},Ze=e=>{if(!e)return console.error("[mol-fe-multivariant]","Tried to get sticky number for falsy experimentName"),null;const t=(e=>{try{const t=new URLSearchParams(location.search),n=`debugMV_${e}`,r=t.get(n);if(r)return Number(r)}catch(e){}return null})(e);if("number"==typeof t)return Je(e,t),t;const n=(e=>{const t=Xe(qe);return t&&"object"==typeof t&&"number"==typeof t[e]?t[e]:null})(e);if("number"==typeof n)return n;const r=Math.floor(Math.random()*ze);return Je(e,r),r};let Qe=null;const et=(e=null)=>{const{renderPlatform:t}=e||I(),{geo:n}=e||O(),r={geo:n,renderPlatform:t};if(!Qe){Qe=[];const e=Object.keys(Ye);for(const t of e){const{criteriaCheck:e,percentage:n,subSegments:o}=Ye[t];if(!e||Boolean(e(r))){const e=Ze(t),r=o?o.length:1,i=ze*n*r;if(e=i&&ent,ot=()=>{try{if("localStorage"in window){const e=window.localStorage.getItem("mol-fe-swipe-funnel-status");if(e){const t=JSON.parse(e);if(t&&"string"==typeof t)return t}}}catch(e){}return null},it=()=>{const e=we().get("mol-home"),{renderPlatform:t}=I();return"mobile"===t||e?"-no-overlay":""},at=()=>{const e=it();try{const t=we().get("mol-home");if(t)return`${t}${e}`}catch(e){}return e?`undefined${e}`:null},st=e=>{try{if(!("localStorage"in window))return null;const t=window.localStorage.getItem(`mol-fe-home-channel-${e}`);if(t)return JSON.parse(t)}catch(e){}return null},ct="not_loaded",lt=()=>{const{isPaywalled:e,hasBeenPaywalled:t,pageType:n,neverPaywall:r}=O(),o=!window.getIsPaywalledForCountry||window.getIsPaywalledForCountry(),i=window.getIsPaywallEligible&&window.getIsPaywallEligible();if("article"===n)return e||t?!e&&t?"hasBeenPaywalled":!r&&e&&i&&!o?"isPaywalledForOthers":!r&&e&&i&&o?"isPaywalled":r||!e||i?"invalid":"isRestricted":"none"},ut=()=>{try{if(window.getIsPaywallSubscriber&&window.getIsPaywallSubscriber())return"subscriber";if(window.DM.isLoggedIn)return"registered"}catch(e){T().error("Error determining user paywall status",e)}return"none"},dt=()=>{try{return window.getPaywallEntitlements&&window.getPaywallEntitlements()||null}catch(e){T().error("Error determining user paywall entitlements",e)}return null},pt=()=>{try{return window.getOneAccountUserId&&window.getOneAccountUserId()||null}catch(e){T().error("Error determining oneAccountUserId",e)}return null},_t=(e,t,n)=>t?n?t[e]||ct:t[e]:ct,ft=()=>{const e=window?.sophi?.dataLayer,t=window?.molSophiFeatureOff,n=window?.molSophiDecisionSourceOnPageView||ct,r=t?ct:n,o={raw_sophi_context:_t("context",e,t),raw_sophi_decision_source:r,raw_sophi_experiments_code:_t("experimentsCode",e,t),raw_sophi_inputs:_t("inputs",e,t),raw_sophi_trace:_t("trace",e,t),sophi_context:e?.context,sophi_decision_source:r,sophi_experiments_code:e?.experimentsCode,sophi_inputs:e?.inputs,sophi_trace:e?.trace};return(t||o.sophi_decision_source===ct)&&(delete o.sophi_context,delete o.sophi_experiments_code,delete o.sophi_inputs,delete o.sophi_trace),o};let mt,ht,Et,gt,vt,yt=!1;const wt=()=>{try{"localStorage"in window&&!yt&&(mt=window.localStorage.getItem("module_tracking"),ht=window.localStorage.getItem("module_tracking_name"),Et=window.localStorage.getItem("module_tracking_list_position"),gt=window.localStorage.getItem("module_tracking_pixel_depth"),vt=window.localStorage.getItem("module_tracking_article_pos_channel"),yt=!0,mt&&window.localStorage.removeItem("module_tracking"),ht&&window.localStorage.removeItem("module_tracking_name"),Et&&window.localStorage.removeItem("module_tracking_list_position"),gt&&window.localStorage.removeItem("module_tracking_pixel_depth"),vt&&window.localStorage.removeItem("module_tracking_article_pos_channel"))}catch(e){}return{moduleArticlePositionChannel:vt,moduleListPosition:Et,moduleName:ht,modulePixelDepth:gt,moduleTracking:mt}};let It=!1;const Ot=()=>{try{if("visibilityState"in document&&"visible"===document.visibilityState)return 1}catch(e){}return 2},St=async function(e,t){const n=I(),r=O(),o=n.dmtvEpisode||null;let i={};rt()&&!It&&(It=!0,i={autoRefresh:Ot()});const a=[],s=et();if(s&&s.length)for(const e of s)a.push(`track:${e}`);n.feTag&&a.push(`feTag:${n.feTag}`);const c=ot();c&&a.push(`swipe:${c}`);const l=at();l&&a.push(`track:mobilehometab${l}`);st("signpost-last")&&a.push("track:signpost-shown");const{geo:u,region:d}=r;"GB"===u&&"SC"===d&&a.push("region:scotland"),window.getIsPaywallPuzzlesUser&&window.getIsPaywallPuzzlesUser()&&a.push("track:mailplus-puzzles-user"),window.getIsPaywallMagazinesUser&&window.getIsPaywallMagazinesUser()&&a.push("track:mailplus-magazines-user");const p=await(async()=>H()?[]:(await Promise.race([j(),F(1e3)])||[]).map((e=>{const{name:t,variation:n}=e||{};return`vwo:${t}:${n}`})))();for(const e of p)a.push(e);const _=ut();if("home"===n.contentType||"topic"===n.contentType){let e=n.subChannel;if(n.channel===n.subChannel&&["/home","/ushome","/auhome"].includes(n.channel)&&"mobile"===n.renderPlatform){e+="showbiz"===(t&&t.mobileHomeTabActive||we().get("mol-home")||"news")?"/tvshowbiz":""}Ve.tedEvent("cview",{channel:e,dmtvEpisode:o,tags:a.join(","),userStatus:_,...i})}else if("article"===n.contentType){const e=ae.isMobile||ae.isTablet?null:tt("video"),{articleType:t,liveBlog:s,openwebEnabled:c,sources:l,sponsored:u}=r,d="true"===u||!0===u,p=lt();n.isFeatureArticle?a.push("feature-article"):"permabox"===t?a.push("permabox"):s?a.push("live-blog"):a.push("normal-article"),a.push(e?"videos-link":"no-links"),c&&a.push("track:openwebEnabled"),d&&a.push("sponsored");const f=(()=>{try{const{moduleTracking:e}=wt(),t=e&&e.match(/\^(swipe(bar|tutorial)?)\^/);return t&&t[1]||null}catch(e){return null}})();f&&a.push(`track:${f}`),Ve.tedEvent("view",{dmtvEpisode:o,openwebEnabled:c?1:0,paywallStatus:p,tags:a.join(","),userStatus:_,...i,...l?{sources:l}:{}})}else"profile"!==n.contentType&&"login"!==n.contentType&&"search"!==n.contentType||(a.push(n.contentType),Ve.tedEvent("cview",{authors:[n.authorName],tags:a,...i}))},bt={FEATURE_ARTICLE:function(e,t){Ve.tedEvent("page_event",{actions:[{action:"max",name:"feature-article-page",value:Number(t.pageNumber.split("/")[0])},{action:"set",name:"feature-article-length",value:Number(t.pageNumber.split("/")[1])}]})},GALLERY_ADVERT_STATS:function(e,t){Ve.tedEvent("ad-tracking",{adverts:t.stats,type:t.type})},PAGE_AUTOREFRESH_EVENT:()=>{Ve.tedEvent("page_event",{action:"store",name:"autorefresh",value:"event"})},PAGE_COMMENT_TAB_SWAPPED:function(e,t){Ve.tedEvent("page_event",{action:"store",name:"rc_tab_select",value:{tab:t.tab}})},PAGE_MOBILE_TAB_CHANGE:St,PAGE_RENDER_STARTED:St},Tt={PAGE_AD_DISPLAYED(e,t){Ve.tedEvent("ad-tracking",{type:t.type})},PAGE_AD_ERRORS(e,t){T().debug("TED Ad Error Event",t),Ve.tedEvent("ad-errors",{errorMsg:JSON.stringify(t),type:"ad-errors"})},PAGE_AD_STATS(e,t){Ve.tedEvent("ad-stats",{stats:JSON.stringify(t),type:"ad-stats"})}},Ct=function(e){return(e||"").replace(/[\W_]+/g,"").toLowerCase()},At=function(e){return e&&!isNaN(e)?e:null},Lt=function(e){return{googleplus:"google",gplus:"google",plusone:"google"}[e]||Ct(e)},Pt={SOCIAL_BUTTON_CLICKED(e,t){Ve.tedEvent("social-event",{"social-event":t.type})},SOCIAL_SHARE_CLICKED(e,t){const n={article:At(t.articleId),loc:Ct(t.placement),on:Lt(t.site)};t.videoId&&(n.videoId=t.videoId),t.referenceId&&(n.referenceId=t.referenceId),Ve.tedEvent("share",n)},SYNDSHARE_POST(e,t){Ve.tedEvent("share",{article:At(t.article),loc:"syndshare",on:"synd_"+t.on})}},Rt=function(e,t){const n=t.dmtvEpisode||null;"chromeless"!==t.trackingType&&Ve.tedEvent("video-event",{action:e,adBlockStatus:t.adBlockStatus||"UNKNOWN",adErrorCode:t.adErrorCode,adErrorData:t.adErrorData,adSdk:t.adSDK,autoplay:t.autoplay,currentSrc:t.currentSrc,currentType:t.currentType,dmtvEpisode:n,duration:t.offset,errorMessage:t.errorMessage,id:t.videoId,initial:t.initialVideo,ito:t.ito,module:t.trackingType,percent:0===t.duration?0:t.offset/t.duration*100,play:t.play,recommendationModel:t.recommendationModel,referenceId:t.referenceId,title:t.displayName,version:t.version,videoChannel:t.videoChannel,videoPlayerType:t.playerId})},Nt={VIDEO_ADVERT_ABORTED:Rt,VIDEO_ADVERT_COMPLETED:Rt,VIDEO_ADVERT_FAILED:Rt,VIDEO_ADVERT_STARTED:Rt,VIDEO_BRANDED_CONTENT_PROGRESS:Rt,VIDEO_CONFIG_CHANGE:function(e,t){"chromeless"!==t.trackingType&&Ve.tedEvent("page_event",{action:"set",name:e,play:t.play,value:t.value})},VIDEO_CONTENT_ABORTED:Rt,VIDEO_CONTENT_COMPLETED:Rt,VIDEO_CONTENT_STARTED:Rt,VIDEO_EXTRA:function(e,t){"chromeless"!==t.trackingType&&Ve.tedEvent("video-event",{action:e,adBlockStatus:t.adBlockStatus||"UNKNOWN",adSdk:t.adSDK,autoplay:t.autoplay,currentSrc:t.currentSrc,currentType:t.currentType,duration:t.offset,extra:{advertPlaying:t.advertPlaying,articleLinkClicked:t.articleLinkClicked,articleLinkHovered:t.articleLinkHovered,articleUrl:t.articleUrl,contentPlaying:t.contentPlaying,expand:t.fullscreen,mute:t.muted,playerClosed:t.playerClosed,timeSinceStartOfPlayer:t.timeSinceStartOfPlayer},id:t.videoId,initial:t.initialVideo,module:t.trackingType,percent:0===t.duration?0:t.offset/t.duration*100,play:t.play,referenceId:t.referenceId,title:t.displayName,version:t.version,videoChannel:t.videoChannel,videoPlayerType:t.playerId})},VIDEO_PROGRESS:function(e,t){"chromeless"!==t.trackingType&&t&&0!==t.ratio&&Ve.tedEvent("video-event",{action:e,duration:t.offset,id:t.videoId,ito:t.ito,module:t.trackingType,percent:100*t.ratio,play:t.play,recommendationModel:t.recommendationModel,title:t.displayName,version:t.version,videoPlayerType:t.playerId})},VIDEO_STREAM_FAILED:Rt,VIDEO_STREAM_STARTED:Rt},Mt={},Dt="carousel_swipe",kt=(e,t)=>(n,r)=>{Mt[t]||(Mt[t]=0),Mt[t]++;const o={video_player_type:"mobile up next"};t===Dt?o.swipes=Mt[t]:(r&&r.videoPosition&&(o.module_click_list_position=Number(r.videoPosition)),o.clicks=Mt[t]),Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:o})},Ut={VIDEO_CAROUSEL_CLICK:kt("video","carousel_click"),VIDEO_CAROUSEL_SWIPE:kt("video",Dt),VIDEO_THUMBNAIL_CLICK:kt("video","thumbnail_click")},Bt=function(e,t){Ve.tedEvent("push",t)},xt={WEB_PULL_NOTIFICATION_CLICK:function(e,t){Ve.tedEvent("pull",t)},WEB_PUSH_NOTIFICATION_CLICK:Bt,WEB_PUSH_PRE_PROMPT_CLICK:Bt,WEB_PUSH_PRE_PROMPT_IMPRESSION:Bt,WEB_PUSH_PROMPT_CLICK:Bt,WEB_PUSH_PROMPT_IMPRESSION:Bt},Vt=e=>{Ve.tedEvent("page_event",{action:"set",name:`remixd_${e}`,value:Date.now()})},Gt={REMIXD_COMPLETE:()=>Vt("complete"),REMIXD_ERROR:()=>Vt("error"),REMIXD_IMPRESSION:()=>Vt("impression"),REMIXD_MUTE:()=>Vt("mute"),REMIXD_PAUSE:()=>Vt("pause"),REMIXD_PLAY:()=>Vt("play")},Kt=(e,t)=>(n,r)=>{const{campaignId:o}=r;Ve.tedEvent("page_event",{action:"set",name:`${e}_${o}_${t}`,value:Date.now()})},Wt={GUESTBOOK_IMPRESSION:Kt("guestbook","impression"),GUESTBOOK_LOADING_ERROR:Kt("guestbook","loading_error"),GUESTBOOK_SUBMIT_ERROR:Kt("guestbook","submit_error"),GUESTBOOK_SUBMIT_SUCCESS:Kt("guestbook","submit_success")},jt={PROMOTIONAL_SLOT_EVENT:(e,t)=>{if(!t||"string"!=typeof t.xpModuleName||"string"!=typeof t.eventName)return T().error("[mol-fe/mol-fe-tracking] ted.promotionalSlot.createHandler.invalidProps",t),null;const n=t.xpModuleName.substring(0,t.xpModuleName.indexOf("@")),{eventName:r}=t;return Ve.tedEvent("page_event",{action:"set",name:`promotional_slot_${n}_${r}`,value:Date.now()}),!0}},Ft=(e,t)=>()=>{Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:Date.now()})},Ht={SWIPE_BAR_SHOWN:Ft("swipe_bar","shown"),SWIPE_TUTORIAL_CLOSE:Ft("swipe_tutorial","close"),SWIPE_TUTORIAL_SHOWN:Ft("swipe_tutorial","shown")},Yt={},$t=e=>(t,n)=>((e,t)=>{Yt[e]||(Yt[e]=0),Yt[e]++,Ve.tedEvent("page_event",{action:"set",name:`comments_${e}`,value:t&&void 0!==t.value?t.value:Yt[e]})})(e,n),Xt={COMMENTS_ADD_COMMENT_CLICK:$t("add_comment_click"),COMMENTS_CLEAR:$t("clear"),COMMENTS_CLICK:$t("click"),COMMENTS_DELETE:$t("delete"),COMMENTS_DOWNVOTE:$t("downvote"),COMMENTS_IMPRESSION:$t("impression"),COMMENTS_LOAD_TIME:$t("load_time"),COMMENTS_LOGIN_REDIRECT:$t("login_redirect"),COMMENTS_MASTHEAD_CLICK:$t("masthead_click"),COMMENTS_NEW_COMMENT_CLICK:$t("new_comment_click"),COMMENTS_NOTIF_CLICK:$t("notif_click"),COMMENTS_OVERLAY_CLOSE:$t("overlay_close"),COMMENTS_OVERLAY_OPEN:$t("overlay_open"),COMMENTS_PAGINATION_CLICK:$t("pagination_click"),COMMENTS_PROFILE_CLICK:$t("profile_click"),COMMENTS_REPLY_CLICK:$t("reply_click"),COMMENTS_REPLY_SUBMIT:$t("reply_submit"),COMMENTS_REPLY_SUBMIT_SUCCESS:$t("reply_submit_success"),COMMENTS_REPORT_CLICK:$t("report"),COMMENTS_SHOW_MORE_CLICK:$t("show_more"),COMMENTS_SUBMIT_COMMENT:$t("submit"),COMMENTS_SUBMIT_SUCCESS:$t("submit_success"),COMMENTS_UPVOTE:$t("upvote"),COMMENTS_VIEW:$t("view"),COMMENTS_VIEW_ALL:$t("view_all"),SOCIAL_SHARE_COMMENTS:$t("added")};var zt,qt;const Jt={MASTHEAD_CLICK:(zt="masthead",qt="click",(e,t)=>{const{mastheadName:n}=t;Ve.tedEvent("page_event",{action:"set",name:`${zt}_${n}_${qt}`,value:Date.now()})})},Zt=(e,t)=>(n,r)=>{const{value:o}=r||{};Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}${o?`_${o}`:""}`,value:Date.now()})},Qt={COMMERCE_XP_CLICK:Zt("commerce_xp","click"),COMMERCE_XP_IMPRESSION:Zt("commerce_xp","impression"),COMMERCE_XP_VIEW_MORE:Zt("commerce_xp","view_more"),COMMERCE_XP_VIEWABLE:Zt("commerce_xp","viewable")},en=(e,t)=>()=>{Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:Date.now()})},tn={COMMENT_CTA_CLICK:en("commentcta","click"),COMMENT_CTA_IMPRESSION:en("commentcta","impression")},nn={},rn=e=>(t,n)=>{return nn[r=e]||(nn[r]=0),nn[r]++,void Ve.tedEvent("page_event",{action:"set",name:`mobile_menu_${r}`,value:nn[r]});var r},on={MOBILE_MENU_COMMENT:rn("comment"),MOBILE_MENU_DESKTOP_SITE:rn("desktop_site")},an={},sn={PAGE_FURNITURE_CLICKED:(e,t)=>{const n=t&&t.furnitureName;if(!n)return;const r=n.replace(/\s/g,"_");an[r]||(an[r]=0),an[r]++,Ve.tedEvent("page_event",{action:"set",name:`furniture_${r}`,value:an[r]})}},cn={},ln=(e,t)=>(n,r)=>{cn[t]||(cn[t]=0),cn[t]++;let o=t;"ineligible"===t&&r&&r.reason&&(o=`${t}_${r.reason.replace(/ /g,"_")}`),Ve.tedEvent("page_event",{action:"set",name:`${e}_${o}`,value:cn[t]})},un={ARTICLE_TRUNCATION_EXPAND:ln("article_truncation","expand"),ARTICLE_TRUNCATION_INELIGIBLE:ln("article_truncation","ineligible"),ARTICLE_TRUNCATION_READ_NEXT:ln("article_truncation","read_next"),ARTICLE_TRUNCATION_TRUNCATE:ln("article_truncation","truncate"),ARTICLE_TRUNCATION_VIEWABLE:ln("article_truncation","viewable")},dn={},pn=e=>{dn[e]||(dn[e]=0),dn[e]++,Ve.tedEvent("page_event",{action:"set",name:`mobile_homepage_${e}`,value:dn[e]})},_n={MOBILE_HOME_PAGE_NAV:(e,t)=>{const{action:n}=t;pn(`puff_module_${n.replace(/\s/g,"_")}`)},MOBILE_HOME_PAGE_OVERLAY:()=>pn("overlay_display"),MOBILE_HOME_PAGE_SIGNPOST_CLICK:()=>pn("signpost_click"),MOBILE_HOME_PAGE_SIGNPOST_DISMISS:()=>pn("signpost_dismiss"),MOBILE_HOME_PAGE_SIGNPOST_DISPLAY:()=>pn("signpost_display"),MOBILE_HOME_PAGE_SWIPE:(e,t)=>{const{action:n,label:r}=t;pn(`${n}_${r}`)},MOBILE_HOME_PAGE_VIEW:(e,t)=>{const{actionSource:n}=t,r=we().get("mol-home"),o=we().get("mol-home-default-channel");pn(`${n||"overlay"}_choice_${r}${o?`_geo_${o.toLowerCase()}`:""}`)}},fn=_n,mn={},hn=e=>(t,n)=>((e,t)=>{mn[e]||(mn[e]=0),mn[e]++,Ve.tedEvent("page_event",{...t,action:"set",name:`firework_video_carousel_${e}`,value:mn[e]})})(e,n),En={FIREWORK_VIDEO_CAROUSEL_ERROR:hn("error"),FIREWORK_VIDEO_CAROUSEL_IMPRESSION:hn("carousel_impression"),FIREWORK_VIDEO_CAROUSEL_PLAYER_NAVIGATION:hn("player_navigation"),FIREWORK_VIDEO_CAROUSEL_PLAYER_QUIT:hn("player_quit"),FIREWORK_VIDEO_CAROUSEL_PLAYER_TRANSITION:hn("player_transition"),FIREWORK_VIDEO_CAROUSEL_READY:hn("carousel_ready"),FIREWORK_VIDEO_CAROUSEL_THUMBNAIL_CLICK:hn("thumbnail_click"),FIREWORK_VIDEO_CAROUSEL_VIDEO_CLICK_CTA:hn("video_click_cta"),FIREWORK_VIDEO_CAROUSEL_VIDEO_CLICK_SHARE:hn("video_click_share"),FIREWORK_VIDEO_CAROUSEL_VIDEO_COMPLETE:hn("video_complete"),FIREWORK_VIDEO_CAROUSEL_VIDEO_FIRST_QUARTILE:hn("video_first_quartile"),FIREWORK_VIDEO_CAROUSEL_VIDEO_IMPRESSION:hn("video_impression"),FIREWORK_VIDEO_CAROUSEL_VIDEO_MID_POINT:hn("video_mid_point"),FIREWORK_VIDEO_CAROUSEL_VIDEO_SESSION:hn("video_session"),FIREWORK_VIDEO_CAROUSEL_VIDEO_START:hn("video_start"),FIREWORK_VIDEO_CAROUSEL_VIDEO_THIRD_QUARTILE:hn("video_third_quartile")},gn={},vn=(e,t)=>()=>{gn[t]||(gn[t]=0),gn[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:gn[t]})},yn={PUZZLE_COMPLETE:vn("puzzle","complete"),PUZZLE_STARTED:vn("puzzle","started")},wn=(e,t)=>(n,r)=>{const{value:o}=r||{};Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}${o?`_${o}`:""}`,value:Date.now()})},In={ARTICLE_PREVIEW_XP_CLICK:wn("article_preview_xp","click"),ARTICLE_PREVIEW_XP_IMPRESSION:wn("article_preview_xp","impression"),ARTICLE_PREVIEW_XP_VIEWABLE:wn("article_preview_xp","viewable")},On={},Sn=(e,t)=>(n,r)=>{On[t]||(On[t]=0),On[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:r||On[t]})},bn={RELATED_REPLACE_CLICK:Sn("related_replace","click"),RELATED_REPLACE_IMPRESSION:Sn("related_replace","impression"),RELATED_REPLACE_VIEWABLE:Sn("related_replace","viewable")},Tn={},Cn=e=>()=>{Tn[e]||(Tn[e]=0),Tn[e]++,Ve.tedEvent("page_event",{action:"set",name:e,value:Tn[e]})},An={...{CMP_LEVEL_ONE_ACCEPT:Cn("cmp_level_1_accept"),CMP_LEVEL_ONE_CONVERSION:Cn("cmp_level_1_conversion"),CMP_LEVEL_ONE_LOGIN:Cn("cmp_level_1_login"),CMP_LEVEL_ONE_PRIVACY_SETTINGS:Cn("cmp_level_1_privacy_settings"),CMP_LEVEL_ONE_SUBSCRIBE:Cn("cmp_level_1_subscribe"),CMP_LEVEL_TWO_CONVERSION:Cn("cmp_level_2_conversion"),CMP_LEVEL_TWO_SAVE_EXIT:Cn("cmp_level_2_save_exit"),CMP_LEVEL_TWO_SUBSCRIBE:Cn("cmp_level_2_subscribe")},...{ESSENTIAL_ACCOUNT_LINK_COMPLETE:Cn("essential_account_link_complete"),ESSENTIAL_ACCOUNT_LINK_HELP_CLICK:Cn("essential_account_link_help_click"),ESSENTIAL_ACCOUNT_LINK_PROMPT:Cn("essential_account_link_prompt"),ESSENTIAL_ACCOUNT_LINK_RESEND:Cn("essential_account_link_resend_email_click"),ESSENTIAL_RESTORE_PURCHASE_CLICK:Cn("essential_restore_purchase_click")}},Ln={},Pn=(e,t)=>()=>{Ln[t]||(Ln[t]=0),Ln[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:Ln[t]})},Rn={PAYWALL_ACCOUNT_LINK_COMPLETE:Pn("paywall","account_link_complete"),PAYWALL_ACCOUNT_LINK_HELP:Pn("paywall","account_link_help"),PAYWALL_ACCOUNT_LINK_PROMPT:Pn("paywall","account_link_prompt"),PAYWALL_ACCOUNT_LINK_RESEND:Pn("paywall","account_link_resend"),PAYWALL_CONVERSION:Pn("paywall","conversion"),PAYWALL_CONVERSION_BANNER:Pn("paywall","conversion"),PAYWALL_CONVERSION_PROFILE:Pn("paywall","conversion"),PAYWALL_HOMEMODULE_ARTICLE_CLICK:Pn("paywall","article_click"),PAYWALL_HOMEMODULE_ARTICLE_COMMENTS_CLICK:Pn("paywall","article_comments_click"),PAYWALL_HOMEMODULE_CHANNEL_CLICK:Pn("paywall","channel_click"),PAYWALL_HOMEMODULE_SIGNUP_CLICK:Pn("paywall","signup_homemodule"),PAYWALL_IMPRESSION:Pn("paywall","impression"),PAYWALL_LOGIN_CLICK:Pn("paywall","login_click"),PAYWALL_MASTHEAD_SIGNUP_CLICK:Pn("paywall","signup_masthead"),PAYWALL_PROFILE_SIGNUP_CLICK:Pn("paywall","signup_profile"),PAYWALL_RESTORE_PURCHASE_CLICK:Pn("paywall","restore_purchase_click"),PAYWALL_SIGN_UP:Pn("paywall","signup_article"),PAYWALL_VIEWABLE:Pn("paywall","viewable"),PAYWALL_ZEPHR_FAIL_OPEN:Pn("paywall","zephr_fail_open")},Nn={},Mn={FACTBOX_READ_MORE_CLICK:((e,t)=>(n,r)=>{Nn[t]||(Nn[t]=0),Nn[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:r||Nn[t]})})("factbox","read_more_click")},Dn=Mn,kn={},Un=(e,t)=>(n,r)=>{kn[t]||(kn[t]=0),kn[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:r||kn[t]})},Bn={IFRAME_EMAIL_IMPRESSION:Un("iframe_email","impression"),IFRAME_EMAIL_SUBMIT:Un("iframe_email","submit"),IFRAME_EMAIL_SUBMIT_NO_EMAIL:Un("iframe_email","submit_no_email"),IFRAME_EMAIL_VIEWABLE:Un("iframe_email","viewable")},xn=(e,t,n,r)=>(o,i)=>{const{pageType:a}=O(),{datasetId:s,type:c}=i,l={event_category:e,event_label:c||n,non_interaction:Boolean(r),...s&&c?{type_of_newsletter:`${c}_${s}_${a}`}:{}};Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:l})},Vn={NEWSLETTER_ERROR:xn("newsletter","submit_error",null),NEWSLETTER_POPUP_SHOW:xn("newsletter","start","newsletter_popup",!0),NEWSLETTER_POPUP_SUBMIT:xn("newsletter","submit_success","newsletter_popup"),NEWSLETTER_PRIVACY_CLICK:xn("newsletter","privacy_click",null),NEWSLETTER_SHOW:xn("newsletter","start",null,!0),NEWSLETTER_SUBMIT:xn("newsletter","submit_success",null)},Gn=(e,t,n)=>(r,o)=>{const{pageType:i}=O(),{datasetId:a,pollId:s,question:c,answer:l,href:u,channel:d}=o||{},p="newsletter"===e,_={channel:d,event_category:e,event_label:p?"poll":c,href:u,non_interaction:Boolean(n),poll_answer:l,poll_id:s?String(s):s,poll_name:c,url_channel:d,...p&&a?{type_of_newsletter:`news_${a}_${"article"===i?"poll-article":"poll-channel"}`}:{}};Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:_})},Kn={XP_POLLS_CLICK:Gn("poll","click"),XP_POLLS_IMPRESSION:Gn("poll","impression",!0),XP_POLLS_SUBSCRIBED:Gn("newsletter","submit_success"),XP_POLLS_VIEW:Gn("poll","view",!0),XP_POLLS_VOTED:Gn("poll","submit_success")},Wn={},jn=(e,t)=>()=>{Wn[t]||(Wn[t]=0),Wn[t]++,Ve.tedEvent("page_event",{action:"set",name:`${e}_${t}`,value:Wn[t]})},Fn={XP_BUTTON_LOGO_LINK_CLICK:jn("xp_button_logo_link","click"),XP_BUTTON_LOGO_LINK_IMPRESSION:jn("xp_button_logo_link","impression")},Hn=Object.assign({},Ke,We,je,En,He,bt,Tt,Pt,Nt,Ut,xt,Gt,Wt,jt,Jt,Qt,Ht,Xt,tn,on,sn,un,fn,yn,In,Rn,bn,An,Dn,Bn,Vn,Kn,Fn);J("TED",Hn);const Yn=function(e,t){return e[t]||(e[t]=new _),e[t]},$n=function(e,t,n){if(typeof t!==n)throw new Error(`Missing or invalid param ${e}`)},Xn={},zn=function(e){return $n("projectName",e,"string"),Yn(Xn,e).promise},qn=function(e,t){t&&Yn(Xn,e).resolve(t)},Jn=(new p,"mol-fe-signin-return-flow-variant");let Zn;const Qn=()=>{if(Zn)return Zn;const e=new URLSearchParams(window.location.search),t=(e=>{try{if("localStorage"in window){const t=window.localStorage.getItem(e);return t?JSON.parse(t):null}}catch(e){}return null})(Jn)||e.get("flowVariant")||e.get("flow_variant");return Zn=t&&t.replace(/[^\w_].*/,""),(()=>{try{"localStorage"in window&&window.localStorage.removeItem(Jn)}catch(e){}})(),Zn},er=e=>{try{if(!("localStorage"in window))return null;const t=window.localStorage.getItem(e);if(t)return JSON.parse(t)}catch(e){T().error(e)}return null};class tr{constructor(e){this.namespace=e,this.getItem=this.getItem.bind(this),this.setItem=this.setItem.bind(this),this.removeItem=this.removeItem.bind(this),this.clear=this.clear.bind(this)}getItem(e){return er(`${this.namespace}${e}`)}setItem(e,t){return((e,t)=>{try{if(!("localStorage"in window))return;window.localStorage.setItem(e,JSON.stringify(t))}catch(e){T().error(e)}})(`${this.namespace}${e}`,t)}removeItem(e){return(e=>{try{if(!("localStorage"in window))return;window.localStorage.removeItem(e)}catch(e){T().error(e)}})(`${this.namespace}${e}`)}clear(){try{if(!("localStorage"in window))return;Object.keys(window.localStorage).filter((e=>e.startsWith(this.namespace))).forEach((e=>window.localStorage.removeItem(e)))}catch(e){T().error(e)}}}const nr=e=>new tr(e),rr=()=>{(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?y.go("DOM_READY"):(document.addEventListener("DOMContentLoaded",(()=>y.go("DOM_READY"))),window.addEventListener("load",(()=>y.go("DOM_READY"))))},or=()=>{document.body?y.go("BODY_READY"):setTimeout(or,5)};rr(),or();const ir=function(e,t={}){if(!e)throw new Error('loadStyle: Missing required "href" parameter');const n=function(e,t="all"){return Array.from(document.styleSheets).find((({href:n,ownerNode:r})=>n===e&&r.media===t))}(e,t.media);return n?Promise.resolve(n.ownerNode):new Promise(((n,r)=>{const o=document.createElement("link"),i=t.before||document.querySelector("script");o.media="only x",o.rel="stylesheet",o.href=e;const a=()=>{Array.from(document.styleSheets).some((({ownerNode:e})=>e===o))?n(o):setTimeout(a,10)};o.onload=()=>n(o),o.onerror=()=>r(new URIError(`The stylesheet "${e}" is not accessible.`)),y("BODY_READY",(()=>{i.parentNode.insertBefore(o,i)})),a()})).then((e=>(e.media=t.media||"all",e)))},ar=()=>{Array.from(document.querySelectorAll("link[rel=preload][as=style]")).forEach((e=>{e.rel=null,ir(e.href,{before:e}).then((()=>e.parentNode.removeChild(e))).catch((e=>T().error(e)))}))},sr=()=>{if((()=>{try{return document.createElement("link").relList.supports("preload")}catch(e){return!1}})())return T().debug('"Resource Hints: preload" is supported'),!1;if(T().debug('Polyfilling "Resource Hints: preload"'),ar(),"complete"!==document.readyState){const e=setInterval(ar,100);window.addEventListener("load",(()=>clearInterval(e)))}return!0},cr=function(e){T().warn(`${e} has been deprecated`)},lr=function(){cr("loadDeferredImgs")};lr.pause=function(){cr("loadDeferredImgs.pause")},lr.resume=function(){cr("loadDeferredImgs.resume")},lr.load=function(){cr("loadDeferredImgs.load")},lr.imagesCache={getImages(){cr("loadDeferredImgs.imagesCache.getImages")},popImages(){cr("loadDeferredImgs.imagesCache.popImages")},resetCache(){cr("loadDeferredImgs.imagesCache.resetCache")}};const ur=function(e,t={}){if(!e)throw new Error('loadScript: Missing required "src" parameter');return new Promise(((n,r)=>{const o=document.createElement("script");let i;o.type=t.type||"text/javascript",t.async&&(o.async=!0),t.defer&&(o.defer=!0),o.onerror=()=>r(new URIError(`The script ${e} is not accessible.`)),o.onload=()=>n(o),i=t.beforeCurrentScript&&document.currentScript?document.currentScript:document.querySelector("script"),i.parentNode.insertBefore(o,i),o.src=e}))};rr(),or();var dr=n(416);let pr=()=>{};Promise.all([zn("molFeDomHelperScroll"),y("DOM_READY")]).then((([e])=>{e.enableTracking&&(pr=(0,dr.io)())})).catch((e=>{throw new Error(e)}));dr.gW,dr.v_,dr.hY,dr.W2,dr.HN,dr.M$,dr.Tw,dr.VG,dr.PA,dr.Dn,dr.hd,dr.ND,dr.LR;rr(),or(),sr();const _r=e=>{try{if("string"==typeof e){return new URL(e).hostname}}catch(e){T().error("Failed to get hostname",e)}},fr=e=>{try{if("string"==typeof e){return new URL(e).pathname}}catch(e){T().error("Failed to get pathname",e)}},mr=()=>new Promise((e=>{y("GA_CONFIG_READY",(()=>{e(zn("GA_CONFIG_PROPS"))}))})),hr=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],Er=e=>hr.includes(e),gr=e=>"GB"===e,vr=["CA","VA","CO","CT","UT","TX","OR","MT","IA","DE","TN","IN"],yr=(e,t)=>"US"===e&&vr.includes(t),wr=()=>{const{geo:e,region:t}=O(),n=Er(e),r=yr(e,t),o=gr(e);return{geo:e,isGdprApplicable:o||n||r,isInEu:n,isInGb:o,isInUsStateWithGdprLaws:r,region:t}},Ir=()=>{const e=(()=>{try{const e=window.localStorage.getItem("mol-fe-paywall-entitlement");if(!e)return null;const t=JSON.parse(e),n=t?.registeredUserId;if(n)return n}catch(e){}return null})();if(!e)return null;const t=window.localStorage.getItem(`dmg.ads.consentOrPay.${e}.mol-reject-all.tcf.cache`);if(!t)return null;try{const e=JSON.parse(t);if(e)return e}catch(e){}return null},Or="consented",Sr="do not sell",br="not enforced",Tr="partial consented",Cr="rejected",Ar="undecided",Lr=()=>{try{const e=Ir();if(e)return e;const t=(()=>{const e=window.localStorage.getItem("mol.ads.cmp.tcf.cache");if(e)try{const t=JSON.parse(e);if(t)return t}catch(e){}return null})();if(t)return t}catch(e){}return null},Pr=()=>{switch((()=>{let e;try{e=window.localStorage.getItem("mol.ads.cmp.consent")}catch(e){}return e})()){case"yes":return Or;case"no":return Sr;default:return Ar}},Rr=()=>{const{isGdprApplicable:e,isInGb:t,isInEu:n,isInUsStateWithGdprLaws:r}=wr();return e?t||n?(()=>{const e=Lr();if(!e)return Ar;switch(e?.getConsentDegree){case"yes":return Or;case"no":return Cr;case"partial":return Tr;default:return Ar}})():r?Pr():br:br},Nr=e=>new Promise((t=>setTimeout((()=>t(!1)),e))),Mr="G-C9F47K6NW6",Dr=`https://www.googletagmanager.com/gtag/js?id=${Mr}&l=molFeDataLayer`,kr="http://fbia.facebook.com/",Ur=nr("mol-fe-tracking-"),{getHostname:Br,getPathname:xr}=e,Vr="lastNonInternalReferrer",Gr="referrer-session",Kr="referrer-external-session",Wr=e=>{if(!e)return!1;const t=Br(e);return t&&t.match(/^www\d?\.(thisismoney|thisismoneyint)\./i)},jr=e=>{if(!e)return!1;const t=Br(e);return t&&t.match(/^www\d?\.(dailymail|dailymailint)\./i)},Fr=e=>!!e&&(!(!Wr(e)&&!jr(e))||Br(location.href)===Br(e)),Hr=()=>{const e=document.referrer;if(Fr(e))return Ur.getItem(Vr)||null;const t=e||"undefined";return Ur.setItem(Vr,t),t},Yr=()=>{const e=document.referrer;if(!Fr(e))return;return xr(e).split("/")[1]||void 0},$r="google",Xr=["duckduckgo","yahoo","bing"],zr=[$r,...Xr],qr=["instagram","reddit","pinterest","/t.co/","facebook","snapchat"],Jr=["dailymail","dailymailint","thisismoney","thisismoneyint","mailonsunday"],Zr=["mailsubscriptions","themailsubscriptions","mymailaccount","stagingmailplussubs.coderush","uat-dlv.nonprod-mailsubscriptions.gcpp","main-mma-preprod.coderush"],Qr="news.google",eo="com.google",to=["d
    Click here to Read More
    Previous Article
    Florida Man Sells $510,000 Rolls-Royce Cullinan for $310,000 After Adding 12K Miles & Mods
    Next Article
    MG S6 EV is the latest electric family SUV - does it feel premium or forgettable in a mass of Chinese rivals?

    Related UK News Updates:

    Comments (0)

      Leave a Comment