;/* Version ebf1620b3b847dfbf76f6e109dcacd8e v:22.4.0.3721, c:b473f94ba4c6cdf50fa092395b9896b98d086627, b:22.4.0.3721 */(function(){/*


 Copyright (c) 2013, AppDynamics, Inc. All rights reserved.

 Derivative of Google Episodes:

 Copyright 2010 Google Inc.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 See the source code here:
 http://code.google.com/p/episodes/
*/
new function(){var k=window.ADRUM;if(k&&k.q&&!0!==window["adrum-disable"]){var y=window.console,A=y&&"function"==typeof y.log?y:{log:function(){}},u=this&&this.Zc||function(){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var b in a)a.hasOwnProperty(b)&&(d[b]=a[b])};return function(h,a){function b(){this.constructor=h}d(h,a);h.prototype=null===a?Object.create(a):(b.prototype=a.prototype,new b)}}();(function(d){(function(h){h.toJSONString=
function(a){function b(d){return d.replace(/\s/g,"")===e}var l={a:[1,2,3,"str"]},e='{"a":[1,2,3,"str"]}';if("undefined"!==typeof JSON&&JSON&&h.isFunction(JSON.stringify)&&b(JSON.stringify(l)))return JSON.stringify(a);if("undefined"!==typeof Object&&Object&&h.isFunction(Object.toJSON)&&b(Object.toJSON(l)))return Object.toJSON(a);d.log("M263");return null};h.qd=function(a,b,l){var e=a,c=l;"xhr"===l&&(e=document.createElement("div"),a.appendChild(e),c="xhr_"+a.getElementsByTagName("div").length);a=document.createElement("p");
a.innerHTML="Script loaded from "+d.conf.adrumExtUrl+". Metrics collected are:";e.appendChild(a);a=document.createElement("table");a.id="ADRUM_"+c;var c=document.createElement("tbody"),g;for(g in b){l=document.createElement("tr");var h=document.createElement("td");h.innerHTML=g;h.className="name";var f=document.createElement("td");f.innerHTML=String(b[g]);f.className="value";l.appendChild(h);l.appendChild(f);c.appendChild(l)}a.appendChild(c);e.appendChild(a)};h.dumpObject=function(){function d(b,
l){try{if("object"!=typeof b)return String(b);if(0<=h.bc(l,b))return"Already visited";l.push(b);var e;if(h.isArray(b)){for(var c="[ ",g=0;g<b.length;g++)0!=g&&(c+=", "),c+=d(b[g],l);e=c+" ]"}else{var c="{ ",g=!0,m;for(m in b)g?g=!1:c+=", ",c+=d(m,l)+" => "+d(b[m],l);e=c+" }"}return e}catch(f){return"dumpObject failed: "+f}}return function(b){return d(b,[])}}();h.bc=h.isFunction(Array.prototype.indexOf)?function(d,b){return d.indexOf(b)}:function(d,b){for(var l=0;l<d.length;l++)if(d[l]==b)return l;
return-1};h.compareWindows=function(d,b){return d==b};h.Fd=function(d,b,l,e,c){if(!h.isDefined(b))return b;if(h.isArray(b)){d=[];for(var g=0,m=b.length;g<m;g++)d[g]=h.Fd(g,b[g],l,e,c);return d}if(h.isFunction(b))return b;if(h.isObject(b)){d={};for(g in b)h.hasOwnPropertyDefined(b,g)&&(d[l(g)]=c&&c(g)?b[g]:h.Fd(g,b[g],l,e,c));return d}return e(d,b)};h.nm=function(d){var b=[],l;for(l in d)h.hasOwnPropertyDefined(d,l)&&b.push([l,d[l]]);return b};h.yn=function(){try{localStorage.setItem("try","try");
var d=localStorage.getItem("try");localStorage.removeItem("try");return"try"===d}catch(b){return!1}};h.xn=function(){try{var d=h.toJSONString({v:1});return 1===JSON.parse(d).v}catch(b){return!1}};h.zn=function(){return h.isFunction(window.postMessage)};h.gk=function(d,b){var l=document.createElement("div");l.innerHTML='<iframe id="'+b+'" src='+d+' width="0" height="0" tabindex="-1" title="empty" style="display: none;"></iframe>';document.body.appendChild(l);return document.getElementById(b)};h.vh=
function(d,b){h.isDefined(b)&&(d.parentPageName=b)};h.Ld=function(d){return h.isNumber(d)&&isFinite(d)&&Math.floor(d)===d}})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(d){d.Ih=function(d){return/^[0-9]+$/.test(d)?Number(d):null};d.sg=function(d){return"number"===typeof d&&!isNaN(d)&&isFinite(d)}})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(h){function a(c){var e=c.split("\r\n"),l=/^\s*ADRUM_(\d+): (.+)\s*$/i;c=[];for(var b=0;b<e.length;b++){var h=e[b];try{var a=l.exec(h);
a&&c.push([Number(a[1]),a[2]])}catch(k){d.exception(k,"M266",h)}}Array.prototype.sort.call(c,function(d,c){return d[0]-c[0]});a=[];for(e=0;e<c.length;e++)a.push(c[e][1]);return a}var b=d.utils.hasOwnPropertyDefined,l=null,e=null;h.cg=function(){e||(e=h.Lg(h.be(h.cookieMetadataChunks),h.be(d.footerMetadataChunks)));return e};h.getPageGUID=function(){var c=d.monitor.DOMEventsMonitor,e=d.utils.isObject(c.currentBasePage)&&d.utils.isFunction(c.currentBasePage.guid);if(!l){var b=h.cg();l=b&&b.clientRequestGUID||
(e?c.currentBasePage.guid():d.utils.generateGUID())}return l};h.hl=function(c){c=a(c);d.log("M264",c);return h.Lg(h.be(c))};h.Lg=function(c,e){function l(c){for(var e=0;e<c.length;e++){var g=c[e];g!=b&&0>d.utils.bc(s,g)&&s.push(g)}}if(!c||0>=c.Xa.length)return null;e||(e=c);var b;if(0<e.Xa.length){if(b=e.Xa[0],0>d.utils.bc(c.Xa,b))return null}else return d.error("M265"),null;var a=e.serverSnapshotType||c.serverSnapshotType,k=e.hasEntryPointErrors||c.hasEntryPointErrors,s=[];l(c.Xa);l(e.Xa);var t=
{clientRequestGUID:b,btGlobalAccountName:c.btGlobalAccountName};0<s.length&&(t.otherClientRequestGUIDs=s);0<h.Kg(c.btTime,e.btTime).length&&(t.btTime=h.Kg(c.btTime,e.btTime));null!==a&&(t.serverSnapshotType=a);null!==k&&(t.hasEntryPointErrors=k);return t};h.Kg=function(d,e){for(var l=d.concat(e),h={},a={},k=0;k<l.length;k++){var s=l[k];s.id in h||(h[s.id]=-1);h[s.id]=Math.max(h[s.id],s.duration);s.id in a||(a[s.id]=-1);a[s.id]=Math.max(a[s.id],s.ert)}var l=[],t;for(t in h)b(h,t)&&l.push({id:t,duration:h[t],
ert:a[t]});return l};h.be=function(c){if(!d.utils.isArray(c))return null;for(var e=[],l=null,b=[],h=null,a=null,k=0;k<c.length;k++){var t=c[k];if("string"!==typeof t)return null;t=t.replace(/^"|"$/g,"");t=decodeURIComponent(t).split(",")[0].replace(/^\s+|\s+$/g,"").split(":");if(2===t.length){var q=t[1];switch(t[0]){case "clientRequestGUID":case "g":e.push(q);break;case "btId":case "i":b.push({id:q,duration:-1,ert:-1});break;case "btDuration":case "d":if(0===b.length)return null;t=d.utils.Ih(q);if(!d.utils.sg(t)||
-1>t)return null;b[b.length-1].duration=t;break;case "btERT":case "e":if(0===b.length)return null;t=d.utils.Ih(q);if(!d.utils.sg(t)||-1>t)return null;b[b.length-1].ert=t;break;case "serverSnapshotType":case "s":h=q;break;case "globalAccountName":case "n":l=q;break;case "hasEntryPointErrors":case "h":a=q}}}return 0===e.length?null:{Xa:e,btGlobalAccountName:l,btTime:b,serverSnapshotType:h,hasEntryPointErrors:a}};h.qp=a})(d.correlation||(d.correlation={}))})(k||(k={}));(function(d){var h=d.conf||(d.conf=
{});h.uo=3E3;h.useDebugBeaconParams=d.isDebug;h.wj=1E3;h.Ui=2;h.Ti=5;h.Ni=5;h.Oi=20;h.Se=5E3;h.qb=512;h.ri=10;h.qi=64;h.ej=10;h.dj=10;h.$i=300;h.Xi=2048;h.rb=2048;h.sb=760;h.Ve=2E4;h.Dg={eumAppKey:"ky",userPageName:"un",clientRequestGUID:"cg",otherClientRequestGUIDs:"og",baseGUID:"bg",parentGUID:"mg",parentPageUrl:"mu",parentPageType:"mt",parentLifecyclePhase:"pp",pageType:"pt",pageUrl:"pu",pageReferrer:"pr",pageTitle:"pl",pageName:"pn",httpHeaders:"hh",parameter:"pa",navOrXhrMetrics:"mn",cookieMetrics:"mc",
backTimeGap:"bd",resourceTimingInfo:"rt",userData:"ud",userDataLong:"udl",userDataDouble:"udd",userDataBoolean:"udb",userDataDate:"udt",errors:"er",ajaxError:"ae",xhrStatus:"xs",btTime:"bt",btGlobalAccountName:"btgan",serverSnapshotType:"ss",hasEntryPointErrors:"se",dataType:"dt",geoCountry:"gc",geoRegion:"gr",geoCity:"gt",localIP:"lp",ip:"ip",BEACONS:"B",ver:"vr",eom:"em",agentId:"ai",rootGUID:"rg",events:"es",guids:"gs",urlParts:"up",sequenceId:"si",eventType:"et",eventGUID:"eg",parentType:"at",
serverMetadata:"sm",eventUrl:"eu",line:"ln",message:"dm",duration:"dn",id:"id",ert:"ert",parentUrl:"au",parentPageName:"an",geo:"ge",metrics:"mx",timestamp:"ts",country:"c",region:"r",city:"t",method:"md",clientId:"ci",releaseKey:"rk"}})(k||(k={}));(function(d){d=d.beacons||(d.beacons={});d.numBeaconsSent=0;d.beaconsSent=[]})(k||(k={}));(function(d){(function(h){var a=function(){function b(){}b.prototype.send=function(l,e,c){e=(e?d.conf.beaconUrlHttps:d.conf.beaconUrlHttp)+d.conf.corsEndpointPath+
"/"+d.conf.appKey+"/adrum";var b=d.utils.toJSONString(l);navigator.sendBeacon&&c&&b?(navigator.sendBeacon(e,b),d.isDebug&&h.beaconsSent.push(l),h.numBeaconsSent+=1):(d.utils.isFunction(d.xhrConstructor)&&d.utils.isFunction(d.xhrOpen)?(c=new d.xhrConstructor,d.xhrOpen.call(c,"POST",e)):(c=new XMLHttpRequest,c.open("POST",e)),c.setRequestHeader("Content-type","text/plain"),null!=b&&(d.utils.isFunction(d.xhrConstructor)&&d.utils.isFunction(d.xhrSend)?d.xhrSend.call(c,b):c.send(b),d.log("M267",e),d.log("\n"),
d.log("<hr/>"),d.isDebug&&h.beaconsSent.push(l),h.numBeaconsSent+=1))};return b}();h.li=a})(d.beacons||(d.beacons={}))})(k||(k={}));k||(k={});(function(d){var h=function(){function h(d,l){this.nc=d;this.yl=l}h.prototype.Dd=function(){try{return h.Yf(this.yl.ADRUM)}catch(b){return d.error("M268"),h.Yf(d)}};h.Yf=function(d){return d.correlation.getPageGUID()};return h}();d.hi=h})(k||(k={}));(function(d){d.beacons||(d.beacons={})})(k||(k={}));(function(d){(function(d){var a=function(){function b(){this.ec=
[];this.rd={}}b.prototype.Bb=function(l){if(!l)return"";if(d.hasOwnPropertyDefined(this.rd,l))return this.rd[l];var e=this.ec.length;this.rd[l]=e;this.ec[e]=l;return e};return b}();d.Re=a})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(h){var a=d.utils.map,b=function(){function d(){}d.tn=function(d){d=(d||"").match(/([^:\/?#]+:\/\/)?([^?#]+)?(\?[^#]*)?(#[\s\S]*)?/);var c={};d[1]&&(c.protocol=d[1].substring(0,d[1].length-3));d[2]&&(c.path=d[2]);d[3]&&(c.Tm=d[3]);d[4]&&(c.anchor=d[4]);
return c};d.Hf=function(e,c){var b=d.tn(e),h="";b.protocol&&(h+=c.Bb(b.protocol),h+="://");b.path&&(h+=a(b.path.split("/"),c.Bb,c).join("/"));return h+=a([b.Tm,b.anchor],function(d){return d?d[0]+c.Bb(d.slice(1)):""},c).join("")};d.tk=function(d,c){return""+c.Bb(d)};return d}();h.Uc=b})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(h){(function(h){function b(){var c=null,l=null;try{c=localStorage[e]}catch(b){}if(c)try{c=l=JSON.parse(c),d.utils.isObject(c)&&d.utils.isNumber(c[m])&&
-1<c[m]?f=l:d.error("M269")}catch(h){d.log(h,"M270");try{delete localStorage[e]}catch(g){d.log(g,"M271")}}}function l(){try{var l=d.channel,b=f[c]||f[g],h=l&&l.ca&&l.ca.aa&&l.ca.aa.id||(d.utils.isString(b)?b:d.utils.generateGUID());f[c]=f[g]=h;localStorage[e]=d.utils.toJSONString(f)}catch(a){}}var e="ADRUM_CLIENTINFO",c="agentId",g="clientId",m="seqId",f;b();f||(f={seqId:0});l();h.Rk=function(){b();var d=f[m]++;l();return d}})(h.uf||(h.uf={}))})(d.uh||(d.uh={}))})(k||(k={}));(function(d){(function(h){var a=
function(){function b(){this.urlCapture={filterURLQuery:!1};this.eh=/;jsessionid=[^/?]+/;h.mergeJSON(this.urlCapture,d.conf.userConf.urlCapture);h.isBoolean(this.urlCapture.filterURLQuery)||h.isArray(this.urlCapture.filterURLQuery)||(d.log("M272"),this.urlCapture.filterURLQuery=!1)}b.rn=function(d){for(var e=0,c=0;c<d.length;c++)e=(e<<5)-e+d.charCodeAt(c),e|=0;return e};b.prototype.cl=function(d){var e="",c,b;if(!h.isString(d))return"";c=d.indexOf("?")+1;0<c&&(b=d.indexOf("#"),0>b?e=d.substring(c):
c<=b&&(e=d.substring(c,b)));return e};b.prototype.zk=function(d){var e="",c=this.urlCapture.filterURLQuery,b={},a=0,f,k,n;if(!h.isString(d)||""===d)return"";if(!1===c)return d;f=this.cl(d);if(""===f)return d;if(h.isArray(c)){for(n=0;n<c.length;n++)b[c[n]]=!0;c=f+"&";for(n=0;n<c.length;n++)switch(c[n]){case "=":k=c.substring(a,n);break;case "&":case ";":k=k||c.substring(a,n),n++,b[k]||(e+=c.substring(a,n)),a=n,k=null}e=e.substring(0,e.length-1)}""==e&&(f="?"+f);return d.replace(f,e)};b.prototype.Da=
function(d){if(null===d||void 0===d)return null;if(""===d)return"";var e=d.match(this.eh),c=d;if(null!=e){var b=d.indexOf("?");if(0>b||b>e.index)c=d.replace(this.eh,"")}return c=this.zk(c)};b.prototype.Kf=function(d){if(null===d||void 0===d)return null;var e=d.indexOf("?"),c=d.indexOf("#");0>e&&(e=Number.MAX_VALUE);0>c&&(c=Number.MAX_VALUE);return d.substring(0,Math.min(e,c))};b.prototype.Am=function(d){if(null===d||void 0===d)return null;var e=this.Kf(d);d=b.rn(d.substring(e.length));return e+(d?
"?hash="+d:"")};return b}();h.yo=a;h.da=new a})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(h){(function(h){var b=function(){function b(e,c,l){var h=this;this.Xm=0;this.fe=[];this.fg=!1;this.ol=l;d.utils.addEventListener(window,"message",function(d){h.Fm(d)});this.nl=d.utils.gk(c,e)}b.prototype.Fm=function(e){var c;try{if(c=JSON.parse(e.data),"ADRUM_XD"!==c.name)d.log("M273");else if(!0===c.success)if(-1===c.id&&"iframe-ready"===c.data)this.fg=!0,this.ol();else{if(this.fe[c.id])this.fe[c.id](c.data)}else d.error("M274",
e.data)}catch(b){d.log("M275",b)}};b.prototype.send=function(e,c,b,l){if(this.fg){var h=this.Xm++;this.fe[h]=l;this.nl.contentWindow.postMessage(d.utils.toJSONString({id:h,action:e,key:c,value:b}),"*")}};b.prototype.generateGUID=function(d,c){this.send("generateGUID",d,null,c)};return b}();h.ni=b})(h.Hh||(h.Hh={}))})(d.Zh||(d.Zh={}))})(k||(k={}));(function(d){(function(h){var a=function(){function e(){this.kf=new b(e.di);this.Yh=new b(e.fi);this.jo=new l(e.ei)}e.prototype.init=function(c){this.channel=
c;d.utils.yn()&&d.utils.xn()?d.utils.zn()&&e.fm()?this.Jn():this.Rh():e.Mg=!0};e.prototype.Rh=function(){var c=this.kf.load();e.dm(c)||(c={ver:d.conf.agentVer,id:d.utils.generateGUID()},this.kf.save(c));e.aa=c};e.prototype.Jn=function(){var c=this,b=this.Yh.load();e.em(b)?e.aa=b:(d.log("M276"),this.jo.load(function(b){e.wg(b)?(b={ver:d.conf.agentVer,id:b,ttl:(new Date).getTime()+e.si},c.Yh.save(b),e.aa=b,d.log("M277")):d.log("M278")}),d.utils.tryPeriodically(e.ed,function(){return c.isReady()},function(){return c.onReady()},
function(){return c.Yd()}))};e.fm=function(){return d.conf.userConf&&d.conf.userConf.xd&&d.conf.userConf.xd.enable};e.dm=function(d){return d&&d.id&&0<d.id.length};e.em=function(d){return d&&e.wg(d.id)&&d.ttl>(new Date).getTime()};e.wg=function(c){return d.utils.isString(c)&&0<c.length&&0===c.indexOf("XD_")};e.prototype.isReady=function(){return e.Mg||d.utils.isDefined(e.aa)};e.prototype.onReady=function(){this.channel.onResolverReady()};e.prototype.Yd=function(){d.log("M279");this.Rh();this.channel.onResolverReady()};
e.ed=function(d){return 10<d?-1:[1,50,100,500][d-1]||1E3};return e}();a.di="ADRUM_AGENT_INFO";a.fi="ADRUM_XD_AGENT_INFO";a.ei="ADRUM_XD_AGENT_ID";a.si=6048E5;a.Mg=!1;h.ca=a;var b=function(){function e(d){this.jf=d}e.prototype.load=function(){var c=null;try{var e=localStorage.getItem(this.jf);e&&(c=JSON.parse(e))}catch(b){d.exception(b,"M280")}return c};e.prototype.save=function(c){try{var e=d.utils.toJSONString(c);e&&localStorage.setItem(this.jf,e)}catch(b){d.exception(b,"M281")}};return e}(),l=function(){function e(d){this.Jj=
d}e.prototype.load=function(c){var e=this;try{var b=new d.Zh.Hh.ni("cross-domain-store-server-iframe",d.conf.adrumXdUrl,function(){b.generateGUID(e.Jj,c)})}catch(l){d.exception(l,"M282")}};return e}()})(d.channel||(d.channel={}))})(k||(k={}));(function(d){(function(h){var a=d.utils.isString,b=d.utils.isNumber,l=function(){function e(){}e.prototype.xc=function(c,b,l){c={ver:d.conf.agentVer,dataType:"R",rootGUID:l.Dd(),releaseKey:d.conf.releaseId,events:c};d.channel.ca.aa&&d.channel.ca.aa.id&&(c.agentId=
d.channel.ca.aa.id);b&&(c.geo=b);return e.Nm(c)};e.Nm=function(c){d.isDebug||(c=e.ck(c));return c};e.ck=function(c){var l=new d.utils.Re,m=new d.utils.Re;c=d.utils.Fd(null,c,e.Ed,function(c,k){if(!a(k))return k;if(e.cm(c)){var n=e.Wl(c)&&b(d.conf.userConf.maxUrlLength)?d.conf.userConf.maxUrlLength:d.conf.qb;k=e.Oc(k,n);k=h.Uc.Hf(k,l)}else if(e.Vl(c))k=e.Oc(k,d.conf.sb);else if(e.am(c)){var s=k,n=!1;s.length>d.conf.Ve&&(n=!0,s=e.Oc(s,d.conf.Ve));var t=s.match(/([\w]+\:\/\/)([\w\-\.\:]+)(([\/\?\=\&\#.]?[\w-]+)*)((\:+[\d]+){0,2})/gm);
d.utils.isDefined(t)&&(n&&0<t.length&&t.pop(),t.forEach(function(d){var c="<<<"+h.Uc.Hf(d,l)+">>>";s=s.replace(d,c)}));n=s.match(/((<anonymous>)(\:+[\d]+){0,2})/gm);d.utils.isDefined(n)&&n.forEach(function(d){var c="<<<"+l.Bb(d)+">>>";s=s.replace(d,c)});k=s}else k=e.Oc(k,d.conf.Xi);e.Ql(c)&&(k=h.Uc.tk(k,m));return k},e.qm);c[e.Ed("guids")]=m.ec;c[e.Ed("urlParts")]=l.ec;return c};e.cm=function(d){return"eventUrl"==d||"parentUrl"==d||"pageReferrer"==d||"pageUrl"==d||"u"==d};e.Ql=function(d){return"eventGUID"==
d||"parentGUID"==d||"rootGUID"==d||"clientRequestGUID"==d};e.Vl=function(d){return"userPageName"==d};e.Oc=function(d,e){return d.length>e?d.substr(0,e-3)+"...":d};e.Wl=function(d){return"eventUrl"==d||"parentUrl"==d||"pageReferrer"==d};e.am=function(d){return"stack"==d};e.Ed=function(c){if(d.conf.useDebugBeaconParams)return c;var e=d.conf.Dg[c];return"undefined"===typeof e?c:e};e.qm=function(d){d=""+d;return 0===d.indexOf("userData")||"parameter"===d};return e}();h.ki=l})(d.beacons||(d.beacons={}))})(k||
(k={}));(function(d){(function(h){var a=function(){function b(){}b.prototype.send=function(d,e){for(var c=0;c<d.length;c++)this.hn(d[c],e)};b.prototype.hn=function(b,e){var c=(e?d.conf.beaconUrlHttps:d.conf.beaconUrlHttp)+d.conf.imageEndpointPath,a=document.createElement("img");a.K=!0;try{a.src=c+b}catch(m){}d.isDebug&&h.beaconsSent.push(b);h.numBeaconsSent+=1};return b}();h.Ji=a})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(d){d.Nb=function(d,b){if(3>=b)return"...";d.length>b&&
(d=d.substring(0,b-3)+"...");return d};d.Mh=function(d,b){if(3>=b)return"...";d.length>b&&(d=d.substring(0,(b-3)/2)+"..."+d.substring(d.length-(b-3)/2,d.length));return d};d.Fn=function(a,b){a.length<=b||(a=d.Nb(a,b-1),a+=":");return a};d.Dn=function(a,b,l,e,c,g){a=d.Fn(a,e);l=d.Nb(l,c);a.length+b.length+l.length>g-3&&(b=d.Nb(b,g-3-a.length-l.length));return 0<l.length?a+"//"+b+":"+l:a+"//"+b};d.En=function(a,b,l){a=d.map(a,function(c){return d.Mh(c,b)});if(a.length>l){var e=a[0];a=a.slice(a.length-
l);a.unshift("...");""==e&&a.unshift(e)}return a};d.Gn=function(a,b,l,e,c){e=d.Dn(a.protocol,a.hostname,a.port,e,c,b);l--;c=d.Nb(a.search,b);l--;var g=d.Nb(a.hash,b);l--;a=a.pathname.split("/");var m="";0<a.length&&(m=a.pop(),m=d.Mh(m,b),l--);a=d.En(a,b,l);return 0==a.length?e+m+c+g:e+a.join("/")+"/"+m+c+g}})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(d){var a=function(){function d(){}d.Jd=function(){for(var l=0;l<d.Je.length;l++)d.wa[d.Je[l]]=d.Z.Ei;for(l=0;l<d.He.length;l++)d.wa[d.He[l]]=
d.Z.xi;d.wa.js=d.Z.qj;d.wa.css=d.Z.CSS;d.wa.svg=d.Z.sj;d.wa.html=d.Z.Ie;d.wa.htm=d.Z.Ie};d.yd=function(d){return d.duration?d.duration:d.responseEnd&&d.startTime?d.responseEnd-d.startTime:-1};d.ag=function(l,e){function c(c){var e=Object.keys(d.Z).map(function(c){return d.Z[c]});return c&&-1<e.indexOf(c)}var h,a=l.pathname;return a&&-1!=(h=a.lastIndexOf("."))?d.wa[a.substring(h+1,a.length).toLowerCase()]||(c(e)?e:d.Z.OTHER):c(e)?e:d.Z.OTHER};return d}();a.Z={Ei:"img",qj:"script",CSS:"css",sj:"svg",
Ie:"html",xi:"font",OTHER:"other"};a.Je="bmp gif jpeg jpg png webp".split(" ");a.He=["ttf","woff","otf","eot"];a.wa={};d.tb=a;a.Jd()})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(){function d(l){function e(d){c.marks.push(0==l[d]?-1:Math.round(l[d]-c.Pg))}this.marks=[];var c=this;this.Pg=l.startTime;this.Ll(l)?(this.Nf=d.Fe,e("startTime"),e("fetchStart")):(this.Nf=d.$e,e("startTime"),e("redirectStart"),e("redirectEnd"),e("fetchStart"),e("domainLookupStart"),e("domainLookupEnd"),
e("connectStart"),e("secureConnectionStart"),e("connectEnd"),e("requestStart"),e("responseStart"));e("responseEnd")}d.Tk=function(){var l={};l[d.$e]=d.pj;l[d.Fe]=d.mi;return l};d.prototype.Ll=function(d){return this.Pa(d.redirectStart)&&this.Pa(d.redirectEnd)&&(this.Pa(d.domainLookupStart)||this.Pa(d.domainLookupEnd)||this.Pa(d.connectStart)||this.Pa(d.connectEnd))&&this.Pa(d.secureConnectionStart)};d.prototype.Pa=function(d){return!d||0===d};return d}();a.$e=1;a.Fe=2;a.pj="startTime redirectStart redirectEnd fetchStart dnsLookupStart dnsLookupEnd connectStart secureConnectionStart connectEnd requestStart responseStart responseEnd".split(" ");
a.mi=["startTime","fetchStart","responseEnd"];d.Ze=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(){function d(){}d.prototype.Hc=function(d,e){if(d)return d.slice(0,e)};return d}();d.zi=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(){function b(){}b.prototype.Hc=function(b,e){if(b){if(b.length<=e)return b;for(var c=[],a=0;a<b.length;a++)c.push({ge:b[a],index:a});c.sort(function(c,e){return-(d.tb.yd(c.ge)-d.tb.yd(e.ge))});c=c.slice(0,
e);c.sort(function(d,c){return d.index-c.index});for(var m=[],a=0;a<c.length;a++)m.push(c[a].ge);return m}};return b}();d.bf=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(){function b(){}b.prototype.Hc=function(b,e){if(b){if(b.length<=e)return b;for(var c=1,a=Math.floor(Number.MAX_VALUE/4),m=b.length;c<a;){for(var k=b.length-1;0<=k;k--)if(d.tb.yd(b[k])<c&&(b.splice(k,1),m--),m<=e)return b;c*=4}return(new d.bf).Hc(b,e)}};return b}();d.oj=a})(d.events||(d.events=
{}))})(k||(k={}));(function(d){(function(h){var a=d.utils.hasOwnPropertyDefined,b=function(){function e(c,b,a){this.version=2;this.resourceTimingInfo={};this.ig={};this.jg={};this.jh={};this.kh={};this.he=[];this.Dj=function(c,e,b){if(c&&e&&0<e.length){this.Bn=c;for(var a=new l,g=new l,k=0;k<e.length;k++){var m=e[k],f=d.utils.parseURI(d.utils.da.Da(m.name)),r=m.initiatorType,D=h.tb.ag(f,r),B=new h.Ze(m);this.he.push({u:this.Hn(f),i:a.Wf(this.jg,r),r:g.Wf(this.kh,D),f:B.Nf,o:this.Kk(0===k&&m.isBase,
B.Pg,c,b),m:B.marks,e:d.utils.isDefined(m.encodedBodySize)?m.encodedBodySize:-1,d:d.utils.isDefined(m.decodedBodySize)?m.decodedBodySize:-1,s:d.utils.isDefined(m.transferSize)?m.transferSize:-1,p:d.utils.isDefined(m.nextHopProtocol)?m.nextHopProtocol:""})}}};var k=e.Lk();this.Yj(k,c);c=this.dn(k,c);this.Dj(b||d.monitor.navMonitor.navTiming&&d.monitor.navMonitor.navTiming.navigationStart,c,a);this.clearResourceTimings()}e.Jd=function(){var c=d.conf.userConf&&d.conf.userConf.resTiming&&d.conf.userConf.resTiming.sampler;
e.cn=c&&"FirstN"==c?new h.zi:c&&"TopN"==c?new h.bf:new h.oj};e.prototype.gg=function(d,e){d[e]=d[e]?d[e]+1:1};e.prototype.Hn=function(c){return d.utils.Gn(c,"number"===typeof d.conf.userConf.maxResUrlSegmentLength?d.conf.userConf.maxResUrlSegmentLength:d.conf.qi,"number"===typeof d.conf.userConf.maxResUrlSegmentNumber?d.conf.userConf.maxResUrlSegmentNumber:d.conf.ri,d.conf.ej,d.conf.dj)};e.prototype.Yj=function(d,e){d&&this.hg(d);if(e&&0<e.length)for(var b=0;b<e.length;b++)this.hg(e[b])};e.prototype.hg=
function(c){var e=d.utils.parseURI(d.utils.da.Da(c.name));c=c.initiatorType;e=h.tb.ag(e,c);this.gg(this.ig,c);this.gg(this.jh,e)};e.prototype.dn=function(c,b){if(b&&0<b.length){var l=d.conf.userConf&&d.conf.userConf.resTiming&&d.conf.userConf.resTiming.maxNum||d.conf.$i;c&&l--;b=e.cn.Hc(b,l);c&&b.unshift(c)}return b};e.prototype.Kk=function(e,b,l,h){return e?1:d.utils.isDefined(h)?Math.round(b+l-h):Math.round(b)};e.prototype.build=function(){return 0==this.he.length?null:{v:this.version,ic:this.ig,
it:this.jg,rc:this.jh,rt:this.kh,f:h.Ze.Tk(),t:this.Bn,r:this.he}};e.Lk=function(){var e=d.monitor.navMonitor.navTiming,b=null;if(e){var b={},l;for(l in e)a(e,l)&&(b[l]=e[l]);b.initiatorType="other";b.name=document.URL;b.navigationStart&&!b.startTime&&(b.startTime=b.navigationStart);b.isBase=!0}return b};e.prototype.clearResourceTimings=function(){d.conf.userConf&&d.conf.userConf.resTiming&&d.conf.userConf.resTiming.clearResTimingOnBeaconSend&&d.monitor.resourceMonitor.clearResourceTimings()};return e}();
h.ResourceTimingInfoBuilder=b;var l=function(){function d(){this.tm=1}d.prototype.Wf=function(d,e){d[e]||(d[e]=this.tm++);return d[e]};return d}();b.Jd()})(d.events||(d.events={}))})(k||(k={}));(function(d){d.events||(d.events={})})(k||(k={}));(function(d){(function(h){var a=function(){function b(){}b.prototype.H=function(b,e){void 0===e&&(e={});var c=b.url(),c=4===b.type()?document.URL||c:c||document.URL,c={eventGUID:b.guid(),eventType:b.type(),eventUrl:d.utils.da.Da(c),timestamp:d.utils.now()};
b.type()!==d.EventType.PageView&&d.utils.mergeJSON(c,{parentGUID:b.parentGUID()||d.correlation.getPageGUID(),parentUrl:d.utils.da.Da(b.parentUrl()||document.URL),parentType:b.parentType()||(d.utils.compareWindows(top,window)?d.EventType.PageView:d.EventType.IFRAME)});var a=d.EventType[b.type()],a=h.ka.kl(a,d.conf.userConf,e,d.conf.rb),k;for(k in a)c[k]=a[k];return c};return b}();h.ob=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(h){var a=d.utils.isNumber,b=d.utils.isString,l=d.utils.isObject,
e=d.utils.Ld,c=d.utils.isBoolean,g=function(){function e(){}e.Wd=function(e,c){var b=!1;if(l(e)){var h=d.utils.toJSONString(e);if(!h||h.length<=c)b=!0}return b};e.ne=function(d,c,l){if(b(c))if(c.length>l)e.hb(d,l,c.length);else return c;else e.Rd(d,"string")};e.Ac=function(d,c){return function(b,h,a){if(l(h)){var g,k;for(k in h)d(h[k])?(g=g||{},g[k]=h[k]):e.Rd(b,c,k);if(g){if(e.Wd(g,a))return g;e.hb(b,a)}}else e.Rd(b,"object")}};e.Rd=function(e,c,b){d.log("M284",e,c,b?", field name "+b:"")};e.hb=
function(e,c,b){d.log("M285",e,b?" ("+b+" exceeds "+c+")":"")};return e}();g.kl=function(e,c,b,h){if(c=c&&c.userEventInfo&&c.userEventInfo[e]){try{var a=d.utils.isFunction(c)?c.call(null,b):c}catch(k){d.exception(k,"M286",e),A.error("Error detected executing adrum userEventInfo")}if(l(a))return g.Zn(a,h)}};g.Zn=function(d,e){var c={},b;for(b in g.Lf)if(b in d){var l=g.Lf[b](b,d[b],e);l&&(c[b]=l)}return c};g.Dm=g.Ac(b,"string");g.Cm=g.Ac(e,"integer");g.Ng=g.Ac(a,"number");g.Bm=g.Ac(c,"boolean");g.Lf=
{userPageName:g.ne,userData:g.Dm,userDataLong:g.Cm,userDataDouble:g.Ng,userDataBoolean:g.Bm,userDataDate:g.Ng};h.ka=g})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(h){var a=d.utils.isDefined,b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}u(e,b);e.setPageName=function(d){e.Ea=d};e.addUserData=function(d,b){e.Ob=e.Ob||{};e.Ob[d]=b};e.prototype.H=function(c){var g=b.prototype.H.call(this,c||new h.PageView),k=this.Wk(),f=this.Mk();d.conf.viz&&(k&&d.utils.qd(document.getElementById(d.conf.viz),
k,"navtime"),d.utils.qd(document.getElementById(d.conf.viz),f,"cookie"));f.PLC=1;k&&(k.PLC=1,k.VCT=d.utils.isDefined(c)?e.$c(c.vct):0,d.conf.spa2&&(k.PCT=d.utils.isDefined(c)?e.$c(c.pct):0));k&&k.DPT&&0>=k.DPT&&(k.DPT=0,this.Kn(k,f));d.monitor.ErrorMonitor.hadErrors&&(f.EPM=1,k&&(k.EPM=1));d.utils.mergeJSON(g,{eventGUID:d.correlation.getPageGUID(),eventType:d.utils.compareWindows(top,window)?d.EventType.PageView:d.EventType.IFRAME,cookieMetrics:f});c=-1;k&&k.timestamp?c=k.timestamp:f&&f.timestamp&&
(c=f.timestamp);0<c&&d.utils.mergeJSON(g,{timestamp:c});k&&(g.metrics=k);document.referrer&&null!==document.referrer&&0<document.referrer.length&&(g.pageReferrer=d.utils.da.Da(document.referrer));k=e.$k();0<k.length&&(g.pageTitle=k);k=d.correlation.cg();null!==k&&(g.serverMetadata=k);k=0<d.monitor.resourceMonitor.basePageResourceBuffer.length?(new h.ResourceTimingInfoBuilder(d.monitor.resourceMonitor.basePageResourceBuffer)).build():null;null!==k&&(g.resourceTimingInfo=k);!a(g.userData)&&a(e.Ob)&&
(h.ka.Wd(e.Ob,d.conf.rb)?g.userData=e.Ob:h.ka.hb("userData",d.conf.rb));!a(g.userPageName)&&a(e.Ea)&&(h.ka.ne("userPageName",e.Ea,d.conf.sb)?g.userPageName=e.Ea:h.ka.hb("userPageName",d.conf.sb));g.backTimeGap=d.conf.backTimeGap;e.userPageName=g.userPageName;return g};e.prototype.Kn=function(d,e){for(var b="PLT FBT FET DRT PRT DOM".split(" "),l=0;l<b.length;l++){var h=b[l];!e[h]&&d[h]&&(e[h]=d[h])}};e.prototype.Wk=function(){if(!d.monitor.navMonitor.navTiming)return null;var c={},b=e.Zf(d.monitor.navMonitor.navTiming,
c,"NT"),l=h.metricSpec[d.EventType.PageView],a;for(a in l){var k=l[a];b.add(k.name,k.start,k.end)}c.timestamp=d.monitor.navMonitor.navTiming.navigationStart-d.conf.backTimeGap;return c};e.prototype.Mk=function(){var c={};d.commands.marks&&(e.Zf(d.commands.marks,c,"CK").add("PLT","starttime","onload").add("FBT","starttime","firstbyte").add("FET","firstbyte","onload").add("DRT","firstbyte","onready").add("PRT","onready","onload").add("DOM","starttime","onready"),c.timestamp=d.commands.marks.starttime?
d.commands.marks.starttime:d.commands.marks.firstbyte,c.timestamp-=d.conf.backTimeGap);return c};e.$k=function(){var e=d.conf.userConf,e=e&&e.page,b;b=e&&"captureTitle"in e?e.captureTitle:!0;var l,h;e&&(l="title"in e,h=e.title);l=b?l?d.utils.isFunction(h)?h():h:document.title:"";if(d.utils.isString(l))return l;d.log("M287",typeof l);return""};e.Bj=function(e,b,l,h,a,k){b=h[b];l=h[l];b&&l?a[e]=l-b:d.log("M288",k,e,b,l)};e.$c=function(e){return d.utils.isDefined(e)?e+d.conf.backTimeGap:e};e.Ln=function(c,
b){"PLT"!=c&&"FBT"!=c&&"SCT"!=c&&"DOM"!=c||!d.utils.isNumber(b[c])||(b[c]=e.$c(b[c]))};e.Zf=function(d,b,l){var h={add:function(a,k,s){e.Bj(a,k,s,d,b,l);e.Ln(a,b);return h}};return h};return e}(h.ob);h.xa=b})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(h){(function(h){function b(c,h){var a,f=h[c],n=typeof f;q.push(c);var B=t[q.join(".")];if(d.utils.isFunction(B))a=B(f);else switch(n){case "string":a="number"==typeof B?p(f,e,B):e(f);break;case "number":a=m(f);break;case "object":if(f)if(d.utils.isArray(f))a=
k(f,!1,!1);else{a=[];for(var z in f)s(f,z)&&(n=b(z,f))&&(l(c)&&"timestamp"==z||a.push({tc:z,v:n}));if(l(c)){for(f=0;f<a.length;f++)a[f]=a[f].tc+e(":")+a[f].v;a=e("{")+a.join(e(","))+e("}")}else{for(f=0;f<a.length;f++)z=a[f],n=z.tc,d.conf.useDebugBeaconParams||((B=d.conf.Dg[z.tc])?n=B:d.error("M289",z.tc)),a[f]=n+"="+z.v;a=a.join("&")}}else a=null}q.pop();return a}function l(d){return"navOrXhrMetrics"==d||"cookieMetrics"==d}function e(d){return"undefined"===typeof d||null===d||0===d.length?null:encodeURIComponent(d)}
function c(d){return encodeURIComponent(encodeURIComponent(d))}function k(d,c,h){void 0===c&&(c=!1);void 0===h&&(h=!0);if(0===d.length)return null;var l=[];if(c)l=d;else for(c=0;c<d.length;c++)l.push(b(c,d));return e("[")+l.join(e(","))+e(h?">":"]")}function m(d){d=Math.round(d);d<h.Xe&&(d=h.Xe);d>h.Te&&(d=h.Te);return e(d)}function f(d,c){if(d>c||0>d)d=h.ij;return e(d)}function p(e,c,b,h){void 0===h&&(h=!0);if("undefined"===typeof e||null===e||0===e.length)return null;var l=3<=b?"...":"";d.assert(b>=
l.length);for(var a=!1,k=null;;){try{k=c(e);if(null===k)return null;if(k.length<=b)break}catch(g){}var f;a?f=e.length-1:(a=!0,f=b-=l.length);var m=h?0:Math.max(e.length-f,0);e=e.substr(m,f)}a&&(k=h?k+l:l+k);return k}function n(e,c,b){if(0==b)return h.Wc;if(c<e)return 0;c=h.Wc+(c-e)/b;d.assert(c>=h.Wc);d.log("M290",e,c);return c}var s=d.utils.hasOwnPropertyDefined;h.ij=-1;h.qb=180;h.bj=50;h.cj=50;h.Wi=40;h.Wc=50;h.Ki=50;h.We=128;h.Ri=30;h.Si=30;h.Qi=30;h.Yi=8;h.Xe=-99999;h.Te=999999;h.Li=2E3;h.aj=
2;h.Mi=99999999;var t={".pageUrl":h.qb,".parentPageUrl":h.qb,".pageReferrer":h.qb,".pageTitle":h.bj,".userPageName":h.cj,".geoCountry":h.Ri,".geoRegion":h.Si,".geoCity":h.Qi,".localIP":h.Yi,".otherClientRequestGUIDs":function(d){d=d||[];var e=d.slice(0,h.aj);return k(e,!1,e.length<d.length)},".btTime":function(e){e=e||[];for(var c=e.slice(0,d.conf.Ni),b=[],l=0;l<c.length;l++){var n=c[l];b.push(k([f(Number(n[0]),h.Mi),m(n[1]),m(n[2])],!0,!1))}return k(b,!0,c.length<e.length)},".ajaxError":function(d){return k([c(d[0]),
p(d[1],c,h.Ki)],!0,!1)},".userData":function(d){d=d||[];for(var e=!1,b=0,l=[],f=0;f<d.length;f++){var m=d[f];l[f]=k([c(m[0]),c(m[1])],!0,!1);b+=l[f].length;if(b>h.We){e=!0;break}}for(;;){d=k(l,!0,e);if(null===d||d.length<=h.We)return d;l.pop();e=!0}}},q=[];h.sk=function(e,l){void 0===l&&(l=!0);q=[];var f=[];e.errors&&(f=e.errors,e.errors=null);var s=b("",{"":e});if(f&&0<f.length){for(var t=n(l?870:354,h.Li-s.length,f.length),B=[],z=0;z<f.length;z++){var u=f[z],y=d.utils.da.Kf(d.utils.da.Da(u[0]));
B.push(k([p(y,c,h.Wi,!1),d.utils.Ld(u[1])?m(u[1]):-1,p(u[2],c,t)],!0,!1))}f=k(B,!0,!1);s+="&errors="+f}return s};h.Ro=b;h.Bp=e;h.element=c;h.Jo=k;h.Lo=m;h.pp=f;h.truncate=p;h.xp=n})(h.Qe||(h.Qe={}))})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(h){var a=d.utils.hasOwnPropertyDefined,b=d.utils.bc,l=function(){function e(){}e.prototype.xc=function(c,b,l){for(var a=[],k=[],n=null,s=[],t=0;t<c.length;t++){var q=c[t];if(q.eventType===d.EventType.Error){var u=q;k.push([q.eventUrl+"",
d.utils.Ld(u.line)?u.line:void 0,u.message+""])}else{if(q.eventType===d.EventType.PageView||q.eventType===d.EventType.IFRAME)n=q;s.push(q)}}c=s;if(0<k.length)for(n&&(n.errors=k.splice(0,d.conf.Ui));0<k.length;)q=k.splice(0,d.conf.Ti),n=e.Hm.H(),n.errors=q,n.isErrorEvent=!0,n.cookieMetrics=null,n.metrics=null,n.resourceTimingInfo=null,c.push(n);for(k=0;k<c.length;k++)q=c[k],d.log("M291"),q.resourceTimingInfo=null,e.Ek(q,b,l),n=e.transform(q),a.push(h.Qe.sk(n,q.isErrorEvent));return a};e.Ek=function(e,
b,h){e.ver=this.Fi;e.rootGUID=h.Dd();e.geo=b;e.dataType="R";e.eom=1;e.eumAppKey=d.conf.appKey;e.PLC=1};e.transform=function(d){var b={};e.Uh("",{"":d},b);return b};e.Uh=function(c,h,l){h=h[c];var k=e.Ag[c];if("metrics"===c||"cookieMetrics"===c)l[k]=h;else if("btTime"===c&&d.utils.isArray(h)&&0<h.length){c=[];for(var p=0;p<h.length;p++)c.push([h[p].id,h[p].duration,h[p].ert]);l[k]=c}else if("userData"===c&&d.utils.isObject(h))l[k]=d.utils.nm(h);else if(!(c&&-1<b(["userDataLong","userDataDouble","userDataBoolean",
"userDataDate"],c)))if(d.utils.isObject(h))for(p in h)a(h,p)&&e.Uh(p,h,l);else e.Ag[c]&&("eventType"===c&&h>d.EventType.Ajax&&(h=d.utils.compareWindows(top,window)?d.EventType.PageView:d.EventType.IFRAME),l[k]=h)};return e}();l.Hm=new d.events.xa;l.Fi=3;l.Ag={eumAppKey:"eumAppKey",userPageName:"userPageName",rootGUID:"baseGUID",parentGUID:"parentGUID",parentUrl:"parentPageUrl",parentType:"parentPageType",parentLifecyclePhase:"parentLifecyclePhase",eventType:"pageType",eventUrl:"pageUrl",pageReferrer:"pageReferrer",
pageTitle:"pageTitle",metrics:"navOrXhrMetrics",xhrMetrics:"navOrXhrMetrics",resourceTimingInfo:"resourceTimingInfo",cookieMetrics:"cookieMetrics",userData:"userData",errors:"errors",ajaxError:"ajaxError",dataType:"dataType",country:"geoCountry",region:"geoRegion",city:"geoCity",localIP:"localIP",ver:"ver",eom:"eom",eventGUID:"clientRequestGUID",otherClientRequestGUIDs:"otherClientRequestGUIDs",btTime:"btTime",serverSnapshotType:"serverSnapshotType",hasEntryPointErrors:"hasEntryPointErrors"};h.Ii=
l})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(d){var a=function(){function d(){}d.prototype.send=function(){};return d}();d.vi=a})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(d){var a=function(){function d(){}d.prototype.xc=function(){return null};return d}();d.ui=a})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(d){this.hm=d}b.prototype.send=function(b){try{this.hm.postMessage(d.utils.toJSONString(b)),d.log("M292"),
h.numBeaconsSent+=1}catch(e){d.log("M293")}};return b}();h.Ci=a})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(){}b.prototype.xc=function(b,e,c){b={ver:d.conf.agentVer,dataType:"R",rootGUID:c.Dd(),events:b,releaseKey:d.conf.releaseId};d.channel.ca.aa&&d.channel.ca.aa.id&&(b.agentId=d.channel.ca.aa.id);e&&(b.geo=e);return b};return b}();h.Bi=a})(d.beacons||(d.beacons={}))})(k||(k={}));(function(d){var h=function(){function h(){}h.wf=function(b,h){if(!b)return null;
var e=b.ADRUM.lifecycle;if(!e||!e.getPhaseCallbackTime)return null;var c=h.getPhaseCallbackTime("AT_ONLOAD"),e=e.getPhaseCallbackTime("AT_ONLOAD"),a=null==e;return null==c?(d.error("M294"),null):d.lifecycle.getPhaseID(a||c<=e?"AFTER_FIRST_BYTE":"AFTER_ONLOAD")};return h}();d.lj=h;d.cPLPI=h.wf})(k||(k={}));(function(d){(function(h){var a=function(){function b(b){this.ready=!1;this.geoResolverUrl=b;d.utils.isString(b)&&0<d.utils.trim(b).length&&(this.geoResolverUrl=b+"/resolve.js")}b.prototype.init=
function(b){this.channel=b;if(this.md()&&(d.geo=this.re(),this.Kj()||this.Cc()&&!this.Pf())){this.channel.ie(d.geo.result);return}this.Pf()?(this.Cc()&&(this.geoResolverUrl+="?ip="+encodeURIComponent(d.conf.userConf.geo.localIP)),this.Wn()):(this.ready=!0,this.channel.onResolverReady())};b.prototype.md=function(){return d.utils.isDefined(d.conf.userConf)&&d.utils.isDefined(d.conf.userConf.geo)};b.prototype.Cc=function(){return this.md()&&d.utils.isDefined(d.conf.userConf.geo.localIP)&&!d.utils.isDefined(d.conf.userConf.geo.city)&&
!d.utils.isDefined(d.conf.userConf.geo.region)&&!d.utils.isDefined(d.conf.userConf.geo.country)};b.prototype.re=function(){return{failed:!1,result:{country:d.conf.userConf.geo.country,region:d.conf.userConf.geo.region,city:d.conf.userConf.geo.city,localIP:this.uk(d.conf.userConf.geo.localIP)}}};b.prototype.Kj=function(){return this.md()&&d.utils.isDefined(d.conf.userConf.geo.localIP)&&d.utils.isDefined(d.conf.userConf.geo.city)&&d.utils.isDefined(d.conf.userConf.geo.region)&&d.utils.isDefined(d.conf.userConf.geo.country)};
b.prototype.Pf=function(){return d.utils.isString(this.geoResolverUrl)&&0<d.utils.trim(this.geoResolverUrl).length};b.prototype.uk=function(d){if(null==d||0==d.length)return null;d=d.split(".");if(4!=d.length)return null;for(var e=[],b=0;b<d.length;b++){var h=parseInt(d[b]);if(isNaN(h)||0>h||255<h)return null;e.push(("0"+h.toString(16)).slice(-2))}return e.join("")};b.prototype.Wn=function(){d.geo={failed:!1,result:null};d.utils.loadScriptAsync(this.geoResolverUrl);var h=this;d.utils.tryPeriodically(b.ed,
function(){return h.isReady()},function(){h.onReady()},function(){h.Yd()})};b.prototype.isReady=function(){this.ready||(this.ready=d.geo&&(d.geo.failed||null!==d.geo.result))||d.log("M295");return this.ready};b.prototype.onReady=function(){d.geo.failed?(d.log("M296"),this.Cc()&&(d.geo=this.re())):(d.assert("object"===typeof d.geo.result),d.log("M297",d.geo.result));d.geo&&d.geo.result&&this.channel.ie(d.geo.result);this.channel.onResolverReady()};b.prototype.Yd=function(){d.log("M298");this.Cc()&&
(d.geo=this.re());d.geo&&d.geo.result&&this.channel.ie(d.geo.result);this.ready=!0;this.channel.onResolverReady()};b.ed=function(d){return 10<d?-1:[1,50,100,500][d-1]||1E3};return b}();h.Ai=a})(d.channel||(d.channel={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(){this.ready=!1;this.channel=null}b.prototype.init=function(h){this.channel=h;b.na=b.na||b.Hk();this.ready=!b.na.nc;var e=this;if(b.na.nc)d.log("M299"),b.na.nc.ADRUM.command("listenForOkToSendChildFrameBeacons",function(){d.log("M300");
e.ready=!0;e.onReady()});else e.onReady()};b.prototype.isReady=function(){this.isReady||d.log("M301");return this.ready};b.prototype.onReady=function(){this.channel.jn(b.na);this.channel.onResolverReady()};b.Hk=function(){for(var h=window,e,c=b.yg(h),a=window;a.parent&&!d.utils.compareWindows(a,a.parent);){a=a.parent;c=c||b.yg(a);try{a.ADRUM&&(e=e||a,h=a)}catch(k){}}return new d.hi(e,h,c)};b.yg=function(d){try{return 0==d.document.URL.indexOf("https:")}catch(e){}};return b}();a.na=null;h.ii=a})(d.channel||
(d.channel={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(e,c,l){this.events=[];this.Ma={};this.gc=NaN;this.Ca=[];this.wd=!1;this.bufferMode=d.conf.userConf&&d.conf.userConf.channel&&"undefined"!==typeof d.conf.userConf.channel.bufferMode?d.conf.userConf.channel.bufferMode:!0;this.Ic=-1;this.Cn=e;this.Sj=c;this.Ca.push(new h.Ai(l));this.Ca.push(new h.ii);this.Ca.push(new h.ca)}b.create=function(){var e,c;e=b.Lm();d.utils.isDefined(e)?(e=new d.beacons.Ci(e),c=new d.beacons.Bi):
d.utils.isCORSSupported()&&!d.conf.sendImageBeacon?(e=new d.beacons.li,c=new d.beacons.ki):d.conf.neverSendImageBeacon?(d.log("M302"),e=new d.beacons.vi,c=new d.beacons.ui):(e=new d.beacons.Ji,c=new d.beacons.Ii);e=new b(e,c,d.conf.geoResolverUrl);e.init();return e};b.prototype.init=function(){for(var d=0;d<this.Ca.length;d++)this.Ca[d].init(this)};b.prototype.bo=function(e){return(e.parentType===d.EventType.VPageView||e.parentType===d.EventType.NG_VIRTUAL_PAGE)&&null!==this.Ma[e.parentGUID]};b.prototype.ce=
function(e){var b=e.parentGUID;if(!d.utils.isDefined(this.Ma[b])){this.Ma[b]=[];var h=this,l=e.eventGUID;d.utils.oSTO(function(){h.pd(l)},1E4)}this.Ma[b].push(e)};b.prototype.report=function(e,c){e.sequenceId=d.uh.uf.Rk();e.timestamp=e.timestamp||d.utils.now();this.bo(e)?this.ce(e):this.events.push(e);1==this.events.length&&(this.gc=d.utils.now());var h=e.parentGUID;h&&h!==d.correlation.getPageGUID()||this.pd(e.eventGUID);b.Rl(e)&&(this.wd=!0);this.pe(c)};b.prototype.pd=function(d){var b=this.Ma[d];
this.Ma[d]=null;if(b&&0!=b.length)for(this.events=this.events.concat(b),d=0;d<b.length;d++)this.pd(b[d].eventGUID)};b.prototype.Ul=function(e){return e.eventType===d.EventType.PageView||e.eventType===d.EventType.IFRAME};b.prototype.Tj=function(){for(var e=0;e<this.events.length;e++){var b=this.events[e];0===b.eventType&&d.monitor.DOMEventsMonitor.currentBasePage&&(d.monitor.DOMEventsMonitor.currentBasePage.isBeaconSent=!0);if(this.Ul(b)){var h=this.na.nc;h&&(b.parentLifecyclePhase=d.lj.wf(h,d.lifecycle),
b.parentGUID=h.ADRUM.correlation.getPageGUID(),b.parentUrl=d.utils.da.Da(h.document.URL),d.utils.isDefined(h.ADRUM.events.xa.userPageName)&&(b.parentPageName=h.ADRUM.events.xa.userPageName),b.parentType=d.utils.compareWindows(top,h)?d.EventType.PageView:d.EventType.IFRAME)}}};b.prototype.sendBeacon=function(e){if(0==this.events.length)d.log("M303");else{this.Tj();var b=d.utils.isDefined(d.conf.beaconUrlHttps),h=this.Sj.xc(this.events,this.Gk,this.na);this.Cn.send(h,b,e);this.events=[];this.gc=Number.POSITIVE_INFINITY}};
b.prototype.onResolverReady=function(){this.pe()};b.prototype.ie=function(d){this.Gk=d};b.prototype.jn=function(d){this.na=d};b.prototype.addResolver=function(d){d.init(this);this.Ca.push(d)};b.prototype.$m=function(){for(var d=0;d<this.Ca.length;d++)if(!this.Ca[d].isReady())return!1;return!0};b.prototype.zg=function(){return this.gc+d.conf.Se>d.utils.now()};b.prototype.Zl=function(){return this.events.length<d.conf.Oi};b.prototype.getEventsWithParentGUID=function(d){return this.Ma[d]||[]};b.prototype.pe=
function(b){if(this.$m())if(!b&&this.ao()){if(this.zg()&&0<this.events.length&&0>this.Ic){var c=this;this.Ic=d.utils.oSTO(function(){c.pe()},d.conf.Se+this.gc-d.utils.now())}}else clearTimeout(this.Ic),this.Ic=-1,this.wd=!1,this.sendBeacon(b)};b.Rl=function(b){return b.eventType===d.EventType.PageView||b.eventType===d.EventType.IFRAME||b.eventType===d.EventType.VPageView};b.prototype.ao=function(){return this.bufferMode&&!this.wd&&this.Zl()&&this.zg()};b.Mm=function(){if(d.utils.isDefined(window.webkit)&&
d.utils.isDefined(window.webkit.messageHandlers)&&d.utils.isDefined(window.webkit.messageHandlers.ADEUM_js_handler)&&d.utils.isFunction(window.webkit.messageHandlers.ADEUM_js_handler.postMessage))return window.webkit.messageHandlers.ADEUM_js_handler};b.Km=function(){if(d.utils.isDefined(window.ADEUM_js_handler)&&d.utils.isFunction(window.ADEUM_js_handler.postMessage))return window.ADEUM_js_handler};b.Lm=function(){return b.Km()||b.Mm()};return b}();h.Channel=a;var b=a.create();h.getChannel=function(){return b};
h.report=function(d,e){b.report(d,e)};h.addResolver=function(d){b.addResolver(d)};h.getEventsWithParentGUID=function(d){return b.getEventsWithParentGUID(d)};h.sendBeacon=function(d){return b.sendBeacon(d)}})(d.channel||(d.channel={}))})(k||(k={}));(function(d){var h=function(){function h(){}h.Vg=function(){return window.attachEvent?d.utils.isFunction(window.addEventListener)?this.se:this.Jh:this.Ph};h.Ug=function(b){var l=null;switch(h.Vg()){case h.Ph:l=b.parentPhase();break;case h.se:l=d.lifecycle.findPhaseAtNominalTime(b.getSendTime());
break;case h.Jh:l=null}return d.lifecycle.getPhaseID(l)};return h}();h.Ph="uCT";h.se="uNET";h.Jh="tIA";d.Xb=h})(k||(k={}));(function(d){(function(h){var a=d.utils.hasOwnPropertyDefined,b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}u(e,b);e.prototype.H=function(c){var a=b.prototype.H.call(this,c,e.getContext(c)),k=c.url(),f=c.getSendTime(),p=c.getFirstByteTime(),n=c.getRespAvailTime(),s=c.getRespProcTime(),t=c.parentPhase();d.assert(null!==k&&null!==f&&null!==p&&null!==
n&&null!==s,"M304",k,f,p,n,s,t);if(null===k||null===f||null===p||null===n||null===s)return null;k=c.error();f={PLC:1,FBT:p-f,DDT:n-p,DPT:s-n,PLT:s-f,ARE:k?1:0};p=c.url();if(!e.gm(f,p))return null;d.conf.viz&&d.utils.qd(document.getElementById(d.conf.viz),f,"xhr");d.utils.mergeJSON(a,{eventUrl:d.utils.da.Da(p),parentLifecyclePhase:c.parentPhaseId(),metrics:f,method:c.method(),timestamp:c.timestamp(),ajaxError:k&&[k.status,k.msg||""],xhrStatus:c.xhrStatus()});(f=c.parameter())&&h.ka.Wd(f,d.conf.rb)?
a.parameter=f:f&&h.ka.hb("parameter",d.conf.rb);a.parentType==d.EventType.VPageView&&d.conf.spa2?d.utils.vh(a,c.parentPageName()):d.utils.vh(a,h.xa.userPageName);return a};e.getData=function(b){if(d.utils.isDefined(b)&&d.utils.isDefined(b.data))return b.data};e.getContext=function(d){return{url:d.url()||"",method:d.method()||"",data:e.getData(d.dataObject())||""}};e.gm=function(b,e){for(var h in b)if(a(b,h)){var l=b[h];if(0>l)return d.error("M305",h,l,e),!1}return!0};return e}(h.ob);h.df=b})(d.events||
(d.events={}))})(k||(k={}));(function(d){(function(h){var a=function(b){function h(){return null!==b&&b.apply(this,arguments)||this}u(h,b);h.prototype.H=function(e){var c=b.prototype.H.call(this,e);c&&(e=e.allResponseHeaders()||"",(e=d.correlation.hl(e))&&null!==e&&null!==e.clientRequestGUID&&(c.eventGUID=e.clientRequestGUID),null!==e&&(c.serverMetadata=e));return c};return h}(h.df);h.ci=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(h){var a=function(b){function l(){return null!==
b&&b.apply(this,arguments)||this}u(l,b);l.prototype.H=function(e){var c=b.prototype.H.call(this,e);d.utils.mergeJSON(c,{message:e.msg()||"",timestamp:e.timestamp(),line:e.line(),stack:e.stack(),parentPageName:c.parentType==d.EventType.VPageView&&d.conf.spa2?e.parentPageName():h.xa.userPageName});d.utils.isString(c.userPageName)||(c.userPageName=c.parentPageName);return c};return l}(h.ob);h.kj=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){(function(a){a.build=function(b){var l=
{},e=d.metricSpec[b.type()],c;for(c in e){var a=e[c];if(null!==a.name&&b.perf.getEntryByName(a.start)&&b.perf.getEntryByName(a.end)){b.perf.measure(a.name,a.start,a.end);var k=b.perf.getEntryByName(a.name);l[a.name]=k&&0<=k.duration&&k.duration||null}}for(c in l)l[c]=Math.round(l[c]);return l}})(d.Xc||(d.Xc={}))})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(b){function a(){return null!==b&&b.apply(this,arguments)||this}u(a,b);a.prototype.H=function(e){var c=b.prototype.H.call(this,
e),a=d.Xc.build(e);a.PLC=1;c.metrics=a;c.timestamp=e.timestamp();e=(new d.ResourceTimingInfoBuilder(e.resTiming())).build();null!==e&&(c.resourceTimingInfo=e);return c};return a}(d.ob);d.cf=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(h){var a=function(b){function a(){return null!==b&&b.apply(this,arguments)||this}u(a,b);a.setPageName=function(d){a.Ea=d};a.prototype.H=function(e){var c=b.prototype.H.call(this,e),k=h.Xc.build(e);k.PLT=e.timestamp()-e.startTime;k.VCT=e.vct;k.PLC=
1;c.metrics=k;c.timestamp=e.timestamp();k=(new h.ResourceTimingInfoBuilder(e.resTiming(),null,e.startTime)).build();null!==k&&(c.resourceTimingInfo=k);d.utils.isDefined(e.userPageName)&&(c.userPageName=e.userPageName);!d.utils.isDefined(c.userPageName)&&d.utils.isDefined(a.Ea)&&(h.ka.ne("userPageName",a.Ea,d.conf.sb)?c.userPageName=a.Ea:h.ka.hb("userPageName",d.conf.sb),a.Ea=void 0);return c};return a}(h.ob);h.Be=a})(d.events||(d.events={}))})(k||(k={}));(function(d){(function(d){var a=function(d){function h(){return null!==
d&&d.apply(this,arguments)||this}u(h,d);h.prototype.H=function(e){var c=d.prototype.H.call(this,e);c&&(c.metrics.VDC=e.digestCount()||0);return c};return h}(d.cf);d.hj=a})(d.events||(d.events={}))})(k||(k={}));(function(d){var h=d.events||(d.events={});h.fh={};d=[{Wa:h.PageView,Ra:new h.xa},{Wa:h.Ajax,Ra:new h.df},{Wa:h.AdrumAjax,Ra:new h.ci},{Wa:h.Error,Ra:new h.kj},{Wa:h.VPageView,Ra:new h.cf},{Wa:h.AnySpaVPageView,Ra:new h.Be},{Wa:d.ng.NgVPageView,Ra:new h.hj}];for(var a=0;a<d.length;a++){var b=
d[a];b.Wa.prototype._regId=a;h.fh[a]=b.Ra}})(k||(k={}));(function(d){(function(h){h.reportEvent=function(h,b){if(d.utils.isDefined(d.conf.isReportingPaused)&&d.conf.isReportingPaused)d.log("M306");else{var l=d.events.fh[h._regId];l?(l=l.H(h),d.utils.isDefined(l)&&(d.log("M308",d.EventType[h.type()]),d.channel.report(l,b))):d.log("M307",d.EventType[h.type()])}}})(d.reporter||(d.reporter={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(){this.ready=!1}b.prototype.onReady=function(){this.ready=
!0;this.channel.onResolverReady()};b.prototype.isReady=function(){this.ready||d.log("M309");return this.ready};b.prototype.init=function(d){this.channel=d};return b}();h.yj=a})(d.commands||(d.commands={}))})(k||(k={}));(function(d){(function(h){var a=new h.yj;d.channel.addResolver(a);h.marks={};h.mark=function(b,a){d.log("M310",b,a);h.marks[b]=a};h.quickReportOnLoad=function(b){a.onReady();d.reporter.reportEvent(b,!0)};h.reportOnload=function(b){d.utils.oSTO(function(){d.log("M311");d.reporter.reportEvent(b);
a.onReady()},d.conf.wj)};h.reportEvent=function(){d.reporter.reportEvent.apply(d.reporter,arguments)};h.addResolver=function(b){d.channel.addResolver(b)};h.reportXhr=function(b,h){d.log("M312");d.Xb.Vg()==d.Xb.se?(d.log("M313"),d.utils.oSTO(function(){b.parentPhaseId(d.Xb.Ug(b));d.reporter.reportEvent(b)},0)):(b.parentPhaseId(d.Xb.Ug(b)),d.reporter.reportEvent(b,h))};h.listenForOkToSendChildFrameBeacons=function(b){d.log("M314");try{b()}catch(h){d.exception(h,"M315")}};h.reportPageError=function(b){var h=
b.url();d.log("M316",b.msg(),h,b.line(),b.stack());h&&0!==h.length||b.url("CROSSORIGIN");d.reporter.reportEvent(b)};h.setPageName=function(b){d.utils.isString(b)&&0<d.utils.trim(b).length&&d.events.xa.setPageName(b)};h.setVirtualPageName=function(b){d.utils.isString(b)&&0<d.utils.trim(b).length&&d.conf.spa2&&d.events.Be.setPageName(b)};h.addUserData=function(b,h){d.utils.isDefined(b)&&d.utils.isDefined(h)&&d.events.xa.addUserData(b,h)};h.call=function(d){d()}})(d.commands||(d.commands={}))})(k||(k=
{}));(function(d){(function(d){d.Gf=function(a){return encodeURIComponent(d.da.Am(a))}})(d.utils||(d.utils={}))})(k||(k={}));(function(d){(function(h){var a=function(){function b(){}b.prototype.setUp=function(){this.pm();d.utils.addEventListener(window,"pagehide",b.ye);d.utils.addEventListener(window,"beforeunload",b.ye);d.utils.addEventListener(window,"unload",b.ye)};b.prototype.pm=function(){(this.startTime=b.Ck()||b.Bk())&&d.commands.mark("starttime",this.startTime)};b.Ck=function(){var b;try{if(d.utils.isDefined(window.external)&&
d.utils.isNumber(window.external.pageT))b=(new Date).getTime()-window.external.pageT;else if(d.utils.isDefined(window.gtbExternal)&&d.utils.isFunction(window.gtbExternal.pageT)){var e=window.gtbExternal.pageT();d.utils.isNumber(e)&&(b=(new Date).getTime()-e)}else d.utils.isDefined(window.chrome)&&d.utils.isFunction(window.chrome.csi)&&(e=window.chrome.csi(),d.utils.isDefined(e)&&d.utils.isNumber(e.pageT)&&(b=(new Date).getTime()-e.pageT));b&&(b=Math.round(b),d.log("M317",b))}catch(h){d.exception(h,
"M318")}return b};b.Bk=function(){var b=d.correlation.startTimeCookie;if(b){d.log("M319",b.startTime,b.startPage);var e=d.utils.Gf(document.referrer);if(e===b.startPage)if(isNaN(b.startTime))d.log("M320",b.startTime);else return b.startTime;else d.log("M321",e,b.startPage)}else d.log("M322")};b.qk=function(b,e){var h=document.domain,a="https:"===document.location.protocol,k="ADRUM=s="+Number(new Date)+"&r="+d.utils.Gf(document.location.href),f=k+";path=/;samesite=lax";a&&(f+=";secure");d.log("M323",
k);if(!d.conf.useStrictDomainCookies){for(var a=b(),h=h.split("."),p="",n=h.length-1;0<=n;n--){p="."+h[n]+p;d.log("M324",p);e(f+";domain="+p);var s=b();if(s!=a&&0<=s.indexOf(k)){d.log("M325");d.log("M326");return}}d.log("M327")}d.log("M328");e(f);d.log("M329")};return b}();a.ye=function(){var d=!1;return function(){d||(d=!0,a.qk(function(){return document.cookie},function(d){document.cookie=d}))}}();h.xo=a;h.vn=new a})(d.monitor||(d.monitor={}))})(k||(k={}));(function(d){d.log("M330");d.monitor.vn.setUp();
d.monitor.domEventsMonitor.setUpOnBeforeUnload();d.q.processQ();d.initEXTDone=!0;d.log("M331")})(k||(k={}))}};})();
