(function(){function p(){q.g||(q.g=new q);return q.g}function r(a){a.__connect||(a.__connect={});return a}class q{constructor(){this.window=window}get(){let a=this.window.top;try{a=r(a),a.__connect.state="FRIENDLY"}catch(b){a=r(this.window),a.__connect.state="UNFRIENDLY",a.M&&a.M.ext&&(a.__connect.state="SAFEFRAME")}return a}};var aa=["fetch","Promise"];class t{static getConfig(){if(t.config)return t.config;throw Error("Not initialized");}};class ba extends Error{constructor(a,b){super(JSON.stringify(b));this.statusCode=a}};var ca=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};
function da(a,b){var c={};return ca(a,void 0,void 0,function*(){var d=yield fetch(b,c);const f=yield d.json();d=d.status.toString();if("4"===d[0]||"5"===d[0])throw new ba(d,f);return f})}class ea{};var u=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};function v(){w.g||(w.g=new w);return w.g}function x(a){return u(a,void 0,void 0,function*(){return(yield this.getData()).country})}
function fa(a){return u(a,void 0,void 0,function*(){return!!(yield this.getData()).consentRequired})}function ha(a){return u(a,void 0,void 0,function*(){const b=yield da(this.da,this.config.aa);if(!b.country)throw this.B=!1,Error("Location not found");return b})}
class w{constructor(){this.config=t.getConfig();this.window=p().get();this.da=new ea;this.B=!1}getData(){return u(this,void 0,void 0,function*(){try{var a=JSON.parse(this.window.localStorage.getItem("connect-location-data"));var b=a.expiresAt>Date.now()?a.value:!1}catch(c){b=!1}if(b)return b;if(this.B)return yield this.wait(this.config.Z),this.getData();this.B=!0;b=yield ha(this);a={value:b,expiresAt:Date.now()+1E3*this.config.$};try{this.window.localStorage.setItem("connect-location-data",JSON.stringify(a))}catch(c){}this.B=
!1;return b})}wait(a){return u(this,void 0,void 0,function*(){return new Promise(b=>setTimeout(b,a))})}};var y=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};function z(a){return y(a,void 0,void 0,function*(){return new Promise(b=>{setTimeout(()=>{const c=this.window.__gpp;return b(!!c&&"function"===typeof c)},500)})})}
function A(a){a=a.window.__tcfapi;return!!a&&"function"===typeof a}function B(a){return y(a,void 0,void 0,function*(){const b=this.window.__tcfapi;return new Promise(c=>{b("addEventListener",2,(d,f)=>{if(!f||!d)return c(null);if("tcloaded"===d.eventStatus||"useractioncomplete"===d.eventStatus)return b("removeEventListener",2,()=>null,d.listenerId),c(d);setTimeout(()=>c(d),this.K)},[this.V])})})}
function ia(a){return y(a,void 0,void 0,function*(){try{if(yield z(this))return{gppString:(0,this.window.__gpp)("getGPPData").gppString,consentString:""};if(!A(this))return{gppString:"",consentString:""};const b=yield B(this);return{gppString:"",consentString:(null===b||void 0===b?void 0:b.tcString)||""}}catch(b){return{gppString:"",consentString:""}}})}
function C(a){return y(a,void 0,void 0,function*(){let b,c=!1;try{const [d,f]=yield Promise.all([x(this.A),fa(this.A)]);b=d;c=f}catch(d){b=""}return{P:b,O:c}})}function ja(a){return y(a,void 0,void 0,function*(){const {P:b,O:c}=yield C(this);if(!b)throw Error("Location not found");return c?"US"===b?"usp":"gdpr":null})}
function D(a){return y(a,void 0,void 0,function*(){const b=this.window.__uspapi;return b&&"function"===typeof b?new Promise(c=>{b("getUSPData",1,(d,f)=>{if(!d||!f)return c(!1);if(-1<"1YN- 1YNN 1YNY 1--- 1--N 1--Y".split(" ").indexOf(d.uspString))return c(!0);c(!1)})}):!1})}function E(a){return y(a,void 0,void 0,function*(){return A(this)?ka(this):!1})}
function la(a,b){return y(a,void 0,void 0,function*(){return new Promise(c=>y(this,void 0,void 0,function*(){yield ma(this);const d=this.window.__gpp,f="gdpr"===b?this.ca:this.S;d("addEventListener",e=>{if("sectionChange"===e.eventName)return d("removeEventListener",null,e.listenerId),-1!==f.indexOf(e.data)&&d("getSection",null,e.data)?-1!==this.S.indexOf(e.data)?c(F(d,e.data)):c(E(this)):"gdpr"===b?c(E(this)):c(D(this))});setTimeout(()=>{const e=d("ping");if("loaded"===e.cmpStatus&&"visible"!==e.cmpDisplayStatus){for(const h of f)if(d("getSection",
null,h))return"usp"===b?c(F(d,h)):c(E(this));return"gdpr"===b?c(E(this)):c(D(this))}},this.G)}))})}function G(a){return y(a,void 0,void 0,function*(){const b=yield C(this),c=window.navigator.globalPrivacyControl;if("US"===b.P&&b.O&&c)return!1;try{const d=yield ja(this);if(null===d)return!0;if(!(yield z(this))){if("usp"===d)return D(this);if("gdpr"===d)return E(this)}return la(this,d)}catch(d){return!1}})}
function ka(a){return y(a,void 0,void 0,function*(){var b=yield B(this);if(!b)return!1;var c=b.vendor.consents;a:{var d=b.purpose;for(const e in d)if(!1===d[e]){d=!1;break a}d=!0}if(c=!!c[this.V]){a:{b=b.publisher.restrictions;for(f in b)if(0===b[f][13]){var f=!0;break a}f=!1}c=!f}return c&&d})}function ma(a){return y(a,void 0,void 0,function*(){return new Promise(b=>{const c=setInterval(()=>{if("loaded"===(0,this.window.__gpp)("ping").cmpStatus)return clearInterval(c),b()},500)})})}
function F(a,b){a=a("getSection",null,b);return 1===a.SaleOptOutNotice&&1===a.SharingOptOutNotice&&2===a.SaleOptOut&&2===a.SharingOptOut&&2===a.PersonalDataConsents}class H{constructor(){this.S=["uspcav1","usca"];this.ca=["tcfeuv2"];this.window=p().get();this.A=v();this.V=13;const {K:a,G:b}=t.getConfig();this.K=a;this.G=b}};function I(){J.h||(J.h=new J);return J.h}
class J{constructor(){this.window=window}get(){var a;var b=(b=this.window.__connect)&&b.beacon?b.beacon:{};var c=Object,d=c.assign;if(J.g){var f=J.g.src,e=f.indexOf("?"),h=f.slice(e+1).split("&");f={};if(-1===e)var m={};else{for(m of h)e=m.split("="),f[e[0]]=e[1];m=f}}else m={};b=d.call(c,b,m);c=b.enableIpCollection;return{affiliateId:b.affiliateId||0,disablePIITracking:!!b.disablePIITracking,N:(null===(a=J.g)||void 0===a?void 0:a.src)||"",enableIpCollection:"boolean"===typeof c?c:!!parseInt(c)}}}
;var na=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};
class oa{constructor(){this.window=p().get();this.u=null}get(){return na(this,void 0,void 0,function*(){if(null!==this.u)return this.u;try{this.u=(yield(yield this.window.fetch("https://ap.lijit.com/readerinfo/v2",{credentials:"include"})).json()).ljt_reader||""}catch(a){this.u=""}return this.u})}};let pa=(()=>{class a{static ba(){var b=p().get();b=b[a.g]=b[a.g]||{};b.pageViewId||(b.pageViewId=a.h());return b.pageViewId}static h(){return+new Date+Math.floor(1E3*Math.random())}}a.g="__connect";return a})();var K=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};
function qa(a){K(a,void 0,void 0,function*(){ia(this.m).then(({gppString:b,consentString:c})=>{this.metadata.consentString=c;this.metadata.gppString=b});this.disablePIITracking||ra(this).then(b=>{this.metadata.ljtReader=b});x(this.A).then(b=>{this.metadata.location=b});sa(this).then(b=>{this.metadata.canCollectIp=b})})}function ra(a){return K(a,void 0,void 0,function*(){return(yield G(this.m))?this.ea.get():""})}
function sa(a){return K(a,void 0,void 0,function*(){const {enableIpCollection:b}=this.T.get();return b&&(yield G(this.m))})}
class ta{constructor(){this.m=new H;this.ea=new oa;this.T=I();this.A=v();this.window=p().get();const {disablePIITracking:a,affiliateId:b}=this.T.get();this.disablePIITracking=a;var c=pa.ba();var d=this.window.location.ancestorOrigins;d=!this.isCollectable()&&d&&d.length?d[d.length-1].replace("https://","").replace("http://",""):this.window.location.hostname;this.metadata={pageViewId:c,affiliateId:b,domain:d,path:this.window.location.pathname,isCollectable:this.isCollectable(),consentString:"",gppString:"",
location:"",ljtReader:"",query:this.window.location.search.slice(0,100),referrer:this.window.document.referrer.slice(0,100),canCollectIp:!1};qa(this)}get(){return this.metadata}isCollectable(){return"FRIENDLY"===this.window.__connect.state}};class L{constructor(){this.isActive=!0}};class ua extends L{constructor(a){super();this.window=a;this.window.addEventListener("focus",this.h.bind(this));this.window.addEventListener("focusin",this.h.bind(this));this.window.addEventListener("blur",this.g.bind(this));this.window.addEventListener("focusout",this.g.bind(this))}h(){this.isActive=!0}g(){this.window.document.hasFocus()?this.isActive=!0:this.isActive=!1}};class va extends L{constructor(a){super();this.window=a;this.o="mousemove mousedown scroll keyup keypress keydown touchstart touchmove touchend".split(" ");for(const b of this.o)this.window.addEventListener(b,this.g.bind(this));this.g()}g(){this.h||(this.h=this.window.setTimeout(()=>{clearTimeout(this.s);this.s=this.window.setTimeout(this.l.bind(this),1E4);this.h=null},50),this.isActive=!0)}l(){this.isActive=!1}};function M(){if(!N.g){var a=p().get();const b=new ua(a);a=new va(a);N.g=new N(b,a)}return N.g}class N{constructor(a,b){this.g=a;this.h=b}isActive(){return this.g.isActive&&this.h.isActive}};function O(a){const b=[];a.g.forEach(c=>{const d=a.window.localStorage.getItem(c.key);d&&b.push({source:c.source,uids:[{id:d,atype:c.atype}]})});return b}class wa{constructor(){this.g=[{key:"permutive-id",source:"permutive.com",atype:1},{key:"_pubcid",source:"pubcid.org",atype:1}];this.window=p().get()}};var xa=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};
function P(a){const b=a.window.document.body;a=a.window.document.documentElement;return b?Math.max(b.scrollHeight,b.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight):0}function ya(a){xa(a,void 0,void 0,function*(){if(yield G(this.m)){var b=this.j;var c=this.fa;c=c.window.pbjs&&c.window.pbjs.getUserIdsAsEids?[...c.window.pbjs.getUserIdsAsEids(),...O(c)]:O(c);b.userEids=c}})}
class za{constructor(){this.window=p().get();this.fa=new wa;this.m=new H;this.j={scrollDepth:0,dwellTime:0,engagedDwellTime:0,documentHeight:P(this),type:"page",userEids:[]};ya(this)}};class Aa{create(){return new XMLHttpRequest}};class Ba{constructor(){this.g=new Aa}send(a,b,c){const d=this.g.create();d.open("POST",a,c);d.setRequestHeader("Content-Type","text/plain");d.send(JSON.stringify(b))}};class Ca{constructor(){this.g=new Ba;this.window=p().get()}send(a,b=!1){const c=this.window.navigator;let d=!1;c.sendBeacon&&(d=c.sendBeacon("https://signal-metrics-collector-beta.s-onetag.com/metrics",JSON.stringify(a)));d||this.g.send("https://signal-metrics-collector-beta.s-onetag.com/metrics",a,b)}};var Q=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};
function Da(a,b){return Q(a,void 0,void 0,function*(){const c=Ea(this,b);if("undefined"!==typeof this.v[c])return this.v[c];this.v[c]=!1;return new Promise(d=>{(new this.window.IntersectionObserver(f=>{f.forEach(e=>{e=.5<=e.intersectionRatio;this.v[c]=e;d(e)})},{threshold:.5})).observe(b)})})}
function Fa(a,b){return Q(a,void 0,void 0,function*(){if(this.window.__connect&&"SAFEFRAME"===this.window.__connect.state)return.5<=this.window.M.ext.ua()/100;if(this.window.IntersectionObserver)return Da(this,b);const c=b.getBoundingClientRect();var d=this.window.innerWidth,f=this.window.innerHeight;return.5<=(Math.max(0,Math.min(c.right,d))-Math.max(0,Math.min(c.left,d)))*(Math.max(0,Math.min(c.bottom,f))-Math.max(0,Math.min(c.top,f)))/(c.width*c.height)})}
function Ea(a,b){b.id||(b.id=b.tagName+"_"+Date.now()+a.g++);return b.id}class Ga{constructor(){this.v={};this.g=0;this.window=p().get()}};class R{static info(){}static debug(){}static error(){}}R.window=p().get();var S=this&&this.g||function(a,b,c,d){function f(e){return e instanceof c?e:new c(function(h){h(e)})}return new (c||(c=Promise))(function(e,h){function m(g){try{k(d.next(g))}catch(l){h(l)}}function n(g){try{k(d["throw"](g))}catch(l){h(l)}}function k(g){g.done?e(g.value):f(g.value).then(m,n)}k((d=d.apply(a,b||[])).next())})};function Ha(a){a.window.addEventListener("blur",()=>{const b="#"+a.window.document.activeElement.parentNode.parentNode.id;b in a.i&&a.i[b].clicks++})}
function T(a,b){if(a.g[b])return a.g[b];const c=a.window.document.querySelector(b);return a.g[b]=c}
function U(a,b,c){return S(a,void 0,void 0,function*(){this.L[b]=c.D;var d=T(this,b),f;(f=c.R)||(f=d?(d=V(d,"IFRAME")||V(d,"IMG"))?d.getBoundingClientRect():null:null);d=f;if(!d)yield this.wait(1E3),R.debug(`Waiting for the element to track selector ${b}`),U(this,b,c);else if(!(50>d.width||50>d.height))a:{R.debug(`Starting monitoring ${b}, ${c.zoneId}`),(f=this.i[b])&&this.J.push(f),d={impressionId:Number(new Date)+Math.floor(1E5*Math.random()),zoneId:c.zoneId||null,transactionId:c.transactionId||
null,secondsInView:0,gamAdUnitPath:c.gamAdUnitPath||null,clicks:0,viewableEngagedSeconds:0,isSovrnReload:c.C,isAboveTheFold:this.isAboveTheFold(d),adSize:Math.floor(d.width)+"x"+Math.floor(d.height),adElementId:b,type:"impression"};try{var e=this.window.document.querySelector(b).parentNode.parentNode.id}catch(h){e=null}if(b.includes("google_ads_iframe_")&&e&&(e="#"+e,f=this.i[e])){const h={};for(const m in f)h[m]=f[m]||d[m];d=h;this.i[e]=d;break a}this.i[b]=d}})}
function Ia(a){Object.keys(a.i).forEach(b=>{a.i[b].secondsInView=0;a.i[b].viewableEngagedSeconds=0;a.i[b].clicks=0});a.J=[]}function Ja(a,b){return S(a,void 0,void 0,function*(){var c=T(this,b);const d=this.i[b];(c=!0===this.L[b]&&(yield Fa(this.ia,c)))&&d.secondsInView++;c&&this.F.isActive()&&d.viewableEngagedSeconds++})}function Ka(a){Object.keys(a.i).forEach(b=>Ja(a,b))}
function V(a,b){const c=[...a.getElementsByTagName(b)];a.nodeName===b&&c.push(a);for(a=0;a<c.length;a++)if(b=c[a].getBoundingClientRect(),b.width&&b.height)return c[a]}
class La{constructor(){this.i={};this.J=[];this.g={};this.L={};this.window=p().get();this.ia=new Ga;this.F=M();Ha(this)}h(a,b,c,d){return S(this,void 0,void 0,function*(){return U(this,a,{zoneId:b,gamAdUnitPath:d,transactionId:c,C:!1,D:!0})})}isAboveTheFold(a){return 0<=this.window.innerHeight-(a.height/2+a.top)}wait(a){return S(this,void 0,void 0,function*(){return new Promise(b=>setTimeout(b,a))})}};function W(a){!isNaN(Number(parseInt(a.charAt(0))))&&(a="\\3"+a.charAt(0)+" "+a.slice(1));return a.replace(/\//g,"\\/").replace(/\./g,"\\.").replace(/,/g,"\\,")};function Ma(a,b){return a.window.pbjs.getBidResponsesForAdUnitCode(b).bids.filter(c=>"sovrn"===c.bidderCode).pop()}
function Na(a,b,c,d){var f,e;b=(null===b||void 0===b?void 0:b.params)&&(null===(f=b.params[0])||void 0===f?void 0:f.tagid);b||((f=a.window.pbjs.adUnits.find(h=>h.code===c))||(f=a.window.pbjs.adUnits.find(h=>h.code===d)),a=(null===f||void 0===f?void 0:f.bids)&&f.bids.filter(h=>"sovrn"===h.bidder).pop(),b=null===(e=null===a||void 0===a?void 0:a.params)||void 0===e?void 0:e.tagid);return b}class Oa{constructor(){this.window=p().get()}};function Pa(a){const b=a.window.googletag.pubads();b.addEventListener("slotRenderEnded",c=>{c.isEmpty||Qa(a,c.slot,!1)});b.addEventListener("impressionViewable",c=>{c=c.slot.getSlotElementId();c="#"+W(c);a.g.L[c]=!0})}function Ra(a){const b=[];for(const c of a.window.googletag.pubads().getSlots())c.getResponseInformation()&&b.push(c);return b}
function Qa(a,b,c){var d,f,e;const h=W(b.getSlotElementId()),{Y:m,ga:n}=null!==(d=a.h[h])&&void 0!==d?d:{};d=b.getAdUnitPath();var k=null===(f=b.getEscapedQemQueryId)||void 0===f?void 0:f.call(b);if(!(k&&n===k||!k&&m&&m>Date.now()-1E4)){a.h[h]={Y:Date.now(),ga:null===(e=b.getEscapedQemQueryId)||void 0===e?void 0:e.call(b)};f=U;e=a.g;var g;k=a.l;null!==(g=k.window.pbjs)&&void 0!==g&&g.requestBids?(g=Ma(k,h)||Ma(k,d),g=Na(k,g,h,d)||null):g=null;f(e,"#"+h,{gamAdUnitPath:d,zoneId:g,C:a.isSovrnReload(b),
D:c})}}class Sa{constructor(a){this.g=a;this.h={};this.window=p().get();this.l=new Oa}start(){if(this.window.googletag&&this.window.googletag.pubads){Pa(this);var a=Ra(this);for(const b of a)Qa(this,b,!0)}else setTimeout(()=>{this.start()},500)}isSovrnReload(a){return-1<a.getTargetingKeys().indexOf("sovrn-reload")}};function X(a,b=!1){var c=a.X,d=c.send,f=a.metadata,e=a.o.j;var h=a.g;h=[...Object.values(h.i),...h.J];d.call(c,{metadata:f,payloads:[e,...h]},b);b=a.o;b.j.engagedDwellTime=0;b.j.dwellTime=0;Ia(a.g)}
function Ta(a){a.ha.start();Ua(a);a.window.setInterval(()=>{if(a.h||!(3E5<Date.now()-a.W)){var b=a.o;M().isActive()&&b.j.engagedDwellTime++;b.j.dwellTime++;b.j.scrollDepth=Math.max(b.j.scrollDepth,b.window.pageYOffset);b.j.documentHeight=P(b);Ka(a.g)}{b=a.F.isActive();const c=!b&&a.h;a.h!==b&&(a.W=Date.now());c?(a.h=!1,b=!0):(a.h=b,b=!1)}b&&X(a)},1E3)}function Va(a){const b=a.window.__connect.cmd,c=b[a.metadata.affiliateId]||[];b[a.metadata.affiliateId]={push:d=>d()};for(const d of c)d()}
function Ua(a){a.window.addEventListener("pageshow",a.s.bind(a));a.window.addEventListener("beforeunload",a.H.bind(a));a.window.addEventListener("pagehide",a.H.bind(a));a.window.document.addEventListener("visibilitychange",()=>{if(a.window.document.hidden)return a.H();a.s()})}
function Y(a,b,c=!0){var d=Wa(a,a.U);if(d.ads){d=d.ads.getConfig();if(c&&!Xa(d))throw setTimeout(a.I.bind(a,b),1E3),"retry";return Z(d.zone_id,d.tid)}if(d.config)return a=d.config.ct.current_tid,Z(d.config.ct.instances[a].zone_id,a);a=d.auction.getConfig();return Z(a.zone_id,a.tid)}
function Ya(a,b,c,d=0){if(20<d)throw Error("iframe id not found");const f=W(b);return b&&c.top.document.querySelector("#"+f)?b:c.parent!==c.top||c.frameElement.id?Ya(a,c.frameElement.id,c.parent,++d):(a="signal_iframe_"+Math.floor(1E4*Math.random()),c.frameElement.setAttribute("id",a),a)}function Za(a,b,c,d,f){const e=W(c);a.window.__connect.cmd[b]=a.window.__connect.cmd[b]||[];a.window.__connect.cmd[b].push(()=>{a.window.__connect.affiliateIds[b](`#${e}`,d,f)})}
function Wa(a,b,c=0){if(20<c)throw Error("sovrn data not found");return b.sovrn||!b.frameElement?b.sovrn:Wa(a,b.parent,++c)}function Xa(a){return-1<a.ad_events.findIndex(b=>"EOL"===b.name)}function Z(a,b){if(!a)throw Error("zoneId not found");return{zoneId:a,tid:b}}
class $a{constructor(){this.U=window;this.l=!1;this.metadata=(new ta).get();this.o=new za;this.g=new La;this.window=p().get();this.F=M();this.X=new Ca;this.h=!0;this.W=Date.now();this.ha=new Sa(this.g)}start(){const a=this.metadata.affiliateId;if(a in this.window.__connect.affiliateIds)this.I(a);else{this.window.__connect.affiliateIds[this.metadata.affiliateId]=this.g.h.bind(this.g);this.I(a);if(!this.metadata.isCollectable)return X(this);Ta(this);Va(this)}}H(){this.l||(this.l=!0,X(this,!0),this.window.setTimeout(this.s.bind(this),
3E3))}s(){this.l=!1}I(a){var b=this.U;if(!this.metadata.isCollectable&&b.sovrn){var c=Y(this,a,!1);U(this.g,"sovrn-ad-unit-"+c.zoneId,{R:{width:b.innerWidth,height:b.innerHeight},transactionId:c.tid,zoneId:Number(c.zoneId),C:!1,D:!1})}else if(b.frameElement)if(!this.metadata.isCollectable&&b.sovrn)c=Y(this,a),b=b.frameElement,U(this.g,"sovrn-ad-unit-"+c.zoneId,{R:{width:Number(b.width),height:Number(b.height)},transactionId:c.tid,zoneId:Number(c.zoneId),C:!1,D:!1});else{c=b.frameElement.id;try{c=
Ya(this,c,b);const d=Y(this,a);Za(this,a,c,d.zoneId,d.tid)}catch(d){b=d,"retry"===b?R.debug(`#${c} : waiting for ad render`):R.debug(`#${c} : Unable to track element : ${b}`)}}}};function ab(a){const b=a.window;return aa.some(c=>!b[c])}function bb(a){const b=a.window.document.createElement("script");b.src="https://get.s-onetag.com/container-polyfills.js";b.onload=()=>{(new $a).start()};a.window.document.head.appendChild(b)}
class cb{constructor(){this.window=p().get();this.config=I().get()}load(a){this.window.__connect=this.window.__connect||{};this.window.__connect.beaconVersion=a;this.window.__connect.cmd=this.window.__connect.cmd||{};this.window.__connect.affiliateIds=this.window.__connect.affiliateIds||{};if(this.window!==window)try{if(!this.window.__connect.cmd[this.config.affiliateId]){this.window.__connect.cmd[this.config.affiliateId]=[];const b=this.window.document.createElement("script");b.src=this.config.N;
this.window.document.head.appendChild(b)}}catch(b){}ab(this)?bb(this):(new $a).start()}};t.config={na:"connect_debug",N:"https://signal-beacon.s-onetag.com/beacon.min.js",la:"https://ap.lijit.com/readerinfo/v2",Ba:"https://get.s-onetag.com/container-polyfills.js",Aa:["fetch","Promise"],aa:"https://onetag-geo.s-onetag.com/",qa:"https://onetag-geo-grouping.s-onetag.com/",ra:"https://geo-location.s-onetag.com/",Fa:"https://signal-segments.s-onetag.com/",pa:"https://signal-floors.s-onetag.com/",$:86400,Z:200,za:"EU",xa:10,ja:"https://ap.lijit.com/www/delivery/fpi.js?z=",Ea:{ta:"https://get.s-onetag.com/safeframe-urls/1.0.0/safe-frame-internal.html",
va:"https://get.s-onetag.com/safeframe-urls/1.0.0/safe-frame.js"},Da:"https://prebid.s-onetag.com",oa:"https://dfp-gateway.s-onetag.com/1",wa:86400,ka:"https://connect-metrics-collector.s-onetag.com/metrics",K:5E3,G:5E3,Ca:"https://get.s-onetag.com/underground-sync-portal/Portal.html",ma:"https://data-beacons.s-onetag.com/dataBeacons.min.js",sa:["hb_","ix_","amzn"],ya:7E3};J.g=document.currentScript;(new cb).load("3.13.0");}).call({})

/* version: 3.13.0 */
