(()=>{"use strict";function e(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]])}return t}Object.create,Object.create;var r=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{target:n=document.body}=t,a=e(t,["target"]),o=new MutationObserver((()=>{r()}));return o.observe(n,a),{disconnect:()=>o.disconnect()}},t=window.location.hash.includes("mrfdebug"),n=function(e){if(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];console.debug("%c[headline-".concat(e,"] %c"),"color:#ff9423","color: inherit",...n)}},a=()=>{var e=document.querySelector('script[data-mrf-script="'.concat("experimentation-headlineab",'"]')),r=null==e?void 0:e.innerHTML;if(!r)return null;try{return JSON.parse(r)}catch(e){n("configuration","Could not load inline configuration")}return null},o=()=>{};class i{constructor(){this.id=0,this.isRunning=!1,this._reject=o}cancel(){this.isRunning=!1,window.clearTimeout(this.id),this._reject()}start(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8e3,r=o;return this.id=window.setTimeout((()=>{this.isRunning=!1,r()}),e),this.isRunning=!0,new Promise(((e,t)=>{r=e,this._reject=t}))}}function c(e,r,t,n,a,o,i){try{var c=e[o](i),l=c.value}catch(e){return void t(e)}c.done?r(l):Promise.resolve(l).then(n,a)}var l=function(){var e,t=(e=function*(){var e=new i,t=null,{disconnect:n}=r((()=>{e.isRunning?(t=a())&&(n(),e.cancel()):n()}),{target:document.head,childList:!0});try{yield e.start()}catch(e){}return t},function(){var r=this,t=arguments;return new Promise((function(n,a){var o=e.apply(r,t);function i(e){c(o,n,a,i,l,"next",e)}function l(e){c(o,n,a,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}(),u=e=>"text"in e,d=e=>"attr"in e,s=e=>"selector"in e,h=e=>{var r,{recirculationModule:t,target:{anchor:n,title:a},variants:o,id:i,cache:c={}}=e,l=o.map((e=>{var r,t,o,i;return{anchor:u(n)?Object.assign(Object.assign({},n),{text:null!==(t=null===(r=e.anchor)||void 0===r?void 0:r.text)&&void 0!==t?t:n.text}):n,title:u(n)?void 0:Object.assign(Object.assign({},a),{text:null!==(i=null===(o=e.title)||void 0===o?void 0:o.text)&&void 0!==i?i:a.text})}}));for(var d of l){var s=[{id:i,recirculationModule:t,target:d},t.config,c],h=(null===(r=Z(...s))||void 0===r?void 0:r.element)||G(...s);if(h)return h}return null},v=["data-mrf-recirculation","data-dtm-region","dtm-region"],m=(e,r)=>{var{recirculationModule:t}=e,n=(null==r?void 0:r.modules)||[],a=[...n.filter(d).map((e=>{var{attr:r}=e;return r})),...v].map((e=>"[".concat(e,' = "').concat(t.name,'"]'))),o=n.filter(s).find((e=>{var{name:r}=e;return r===t.name}));return o&&a.push(o.selector),Array.from(document.querySelectorAll(a.join(", ")))},f=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=h({recirculationModule:{name:e.recirculationModule.name,config:e.recirculationModule.config},target:e.target,variants:[e.replacements],id:e.id,cache:r});if(t){if(!t.dataset.mrfExperiment)return t.dataset.mrfExperiment=e.id,t;n("tracker","Anchor for ".concat(e.id," already tracked"))}else n("tracker","Anchor for ".concat(e.id," not found"))},p=e=>{try{var r=new URL(e);return r.toString().substring(r.origin.length)}catch(e){}return e},g=e=>(r,t)=>{var n=m(r,t);return(null==n?void 0:n.length)?e(r,t,m(r,t)):null},y=(e,r,t)=>{var{target:{anchor:{href:n}}}=e;if(!(null==t?void 0:t.length))return null;if(CSS.supports("selector(:has(+ *))")){var a=t.map((e=>{var{element:r,anchor:t}=e;return"".concat(r,":has(").concat(null!=t?t:"",'[href="').concat(n,'"]),')+"".concat(r).concat(null!=t?t:"",'[href="').concat(n,'"],')+"".concat(r,":has(").concat(null!=t?t:"",'[href*="').concat(p(n),'"]),')+"".concat(r).concat(null!=t?t:"",'[href*="').concat(p(n),'"]')})).join(",");return r.map((e=>e.querySelector(a))).filter(Boolean)[0]||null}var o=t.map((e=>{var{element:r}=e;return r})).join(", "),i=t.map((e=>{var{anchor:r,element:t}=e;return"".concat(t," ").concat(null!=r?r:"",'[href="').concat(n,'"],')+"".concat(t).concat(null!=r?r:"",'[href="').concat(n,'"],')+"".concat(t," ").concat(null!=r?r:"",'[href*="').concat(p(n),'"],')+"".concat(t).concat(null!=r?r:"",'[href*="').concat(p(n),'"]')})).join(",");return r.map((e=>e.querySelector(i))).filter(Boolean).map((e=>e.closest(o)))[0]},w=e=>g((function(r){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],i=y(r,o,[{element:"[data-mrf-layout]",anchor:"[data-mrf-layout-anchor]",title:""}])||y(r,o,a);return i?e(r,t,i):null})),b=e=>e?e instanceof Array?e:[e]:null,x=(e,r)=>r.find((r=>{var{element:t}=r;return e.matches(t)})),S=e=>{var r=document.evaluate(e,document,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);try{var t=r.iterateNext();if(!t)return null;for(var n=[];t;)n.push(t),t=r.iterateNext();return n}catch(e){}return null},A=e=>{var{target:r}=e;return S(r.anchor.xpath)},O=(e,r,t)=>{var{target:n}=e,a=(b(t)||[document]).map((e=>[...e.querySelectorAll('a[data-mrf-link="'.concat(n.anchor.href,'"]'))])).flat();return a.length>0?a:null},E=(e,r,t)=>{var{target:n}=e,a=n.anchor.href,o=p(a),i=(b(t)||[document]).map((e=>[...e.querySelectorAll('a[href="'.concat(a,'"]').concat(a!==o?', a[href="'.concat(o,'"]'):""))])).flat();return i.length>0?i:null},T=e=>{var{target:r}=e;return r.title?S(r.title.xpath):null},L=e=>{var{target:r}=e;return r.image?S(r.image.xpath):null},M=(e,r,t)=>{var{target:n}=e,a=b(t)||[document],{image:o}=n;if(!o)return null;var i=a.map((e=>[...e.querySelectorAll('img[src="'.concat(o.src,'"]'))])).flat();return i.length>0?i:null};let R={};function j(e,{cache:r=!0,readonly:t=!0}={}){try{if(!t)return new URL(e,document.baseURI);if(!R[e]){const{host:t,hostname:n,pathname:a,port:o,protocol:i,search:c,hash:l,href:u,origin:d}=new URL(e,document.baseURI),s={host:t,hostname:n,pathname:a,port:o,protocol:i,search:c,hash:l,href:u,origin:d};if(!r)return s;R[e]=s}return Object.assign({},R[e])}catch(e){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 C=(e,r)=>(null==e?void 0:e.tagName)===r.toUpperCase(),q=(e,r)=>C(e,r)?e:e.querySelector(r),N=e=>q(e,"img"),P=e=>e instanceof HTMLImageElement?C(e.parentNode,"picture")?e.parentNode:null:q(e,"picture"),k=e=>!!e,D=/(<!--.*?-->)|(<!--[\S\s]+?-->)|(<!--[\S\s]*?$)/g,I=/&nbsp;/g,H=(e,r)=>{var t,{target:{anchor:n,title:a}}=e;if(!k(r))return!1;var o,i,c=u(n)?n.text:null==a?void 0:a.text;return r.innerHTML.replace(D,"").replace(I," ").trim()===(o=null!==(t=null==c?void 0:c.trim())&&void 0!==t?t:"",(i=document.createElement("div")).innerHTML=o,i.innerHTML)},_=(e,r)=>{var t=e.target.anchor,n=u(t)&&t.textSelector;return H(e,n?null==r?void 0:r.querySelector(n):r)},U=(e,r)=>{if(!k(r)||!e.target.image)return!1;var t,n=(t=r)instanceof HTMLImageElement?t.closest("a"):q(t,"a");if(n&&n.getAttribute("href")===e.target.anchor.href)return!0;var a=N(r);return!(!a||a.src!==e.target.image.src)},F=(e,r)=>{var{target:{anchor:{href:t}}}=e;return!!k(r)&&t===function(e,r){let t=null;if(t="mrfLink"in e&&e.mrfLink||e.getAttribute("data-mrf-link")||e.getAttribute("href")||e.getAttribute("data-mrf-uri"),null===t)return null;const n=j(t||"");return"null"===n.origin?null:n.href}(r)},B=(e,r)=>{if(!r)return!1;var{title:t,anchor:a,element:o}=r;return n("layout-match-validation","isExpectedText",H(e,t),"isExpectedAnchor",F(e,null!=a?a:o)),H(e,t)&&F(e,null!=a?a:o)},V=[{name:"xpath",matcher:A},{name:"recirculation-module(mrf-link)",matcher:g(O)},{name:"mrf-link",matcher:O},{name:"recirculation-module(href)",matcher:g(E)},{name:"href",matcher:E}],z=[{name:"xpath",matcher:(e,r)=>{var t,n,a,{target:{anchor:o}}=e,{layouts:i}=null!=r?r:{};if(u(o)||!(Array.isArray(i)&&i.length>0))return null;var c=i.map((e=>{var{element:r}=e;return r})).join(", "),l=null===(t=A(e))||void 0===t?void 0:t[0];return{element:null==l?void 0:l.closest(c),anchor:l,title:null===(n=T(e))||void 0===n?void 0:n[0],image:null===(a=L(e))||void 0===a?void 0:a[0]}}},{name:"recirculation-module(layout)(attrs)",matcher:w(((e,r,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]")}))},{name:"recirculation-module(layout)(config)",matcher:w((function(e){var{layouts:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;if(!t||t instanceof Array||!(null==r?void 0:r.length))return null;var n=x(t,r);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}))}],J=[{name:"xpath",matcher:L},{name:"recirculation-module(src)",matcher:g(M)},{name:"src",matcher:M}],X=(e,r)=>function(){return e(...arguments)||r(...arguments)},Y=(e,r)=>(t,n,a)=>{var o;if(a){var i=t.id,c=null!==(o=a[r])&&void 0!==o?o:a[r]={};return void 0===c[i]&&(c[i]=e(t,n)),c[i]}return e(t,n)},Z=Y(((e,r)=>{for(var{name:t,matcher:a}of z){var o=a(e,r);if(n("layout-matcher",t,o),o&&B(e,o))return n("layout-matcher","match found",o),o}return null}),"layout"),$=(e,r)=>{for(var{name:t,matcher:a}of V){var o=a(e,r);n("anchor-matcher",t,o);var i=null==o?void 0:o.find((r=>_(e,r)));if(i)return n("anchor-matcher","match found",i),i}return null},G=X((function(){var e;return null===(e=Z(...arguments))||void 0===e?void 0:e.anchor}),Y($,"anchor")),K=X((function(){var e;return null===(e=Z(...arguments))||void 0===e?void 0:e.image}),Y(((e,r)=>{for(var{name:t,matcher:a}of J){var o=a(e,r);n("image-matcher",t,o);var i=null==o?void 0:o.find((r=>U(e,r)));if(i)return n("image-matcher","match found",i),i}return null}),"image")),Q=X((function(){var e;return null===(e=Z(...arguments))||void 0===e?void 0:e.title}),Y((function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var[{target:{anchor:n}}]=r,a=u(n)&&n.textSelector,o=$(...r);return a?null==o?void 0:o.querySelector(a):o}),"title")),W=e=>1===e.childNodes.length&&3===e.firstChild.nodeType,ee=(e,r)=>e?(r.indexOf("<")>=0||!W(e)?e.innerHTML=r:e.firstChild.nodeValue=r,e):null,re=(e,r)=>{if(!e)return null;var t="string"==typeof r,n=P(e);n&&[...n.children].filter((e=>C(e,"source"))).forEach(((e,n)=>{e.srcset=t?r:r.sources[n].srcset}));var a=N(e);return a?(t?(a.src=r,a.removeAttribute("srcset")):r.image&&(a.src=r.image.src,null!==r.image.srcset?a.setAttribute("srcset",r.image.srcset):a.removeAttribute("srcset")),a):null},te=[{name:"anchor",replacer:(e,r,t)=>{var n,{replacements:a}=e,o=[];if(!a.anchor&&!a.title)return o;var i,c=Q(e,r,t);if(c){var l=(i=c)?W(i)?i.firstChild.nodeValue:i.innerHTML:null,u=(null===(n=a.title)||void 0===n?void 0:n.text)||a.anchor.text,d=ee(c,u);d&&o.push({element:d,cleanup:()=>{l&&ee(c,l)}})}return o}},{name:"image",replacer:(e,r,t)=>{var{replacements:n}=e,a=[];if(!n.image)return a;var o=K(e,r,t);if(o){var i=(e=>{var r=P(e),t=N(e);return{sources:r?[...r.children].filter((e=>C(e,"source"))).map((e=>({element:e,srcset:e.srcset}))):[],image:t?{src:t.src,srcset:t.getAttribute("srcset")}:null}})(o),c=re(o,n.image.src);c&&a.push({element:c,cleanup:()=>re(c,i)})}return a}}],ne=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=[];for(var{name:a,replacer:o}of te){n("replace",a,e.replacements[a]);var i=o(e,e.recirculationModule.config,r);i&&t.push(...i)}return t},ae=e=>{window.marfeel=window.marfeel||{},window.marfeel.cmd=window.marfeel.cmd||[],window.marfeel.cmd.push(["synchronizer",r=>{r.resolve("headline",e)}])},oe=50,ie="[data-".concat("mrfReconciliator".replace(/([A-Z])/g,(e=>"-".concat(e.toLowerCase()))),"]"),ce={},le=!1,ue=(e,r)=>{if((e=>void 0!==e.isConnected?e.isConnected:!(e.ownerDocument&&e.ownerDocument.compareDocumentPosition(e)&e.DOCUMENT_POSITION_DISCONNECTED))(e)&&r instanceof HTMLElement){var t=(e=>(e=>!!e.dataset.mrfReconciliator)(e)?[e]:Array.from(e.querySelectorAll(ie)))(r),n=t.map((e=>e.dataset.mrfReconciliator)).map((e=>ce[e]));n.forEach((e=>{var{cleanup:r}=e;return r()})),n.forEach((e=>{var{reconciliate:r}=e;return r()}))}},de=()=>{if(!le){var e=Node.prototype.removeChild,r=Node.prototype.replaceChild;Node.prototype.removeChild=function(r){var t=e.call(this,r);try{ue(this,r)}catch(e){}return t},Node.prototype.replaceChild=function(e,t){var n=r.call(this,e,t);try{ue(this,t)}catch(e){}return n},le=!0}};function se(){return new Promise((e=>{var r;"function"!=typeof(null===(r=window.scheduler)||void 0===r?void 0:r.postTask)?"function"!=typeof window.requestIdleCallback?setTimeout(e,0):window.requestIdleCallback((()=>e())):window.scheduler.postTask(e,{priority:"user-visible"})}))}function he(e,r,t,n,a,o,i){try{var c=e[o](i),l=c.value}catch(e){return void t(e)}c.done?r(l):Promise.resolve(l).then(n,a)}var ve=new class{constructor(){this.debounces={},this.throttles={}}debounce(e,r){var t,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe;return null!==(t=(n=this.debounces)[e])&&void 0!==t?t:n[e]=function(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];window.clearTimeout(r),r=window.setTimeout((()=>e(...a)),t)}}(r,a)}throttle(e,r){var t,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe;return null!==(t=(n=this.throttles)[e])&&void 0!==t?t:n[e]=function(e){var r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return function(){void 0===r&&(r=window.setTimeout((()=>r=void 0),t),e(...arguments))}}(r,a)}},me=(e,r)=>r.map((r=>r(e))),fe=function(){var e,r=(e=function*(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=[],o=e.headlines.filter((e=>"FINISHED"!==e.status||e.applyChangesOnFinish)).filter((e=>!(null==t?void 0:t.has(e.id)))).map((e=>()=>a.push([e,...me(e,r)])));if(!n)return o.forEach((e=>e())),a;for(var i of o)i(),yield se();return a},function(){var r=this,t=arguments;return new Promise((function(n,a){var o=e.apply(r,t);function i(e){he(o,n,a,i,c,"next",e)}function c(e){he(o,n,a,i,c,"throw",e)}i(void 0)}))});return function(e,t,n){return r.apply(this,arguments)}}();function pe(e){var r={};return e.map((e=>function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e(...n,r)}))}var ge=e=>{var t=new Set,a=[],o=e=>{var[i,c]=pe([f,ne]),[l,u]=me(e,[i,c]);l&&t.add(e.id),u.forEach((t=>{var{element:i,cleanup:c}=t;a.push(c);var{cleanup:l}=((e,t)=>{de();var n=e.dataset.mrfReconciliator;n&&(ce[n].cleanup(),delete ce[n]);var a=n||"".concat(Math.floor(Math.random()*Date.now()));e.dataset.mrfReconciliator=a;var o=((e,t)=>{var{disconnect:n}=r((()=>t()),{childList:!0,attributes:!0,target:e,characterData:!0});return n})(e,t);return ce[a]={cleanup(){o()},reconciliate(){t()}},{cleanup:()=>{Object.values(ce).forEach((e=>{var{cleanup:r}=e;return r()}))}}})(i,ve.debounce(e.id,(()=>{n("reconciliation","running experiment ".concat(e.id)),o(e)})));a.push(l)}))};fe(e,[o],t);var{disconnect:i}=r(ve.throttle("observer",(()=>{var[r,n]=pe([f,ne]);fe(e,[n],t,!0),fe(e,[r],void 0,!0)})),{subtree:!0,attributes:!0,attributeFilter:v,childList:!0});document.body.addEventListener("mrf-hud-experiments-cleanup",(()=>{i(),a.forEach((e=>e()))})),ae(!0)};function ye(e,r,t,n,a,o,i){try{var c=e[o](i),l=c.value}catch(e){return void t(e)}c.done?r(l):Promise.resolve(l).then(n,a)}var we=function(){var e,r=(e=function*(){var e=yield(()=>{var e=a();return e?Promise.resolve(e):l()})();n("configuration",e),e?ge(e):ae(!1)},function(){var r=this,t=arguments;return new Promise((function(n,a){var o=e.apply(r,t);function i(e){ye(o,n,a,i,c,"next",e)}function c(e){ye(o,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}();"interactive"===document.readyState||"complete"===document.readyState?we():window.addEventListener("DOMContentLoaded",(()=>{we()}))})();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 d(){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 p="marfeel-sdk-store";function y(e){return e.update=Date.now(),n=p,r=btoa(JSON.stringify(e)),new Promise((e=>{d().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=p,new Promise((n=>{d().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)}])},S="mrfhud",E=e=>window.location.search.includes(e),A=function(){var e=n((function*(){if(E("activate-overlay")||E(S)||(e=S,window.location.hash.includes(e)))return!0;var e,n,r,t=null===(n=window.__mrfCompass)||void 0===n?void 0:n.accountId;return void 0!==t&&(r="".concat("mrfHudStorage","-").concat(t),!!window.localStorage.getItem(r))}));return function(){return e.apply(this,arguments)}}(),D=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)}}(),I=function(){var e=n((function*(e){var r,t=yield Promise.all(e.map(function(){var e=n((function*(e){var n=yield D(e);return n?f({id:n.id,status:e.status,applyChangesOnFinish:!!e.applyChangesOnFinish},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]:I},N=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{N([{"id":"696ad5a0c5c7fd1f1fe48016","createdDate":"2026-01-17T00:19:44.606Z","lastModifiedDate":"2026-01-17T00:35:08.384Z","experimentType":"HeadlineAB","siteId":3838,"experienceId":"AC_ad6Etl3xROWaKP9FG_5Qrg","status":"FINISHED","startTime":"2026-01-17T00:19:44.588Z","endTime":"2026-01-17T00:35:08.384Z","detail":{"target":{"anchor":{"href":"https://g1.globo.com/jornal-nacional/noticia/2026/01/16/saiba-como-contestar-descontos-ilegais-no-inss-prazo-acaba-em-menos-de-um-mes.ghtml","xpath":"/html/body/section[3]/div/div/div[2]/div[3]/div/div[1]/div/a"},"image":{"xpath":"/html/body/section[3]/div/div/div[2]/div[3]/div/div[1]/div/a/figure/img","src":"https://s2-home-globo.glbimg.com/3QdJD5PtpJ3vgoa118vBZrjK2QM=/0x0:2004x1127/fit-in/629x354/middle/smart/filters:strip_icc():strip_exif()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2025/M/u/tQizoEQuut9PDxHxVXwg/converted-1-16-.jpg"},"title":{"xpath":"/html/body/section[3]/div/div/div[2]/div[3]/div/div[1]/div/a/h2","text":"INSS: contestação de descontos ilegais vai até fevereiro"}},"recirculationModule":{"name":"Destaque inferior","index":4,"editorialId":"1569137343","config":{"lazy":true,"layouts":[{"element":".post","anchor":"a.post__link","img":".post__image img","title":".post__title"}],"modules":[{"name":"Destaque Trilho","selector":"#trilho-destaque"},{"name":"Coluna Jornalismo","selector":"#coluna-jornalismo"},{"name":"Coluna Esporte","selector":"#coluna-esporte"},{"name":"Coluna Entretenimento","selector":"#coluna-entretenimento"},{"name":"Franja vídeo","selector":"#franja-video"},{"name":"Franja Globoplay","selector":"#vitrine-globoplay"},{"name":"Franja vertical 1","selector":"#franja-vertical-1"},{"name":"Franja  vertical 2","selector":"#franja-vertical-2"},{"name":"Franja horizontal 1","selector":"#franja-horizontal-1"},{"name":"Franja horizontal 2","selector":"#franja-horizontal-2"},{"name":"Franja horizontal 3","selector":"#franja-horizontal-3"},{"name":"Widget sports","selector":".widget-sports"},{"name":"Widget economia","selector":".widget-economia"},{"name":"Widget horoscopo","selector":"#widget-horoscopo"},{"name":"Topglobo jornalismo","selector":".topglobocom__ranking.theme-jornalismo"},{"name":"Topglobo esporte","selector":".topglobocom__ranking.theme-esporte"},{"name":"Topglobo entretenimento","selector":".topglobocom__ranking.theme-entretenimento"},{"name":"Destaque manchete","selector":"[data-tracking-category='destaque-topo']"},{"name":"Destaque inferior","selector":"[data-tracking-category='destaque-inferior']"},{"name":"Destaque meio","selector":".post-column-1"},{"name":"Destaque direita","selector":".post-column-2"},{"name":"Franja Carrossel","selector":".franja-carrossel"},{"name":"Franja horizontal 4","selector":"#franja-horizontal-4"},{"name":"Explore - Franja Dinâmica 1","selector":"#franja-dinamica-1"},{"name":"Explore - Franja Dinâmica 2","selector":"#franja-dinamica-2"},{"name":"Explore - G1 Jogos","selector":"#g1-games"},{"name":"Explore - Franja Dinâmica 3","selector":"#franja-dinamica-3"},{"name":"Explore - Franja Dinâmica 4","selector":"#franja-dinamica-4"},{"name":"Explore - Franja Dinâmica 5","selector":"#franja-dinamica-5"},{"name":"Explore - Franja Dinâmica 6","selector":"#franja-dinamica-6"},{"name":"Explore - Franja Dinâmica 7","selector":"#franja-dinamica-7"},{"name":"Explore - Franja Dinâmica 8","selector":"#franja-dinamica-8"},{"name":"Previsão do tempo","selector":".area-previsao-do-tempo"},{"name":"Grade de programação","selector":".grade-programacao"}],"blacklist":[{"selector":".title-headline a"}],"redirectionLinks":[]}}},"variants":[{"id":"d70bc0e9-f552-4152-8c86-b4f8b92e516b","strategy":{"type":"percent","value":0.5},"detail":{"replacements":{}}},{"id":"c64c2b45-2d63-4a42-837c-514dffe0173b","strategy":{"type":"percent","value":0.5},"detail":{"replacements":{"title":{"text":"Como contestar descontos ilegais no INSS; passo a passo"}}}}],"winner":"c64c2b45-2d63-4a42-837c-514dffe0173b","applyChangesOnFinish":true}])}catch(e){j("experimentationFailed")}}();