(function(){var g=void 0,h=true,i=null,k=false,l,m=this;function aa(a,b){function c(){}c.prototype=b.prototype;a.$=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ba={scroll:5E3,keydown:5E3,mousemove:5E3,resize:5E3,mousedown:5E3,focus:5E3,pageload:5E3},ca={scroll:2E4,keydown:5E3,mousemove:5E3,resize:5E3,mousedown:5E3,focus:5E3,pageload:5E3};function ea(){for(var a="",b=0;b<16;b++)a+=Math.random();return a}function fa(a,b){var c="",d=ga(encodeURIComponent(a));d.splice(b||5,d.length);n(d,function(a){if(a==0)a="A";else{a>>>=0;for(var b="",d;a>0;)d=a%64,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-".charAt(d)+b,a>>>=6;a=b}c+=a});return c}
function ga(a){a+=String.fromCharCode(128);for(var b=[1518500249,1859775393,2400959708,3395469782],c=1732584193,d=4023233417,e=2562383102,f=271733878,t=3285377520,q=[],j,u,y,I,J,da=Math.ceil((a.length/4+2)/16),U=[da],z=0,w;z<da;z++){U[z]=[];for(j=0;j<16;j++)U[z][j]=a.charCodeAt(z*64+j*4)<<24|a.charCodeAt(z*64+j*4+1)<<16|a.charCodeAt(z*64+j*4+2)<<8|a.charCodeAt(z*64+j*4+3)}z=(a.length-1)*8;a=da-1;U[a][14]=Math.floor(z/Math.pow(2,32));U[a][15]=z&4294967295;for(z=0;z<da;z++){for(w=0;w<16;w++)q[w]=U[z][w];
for(w=16;w<80;w++)q[w]=(q[w-3]^q[w-8]^q[w-14]^q[w-16])<<1|(q[w-3]^q[w-8]^q[w-14]^q[w-16])>>>31;a=c;j=d;u=e;y=f;I=t;for(w=0;w<80;w++)J=Math.floor(w/20),J=(a<<5|a>>>27)+(J==0?j&u^~j&y:J==1?j^u^y:J==2?j&u^j&y^u&y:j^u^y)+I+b[J]+q[w]&4294967295,I=y,y=u,u=j<<30|j>>>2,j=a,a=J;c=c+a&4294967295;d=d+j&4294967295;e=e+u&4294967295;f=f+y&4294967295;t=t+I&4294967295}return[c,d,e,f,t]}
function ha(a){var b=m.navigator,c=m.window.screen,d=[b.userAgent,b.platform,(new Date).getTimezoneOffset(),c.width+c.height+c.colorDepth];n(b.plugins,function(a){d.push(a.name+a.description+a.filename+a[0].type)});b=m.performance;d=d.concat([b&&b.now?b.now():"",document.title,m.location.href,o(),ea()]);return d.concat(a||[]).join()}function p(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 r(a){return typeof a!=="undefined"}function ia(a){return a.replace(/^www\./,"")}function s(a,b,c,d){a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)}function ja(a,b){var c=m;c.removeEventListener?c.removeEventListener(a,b,k):c.detachEvent&&c.detachEvent("on"+a,b)}function v(a){return typeof a==="number"}function x(a){return typeof a==="string"}function ka(a){a=new Date(+a);return Date.UTC(a.getFullYear(),a.getMonth(),a.getDate())}
function o(){return(new Date).getTime()}function n(a,b){if((!!a&&a.constructor===Object)===h)for(var c in a){if(a.hasOwnProperty(c)&&b(a[c],c)===k)break}else{c=0;for(var d=a.length;c<d;c++)if(b(a[c],c)===k)break}}function la(a,b){for(var c=0,d=a.length;c<d;c++)if(b(a[c]))return c;return-1}
function ma(a,b){if(a===b)return 0;if(a.length===0)return b.length;if(b.length===0)return a.length;for(var c=[],d=0,e=b.length;d<=e;d++)c[d]=[d];for(var f=0,t=a.length;f<=t;f++)c[0][f]=f;for(var q,j,u,d=1;d<=e;d++)for(f=1;f<=t;f++)q=d-1,j=f-1,u=c[q][j],b.charAt(q)==a.charAt(j)?c[d][f]=u:(j=c[d][j]+1,q=c[q][f]+1,u+=2,c[d][f]=Math.min(j,q,u));return c[b.length][a.length]}var na,oa=m.setInterval,pa=m.clearInterval,qa=m.setTimeout,A=m.clearTimeout;
function ra(a){switch(a){case g:return"undefined";case "":return"empty";default:return a}};function sa(a){var b,c;b="pageYOffset";c="scrollTop";if(a){var d,e;d=d||"*";e=e||document;if("querySelectorAll"in e)a=e.querySelectorAll(d+"[data-cb-scroll-element]");else{a=[];d=e.getElementsByTagName(d);for(e=d.length;e--;)d[e].getAttribute("data-cb-scroll-element")&&a.push(d[e])}if(a&&a.length)return a[0][c]}if(v(m[b]))return m[b];else if(document.body&&document.body[c])return document.body[c];else if(document.documentElement[c])return document.documentElement[c];return 0}
function ta(){var a=document,a=a[a.compatMode==="CSS1Compat"?"documentElement":"body"].clientHeight||0;window.innerHeight&&(a=Math.min(window.innerHeight,a));return a}function B(a){a="scroll"+a;return Math.max(document.body[a],document.documentElement[a])||0}function ua(a,b,c){var d=a.ownerDocument.documentElement,e=0,f=r(c)?c+1:-1;x(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 va(a){return a.nodeName&&a.nodeName.toLowerCase()==="a"&&(!a.namespaceURI||a.namespaceURI==="http://www.w3.org/1999/xhtml")}function wa(a){a=a||window.event;return!a?i:ua(a.target||a.srcElement,va,10)}function xa(a,b){var c=document.createElement(a);n(b,function(a,b){c.setAttribute(b,a)});return c};function ya(){this.F={};this.Ma=1}function C(a,b,c,d){a.Ma++;a.F[b]=a.F[b]||{};a.F[b][a.Ma]=[c,d];return a.Ma}function D(a,b){if(x(b))a.F[b]=g,delete a.F[b];else if(v(b)){var c=h;n(a.F,function(a){n(a,function(e,f){if(parseInt(f,10)===b)return a[f]=g,delete a[f],c=k});return c})}}ya.prototype.O=function(a,b){if(this.F[a]){var c=arguments.length>1?Array.prototype.slice.call(arguments,1):[];n(this.F[a],function(a){var b;a&&a.length===2&&(b=a[0],a=a[1],b.apply(a,c))})}};
ya.prototype.addEventListener=function(a,b){var c=C(this,a,b);b._cbEventId=c};ya.prototype.removeEventListener=function(a,b){this.F[a]&&this.F[a][b._cbEventId]&&this.F[a][b._cbEventId][0]===b&&D(this,b._cbEventId)};var E=new ya;var F={};
F.q=function(){F.Aa?F.na("pageload"):(F.hb=[{target:m,event:"scroll"},{target:document.body,event:"keydown"},{target:document.body,event:"mousemove"},{target:m,event:"resize"},{target:document.body,event:"mousedown"}],F.ta=i,F.S=i,F.za={},F.ya={},F.Wa={},F.ua={},n(F.hb,function(a){var b=a.event;s(a.target,b,function(a){F.na.call(F,b,a)})}),C(E,"f",function(){F.na("focus")}),F.na("pageload"),s(document.body,"click",function(a){(a=wa(a))&&E.O("c",a)},h),s(document.body,"contextmenu",function(a){(a=wa(a))&&
E.O("r",a)}),F.Aa=h)};F.ob=function(){var a,b=F.Wa.keydown;if(b===g)return k;b=o()-b;return b<=(a||15E3)&&b>=0};F.ca=function(a,b){var c=F.ua[a];if(!c)return"";var b=b||o(),d,e=0;n(c,function(a){d=Math.floor((b-a)/1E3);d>=0&&d<16&&(e|=1<<d)});c=("0000"+e.toString(16)).slice(-4);return c=="0000"?"":c};F.Ob=function(){F.ua={}};F.Qa=100;
F.na=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"}F.Tb(a);if(F.ta===i)F.fb(a);else if(!F.S||ba[F.S]<ba[a]||ca[F.S]<ca[a])F.S=a};F.Tb=function(a){var b=o();F.Wa[a]=b;var c=F.ua[a];c?c.length<2?c.push(b):c[c.length-2]>b-1E3?c[c.length-1]=b:c.push(b):c=[b];c.length>32&&c.shift();F.ua[a]=c};F.fb=function(a){F.ta=qa(F.sb,F.Qa);E.O("a");F.za[a]!==i&&A(F.za[a]);F.ya[a]!==i&&A(F.ya[a]);F.eb(a,F.za,ba,"i");F.eb(a,F.ya,ca,"j")};
F.eb=function(a,b,c,d){b[a]=qa(function(){A(b[a]);delete b[a];var c=k;n(b,function(){c=h;return k});c||E.O(d)},c[a]+F.Qa)};F.sb=function(){A(F.ta);F.ta=i;if(F.S)F.fb(F.S),F.S=i};var za,Aa,G,Ba,Ca;(function(){var a,b;n(["","moz","o","ms","webkit"],function(c){a=(c+"Hidden").charAt(0).toLowerCase()+(c+"Hidden").slice(1);if(typeof m.document[a]==="boolean")return b=c,k});b!==g&&(Ba=a,Ca=(b+"VisibilityState").charAt(0).toLowerCase()+(b+"VisibilityState").slice(1),G=b+"visibilitychange")})();var H=k;function Da(){H=Ca&&m.document[Ca]==="prerender"?h:k}function Ea(){Aa=h;E.O("f")}function Fa(){Aa=k;E.O("b")}
function Ga(a,b,c){m.addEventListener?m.addEventListener(a,c,k):m.document.attachEvent&&m.document.attachEvent(b,c)}function Ha(){var a=h;m.document.hasFocus&&(a=m.document.hasFocus());var b=k;Ba&&(b=m.document[Ba]);return a&&!b}function Ia(){Ha()?Ea():Fa()}function Ja(a){Da();if(H){var b=k,c=function(){b||(Da(),H||(b=h,a(),m.window.setTimeout(function(){m.document.removeEventListener(G,c,k)},100)))};m.document.addEventListener(G,c,k)}else a()};function K(){this.a=m._sf_async_config||{};this.ub=p(this.ab,this)}K.prototype.q=function(){this.bb=0};K.prototype.ab=function(){};K.prototype.qa=function(a){if(!H){var b=this.ub,c;c=new Image(1,1);if(b)c.onerror=b;c.src=a}};function Ka(a){var b={};a&&(a.charAt(0)=="?"&&(a=a.substring(1)),a=a.replace("+"," "),n(a.split(/[&;]/g),function(a){a=a.split("=");b[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}));return b}function La(a,b){var c="",d=m.location.href.split("?");if(d.length){var d=Ka(d[1]),e=b||a;d[e]&&(c=d[e])}return c}function Ma(a,b){return!b?h:a==="http:"&&b==="80"||a==="https:"&&b==="443"}
function Na(a){var b=[];n(Oa,function(c){var d=a[c];r(d)&&(Object.prototype.toString.call(d)==="[object Array]"?n(d,function(a){b.push(c+"="+a)}):d&&d.constructor===Object?n(d,function(a,c){b.push(c+"="+a)}):((d+"").length||c=="r")&&b.push(c+"="+d))});b.push("_");return b.join("&")}
function Pa(a){var b={hostname:"",pathname:"",search:"",protocol:"",port:"",hash:""};if(!a)return b;var c=document.createElement("a"),d=m.location;if(!/^https?:/.test(a)&&a.indexOf("javascript:")!==0)if(a.indexOf("//")===0)a=d.protocol+a;else if(a.indexOf("/")===0)var e=Ma(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(Ma(b.protocol,b.port)||b.port==="0")b.port="";return b}
function Qa(a){var b=a.protocol;a.hostname&&(b+="//"+a.hostname,a.port&&(b+=":"+a.port));return b+a.pathname+a.search+a.hash};function L(a,b,c){a[b]=a[b]||c}function Ra(a,b){for(var c=m[a]||[];c.length;)b(c.shift());m[a]={push:b}}function Sa(a){n(document.getElementsByTagName("script"),function(b){if(b.src.match(/chartbeat.js/))return b=Ka(b.src.split("?")[1]),L(a,"uid",b.uid),L(a,"domain",b.domain),k})}function M(a,b){return a[b]?encodeURIComponent(a[b]):""}function Ta(a){var b={};n(a,function(a,d){d.charAt(0)=="_"&&(b[d]=a)});return b};var N={};N.rb=function(){try{N.create("_cb_test","1",1);var a=N.k("_cb_test");N.remove("_cb_test");return a==="1"}catch(b){return k}};N.k=function(a){a+="=";var b="";n(document.cookie.split(";"),function(c){for(;c.charAt(0)===" ";)c=c.substring(1,c.length);if(c.indexOf(a)===0)return b=c.substring(a.length,c.length),k});return b};
N.create=function(a,b,c){var d=m._sf_async_config;if(d&&d.noCookies)return"";d=new Date;d.setTime(o()+c*1E3);a=a+"="+b+("; expires="+d.toGMTString())+"; path=/";return document.cookie=a};N.remove=function(a){return N.k(a)?N.create(a,"",-86400):""};var O={};O.B=function(a){var b=m._sf_async_config;if(!a&&b&&b.noCookies)return i;if(O.B.xa!==g)return O.B.xa;var a=o()+"",c,d;try{if((d=m.localStorage).setItem(a,a),c=d.getItem(a)===a,d.removeItem(a),c)return O.B.xa=d}catch(e){}return O.B.xa=i};O.k=function(a){var b=O.B();if(!b)return"";var c=b.getItem(a+"_expires");return c&&(c=+c,!isNaN(c)&&o()>c)?(O.remove(a),""):b.getItem(a)||""};
O.create=function(a,b,c){var d=O.B();if(d){var e=new Date;e.setTime(o()+c*1E3);try{d.setItem(a,b),d.setItem(a+"_expires",e.getTime())}catch(f){}}};O.remove=function(a){var b=O.B();b&&(b.removeItem(a),b.removeItem(a+"_expires"))};function Ua(a){this.pa=a||"";this.tb=O.B()!==i||N.rb();this.La=k;Va(this)}l=Ua.prototype;l.isSupported=function(){return this.tb};
function Va(a){if(!N.k("_cb_ls")){var b=O.B()!==i,c=N.k("_SUPERFLY_nosample");c&&n(["","_v_","_p_"],function(b){a.create(b+"_SUPERFLY_nosample",c,600,h)});var d=N.k("_chartbeat3");d&&(a.create("_v__chartbeat3",d,2592E3,h),N.remove("_chartbeat3"));b&&((b=N.k("_chartbeat2"))&&a.create("_chartbeat2",b,63072E3,h),(b=N.k("_chartbeat_uuniq"))&&a.create("_chartbeat_uuniq",b,63072E3,h),(b=N.k("_chartbeat5"))&&a.create("_chartbeat5",b,60,h));N.create("_cb_ls","1",2592E3)}}
l.create=function(a,b,c,d){a=d?a:this.pa+a;(O.B()?O:N).create(a,b,c);O.B()&&N.create(a,b,c)};l.update=function(a,b,c,d,e,f,t){a=d?a:this.pa+a;e=x(e)?e:"::";d=(d=this.k(a,h))?d.split(e):[];if(t&&d.length){var q=t(b),j=la(d,function(a){return t(a)===q});j!==-1&&d.splice(j,1)}v(f)&&d.length>=f&&d.splice(0,d.length-f+1);d.push(b);this.create(a,d.join(e),c,h)};
l.k=function(a,b){var a=b?a:this.pa+a,c=(O.B()?O:N).k(a);if(!c&&O.B()&&(c=N.k(a))&&N.k("_cb_ls")){this.La=h;var d;switch(a){case "_SUPERFLY_nosample":d=600;break;case "_chartbeat4":d=3600;break;case "_cb_cp":d=3600;break;case "_chartbeat3":d=2592E3;break;default:d=63072E3}O.create(a,c,d)}return c};l.remove=function(a,b){a=b?a:this.pa+a;(O.B()?O:N).remove(a);O.B()&&N.remove(a)};function Wa(a){var b=i;if(a&&(b=Xa()))return b;var c=m.location,b=P(c.pathname),a=c.search||"",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]:""));return b+a}function Xa(){var a=i;n(document.getElementsByTagName("link"),function(b){if(b.rel=="canonical")return b=Pa(b.href),a=P(b.pathname)+b.search+b.hash,k});return a}
for(var Ya={},Za=0;Za<81;Za++)Ya["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=:@[]".charCodeAt(Za)]=h;function $a(a,b){if(a==="%")return"%25";var c=parseInt(b,16);return Ya[c]?String.fromCharCode(c):"%"+b.toUpperCase()}function P(a){if(!x(a))return a;a=a.replace(/%([0-9A-Fa-f]{2})?/g,$a);return a=a.replace(/[^0-9A-Za-z\-._~!$&'()*+,;=:@\/\[\]?#%]+/g,encodeURIComponent)};var Q={kb:{IDLE:0,jb:1,ib:2,va:3},lb:{IDLE:0,jb:1,ib:2,va:3},G:0,H:0};Q.q=function(){if(!Q.Aa)C(E,"a",Q.Ab,Q),C(E,"i",Q.Eb,Q),C(E,"f",Q.Cb,Q),C(E,"b",Q.Bb,Q),C(E,"j",Q.Db,Q),Q.Aa=h};Q.yb=function(){return Q.G};Q.zb=function(){return Q.H};Q.Ab=function(){Q.G===1?Q.Q(3):Q.G===0&&Q.Q(2);Q.H===1?Q.P(3):Q.H===0&&Q.P(2)};Q.Eb=function(){Q.G===3?Q.Q(1):Q.G===2&&Q.Q(0)};Q.Db=function(){Q.H===3?Q.P(1):Q.H===2&&Q.P(0)};Q.Cb=function(){(Q.G===0||Q.G===2)&&Q.Q(3);(Q.H===0||Q.H===2)&&Q.P(3)};
Q.Bb=function(){Q.G===3?Q.Q(2):Q.G===1&&Q.Q(0);Q.H===3?Q.P(2):Q.H===1&&Q.P(0)};Q.Q=function(a){Q.G=a;E.O("s",a)};Q.P=function(a){Q.H=a;E.O("x",a)};function R(a,b){this.Ta=a||g;this.$a=b||g;this.U=this.N=0;this.Ua=p(this.Hb,this);this.Ka=this.J=i}R.prototype.q=function(){this.U=this.N=0;this.J=i;this.Ka=C(E,"s",this.da,this);this.da(Q.yb())};R.prototype.da=function(a){pa(this.J);this.J=i;if(a===Q.kb.va)this.J=oa(this.Ua,1E3)};R.prototype.Hb=function(){if(this.Ta===g||this.Ta())this.N++,this.U++,this.$a&&this.$a()};R.prototype.terminate=function(){pa(this.J);this.J=i;D(E,this.Ka)};function ab(a,b){R.call(this,a,b)}aa(ab,R);ab.prototype.q=function(){this.U=this.N=0;this.J=i;this.Ka=C(E,"x",this.da,this);this.da(Q.zb())};ab.prototype.da=function(a){pa(this.J);this.J=i;if(a===Q.lb.va)this.J=oa(this.Ua,1E3)};function S(){K.call(this);this.aa=[];this.D=new Ua(this.Qb);this.M=new R;this.ja=new ab;this.Nb=p(this.oa,this);s(m,"unload",this.Nb);Ja(p(this.q,this))}aa(S,K);l=S.prototype;l.Ha=h;
l.q=function(){S.$.q.call(this);this.la=this.X=0;this.Z=o();this.Ga=fa(bb(this));this.Fa=h;this.Ba=72E5;if(this.Ha){var a=+this.a.sessionLength;if(!isNaN(a))this.Ba=a*6E4}a=T(cb);if(!a){var a=[],b=this.D.k("_chartbeat2",h);b.length>0&&(a=b.split("."));a.length>4&&(a=[]);var b=o(),c=b-+(a[1]||0),d=b-+(a[2]||0),e=db,c=a[0]&&c>18E5&&d<2592E6?0:1;V()[e]=c;c="1";d=a&&+a[2];e=a&&a[3];if(a&&d&&e)if(c=Math.abs((ka(b)-ka(d))/864E5)){c=Math.min(c,16)-1;for(d="";c--;)d+=0;c=(e+d+"1").slice(-16)}else c=e;e=c;
a[0]||(a[0]=this.a.utoken||fa(bb(this),3),a[1]=b);a[2]=b;a[3]=e;this.a.utoken=this.ia;this.D.create("_chartbeat2",a.join("."),63072E3,h);b=cb;V()[b]=a}this.Yb=a.join(".");var f;e=+a[1];c=+a[2];if((b=a[3])&&e&&c)f=(Math.min((Math.abs((ka(c)-ka(e))/864E5)||0)+1,16,b.length)-1).toString(16),f+=("0000"+parseInt(b,2).toString(16)).slice(-4);this.Sa=f;this.Jb=T(db,1);this.ia=a[0];this.M.q();this.ja.q();Q.q();F.q();za||(Aa=Ha(),G&&m.document.addEventListener&&m.document.addEventListener(G,Ia,k),Ga("focus",
"onfocusin",Ea),Ga("blur","onfocusout",Fa),Aa&&Ea(),za=h);this.fa=0;this.nb=C(E,"a",this.Kb,this)};function eb(a){if(!a.D.k("_SUPERFLY_nosample")&&!H)a.Ib?a.ra():(a.Ib=h,!m._sf_async_config&&!m._cbq?(a.Da=p(a.ra,a),s(m,"load",a.Da)):a.ra())}l.ra=function(){var a=m._sf_startpt,b=m._sf_endpt;if(v(a))this.Ea=v(b)?b-a:o()-a;F.q();a=p(this.ga,this);this.Va=oa(a,15E3);this.ga()};
l.ga=function(){var a=this.M.U,a=this.a.reading&&+this.a.reading||a>0;if(this.la<this.X&&!a)this.la++;else{var b;if(na===g)b=m.navigator.userAgent,na=b.indexOf("AppleWebKit")>0&&b.indexOf("FBIOS")>0;b=na;b&&!a?this.la++:(a?this.X=0:fb(this),this.la=0,this.aa.push(0),this.aa.length>18&&this.aa.shift(),this.Ha&&o()-this.Z>=this.Ba?this.terminate():this.ha())}};
l.ab=function(){this.aa.push(1);var a=0;n(this.aa,function(b){a+=b});a<3?(this.Fa=h,fb(this)):(this.terminate(),this.D.create("_SUPERFLY_nosample","1",600))};l.oa=function(){};l.Kb=function(){var a=gb(this);this.fa=Math.max(this.fa,a)};function gb(a){return sa(!!a.a.scrollElement)}function fb(a){var b=a.X,b=b?Math.min(b*2,16):1;a.X=b}l.ka=function(){this.oa();this.terminate()};l.gb=function(){this.q();eb(this)};
function hb(a){if(a.a.virtualReferrer)return h;a=(document.referrer||"").indexOf("://"+m.location.hostname+"/");return a!=-1&&a<9}function ib(a){a=a.a.virtualReferrer;if(!a&&(a=document.referrer||"")){var b=Pa(a);if(b.protocol==="http:"||b.protocol==="https:")b.pathname=P(b.pathname),a=Qa(b)}return encodeURIComponent(a)}function jb(a){a=a.a.title.slice(0,100);return encodeURIComponent(a)}function bb(a){a=[ib(a),B("Width"),B("Height")];return ha(a)}
function kb(a){var b=[],c=a.D.k("_chartbeat4");c&&(n(c.split("::"),function(a){b.push(encodeURIComponent(a))}),a.D.remove("_chartbeat4"));return b}l.terminate=function(){this.M.terminate();this.ja.terminate();D(E,this.nb);this.Da!==g&&ja("load",this.Da);pa(this.Va);var a=cb;V()[a]=g;a=db;V()[a]=g};var cb="d",db="n";function T(a,b){var c=V();return r(b)&&!r(c[a])?b:c[a]}function V(){r(m._cb_shared)||(m._cb_shared={});return m._cb_shared};function lb(a){for(var b=T("m")||[];b.length;)a(b.shift());a={push:a};V().m=a};function mb(a){var b=a.offsetLeft,c=a.offsetTop,d=nb(a);b+=d.x;c+=d.y;for(var e=k,d=a.offsetParent;a&&a!==g&&a!==document.body;){if(a===d)d=nb(a),b+=a.offsetLeft+d.x,c+=a.offsetTop+d.y,d=a.offsetParent;if(ob(a,["position"]).position==="fixed"){e=h;break}a=a.parentElement}e&&(b+=0,c+=0);return{x:b,y:c}}
function ob(a,b){var c={},d,e;m.getComputedStyle?d=m.getComputedStyle(a,i):a.currentStyle?e="currentStyle":a.style&&(e="style");n(b,function(b){c[b]=d?d[b]||d.getPropertyValue(b):a[e][b]});return c}var pb=/matrix(3d)?\((.*)\)/;function nb(a){var b={x:0,y:0},a=ob(a,["transform"]).transform;if(!x(a))return b;var c=a.match(pb);if(!c)return b;var a=c[2].split(", "),d;r(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 qb(){var a=m.location.href,a=a.replace(/-{2,}/g,"-"),a=Pa(a);a.pathname=P(a.pathname);return a}
function rb(a){var b=N.k("_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=qb(),t=Qa(f);n(b,function(a,b){var f=a.split(","),j=ma(t,decodeURIComponent(f[0]));if(j===0)return c=f,d=b,k;if(e===g||j<e)e=j,c=f,d=b})}b.splice(d,1);a="_chartbeat6="+b.join("::")+sb(a);document.cookie=a;var a=[],b=c[0],f=c[1],q=c[2];c.splice(0,3);for(var j=c.length/2,u=0;u<j;u++)a.push({Wb:b,origin:f,Y:q,vb:c[u*2],Ub:c[u*2+1]});return a}
function sb(a){var b="",c;if(!(a&&a.constructor===Object))return b;a.Ya&&(c=new Date,c.setTime(c.getTime()+a.Ya),b+="; expires="+c.toGMTString());a.domain&&(b+="; domain="+a.domain);a.path&&(b+="; path="+a.path);return b}function tb(a){var b=a.topStorageDomain,a=a.domain,c=m.location.hostname;return b?b:ub(c,a)?a:c.replace(/^www\./,"")}function ub(a,b){if(a===b)return h;for(var c=b.split("."),d=a.split(".");c.length;){if(d.length===0)return k;if(c.pop()!==d.pop())return k}return h}
function vb(a,b,c,d){this.xb=a;this.wb=b;this.Vb=c;this.Y=d};function wb(a,b){for(var c=b||document.documentElement,d=[],e=i,f=a,t,q,j,u,y,I;f&&f!==c;){t=f.nodeName.toLowerCase();e=f;q=e.nodeName;if((f=f.parentNode)&&f!==document.documentElement){j=f.children;u=0;for(y=0,I=j.length;y<I;y++){if(e===j[y]){t+="["+(1+y-u)+"]";break}j[y].nodeName!==q&&u++}}d.unshift(t)}return d.join("/")};function W(){this.Qb="_t_";S.call(this)}aa(W,S);l=W.prototype;
l.q=function(){W.$.q.call(this);Sa(this.a);var a=m.location;L(this.a,"mabServer","mabping.chartbeat.net");L(this.a,"title",document.title);L(this.a,"domain",a.hostname);L(this.a,"path",Wa(!!this.a.useCanonical));this.ea=ia(a.hostname);this.a.domain=ia(this.a.domain);this.Sb=tb(this.a);this.ba=this.ma=k;this.Ra=[];var b=this,a=rb({domain:"."+this.Sb,Ya:6E4,path:"/"});if(a!==i)this.ma=h,n(a,function(a){b.Ra.push(new vb(a.origin,a.vb,a.Ub,a.Y))});this.Za=0;this.sa=i;lb(p(this.Gb,this))};
l.ha=function(){var a=this.M.N,b=xb(this),c,d=this;this.ma&&n(this.Ra,function(e){c=b+"&x="+e.wb+"&v="+e.Vb+"&ml="+e.Y+"&xo="+e.xb+"&e="+a;d.qa(c)});!this.ba&&this.sa&&yb(this,this.sa);this.ba=h};l.ra=function(){var a=m._sf_startpt,b=m._sf_endpt;if(v(a))this.Ea=v(b)?b-a:o()-a;F.q();if(this.ma)a=p(this.ga,this),this.Va=oa(a,500);this.ga()};l.ga=function(){var a,b;this.ba?(a=this.M.N,b=this.Za*15,a-b>=15&&(this.ha(),this.Za+=1),a>=45&&this.terminate()):this.ha()};
function xb(a){var b=a.a;return(m.location.protocol||"http:")+"//"+b.mabServer+"/ping/mab?h="+encodeURIComponent(b.domain)+"&p="+encodeURIComponent(b.path)+"&d="+encodeURIComponent(a.ea)+"&u="+a.ia+"&c="+Math.round((o()-a.Z)/600)/100}l.oa=function(){};l.Rb=function(a){var b=a.d,c=i;b!==i&&(c={Ia:b.s,Y:b.g,Xa:b.m});a={status:a.s,data:c,code:a.c,message:a.m};this.ba?yb(this,a):this.sa=a};
function yb(a,b){var c=xb(a),d=b.status,e=b.data;if(d=="s"&&e!==i){var f=p(a.qa,a);e.Ia&&e.Ia.constructor===Object&&n(e.Ia,function(a,b){f(c+"&x="+b+"&v="+a+"&ml="+e.Y+"&e=-1")});Object.prototype.toString.call(e.Xa)==="[object Array]"&&n(e.Xa,function(a){f(c+"&me=3&ml="+e.Y+"&x="+a)})}else d=="e"&&a.qa(c+"&me="+b.code)}l.Gb=function(a,b){for(var c=0,d=arguments.length;c<d;c++){var a=arguments[c],e=a.shift();e==="t"?this.Rb.apply(this,a):e==="v"&&this.Pb.apply(this,a)}};
l.ka=function(){V().m=[];r(this.Na)&&this.Na();W.$.ka.call(this)};l.Pb=function(a){this.Na=a};l.terminate=function(){this.Na=this.Xb=g;this.sa=i;this.ba=this.ma=g;W.$.terminate.call(this)};if(!m.pSUPERFLY_mab){var zb=new W,Ab={};Ab.evps=p(zb.ka,zb);Ab.svps=p(zb.gb,zb);m.pSUPERFLY_mab=Ab;eb(zb)};var Bb,Cb,X;
function Db(a){if(a.origin==="https://chartbeat.com"&&(a=String(a.data),a.indexOf("_cb_hud_version=")===0)){var b=a.substr(16);Eb();if(b!=="NONE")b=b.indexOf("HUD2.")===0?b.substr(5):"OLD",a="https://static.chartbeat.com/js/inpage.js",b!=="OLD"&&(a="https://static2.chartbeat.com/frontend_ng/hud/hud-inpage/hud-inpage-"+b+".js"),b=r(g)?g:{},b.src=a,a=xa("script",b),a.setAttribute("type","text/javascript"),b=document.head||document.getElementsByTagName("head")[0],r(g)?g.appendChild(a):b&&b.appendChild(a)}}
function Eb(){A(Cb);Cb=g;ja("message",Db);X&&X.parentNode&&X.parentNode.removeChild(X);X=g};function Fb(){var a=m._sf_async_config&&m._sf_async_config.domain;if(a&&!Bb){Bb=h;a="https://chartbeat.com/publishing/hud2/versioninfo/?host="+encodeURIComponent(a);s(m,"message",Db);Cb=qa(Eb,1E4);var b=r(g)?g:{};b.src=a;a=xa("iframe",b);a.style.display="none";r(g)?g.appendChild(a):document.body&&document.body.appendChild(a);X=a}}
function Gb(a){if(/[\/.]chartbeat\.com$/.test(a.origin)){var b=O.B(h),c=String(a.data);b&&c.indexOf("_cb_ip")==0&&(b.setItem("_cb_ip","1"),a.source.postMessage(1,a.origin),Fb(),ja("message",Gb))}};function Y(){"postMessage"in window&&s(m,"message",p(this.Fb,this));S.call(this);Ra("_cbq",p(this.cb,this))}aa(Y,S);
Y.prototype.q=function(){Y.$.q.call(this);var a=this.ia;V().u=a;a=this.Ga;V().t=a;this.wa=i;Sa(this.a);a=m.location;L(this.a,"pingServer","ping.chartbeat.net");L(this.a,"title",document.title);L(this.a,"domain",a.hostname);this.a.path=this.a.path?P(this.a.path):Wa(!!this.a.useCanonical);this.ea=ia(a.hostname);this.a.domain=ia(this.a.domain);this.pb=C(E,"c",this.Lb,this);this.qb=C(E,"r",this.Mb,this);this.T=i};Y.prototype.mb=function(a){this.wa=a};
Y.prototype.oa=function(){this.D.update("_chartbeat4",["t="+this.Ga,"E="+this.M.N,"EE="+this.ja.N,"x="+gb(this),"c="+Math.round((o()-this.Z)/600)/100,"y="+B("Height"),"w="+ta()].join("&"),3600,g,g,1)};var Oa="h,p,u,d,g,g0,g1,g3,g4,n,nc,f,c,x,m,y,o,w,j,R,W,I,E,e,v,r,vp,K,l1,KK,PA,b,A,_c,_m,t,V,z,i,L,tz,l,,sn,C,eS,eM,eD,eK,eR,EE".split(",");l=Y.prototype;
l.ha=function(a){this.bb++;var b={};b.g=this.a.uid;b.g0=M(this.a,"sections");b.g1=M(this.a,"authors");b.g2=M(this.a,"zone");b.g3=M(this.a,"sponsorName");b.g4=M(this.a,"type");!this.a.noCookies&&this.D.isSupported()?b.n=this.Jb:b.nc=1;b.c=Math.round((o()-this.Z)/600)/100;b.E=this.M.N;b.EE=this.ja.N;var c=gb(this);this.fa=Math.max(this.fa,c);b.x=c;b.m=this.fa;b.y=B("Height");b.o=B("Width");b.w=ta();b.b=this.Ea?this.Ea:"";if(this.Sa)b.f=this.Sa;b[""]=Ta(this.a);b.t=this.Ga;b.V=69;b.tz=(new Date).getTimezoneOffset();
b.sn=this.bb;c=this.M.U;b.h=encodeURIComponent(this.a.domain);b.p=encodeURIComponent(this.a.path);b.u=this.ia;b.d=encodeURIComponent(this.ea);b.j=Math.round((this.X+2)*15E3/1E3);b.R=0;b.W=0;b.I=0;var d=b.c*6E4+this.Z;b.eD=F.ca("mousedown",d);b.eM=F.ca("mousemove",d);b.eK=F.ca("keydown",d);b.eR=F.ca("resize",d);b.eS=F.ca("scroll",d);F.Ob();F.ob()?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=hb(this);if(this.Fa){this.Fa=k;if(c)this.T=Hb(this);b.i=jb(this);d=this.a.hudTrackable;
d!==g&&(b.L=d?"1":"0");this.a.alias&&(b.PA=encodeURIComponent(this.a.alias))}if(c){if(this.T){if(b.v=encodeURIComponent(this.T.path),b.K=Ib(this.T),this.T.Ca>1)b.l1=this.T.Ca}else b.v=ib(this);this.a.virtualReferrer&&(b.vp=1)}else b.r=ib(this);c=ra(b.v);V().v=c;c=ra(b.r);V().r=c;b.A=this.wa?this.wa:"";b._c=La("utm_campaign",this.a.campaignTag);b._m=La("utm_medium",this.a.mediumTag);b.z=kb(this);b.C=this.a.mobileApp?1:"";b.KK=a?Ib(a):"";a=this.D;c=a.La;a.La=k;b.l=c?1:"";this.M.U=0;this.qa((m.location.protocol||
"http:")+"//"+this.a.pingServer+"/ping?"+Na(b))};
l.Fb=function(a){var b=this.a;if(a.origin==="http://"+(b.playerdomain||this.ea)){var c=a.data;if(x(c)&&c.indexOf("cbqpush::")===0)a=c.split("::"),a.length==3&&(a=a.slice(1),a[0].indexOf("_")===0&&this.cb(a));else if(c=="cbdata?"){var c="&u="+T("u"),d="&t="+T("t"),e="&v="+T("v"),f="&r="+T("r"),b="domain="+encodeURIComponent(b.domain)+"&uid="+encodeURIComponent(b.uid)+"&path="+encodeURIComponent(b.path)+"&title="+jb(this)+"&referrer="+ib(this)+"&internal="+(hb(this)?"1":"0")+"&subdomain="+encodeURIComponent(this.ea)+
c+d+e+f+"&utoken="+this.ia;a.source.postMessage(b,"*")}}};l.cb=function(a){a[0]==="_demo"&&this.a._demo?this.a._demo=this.a._demo+"%2C"+a[1]:this.a[a[0]]=a[1];this.X=0};function Jb(a){a=a.replace(/-{2,}/g,"-");a=Pa(a);a.pathname=P(a.pathname);return a}l.Lb=function(a){Kb(this,a,"c")};l.Mb=function(a){Kb(this,a,"r")};
function Kb(a,b,c){if(a.Ha&&o()-a.Z>=a.Ba)a.terminate();else{var d=b.href||"",d=Jb(d);if(!(d.hostname!==m.location.hostname||d.protocol.indexOf("http")!==0)){var d=Qa(d),e=ua(b,function(a){return a.id}),f=wb(b,e);e&&(f&&(f="/"+f),f="*[@id='"+e.id+"']"+f);e=fa(f);b=mb(b);c={left:b.x,top:b.y,path:a.a.path,href:d,Pa:e,Oa:f,Ja:c,Ca:0};a.ha(c);a.D.update("_chartbeat5",Lb(c),60,k,g,5,function(a){a=a.split(",");return a[2]+","+a[3]})}}}
function Ib(a){return[a.left,a.top,a.Pa,encodeURIComponent(a.Oa),a.Ja,encodeURIComponent(a.href)].join("::")}function Lb(a){var b=encodeURIComponent(a.Oa),b=b.replace(/-/g,"%2D");b.length>512&&(b="");return[a.left,a.top,encodeURIComponent(a.path),encodeURIComponent(a.href),a.Pa,b,a.Ja].join(",")}
function Hb(a){var b=a.D.k("_chartbeat5");if(!b)return i;var c=b.split("::"),b=c.length,d,e;if(b===1)d=c[0].split(","),e=0;else{var f,t=Jb(m.location.href),q=Qa(t);n(c,function(a,b){var c=a.split(","),t=ma(q,decodeURIComponent(c[3]));if(t===0)return d=c,e=b,k;if(f===g||t<f)f=t,d=c,e=b})}c.splice(e,1);a.D.create("_chartbeat5",c.join("::"),60);(a=d[5])?(a=a.replace(/%2D/g,"-"),a=decodeURIComponent(a)):a="";return{left:d[0],top:d[1],path:decodeURIComponent(d[2]),href:decodeURIComponent(d[3]),Pa:d[4]||
"",Oa:a,Ja:d.length>6?d[6]:"c",Ca:b}}l.terminate=function(){D(E,this.pb);D(E,this.qb);Y.$.terminate.call(this)};if(!m.pSUPERFLY){var Mb=new Y,Z={};m.pSUPERFLY=Z;var Nb=m.pSUPERFLY_mab,$=m.pSUPERFLY_pub,Ob=[];Nb&&Ob.push(Nb);if($)Ob.push($),$.addEngagedAdFilter&&(Z.addEngagedAdFilter=$.addEngagedAdFilter),$.refreshAd&&(Z.refreshAd=$.refreshAd),$.registerGptSlot&&(Z.registerGptSlot=$.registerGptSlot),Ra("_cba",function(a){a()});Z.virtualPage=function(a,b){if(!H){var c=m._sf_async_config;c.virtualReferrer=m.location.protocol+"//"+c.domain+c.path;c.path=P(a);b&&(c.title=b);Mb.ka();n(Ob,function(a){a.evps()});Mb.gb();
n(Ob,function(a){a.svps()})}};Z.activity=p(Mb.mb,Mb);eb(Mb);var Pb=O.B(h);if(Pb)if(Pb.getItem("_cb_ip")){var Qb=m.location;(!/^(.+[.])?chartbeat\.com$/.test(Qb.hostname)?0:/^\/publishing\/(overlay|hud|mab)\//.test(Qb.pathname))||Fb()}else s(m,"message",Gb)};})();
