(function(){var g=void 0,h=true,i=null,l=false,n,o=this; function ba(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function ca(a,b){function c(){}c.prototype=b.prototype;a.M=b.prototype;a.prototype=new c;a.prototype.constructor=a};var da={scroll:5E3,keydown:5E3,mousemove:5E3,resize:5E3,mousedown:5E3,focus:5E3,pageload:5E3},ea=[14181,17805],fa={device_spoor_id:h,userst_hash:h,userst_snowplow_id:h,ftaeid:h,domainuserid:h,uuidid:h,gender:h,loggedin:h};function ga(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function ha(){} function ia(a,b,c){switch(typeof b){case "string":ja(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==i){c.push("null");break}if(ba(b)=="array"){var d=b.length;c.push("[");for(var e="",f=0;f>>=0;for(var b="",d;a>0;)d=a%64,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-".charAt(d)+b,a>>>=6;a=b}c+=a});return c} function oa(a){a+=String.fromCharCode(128);for(var b=[1518500249,1859775393,2400959708,3395469782],c=1732584193,d=4023233417,e=2562383102,f=271733878,j=3285377520,m=[],k,s,w,E,F,W=Math.ceil((a.length/4+2)/16),S=[W],y=0,t;y>>31;a=c;k=d;s=e;w=f;E=j;for(t=0;t<80;t++)F=Math.floor(t/20),F=(a<<5|a>>>27)+(F==0?k&s^~k&w:F==1?k^s^w:F==2?k&s^k&w^s&w:k^s^w)+E+b[F]+m[t]&4294967295,E=w,w=s,s=k<<30|k>>>2,k=a,a=F;c=c+a&4294967295;d=d+k&4294967295;e=e+s&4294967295;f=f+w&4294967295;j=j+E&4294967295}return[c,d,e,f,j]} function pa(a){var b=o.navigator,c=o.window.screen,d=[b.userAgent,b.platform,(new Date).getTimezoneOffset(),c.width+c.height+c.colorDepth];p(b.plugins,function(a){d.push(a.name+a.description+a.filename+a[0].type)});b=o.performance;d=d.concat([b&&b.now?b.now():"",document.title,o.location.href,q(),ma()]);return d.concat(a||[]).join()}function r(a,b,c){var d=Array.prototype.slice,e=d.call(arguments,2);return function(){return a.apply(b,e.concat(d.call(arguments)))}} function u(a){return typeof a!=="undefined"}function v(a){return a&&a.replace(/^www\./,"")}function qa(){var a=o.location.hostname;return a&&a.replace(/^www[0-9]*\./,"")}var ra=/^((https?\:)?(\/\/))/i;function sa(a){return a&&a.replace(ra,"")}var ta=/^((https?\:)?(\/\/))?[^\/]*/;function ua(a){return a.replace(ta,"")}var va=/\#.*/;function wa(a){return a.replace(va,"")}var xa=/\?[^\#]*/;function ya(a){return a.toLowerCase()}var za=/\/+((\?|\#).*)?$/;function Aa(a){return a.replace(za,"$1")} function Ba(a){return a&&a.replace(xa,"")}function Ca(a){var b=a.match(/\?(.*)$/ig)?a.match(/\?(.*)$/ig)[0].slice(1).replace(/#(.*)?/ig,"").split("&"):[],c=a.match(/#(.*)$/ig)?a.match(/#(.*)$/ig)[0]:"",a=a.match(/[#|\?](.*)?/ig)?a.slice(0,a.search(/[#|\?](.*)?/ig)):a,b=Da(b,function(a){return a.search("utm")!==0});b.length>0&&(a+="?"+b.join("&"));return a+c}function Ea(a,b){if(a===b)return 0;var c=i;p([ya,Aa,sa,ua,wa,Ba],function(d,e){a=d(a);b=d(b);if(a===b)return c=e+1,l});return c} function x(a,b,c,d){a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)}function Fa(a,b){var c=o;c.removeEventListener?c.removeEventListener(a,b,l):c.detachEvent&&c.detachEvent("on"+a,b)}function Ga(a){return typeof a==="number"}function z(a){return typeof a==="string"}function A(a){return Object.prototype.toString.call(a)==="[object Array]"}function Ha(a){a=new Date(+a);return Date.UTC(a.getFullYear(),a.getMonth(),a.getDate())} function Ia(a){a=new Date(a);return a.getTime()}function q(){return(new Date).getTime()}function Ja(){return o.location.protocol==="http:"?"http:":"https:"}function B(a){return!!a&&a.constructor===Object}function Ka(a,b){if(!B(a)||!B(b))return a===b;var c=0,d=h;p(a,function(a,e){c++;return d=a===b[e]});if(!d)return l;var e=0;p(b,function(){e++});return c===e} function p(a,b){if(B(a)===h)for(var c in a){if(a.hasOwnProperty(c)&&b(a[c],c)===l)break}else{c=0;for(var d=a.length;c0&&a.indexOf("FBIOS")>0}var Pa; function Qa(){}var Ra=o.setInterval,Sa=o.clearInterval,Ta=o.setTimeout,Ua=o.clearTimeout;function Va(a){switch(a){case g:return"undefined";case "":return"empty";default:return a}}function Wa(){for(var a=document.domain,b=a.split("."),c=window.location.protocol==="https:"?"; Secure":"",d=0;d4096){for(var e=c.split(":"),f=encodeURIComponent(":").length,a=[],c=b=0;c4096||(b+=j,a.push(e[c]))}d=a.length?encodeURIComponent(a.join(":")):""}return d}catch(m){}return""} function db(){try{var a=o.googletag.pubads();if(!a)return"";var b=a.getSlots(),c={},d=[],e=0,f=encodeURIComponent(",").length;p(b,function(a){var b=a.getResponseInformation?a.getResponseInformation():i,b=b&&b.lineItemId!=i?b.lineItemId:"",j=a.getAdUnitPath?a.getAdUnitPath():"",a=bb($a(a));if(b!==""||a)a=encodeURIComponent(""+b)+"||"+encodeURIComponent(j)+"||"+a,c[a]||(c[a]=h,b=encodeURIComponent(a).length+(d.length?f:0),e+b>4096||(e+=b,d.push(a)))});return d.length?encodeURIComponent(d.join(",")): ""}catch(j){}return""}var eb={};function fb(){var a=[];if(!("querySelector"in document))return a;var b=document.querySelectorAll('script[type="application/ld+json"]');p(b,function(b){try{var d=ga(b.innerText||b.textContent);p(A(d)?d:[d],function(b){B(b)&&(a.push(b),A(b["@graph"])&&p(b["@graph"],function(b){B(b)&&a.push(b)}))})}catch(e){}});return a} function gb(a){var b=l;p(A(a["@type"])?a["@type"]:[a["@type"]],function(a){if(z(a)&&(a.indexOf("Article")!==-1||a.indexOf("BlogPosting")!==-1||a.indexOf("WebPage")!==-1))return b=h,l});return b}function hb(a){var b,c;p(fb(),function(d){if(d[a]){if(gb(d))return c=d[a],l;b===g&&(b=d[a])}});return c!==g?c:b}function ib(a){A(a)&&a.length===1&&z(a[0])&&(a=a[0]);if(typeof a==="string")return a.split(",");var b=[];A(a)&&p(a,function(a){z(a)?b.push(a):B(a)&&z(a.name)&&b.push(a.name)});return b} function jb(a){if(!a)return"";var b={},c=[],d=0,e=encodeURIComponent(",").length;p(ib(a),function(a){if(c.length>=25)return l;if((a=a.replace(/,/g," ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").toLowerCase())&&!b[a]){var j=encodeURIComponent(a).length+(c.length?e:0);if(d+j>1024)return l;b[a]=h;d+=j;c.push(a)}});return c.length?encodeURIComponent(c.join(",")):""} function kb(){var a=eb;if(a.dateModified!==g)return a.dateModified;a.dateModified="";var b=hb("dateModified");if(typeof b!=="string"||!b)return a.dateModified;var c="";try{c=Ia(b)}catch(d){}a.dateModified=c?c.toString():"";return a.dateModified}function lb(){if(!("querySelector"in document))return"";var a=document.querySelector('meta[property="article:modified_time"]');if(!a)return"";var b="";try{var c=a.getAttribute("content");if(!c)return"";b=Ia(c)}catch(d){}return b?b.toString():""};function mb(a){var b={};a&&(a.charAt(0)=="?"&&(a=a.substring(1)),a=a.replace(/\+/g," "),p(a.split(/[&;]/g),function(a){a=a.split("=");b[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}));return b}function nb(a,b){var c="",d=o.location.href.match(/[^?]+[?]([^#]+).*/);if(d){var d=mb(d[1]),e=b||a;d[e]&&(c=d[e])}return encodeURIComponent(c)}function ob(a,b){return!b?h:a==="http:"&&b==="80"||a==="https:"&&b==="443"} function pb(a){var b=[];p(qb,function(c){var d=a[c];u(d)&&(A(d)?p(d,function(a){b.push(c+"="+a)}):B(d)?p(d,function(a,c){b.push(c+"="+a)}):((d+"").length||c=="r")&&b.push(c+"="+d))});b.push("_");return b.join("&")} function rb(a){var b={hostname:"",pathname:"",search:"",protocol:"",port:"",hash:""};if(!a)return b;var c=document.createElement("a"),d=o.location;if(!/^https?:/.test(a)&&a.indexOf("javascript:")!==0&&a.indexOf("app:")<0)if(a.indexOf("//")===0)a=d.protocol+a;else if(a.indexOf("/")===0)var e=ob(d.protocol,d.port)?"":d.port,a=d.protocol+"//"+d.hostname+(e?":"+e:"")+a;else{var e=document.baseURI||d.href,f=e.indexOf("?");f===-1&&(f=e.indexOf("#"));if(f===-1)f=e.length;f=e.lastIndexOf("/",f);a=f===-1? "/"+a:e.substr(0,f)+"/"+a}c.href=a;b.hostname=c.hostname;b.pathname=c.pathname;b.search=c.search;b.protocol=c.protocol;b.port=c.port;b.hash=c.hash;if(b.pathname.charAt(0)!=="/")b.pathname="/"+b.pathname;if(b.hostname==="")b.hostname=d.hostname;if(b.protocol==="")b.protocol=d.protocol;if(b.protocol==="javascript:")b.pathname="",b.hostname="",b.port="",b.hash="";if(ob(b.protocol,b.port)||b.port==="0")b.port="";return b} function sb(a){var b=a.protocol;a.hostname&&(b+="//"+a.hostname,a.port&&(b+=":"+a.port));return b+a.pathname+a.search+a.hash};function tb(a,b,c,d){b=b||"*";c=c||document;if("querySelectorAll"in c)return c.querySelectorAll(b+"["+(a+(d?'="'+d+'"':""))+"]");for(var e=[],b=c.getElementsByTagName(b),c=b.length,f="";c--;)(f=b[c].getAttribute(a))&&(!d||f===d)&&e.push(b[c]);return e}function ub(a,b,c){c=c||"";if(a===g)a=l;else{var d;if(!(d=c===""&&a.getAttribute(b)))if(d=a.getAttribute(b))d=a.getAttribute(b)===c;a=d?a:a===document.body?l:ub(a.parentNode,b,c)}return a} function vb(a,b,c){a="page"+a+"Offset";b="scroll"+b;if(c&&(c=tb("data-cb-scroll-element"))&&c.length)return c[0][b];if(Ga(o[a]))return o[a];else if(document.body&&document.body[b])return document.body[b];else if(document.documentElement[b])return document.documentElement[b];return 0}function wb(a){var b=document,b=b[b.compatMode==="CSS1Compat"?"documentElement":"body"]["client"+a]||0;window["inner"+a]&&(b=Math.min(window["inner"+a],b));return b} function xb(a){a="scroll"+a;return Math.max(document.body[a],document.documentElement[a])||0}function yb(a,b,c){a.ownerDocument||(a=a.correspondingUseElement);if(!a||!a.ownerDocument)return i;var d=a.ownerDocument.documentElement,e=0,f=u(c)?c+1:-1;z(b)?(b=b.toLowerCase(),c=function(a){return(a=a.nodeName)&&a.toLowerCase()===b}):c=b;for(;a&&a!==d&&e!==f;){if(c(a))return a;a=a.parentNode;e++}return i} function zb(a){return a.nodeName&&a.nodeName.toLowerCase()==="a"&&(!a.namespaceURI||a.namespaceURI==="http://www.w3.org/1999/xhtml")}function Ab(a){a=a||window.event;return!a?i:yb(a.target||a.srcElement,zb,10)}function Bb(a,b){var c=document.createElement(a);p(b,function(a,b){c.setAttribute(b,a)});return c}function Cb(){return o.document.readyState==="complete"||o.document.readyState!=="loading"&&!o.document.documentElement.doScroll} function Db(a){function b(){if(o.document.addEventListener||o.event.type==="load"||o.document.readyState==="complete")o.document.addEventListener?(o.document.removeEventListener("DOMContentLoaded",b,l),o.removeEventListener("load",b,l)):(o.document.detachEvent("onreadystatechange",b),o.detachEvent("onload",b)),a()}Cb()?a():o.document.addEventListener?(o.document.addEventListener("DOMContentLoaded",b,l),o.addEventListener("load",b,l)):(o.document.attachEvent("onreadystatechange",b),o.attachEvent("onload", b))};function Eb(){this.G={};this.ab=1}function C(a,b,c,d){a.ab++;a.G[b]=a.G[b]||{};a.G[b][a.ab]=[c,d];return a.ab}function Fb(a,b){if(z(b))a.G[b]=g,delete a.G[b];else if(Ga(b)){var c=h;p(a.G,function(a){p(a,function(e,f){if(parseInt(f,10)===b)return a[f]=g,delete a[f],c=l});return c})}}Eb.prototype.N=function(a,b){if(this.G[a]){var c=arguments.length>1?Array.prototype.slice.call(arguments,1):[];p(this.G[a],function(a){var b;a&&a.length===2&&(b=a[0],a=a[1],b.apply(a,c))})}}; Eb.prototype.addEventListener=function(a,b){var c=C(this,a,b);b._cbEventId=c};Eb.prototype.removeEventListener=function(a,b){this.G[a]&&this.G[a][b._cbEventId]&&this.G[a][b._cbEventId][0]===b&&Fb(this,b._cbEventId)};var D=new Eb,Gb="a";var G={}; G.D=function(){G.La?G.wa("pageload"):(G.Eb=[{target:o,event:"scroll"},{target:document.body,event:"keydown"},{target:document.body,event:"mousemove"},{target:o,event:"resize"},{target:document.body,event:"mousedown"}],G.Da=i,G.aa=i,G.Ka={},G.pb={},p(G.Eb,function(a){var b=a.event;x(a.target,b,function(a){if(b==="scroll"&&o._sf_async_config&&o._sf_async_config.mobileApp){var d=o.navigator.userAgent.toLowerCase();(d.indexOf("iphone")>=0||d.indexOf("android")>=0)&&D.N("f")}G.wa.call(G,b,a)})}),C(D,"f", function(){G.wa("focus")}),G.wa("pageload"),x(document.body,"click",function(a){(a=Ab(a))&&D.N("c",a)},h),x(document.body,"contextmenu",function(a){(a=Ab(a))&&D.N("r",a)}),G.La=h)};G.Jb=function(){var a,b=G.pb.keydown;if(b===g)return l;b=q()-b;return b<=(a||15E3)&&b>=0};G.eb=100;G.wa=function(a,b){if(!b)b=window.event;if(b&&a==="keydown"){var c=b.keyCode?b.keyCode:b.which;if(c===32||c>36&&c<41)a="scroll"}G.uc(a);if(G.Da===i)G.xb(a);else if(!G.aa||da[G.aa]c)?(N.remove(a),""):b.getItem(a)||""}; N.create=function(a,b,c){var d=N.B();if(d){var e=new Date;e.setTime(q()+c*1E3);try{d.setItem(a,b),d.setItem(a+"_expires",e.getTime())}catch(f){}}};N.remove=function(a){var b=N.B();b&&(b.removeItem(a),b.removeItem(a+"_expires"))};function cc(a,b,c,d){this.za=a||"";this.S=b||"/";this.hb=d||{};this.da=(this.Oa=bc(this.hb))?"":c||Wa();this.Pb=N.B()!==i||M.Mb(this.S,this.da);this.Ab=l}n=cc.prototype;n.isSupported=function(){return this.Pb};n.create=function(a,b,c,d){this.Oa||(a=d?a:this.za+a,(N.B()?N:M).create(a,b,c,this.S,this.da),N.B()&&M.create(a,b,c,this.S,this.da))}; n.update=function(a,b,c,d,e,f,j){a=d?a:this.za+a;e=z(e)?e:"::";d=(d=this.q(a,h))?d.split(e):[];if(j&&d.length){var m=j(b),k=La(d,function(a){return j(a)===m});k!==-1&&d.splice(k,1)}d.push(b);for(Ga(f)&&d.length>f&&d.splice(0,d.length-f);d.length>1&&d.join(e).length>4E3;)d.shift();this.create(a,d.join(e),c,h)}; n.q=function(a,b){if(this.Oa)return"";var a=b?a:this.za+a,c=(N.B()?N:M).q(a);!c&&N.B()&&(c=M.q(a));if(c){this.remove(a,b,"",h);var d=M.q(a),e=this.hb[Za]&&Xa,f=qa(),e=e&&f!==Wa();if(c===d&&!e)return d;(f=a!=="_chartbeat2"||!d?l:+d.split(".")[2]<1647357868E3?h:l)&&M.remove(a,this.S,this.da);if(e){if(d)return f?c:d;d=M.q(a,h);return c!==d?c:""}if(d)return f?c:d}return c};n.remove=function(a,b,c,d){if(c!=="")c=this.da;a=b?a:this.za+a;(N.B()?N:M).remove(a,this.S,c);N.B()&&M.remove(a,this.S,c,d)};var dc={cb_rec:h,fbclid:h,ia_share_url:h,gclid:h,dclid:h,gbraid:h,wbraid:h,gclsrc:h,gdfp_req:h,_gl:h,_ga:h,_hsenc:h,_hsmi:h,msclkid:h,lcid:h,sfmc_id:h,sfmc_sub:h,tblci:h,twclid:h,guccounter:h,guce_referrer:h,"pure360.trackingid":h,dicbo:h,addata:h,zip:h,zipcode:h,regi_id:h,segment_id:h,user_id:h,campaign_id:h,sessionid:h,uuid:h,email:h,token:h,req_token:h,paymentredirectuuid:h,authid:h,auth_id:h,auth:h,apikey:h};var ec=/[A-Za-z0-9-_.'+]+(@|%40)\w+([-.]\w+)*\.\w+([-.]\w+)*/g;function fc(a){var b=i;if(a&&(b=gc(),b=!b?b:O(b.pathname)+hc(b.search)+b.hash))return b;var c=o.location,b=O(c.pathname),a=c.search||"",d=/[?&#]/;if(!a||a.length===1&&d.test(a))return b;a=a.replace(/PHPSESSID=[^&]+/,"");d=/&utm_[^=]+=[^&]+/ig;(c=d.exec(c.search))&&(a=a.replace(d,""));d=/\?utm_[^=]+=[^&]+(.*)/i;(c=d.exec(a))&&(a=a.replace(d,c[1]!=""?"?"+c[1]:""));a=hc(a);a=O(a);return b+a} function ic(a){return a&&(a=gc(),a=!a?a:a.hostname)?a:o.location.hostname}function gc(){var a=jc();return!a?a:rb(a.href)}function jc(){var a=i;p(document.getElementsByTagName("link"),function(b){if(b.rel=="canonical")return a=b,l});return a}for(var kc={},lc=0;lc<81;lc++)kc["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=:@[]".charCodeAt(lc)]=h;function mc(a,b){if(a==="%")return"%25";var c=parseInt(b,16);return kc[c]?String.fromCharCode(c):"%"+b.toUpperCase()} function O(a){if(!z(a))return a;a=a.replace(/%([0-9A-Fa-f]{2})?/g,mc);a=a.replace(/[^0-9A-Za-z\-._~!$&'()*+,;=:@\/\[\]?#%]+/g,encodeURIComponent);return a=a.replace(ec,"")}function hc(a){var b=a;/[?&#]/.test(a[0])&&(b=a.substring(1));a=b.split("&").filter(function(a){a=a.split("=");return a.length<=1?l:dc[a[0].toLowerCase()]?l:ec.exec(a[1])?l:h});return a.length<1?"":"?"+a.join("&")}function nc(a){if(a){var b=a.split("?");return b.length>1?(a=hc(b[1]))&&a.length?O(b[0]+a):O(b[0]):O(a)}return i};function P(a,b){var c=Q();return u(b)&&!u(c[a])?b:c[a]}function Q(){u(o._cb_shared)||(o._cb_shared={});return o._cb_shared};var R={Gb:{IDLE:0,Fc:1,yc:2,Fb:3},J:0};R.D=function(){if(!R.La)C(D,Gb,R.Vb,R),C(D,"i",R.Yb,R),C(D,"f",R.Xb,R),C(D,"b",R.Wb,R),R.La=h};R.Tb=function(){return R.J};R.Vb=function(){R.J===1?R.Q(3):R.J===0&&R.Q(2)};R.Yb=function(){R.J===3?R.Q(1):R.J===2&&R.Q(0)};R.Xb=function(){(R.J===0||R.J===2)&&R.Q(3)};R.Wb=function(){R.J===3?R.Q(2):R.J===1&&R.Q(0)};R.Q=function(a){R.J=a;D.N("s",a)};function oc(a,b){this.Ja=a||g;this.Qa=b||g;this.ga=this.ca=0;this.ac=r(this.bc,this);this.zb=this.ba=i}n=oc.prototype;n.D=function(){this.ga=this.ca=0;this.ba=i;this.zb=C(D,"s",this.nb,this);this.nb(R.Tb())};n.nb=function(a){Sa(this.ba);this.ba=i;if(a===R.Gb.Fb)this.ba=Ra(this.ac,1E3)};n.bc=function(){if(this.Ja===g||this.Ja())this.ca++,this.ga++,this.Qa&&this.Qa()};n.terminate=function(){Sa(this.ba);this.ba=i;Fb(D,this.zb)};n.pa=function(){this.terminate();this.Qa=this.Ja=g};function T(){H.call(this);this.T=[];this.k=new cc(this.qc,this.a.cookiePath||"/",ac(this.a),this.a);this.k.remove("_SUPERFLY_nosample");this.F=new oc;this.Sa=r(this.ya,this);x(o,"pagehide",this.Sa);this.ua=l;pc(r(this.D,this))}ca(T,H);function pc(a){Db(function(){Tb(a)})}n=T.prototype;n.Ya=h;n.Va=l; n.D=function(){T.M.D.call(this);this.sa=this.X=0;this.la=q();this.Xa=na(qc(this));this.Wa=h;this.Ma=72E5;if(this.Ya){var a=+this.a.sessionLength;if(!isNaN(a))this.Ma=a*6E4}a=P("d");if(!a){var a=[],b=this.k.q("_chartbeat2",h);b.length>0&&(a=b.split("."));a.length>6&&(a=[]);var b=q(),c=this.k.q("_cb",h);c.length>0?a[1]=a[1]||b:c=a[0];a[0]="";var d=b-+(a[1]||0),e=b-+(a[2]||0);Q().n=c&&d>18E5&&e<2592E6?0:1;var d=a[4],f=parseInt(a[5],10)||0;if(!(e=e>18E5))if(rc(this))e=l;else{var e=U(this),e=decodeURIComponent(e), e=sc(e)||e,j;j=tc(this);j=decodeURIComponent(j);j=sc(j)||j;e=e!==j}!d||e?(d=na(qc(this)),a[4]=d,f=1,this.k.remove("_cb_svref",h)):f+=1;a[5]=f;f="1";e=a&&+a[2];d=a&&a[3];if(a&&e&&d)if(f=Math.abs((Ha(b)-Ha(e))/864E5)){f=Math.min(f,16)-1;for(e="";f--;)e+=0;f=(d+e+"1").slice(-16)}else f=d;d=f;c||(c=this.a.utoken||na(qc(this),3),a[1]=b);a[2]=b;a[3]=d;this.a.utoken=this.na;this.k.create("_cb",c,34128E3,h);this.k.create("_chartbeat2",a.join("."),34128E3,h);a[0]=c;Q().d=a}this.Ic=a.join(".");var m;c=+a[1]; d=+a[2];if((b=a[3])&&c&&d)m=(Math.min((Math.abs((Ha(d)-Ha(c))/864E5)||0)+1,16,b.length)-1).toString(16),m+=("0000"+parseInt(b,2).toString(16)).slice(-4);this.mb=m;this.ec=P("n",1);this.na=a[0];this.pc=a[4];this.mc=a[5];this.oc=tc(this);this.k.create("_cb_svref",tc(this),1800,h);this.F.D();R.D();G.D();Hb||(Ib=Rb(),Jb&&o.document.addEventListener&&o.document.addEventListener(Jb,Sb,l),Qb("focus","onfocusin",Ob),Qb("blur","onfocusout",Pb),Ib&&Ob(),Hb=h);this.ha=0;this.Ib=C(D,Gb,this.gc,this);this.Va= h;if(this.Ra)Ta(this.Ra,0),this.Ra=i};n.Ea=function(){if(!this.k.q("_SUPERFLY_lockout"))this.Va?!Cb()&&!this.ua?(this.xa=r(this.$a,this),x(o,"load",this.xa)):this.$a():this.Ra=r(this.Ea,this)};n.$a=function(){this.Ta=uc();G.D();var a=r(this.ia,this);this.ob=Ra(a,15E3);this.ia()}; n.ia=function(){var a=this.F.ga,a=this.a.reading&&+this.a.reading||a>0;this.sa18&&this.T.shift(),this.Ya&&q()-this.la>=this.Ma?this.terminate():this.Z())};n.sb=function(){this.T.push(1);var a=0;p(this.T,function(b){a+=b});a<3?(this.Wa=h,vc(this)):(this.terminate(),this.k.create("_SUPERFLY_lockout","1",600))};n.ya=function(){};n.gc=function(){var a=wc(this);this.ha=Math.max(this.ha,a)}; function wc(a){return Math.floor(vb("Y","Top",!!a.a.scrollElement))}function vc(a){var b=a.X,b=b?Math.min(b*2,16):1;a.X=b}n.qa=function(){this.ya();this.terminate()};n.Ba=function(){this.ua=h;this.Va=l;this.D();this.Ea()};function rc(a){if(a.a[Wb])return h;if(xc(a))return l;a=document.referrer.indexOf("://"+o.location.hostname+"/");return a!=-1&&a<9} function xc(a){var b=a.a.referrerOverrideQueryParam,c="";p(window.location.search.substr(1).split("&"),function(a){a=a.split("=");if(a.length==2&&a[0]==b&&a[1])return c=decodeURIComponent(a[1]).replace(/\+/g," "),l});c&&c.indexOf("::")==-1&&(c="external::"+c);return c}function U(a){a=a.a[Wb]||xc(a);if(!a&&(a=document.referrer||"")&&!/^(android-)?app:/.test(a)){var b=rb(a);if(b.protocol==="http:"||b.protocol==="https:")b.pathname=O(b.pathname),a=sb(b)}return encodeURIComponent(a)} function yc(a){a=a.a[K].slice(0,200);return encodeURIComponent(a)}function qc(a){a=[U(a),xb("Width"),xb("Height")];return pa(a)}function zc(a){var b=[],c=a.k.q("_chartbeat4");c&&(p(c.split("::"),function(a){b.push(encodeURIComponent(a))}),a.k.remove("_chartbeat4"));return b}function tc(a){var b=a.k.q("_cb_svref",h)||U(a)||"null";b==="null"&&(b=rc(a)?"internal":"external",a.k.create("_cb_svref",b,1800,h));return b}function sc(a){a=a.match(/^https?:\/\/([^\/]*)/);return!a?i:a[1]} function uc(){var a=o.performance&&o.performance.timing;if(!a||a.navigationStart==0)return-1;var b=a.navigationStart,a=a.loadEventStart;return Ga(b)&&b?Ga(a)&&a>b?a-b:q()-b:-1}n.terminate=function(){this.F.terminate();Fb(D,this.Ib);this.xa!==g&&Fa("load",this.xa);Sa(this.ob);Q().d=g;Q().n=g};n.pa=function(){this.terminate();Fa("pagehide",this.Sa);this.Sa=this.xa=this.k=this.T=this.a=i;this.F.pa();this.F=i;T.M.pa.call(this)};function Ac(a){for(var b=P("m")||[];b.length;)a(b.shift());a={push:a};Q().m=a};function Bc(a,b,c){var d=a.offsetLeft,e=a.offsetTop,f=Cc(a);d+=f.x;e+=f.y;for(var j=l,m=c?0:Math.floor(vb("X","Left",g)),k=c?0:Math.floor(vb("Y","Top",g)),f=a.offsetParent;a&&a!==b&&a!==document.body;){if(a===f)f=Cc(a),d+=a.offsetLeft+f.x,e+=a.offsetTop+f.y,f=a.offsetParent;c||(d-=a.scrollLeft,e-=a.scrollTop);if(Dc(a,["position"]).position==="fixed"){j=h;break}a=a.parentElement}c||(d-=b?b.scrollLeft:m,e-=b?b.scrollTop:k);j&&(d+=m,e+=k);return{x:d,y:e}} function Dc(a,b){var c={},d,e;o.getComputedStyle?d=o.getComputedStyle(a,i):a.currentStyle?e="currentStyle":a.style&&(e="style");p(b,function(b){c[b]=d?d[b]||d.getPropertyValue(b):a[e][b]});return c}var Ec=/matrix(3d)?\((.*)\)/;function Cc(a){var b={x:0,y:0},a=Dc(a,["transform"]).transform;if(!z(a))return b;var c=a.match(Ec);if(!c)return b;var a=c[2].split(", "),d;u(c[1])?(c=12,d=13):(c=4,d=5);b.x=parseInt(a[c],10);b.y=parseInt(a[d],10);return b};function Fc(){var a=o.location.href,a=a.replace(/-{2,}/g,"-"),a=rb(a);a.pathname=O(a.pathname);return a} function Gc(a){var b=M.q("_chartbeat6");if(!b)return i;var b=b.split("::"),c,d;if(b.length===1)c=b[0].split(","),d=0;else{var e,f=Fc(),j=sb(f);p(b,function(a,b){var f=a.split(","),k=Na(j,decodeURIComponent(f[0]));if(k===0)return c=f,d=b,l;if(e===g||k=15&&(this.Z(),this.rb+=1),a>=45&&this.terminate()):this.Z()}; function Mc(a){var b=a.a;return Ja()+"//"+b.mabServer+"/ping/mab?h="+encodeURIComponent(b[J])+"&p="+encodeURIComponent(b[I])+"&d="+encodeURIComponent(a.fa)+"&u="+a.na+"&c="+Math.round((q()-a.la)/600)/100+"&V=154"}n.ya=function(){};n.rc=function(a){a=Kc(a);this.ea?Nc(this,a):this.Ca=a}; function Nc(a,b){var c=Mc(a),d=b.status,e=b.data;if(d=="s"&&e!==i){var f=r(a.Aa,a);B(e.wb)&&p(e.wb,function(a,b){f(c+"&x="+b+"&v="+a.gb+"&ml="+e.O+"&sl="+a.$+"&e=-1")});A(e.qb)?p(e.qb,function(a){f(c+"&me=3&ml="+e.O+"&x="+a)}):A(e.dc)&&p(e.dc,function(a){f(c+"&me=5&ml="+e.O+"&x="+a)})}else d=="e"&&a.Aa(c+"&me="+b.code)} n.$b=function(a,b){for(var c=0,d=arguments.length;c0?this.Ta:"";if(this.mb&&!this.a.noCookies&&this.k.isSupported())b.f=this.mb;b[""]= $b(this.a);b.t=this.Xa;b.V=154;b.tz=(new Date).getTimezoneOffset();b.sn=this.ka;b.sv=this.pc;b.sr=this.oc;b.sd=this.mc;c=this.F.ga;b.h=encodeURIComponent(this.a[J]);b.p=encodeURIComponent(this.a[I]);b.u=this.na;b.d=encodeURIComponent(this.fa);b.j=Math.round((this.X+2)*15E3/1E3);b.R=0;b.W=0;b.I=0;G.Jb()?b.W=1:this.a.reading&&+this.a.reading||c>0||b.c<0.09?b.R=1:b.I=1;b.e=c;c=rc(this);if(this.Wa){this.Wa=l;if(c)this.U=ad(this);b.i=yc(this);var d=this.a.hudTrackable;d!==g&&(b.L=d?"1":"0")}if(c){if(this.U){if(b.v= encodeURIComponent(this.U.path),b.K=bd(this.U),this.U.Pa>1)b.l1=this.U.Pa}else b.v=U(this);this.ua&&(b.vp=1)}else b.r=U(this);c=Va(b.v);Q().v=c;c=Va(b.r);Q().r=c;b.A=this.Ga?this.Ga:"";b._c=nb("utm_campaign",this.a.campaignTag);b._m=nb("utm_medium",this.a.mediumTag);b._x=nb("utm_source",this.a.sourceTag);b._y=nb("utm_content",this.a.contentTag);b._z=nb("utm_term",this.a.termTag);b.im=this.cc.Nb;d=this.a;c=d.idSync;if(oa(d[J]).toString()!==[-2029634429,-1659526092,-2053164062,-1348054445,1670716250].toString())c= c?Ma(c):"";else{if(d=window.OBR&&window.OBR.extern&&window.OBR.extern.pvId)c=c?c:{},c.obr=d;c=Ma(c)}b._s=c;b.z=zc(this);b.C=this.a.mobileApp?1:"";b.KK=a?bd(a):"";a=this.k;c=a.Ab;a.Ab=l;b.l=c?1:"";this.F.ga=0;if(this.a.alias)b.PA=encodeURIComponent(this.a.alias);else{a=cd(o.location.href);if(a.search.length>0)a.search=hc(a.search);b.PA=encodeURIComponent(sb(a))}if(a=o.location.href.match(/[^?]+[?]([^#]+).*/))a=mb(a[1]),a.cb_rec&&(b.g5=encodeURIComponent(a.cb_rec));(a=kb())||(a=lb());b.g7=a;b.g8=Zb(this.a, "pageVariantID");if(!(a=jb(this.a.keywords)))a=eb,a.keywords===g&&(a.keywords=jb(hb("keywords"))),a=a.keywords;b.g2=a;a=+this.a.uid;if(!(c=this.a.collectGptTargeting))for(var c=l,d=0,e=ea.length;d0&&!this.ra)){var c=this.ka,d=this;this.ra=Ta(function(){d.ra=i;d.ka===c&&d.Z()},1E3)}};function cd(a){a=a.replace(/-{2,}/g,"-");a=rb(a);a.pathname=O(a.pathname);return a}n.hc=function(a){dd(this,a,"c")};n.ic=function(a){dd(this,a,"r")}; function dd(a,b,c){if(a.Ya&&q()-a.la>=a.Ma)a.terminate();else{var d=b.href||"",d=cd(d);if(d.protocol.indexOf("http")===0){var e=d.hostname!==o.location.hostname,d=sb(d),f=yb(b,function(a){return a.id}),j=Lc(b,f),m="";a.a.moduleAttribute&&(m=(m=ub(b,a.a.moduleAttribute))?m.getAttribute(a.a.moduleAttribute):"",m=m.replace(/::/g,"-").substring(0,40));f?(j&&(j="/"+j),j="*[@id='"+f.id+"']"+j,f=Lc(b)):f=j;var j=na(j),f=na(f),k="";if(a.a.pageVariantID)k=a.a.pageVariantID,k=k.replace(/::|\|/g,"-").substring(0, 40);b=Bc(b,g,h);c={left:b.x,top:b.y,path:a.a[I],href:d,cb:j,Fa:f,bb:"",Za:c,Pa:0,Ub:a.a[J],Na:m,Ua:k};a.Z(c);e||a.k.update("_chartbeat5",ed(c),60,l,g,3,function(a){a=a.split("|");return a[2]+"|"+a[3]})}}}function bd(a){return[a.left,a.top,a.cb,encodeURIComponent(a.bb),a.Za,encodeURIComponent(a.href),a.Fa,a.Na,encodeURIComponent(a.Ua)].join("::")} function ed(a){var b=encodeURIComponent(a.bb),b=b.replace(/-/g,"%2D");b.length>512&&(b="");return[a.left,a.top,encodeURIComponent(a.path),encodeURIComponent(a.href),a.cb,b,a.Za,a.Fa,encodeURIComponent(a.Ub),a.Na,encodeURIComponent(a.Ua)].join("|")} function ad(a){var b=a.k.q("_chartbeat5");if(!b)return i;var c=b.split("::"),b=c.length,d,e=i,f,j=cd(o.location.href),m=sb(j);p(c,function(a,b){var c=a.split("|"),j=decodeURIComponent(c[3]);if(j){j=Ea(m,j);if(j===0)return d=c,e=b,l;else if(j===i)return h;if(f===g||j7?d[7]:"",Za:d.length>6?d[6]:"c",Pa:b,Na:d[9]?d[9]:"",Ua:d[10]?decodeURIComponent(d[10]):""}}n.terminate=function(){Fb(D,this.Kb);Fb(D,this.Lb);Ua(this.ra);this.ra=i;Y.M.terminate.call(this)};function fd(a){var b=gd;return function(c,d){if(!Mb){b();eb={};var e=o._sf_async_config,f="",j=e[I],j=sa(j);/^\//.test(j)&&(f=v(o.location.hostname));e[Wb]=Ja()+"//"+f+j;if(z(c))e[I]=O(c),d&&(e[K]=d);else if(B(c)){var m=["authors","sections",K,I,Wb];p(c,function(a,b){if(La(m,function(a){return a===b})!==-1||b.indexOf("_")===0)e[b]=b===I?O(a):a})}a()}}};if(!M.q("cb_optout")&&!o.pSUPERFLY){var hd=new Y,Z={};o.pSUPERFLY=Z;var ud=o.pSUPERFLY_mab,$=o.pSUPERFLY_pub,vd=[];ud&&vd.push(ud);if($)vd.push($),$.addEngagedAdFilter&&(Z.addEngagedAdFilter=$.addEngagedAdFilter),$.refreshAd&&(Z.refreshAd=$.refreshAd),$.registerGptSlot&&(Z.registerGptSlot=$.registerGptSlot),Xb("_cba",function(a){a()});var gd=function(){hd.qa();p(vd,function(a){a.evps()})};Z.virtualPage=fd(function(){hd.Ba();p(vd,function(a){a.svps()})});Z.endTracking=gd;Z.activity=r(hd.Hb,hd);hd.Ea(); Wc.exec(document.referrer)&&Yc();var wd=N.B(h);if(!wd?0:wd.getItem("_cb_ip")){var xd=o.location;(!/^(.+[.])?chartbeat\.com$/.test(xd.hostname)?0:/^\/publishing\/(overlay|hud|mab)\//.test(xd.pathname))||Db(Xc)}else x(o,"message",Zc)};})();