(()=>{var e;e=document.documentElement.className,document.documentElement.className=e.replace("no-js","")})(); window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.iframeLoadMode=1; /*! lazysizes - v5.3.2 */ !function(e){var t=function(u,D,f){"use strict";var k,H;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:true}}var O=D.documentElement,i=u.HTMLPictureElement,P="addEventListener",$="getAttribute",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,o=u.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],a={},G=Array.prototype.forEach,J=function(e,t){if(!a[t]){a[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return a[t].test(e[$]("class")||"")&&a[t]},K=function(e,t){if(!J(e,t)){e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}},Q=function(e,t){var a;if(a=J(e,t)){e.setAttribute("class",(e[$]("class")||"").replace(a," "))}},V=function(t,a,e){var i=e?P:"removeEventListener";if(e){V(t,a)}r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent("Event");if(!a){a={}}a.instance=k;n.initEvent(t,!i,!r);n.detail=a;e.dispatchEvent(n);return n},Y=function(e,t){var a;if(!i&&(a=u.picturefill||H.pf)){if(t&&t.src&&!e[$]("srcset")){e.setAttribute("srcset",t.src)}a({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){a=a||e.offsetWidth;while(a49?function(){o(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},true);return function(e){var t;if(e=e===true){n=33}if(a){return}a=true;t=r-(f.now()-i);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ie=function(e){var t,a;var i=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-a;if(e0;if(r&&Z(i,"overflow")!="visible"){a=i.getBoundingClientRect();r=C>a.left&&pa.top-1&&g500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||W(d[t],n))){R(d[t]);r=true;if(M>9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>2&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!="auto"))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,"lazyloaded")};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute("data-load-mode")||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$]("data-media")||e[$]("media")]){e.setAttribute("media",t)}if(a){e.setAttribute("srcset",a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,"lazybeforeunveil",e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute("sizes",i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||"")}f=e.firesLoad||"src"in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,true)}if(l){G.call(o.getElementsByTagName("source"),F)}if(s){t.setAttribute("srcset",s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=true;I(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){M--}},true)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$]("sizes"));var r=i=="auto";if((r||!m)&&a&&(e[$]("src")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,"lazyunveilread").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=true;H.loadMode=3;a();q("scroll",o,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",a,true);q("resize",a,true);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P]("DOMNodeInserted",a,true);O[P]("DOMAttrModified",a,true);setInterval(a,999)}q("hashchange",a,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,true)});if(/d$|^c/.test(D.readyState)){l()}else{q("load",l);D[P]("DOMContentLoaded",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+="px";e.setAttribute("sizes",i);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n{function e(){window.requestAnimationFrame(function(){return document.documentElement.classList.add("is-window-loaded")})}document.addEventListener("load",function(e){"SCRIPT"===e.target.tagName&&(e.target.dataset.loaded="loaded")},{capture:!0}),"complete"===document.readyState?e():window.addEventListener("load",e)})(); window.docCookies={getItem:function(e){e=document.cookie.match(new RegExp("^ |"+e+"=([^;]+)"));return e?decodeURIComponent(e[1]):null},setItem:function(e,o,n,t,c,r){var i="";if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e))return!1;if(n)switch(n.constructor){case Number:i=n===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:i="; expires="+n;break;case Date:i="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(o)+i+(c?"; domain="+c:"")+(t?"; path="+t:"")+(r?"; secure":""),!0},removeItem:function(e,o,n){return!!this.hasItem(e)&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:"")+(o?"; path="+o:""),!0)},hasItem:function(e){return!!e&&new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),o=e.length,n=0;n{var S,t;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e(t,e,n){return(e=function(t){t=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);n=n.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"==r(t)?t:String(t)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t,e){var n,r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=u(t))||e&&t&&"number"==typeof t.length)return r&&(t=r),n=0,{s:e=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){i=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(i)throw o}}}}function I(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,u=[],c=!0,l=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nDate.now()?!0:!1}catch(t){return console.error("Unable to parse ddmAccountCookie",t),!1}return!1},isVisibleElement:function(t){var r=1=r?(e(!0),n.disconnect()):e(!1)},{threshold:[r]});n.observe(t)})},loadExternalJS:function(t,e){var n,r=document.createElement("script");for(n in r.type="text/javascript",t)r.setAttribute(n,t[n]);r.hasAttribute("id")&&!t.id&&r.removeAttribute("id"),e&&c(r,e),document.querySelector("head").appendChild(r)},onFontLoad:function(n,t){var r,o=Date.now()+(t||3e3);document.fonts?r=setInterval(function(){var t=document.fonts.status,e="loaded"===t||"error"===t;(e||Date.now()>o)&&(clearInterval(r),S.debug.log("onFontLoad: ".concat(e?t:"timed out")),n())},200):(S.debug.log("onFontLoad browser unsupported"),n())},onLoad:function(t,e){"complete"===document.readyState?t():S.addEventListener("load",t,e||!1)},openWindow:function(t){var e=screen.width/2-417.5,n=screen.height/2-250;return S.open(t,"shareWindow","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=".concat("yes",", resizable=yes, copyhistory=no, width=").concat(835,", height=").concat(500,", top=").concat(n,", left=").concat(e))},pushToDataLayer:function(e){return function(t){S.dataLayer=S.dataLayer||[],S.dataLayer.push(Object.assign({},e,t))}},ready:l,readyOrDeferred:d},"readyOrDeferred",d),"resourceVersion",s),"scrollToEl",function(t){var e=1{function t(n){return n}function e(e,n,r){var o=n||t,i=r||t;return Object.keys(e).reduce(function(n,r){var t=o(r);return t&&(n[t]=i(e[r])),n},{})}window.Mntl=window.Mntl||{},Mntl.fnUtilities={all:function(n,r){var t=n.length;n.forEach(function(n){n(function(){0==--t&&r()})})},curry:function(t){var i=1=i?t.apply(void 0,o):function(){for(var n=arguments.length,r=new Array(n),t=0;t{function e(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(r=i.call(e)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return r(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(e="Object"===e&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{var s,t,c;function j(){"use strict";j=function(){return s};var c,s={},o=Object.prototype,u=o.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},t="function"==typeof Symbol?Symbol:{},a=t.iterator||"@@iterator",f=t.asyncIterator||"@@asyncIterator",d=t.toStringTag||"@@toStringTag";function r(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{r({},"")}catch(c){r=function(t,e,r){return t[e]=r}}function p(t,e,r,i){var n,o,s,a,e=e&&e.prototype instanceof M?e:M,e=Object.create(e.prototype),i=new E(i||[]);return l(e,"_invoke",{value:(n=t,o=r,s=i,a=y,function(t,e){if(a===v)throw new Error("Generator is already running");if(a===_){if("throw"===t)throw e;return{value:c,done:!0}}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r){r=function t(e,r){var i=r.method,n=e.iterator[i];if(n===c)return r.delegate=null,"throw"===i&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+i+"' method")),h;i=g(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,h;n=i.arg;return n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,h):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}(r,s);if(r){if(r===h)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(a===y)throw a=_,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);a=v;r=g(n,o,s);if("normal"===r.type){if(a=s.done?_:m,r.arg===h)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(a=_,s.method="throw",s.arg=r.arg)}})}),e}function g(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}s.wrap=p;var y="suspendedStart",m="suspendedYield",v="executing",_="completed",h={};function M(){}function b(){}function e(){}var t={},i=(r(t,a,function(){return this}),Object.getPrototypeOf),i=i&&i(i(T([]))),n=(i&&i!==o&&u.call(i,a)&&(t=i),e.prototype=M.prototype=Object.create(t));function w(t){["next","throw","return"].forEach(function(e){r(t,e,function(t){return this._invoke(e,t)})})}function S(s,a){var e;l(this,"_invoke",{value:function(r,i){function t(){return new a(function(t,e){!function e(t,r,i,n){var o,t=g(s[t],s,r);if("throw"!==t.type)return(r=(o=t.arg).value)&&"object"==P(r)&&u.call(r,"__await")?a.resolve(r.__await).then(function(t){e("next",t,i,n)},function(t){e("throw",t,i,n)}):a.resolve(r).then(function(t){o.value=t,i(o)},function(t){return e("throw",t,i,n)});n(t.arg)}(r,i,t,e)})}return e=e?e.then(t,t):t()}})}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r,t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++rt.length)&&(e=t.length);for(var r=0,i=new Array(e);r{var r,d,c,u,e,m,T,v,f,p,h,o,b,M,y,w,a,t,A,I;function n(e,t){var n,i=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)),i}function l(i){for(var t=1;t=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return r=t.done,t},e:function(t){a=!0,o=t},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw o}}}}function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,l=[],g=!0,s=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;g=!1}else for(;!(g=(i=r.call(n)).done)&&(l.push(i.value),l.length!==e);g=!0);}catch(t){s=!0,o=t}finally{try{if(!g&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(t,e)||O(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n[\]\s]/gi,""),n=!0):"number"!=typeof t&&"boolean"!=typeof t||(e=String(t)),n&&t!==e&&window.debug.log('Targeting value "'.concat(t,'" was incorrectly formatted, converted to "').concat(e,'"')),e}function z(){var t=Mntl.utilities.getQueryParams(),t=t.kw||t.adTestKeyValues;if(!t)return{};var t=t.split("-"),n={};return t.forEach(function(t){var t=E(t.split(","),2),e=t[0],t=t[1];t?n[e]=t:n.kw=e}),n}function F(t){return v[t.config.id].gptSlot}function x(t){for(var e=[],n=0;nlocalStorage.ddmAdSessionTTL)&&(e=!0,localStorage.setItem("ddmAdSessionTTL",t+432e5)),e||null===localStorage.getItem("ddmAdPageCount")||(n=parseInt(localStorage.ddmAdPageCount,10)),n++,localStorage.setItem("ddmAdPageCount",n)}catch(t){debug.log("Mntl.GPT: error loading pv from localStorage",t)}return n}()),w.pageTargeting.category=(t=w.baseSlotTargeting,i="/"===window.location.pathname?"homepage":"",g((t=(t.tax1||i).split("_"))[t.length-1].replace(/ /g,""))),Object.assign(w.pageTargeting,z()),void 0===w.auctionFloors.other&&(w.auctionFloors.other=h),w.publisherProvidedId&&(w.pageTargeting.muid=w.publisherProvidedId),w.baseSlotTargeting.type=(t=(i=w).useOxygen,e=i.templateName,n=i.baseSlotTargeting,i=i.pageTargeting,t?(t=e,"homepage"===i.category?"taxonomy":["taxonomy","taxonomysc","structuredcontent","listsc","recipesc"].includes(t)?t:"other"):{taxonomy:"category",bio:"category",list:"slideshow",howto:"project",jwplayer:"video"}[e=(e=n.type).replace(" ","")]||e||"none"),i=w.pageTargeting,o={dd:["path","pv","mtax"],lmd:["dc_ref"]}[w.useLmdFormat?"lmd":"dd"],Mntl.fnUtilities.iterate(i,function(t,e){o.includes(e)&&delete t[e]}),et(w.pageTargeting);for(var e,n,i,o,r=[],a=0;ae.targeting.priority?1:e.targeting.priority>t.targeting.priority?-1:0})},isSingleRequest:function(){return w.singleRequest},isMobile:function(){return w.isMobile},getSlotById:q,updateBaseSlotTargeting:U,updatePageTargeting:et,getPageTargeting:function(){return w.pageTargeting},registerCallback:function(t,n){function o(t){m.hasOwnProperty(t)?m[t].fn.push(n):m[t]={},m[t].rendered&&n(m[t].args)}window.debug.log("Registering callback",t,n);var r,e=S(t);try{function i(){var i,t,e=r.value;e.includes("*")?(i=e.replace("*","(?:(?:.+)|^|$)"),t=i,T.hasOwnProperty(t)?T[t].push(n):T[t]=[n],Mntl.fnUtilities.iterate(m,function(t,e){var n=e.match(new RegExp(i));null!==n&&n.length&&o(e)})):(m.hasOwnProperty(e)||K(m,e),o(e))}for(e.s();!(r=e.n()).done;)i()}catch(t){e.e(t)}finally{e.f()}},removeUnallowedCharacters:g,Slot:s,getTestIds:function(){var t=document.documentElement.getAttribute("data-ab");return t?t.split(","):[]},displaySlots:W,clearSlots:function(t){var e=x(t);e.length&&googletag.cmd.push(function(){window.debug.log("Clearing slots",e),googletag.pubads().clear(e)})},destroySlots:j,getAllSlots:function(){return Object.values(v)},addRequestSizeToSlot:function(t,e){var n;(t=Mntl.fnUtilities.getDeepValue(v,t,"gptSlot"))&&(n=t.getSizes().map(function(t){return"fluid"===t?"fluid":[t.getWidth(),t.getHeight()]}),n=googletag.sizeMapping().addSize([0,0],n.concat([e])).build(),t.defineSizeMapping(n))},removeRequestSizeFromSlot:function(t,e){var n=(t=v[t])?t.gptSlot:null,i=!1;if(n){for(var o=n.getSizes(),r=0;r{var c,d,f;function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,l=[],u=!0,S=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(l.push(o.value),l.length!==e);u=!0);}catch(t){S=!0,r=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(S)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n{function t(){var t="";return window.matchMedia("(max-width: ".concat(window.Mntl.breakpoints.mntlBpSm,")")).matches&&(t="base"),window.matchMedia("(min-width: ".concat(window.Mntl.breakpoints.mntlBpSm,")")).matches&&(t="small"),window.matchMedia("(min-width: ".concat(window.Mntl.breakpoints.mntlBpMd,")")).matches&&(t="medium"),window.matchMedia("(min-width: ".concat(window.Mntl.breakpoints.mntlBpLg,")")).matches&&(t="large"),t=window.matchMedia("(min-width: ".concat(window.Mntl.breakpoints.mntlBpXl,")")).matches?"extraLarge":t}window.Ew=window.Ew||{},window.Mntl=window.Mntl||{},window.dataLayer=window.dataLayer||[],window.Ew.utilities={getW:window.Mntl.utilities.getW=t,inProctorTest:function(t,n){for(var e,a,i=0;i{var t,o;function i(e){o===e?window.debug.log("Mntl.csrf: token reset with the same value."):(o=e,window.debug.log("Mntl.csrf: updating token references."),window.document.querySelectorAll('input[type="hidden"][name="CSRFToken"]').forEach(function(e){return e.setAttribute("value",o)}))}function r(){return window.debug.log("Mntl.csrf: providing token."),null===o&&window.debug.error("Mntl.csrf: token requested but was never initialized."),o}window.Mntl=window.Mntl||{},window.Mntl.csrfInit=(t=window.Mntl.utilities,o=null,function(e,n){return window.debug.log("Mntl.csrf: initializing token."),null===o?(o=e,n&&(window.debug.log("Mntl.csrf: checking for stale token."),e=window.docCookies.getItem("CSRFToken"),!(n=!window.docCookies.getItem("Mint"))&&e&&e!==o?(window.debug.log("Mntl.csrf: resetting token from prior session."),i(e)):n&&t.ready(function(){window.debug.log("Mntl.csrf: making contact to create new session."),t.ajaxPromiseGetCall("/csrf-session/refresh?et=".concat((new Date).getTime()),"failed to refresh session",3e4).then(function(e){try{var n=JSON.parse(e);n.csrfToken?(window.debug.log("Mntl.csrf: resetting token with new session."),i(n.csrfToken)):window.debug.error("Mntl.csrf: server responded with an invalid token.")}catch(e){window.debug.error("Mntl.csrf: failed to reset token with new session.",e)}}).catch(function(e){return window.debug.error("Mntl.csrf: ".concat(e,"."))})}))):window.debug.error("Mntl.csrf: token can only be initialized once."),r})})(); (()=>{var r;function i(){}function t(t){this.events=t.reduce(function(t,e){return t[e]=[],t},{})}window.Mntl=window.Mntl||{},window.Mntl.PubSub=(r="once",t.prototype.what=function(){return Object.keys(this.events).join(", ")},t.prototype.addEvent=function(t){return!this.events.hasOwnProperty(t)&&(this.events[t]=[],!0)},t.prototype.deleteEvent=function(t){return!!this.events.hasOwnProperty(t)&&(delete this.events[t],!0)},t.prototype.publish=function(t,e){if(!this.events.hasOwnProperty(t))throw new ReferenceError("Attempted to publish an event that doesn't exist");(e=e||{}).type=e.type||t,this.events[t].forEach(function(t){t.instigator&&t.instigator!==e.instigator||(t.callback(e),t.frequency===r&&(t.callback=i,t.frequency=null))})},t.prototype.subscribe=function(t,e,n,o){if(!this.events.hasOwnProperty(t))throw new ReferenceError("Attempted to subscribe to an event that doesn't exist");if(-1===["on",r].indexOf(o))throw new ReferenceError('Attempted to listen to an event at an incorrect frequency. Please use "on" or "once".');return n=this.events[t].push({callback:n,frequency:o,instigator:e})-1,{unSubscribe:function(t,e){this.events[t][e].callback=i,this.events[t][e].frequency=null}.bind(this,t,n)}},t.prototype.on=function(t,e,n){this.subscribe(t,e,n,"on")},t.prototype.once=function(t,e,n){this.subscribe(t,e,n,r)},t)})(); (()=>{var c,t,i,d,s,n,h,e,l,r,f,o,a;function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(){"use strict";k=function(){return a};var c,a={},i=Object.prototype,s=i.hasOwnProperty,l=Object.defineProperty||function(t,n,e){t[n]=e.value},t="function"==typeof Symbol?Symbol:{},u=t.iterator||"@@iterator",d=t.asyncIterator||"@@asyncIterator",h=t.toStringTag||"@@toStringTag";function e(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{e({},"")}catch(c){e=function(t,n,e){return t[n]=e}}function p(t,n,e,r){var o,i,a,u,n=n&&n.prototype instanceof b?n:b,n=Object.create(n.prototype),r=new P(r||[]);return l(n,"_invoke",{value:(o=t,i=e,a=r,u=g,function(t,n){if(u===w)throw new Error("Generator is already running");if(u===m){if("throw"===t)throw n;return{value:c,done:!0}}for(a.method=t,a.arg=n;;){var e=a.delegate;if(e){e=function t(n,e){var r=e.method,o=n.iterator[r];if(o===c)return e.delegate=null,"throw"===r&&n.iterator.return&&(e.method="return",e.arg=c,t(n,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;r=y(o,n.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;o=r.arg;return o?o.done?(e[n.resultName]=o.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}(e,a);if(e){if(e===f)continue;return e}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(u===g)throw u=m,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);u=w;e=y(o,i,a);if("normal"===e.type){if(u=a.done?m:v,e.arg===f)continue;return{value:e.arg,done:a.done}}"throw"===e.type&&(u=m,a.method="throw",a.arg=e.arg)}})}),n}function y(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}a.wrap=p;var g="suspendedStart",v="suspendedYield",w="executing",m="completed",f={};function b(){}function C(){}function n(){}var t={},r=(e(t,u,function(){return this}),Object.getPrototypeOf),r=r&&r(r(x([]))),o=(r&&r!==i&&s.call(r,u)&&(t=r),n.prototype=b.prototype=Object.create(t));function L(t){["next","throw","return"].forEach(function(n){e(t,n,function(t){return this._invoke(n,t)})})}function M(a,u){var n;l(this,"_invoke",{value:function(e,r){function t(){return new u(function(t,n){!function n(t,e,r,o){var i,t=y(a[t],a,e);if("throw"!==t.type)return(e=(i=t.arg).value)&&"object"==E(e)&&s.call(e,"__await")?u.resolve(e.__await).then(function(t){n("next",t,r,o)},function(t){n("throw",t,r,o)}):u.resolve(e).then(function(t){i.value=t,r(i)},function(t){return n("throw",t,r,o)});o(t.arg)}(e,r,t,n)})}return n=n?n.then(t,t):t()}})}function O(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function S(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function x(n){if(n||""===n){var e,t=n[u];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return e=-1,(t=function t(){for(;++et.length)&&(n=t.length);for(var e=0,r=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}(new URLSearchParams(t).entries());try{for(i.s();!(r=i.n()).done;){var a=y(r.value,2),u=a[0],c=a[1];void 0===o[u]?o[u]=c:o[u]instanceof Array?o[u].push(c):o[u]=[o[u],c]}}catch(t){i.e(t)}finally{i.f()}t="1"===o.isGpcEnabled;if(!t&&e&&f)return!1;if(!o.groups)return!Mntl.CMP.isOptInConsent();e=-1===o.groups.indexOf("4:0");return"US"===n&&!e&&!t&&null===docCookies.getItem(s)||("US"===n||-1!==o.groups.indexOf("4:1"))&&e}function b(){return e}function C(){var u;return u=k().mark(function t(){var o;return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(Mntl.CMP.supportsTCData()){t.next=2;break}return t.abrupt("return",Mntl.CMP.hasTargetingConsent());case 2:return t.prev=2,t.next=5,new Promise(function(e,r){"failed"!==i?(__tcfapi("addEventListener",2,function(t,n){!n||"tcloaded"!==t.eventStatus&&"useractioncomplete"!==t.eventStatus?r(new Error("Failed to get TCData")):e(t)}),"loading"===i&&a.once("onFail",!1,function(){r(new Error("CMP library failed to load or timed out"))})):r(new Error("CMP library failed to load or timed out"))});case 5:return o=t.sent,t.abrupt("return",(e="purpose",r="1",(n=o)&&n[e]&&n[e].consents&&n[e].consents[r]));case 9:return t.prev=9,t.t0=t.catch(2),t.abrupt("return",(n=t.t0,window.debug.error(n.message),!1));case 12:case"end":return t.stop()}var n,e,r},t,null,[[2,9]])}),(C=function(){var t=this,a=arguments;return new Promise(function(n,e){var r=u.apply(t,a);function o(t){p(r,n,e,o,i,"next",t)}function i(t){p(r,n,e,o,i,"throw",t)}o(void 0)})}).apply(this,arguments)}function u(){a.publish("onConsentChange")}function L(){return"loading"===i}function M(){return"failed"===i}function O(){var t=document.getElementById("onetrust-script");document.getElementById("onetrust-banner-sdk").classList.remove("show-banner"),t&&t.parentNode.removeChild(t)}function S(){window.debug.log("CMP loaded"),i="loaded",a.publish("onLoad")}function P(){window.debug.log("CMP timeout"),i="failed",a.publish("onFail")}window.Mntl=window.Mntl||{},window.OptanonWrapper=function(){var t=document.querySelector(".onetrust-pc-dark-filter"),n=document.querySelector("#onetrust-banner-sdk");function e(){t.style.display="none"}window.debug.log("OptanonWrapper called"),Mntl.CMP.hasFailedToLoad()||(Mntl.CMP.isLoading()&&Mntl.CMP.onLoad(),OneTrust.OnConsentChanged(Mntl.CMP.triggerConsentChange),Mntl.CMP.isOptInConsent()&&(Mntl.CMP.broadcastPreexistingConsent(),Mntl.CMP.showBannerOneTrustFallback(),n.classList.contains("show-banner")&&"none"!==window.getComputedStyle(n).display||e(),"none"!==n.style.display&&"hidden"!==n.style.visibility&&(t.style.display="block")),document.addEventListener("click",function(t){(t.target.closest("#onetrust-accept-btn-handler")||t.target.closest(".onetrust-close-btn-handler"))&&e(),t.target.closest(".ot-pref-trigger")&&(t.stopImmediatePropagation(),t.preventDefault(),OneTrust.ToggleInfoDisplay())}),Mntl.CMP.trackBannerLogicScenarios(),Mntl.CMP.sdkLoaded())},Mntl.CMP=(c=Mntl.utilities||{},t=Mntl.fnUtilities||{},s="OptanonAlertBoxClosed",n=["gdpr"],l=null,o=f=r=e=!(h=["gdpr"]),a=new Mntl.PubSub(["onConsentChange","onLoad","onFail","onSdkLoaded"]),{broadcastPreexistingConsent:t.once(function(){var t=r,n=Mntl.CMP.isOptInConsent()&&w(),t=t||n;Mntl.CMP.isOptInConsent()&&t||u()}),hasFailedToLoad:M,hasPurposeOneConsent:function(){return C.apply(this,arguments)},hasTargetingConsent:m,init:function(t){var n;i="loading",e=t.isConsentRequired,l=t.oneTrustTemplateName,f=t.isCcpaApplicableRequest,o=t.isTcfEnabled,r=t.showConsentBanner,d=t.scriptTimeout,r&&document.addEventListener("click",function(t){if(t.target.closest("#onetrust-consent-sdk")&&"loaded"!==i){if(M())return O(),void u();n||"BUTTON"!==t.target.nodeName&&"A"!==t.target.nodeName||(n=t,window.debug.log("A click was queued up: ".concat(t.target.id))),a.once("onLoad",!1,function(){n&&(n.target.click(),window.debug.log("A click was replayed: ".concat(n.target.id)))}),a.once("onFail",!1,function(){O(),u()}),setTimeout(function(){L()&&P()},d)}},{once:!0}),Mntl.CMP.isOptInConsent()||S()},hasRejectedUserConsent:function(t){return(window.OneTrust&&window.OneTrust.geolocationResponse.regionCode)===t&&!m()},isConsentRequired:b,isAlertBoxClosed:function(){return null!==docCookies.getItem(s)},isLoading:L,isOptInConsent:function(){return e&&n.includes(l)},onLoad:S,onError:function(){window.debug.log("CMP error"),i="failed",a.publish("onFail")},onTimeout:P,onConsentChange:function(t){e?1{var d,a,c,i,t,u,o,r,l,g,s,e,p,b,m,h,y,n,w,v,C,T,P,M;function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||D(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,s,a=[],d=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;d=!1}else for(;!(d=(i=o.call(n)).done)&&(a.push(i.value),a.length!==e);d=!0);}catch(t){c=!0,r=t}finally{try{if(!d&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(t,e)||D(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){var n,i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=D(t))||e&&t&&"number"==typeof t.length)return i&&(t=i),n=0,{s:e=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function D(t,e){if(t){if("string"==typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(t,e):void 0}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n{function n(t){this._v=t}window.Mntl=window.Mntl||{},Mntl.Maybe=(n.of=function(t){return new n(t)},n.prototype.isNothing=function(){return null===this._v||void 0===this._v},n.prototype.map=function(t){return this.isNothing()?n.of(null):n.of(t(this._v))},n.prototype.flatMap=function(t){return this.isNothing()?null:t(this._v)},n.prototype.orElse=function(t){return this.isNothing()?t:this._v},n)})(); (()=>{function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n{var e;function i(t){window.debug.log("Mntl.Targeting: Targeting key '".concat(t,"' was blocked from the ad call"))}window.Mntl=window.Mntl||{},Mntl.Targeting=(e=["aid","bts","category","child","chpg","ctype","dload","gtemplate","inf","microtags","parent","path","pos","priority","rtd_ias_id","sbj","stax","tile"],{removeBlocklistedSlotTargeting:function(t){t.forEach(function(n){var t=n.getTargetingKeys();t&&t.forEach(function(t){e.includes(t)&&(n.clearTargeting(t),i(t))})})},getBlocklist:function(){return e},logBlocklistedKeys:i})})(); (()=>{function e(e){var d;null!==e.size&&1!==e.size[0]&&1!==e.size[1]||(-1!==e.id.indexOf("leaderboard")?d="leaderboard":-1!==e.id.indexOf("billboard")&&(d="billboard"),e=document.getElementById(e.id),window.Ew.utilities.closest(e,".".concat(d)).className+=" collapsed")}window.Ew=window.Ew||{},window.Mntl=window.Mntl||{},window.Ew.GPT=(window.Mntl.GPT.registerCallback(["leaderboard*","billboard*"],e),{generateSlotId:function(e){return 0===e.chapter&&0<=e.index?e.id:"".concat(e.type,"-").concat(e.chapter,"-").concat(e.index,"-d")},collapseAd:e})})(); (()=>{var e,n,o,i;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t){var n=t;return Mntl.fnUtilities.iterate(t,function(t,e){r(o[e])===r(t[e])||""===t[e]||""===o[e]&&"number"==typeof t[e]||("string"==typeof o[e]&&(n[e]+=""),"number"==typeof o[e]&&(n[e]=parseInt(t[e],10)))}),n}window.Mntl=window.Mntl||{},window.dataLayer=window.dataLayer||[],Mntl.PageView=(e=window.docCookies,n=window.location.href.substring(window.location.href.indexOf("."),window.location.href.indexOf(".com"))+".com",i=!(o={event:"unifiedPageview"}),Mntl.utilities.onLoad(function(){e.removeItem("pageEntryType","/",n)}),{pushToDataLayer:function(t){return i?(t&&(e=a(t),Object.keys(o).forEach(function(t){e.hasOwnProperty(t)&&(o[t]=e[t])})),dataLayer.push(Mntl.fnUtilities.deepExtend({},o))):(debug.warn("Mntl.PageView not initialized with default values. Cannot push data."),!1);var e},setEntryType:function(t){e.setItem("pageEntryType",t,null,"/",n)},logContinuousScrollPageView:function(t,e){t="".concat(window.Mntl.domUtilities.getResourceRootUrl(),"/servemodel/model.json?modelId=gtmPageViewByUrl&url=").concat(t,"&isContinuousScroll=true"),window.Mntl.utilities.ajaxPromiseGetCall(t).then(function(t){t=a(JSON.parse(t));e.event="continuousPageView",dataLayer.push(Mntl.fnUtilities.deepExtend(t,e))}).catch(function(t){window.debug.error("Error fetching gtmPageView: ",t)})},init:function(t){return!i&&(o=Mntl.fnUtilities.deepExtend(o,t),i=!0,dataLayer.push(Mntl.fnUtilities.deepExtend({},o)))}})})(); (()=>{var d,g;function u(t,e){return t.getAttribute(e)||""}function s(t){t=u(t,"href");return 0===t.indexOf("//")?t=window.location.protocol+t:0===t.indexOf("/")&&(t=window.location.protocol+"//"+window.location.host+t),t}window.Mntl=window.Mntl||{},window.dataLayer=window.dataLayer||[],d=window.Mntl.fnUtilities||{},g=window.Mntl.Maybe||{},Mntl.clickTracking={getPixelsFromContent:function(t){var e=document.querySelector("main")||document.getElementById("main");return e?((e=Mntl.clickTracking.getAbsoluteCoordinates(e)).top=window.scrollY,{top:t.top-e.top,left:t.left-e.left}):{top:"",left:""}},getAbsoluteCoordinates:function(t){var t=t.getBoundingClientRect(),e=window.scrollY,n=window.scrollX;return{left:t.left+n,top:t.top+e}},trackClick:function(t,e,n,i,r){var a,o={event:"linkClick",linkId:u(e,"id"),linkText:u(e,"data-click-action")||(l=e,(o=t).target!==l&&""!==d.trimAllWhitespace(o.target.textContent.replace(/<[^>]*>?/gm,""))?d.trimAllWhitespace(o.target.textContent.replace(/<[^>]*>?/gm,"")):l?d.trimAllWhitespace(l.textContent.replace(/<[^>]*>?/gm,"")||""):""),linkLabel:u(e,"title")||u(e,"aria-label"),pageWidth:document.body.clientWidth,pageHeight:document.body.clientHeight},l=Mntl.clickTracking.getAbsoluteCoordinates(e),c=Mntl.clickTracking.getPixelsFromContent(l);return"#"===(e.getAttribute("href")||"")[0]?(o.linkTargetURL=e.getAttribute("href"),o.linkTargetType="onpage"):e.dataset.useChildUrl?(o.linkTargetURL=g.of(e.querySelector(e.dataset.useChildUrl)).map(s).orElse(""),o.linkTargetType=""!==o.linkTargetURL?"offpage":""):"button"===e.nodeName.toLowerCase()||"true"===e.getAttribute("data-click-tracked")?(o.linkTargetURL="",o.linkTargetType=""):(o.linkTargetURL=s(e),o.linkTargetType="offpage"),o.dataOrdinal=n,o.linkContainerId=i,o.domAncestorIds=r.reverse(),o.pixelsFromTopOfPage=l.top,o.pixelsFromLeftOfPage=l.left,o.pixelsFromTopOfMainContainer=c.top,o.pixelsFromLeftOfMainContainer=c.left,a=o,Array.prototype.forEach.call(e.attributes,function(t){var e;0===t.name.indexOf("data-")&&(e=t.value,t=t.name.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()}),a[t]=e)}),o=a,Mntl.clickTracking.fireEvent(o,t,e)},searchDom:function(t){var e,n=t.path||null,i=t.target,r=null,a=[],o="",l="";function c(t){return"false"===t.dataset.clickTracked}function d(t){var e,n;return!c(t)&&(t.hasAttribute&&(""===o&&(o=t.dataset.ordinal||""),""===l&&(n="",l=n="true"===(e=t).dataset.trackingContainer?e.dataset.trackingId||e.getAttribute("id"):n),t.hasAttribute("id")&&a.push(t.getAttribute("id")),"A"!==t.nodeName&&"BUTTON"!==t.nodeName&&"true"!==t.getAttribute("data-click-tracked")||null!==r||(r=t)),1)}if(t.target.wasTracked)return!0;if(window.Mntl.utilities.isTouchDevice()&&!0===Mntl.clickTracking.dragging)return!0;if(c(i))return!1;if(n&&2{var t,m,p,y,h,g,E;function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,a,o,l,i=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(i.push(r.value),i.length!==e);s=!0);}catch(t){c=!0,a=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nf,i=n[a],s=h.of((s=(s=i).getElementsByClassName("scads-to-load")).length?s:null),u&&(s=s.map(function(t){return Array.prototype.filter.call(t,function(t){return!t.classList.contains("right-rail__item")||d.set(t)})})),o.push({adSlotBlockEl:l,content:i,ads:s,lazyLoad:c}),r?(l=getComputedStyle(i.querySelector(".mntl-gpt-adunit")||i),m+=i.offsetHeight+parseInt(l.marginTop,10)+parseInt(l.marginBottom,10),a++):(w(o),o.shift()),t.shift())}r&&w(o)}(l.flatMap(i("scContentPositions")),s.map(M).flatMap(p.toArray),(f.isNothing()?l:f).flatMap(v),t(),c,l.flatMap(i("scOptimizeSetup")),l.map(i("scLoadImmediate")).orElse(0)),document.querySelectorAll(".scads-to-load:not(.".concat(g,") .wrapper")).forEach(function(t){t.classList.add("gpt-ignore-incrementor")}),Mntl.GPT.setAdSlotCounters(),s=Array.from(document.querySelectorAll(".js-immediate-ad .wrapper")),o=[],s.forEach(function(t){o.push((new y.Slot).byElement(t))}),y.displaySlots(o),Mntl.LazyAds.init(),window.addEventListener("resize",Mntl.throttle((e=c,r=(n=t)(),a=document.getElementsByClassName(g),u=new CustomEvent("mntl.rightrail.lock"),function(){r&&!n()?(r=!1,Array.prototype.forEach.call(a,function(t){t.style.top="auto",t.classList.remove("is-hidden")})):!r&&n()&&(r=!0,S(e),document.body.dispatchEvent(u))}),50)),window.addEventListener("embedReflow",function(){t()&&S(c)}))}))})(); (()=>{var t,e,r,i,o,c,d,y,s,h,p,u,g,l,a,f;function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,d=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){d=!0,i=t}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw i}}return l}}(t,e)||S(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||S(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){var n,r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=S(t))||e&&t&&"number"==typeof t.length)return r&&(t=r),n=0,{s:e=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function S(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=s-50){d.appendChild(l);break}}}catch(t){c.e(t)}finally{c.f()}}}function A(t,e){t.style.height="auto",t.dataset.noSticky="",n(t,e)}function k(t,e){t=t.querySelector(".mntl-gpt-adunit .wrapper[data-sizes]");t&&(g=x()}function I(t,e){return t<=e}function L(){return document.querySelector(".article-right-rail").offsetHeight-y}function j(t){var e=t.classList.contains("mntl-native"),t=t.classList.contains("dynamic-inline");return e||t}function T(t,e){var n,r;u&&0 .mntl-block:empty"))?i.appendChild(t):console.error("We are attempting to append another ad in a block that cannot exist, we should review why we have more ads than blocks avaliable"))):(f.push({ad:t,index:e}),t.parentNode&&(t.parentNode.innerHTML=""))}function R(){var t,e;c?(e=c,t=L(),d+=t=(c=t)-e,(e=document.querySelector("[data-no-sticky]"))&&e.offsetHeight{var a,l;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function n(t,i){for(var e=0;ethis.rightRailTotalHeight&&(this.usesResizeInfiniteAds||(this.usesResizeInfiniteAds=!0),this.currentRightRailSpace+=t-this.rightRailTotalHeight,this.rightRailTotalHeight=t,window.debug.log("Mntl.InfiniteRightRailManager: Usable right rail space is now ".concat(this.currentRightRailSpace,"px")),this.mostRecentInfiniteAdHasLoaded()&&(this.attemptToPlaceNewRightRailAd(),Mntl.LazyAds.init()))}},{key:"mostRecentInfiniteAdHasLoaded",value:function(){var t=document.querySelectorAll(".infinite-ad-unit-container");if(0===t.length)return!0;t=t[t.length-1];return t.classList.contains("is-requested")||t.classList.contains("js-immediate-ad")||t.classList.contains("infinite-lazy-ad-skipped")}},{key:"attemptToPlaceNewRightRailAd",value:function(){var t=Mntl.RightRail,i=t.roomForAd,t=t.roomForStickyFunctionality;this.usesResizeInfiniteAds&&t(this.maxHeightPadding,this.currentRightRailSpace,this.offset)?(this.placeNewRightRailBillboard(!1),window.debug.log("Mntl.InfiniteRightRailManager: Decrementing space by ".concat(this.maxHeightPadding,"px")),this.currentRightRailSpace-=this.maxHeightPadding):!this.usesResizeInfiniteAds&&i(this.currentRightRailSpace)?(i=t(this.maxHeightPadding,this.currentRightRailSpace,this.offset),this.placeNewRightRailBillboard(!i),t=i?this.maxHeightPadding:this.minHeightPadding,window.debug.log("Mntl.InfiniteRightRailManager: Decrementing space by ".concat(t)),this.currentRightRailSpace-=t):window.debug.log("Mntl.InfiniteRightRailManager: No room for a new Desktop Load and Destroy Ad unit"),window.debug.log("Mntl.InfiniteRightRailManager: Only ".concat(this.currentRightRailSpace,"px of space remains of ").concat(this.rightRailTotalHeight,"px"))}},{key:"_destroyRightRailAd",value:function(){var t=document.querySelectorAll(".article-right-rail .billboard:not(.infinite-lazy-ad-skipped) .wrapper.gpt-requested");8<=t.length&&(Mntl.GPT.destroySlotById(t[0].id),t[0].parentElement.remove()),this.attemptToPlaceNewRightRailAd()}},{key:"placeNewRightRailBillboard",value:function(t){var i,e=this,n=new l(this.billboardAdBlueprint.cloneNode(!0),t,++this.rightRailAdUnitIndex,this.currentRightRailSpace,this.usesResizeInfiniteAds);new Promise(function(t){i=t,n.wrapper.addEventListener("slotRequested",i)}).then(function(t){t.detail&&t.detail.skipDestroy?e.attemptToPlaceNewRightRailAd():e._destroyRightRailAd(t),n.wrapper.removeEventListener("slotRequested",i)}).catch(function(t){return console.log(t)}),n.placeInRightRail(),Mntl.ScLockBillboards.addStickyBillboardListener([n.wrapper])}}]),n}())})();