(()=>{"use strict";function r(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(r);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(t[n[a]]=r[n[a]])}return t}Object.create,Object.create;var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{target:n=document.body}=t,a=r(t,["target"]),o=new MutationObserver((()=>{e()}));return o.observe(n,a),{disconnect:()=>o.disconnect()}},t=window.location.hash.includes("mrfdebug"),n=function(r){if(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];console.debug("%c[headline-".concat(r,"] %c"),"color:#ff9423","color: inherit",...n)}},a=()=>{var r=document.querySelector('script[data-mrf-script="'.concat("experimentation-headlineab",'"]')),e=null==r?void 0:r.innerHTML;if(!e)return null;try{return JSON.parse(e)}catch(r){n("configuration","Could not load inline configuration")}return null},o=()=>{};class l{constructor(){this.id=0,this.isRunning=!1,this._reject=o}cancel(){this.isRunning=!1,window.clearTimeout(this.id),this._reject()}start(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8e3,e=o;return this.id=window.setTimeout((()=>{this.isRunning=!1,e()}),r),this.isRunning=!0,new Promise(((r,t)=>{e=r,this._reject=t}))}}function i(r,e,t,n,a,o,l){try{var i=r[o](l),u=i.value}catch(r){return void t(r)}i.done?e(u):Promise.resolve(u).then(n,a)}var u=function(){var r,t=(r=function*(){var r=new l,t=null,{disconnect:n}=e((()=>{r.isRunning?(t=a())&&(n(),r.cancel()):n()}),{target:document.head,childList:!0});try{yield r.start()}catch(r){}return t},function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function l(r){i(o,n,a,l,u,"next",r)}function u(r){i(o,n,a,l,u,"throw",r)}l(void 0)}))});return function(){return t.apply(this,arguments)}}(),c=r=>"text"in r,h=r=>"anyModule"===r.runExperimentsIn,s=r=>"attr"in r,d=r=>"selector"in r,v=["data-mrf-recirculation","data-dtm-region","dtm-region"],f=(r,e)=>{var{recirculationModule:t}=r,n=(null==e?void 0:e.modules)||[],a=[...n.filter(s).map((r=>{var{attr:e}=r;return e})),...v].map((r=>"[".concat(r,' = "').concat(t.name,'"]'))),o=n.filter(d).find((r=>{var{name:e}=r;return e===t.name}));return o&&a.push(o.selector),Array.from(document.querySelectorAll(a.join(", ")))},m=r=>{var e=(null==r?void 0:r.modules)||[],t=[...e.filter(s).map((r=>{var{attr:e}=r;return e})),...v].map((r=>"[".concat(r,"]")));return t.push(...e.filter(d).map((r=>{var{selector:e}=r;return e}))),Array.from(document.querySelectorAll(t.join(", ")))},p=r=>{try{var e=new URL(r);return e.toString().substring(e.origin.length)}catch(r){}return r},g=r=>(e,t)=>{var n=f(e,t);return(null==n?void 0:n.length)?r(e,t,f(e,t)):null},y=(r,e,t)=>{var{target:{anchor:{href:n}}}=r;if(!(null==t?void 0:t.length))return null;if(CSS.supports("selector(:has(+ *))")){var a=t.map((r=>{var{element:e,anchor:t}=r;return"".concat(e,":has(").concat(null!=t?t:"",'[href="').concat(n,'"]),')+"".concat(e).concat(null!=t?t:"",'[href="').concat(n,'"],')+"".concat(e,":has(").concat(null!=t?t:"",'[href*="').concat(p(n),'"]),')+"".concat(e).concat(null!=t?t:"",'[href*="').concat(p(n),'"]')})).join(",");return e.map((r=>r.querySelector(a))).filter(Boolean)[0]||null}var o=t.map((r=>{var{element:e}=r;return e})).join(", "),l=t.map((r=>{var{anchor:e,element:t}=r;return"".concat(t," ").concat(null!=e?e:"",'[href="').concat(n,'"],')+"".concat(t).concat(null!=e?e:"",'[href="').concat(n,'"],')+"".concat(t," ").concat(null!=e?e:"",'[href*="').concat(p(n),'"],')+"".concat(t).concat(null!=e?e:"",'[href*="').concat(p(n),'"]')})).join(",");return e.map((r=>r.querySelector(l))).filter(Boolean).map((r=>r.closest(o)))[0]},w=r=>g((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,{layouts:a=[]}=t;if(!n)return null;var o=n instanceof Array?n:[n],l=y(e,o,[{element:"[data-mrf-layout]",anchor:"[data-mrf-layout-anchor]",title:""}])||y(e,o,a);return l?r(e,t,l):null})),b=r=>"a".concat(r,':not([aria-hidden="true"])'),S=r=>r?r instanceof Array?r:[r]:null,A=(r,e)=>e.find((e=>{var{element:t}=e;return r.matches(t)})),E=r=>{try{var e=document.evaluate((r=>{if(!r||r.startsWith("/"))return r;try{var e=atob(r);return e.startsWith("/")?e:r}catch(e){return r}})(r),document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);if(!e.snapshotLength)return null;for(var t=[],a=0;a<e.snapshotLength;a++)t.push(e.snapshotItem(a));return t}catch(e){n("xpath-lookup","evaluate failed",r,e)}return null},x=r=>{var{target:e}=r;return E(e.anchor.xpath)},O=(r,e,t)=>{var{target:n}=r,a=(S(t)||[document]).map((r=>[...r.querySelectorAll(b('[data-mrf-link="'.concat(n.anchor.href,'"]')))])).flat();return a.length>0?a:null},T=(r,e,t)=>{var{target:n}=r,a=n.anchor.href,o=p(a),l=(S(t)||[document]).map((r=>{var e=[a];return a!==o&&e.push(o),[...r.querySelectorAll(e.map((r=>b('[href="'.concat(r,'"]')))).join(", "))]})).flat();return l.length>0?l:null},q=r=>{var{target:e}=r;return e.title?E(e.title.xpath):null},C=r=>{var{target:e}=r;return e.image?E(e.image.xpath):null},L=(r,e,t)=>{var{target:n}=r,a=S(t)||[document],{image:o}=n;if(!o)return null;var l=a.map((r=>[...r.querySelectorAll('img[src="'.concat(o.src,'"]'))])).flat();return l.length>0?l:null},j=function(r){var{layouts:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;if(!t||t instanceof Array||!(null==e?void 0:e.length))return null;var n=A(t,e);return n?{element:t,anchor:t.querySelector(n.anchor),title:t.querySelector(n.title),image:(null==n?void 0:n.img)?t.querySelector(n.img):null}:null},R=(r,e,t)=>!t||t instanceof Array||null===t.getAttribute("data-mrf-layout")?null:{element:t,anchor:t.querySelector("[data-mrf-layout-anchor]"),title:t.querySelector("[data-mrf-layout-title]"),image:t.querySelector("[data-mrf-layout-img]")};let M={};function N(r,{cache:e=!0,readonly:t=!0}={}){try{if(!t)return new URL(r,document.baseURI);if(!M[r]){const{host:t,hostname:n,pathname:a,port:o,protocol:l,search:i,hash:u,href:c,origin:h}=new URL(r,document.baseURI),s={host:t,hostname:n,pathname:a,port:o,protocol:l,search:i,hash:u,href:c,origin:h};if(!e)return s;M[r]=s}return Object.assign({},M[r])}catch(r){return{}}}RegExp("^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])");var P=(r,e)=>(null==r?void 0:r.tagName)===e.toUpperCase(),k=(r,e)=>P(r,e)?r:r.querySelector(e),I=r=>k(r,"img"),D=r=>r instanceof HTMLImageElement?P(r.parentNode,"picture")?r.parentNode:null:k(r,"picture"),H=r=>!!r,_=/(<!--.*?-->)|(<!--[\S\s]+?-->)|(<!--[\S\s]*?$)/g,U=/&nbsp;/g,F=/\s+/g,V=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.replace(F," ").trim()},B=r=>r.innerHTML.replace(_,"").replace(U," ").trim(),W=(r,e)=>{var{target:{anchor:t,title:n}}=r;if(!H(e))return!1;var a=c(t)?t.text:null==n?void 0:n.text;return V(e.innerText)===V(a)||B(e)===function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("div");return e.innerHTML=r.trim(),B(e)}(a)},z=(r,e)=>{var t=r.target.anchor,n=c(t)&&t.textSelector;return W(r,n?null==e?void 0:e.querySelector(n):e)},J=(r,e)=>{if(!H(e)||!r.target.image)return!1;var t,n=(t=e)instanceof HTMLImageElement?t.closest("a"):k(t,"a");if(n&&n.getAttribute("href")===r.target.anchor.href)return!0;var a=I(e);return!(!a||a.src!==r.target.image.src)},X=(r,e)=>{if(!e)return!1;var{title:t,anchor:a,element:o}=e,l=W(r,t),i=((r,e)=>{var{target:{anchor:{href:t}}}=r;return!!H(e)&&t===function(r,e){let t=null;if(t="mrfLink"in r&&r.mrfLink||r.getAttribute("data-mrf-link")||r.getAttribute("href")||r.getAttribute("data-mrf-uri"),null===t)return null;const n=N(t||"");return"null"===n.origin?null:n.href}(e)})(r,null!=a?a:o);return n("layout-match-validation","isExpectedText",l,"isExpectedAnchor",i),l&&i},Y=[{name:"xpath",matcher:x},{name:"recirculation-module(mrf-link)",matcher:g(O)},{name:"recirculation-module(href)",matcher:g(T)}],Z=[{name:"xpath",matcher:(r,e)=>{var t,n,a,{target:{anchor:o}}=r,{layouts:l}=null!=e?e:{};if(c(o)||!(Array.isArray(l)&&l.length>0))return null;var i=l.map((r=>{var{element:e}=r;return e})).join(", "),u=null===(t=x(r))||void 0===t?void 0:t[0];return{element:null==u?void 0:u.closest(i),anchor:u,title:null===(n=q(r))||void 0===n?void 0:n[0],image:null===(a=C(r))||void 0===a?void 0:a[0]}}},{name:"recirculation-module(layout)(attrs)",matcher:w(R)},{name:"recirculation-module(layout)(config)",matcher:w(j)}],$=[{name:"xpath",matcher:C},{name:"recirculation-module(src)",matcher:g(L)}],G=(r,e)=>function(){return r(...arguments)||e(...arguments)},K=(r,e)=>function(t,n,a){var o,l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(a){var i=t.id,u=null!==(o=a[e])&&void 0!==o?o:a[e]={};if(void 0===u[i]){var c=r(t,n),h=null==c||Array.isArray(c)&&0===c.length;return h&&!l||(u[i]=c),c}return u[i]}return r(t,n)},Q=K(((r,e)=>{for(var{name:t,matcher:a}of Z){var o=a(r,e);if(n("layout-matcher",t,o),o&&X(r,o))return n("layout-matcher","match found",o),o}return null}),"layout"),rr=(r,e)=>{for(var{name:t,matcher:a}of Y){var o=a(r,e);n("anchor-matcher",t,o);var l=null==o?void 0:o.find((e=>z(r,e)));if(l)return n("anchor-matcher","match found",l),l}return null},er=G((function(){var r;return null===(r=Q(...arguments))||void 0===r?void 0:r.anchor}),K(rr,"anchor")),tr=G((function(){var r;return null===(r=Q(...arguments))||void 0===r?void 0:r.image}),K(((r,e)=>{for(var{name:t,matcher:a}of $){var o=a(r,e);n("image-matcher",t,o);var l=null==o?void 0:o.find((e=>J(r,e)));if(l)return n("image-matcher","match found",l),l}return null}),"image")),nr=K((function(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];var[{target:{anchor:n}}]=e,a=c(n)&&n.textSelector,o=rr(...e);return a?null==o?void 0:o.querySelector(a):o}),"title"),ar=function(){for(var r,e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var[{target:{anchor:o}}]=n;return c(o)?nr(...n):null!==(e=null===(r=Q(...n))||void 0===r?void 0:r.title)&&void 0!==e?e:null},or=r=>{var e=new Set;return r.reduce(((r,t)=>(t&&!e.has(t)&&(e.add(t),r.push(t)),r)),[])},lr=(r,e,t)=>{var n=[];return r.forEach((r=>{r.querySelectorAll(e).forEach((r=>{((r,e)=>{var t,n=p(e),a='a[href="'.concat(e,'"], a[href="').concat(n,'"]');return!!r.querySelector(a)||r.matches("a")&&[e,n].includes(null!==(t=r.getAttribute("href"))&&void 0!==t?t:"")})(r,t)&&n.push(r)}))})),n},ir=K(((r,e)=>{var t=m(e);if(!t.length)return[];var{href:n}=r.target.anchor,{layouts:a=[]}=null!=e?e:{},o=[];if(lr(t,"[data-mrf-layout]",n).forEach((e=>{var t=R(0,0,e);t&&X(r,t)&&o.push(t)})),a.length){var l=a.map((r=>{var{element:e}=r;return e})).join(", ");lr(t,l,n).forEach((t=>{var n=j(r,e,t);n&&X(r,n)&&o.push(n)}))}return o}),"fallback-layouts"),ur=K(((r,e)=>{var t=m(e);if(!t.length)return[];var n=[...O(r,0,t)||[],...T(r,0,t)||[]];return or(n.filter((e=>z(r,e))))}),"fallback-anchors"),cr=K(((r,e)=>{var t=m(e);return t.length?(L(r,0,t)||[]).filter((e=>J(r,e))):[]}),"fallback-images"),hr=(r,e)=>{var t=r.target.anchor,n=c(t)&&t.textSelector;return n?e.querySelector(n):e},sr=(r,e)=>{if(!r)return null;var t="string"==typeof e,n=D(r);n&&[...n.children].filter((r=>P(r,"source"))).forEach(((r,n)=>{r.srcset=t?e:e.sources[n].srcset}));var a=I(r);return a?(t?(a.src=e,a.removeAttribute("srcset")):e.image&&(a.src=e.image.src,null!==e.image.srcset?a.setAttribute("srcset",e.image.srcset):a.removeAttribute("srcset")),a):null},dr=(r,e)=>{if(!r)return null;var t=(r=>{var e=D(r),t=I(r);return{sources:e?[...e.children].filter((r=>P(r,"source"))).map((r=>({element:r,srcset:r.srcset}))):[],image:t?{src:t.src,srcset:t.getAttribute("srcset")}:null}})(r),n=sr(r,e);return n?{element:n,cleanup:()=>sr(n,t)}:null},vr=r=>1===r.childNodes.length&&3===r.firstChild.nodeType,fr=r=>Array.from(r.childNodes).some((r=>{var e;return 3===r.nodeType&&""!==(null!==(e=r.nodeValue)&&void 0!==e?e:"").trim()})),mr=r=>Array.from(r.children).filter((r=>{var e;return""!==(null!==(e=r.textContent)&&void 0!==e?e:"").trim()})),pr=(r,e)=>{if(!r)return null;if(e.indexOf("<")>=0)return r.innerHTML=e,r;var t=(r=>{for(var e=r,t=0;t<5;t++){var n=mr(e);if(fr(e)||1!==n.length)break;e=n[0]}return e})(r);return vr(t)?t.firstChild.nodeValue=e:t.textContent=e,r},gr=r=>{window.marfeel=window.marfeel||{},window.marfeel.cmd=window.marfeel.cmd||[],window.marfeel.cmd.push(["synchronizer",e=>{e.resolve("headline",r)}])},yr=50,wr="[data-".concat("mrfReconciliator".replace(/([A-Z])/g,(r=>"-".concat(r.toLowerCase()))),"]"),br={},Sr=!1,Ar=(r,e)=>{if((r=>void 0!==r.isConnected?r.isConnected:!(r.ownerDocument&&r.ownerDocument.compareDocumentPosition(r)&r.DOCUMENT_POSITION_DISCONNECTED))(r)&&e instanceof HTMLElement){var t=(r=>(r=>!!r.dataset.mrfReconciliator)(r)?[r]:Array.from(r.querySelectorAll(wr)))(e),n=t.map((r=>r.dataset.mrfReconciliator)).map((r=>br[r]));n.forEach((r=>{var{cleanup:e}=r;return e()})),n.forEach((r=>{var{reconciliate:e}=r;return e()}))}},Er=()=>{if(!Sr){var r=Node.prototype.removeChild,e=Node.prototype.replaceChild;Node.prototype.removeChild=function(e){var t=r.call(this,e);try{Ar(this,e)}catch(r){}return t},Node.prototype.replaceChild=function(r,t){var n=e.call(this,r,t);try{Ar(this,t)}catch(r){}return n},Sr=!0}};function xr(){return new Promise((r=>{var e;"function"!=typeof(null===(e=window.scheduler)||void 0===e?void 0:e.postTask)?"function"!=typeof window.requestIdleCallback?setTimeout(r,0):window.requestIdleCallback((()=>r())):window.scheduler.postTask(r,{priority:"user-visible"})}))}function Or(r,e,t,n,a,o,l){try{var i=r[o](l),u=i.value}catch(r){return void t(r)}i.done?e(u):Promise.resolve(u).then(n,a)}var Tr=new class{constructor(){this.debounces={},this.throttles={}}debounce(r,e){var t,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yr;return null!==(t=(n=this.debounces)[r])&&void 0!==t?t:n[r]=function(r){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yr;return function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];window.clearTimeout(e),e=window.setTimeout((()=>r(...a)),t)}}(e,a)}throttle(r,e){var t,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yr;return null!==(t=(n=this.throttles)[r])&&void 0!==t?t:n[r]=function(r){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yr;return function(){void 0===e&&(e=window.setTimeout((()=>e=void 0),t),r(...arguments))}}(e,a)}},qr=(r,e)=>e.map((e=>e(r))),Cr=function(){var r,e=(r=function*(r,e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=[],o=r.headlines.filter((r=>"FINISHED"!==r.status||r.applyChangesOnFinish)).filter((r=>!(null==t?void 0:t.has(r.id)))).map((r=>()=>a.push([r,...qr(r,e)])));if(!n)return o.forEach((r=>r())),a;for(var l of o)l(),yield xr();return a},function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function l(r){Or(o,n,a,l,i,"next",r)}function i(r){Or(o,n,a,l,i,"throw",r)}l(void 0)}))});return function(r,t,n){return e.apply(this,arguments)}}(),Lr=(r,e)=>{var t=(r=>{var e,t;return(null===(e=r.replacements.title)||void 0===e?void 0:e.text)||(null===(t=r.replacements.anchor)||void 0===t?void 0:t.text)})(r),a=[],o=[];return((r,e,t)=>{var n,a,o,l=c(r.target.anchor);if(l){var i=er(r,e,t);if(i)return[{element:i,anchor:i,title:null!==(n=ar(r,e,t))&&void 0!==n?n:null,image:null}]}else{var u=Q(r,e,t);if(u)return[u]}return h(r)?l?(null!==(a=ur(r,e,t))&&void 0!==a?a:[]).map((e=>{var t;return{element:e,anchor:e,title:null!==(t=hr(r,e))&&void 0!==t?t:null,image:null}})):null!==(o=ir(r,e,t))&&void 0!==o?o:[]:[]})(r,r.recirculationModule.config,e).forEach((e=>{var{anchor:l,title:i}=e;if(t&&i){var u=((r,e)=>{if(!r)return null;var t,n=(t=r)?vr(t)?t.firstChild.nodeValue:t.innerHTML:null,a=pr(r,e);return a?{element:a,cleanup:()=>{n&&pr(r,n)}}:null})(i,t);u&&o.push(u)}l&&(((r,e)=>{r.dataset.mrfExperiment?n("tracker","Anchor for ".concat(e," already tracked")):r.dataset.mrfExperiment=e})(l,r.id),a.push(l))})),o.push(...((r,e,t)=>{var n,{replacements:a}=r;if(!a.image)return[];var{src:o}=a.image,l=tr(r,e,t);if(l){var i=dr(l,o);return i?[i]:[]}return h(r)?(null!==(n=((r,e,t)=>{var n,a,o=(null!==(n=ir(r,e,t))&&void 0!==n?n:[]).map((r=>{var e;return null!==(e=r.image)&&void 0!==e?e:null}));return or([...o,...null!==(a=cr(r,e,t))&&void 0!==a?a:[]])})(r,e,t))&&void 0!==n?n:[]).map((r=>dr(r,o))).filter((r=>!!r)):[]})(r,r.recirculationModule.config,e)),{anchors:a,touched:o}},jr=r=>{var t=new Set,a=[],o=new Map,l=r=>{var i,u,{anchors:c,touched:h}=Lr(r,{}),s=(i=[...c,...h.map((r=>{var{element:e}=r;return e}))],u=new Set,i.reduce(((r,e)=>(e&&!u.has(e)&&(u.add(e),r.push(e)),r)),[]));s.length>0&&(t.add(r.id),o.set(r.id,s)),h.forEach((r=>{var{cleanup:e}=r;return a.push(e)})),s.forEach((t=>{var{cleanup:o}=((r,t)=>{Er();var n=r.dataset.mrfReconciliator;n&&br[n]&&(br[n].cleanup(),delete br[n]);var a=n||"".concat(Math.floor(Math.random()*Date.now()));r.dataset.mrfReconciliator=a;var o=((r,t)=>{var{disconnect:n}=e((()=>t()),{childList:!0,attributes:!0,target:r,characterData:!0});return n})(r,t);return br[a]={cleanup(){o()},reconciliate(){t()}},{cleanup:()=>{Object.values(br).forEach((r=>{var{cleanup:e}=r;return e()}))}}})(t,Tr.debounce(r.id,(()=>{n("reconciliation","running experiment ".concat(r.id)),l(r)})));a.push(o)}))};Cr(r,[l],t);var{disconnect:i}=e(Tr.throttle("observer",(()=>{Array.from(t).forEach((e=>{var n=o.get(e);if(null==n?void 0:n.some((r=>!r.isConnected))){var a=r.headlines.find((r=>r.id===e));a&&(t.delete(e),o.delete(e),l(a))}})),Cr(r,[r=>Lr(r,{})],void 0,!0)})),{subtree:!0,attributes:!0,attributeFilter:v,childList:!0});document.body.addEventListener("mrf-hud-experiments-cleanup",(()=>{i(),a.forEach((r=>r()))})),gr(!0)};function Rr(r,e,t,n,a,o,l){try{var i=r[o](l),u=i.value}catch(r){return void t(r)}i.done?e(u):Promise.resolve(u).then(n,a)}var Mr=function(){var r,e=(r=function*(){var r=yield(()=>{var r=a();return r?Promise.resolve(r):u()})();n("configuration",r),r?jr(r):gr(!1)},function(){var e=this,t=arguments;return new Promise((function(n,a){var o=r.apply(e,t);function l(r){Rr(o,n,a,l,i,"next",r)}function i(r){Rr(o,n,a,l,i,"throw",r)}l(void 0)}))});return function(){return e.apply(this,arguments)}}();"interactive"===document.readyState||"complete"===document.readyState?Mr():window.addEventListener("DOMContentLoaded",(()=>{Mr()}))})();function e(e,n,r,t,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void r(e)}u.done?n(c):Promise.resolve(c).then(t,i)}function n(n){return function(){var r=this,t=arguments;return new Promise((function(i,o){var a=n.apply(r,t);function u(n){e(a,i,o,u,c,"next",n)}function c(n){e(a,i,o,u,c,"throw",n)}u(void 0)}))}}function r(e,n,r){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,n||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:n+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function t(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function i(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(n){r(e,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))}))}return e}var o;function a(e){return function(e){return document.querySelector('script[data-mrf-script="'.concat(e,'"]'))}(e)||function(e){var n=document.createElement("script");return n.setAttribute("type","application/json"),n.dataset.mrfScript=e,document.head.appendChild(n)}(e)}function u(e){return e&&"object"==typeof e}function c(e,n){return u(e)&&u(n)?(Object.keys(n).forEach((r=>{var t=e[r],i=n[r];Array.isArray(t)&&Array.isArray(i)?e[r]=t.concat(i):u(t)&&u(i)?e[r]=c(Object.assign({},t),i):e[r]=i})),e):n}function f(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.reduce(((e,n)=>c(e,n)),{})}function l(e,n,r,t,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void r(e)}u.done?n(c):Promise.resolve(c).then(t,i)}function s(e){return function(){var n=this,r=arguments;return new Promise((function(t,i){var o=e.apply(n,r);function a(e){l(o,t,i,a,u,"next",e)}function u(e){l(o,t,i,a,u,"throw",e)}a(void 0)}))}}function p(){var e,n;return window.marfeel=null!==(e=window.marfeel)&&void 0!==e?e:{},window.marfeel.cmd=null!==(n=window.marfeel.cmd)&&void 0!==n?n:[],window.marfeel.cmd}!function(e){e.HEADLINE_AB="HeadlineAB"}(o||(o={}));var d="marfeel-sdk-store";function y(e){return e.update=Date.now(),n=d,r=btoa(JSON.stringify(e)),new Promise((e=>{p().push(["consent",t=>{try{if(t.getConsent("cookies"))return window.localStorage.setItem(n,r),e(!0)}catch(e){}return e(!1)}])}));var n,r}function v(){return m.apply(this,arguments)}function m(){return(m=s((function*(){var e,n,r=yield(e=d,new Promise((n=>{p().push(["consent",r=>{try{if(r.getConsent("cookies"))return n(window.localStorage.getItem(e))}catch(e){}return n(null)}])})));return r?JSON.parse(atob(r)):(y(n={creation:Date.now(),update:Date.now(),entries:{}}),n)}))).apply(this,arguments)}function h(e){return w.apply(this,arguments)}function w(){return(w=s((function*(e){return(yield v()).entries[e]}))).apply(this,arguments)}function g(){return(g=s((function*(e,n){var r=yield v();return r.entries[e]=n,y(r)}))).apply(this,arguments)}var b="croupier-experimentation-entry",O={percent:function(){var e=n((function*(e){var n=Math.random();for(var r of e)if((n-=r.strategy.value)<=0)return r;return e[e.length-1]}));return function(n){return e.apply(this,arguments)}}()},P=function(){var e=n((function*(e,n){if(Array.isArray(n)&&0!==n.length){var r=(yield h(b))||{};if(r[e])return n.find((n=>n.id===r[e]));if(!n.some((e=>!e.strategy))){var t=n[0].strategy,o=O[t.type],a=yield o(n);return yield function(e,n){return g.apply(this,arguments)}(b,i(i({},(yield h(b))||{}),{},{[e]:a.id})),a}}}));return function(n,r){return e.apply(this,arguments)}}(),j=(e,n)=>{window.marfeel=window.marfeel||{},window.marfeel.cmd=window.marfeel.cmd||[],window.marfeel.cmd.push(["synchronizer",r=>{r.resolve(e,n)}])},E="mrfhud",S=e=>window.location.search.includes(e),A=function(){var e=n((function*(){return!!(S("activate-overlay")||S(E)||(e=E,window.location.hash.includes(e)))||(n="".concat("mrfHudStorage","-").concat(parseInt(5315,10)),!!window.localStorage.getItem(n));var e,n}));return function(){return e.apply(this,arguments)}}(),I=function(){var e=n((function*(e){return"FINISHED"===e.status&&e.winner?e.variants.find((n=>n.id===e.winner)):P(e.id||"",e.variants)}));return function(n){return e.apply(this,arguments)}}(),D=function(){var e=n((function*(e){var r,t=yield Promise.all(e.map(function(){var e=n((function*(e){var n=yield I(e);return n?f({id:n.id,status:e.status,applyChangesOnFinish:!!e.applyChangesOnFinish,runExperimentsIn:e.runExperimentsIn},e.detail,n.detail||{}):{}}));return function(n){return e.apply(this,arguments)}}())),i=new Set,o={headlines:t.reduce(((e,n)=>{if(t=n,0!==Object.keys(t).length){var r=n.recirculationModule.editorialId;i.has(r)||e.push(n),i.add(r)}var t;return e}),[])};0===o.headlines.length||(yield A())?j("headline",!1):(r=o,a("experimentation-headlineab").innerHTML=JSON.stringify(r))}));return function(n){return e.apply(this,arguments)}}(),x={[o.HEADLINE_AB]:D},H=function(){var e=n((function*(e){var n,r=e.reduce(((e,n)=>i(i({},e),{},{[n.experimentType]:[...e[n.experimentType]||[],n]})),{});n=e.length>0,j("experimentation",n),yield Promise.all(Object.values(o).map((e=>(e=>x[e])(e)(r[e]||[]))))}));return function(n){return e.apply(this,arguments)}}();!function(){try{H([{"id":"6a56cd57842baa0b729c59d9","createdDate":"2026-07-14T23:59:19.437Z","lastModifiedDate":"2026-07-15T00:11:03.123Z","experimentType":"HeadlineAB","siteId":5315,"experienceId":"AC_6xN1CBm9Sba0qR5zFeKqMA","status":"FINISHED","startTime":"2026-07-14T23:59:19.419Z","endTime":"2026-07-15T00:11:03.123Z","detail":{"target":{"anchor":{"href":"https://www.usmagazine.com/celebrity-news/news/sam-neill-battled-pneumonia-prior-to-death-costar-claims/","xpath":"L2h0bWwvYm9keS9tYWluL2Rpdi9kaXZbMl0vZGl2WzFdL2Rpdi9kaXYvZGl2WzJdL2RpdlsxXS9kaXZbMV0vZGl2WzJdL2FbMl0=","text":"Sam Neill Was Battling Pneumonia Prior to His Death at 78, Ex-Costar Claims","textSelector":"div > h3:nth-of-type(1)"},"image":{"xpath":"L2h0bWwvYm9keS9tYWluL2Rpdi9kaXZbMl0vZGl2WzFdL2Rpdi9kaXYvZGl2WzJdL2RpdlsxXS9kaXZbMV0vZGl2WzJdL2FbMl0vZGl2WzFdL2Rpdi9waWN0dXJlL2ltZw==","src":"https://www.usmagazine.com/wp-content/uploads/2026/07/Sam-Neill-Former-Costar-Rima-Te-Wiata-Says-He-Had-Pneumonia-Prior-to-His-Death-at-78.jpg?crop=0px%2C0px%2C2000px%2C1131px&resize=400%2C225&quality=70&strip=all"}},"recirculationModule":{"name":"Us Magazine Home","index":11,"editorialId":"2124233446","config":{"lazy":true,"layouts":[{"element":".item.pinned.first","img":"img","title":".item-title"}],"modules":[{"attr":"data-tb-region"},{"name":"Story body links","selector":"article.story-body"},{"name":"Disco widget","selector":".disco-widget"},{"name":"Infographic","selector":".embed-infographic"},{"name":"Related Stories","selector":".related-stories"},{"name":"Trending Articles","selector":".vf-trending-articles"},{"name":"Partner group","selector":".partner-digest-group"},{"name":"Affiliation - Amazon Buy Now Button","selector":"div.ctabutton"},{"name":"Affiliation - Amazon Buy Now Button","selector":"div.wp-block-buttons.is-content-justification-center"},{"name":"Careers & Education Blue CTA Button","selector":"div.coupon_getdeal"},{"name":"Careers & Education Check Pricing Button","selector":"div.ub-button-container"},{"name":"Careers & Education Start Now Button","selector":"a.table_btn"},{"name":"Topnav Menu","selector":".flag-row.flag-bottom"},{"name":"Betting CTA Buttons","selector":"div.operator-item-main-info.gdc-flex.gdc-flex-wrap.gdc-justify-between.gdc-items-center"},{"name":"Us Magazine Home","selector":".home.module"}],"blacklist":[],"redirectionLinks":[]}}},"variants":[{"id":"8a2ff53a-22b2-4b6f-9208-b2b6589f4780","strategy":{"type":"percent","value":0.5},"detail":{"replacements":{}}},{"id":"a2593656-453a-4184-ad56-f9808b23c431","strategy":{"type":"percent","value":0.5},"detail":{"replacements":{"title":{"text":"Sam Neill's Costar Reveals New Details About Illness Before His Death"}}}}],"winner":"a2593656-453a-4184-ad56-f9808b23c431","applyChangesOnFinish":true}])}catch(e){j("experimentationFailed")}}();