/* Radar.js v20.64. Copyright 2017 Cedexis. All rights reserved. */ if(!cedexis||!cedexis.start){if(!cedexis)var cedexis={};(function(_){_.MP="//radar.cedexis.com/releases/1510160024/"; _.MI={"radar":[],"impact":["radar"],"video":["radar"]};_.MU={"radar":["radar.js"],"impact":["impact.js"],"video":["video.js"]}; var aa,ba,ea,fa,ga,C,ha,ka,la,ma,na,oa,qa,ra,sa,ta,wa,xa,F,ya,za,Ba,Ca,Ea,Fa,Ga,La,Ia,Ma,Pa,Ua,Wa,Ta,db,Za,Xa,Ya,eb,gb,ab,jb,kb,ib,nb,pb,qb,rb,sb,ub,vb,wb,yb,zb,Bb,Fb,Gb,Ib,Kb,Lb,Mb,Pb,Nb,Vb,$b,Wb,cc,bc,Yb,Tb,oc,pc,rc,uc,vc,xc,wc,zc,Ac,Ec,Fc,Hc,Ic,Lc,Mc,Pc,Rc,Sc,Tc,Uc,Vc,Wc,Yc,Xc,Zc,bd,cd,dd,ed,gd,id,jd,md,kd,sd,ld,td,od,pd,Qc,yc,Q,Oc,M,Kc,Nc,ud,vd,N,Jc,Bc,xd,wd,yd,Cd,Ad,Dd,Bd,Ed,Kd,Jd,Ld,Id,qc,Nd,Pd,Od,Sd,Td,tc,Ud,Vd,nd,p,Db,Eb;_.m=function(a){return void 0!==a}; aa=function(a,b){for(var c=a.split("."),d=b||p,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d};_.q=function(){}; ba=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b};_.r=function(a){return"array"==ba(a)};_.ca=function(a){var b=ba(a);return"array"==b||"object"==b&&"number"==typeof a.length};_.t=function(a){return"string"==typeof a};_.da=function(a){return"boolean"==typeof a};_.u=function(a){return"number"==typeof a};_.v=function(a){return"function"==ba(a)};_.w=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};ea=function(a,b,c){return a.call.apply(a.bind,arguments)}; fa=function(a,b,c){if(!a)throw Error();if(2b?1:0};na=function(a,b,c){this.j=c;this.h=a;this.l=b;this.g=0;this.f=null};oa=function(a,b){a.l(b);a.gb?null:_.t(a)?a.charAt(b):a[b]};_.ua=function(a,b,c){for(var d=a.length,e=_.t(a)?a.split(""):a,f=0;fc.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(!c.keyCode)try{c.keyCode=-1;break a}catch(k){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.f;f;f=f.parentNode)c.push(f);for(var f=a.type,g=c.length-1;0<=g;g--){d.f=c[g];var h=cc(c[g],f,!0,d),e=e&&h}for(g=0;g>=8;b[c++]=e}if(!ec)for(ec={},fc={},a=0;65>a;a++)ec[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),fc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-".charAt(a);a=fc;c=[];for(d=0;d>2,f=(f&3)<<4|g>>4,g=(g&15)<<2|k>>6,k=k&63;h||(k=64,e||(g=64));c.push(a[n],a[f], a[g],a[k])}return c.join("")};_.hc=function(a){return Math.floor(Math.random()*a)};_.ic=function(a){var b,c=[];for(b=0;bb&&window.setTimeout(_.y(rc,a,b+1),200);else if(!(c.connectEnd=a?0:Math.floor(a+2E-15)}var c=[];if(null!==a){var d=a.startTime;c.push(b(d));c.push(b(a.redirectStart-d));c.push(b(a.redirectEnd-d));c.push(b(a.fetchStart-d));c.push(b(a.domainLookupStart-d));c.push(b(a.domainLookupEnd-d));c.push(b(a.connectStart-d));c.push(b(a.secureConnectionStart-d));c.push(b(a.connectEnd-d));c.push(b(a.requestStart-d));c.push(b(a.responseStart- d));c.push(b(a.responseEnd-d));c.push(b(a.duration));a=a.transferSize;a=_.u(a)?a:0;c.push(a)}return c}(b.j));_.kc("//"+a.g.v+"/"+c.join("/"))};Ac=function(a){ga("radar.stoppedAt",null);ga("cedexis.radar.stopped_at",null);var b=window.document.createElement("script");b.type="text/javascript";b.async=!0;b.src=M(a);b.onerror=a.reject;void 0!==b.onreadystatechange?b.onreadystatechange=_.y(Ac.g,a):b.onload=_.y(Ac.f,a);window.document.body.appendChild(b);Bc(a,function(){window.document.body.removeChild(b)})}; _.Dc=function(){var a=window.performance.getEntriesByType("resource");return _.r(a)?Cc.concat(a):Cc};Ec=function(){var a=window.performance.getEntries().length;if(1500<=a)a=window.performance.getEntriesByType("resource"),_.r(a)&&(Cc=a),window.performance.clearResourceTimings();else{for(var b=0;1500>b&&b<=a;)b+=50;150>=b&&(b=150);window.performance.setResourceTimingBufferSize(b)}};Fc=function(a,b){this.f=a;this.g=b}; Hc=function(a){if(_.L)for(var b=_.Dc(),c=b.length;c--;)if(b[c].name===a)return b[c];Gc=!0;return null};Ic=function(a,b,c,d,e){var f=Hc(this.src);if(_.w(f)){if(!f.duration&&(_.u(e)||(e=0),10>e)){window.setTimeout((0,_.x)(Ic,this,a,b,c,d,e+1),10);return}f[b]&&f[c]&&f[c]>=f[b]?Jc(d,new Fc(a(f[c]-f[b]),f)):Jc(d,new Fc(a(f.duration),f))}else 1===d.G?N(d,_.B()-d.Z()):N(d)}; Lc=function(a){if(14===a.G){var b=Kc(a)||1E5;Ic.apply(this,[function(a){return 8*b/a},"requestStart","responseEnd",a])}else Ic.apply(this,[function(a){return a},"requestStart","responseStart",a])};Mc=function(a){Ic.apply(this,[function(a){return a},"domainLookupStart","domainLookupEnd",a])}; Pc=function(a,b,c){if(mc){var d=Nc();Oc(a,d.src=M(a));var e=function(a){a=a.da;a.source==d.contentWindow&&b(a.data)};_.J(window,"message",e);c&&_.J(d,"load",c);window.document.body.appendChild(d);Bc(a,function(){window.document.body.removeChild(d);_.K(window,"message",e)})}else-1===a.G?N(a,0):a.reject()}; Rc=function(a){var b=a.la,c=0,b=b.slice(b.lastIndexOf("/")+1),d=[/cdx10b/,/rdr12/,/radar\.js/,/r\d+(-\d+kb)?\.js/i,/r\d+\w+(-\d+kb)?\.js/i],e;"d17.html"===b&&(c=c||4);for(e=0;eb.length?"0":b.join("@")}; Ud=function(a){var b=/radar_(tags|impact)_(\w{3,})/i,c;if(("radar_tags_"===a.slice(0,11)||"radar_impact_"===a.slice(0,13))&&(b=b.exec(a))&&3===b.length){try{c=_.O(window[a])}catch(d){return null}return b[2]+":"+_.gc(c)}return null}; Vd=function(a,b,c,d){if(Vd.f()){_.u(a)&&_.u(b)&&(new Sd(a,b)).start(c,d);var e=/\/(\d)\/(\d+)\/radar\.js/,f=/\/([\d]{1,2})-(\d{1,5})-radar10\.min\.js/;_.D(window.document.getElementsByTagName("script"),function(a){var b=e.exec(a.src)||f.exec(a.src);b&&b[2]&&(a=(0,window.parseInt)(b[1],10),b=(0,window.parseInt)(b[2],10),(a||b)&&(new Sd(a,b)).start())})}};nd=nd||{};p=this;Db="closure_uid_"+(1E9*Math.random()>>>0);Eb=0;var Wd=_,lb=Wd.MI,mb=Wd.MU,ob=Wd.MP,Xd=Wd.monkey||Wd.custom;C(ha,Error);ha.prototype.name="CustomError";na.prototype.get=function(){var a;0(0,window.parseFloat)(fe)){Ab=String(he);break a}}Ab=fe}var xb={},ie;var je=p.document;ie=je&&hd?zb()||("CSS1Compat"==je.compatMode?(0,window.parseInt)(Ab,10):5):void 0;var ke;(ke=!hd)||(ke=9<=Number(ie));var Zb=ke,le=hd&&!Bb("9");var Cb=0;Fb.prototype.w=!1;Gb.prototype.h=function(){this.za=!1};C(Ib,Gb);Ib.prototype.h=function(){Ib.sb.h.call(this);var a=this.da;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,le)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Jb;_.Rb="closure_listenable_"+(1E6*Math.random()|0);Jb=0;Mb.prototype.ma=function(a,b,c,d){a=this.f[a.toString()];var e=-1;a&&(e=Nb(a,b,c,d));return-1>>0);var mc,lc,nc;mc=function(){if(!_.v(window.postMessage))return!1;try{return _.J(window,"message",_.q),_.K(window,"message",_.q),!0}catch(a){return!1}}();lc=5==ie?!1:window.performance&&_.w(window.performance.timing)?!0:!1;_.L=hd&&!Bb(11)?!1:window.performance&&_.v(window.performance.getEntriesByType)&&_.v(window.performance.getEntries)&&_.v(window.performance.clearResourceTimings)&&_.v(window.performance.setResourceTimingBufferSize)?!0:!1;nc=!ee;var ec=null,fc=null;var me;try{(new _.tb).f(),me=!0}catch(a){me=!1};var sc="navigationStart unloadEventStart unloadEventEnd redirectStart redirectEnd fetchStart domainLookupStart domainLookupEnd connectStart connectEnd secureConnectionStart requestStart responseStart responseEnd domLoading domInteractive domContentLoadedEventStart domContentLoadedEventEnd domComplete loadEventStart loadEventEnd".split(" ");Ac.g=function(a){"loaded"!==this.readyState&&"complete"!==this.readyState||Ac.f(a)};Ac.f=function(a){var b=(window.radar.stoppedAt||window.cedexis.radar.stopped_at||new Date).getTime()-a.Z();14===a.G&&(b=8*(Kc(a)||1E5)/b);N(a,b)};var Cc=[];_.L&&(Ec(),_.v(window.performance.addEventListener)?_.J(window.performance,"resourcetimingbufferfull",Ec):window.performance.onresourcetimingbufferfull||(window.performance.onresourcetimingbufferfull=Ec));var Gc=!1;Sc.listener=function(a,b){_.w(b)&&b.id==a.K.g()&&N(a,b.node)};C(Uc,Fb);Uc.prototype[_.Rb]=!0;_.l=Uc.prototype;_.l.addEventListener=function(a,b,c,d){_.J(this,a,b,c,d)};_.l.removeEventListener=function(a,b,c,d){_.K(this,a,b,c,d)};_.l.dispatchEvent=function(a){var b=this.M,c=a.type||a;if(_.t(a))a=new Gb(a,b);else if(a instanceof Gb)a.g=a.g||b;else{var d=a;a=new Gb(c,b);Ea(a,d)}d=!0;b=a.f=b;d=Vc(b,c,!0,a)&&d;return d=Vc(b,c,!1,a)&&d};_.l.ma=function(a,b,c,d){return this.S.ma(String(a),b,c,d)}; _.l.hasListener=function(a,b){return this.S.hasListener(_.m(a)?String(a):void 0,b)};var ad={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},$c=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;_.l=dd.prototype;_.l.$=function(){ed(this);for(var a=[],b=0;bb[0]?N(a,8*(Kc(a)||1E5)/(b[2]-b[0])):b[1]&&b[1]>=b[0]?N(a,b[1]-b[0]):a.reject()}},function(b){b.f.contentWindow.postMessage([["timing","requestStart"],["timing","responseStart"],["timing","responseEnd"],["uniqueNodeId",a.Da]],"*")})}; P[14]=function(a){if(1===a.G||!Gc&&_.L){var b=M(a),c=function(b){b.requestStart&&b.responseStart&&b.responseStart>=b.requestStart?N(a,b.responseStart-b.requestStart):N(a,b.duration)},d=new gd;_.J(d,"complete",function(){var d=Hc(b);null===d?1===a.G?N(a,_.B()-a.Z()):N(a):0==d.duration?window.setTimeout(function(){c(d)},100):c(d)});d.send(b)}else N(a)};P[15]=function(a){var b=new gd;_.J(b,"complete",function(){var c=(new RegExp(a.Da,"mi")).exec(b.getAllResponseHeaders());c?N(a,c[1]):N(a,1)});b.send(M(a))};yc.prototype.toString=function(){return"cedexis.RadarReportData ("+this.f+","+this.g+","+this.h+","+this.j+")"};Q.prototype.Y=function(){return this.K.Y()};Q.prototype.Z=function(){return this.l};Q.prototype.na=function(){this.l=_.B();var a=this;this.g=window.setTimeout(function(){-1==a.G?N(a,1):a.reject(1)},this.o);var b=Qc(this.j,this);return new _.I(function(c,d){a.w=c;a.h=d;b.apply(a,[a])})};Q.prototype.reject=function(a){if(!ud(this))for(_.u(a)||(a=4),xc(this.Y(),new yc(this.G,a,0,null)),this.h(a);this.f.length;)this.f.shift()()};xd.prototype.Y=function(){return this.j};xd.prototype.g=function(){return this.f.p.i};xd.prototype.na=function(a){a=yd(a||this);var b=_.Sa();_.D(a,function(a){b=b.then((0,_.x)(a.na,a))});return b};var oe=_.B();if("complete"!=window.document.readyState){var pe=function(){oe=_.B();ya(zd,function(a){a.next()});_.K(window,"load",pe)},oe=oe+6E4;_.J(window,"load",pe)}var zd={}; Ad.prototype.next=function(){(0,window.clearTimeout)(this.g);this.g=null;this.f||(this.j={});var a=_.B()-oe;for(_.D(Ca(this.h),function(b){for(var c=this.h[b];c&&c.L<=a;){var e=0;if(0>c.L)e=-1;else{var f=this.f?this.f.L:0,g=this.j[b];g&&(f>g?e=f:e=g);this.j[b]=e+1}f=c.O;c.L=e;this.f=Dd(this.f,c);c=f}c?this.h[b]=c:delete this.h[b]},this);this.f&&0>this.f.L;)Ed(this);if(!this.l.length)if(this.f)Ed(this);else if(_.Aa(this.h)){var b=null;ya(this.h,function(a){if(!b||b>a.L)b=a.L});b&&(this.g=window.setTimeout((0,_.x)(this.next, this),oe+b-_.B()))}};Ad.prototype.o=function(a){wa(this.l,a);this.next()};var Fd="master_sample_rate",Gd="navigation_timing_sample_rate",Hd="remote_probing_sample_rate";var Md=0;Nd.prototype.start=function(a){a||(a=1);this.l=Math.max(this.l,a);if(this.f==Md)this.f=1;else if(2==this.f)this.f=3;else return;pc(this.g).then((0,_.x)(this.w,this),(0,_.x)(this.o,this))}; Nd.prototype.w=function(a){a=Tc(a);_.v(Xd)&&(a=Xd(this.g.g,this.g.f,a));var b=(0,_.x)(this.o,this),c=new Kd(this.g,a);this.h=c.g;Jd(c,function(){return new _.I(function(a){b();a()})});if(1==this.f){var d=a.impactKpis4;!d&&this.j&&(d={});d?(Pd(this,function(){rc(c)}),Od(this,d)):rc(c);(a=a.videoQoS)&&$d((0,_.x)(this.A,this,a));this.f=3}}; Nd.prototype.o=function(){this.f=9;--this.l;0this.h&&(this.h=6E4),(0,window.setTimeout)((0,_.x)(function(){this.start()},this),this.h)))};Nd.prototype.A=function(a){(new _.S(window,window.document,this.g.g,this.g.f,a)).Ia()};var Rd={};Sd.prototype.start=function(a,b){this.h=b;this.j.start(a)};ga("cedexis.start",Vd);Vd.f=function(){var a=E;return function(){return ta(function(b){return la(a,b)?!0:!1})}()||la(a,"msie")&&!la(a,"msie 11")||ka(a)||!_.w(window.JSON)||!_.v(JSON.parse)?!1:me}; })(cedexis)}cedexis.start();