#1 JavaScript::Eval (size: 88374) - SHA256: 2e7685ed0d6271a0d286a6068d7c213a3dcbf49cdb0eebae7eb9be242dfba559
var sName = "s";
var s_codeVer = "2.12 - Ensighten - App Measurement FEB 2022";
if (/ciatesting/i.test(document.location.search)) console.log("CIA:Code version", s_codeVer);
if (location.hostname === "pilot-www.nab.com.au" || /whu.nab.com.au/.test(window.location.hostname) || /localhost|nabdev.com.au|devnab.com.au|extnp.nab.com.au|nextrel-www.nab.com.au/.test(window.location.hostname)) var s_account =
"nab-dev";
else if (typeof Bootstrapper != "undefined" && typeof Bootstrapper.ensightenOptions != "undefined" && typeof Bootstrapper.ensightenOptions.publishPath != "undefined")
if (Bootstrapper.ensightenOptions.publishPath.toLowerCase() == "dev" || Bootstrapper.ensightenOptions.publishPath.toLowerCase() == "stage") var s_account = "nab-dev";
else var s_account = "nab-prd";
else var s_account = "nab-prd";
var s = s_gi(s_account);
if (typeof window.Visitor != "undefined" && typeof window.Visitor.getInstance != "undefined") s.visitor = window.Visitor.getInstance("4986658252DDA4900A490D4D@AdobeOrg");
s.charSet = "UTF-8";
s.cookieDomainPeriods = 3;
s.currencyCode = "AUD";
s.trackDownloadLinks = true;
s.trackExternalLinks = true;
s.trackInlineStats = true;
s.linkDownloadFileTypes = "exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls,docx,xlsx,pptx,csv";
s.linkInternalFilters = "javascript:,nab.com.au,thenational.com,national.com.au," + window.location.host;
s.linkLeaveQueryString = false;
s.linkTrackVars = "None";
s.linkTrackEvents = "None";
s._extraSearchEngines = "";
s._channelDomain = "Social Media|facebook.com,flickr.com,digg.com,twitter.com,t.co,myspace.com,youtube.com,linkedin.com,stumbleupon.com,del.icio.us,reddit.com,metacafe.com,technorati.com";
s._channelParameter = "Paid Media|cid\x3ePaid Search|ps_kwcid\x3eSocial Media|sm_cid\x3ePaid Media|CID\x3ePaid Search|PS_KWCID\x3eSocial Media|SM_CID";
s._channelPattern = "";
s.prop72 = typeof Visitor != "undefined" ? "VisitorAPI Present" : "VisitorAPI Missing";
s.usePlugins = true;
function s_doPlugins(s) {
if (typeof s.events == "undefined" && typeof s.eventsListEns != "undefined" && s.eventsListEns) s.events = s.eventsListEns;
if (!s.pageType && s.pageName) {
s.pageName = s.pageName.toLowerCase();
pathArray = s.pageName.split(":");
s.prop1 =
pathArray[0];
if (typeof pathArray[1] != "undefined") s.channel = pathArray.slice(0, 2).join(":");
if (typeof pathArray[2] != "undefined") s.prop3 = pathArray.slice(0, 3).join(":");
if (typeof pathArray[3] != "undefined") s.prop30 = pathArray.slice(0, 4).join(":")
}
s.hier1 = s.pageName ? 'D\x3dpageName+":index"' : "Error";
if (!s.server) s.server = window.location.host;
if (typeof s.linkType == "undefined" || s.linkType === 0) s.prevPg = s.getPreviousValue(s.pageName, "gpv_pN");
if (!s.eVar6)
if (typeof s != "undefined" && typeof s.Util != "undefined" &&
typeof s.Util.getQueryParam != "undefined") {
s.eVar6 = s.Util.getQueryParam("mh_cid");
if (!s.eVar6) s.eVar6 = s.Util.getQueryParam("MH_CID")
} else if (typeof s != "undefined" && typeof s.getQueryParam != "undefined") s.eVar6 = s.getQueryParam("mh_cid");
if (!s.eVar6)
if (typeof s != "undefined" && typeof s.Util != "undefined" && typeof s.Util.getQueryParam != "undefined") {
s.eVar6 = s.Util.getQueryParam("s_kwcid");
if (!s.eVar6) s.eVar6 = s.Util.getQueryParam("S_KWCID")
} else if (typeof s != "undefined" && typeof s.getQueryParam != "undefined") s.eVar6 =
s.getQueryParam("s_kwcid");
if (!s.eVar6)
if (typeof s != "undefined" && typeof s.Util != "undefined" && typeof s.Util.getQueryParam != "undefined" && window.location.href.match(/own_cid/gi) != null && window.location.href.match(/own_cid/gi).length > 1 && window.location.href.indexOf("QRcode:") != -1) window.location.search.split(/[?&]/).reduce(function(a, val) {
var param = val.split("\x3d"),
paramName = param[0],
paramValue = decodeURIComponent(param[1]);
if (paramName == "own_cid" && paramValue.indexOf("QRcode:") != -1) s.eVar6 = paramValue
}, {});
else if (typeof s != "undefined" && typeof s.Util != "undefined" && typeof s.Util.getQueryParam != "undefined") {
s.eVar6 = s.Util.getQueryParam("own_cid");
if (!s.eVar6) s.eVar6 = s.Util.getQueryParam("OWN_CID")
} else if (typeof s != "undefined" && typeof s.getQueryParam != "undefined") s.eVar6 = s.getQueryParam("own_cid");
if (!s.eVar6)
if (typeof s != "undefined" && typeof s.Util != "undefined" && typeof s.Util.getQueryParam != "undefined") {
s.eVar6 = s.Util.getQueryParam("pzn_cid");
if (!s.eVar6) s.eVar6 = s.Util.getQueryParam("PZN_CID")
} else if (typeof s !=
"undefined" && typeof s.getQueryParam != "undefined") s.eVar6 = s.getQueryParam("pzn_cid");
if (s.eVar6) s.eVar6 = s.eVar6.replace(/#.+$/i, "");
s.prop5 = s.getVisitNum("m");
if (s.eVar4) {
var currentPageNumberChk = false;
if (typeof s.currentPageNumber != "undefined" && s.currentPageNumber == "1") currentPageNumberChk = true;
if (typeof s.currentPageNumber == "undefined" || currentPageNumberChk) {
s.eVar4 = s.eVar4.toLowerCase();
s.prop4 = "D\x3dv4";
s.prop6 = s.prevPg;
s.events = s.apl(s.events, "event4", ",", 2)
} else {
s.eVar4 = "";
s.prop7 = ""
}
}
if (typeof s.linkType !=
"undefined" && s.linkType == "d") {
var tUrl = s.linkURL;
s.linkType = "o"
}
if (tUrl) {
var s_yttUrlSnip = tUrl.indexOf("wps/wcm/connect");
var s_msoUrlSnip = tUrl.indexOf("vgnmedia/downld");
if (s_yttUrlSnip > -1) tUrl = tUrl.slice(s_yttUrlSnip);
else if (s_msoUrlSnip > -1) tUrl = tUrl.slice(s_msoUrlSnip);
s.linkTrackVars = "prop9,eVar9,prop10,eVar10,prop11,eVar11,events";
s.linkTrackEvents = "event10";
s.events = "event10";
s.prop9 = s.pageName;
s.eVar9 = "D\x3dc9";
s.prop10 = tUrl;
s.eVar10 = "D\x3dc10";
s.eVar11 = s.prop11 = "D\x3dg"
}
if (s.products && s.products.indexOf("event14") >
-1 && typeof s.events != "undefined" && !/event14/i.test(s.events)) s.events = s.apl(s.events, "event14", ",", 2);
if (s.pageName == "404 error page") s.prop12 = s.prevPg;
if (typeof s != "undefined" && typeof s.Util != "undefined" && typeof s.Util.getQueryParam != "undefined") {
s.channelManager("cid,ps_kwcid,sm_cid,CID,PS_KWCID,SM_CID", ":", "s_cm", "0", "dl");
if (s._channel == "Natural Search") s._campaign = s._partner + "-" + s._channel + "-" + s._keywords.toLowerCase();
if (s._channel == "Referrers") {
s._channel = "Other Referrers";
s._campaign = s._channel +
"-" + s._referringDomain
}
if (s._campaign) {
s._campaign = s._campaign.replace(/#.+$/i, "");
s.campaign = s._campaign
}
s.eVar31 = s._channel;
s.eVar32 = s._referrer;
s.eVar33 = s._referringDomain;
s.eVar34 = s._partner;
s.eVar35 = s._keywords;
if (s._channel == "Paid Media" && s._campaign) {
var expiryDate = new Date;
expiryDate.setDate(expiryDate.getDate() + 90);
document.cookie = "last_cid\x3d" + s._campaign + "; expires\x3d" + expiryDate.toGMTString() + "; path\x3d/; domain\x3d.nab.com.au"
}
s.prop31 = s.campaign ? 'D\x3d"' + s.campaign + ':"+pageName' :
"D\x3dpageName";
s.eVar36 = s.crossVisitParticipation(s.eVar31, "s_atx", "90", "5", "\x3e", "", "0");
s.eVar37 = s.crossVisitParticipation(s.campaign, "s_cid", "30", "5", "\x3e", "", "0");
s.eVar38 = s.crossVisitParticipation(s.eVar35, "s_kywd", "30", "5", "\x3e", "", "0");
s.eVar39 = s.crossVisitParticipation(s.eVar6, "s_intP", "30", "5", "\x3e", "", "0")
} else if (typeof s != "undefined" && typeof s.getQueryParam != "undefined") {
if (!s.campaign) s.campaign = s.getQueryParam("cid");
if (!s.campaign) s.campaign = s.getQueryParam("ps_kwcid");
if (!s.campaign) s.campaign =
s.getQueryParam("sm_cid")
}
if (typeof s.getTimeParting == "function") s.eVar73 = s.getTimeParting("Australia/Victoria");
s.prop13 = s.getNewRepeat();
if (typeof s_engagementTrackerType != "undefined" && s_engagementTrackerType == "aa-plugin" && (typeof s.linkType == "undefined" || s.linkType === 0)) {
var ppv = s.getPreviousValue("", "s_ppv");
var ppvl = s.getPreviousValue("", "s_ppvl");
s.getPercentPageViewed()
}
if (s.prop1) s.eVar1 = "D\x3dc1";
if (s.channel) s.prop2 = s.eVar2 = "D\x3dch";
if (s.prop3) s.eVar3 = "D\x3dc3";
if (s.pageName && !s.prop9) s.prop9 =
s.eVar9 = "D\x3dpageName";
if (s.prop5) s.eVar5 = "D\x3dc5";
if (s.prop7 === "0") s.prop7 = "zero";
if (s.prop8) s.eVar8 = "D\x3dc8";
s.eVar11 = s.prop11 = "D\x3dg";
if (s.prop13) s.eVar13 = "D\x3dc13";
if (s.prop21) s.eVar21 = "D\x3dc21";
if (s.prop30) s.eVar30 = "D\x3dc30";
s.prop75 = s.eVar75 = s_codeVer;
var sc_vis_sync = false;
if (s && s.eVar49 && s.eVar49.trim().length > 0 && s.events) {
var isIBLoginEvent = function(events) {
var evtList = events.split(",");
for (var idx = 0; idx < evtList.length; idx++)
if ("event9" === evtList[idx]) return true;
return false
}(s.events);
if (isIBLoginEvent) {
if (/ciatesting/i.test(document.location.search)) console.log("SSC:IB Login event");
syncSsc(s.eVar49);
if (typeof visitor != "undefined" && typeof visitor.setCustomerIDs != "undefined") {
visitor.setCustomerIDs({
"ssc": {
"id": s.eVar49,
"authState": 1
},
"sscxd": {
"id": s.eVar49,
"authState": "1"
}
});
sc_vis_sync = true
}
}
}
if (s && s.eVar49 && s.eVar49.trim().length > 0 && s.events) {
var isEmailClickThroughEvent = function(events) {
var evtList = events.split(",");
for (var idx = 0; idx < evtList.length; idx++)
if ("event111" === evtList[idx]) return true;
return false
}(s.events);
if (isEmailClickThroughEvent) {
if (/ciatesting/i.test(document.location.search)) console.log("SSC:IB Email event");
syncSsc(s.eVar49);
if (typeof visitor != "undefined" && typeof visitor.setCustomerIDs != "undefined") visitor.setCustomerIDs({
"ssc": {
"id": s.eVar49,
"authState": 0
},
"sscxd": {
"id": s.eVar49,
"authState": "0"
}
})
}
}
if (SscCookieHandler.getCookie("sync_s_vi") == null) {
syncAnalyticsVisitorCookie();
if (SscCookieHandler.getCookie("nab_s_vid") != null && sc_vis_sync === false) {
if (/ciatesting/i.test(document.location.search)) console.log("SSC:Cookie Sync event");
var cookieVal = SscCookieHandler.getCookie("nab_s_vid");
if (typeof visitor != "undefined" && typeof visitor.setCustomerIDs != "undefined" && cookieVal) visitor.setCustomerIDs({
"ssc": {
"id": cookieVal,
"authState": 0
},
"sscxd": {
"id": cookieVal,
"authState": "0"
}
})
}
SscCookieHandler.setCookie("sync_s_vi", "sync")
}
if (typeof window.aamuuid != "undefined") s.eVar76 = window.aamuuid;
s.eVar74 = "D\x3dt";
s.eVar77 = window.location.href.split("?")[0];
if (s.linkTrackVars != "None") s.linkTrackVars = s.apl(s.linkTrackVars, "s.eVar74", ",", 2);
if (typeof nabAdobeSetTargetTokens ==
"function") nabAdobeSetTargetTokens();
if (!!window.s_tnt) {
s.tnt = s_tnt;
delete window.s_tnt
} else if (!!s.tnt) delete s.tnt;
if (/ciatesting/i.test(document.location.search) && s.tnt != "undefined" && s.tnt !== "") console.log("s.tnt: ", s.tnt);
if (typeof tntDemdexSegments != "undefined" && tntDemdexSegments != "") s.prop24 = tntDemdexSegments;
else if (typeof window.aamuuid != "undefined") s.prop24 = "no-segment : first page visit - empty stuff array";
else if (typeof Bootstrapper.aam_tnt_cb == "function") s.prop24 = "no-segment : possible audience manager timeout";
else if (typeof Bootstrapper.aam_tnt_cb != "function") s.prop24 = "no-segment : no callback function defined";
else s.prop24 = "no-segment : unknown error";
s.prop24 = s.prop24.replace(/profile\.omnia=/i, "profile.omnia_all\x3d");
s.prop24 = s.prop24.replace(/profile\.omnia=/g, "");
s.eVar61 = s.prop24;
if (!!s.prop24 && s.prop24.length > 0) {
var prop24split = s.prop24.split(",");
s.prop23 = prop24split[0];
s.prop23 = s.prop23.replace(/profile\.omnia_all/i, "profile.omnia");
s.eVar60 = s.prop23
}
if (typeof digitalData != "undefined" && typeof digitalData.page !=
"undefined" && typeof digitalData.page.pageInfo != "undefined" && typeof digitalData.page.pageInfo.customValues != "undefined" && typeof digitalData.page.pageInfo.customValues.tagDebug != "undefined") {
s.eVar72 = digitalData.page.pageInfo.customValues.tagDebug;
if (typeof s.tnt != "undefined" && s.tnt != "") s.eVar72 += " : " + s.tnt;
if (typeof s.eVar47 != "undefined" && s.eVar47 != "") s.eVar72 += " : " + s.eVar47;
s.prop75 = "D\x3dv72"
}
if (SscCookieHandler.getCookie("sync_scv") == null)
if (typeof Bootstrapper != "undefined" && typeof Bootstrapper.ensEvent !=
"undefined" && typeof Bootstrapper.ensEvent.trigger != "undefined") Bootstrapper.ensEvent.trigger("ensEvent - analytics-doPlugins-complete");
s.AudienceManagement.setup({
"partner": "nab",
"disableDestinationPublishingIframe": true,
"containerNSID": 0,
"uuidCookie": {
"name": "aam_uuid",
"days": 30
},
"visitorService": {
"namespace": "4986658252DDA4900A490D4D@AdobeOrg"
}
});
(function() {
if (/ciatesting/i.test(document.location.search)) console.log("CIA: CS Analytics Integration (updated) loaded!");
try {
var version = "1.9.0";
function callback() {
if (!disableCallback) {
disableCallback =
true;
if (window.CS_CONF) {
CS_CONF.integrations = CS_CONF.integrations || [];
CS_CONF.integrations.push("Adobe Analytics - v" + version)
}
}
}
var disableCallback = false;
window._uxa = window._uxa || [];
_uxa.push(["afterPageView", callback]);
var cmk = null;
var cn = "_cs_mk_aa";
function init(cookieValue) {
if (cookieValue) cmk = cookieValue;
else {
cmk = Math.random() + "_" + Date.now();
var tld = function() {
var i = 0,
domain = document.domain,
p = domain.split("."),
s = "_cs_tld" + (new Date).getTime();
while (i < p.length - 1 && document.cookie.indexOf(s + "\x3d" +
s) == -1) {
domain = p.slice(-1 - ++i).join(".");
document.cookie = s + "\x3d" + s + ";domain\x3d" + domain + ";SameSite\x3dNone;Secure"
}
document.cookie = s + "\x3d;expires\x3dThu, 01 Jan 1970 00:00:01 GMT;domain\x3d" + domain + ";";
return domain
}();
var now = new Date;
var time = now.getTime();
time += 30 * 60 * 1E3;
now.setTime(time);
document.cookie = cn + "\x3d" + cmk + "; expires\x3d" + now.toUTCString() + ";path\x3d/;domain\x3d" + tld + ";SameSite\x3dNone;Secure"
}
s.eVar81 = cmk;
_uxa.push(["trackDynamicVariable", {
key: "csMatchingKey",
value: cmk
}])
}
var cookies =
"; " + document.cookie;
if (cookies) {
var getCookie = cookies.split("; " + cn + "\x3d");
if (getCookie.length == 1) init();
else {
var cookieValue = getCookie[1].split(";")[0];
init(cookieValue)
}
}
} catch (err) {
if (/ciatesting/i.test(document.location.search)) console.error("CIA: CS AA integration error: ", err)
}
})()
}
s.doPlugins = s_doPlugins;
s.linkHandler = new Function("p", "t", "" + "var s\x3dthis,h\x3ds.p_gh(),i,l;t\x3dt?t:'o';if(!h||(s.linkType\x26\x26(h||s.linkN" + "ame)))return '';i\x3dh.indexOf('?');h\x3ds.linkLeaveQueryString||i\x3c0?h:h." +
"substring(0,i);l\x3ds.pt(p,'|','p_gn',h.toLowerCase());if(l){s.linkNam" + "e\x3dl\x3d\x3d'[['?'':l;s.linkType\x3dt;return h;}return '';");
s.p_gn = new Function("t", "h", "" + "var i\x3dt?t.indexOf('~'):-1,n,x;if(t\x26\x26h){n\x3di\x3c0?'':t.substring(0,i);x\x3d" + "t.substring(i+1);if(h.indexOf(x.toLowerCase())\x3e-1)return n?n:'[[';}" + "return 0;");
s.p_gh = new Function("" + "var s\x3dthis;if(!s.eo\x26\x26!s.lnk)return '';var o\x3ds.eo?s.eo:s.lnk,y\x3ds.ot(" + "o),n\x3ds.oid(o),x\x3do.s_oidt;if(s.eo\x26\x26o\x3d\x3ds.eo){while(o\x26\x26!n\x26\x26y!\x3d'BODY'){" +
"o\x3do.parentElement?o.parentElement:o.parentNode;if(!o)return '';y\x3ds." + "ot(o);n\x3ds.oid(o);x\x3do.s_oidt}}return o.href?o.href:'';");
s.getNewRepeat = new Function("d", "cn", "" + "var s\x3dthis,e\x3dnew Date(),cval,sval,ct\x3de.getTime();d\x3dd?d:30;cn\x3dcn?cn:" + "'s_nr';e.setTime(ct+d*24*60*60*1000);cval\x3ds.c_r(cn);if(cval.length\x3d" + "\x3d0){s.c_w(cn,ct+'-New',e);return'New';}sval\x3ds.split(cval,'-');if(ct" + "-sval[0]\x3c30*60*1000\x26\x26sval[1]\x3d\x3d'New'){s.c_w(cn,ct+'-New',e);return'N" +
"ew';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}");
s.getPreviousValue = new Function("v", "c", "el", "" + "var s\x3dthis,t\x3dnew Date,i,j,r\x3d'';t.setTime(t.getTime()+1800000);if(el" + "){if(s.events){i\x3ds.split(el,',');j\x3ds.split(s.events,',');for(x in i" + "){for(y in j){if(i[x]\x3d\x3dj[y]){if(s.c_r(c)) r\x3ds.c_r(c);v?s.c_w(c,v,t)" + ":s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r\x3ds.c_r(c);v?" + "s.c_w(c,v,t):s.c_w(c,'no value',t);return r}");
s.getValOnce = new Function("v", "c", "e", "t", "" +
"var s\x3dthis,a\x3dnew Date,v\x3dv?v:'',c\x3dc?c:'s_gvo',e\x3de?e:0,i\x3dt\x3d\x3d'm'?6000" + "0:86400000;k\x3ds.c_r(c);if(v){a.setTime(a.getTime()+e*i);s.c_w(c,v,e" + "\x3d\x3d0?0:a);}return v\x3d\x3dk?'':v");
s.getVisitNum = new Function("tp", "c", "c2", "" + "var s\x3dthis,e\x3dnew Date,cval,cvisit,ct\x3de.getTime(),d;if(!tp){tp\x3d'm';}" + "if(tp\x3d\x3d'm'||tp\x3d\x3d'w'||tp\x3d\x3d'd'){eo\x3ds.endof(tp),y\x3deo.getTime();e.setTi" + "me(y);}else {d\x3dtp*86400000;e.setTime(ct+d);}if(!c){c\x3d's_vnum';}if(!" +
"c2){c2\x3d's_invisit';}cval\x3ds.c_r(c);if(cval){var i\x3dcval.indexOf('\x26vn\x3d" + "'),str\x3dcval.substring(i+4,cval.length),k;}cvisit\x3ds.c_r(c2);if(cvisi" + "t){if(str){e.setTime(ct+1800000);s.c_w(c2,'true',e);return str;}els" + "e {return 'unknown visit number';}}else {if(str){str++;k\x3dcval.substri" + "ng(0,i);e.setTime(k);s.c_w(c,k+'\x26vn\x3d'+str,e);e.setTime(ct+1800000);" + "s.c_w(c2,'true',e);return str;}else {s.c_w(c,e.getTime()+'\x26vn\x3d1',e)" + ";e.setTime(ct+1800000);s.c_w(c2,'true',e);return 1;}}");
s.dimo = new Function("m", "y", "" + "var d\x3dnew Date(y,m+1,0);return d.getDate();");
s.endof = new Function("x", "" + "var t\x3dnew Date;t.setHours(0);t.setMinutes(0);t.setSeconds(0);if(x\x3d\x3d" + "'m'){d\x3ds.dimo(t.getMonth(),t.getFullYear())-t.getDate()+1;}else if(" + "x\x3d\x3d'w'){d\x3d7-t.getDay();}else {d\x3d1;}t.setDate(t.getDate()+d);return " + "t;");
s.apl = new Function("l", "v", "d", "u", "" + "var s\x3dthis,m\x3d0;if(!l)l\x3d'';if(u){var i,n,a\x3ds.split(l,d);for(i\x3d0;i\x3ca." + "length;i++){n\x3da[i];m\x3dm||(u\x3d\x3d1?(n\x3d\x3dv):(n.toLowerCase()\x3d\x3dv.toLowerCas" +
"e()));}}if(!m)l\x3dl?l+d+v:v;return l");
s.p_c = new Function("v", "c", "" + "var x\x3dv.indexOf('\x3d');return c.toLowerCase()\x3d\x3dv.substring(0,x\x3c0?v.le" + "ngth:x).toLowerCase()?v:0");
s.repl = new Function("x", "o", "n", "" + "var i\x3dx.indexOf(o),l\x3dn.length;while(x\x26\x26i\x3e\x3d0){x\x3dx.substring(0,i)+n+x." + "substring(i+o.length);i\x3dx.indexOf(o,i+l)}return x");
s.split = new Function("l", "d", "" + "var i,x\x3d0,a\x3dnew Array;while(l){i\x3dl.indexOf(d);i\x3di\x3e-1?i:l.length;a[x" + "++]\x3dl.substring(0,i);l\x3dl.substring(i+d.length);}return a");
s.channelManager = new Function("a", "b", "c", "d", "e", "f", "" + "var s\x3dthis,A,B,g,l,m,p,q,P,h,k,u,S,i,O,T,j,r,t,D,E,F,G,H,N,U,v\x3d0,X," + "Y,W,n\x3dnew Date;n.setTime(n.getTime()+1800000);if(e){v\x3d1;if(s.c_r(e)" + ")v\x3d0;if(!s.c_w(e,1,n))s.c_w(e,1,0);if(!s.c_r(e))v\x3d0;}g\x3ds.referrer?s" + ".referrer:document.referrer;g\x3dg.toLowerCase();if(!g)h\x3d1;i\x3dg.indexOf" + "('?')\x3e-1?g.indexOf('?'):g.length;j\x3dg.substring(0,i);k\x3ds.linkInterna" + "lFilters.toLowerCase();k\x3ds.split(k,',');for(m\x3d0;m\x3ck.length;m++){B\x3dj" +
".indexOf(k[m])\x3d\x3d-1?'':g;if(B)O\x3dB;}if(!O\x26\x26!h){p\x3dg;U\x3dg.indexOf('//');" + "q\x3dU\x3e-1?U+2:0;Y\x3dg.indexOf('/',q);r\x3dY\x3e-1?Y:i;u\x3dt\x3dg.substring(q,r).toL" + "owerCase();P\x3d'Other Natural Referrers';S\x3ds.seList+'\x3e'+s._extraSearc" + "hEngines;if(d\x3d\x3d1){j\x3ds.repl(j,'oogle','%');j\x3ds.repl(j,'ahoo','^');g\x3d" + "s.repl(g,'as_q','*');}A\x3ds.split(S,'\x3e');for(i\x3d0;i\x3cA.length;i++){D\x3dA[" + "i];D\x3ds.split(D,'|');E\x3ds.split(D[0],',');for(G\x3d0;G\x3cE.length;G++){H\x3dj" +
".indexOf(E[G]);if(H\x3e-1){if(D[2])N\x3du\x3dD[2];else N\x3dt;if(d\x3d\x3d1){N\x3ds.repl" + "(N,'#',' - ');g\x3ds.repl(g,'*','as_q');N\x3ds.repl(N,'^','ahoo');N\x3ds.rep" + "l(N,'%','oogle');}i\x3ds.split(D[1],',');for(k\x3d0;k\x3ci.length;k++){l\x3ds.U" + "til.getQueryParam(i[k],g).toLowerCase();if(l)break;}}}}}if(!O||f!\x3d'1'" + "){O\x3d'';for(var i\x3d0;i\x3c(a.split(',').length);i++){if(!O)O\x3ds.Util.getQueryParam(a.split(',')[i])};if(O){u\x3dO;if(N)P\x3d'Paid Search';else P\x3d'Unk" + "nown Paid Channel';}if(!O\x26\x26N){u\x3dN;P\x3d'Natural Search';}}if(h\x3d\x3d1\x26\x26!O\x26" +
"\x26v\x3d\x3d1)u\x3dP\x3dt\x3dp\x3d'Typed/Bookmarked';g\x3ds._channelDomain;if(g){k\x3ds.split" + "(g,'\x3e');for(m\x3d0;m\x3ck.length;m++){q\x3ds.split(k[m],'|');r\x3ds.split(q[1]," + "',');S\x3dr.length;for(T\x3d0;T\x3cS;T++){Y\x3dr[T].toLowerCase();i\x3dj.indexOf(Y" + ");if(i\x3e-1)P\x3dq[0];}}}g\x3ds._channelParameter;if(g){k\x3ds.split(g,'\x3e');fo" + "r(m\x3d0;m\x3ck.length;m++){q\x3ds.split(k[m],'|');r\x3ds.split(q[1],',');S\x3dr.l" + "ength;for(T\x3d0;T\x3cS;T++){U\x3ds.Util.getQueryParam(r[T]);if(U)P\x3dq[0];}}}g\x3ds._" +
"channelPattern;if(g){k\x3ds.split(g,'\x3e');for(m\x3d0;m\x3ck.length;m++){q\x3ds.s" + "plit(k[m],'|');r\x3ds.split(q[1],',');S\x3dr.length;for(T\x3d0;T\x3cS;T++){Y\x3dr[" + "T].toLowerCase();i\x3dO.toLowerCase();H\x3di.indexOf(Y);if(H\x3d\x3d0)P\x3dq[0];}}" + "}X\x3dP+l+t+u;c\x3dc?c:'c_m';if(X){s._refer" + "rer\x3dp?p:'n/a';s._referringDomain\x3dt?t:'n/a';s._partner\x3dN?N:'n/a';s._" + "campaignID\x3dO?O:'n/a';s._campaign\x3du?u:'n/a';s._keywords\x3dl?l:N?'Keywo" + "rd Unavailable':'n/a';s._channel\x3dP?P:'n/a';}");
s.seList = "altavista.co,altavista.de|q,r|AltaVista\x3e.aol.,suche.aolsvc." + "de|q,query|AOL\x3eask.jp,ask.co|q,ask|Ask\x3ewww.baidu.com|wd|Baidu\x3edaum." + "net,search.daum.net|q|Daum\x3egoogle.,googlesyndication.com|q,as_q|Goo" + "gle\x3eicqit.com|q|icq\x3ebing.com|q|Bing\x3emyway.com|searchfor|MyWay.com\x3en" + "aver.com,search.naver.com|query|Naver\x3enetscape.com|query,search|Net" + "scape Search\x3ereference.com|q|Reference.com\x3eseznam|w|Seznam.cz\x3eabcso" + "k.no|q|Startsiden\x3etiscali.it,www.tiscali.co.uk|key,query|Tiscali\x3evi" +
"rgilio.it|qs|Virgilio\x3eyahoo.com,yahoo.co.jp|p,va|Yahoo!\x3eyandex|text" + "|Yandex.ru\x3esearch.cnn.com|query|CNN Web Search\x3esearch.earthlink.net" + "|q|Earthlink Search\x3esearch.comcast.net|q|Comcast Search\x3esearch.rr.c" + "om|qs|RoadRunner Search\x3eoptimum.net|q|Optimum Search";
s.crossVisitParticipation = new Function("v", "cn", "ex", "ct", "dl", "ev", "dv", "" + "var s\x3dthis,ce;if(typeof(dv)\x3d\x3d\x3d'undefined')dv\x3d0;if(s.events\x26\x26ev){var" + " ay\x3ds.split(ev,',');var ea\x3ds.split(s.events,',');for(var u\x3d0;u\x3cay.l" +
"ength;u++){for(var x\x3d0;x\x3cea.length;x++){if(ay[u]\x3d\x3dea[x]){ce\x3d1;}}}}i" + "f(!v||v\x3d\x3d''){if(ce){s.c_w(cn,'');return'';}else return'';}v\x3descape(" + "v);var arry\x3dnew Array(),a\x3dnew Array(),c\x3ds.c_r(cn),g\x3d0,h\x3dnew Array()" + ";if(c\x26\x26c!\x3d''){arry\x3ds.split(c,'],[');for(q\x3d0;q\x3carry.length;q++){z\x3dar" + "ry[q];z\x3ds.repl(z,'[','');z\x3ds.repl(z,']','');z\x3ds.repl(z,\"'\",'');arry" + "[q]\x3ds.split(z,',')}}var e\x3dnew Date();e.setFullYear(e.getFullYear()+" + "5);if(dv\x3d\x3d0\x26\x26arry.length\x3e0\x26\x26arry[arry.length-1][0]\x3d\x3dv)arry[arry.len" +
"gth-1]\x3d[v,new Date().getTime()];else arry[arry.length]\x3d[v,new Date(" + ").getTime()];var start\x3darry.length-ct\x3c0?0:arry.length-ct;var td\x3dnew" + " Date();for(var x\x3dstart;x\x3carry.length;x++){var diff\x3dMath.round((td." + "getTime()-arry[x][1])/86400000);if(diff\x3cex){h[g]\x3dunescape(arry[x][0" + "]);a[g]\x3d[arry[x][0],arry[x][1]];g++;}}var data\x3ds.join(a,{delim:','," + "front:'[',back:']',wrap:\"'\"});s.c_w(cn,data,e);var r\x3ds.join(h,{deli" + "m:dl});if(ce)s.c_w(cn,'');return r;");
s.join =
new Function("v", "p", "" + "var s \x3d this;var f,b,d,w;if(p){f\x3dp.front?p.front:'';b\x3dp.back?p.back" + ":'';d\x3dp.delim?p.delim:'';w\x3dp.wrap?p.wrap:'';}var str\x3d'';for(var x\x3d0" + ";x\x3cv.length;x++){if(typeof(v[x])\x3d\x3d'object' )str+\x3ds.join( v[x],p);el" + "se str+\x3dw+v[x]+w;if(x\x3cv.length-1)str+\x3dd;}return f+str+b;");
s.getTimeParting = function(t) {
var c = t;
if ("-v" === t) return {
plugin: "getTimeParting",
version: "6.3"
};
a: {
if ("undefined" !== typeof window.s_c_il) {
var a = 0;
for (var b; a < window.s_c_il.length; a++)
if (b =
window.s_c_il[a], b._c && "s_c" === b._c) {
a = b;
break a
}
}
a = void 0
}
"undefined" !== typeof a && (a.contextData.getTimeParting = "6.3");
c = document.documentMode ? void 0 : c || "Etc/GMT";
a = (new Date).toLocaleDateString("en-US", {
timeZone: c,
minute: "numeric",
hour: "numeric",
weekday: "long",
day: "numeric",
year: "numeric",
month: "long"
});
a = /([a-zA-Z]+).*?([a-zA-Z]+).*?([0-9]+).*?([0-9]+)(.*?)([0-9])(.*)/.exec(a);
return a[1] + "|" + (a[6] + a[7])
};
s.manageVars = new Function("c", "l", "f", "" + "var s\x3dthis,vl,la,vla;l\x3dl?l:'';f\x3df?f:1 ;if(!s[c])return false;vl\x3d'pa" +
"geName,purchaseID,channel,server,pageType,campaign,state,zip,events" + ",products,transactionID';for(var n\x3d1;n\x3c76;n++){vl+\x3d',prop'+n+',eVar" + "'+n+',hier'+n;}if(l\x26\x26(f\x3d\x3d1||f\x3d\x3d2)){if(f\x3d\x3d1){vl\x3dl;}if(f\x3d\x3d2){la\x3ds.spl" + "it(l,',');vla\x3ds.split(vl,',');vl\x3d'';for(x in la){for(y in vla){if(l" + "a[x]\x3d\x3dvla[y]){vla[y]\x3d'';}}}for(y in vla){vl+\x3dvla[y]?','+vla[y]:'';}" + "}s.pt(vl,',',c,0);return true;}else if(l\x3d\x3d''\x26\x26f\x3d\x3d1){s.pt(vl,',',c,0" +
");return true;}else{return false;}");
s.clearVars = new Function("t", "var s\x3dthis;s[t]\x3d'';");
s.lowercaseVars = new Function("t", "" + "var s\x3dthis;if(s[t]\x26\x26t!\x3d'events'){s[t]\x3ds[t].toString();if(s[t].index" + "Of('D\x3d')!\x3d0){s[t]\x3ds[t].toLowerCase();}}");
s.parseDataLayer = function(obj_name) {
if (typeof obj_name == "undefined") return false;
try {
if (typeof digitalData != "undefined" && typeof digitalData.event != "undefined") {
var lastEventObject = window.digitalData.event[window.digitalData.event.length -
1];
if (lastEventObject.data[obj_name]) return lastEventObject.data[obj_name];
else return "unknown " + obj_name
} else return "unknown " + obj_name
} catch (err) {
return "unknown " + obj_name
}
};
s.parseDataLayerByEventType = function(objName, eventType) {
if (typeof objName == "undefined" || typeof eventType == "undefined") return false;
try {
if (typeof digitalData != "undefined" && typeof digitalData.event != "undefined")
for (var i = digitalData.event.length - 1; i >= 0; i--)
if (eventType == digitalData.event[i].eventType) return digitalData.event[i].data[objName];
else return "unknown " + objName;
else return "unknown " + objName
} catch (err) {
return "unknown " + objName
}
};
s.addEnsEvent = function(eventNumber) {
if (typeof window.s.eventsListEns == "undefined") window.s.eventsListEns = "";
try {
window.s.eventsListEns = window.s.apl(window.s.eventsListEns, eventNumber, ",", 1);
return window.s.eventsListEns
} catch (err) {
return window.s.eventsListEns
}
};
s.getPageNameFromDL = function() {
try {
if (typeof digitalData != "undefined" && typeof digitalData.page != "undefined" && typeof digitalData.page.pageInfo !=
"undefined")
if (digitalData.page.pageInfo.pageName != "undefined") return digitalData.page.pageInfo.pageName;
else return "missing-page-name"
} catch (err) {
return false
}
};
function syncSsc(ssc) {
var img = document.createElement("img");
img.src = "https://dpm.demdex.net/ibs:dpid\x3d2351\x26dpuuid\x3d" + ssc
}
function SscCookieHandler() {}
SscCookieHandler.setCookie = function(sName, sValue, sPath, nDays) {
var expires = "";
if (nDays) {
var d = new Date;
d.setTime(d.getTime() + nDays * 24 * 60 * 60 * 1E3);
expires = "; expires\x3d" + d.toGMTString()
}
try {
var c_value =
encodeURI(sValue) + expires + (typeof sPath === "undefined" || sPath == null ? "; path\x3d/" : "; path\x3d" + sPath);
document.cookie = sName + "\x3d" + c_value
} catch (e) {}
};
SscCookieHandler.getCookie = function(sName) {
var re = new RegExp("(;|^)[^;]*(" + sName + ")\x3d([^;]*)(;|$)");
var res = re.exec(document.cookie);
return res != null ? decodeURI(res[3]) : null
};
SscCookieHandler.removeCookie = function(name) {
SscCookieHandler.setCookie(name, "", null, -1)
};
function syncAnalyticsVisitorCookie() {
var cookiestring = RegExp("s_vi\x3d[^;]+").exec(document.cookie);
var analyticsID = unescape(!!cookiestring ? cookiestring.toString().replace(/^[^|]+\|/, "").replace("\x3d", "").replace("[CE]", "") : "");
if (analyticsID.length > 0) {
var img = document.createElement("img");
img.src = "https://dpm.demdex.net/ibs:dpid\x3d2300\x26dpuuid\x3d" + analyticsID
}
}
s.visitorNamespace = "nab";
s.trackingServer = "metrics.nab.com.au";
s.trackingServerSecure = "smetrics.nab.com.au";
s.loadModule("AudienceManagement");
function AppMeasurement_Module_AudienceManagement(d) {
var a = this;
a.s = d;
var b = window;
b.s_c_in ||
(b.s_c_il = [], b.s_c_in = 0);
a._il = b.s_c_il;
a._in = b.s_c_in;
a._il[a._in] = a;
b.s_c_in++;
a._c = "s_m";
a.setup = function(c) {
b.DIL && c && (c.disableDefaultRequest = !0, c.disableCORS = !0, c.secureDataCollection = !1, a.instance = b.DIL.create(c), a.tools = b.DIL.tools)
};
a.isReady = function() {
return a.instance ? !0 : !1
};
a.getEventCallConfigParams = function() {
return a.instance && a.instance.api && a.instance.api.getEventCallConfigParams ? a.instance.api.getEventCallConfigParams() : {}
};
a.passData = function(b) {
a.instance && a.instance.api && a.instance.api.passData &&
a.instance.api.passData(b)
}
}! function() {
var r, o, a;
"function" != typeof window.DIL && (window.DIL = function(n) {
var c, e, I, r, u, h, t, o, s, i, a, d, y, l, f, g, p, m, b, v, D, O = [],
C = {};
function S(e) {
return void 0 === e || !0 === e
}
n !== Object(n) && (n = {}), I = n.partner, r = n.containerNSID, u = n.mappings, h = n.uuidCookie, t = !0 === n.enableErrorReporting, o = n.visitorService, s = n.declaredId, i = !0 === n.delayAllUntilWindowLoad, a = S(n.secureDataCollection), d = "boolean" == typeof n.isCoopSafe ? n.isCoopSafe : null, y = S(n.enableHrefererParam), l = S(n.enableLogging),
f = S(n.enableUrlDestinations), g = S(n.enableCookieDestinations), p = !0 === n.disableDefaultRequest, m = n.afterResultForDefaultRequest, b = n.visitorConstructor, v = !0 === n.disableCORS, D = !0 === n.ignoreHardDependencyOnVisitorAPI, t && DIL.errorModule.activate(), D && O.push("Warning: this instance is configured to ignore the hard dependency on the VisitorAPI service. This means that no URL destinations will be fired if the instance has no connection to VisitorAPI. If the VisitorAPI service is not instantiated, ID syncs will not be fired either.");
var w = !0 === window._dil_unit_tests;
if ((c = arguments[1]) && O.push(c + ""), !I || "string" != typeof I) {
var _ = {
name: "error",
message: c = "DIL partner is invalid or not specified in initConfig",
filename: "dil.js"
};
return DIL.errorModule.handleError(_), new Error(c)
}
if (c = "DIL containerNSID is invalid or not specified in initConfig, setting to default of 0", !r && "number" != typeof r || (r = parseInt(r, 10), !isNaN(r) && 0 <= r && (c = "")), c && (r = 0, O.push(c), c = ""), (e = DIL.getDil(I, r)) instanceof DIL && e.api.getPartner() === I && e.api.getContainerNSID() ===
r) return e;
if (!(this instanceof DIL)) return new DIL(n, "DIL was not instantiated with the 'new' operator, returning a valid instance with partner \x3d " + I + " and containerNSID \x3d " + r);
DIL.registerDil(this, I, r);
var R = {
doesConsoleLogExist: window.console === Object(window.console) && "function" == typeof window.console.log,
logMemo: {},
log: function(e) {
O.push(e), l && this.doesConsoleLogExist && Function.prototype.bind.call(window.console.log, window.console).apply(window.console, arguments)
},
logOnce: function(e) {
this.logMemo[e] ||
(this.logMemo[e] = !0, R.log(e))
}
},
E = {
IS_HTTPS: a || "https:" === document.location.protocol,
SIX_MONTHS_IN_MINUTES: 259200,
IE_VERSION: function() {
if (document.documentMode) return document.documentMode;
for (var e = 7; 4 < e; e--) {
var t = document.createElement("div");
if (t.innerHTML = "\x3c!--[if IE " + e + "]\x3e\x3cspan\x3e\x3c/span\x3e\x3c![endif]--\x3e", t.getElementsByTagName("span").length) return t = null, e
}
return null
}()
};
E.IS_IE_LESS_THAN_10 = "number" == typeof E.IE_VERSION && E.IE_VERSION < 10;
var P = {
stuffed: {}
},
L = {},
A = {
firingQueue: [],
fired: [],
firing: !1,
sent: [],
errored: [],
reservedKeys: {
sids: !0,
pdata: !0,
logdata: !0,
callback: !0,
postCallbackFn: !0,
useImageRequest: !0
},
firstRequestHasFired: !1,
abortRequests: !1,
num_of_cors_responses: 0,
num_of_cors_errors: 0,
corsErrorSources: [],
num_of_img_responses: 0,
num_of_img_errors: 0,
platformParams: {
d_nsid: r + "",
d_rtbd: "json",
d_jsonv: DIL.jsonVersion + "",
d_dst: "1"
},
nonModStatsParams: {
d_rtbd: !0,
d_dst: !0,
d_cts: !0,
d_rs: !0
},
modStatsParams: null,
adms: {
TIME_TO_CATCH_ALL_REQUESTS_RELEASE: 3E4,
calledBack: !1,
mid: null,
noVisitorAPI: null,
VisitorAPI: null,
instance: null,
releaseType: "no VisitorAPI",
isOptedOut: !0,
isOptedOutCallbackCalled: !1,
admsProcessingStarted: !1,
process: function(e) {
try {
if (this.admsProcessingStarted) return;
this.admsProcessingStarted = !0;
var t, n, s, i = o;
if ("function" != typeof e || "function" != typeof e.getInstance) throw this.noVisitorAPI = !0, new Error("Visitor does not exist.");
if (i !== Object(i) || !(t = i.namespace) || "string" != typeof t) throw this.releaseType = "no namespace", new Error("DIL.create() needs the initConfig property `visitorService`:{namespace:'\x3cExperience Cloud Org ID\x3e'}");
if ((n = e.getInstance(t, {
idSyncContainerID: r
})) !== Object(n) || "function" != typeof n.isAllowed || "function" != typeof n.getMarketingCloudVisitorID || "function" != typeof n.getCustomerIDs || "function" != typeof n.isOptedOut || "function" != typeof n.publishDestinations) throw this.releaseType = "invalid instance", s = "Invalid Visitor instance.", n === Object(n) && "function" != typeof n.publishDestinations && (s += " In particular, visitorInstance.publishDestinations is not a function. This is needed to fire URL destinations in DIL v8.0+ and should be present in Visitor v3.3.0+ ."),
new Error(s);
if (this.VisitorAPI = e, !n.isAllowed()) return this.releaseType = "VisitorAPI is not allowed to write cookies", void this.releaseRequests();
this.instance = n, this.waitForMidToReleaseRequests()
} catch (e) {
if (!D) throw new Error("Error in processing Visitor API, which is a hard dependency for DIL v8.0+: " + e.message);
this.releaseRequests()
}
},
waitForMidToReleaseRequests: function() {
var t = this;
this.instance && (this.instance.getMarketingCloudVisitorID(function(e) {
t.mid = e, t.releaseType = "VisitorAPI", t.releaseRequests()
}, !0), (!N.exists || !N.isIabContext && N.isApproved() || N.isIabContext && B.hasGoSignal()) && setTimeout(function() {
"VisitorAPI" !== t.releaseType && (t.releaseType = "timeout", t.releaseRequests())
}, this.getLoadTimeout()))
},
releaseRequests: function() {
this.calledBack = !0, A.registerRequest()
},
getMarketingCloudVisitorID: function() {
return this.instance ? this.instance.getMarketingCloudVisitorID() : null
},
getMIDQueryString: function() {
var e = k.isPopulatedString,
t = this.getMarketingCloudVisitorID();
return e(this.mid) && this.mid ===
t || (this.mid = t), e(this.mid) ? "d_mid\x3d" + this.mid + "\x26" : ""
},
getCustomerIDs: function() {
return this.instance ? this.instance.getCustomerIDs() : null
},
getCustomerIDsQueryString: function(e) {
if (e !== Object(e)) return "";
var t, n, s, i, r = "",
o = [],
a = [];
for (t in e) e.hasOwnProperty(t) && (n = e[a[0] = t]) === Object(n) && (a[1] = n.id || "", a[2] = n.authState || 0, o.push(a), a = []);
if (i = o.length)
for (s = 0; s < i; s++) r += "\x26d_cid_ic\x3d" + x.encodeAndBuildRequest(o[s], "%01");
return r
},
getIsOptedOut: function() {
this.instance ? this.instance.isOptedOut([this,
this.isOptedOutCallback
], this.VisitorAPI.OptOut.GLOBAL, !0) : (this.isOptedOut = !1, this.isOptedOutCallbackCalled = !0)
},
isOptedOutCallback: function(e) {
this.isOptedOut = e, this.isOptedOutCallbackCalled = !0, A.registerRequest(), N.isIabContext() && B.checkQueryStringObject()
},
getLoadTimeout: function() {
var e = this.instance;
if (e) {
if ("function" == typeof e.getLoadTimeout) return e.getLoadTimeout();
if (void 0 !== e.loadTimeout) return e.loadTimeout
}
return this.TIME_TO_CATCH_ALL_REQUESTS_RELEASE
}
},
declaredId: {
declaredId: {
init: null,
request: null
},
declaredIdCombos: {},
setDeclaredId: function(e, t) {
var n = k.isPopulatedString,
s = encodeURIComponent;
if (e === Object(e) && n(t)) {
var i = e.dpid,
r = e.dpuuid,
o = null;
if (n(i) && n(r)) return o = s(i) + "$" + s(r), !0 === this.declaredIdCombos[o] ? "setDeclaredId: combo exists for type '" + t + "'" : (this.declaredIdCombos[o] = !0, this.declaredId[t] = {
dpid: i,
dpuuid: r
}, "setDeclaredId: succeeded for type '" + t + "'")
}
return "setDeclaredId: failed for type '" + t + "'"
},
getDeclaredIdQueryString: function() {
var e = this.declaredId.request,
t = this.declaredId.init,
n = encodeURIComponent,
s = "";
return null !== e ? s = "\x26d_dpid\x3d" + n(e.dpid) + "\x26d_dpuuid\x3d" + n(e.dpuuid) : null !== t && (s = "\x26d_dpid\x3d" + n(t.dpid) + "\x26d_dpuuid\x3d" + n(t.dpuuid)), s
}
},
registerRequest: function(e) {
var t, n = this.firingQueue;
e === Object(e) && (n.push(e), e.isDefaultRequest || (p = !0)), this.firing || !n.length || i && !DIL.windowLoaded || (this.adms.isOptedOutCallbackCalled || this.adms.getIsOptedOut(), this.adms.calledBack && !this.adms.isOptedOut && this.adms.isOptedOutCallbackCalled && (N.isApproved() ||
B.hasGoSignal()) && (this.adms.isOptedOutCallbackCalled = !1, (t = n.shift()).src = t.src.replace(/&d_nsid=/, "\x26" + this.adms.getMIDQueryString() + B.getQueryString() + "d_nsid\x3d"), k.isPopulatedString(t.corsPostData) && (t.corsPostData = t.corsPostData.replace(/^d_nsid=/, this.adms.getMIDQueryString() + B.getQueryString() + "d_nsid\x3d")), V.fireRequest(t), this.firstRequestHasFired || "script" !== t.tag && "cors" !== t.tag || (this.firstRequestHasFired = !0)))
},
processVisitorAPI: function() {
this.adms.process(b || window.Visitor)
},
getCoopQueryString: function() {
var e =
"";
return !0 === d ? e = "\x26d_coop_safe\x3d1" : !1 === d && (e = "\x26d_coop_unsafe\x3d1"), e
}
};
C.requestController = A;
var q, j, T = {
sendingMessages: !1,
messages: [],
messagesPosted: [],
destinations: [],
destinationsPosted: [],
jsonForComparison: [],
jsonDuplicates: [],
jsonWaiting: [],
jsonProcessed: [],
publishDestinationsVersion: null,
requestToProcess: function(e, t) {
var n, s = this;
function i() {
s.jsonForComparison.push(e), s.jsonWaiting.push([e, t])
}
if (e && !k.isEmptyObject(e))
if (n = JSON.stringify(e.dests || []), this.jsonForComparison.length) {
var r,
o, a, d = !1;
for (r = 0, o = this.jsonForComparison.length; r < o; r++)
if (a = this.jsonForComparison[r], n === JSON.stringify(a.dests || [])) {
d = !0;
break
}
d ? this.jsonDuplicates.push(e) : i()
} else i();
if (this.jsonWaiting.length) {
var u = this.jsonWaiting.shift();
this.process(u[0], u[1]), this.requestToProcess()
}
this.messages.length && !this.sendingMessages && this.sendMessages()
},
process: function(e) {
if (f) {
var t, n, s, i, r, o, a = encodeURIComponent,
d = this.getPublishDestinationsVersion(),
u = !1;
if (-1 !== d) {
if ((t = e.dests) && t instanceof Array &&
(n = t.length)) {
for (s = 0; s < n; s++) i = t[s], o = [a("dests"), a(i.id || ""), a(i.y || ""), a(i.c || "")].join("|"), this.addMessage(o), r = {
url: i.c,
hideReferrer: void 0 === i.hr || !!i.hr,
message: o
}, this.addDestination(r), void 0 !== i.hr && (u = !0);
1 === d && u && R.logOnce("Warning: visitorInstance.publishDestinations version is old (Visitor v3.3.0 to v4.0.0). URL destinations will not have the option of being fired on page, only in the iframe.")
}
this.jsonProcessed.push(e)
}
}
},
addMessage: function(e) {
this.messages.push(e)
},
addDestination: function(e) {
this.destinations.push(e)
},
sendMessages: function() {
this.sendingMessages || (this.sendingMessages = !0, f && this.messages.length && this.publishDestinations())
},
publishDestinations: function() {
function e(e) {
R.log("visitor.publishDestinations() result: " + (e.error || e.message)), n.sendingMessages = !1, n.requestToProcess()
}
function t() {
n.messages = [], n.destinations = []
}
var n = this,
s = A.adms.instance,
i = [],
r = [];
return 1 === this.publishDestinationsVersion ? (x.extendArray(i, this.messages), x.extendArray(this.messagesPosted, this.messages), t(), s.publishDestinations(I,
i, e), "Called visitor.publishDestinations() version 1") : 1 < this.publishDestinationsVersion ? (x.extendArray(r, this.destinations), x.extendArray(this.destinationsPosted, this.destinations), t(), s.publishDestinations({
subdomain: I,
callback: e,
urlDestinations: r
}), "Called visitor.publishDestinations() version \x3e 1") : void 0
},
getPublishDestinationsVersion: function() {
if (null !== this.publishDestinationsVersion) return this.publishDestinationsVersion;
var e = A.adms.instance,
n = -1;
return e.publishDestinations(null, null,
function(e) {
if (e === Object(e)) {
var t = e.error;
"subdomain is not a populated string." === t ? n = 1 : "Invalid parameters passed." === t && (n = 2)
}
}), this.publishDestinationsVersion = n
}
},
M = {
traits: function(e) {
return k.isValidPdata(e) && (L.sids instanceof Array || (L.sids = []), x.extendArray(L.sids, e)), this
},
pixels: function(e) {
return k.isValidPdata(e) && (L.pdata instanceof Array || (L.pdata = []), x.extendArray(L.pdata, e)), this
},
logs: function(e) {
return k.isValidLogdata(e) && (L.logdata !== Object(L.logdata) && (L.logdata = {}), x.extendObject(L.logdata,
e)), this
},
customQueryParams: function(e) {
return k.isEmptyObject(e) || x.extendObject(L, e, A.reservedKeys), this
},
signals: function(e, t) {
var n, s = e;
if (!k.isEmptyObject(s)) {
if (t && "string" == typeof t)
for (n in s = {}, e) e.hasOwnProperty(n) && (s[t + n] = e[n]);
x.extendObject(L, s, A.reservedKeys)
}
return this
},
declaredId: function(e) {
return A.declaredId.setDeclaredId(e, "request"), this
},
result: function(e) {
return "function" == typeof e && (L.callback = e), this
},
afterResult: function(e) {
return "function" == typeof e && (L.postCallbackFn =
e), this
},
useImageRequest: function() {
return L.useImageRequest = !0, this
},
clearData: function() {
return L = {}, this
},
submit: function(e) {
return L.isDefaultRequest = !!e, V.submitRequest(L), L = {}, this
},
getPartner: function() {
return I
},
getContainerNSID: function() {
return r
},
getEventLog: function() {
return O
},
getState: function() {
var e = {},
t = {};
return x.extendObject(e, A, {
registerRequest: !0
}), x.extendObject(t, T, {
requestToProcess: !0,
process: !0,
sendMessages: !0
}), {
initConfig: n,
pendingRequest: L,
otherRequestInfo: e,
destinationPublishingInfo: t,
log: O
}
},
idSync: function() {
throw new Error("Please use the `idSyncByURL` method of the Experience Cloud ID Service (Visitor) instance");
},
aamIdSync: function() {
throw new Error("Please use the `idSyncByDataSource` method of the Experience Cloud ID Service (Visitor) instance");
},
passData: function(e) {
return k.isEmptyObject(e) ? "Error: json is empty or not an object" : (V.defaultCallback(e), e)
},
getPlatformParams: function() {
return A.platformParams
},
getEventCallConfigParams: function() {
var e, t = A,
n = t.modStatsParams,
s = t.platformParams;
if (!n) {
for (e in n = {}, s) s.hasOwnProperty(e) && !t.nonModStatsParams[e] && (n[e.replace(/^d_/, "")] = s[e]);
!0 === d ? n.coop_safe = 1 : !1 === d && (n.coop_unsafe = 1), t.modStatsParams = n
}
return n
},
setAsCoopSafe: function() {
return d = !0, this
},
setAsCoopUnsafe: function() {
return d = !1, this
},
getEventCallIabSignals: function(e) {
var t;
return e !== Object(e) ? "Error: config is not an object" : "function" != typeof e.callback ? "Error: config.callback is not a function" : (t = parseInt(e.timeout, 10), isNaN(t) && (t = null), void B.getQueryStringObject(e.callback,
t))
}
},
V = {
corsMetadata: (q = "none", "undefined" != typeof XMLHttpRequest && XMLHttpRequest === Object(XMLHttpRequest) && "withCredentials" in new XMLHttpRequest && (q = "XMLHttpRequest"), {
corsType: q
}),
getCORSInstance: function() {
return "none" === this.corsMetadata.corsType ? null : new window[this.corsMetadata.corsType]
},
submitRequest: function(e) {
return A.registerRequest(V.createQueuedRequest(e)), !0
},
createQueuedRequest: function(e) {
var t, n, s, i, r, o = e.callback,
a = "img",
d = e.isDefaultRequest;
if (delete e.isDefaultRequest, !k.isEmptyObject(u))
for (s in u)
if (u.hasOwnProperty(s)) {
if (null ==
(i = u[s]) || "" === i) continue;
if (s in e && !(i in e) && !(i in A.reservedKeys)) {
if (null == (r = e[s]) || "" === r) continue;
e[i] = r
}
}
return k.isValidPdata(e.sids) || (e.sids = []), k.isValidPdata(e.pdata) || (e.pdata = []), k.isValidLogdata(e.logdata) || (e.logdata = {}), e.logdataArray = x.convertObjectToKeyValuePairs(e.logdata, "\x3d", !0), e.logdataArray.push("_ts\x3d" + (new Date).getTime()), "function" != typeof o && (o = this.defaultCallback), t = this.makeRequestSrcData(e), (n = this.getCORSInstance()) && !0 !== e.useImageRequest && (a = "cors"), {
tag: a,
src: t.src,
corsSrc: t.corsSrc,
callbackFn: o,
postCallbackFn: e.postCallbackFn,
useImageRequest: !!e.useImageRequest,
requestData: e,
corsInstance: n,
corsPostData: t.corsPostData,
isDefaultRequest: d
}
},
defaultCallback: function(e, t) {
var n, s, i, r, o, a, d, u, c;
if (g && (n = e.stuff) && n instanceof Array && (s = n.length))
for (i = 0; i < s; i++)(r = n[i]) && r === Object(r) && (o = r.cn, a = r.cv, void 0 !== (d = r.ttl) && "" !== d || (d = Math.floor(x.getMaxCookieExpiresInMinutes() / 60 / 24)), u = r.dmn || "." + document.domain.replace(/^www\./, ""), c = r.type, o && (a || "number" ==
typeof a) && ("var" !== c && (d = parseInt(d, 10)) && !isNaN(d) && x.setCookie(o, a, 24 * d * 60, "/", u, !1), P.stuffed[o] = a));
var l, f, p = e.uuid;
k.isPopulatedString(p) && (k.isEmptyObject(h) || ("string" == typeof(l = h.path) && l.length || (l = "/"), f = parseInt(h.days, 10), isNaN(f) && (f = 100), x.setCookie(h.name || "aam_did", p, 24 * f * 60, l, h.domain || "." + document.domain.replace(/^www\./, ""), !0 === h.secure))), A.abortRequests || T.requestToProcess(e, t)
},
makeRequestSrcData: function(r) {
r.sids = k.removeEmptyArrayValues(r.sids || []), r.pdata = k.removeEmptyArrayValues(r.pdata ||
[]);
var o = A,
e = o.platformParams,
t = x.encodeAndBuildRequest(r.sids, ","),
n = x.encodeAndBuildRequest(r.pdata, ","),
s = (r.logdataArray || []).join("\x26");
delete r.logdataArray;
var i, a, d = encodeURIComponent,
u = E.IS_HTTPS ? "https://" : "http://",
c = o.declaredId.getDeclaredIdQueryString(),
l = o.adms.instance ? o.adms.getCustomerIDsQueryString(o.adms.getCustomerIDs()) : "",
f = function() {
var e, t, n, s, i = [];
for (e in r)
if (!(e in o.reservedKeys) && r.hasOwnProperty(e))
if (t = r[e], e = d(e), t instanceof Array)
for (n = 0, s = t.length; n < s; n++) i.push(e +
"\x3d" + d(t[n]));
else i.push(e + "\x3d" + d(t));
return i.length ? "\x26" + i.join("\x26") : ""
}(),
p = "d_dil_ver\x3d" + d(DIL.version),
h = "d_nsid\x3d" + e.d_nsid + o.getCoopQueryString() + c + l + (t.length ? "\x26d_sid\x3d" + t : "") + (n.length ? "\x26d_px\x3d" + n : "") + (s.length ? "\x26d_ld\x3d" + d(s) : ""),
g = "\x26d_rtbd\x3d" + e.d_rtbd + "\x26d_jsonv\x3d" + e.d_jsonv + "\x26d_dst\x3d" + e.d_dst,
m = y ? "\x26h_referer\x3d" + d(location.href) : "";
return a = (i = u + I + ".demdex.net/event") + "?" + p + "\x26" + h + g + f + m, {
corsSrc: i + "?" + p + "\x26_ts\x3d" + (new Date).getTime(),
src: a,
corsPostData: h + g + f + m,
isDeclaredIdCall: "" !== c
}
},
fireRequest: function(e) {
if ("img" === e.tag) this.fireImage(e);
else {
var t = A.declaredId,
n = t.declaredId.request || t.declaredId.init || {},
s = {
dpid: n.dpid || "",
dpuuid: n.dpuuid || ""
};
this.fireCORS(e, s)
}
},
fireImage: function(t) {
var e, n, s = A;
s.abortRequests || (s.firing = !0, e = new Image(0, 0), s.sent.push(t), e.onload = function() {
s.firing = !1, s.fired.push(t), s.num_of_img_responses++, s.registerRequest()
}, n = function(e) {
c = "imgAbortOrErrorHandler received the event of type " +
e.type, R.log(c), s.abortRequests = !0, s.firing = !1, s.errored.push(t), s.num_of_img_errors++, s.registerRequest()
}, e.addEventListener("error", n), e.addEventListener("abort", n), e.src = t.src)
},
fireCORS: function(s, i) {
var r = this,
o = A,
e = this.corsMetadata.corsType,
t = s.corsSrc,
n = s.corsInstance,
a = s.corsPostData,
d = s.postCallbackFn,
u = "function" == typeof d;
if (!o.abortRequests && !v) {
o.firing = !0;
try {
n.open("post", t, !0), "XMLHttpRequest" === e && (n.withCredentials = !0, n.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"),
n.onreadystatechange = function() {
4 === this.readyState && 200 === this.status && function(e) {
var t;
try {
if ((t = JSON.parse(e)) !== Object(t)) return r.handleCORSError(s, i, "Response is not JSON")
} catch (e) {
return r.handleCORSError(s, i, "Error parsing response as JSON")
}
try {
var n = s.callbackFn;
o.firing = !1, o.fired.push(s), o.num_of_cors_responses++, n(t, i), u && d(t, i)
} catch (e) {
e.message = "DIL handleCORSResponse caught error with message " + e.message, c = e.message, R.log(c), e.filename = e.filename || "dil.js", e.partner = I, DIL.errorModule.handleError(e);
try {
n({
error: e.name + "|" + e.message
}, i), u && d({
error: e.name + "|" + e.message
}, i)
} catch (e) {}
} finally {
o.registerRequest()
}
}(this.responseText)
}), n.onerror = function() {
r.handleCORSError(s, i, "onerror")
}, n.ontimeout = function() {
r.handleCORSError(s, i, "ontimeout")
}, n.send(a)
} catch (e) {
this.handleCORSError(s, i, "try-catch")
}
o.sent.push(s), o.declaredId.declaredId.request = null
}
},
handleCORSError: function(e, t, n) {
A.num_of_cors_errors++, A.corsErrorSources.push(n)
}
},
k = {
isValidPdata: function(e) {
return !!(e instanceof Array &&
this.removeEmptyArrayValues(e).length)
},
isValidLogdata: function(e) {
return !this.isEmptyObject(e)
},
isEmptyObject: function(e) {
if (e !== Object(e)) return !0;
var t;
for (t in e)
if (e.hasOwnProperty(t)) return !1;
return !0
},
removeEmptyArrayValues: function(e) {
var t, n = 0,
s = e.length,
i = [];
for (n = 0; n < s; n++) null != (t = e[n]) && "" !== t && i.push(t);
return i
},
isPopulatedString: function(e) {
return "string" == typeof e && e.length
}
},
x = {
convertObjectToKeyValuePairs: function(e, t, n) {
var s, i, r = [];
for (s in t = t || "\x3d", e) e.hasOwnProperty(s) &&
null != (i = e[s]) && "" !== i && r.push(s + t + (n ? encodeURIComponent(i) : i));
return r
},
encodeAndBuildRequest: function(e, t) {
return e.map(function(e) {
return encodeURIComponent(e)
}).join(t)
},
getCookie: function(e) {
var t, n, s, i = e + "\x3d",
r = document.cookie.split(";");
for (t = 0, n = r.length; t < n; t++) {
for (s = r[t];
" " === s.charAt(0);) s = s.substring(1, s.length);
if (0 === s.indexOf(i)) return decodeURIComponent(s.substring(i.length, s.length))
}
return null
},
setCookie: function(e, t, n, s, i, r) {
var o = new Date;
n = n && 1E3 * n * 60, document.cookie = e +
"\x3d" + encodeURIComponent(t) + (n ? ";expires\x3d" + (new Date(o.getTime() + n)).toUTCString() : "") + (s ? ";path\x3d" + s : "") + (i ? ";domain\x3d" + i : "") + (r ? ";secure" : "")
},
extendArray: function(e, t) {
return e instanceof Array && t instanceof Array && (Array.prototype.push.apply(e, t), !0)
},
extendObject: function(e, t, n) {
var s;
if (e !== Object(e) || t !== Object(t)) return !1;
for (s in t)
if (t.hasOwnProperty(s)) {
if (!k.isEmptyObject(n) && s in n) continue;
e[s] = t[s]
}
return !0
},
getMaxCookieExpiresInMinutes: function() {
return E.SIX_MONTHS_IN_MINUTES
},
replaceMethodsWithFunction: function(e, t) {
var n;
if (e === Object(e) && "function" == typeof t)
for (n in e) e.hasOwnProperty(n) && "function" == typeof e[n] && (e[n] = t)
}
},
N = (j = C.requestController, {
exists: null,
instance: null,
aamIsApproved: null,
init: function() {
var e = this;
this.checkIfExists() ? (this.exists = !0, this.instance = window.adobe.optIn, this.instance.fetchPermissions(function() {
e.callback()
}, !0)) : this.exists = !1
},
checkIfExists: function() {
return window.adobe === Object(window.adobe) && window.adobe.optIn === Object(window.adobe.optIn)
},
callback: function() {
this.aamIsApproved = this.instance.isApproved([this.instance.Categories.AAM]), j.adms.waitForMidToReleaseRequests(), j.adms.getIsOptedOut()
},
isApproved: function() {
return !this.isIabContext() && !j.adms.isOptedOut && (!this.exists || this.aamIsApproved)
},
isIabContext: function() {
return this.instance && this.instance.isIabContext
}
});
C.optIn = N;
var F, Q, H, U, B = (Q = (F = C).requestController, H = F.optIn, U = {
isVendorConsented: null,
doesGdprApply: null,
consentString: null,
queryStringObjectCallbacks: [],
init: function() {
this.fetchConsentData()
},
hasGoSignal: function() {
return !(!(H.isIabContext() && this.isVendorConsented && this.doesGdprApply && "string" == typeof this.consentString && this.consentString.length) || Q.adms.isOptedOut)
},
fetchConsentData: function(n, e) {
var s = this,
t = {};
"function" != typeof n && (n = function() {}), H.instance && H.isIabContext() ? (e && (t.timeout = e), H.instance.execute({
command: "iabPlugin.fetchConsentData",
params: t,
callback: function(e, t) {
t === Object(t) ? (s.doesGdprApply = !!t.gdprApplies, s.consentString = t.consentString || "") : (s.doesGdprApply = !1, s.consentString = ""), s.isVendorConsented = H.instance.isApproved(H.instance.Categories.AAM), e ? n({}) : s.checkQueryStringObject(n), Q.adms.waitForMidToReleaseRequests()
}
})) : n({})
},
getQueryString: function() {
return H.isIabContext() ? "gdpr\x3d" + (this.doesGdprApply ? 1 : 0) + "\x26gdpr_consent\x3d" + this.consentString + "\x26" : ""
},
getQueryStringObject: function(e, t) {
this.fetchConsentData(e, t)
},
checkQueryStringObject: function(e) {
U.hasGoSignal() && "function" == typeof e && e({
gdpr: this.doesGdprApply ? 1 : 0,
gdpr_consent: this.consentString
})
}
});
C.iab = B, "error" === I && 0 === r && window.addEventListener("load", function() {
DIL.windowLoaded = !0
});
function G() {
W || (W = !0, A.registerRequest(), X())
}
var W = !1,
X = function() {
setTimeout(function() {
p || A.firstRequestHasFired || ("function" == typeof m ? M.afterResult(m).submit(!0) : M.submit(!0))
}, DIL.constants.TIME_TO_DEFAULT_REQUEST)
},
K = document;
"error" !== I && (DIL.windowLoaded ? G() : "complete" !== K.readyState && "loaded" !== K.readyState ? window.addEventListener("load", function() {
DIL.windowLoaded = !0, G()
}) : (DIL.windowLoaded = !0,
G())), A.declaredId.setDeclaredId(s, "init"), N.init(), B.init(), A.processVisitorAPI();
E.IS_IE_LESS_THAN_10 && x.replaceMethodsWithFunction(M, function() {
return this
}), this.api = M, this.getStuffedVariable = function(e) {
var t = P.stuffed[e];
return t || "number" == typeof t || (t = x.getCookie(e)) || "number" == typeof t || (t = ""), t
}, this.validators = k, this.helpers = x, this.constants = E, this.log = O, this.pendingRequest = L, this.requestController = A, this.destinationPublishing = T, this.requestProcs = V, this.units = C, this.initConfig = n, this.logger =
R, w && (this.variables = P, this.callWindowLoadFunctions = G)
}, DIL.extendStaticPropertiesAndMethods = function(e) {
var t;
if (e === Object(e))
for (t in e) e.hasOwnProperty(t) && (this[t] = e[t])
}, DIL.extendStaticPropertiesAndMethods({
version: "9.4",
jsonVersion: 1,
constants: {
TIME_TO_DEFAULT_REQUEST: 500
},
variables: {
scriptNodeList: document.getElementsByTagName("script")
},
windowLoaded: !1,
dils: {},
isAddedPostWindowLoad: function() {
var e = arguments[0];
this.windowLoaded = "function" == typeof e ? !!e() : "boolean" != typeof e || e
},
create: function(e) {
try {
return new DIL(e)
} catch (e) {
throw new Error("Error in attempt to create DIL instance with DIL.create(): " +
e.message);
}
},
registerDil: function(e, t, n) {
var s = t + "$" + n;
s in this.dils || (this.dils[s] = e)
},
getDil: function(e, t) {
var n;
return "string" != typeof e && (e = ""), (n = e + "$" + (t = t || 0)) in this.dils ? this.dils[n] : new Error("The DIL instance with partner \x3d " + e + " and containerNSID \x3d " + t + " was not found")
},
dexGetQSVars: function(e, t, n) {
var s = this.getDil(t, n);
return s instanceof this ? s.getStuffedVariable(e) : ""
}
}), DIL.errorModule = (r = DIL.create({
partner: "error",
containerNSID: 0,
ignoreHardDependencyOnVisitorAPI: !0
}), a = !(o = {
harvestererror: 14138,
destpuberror: 14139,
dpmerror: 14140,
generalerror: 14137,
error: 14137,
noerrortypedefined: 15021,
evalerror: 15016,
rangeerror: 15017,
referenceerror: 15018,
typeerror: 15019,
urierror: 15020
}), {
activate: function() {
a = !0
},
handleError: function(e) {
if (!a) return "DIL error module has not been activated";
e !== Object(e) && (e = {});
var t = e.name ? (e.name + "").toLowerCase() : "",
n = t in o ? o[t] : o.noerrortypedefined,
s = [],
i = {
name: t,
filename: e.filename ? e.filename + "" : "",
partner: e.partner ? e.partner + "" : "no_partner",
site: e.site ? e.site + "" : document.location.href,
message: e.message ? e.message + "" : ""
};
return s.push(n), r.api.pixels(s).logs(i).useImageRequest().submit(), "DIL error report sent"
},
pixelMap: o
}), DIL.tools = {}, DIL.modules = {
helpers: {}
})
}();
function AppMeasurement_Module_ActivityMap(k) {
function p() {
var a = f.pageYOffset + (f.innerHeight || 0);
a && a > +g && (g = a)
}
function q() {
if (e.scrollReachSelector) {
var a = k.d.querySelector && k.d.querySelector(e.scrollReachSelector);
a ? (g = a.scrollTop || 0, a.addEventListener("scroll", function() {
var d;
(d = a && a.scrollTop + a.clientHeight || 0) > g && (g = d)
})) : 0 < v-- && setTimeout(q, 1E3)
}
}
function l(a, d) {
var b, c, n;
if (a && d && (b = e.c[d] || (e.c[d] = d.split(","))))
for (n = 0; n < b.length && (c = b[n++]);)
if (-1 < a.indexOf(c)) return null;
return a
}
function r(a, d, b, c, e) {
var f, h;
if (a.dataset && (h = a.dataset[d])) f = h;
else if (a.getAttribute)
if (h = a.getAttribute("data-" + b)) f = h;
else if (h = a.getAttribute(b)) f = h;
if (!f && k.useForcedLinkTracking && e) {
var g;
a = a.onclick ? "" + a.onclick : "";
d = "";
if (c && a && (b = a.indexOf(c), 0 <= b)) {
for (b += c.length; b < a.length;)
if (h =
a.charAt(b++), 0 <= "'\"".indexOf(h)) {
g = h;
break
}
for (var l = !1; b < a.length && g;) {
h = a.charAt(b);
if (!l && h === g) break;
"\\" === h ? l = !0 : (d += h, l = !1);
b++
}
}(g = d) && (k.w[c] = g)
}
return f || e && k.w[c]
}
function s(a, d, b) {
var c;
return (c = e[d](a, b)) && l(m(c), e[d + "Exclusions"])
}
function t(a, d, b) {
var c;
if (a && !(1 === (c = a.nodeType) && (c = a.nodeName) && (c = c.toUpperCase()) && w[c]) && (1 === a.nodeType && (c = a.nodeValue) && (d[d.length] = c), b.a || b.t || b.s || !a.getAttribute || ((c = a.getAttribute("alt")) ? b.a = c : (c = a.getAttribute("title")) ? b.t = c : "IMG" == ("" +
a.nodeName).toUpperCase() && (c = a.getAttribute("src") || a.src) && (b.s = c)), (c = a.childNodes) && c.length))
for (a = 0; a < c.length; a++) t(c[a], d, b)
}
function m(a) {
if (null == a || void 0 == a) return a;
try {
return a.replace(RegExp("^[\\s\\n\\f\\r\\t\t-\r \u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u205f\u3000\ufeff]+", "mg"), "").replace(RegExp("[\\s\\n\\f\\r\\t\t-\r \u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u205f\u3000\ufeff]+$", "mg"), "").replace(RegExp("[\\s\\n\\f\\r\\t\t-\r \u00a0\u1680\u180e\u2000-\u200a\u2028\u2029\u205f\u3000\ufeff]{1,}",
"mg"), " ").substring(0, 254)
} catch (d) {}
}
var e = this;
e.s = k;
var f = window;
f.s_c_in || (f.s_c_il = [], f.s_c_in = 0);
e._il = f.s_c_il;
e._in = f.s_c_in;
e._il[e._in] = e;
f.s_c_in++;
e._c = "s_m";
var g = 0,
u, v = 60;
e.c = {};
var w = {
SCRIPT: 1,
STYLE: 1,
LINK: 1,
CANVAS: 1
};
e._g = function() {
var a, d, b, c = k.contextData,
e = k.linkObject;
(a = k.pageName || k.pageURL) && (d = s(e, "link", k.linkName)) && (b = s(e, "region")) && (c["a.activitymap.page"] = a.substring(0, 255), c["a.activitymap.link"] = 128 < d.length ? d.substring(0, 128) : d, c["a.activitymap.region"] = 127 < b.length ?
b.substring(0, 127) : b, 0 < g && (c["a.activitymap.xy"] = 10 * Math.floor(g / 10)), c["a.activitymap.pageIDType"] = k.pageName ? 1 : 0)
};
e._d = function() {
e.trackScrollReach && !u && (e.scrollReachSelector ? q() : (p(), f.addEventListener && f.addEventListener("scroll", p, !1)), u = !0)
};
e.link = function(a, d) {
var b;
if (d) b = l(m(d), e.linkExclusions);
else if ((b = a) && !(b = r(a, "sObjectId", "s-object-id", "s_objectID", 1))) {
var c, f;
(f = l(m(a.innerText || a.textContent), e.linkExclusions)) || (t(a, c = [], b = {
a: void 0,
t: void 0,
s: void 0
}), (f = l(m(c.join("")))) ||
(f = l(m(b.a ? b.a : b.t ? b.t : b.s ? b.s : void 0))) || !(c = (c = a.tagName) && c.toUpperCase ? c.toUpperCase() : "") || ("INPUT" == c || "SUBMIT" == c && a.value ? f = l(m(a.value)) : "IMAGE" == c && a.src && (f = l(m(a.src)))));
b = f
}
return b
};
e.region = function(a) {
for (var d, b = e.regionIDAttribute || "id"; a && (a = a.parentNode);) {
if (d = r(a, b, b, b)) return d;
if ("BODY" == a.nodeName) return "BODY"
}
}
}
function AppMeasurement(r) {
var a = this;
a.version = "2.22.4";
var h = window;
h.s_c_in || (h.s_c_il = [], h.s_c_in = 0);
a._il = h.s_c_il;
a._in = h.s_c_in;
a._il[a._in] = a;
h.s_c_in++;
a._c = "s_c";
var q = h.AppMeasurement.hc;
q || (q = null);
var p = h,
m, s;
try {
for (m = p.parent, s = p.location; m && m.location && s && "" + m.location !== "" + s && p.location && "" + m.location !== "" + p.location && m.location.host === s.host;) p = m, m = p.parent
} catch (u) {}
a.log = function(a) {
try {
console.log(a)
} catch (b) {}
};
a.Qa = function(a) {
return "" + parseInt(a) == "" + a
};
a.replace = function(a, b, d) {
return !a || 0 > a.indexOf(b) ? a : a.split(b).join(d)
};
a.escape = function(c) {
var b, d;
if (!c) return c;
c = encodeURIComponent(c);
for (b = 0; 7 > b; b++) d = "+~!*()'".substring(b,
b + 1), 0 <= c.indexOf(d) && (c = a.replace(c, d, "%" + d.charCodeAt(0).toString(16).toUpperCase()));
return c
};
a.unescape = function(c) {
if (!c) return c;
c = 0 <= c.indexOf("+") ? a.replace(c, "+", " ") : c;
try {
return decodeURIComponent(c)
} catch (b) {}
return unescape(c)
};
a.Mb = function() {
var c = h.location.hostname,
b = a.fpCookieDomainPeriods,
d;
b || (b = a.cookieDomainPeriods);
if (c && !a.Ja && !/^[0-9.]+$/.test(c) && (b = b ? parseInt(b) : 2, b = 2 < b ? b : 2, d = c.lastIndexOf("."), 0 <= d)) {
for (; 0 <= d && 1 < b;) d = c.lastIndexOf(".", d - 1), b--;
a.Ja = 0 < d ? c.substring(d) :
c
}
return a.Ja
};
a.c_r = a.cookieRead = function(c) {
c = a.escape(c);
var b = " " + a.d.cookie,
d = b.indexOf(" " + c + "\x3d"),
f = 0 > d ? d : b.indexOf(";", d);
c = 0 > d ? "" : a.unescape(b.substring(d + 2 + c.length, 0 > f ? b.length : f));
return "[[B]]" != c ? c : ""
};
a.c_w = a.cookieWrite = function(c, b, d) {
var f = a.Mb(),
e = a.cookieLifetime,
g;
b = "" + b;
e = e ? ("" + e).toUpperCase() : "";
d && "SESSION" != e && "NONE" != e && ((g = "" != b ? parseInt(e ? e : 0) : -60) ? (d = new Date, d.setTime(d.getTime() + 1E3 * g)) : 1 === d && (d = new Date, g = d.getYear(), d.setYear(g + 2 + (1900 > g ? 1900 : 0))));
return c && "NONE" !=
e ? (a.d.cookie = a.escape(c) + "\x3d" + a.escape("" != b ? b : "[[B]]") + "; path\x3d/;" + (d && "SESSION" != e ? " expires\x3d" + d.toUTCString() + ";" : "") + (f ? " domain\x3d" + f + ";" : "") + (a.writeSecureCookies ? " secure;" : ""), a.cookieRead(c) == b) : 0
};
a.Jb = function() {
var c = a.Util.getIeVersion();
"number" === typeof c && 10 > c && (a.unsupportedBrowser = !0, a.wb(a, function() {}))
};
a.xa = function() {
var a = navigator.userAgent;
return "Microsoft Internet Explorer" === navigator.appName || 0 <= a.indexOf("MSIE ") || 0 <= a.indexOf("Trident/") && 0 <= a.indexOf("Windows NT 6") ?
!0 : !1
};
a.wb = function(a, b) {
for (var d in a) Object.prototype.hasOwnProperty.call(a, d) && "function" === typeof a[d] && (a[d] = b)
};
a.J = [];
a.ea = function(c, b, d) {
if (a.Ka) return 0;
a.maxDelay || (a.maxDelay = 250);
var f = 0,
e = (new Date).getTime() + a.maxDelay,
g = a.d.visibilityState,
k = ["webkitvisibilitychange", "visibilitychange"];
g || (g = a.d.webkitVisibilityState);
if (g && "prerender" == g) {
if (!a.fa)
for (a.fa = 1, d = 0; d < k.length; d++) a.d.addEventListener(k[d], function() {
var c = a.d.visibilityState;
c || (c = a.d.webkitVisibilityState);
"visible" ==
c && (a.fa = 0, a.delayReady())
});
f = 1;
e = 0
} else d || a.u("_d") && (f = 1);
f && (a.J.push({
m: c,
a: b,
t: e
}), a.fa || setTimeout(a.delayReady, a.maxDelay));
return f
};
a.delayReady = function() {
var c = (new Date).getTime(),
b = 0,
d;
for (a.u("_d") ? b = 1 : a.za(); 0 < a.J.length;) {
d = a.J.shift();
if (b && !d.t && d.t > c) {
a.J.unshift(d);
setTimeout(a.delayReady, parseInt(a.maxDelay / 2));
break
}
a.Ka = 1;
a[d.m].apply(a, d.a);
a.Ka = 0
}
};
a.setAccount = a.sa = function(c) {
var b, d;
if (!a.ea("setAccount", arguments))
if (a.account = c, a.allAccounts)
for (b = a.allAccounts.concat(c.split(",")),
a.allAccounts = [], b.sort(), d = 0; d < b.length; d++) 0 != d && b[d - 1] == b[d] || a.allAccounts.push(b[d]);
else a.allAccounts = c.split(",")
};
a.foreachVar = function(c, b) {
var d, f, e, g, k = "";
e = f = "";
if (a.lightProfileID) d = a.N, (k = a.lightTrackVars) && (k = "," + k + "," + a.ka.join(",") + ",");
else {
d = a.g;
if (a.pe || a.linkType) k = a.linkTrackVars, f = a.linkTrackEvents, a.pe && (e = a.pe.substring(0, 1).toUpperCase() + a.pe.substring(1), a[e] && (k = a[e].cc, f = a[e].bc));
k && (k = "," + k + "," + a.D.join(",") + ",");
f && k && (k += ",events,")
}
b && (b = "," + b + ",");
for (f = 0; f < d.length; f++) e =
d[f], (g = a[e]) && (!k || 0 <= k.indexOf("," + e + ",")) && (!b || 0 <= b.indexOf("," + e + ",")) && c(e, g)
};
a.o = function(c, b, d, f, e) {
var g = "",
k, l, h, n, m = 0;
"contextData" == c && (c = "c");
if (b) {
for (k in b)
if (!(Object.prototype[k] || e && k.substring(0, e.length) != e) && b[k] && (!d || 0 <= d.indexOf("," + (f ? f + "." : "") + k + ","))) {
h = !1;
if (m)
for (l = 0; l < m.length; l++)
if (k.substring(0, m[l].length) == m[l]) {
h = !0;
break
}
if (!h && ("" == g && (g += "\x26" + c + "."), l = b[k], e && (k = k.substring(e.length)), 0 < k.length))
if (h = k.indexOf("."), 0 < h) l = k.substring(0, h), h = (e ? e : "") + l + ".",
m || (m = []), m.push(h), g += a.o(l, b, d, f, h);
else if ("boolean" == typeof l && (l = l ? "true" : "false"), l) {
if ("retrieveLightData" == f && 0 > e.indexOf(".contextData.")) switch (h = k.substring(0, 4), n = k.substring(4), k) {
case "transactionID":
k = "xact";
break;
case "channel":
k = "ch";
break;
case "campaign":
k = "v0";
break;
default:
a.Qa(n) && ("prop" == h ? k = "c" + n : "eVar" == h ? k = "v" + n : "list" == h ? k = "l" + n : "hier" == h && (k = "h" + n, l = l.substring(0, 255)))
}
g += "\x26" + a.escape(k) + "\x3d" + a.escape(l)
}
}
"" != g && (g += "\x26." + c)
}
return g
};
a.usePostbacks = 0;
a.Pb = function() {
var c =
"",
b, d, f, e, g, k, l, h, n = "",
m = "",
p = e = "",
r = a.S();
if (a.lightProfileID) b = a.N, (n = a.lightTrackVars) && (n = "," + n + "," + a.ka.join(",") + ",");
else {
b = a.g;
if (a.pe || a.linkType) n = a.linkTrackVars, m = a.linkTrackEvents, a.pe && (e = a.pe.substring(0, 1).toUpperCase() + a.pe.substring(1), a[e] && (n = a[e].cc, m = a[e].bc));
n && (n = "," + n + "," + a.D.join(",") + ",");
m && (m = "," + m + ",", n && (n += ",events,"));
a.events2 && (p += ("" != p ? "," : "") + a.events2)
}
if (r && r.getCustomerIDs) {
e = q;
if (g = r.getCustomerIDs())
for (d in g) Object.prototype[d] || (f = g[d], "object" == typeof f &&
(e || (e = {}), f.id && (e[d + ".id"] = f.id), f.authState && (e[d + ".as"] = f.authState)));
e && (c += a.o("cid", e))
}
a.AudienceManagement && a.AudienceManagement.isReady() && (c += a.o("d", a.AudienceManagement.getEventCallConfigParams()));
for (d = 0; d < b.length; d++) {
e = b[d];
g = a[e];
f = e.substring(0, 4);
k = e.substring(4);
g || ("events" == e && p ? (g = p, p = "") : "marketingCloudOrgID" == e && r && a.U("ECID") && (g = r.marketingCloudOrgID));
if (g && (!n || 0 <= n.indexOf("," + e + ","))) {
switch (e) {
case "customerPerspective":
e = "cp";
break;
case "marketingCloudOrgID":
e =
"mcorgid";
break;
case "supplementalDataID":
e = "sdid";
break;
case "timestamp":
e = "ts";
break;
case "dynamicVariablePrefix":
e = "D";
break;
case "visitorID":
e = "vid";
break;
case "marketingCloudVisitorID":
e = "mid";
break;
case "analyticsVisitorID":
e = "aid";
break;
case "audienceManagerLocationHint":
e = "aamlh";
break;
case "audienceManagerBlob":
e = "aamb";
break;
case "authState":
e = "as";
break;
case "pageURL":
e = "g";
255 < g.length && (a.pageURLRest = g.substring(255), g = g.substring(0, 255));
break;
case "pageURLRest":
e = "-g";
break;
case "referrer":
e =
"r";
break;
case "vmk":
case "visitorMigrationKey":
e = "vmt";
break;
case "visitorMigrationServer":
e = "vmf";
a.ssl && a.visitorMigrationServerSecure && (g = "");
break;
case "visitorMigrationServerSecure":
e = "vmf";
!a.ssl && a.visitorMigrationServer && (g = "");
break;
case "charSet":
e = "ce";
break;
case "visitorNamespace":
e = "ns";
break;
case "cookieDomainPeriods":
e = "cdp";
break;
case "cookieLifetime":
e = "cl";
break;
case "variableProvider":
e = "vvp";
break;
case "currencyCode":
e = "cc";
break;
case "channel":
e = "ch";
break;
case "transactionID":
e =
"xact";
break;
case "campaign":
e = "v0";
break;
case "latitude":
e = "lat";
break;
case "longitude":
e = "lon";
break;
case "resolution":
e = "s";
break;
case "colorDepth":
e = "c";
break;
case "javascriptVersion":
e = "j";
break;
case "javaEnabled":
e = "v";
break;
case "cookiesEnabled":
e = "k";
break;
case "browserWidth":
e = "bw";
break;
case "browserHeight":
e = "bh";
break;
case "connectionType":
e = "ct";
break;
case "homepage":
e = "hp";
break;
case "events":
p && (g += ("" != g ? "," : "") + p);
if (m)
for (k = g.split(","), g = "", f = 0; f < k.length; f++) l = k[f], h = l.indexOf("\x3d"),
0 <= h && (l = l.substring(0, h)), h = l.indexOf(":"), 0 <= h && (l = l.substring(0, h)), 0 <= m.indexOf("," + l + ",") && (g += (g ? "," : "") + k[f]);
break;
case "events2":
g = "";
break;
case "contextData":
c += a.o("c", a[e], n, e);
g = "";
break;
case "lightProfileID":
e = "mtp";
break;
case "lightStoreForSeconds":
e = "mtss";
a.lightProfileID || (g = "");
break;
case "lightIncrementBy":
e = "mti";
a.lightProfileID || (g = "");
break;
case "retrieveLightProfiles":
e = "mtsr";
break;
case "deleteLightProfiles":
e = "mtsd";
break;
case "retrieveLightData":
a.retrieveLightProfiles &&
(c += a.o("mts", a[e], n, e));
g = "";
break;
default:
a.Qa(k) && ("prop" == f ? e = "c" + k : "eVar" == f ? e = "v" + k : "list" == f ? e = "l" + k : "hier" == f && (e = "h" + k, g = g.substring(0, 255)))
}
g && (c += "\x26" + e + "\x3d" + ("pev" != e.substring(0, 3) ? a.escape(g) : g))
}
"pev3" == e && a.e && (c += a.e)
}
a.ja && (c += "\x26lrt\x3d" + a.ja, a.ja = null);
return c
};
a.B = function(a) {
var b = a.tagName;
if ("undefined" != "" + a.kc || "undefined" != "" + a.Yb && "HTML" != ("" + a.Yb).toUpperCase()) return "";
b = b && b.toUpperCase ? b.toUpperCase() : "";
"SHAPE" == b && (b = "");
b && (("INPUT" == b || "BUTTON" == b) && a.type &&
a.type.toUpperCase ? b = a.type.toUpperCase() : !b && a.href && (b = "A"));
return b
};
a.Ma = function(a) {
var b = h.location,
d = a.href ? a.href : "",
f, e, g;
"string" !== typeof d && (d = "");
f = d.indexOf(":");
e = d.indexOf("?");
g = d.indexOf("/");
d && (0 > f || 0 <= e && f > e || 0 <= g && f > g) && (e = a.protocol && 1 < a.protocol.length ? a.protocol : b.protocol ? b.protocol : "", f = b.pathname.lastIndexOf("/"), d = (e ? e + "//" : "") + (a.host ? a.host : b.host ? b.host : "") + ("/" != d.substring(0, 1) ? b.pathname.substring(0, 0 > f ? 0 : f) + "/" : "") + d);
return d
};
a.K = function(c) {
var b = a.B(c),
d, f,
e = "",
g = 0;
return b && (d = c.protocol, f = c.onclick, !c.href || "A" != b && "AREA" != b || f && d && !(0 > d.toLowerCase().indexOf("javascript")) ? f ? (e = a.replace(a.replace(a.replace(a.replace("" + f, "\r", ""), "\n", ""), "\t", ""), " ", ""), g = 2) : "INPUT" == b || "SUBMIT" == b ? (c.value ? e = c.value : c.innerText ? e = c.innerText : c.textContent && (e = c.textContent), g = 3) : "IMAGE" == b && c.src && (e = c.src) : e = a.Ma(c), e) ? {
id: e.substring(0, 100),
type: g
} : 0
};
a.ic = function(c) {
for (var b = a.B(c), d = a.K(c); c && !d && "BODY" != b;)
if (c = c.parentElement ? c.parentElement : c.parentNode) b =
a.B(c), d = a.K(c);
d && "BODY" != b || (c = 0);
c && (b = c.onclick ? "" + c.onclick : "", 0 <= b.indexOf(".tl(") || 0 <= b.indexOf(".trackLink(")) && (c = 0);
return c
};
a.Xb = function() {
var c, b, d = a.linkObject,
f = a.linkType,
e = a.linkURL,
g, k;
a.la = 1;
d || (a.la = 0, d = a.clickObject);
if (d) {
c = a.B(d);
for (b = a.K(d); d && !b && "BODY" != c;)
if (d = d.parentElement ? d.parentElement : d.parentNode) c = a.B(d), b = a.K(d);
b && "BODY" != c || (d = 0);
if (d && !a.linkObject) {
var l = d.onclick ? "" + d.onclick : "";
if (0 <= l.indexOf(".tl(") || 0 <= l.indexOf(".trackLink(")) d = 0
}
} else a.la = 1;
!e && d &&
(e = a.Ma(d));
e && !a.linkLeaveQueryString && (g = e.indexOf("?"), 0 <= g && (e = e.substring(0, g)));
if (!f && e) {
var m = 0,
n = 0,
p;
if (a.trackDownloadLinks && a.linkDownloadFileTypes)
for (l = e.toLowerCase(), g = l.indexOf("?"), k = l.indexOf("#"), 0 <= g ? 0 <= k && k < g && (g = k) : g = k, 0 <= g && (l = l.substring(0, g)), g = a.linkDownloadFileTypes.toLowerCase().split(","), k = 0; k < g.length; k++)(p = g[k]) && l.substring(l.length - (p.length + 1)) == "." + p && (f = "d");
if (a.trackExternalLinks && !f && (l = e.toLowerCase(), a.Pa(l) && (a.linkInternalFilters || (a.linkInternalFilters =
h.location.hostname), g = 0, a.linkExternalFilters ? (g = a.linkExternalFilters.toLowerCase().split(","), m = 1) : a.linkInternalFilters && (g = a.linkInternalFilters.toLowerCase().split(",")), g))) {
for (k = 0; k < g.length; k++) p = g[k], 0 <= l.indexOf(p) && (n = 1);
n ? m && (f = "e") : m || (f = "e")
}
}
a.linkObject = d;
a.linkURL = e;
a.linkType = f;
if (a.trackClickMap || a.trackInlineStats) a.e = "", d && (f = a.pageName, e = 1, d = d.sourceIndex, f || (f = a.pageURL, e = 0), h.s_objectID && (b.id = h.s_objectID, d = b.type = 1), f && b && b.id && c && (a.e = "\x26pid\x3d" + a.escape(f.substring(0,
255)) + (e ? "\x26pidt\x3d" + e : "") + "\x26oid\x3d" + a.escape(b.id.substring(0, 100)) + (b.type ? "\x26oidt\x3d" + b.type : "") + "\x26ot\x3d" + c + (d ? "\x26oi\x3d" + d : "")))
};
a.Qb = function() {
var c = a.la,
b = a.linkType,
d = a.linkURL,
f = a.linkName;
b && (d || f) && (b = b.toLowerCase(), "d" != b && "e" != b && (b = "o"), a.pe = "lnk_" + b, a.pev1 = d ? a.escape(d) : "", a.pev2 = f ? a.escape(f) : "", c = 1);
a.abort && (c = 0);
if (a.trackClickMap || a.trackInlineStats || a.Tb()) {
var b = {},
d = 0,
e = a.qb(),
g = e ? e.split("\x26") : 0,
k, l, h, e = 0;
if (g)
for (k = 0; k < g.length; k++) l = g[k].split("\x3d"),
f = a.unescape(l[0]).split(","), l = a.unescape(l[1]), b[l] = f;
f = a.account.split(",");
k = {};
for (h in a.contextData) h && !Object.prototype[h] && "a.activitymap." == h.substring(0, 14) && (k[h] = a.contextData[h], a.contextData[h] = "");
a.e = a.o("c", k) + (a.e ? a.e : "");
if (c || a.e) {
c && !a.e && (e = 1);
for (l in b)
if (!Object.prototype[l])
for (h = 0; h < f.length; h++)
for (e && (g = b[l].join(","), g == a.account && (a.e += ("\x26" != l.charAt(0) ? "\x26" : "") + l, b[l] = [], d = 1)), k = 0; k < b[l].length; k++) g = b[l][k], g == f[h] && (e && (a.e += "\x26u\x3d" + a.escape(g) + ("\x26" !=
l.charAt(0) ? "\x26" : "") + l + "\x26u\x3d0"), b[l].splice(k, 1), d = 1);
c || (d = 1);
if (d) {
e = "";
k = 2;
!c && a.e && (e = a.escape(f.join(",")) + "\x3d" + a.escape(a.e), k = 1);
for (l in b) !Object.prototype[l] && 0 < k && 0 < b[l].length && (e += (e ? "\x26" : "") + a.escape(b[l].join(",")) + "\x3d" + a.escape(l), k--);
a.yb(e)
}
}
}
return c
};
a.qb = function() {
if (a.useLinkTrackSessionStorage) {
if (a.Da()) return h.sessionStorage.getItem(a.O)
} else return a.cookieRead(a.O)
};
a.Da = function() {
return h.sessionStorage ? !0 : !1
};
a.yb = function(c) {
a.useLinkTrackSessionStorage ?
a.Da() && h.sessionStorage.setItem(a.O, c) : a.cookieWrite(a.O, c)
};
a.Rb = function() {
if (!a.ac) {
var c = new Date,
b = p.location,
d, f, e = f = d = "",
g = "",
k = "",
l = "1.2",
h = a.cookieWrite("s_cc", "true", 0) ? "Y" : "N",
m = "",
q = "";
if (c.setUTCDate && (l = "1.3", (0).toPrecision && (l = "1.5", c = [], c.forEach))) {
l = "1.6";
f = 0;
d = {};
try {
f = new Iterator(d), f.next && (l = "1.7", c.reduce && (l = "1.8", l.trim && (l = "1.8.1", Date.parse && (l = "1.8.2", Object.create && (l = "1.8.5")))))
} catch (r) {}
}
d = screen.width + "x" + screen.height;
e = navigator.javaEnabled() ? "Y" : "N";
f = screen.pixelDepth ?
screen.pixelDepth : screen.colorDepth;
g = a.w.innerWidth ? a.w.innerWidth : a.d.documentElement.offsetWidth;
k = a.w.innerHeight ? a.w.innerHeight : a.d.documentElement.offsetHeight;
try {
a.b.addBehavior("#default#homePage"), m = a.b.jc(b) ? "Y" : "N"
} catch (s) {}
try {
a.b.addBehavior("#default#clientCaps"), q = a.b.connectionType
} catch (t) {}
a.resolution = d;
a.colorDepth = f;
a.javascriptVersion = l;
a.javaEnabled = e;
a.cookiesEnabled = h;
a.browserWidth = g;
a.browserHeight = k;
a.connectionType = q;
a.homepage = m;
a.ac = 1
}
};
a.P = {};
a.loadModule = function(c,
b) {
var d = a.P[c];
if (!d) {
d = h["AppMeasurement_Module_" + c] ? new h["AppMeasurement_Module_" + c](a) : {};
a.P[c] = a[c] = d;
d.jb = function() {
return d.tb
};
d.zb = function(b) {
if (d.tb = b) a[c + "_onLoad"] = b, a.ea(c + "_onLoad", [a, d], 1) || b(a, d)
};
try {
Object.defineProperty ? Object.defineProperty(d, "onLoad", {get: d.jb,
set: d.zb
}) : d._olc = 1
} catch (f) {
d._olc = 1
}
}
b && (a[c + "_onLoad"] = b, a.ea(c + "_onLoad", [a, d], 1) || b(a, d))
};
a.u = function(c) {
var b, d;
for (b in a.P)
if (!Object.prototype[b] && (d = a.P[b]) && (d._olc && d.onLoad && (d._olc = 0, d.onLoad(a, d)), d[c] &&
d[c]())) return 1;
return 0
};
a.Tb = function() {
return a.ActivityMap && a.ActivityMap._c ? !0 : !1
};
a.Ub = function() {
var c = Math.floor(1E13 * Math.random()),
b = a.visitorSampling,
d = a.visitorSamplingGroup,
d = "s_vsn_" + (a.visitorNamespace ? a.visitorNamespace : a.account) + (d ? "_" + d : ""),
f = a.cookieRead(d);
if (b) {
b *= 100;
f && (f = parseInt(f));
if (!f) {
if (!a.cookieWrite(d, c)) return 0;
f = c
}
if (f % 1E4 > b) return 0
}
return 1
};
a.R = function(c, b) {
var d, f, e, g, k, h, m;
m = {};
for (d = 0; 2 > d; d++)
for (f = 0 < d ? a.Fa : a.g, e = 0; e < f.length; e++)
if (g = f[e], (k = c[g]) || c["!" +
g]) {
if (k && !b && ("contextData" == g || "retrieveLightData" == g) && a[g])
for (h in a[g]) k[h] || (k[h] = a[g][h]);
a[g] || (m["!" + g] = 1);
m[g] = a[g];
a[g] = k
}
return m
};
a.gc = function(c) {
var b, d, f, e;
for (b = 0; 2 > b; b++)
for (d = 0 < b ? a.Fa : a.g, f = 0; f < d.length; f++) e = d[f], c[e] = a[e], c[e] || "prop" !== e.substring(0, 4) && "eVar" !== e.substring(0, 4) && "hier" !== e.substring(0, 4) && "list" !== e.substring(0, 4) && "channel" !== e && "events" !== e && "eventList" !== e && "products" !== e && "productList" !== e && "purchaseID" !== e && "transactionID" !== e && "state" !== e && "zip" !== e &&
"campaign" !== e && "events2" !== e && "latitude" !== e && "longitude" !== e && "ms_a" !== e && "contextData" !== e && "supplementalDataID" !== e && "tnt" !== e && "timestamp" !== e && "abort" !== e && "useBeacon" !== e && "linkObject" !== e && "clickObject" !== e && "linkType" !== e && "linkName" !== e && "linkURL" !== e && "bodyClickTarget" !== e && "bodyClickFunction" !== e || (c["!" + e] = 1)
};
a.Lb = function(a) {
var b, d, f, e, g, k = 0,
h, m = "",
n = "";
if (a && 255 < a.length && (b = "" + a, d = b.indexOf("?"), 0 < d && (h = b.substring(d + 1), b = b.substring(0, d), e = b.toLowerCase(), f = 0, "http://" == e.substring(0,
7) ? f += 7 : "https://" == e.substring(0, 8) && (f += 8), d = e.indexOf("/", f), 0 < d && (e = e.substring(f, d), g = b.substring(d), b = b.substring(0, d), 0 <= e.indexOf("google") ? k = ",q,ie,start,search_key,word,kw,cd," : 0 <= e.indexOf("yahoo.co") ? k = ",p,ei," : 0 <= e.indexOf("baidu.") && (k = ",wd,word,"), k && h)))) {
if ((a = h.split("\x26")) && 1 < a.length) {
for (f = 0; f < a.length; f++) e = a[f], d = e.indexOf("\x3d"), 0 < d && 0 <= k.indexOf("," + e.substring(0, d) + ",") ? m += (m ? "\x26" : "") + e : n += (n ? "\x26" : "") + e;
m && n ? h = m + "\x26" + n : n = ""
}
d = 253 - (h.length - n.length) - b.length;
a = b +
(0 < d ? g.substring(0, d) : "") + "?" + h
}
return a
};
a.cb = function(c) {
var b = a.d.visibilityState,
d = ["webkitvisibilitychange", "visibilitychange"];
b || (b = a.d.webkitVisibilityState);
if (b && "prerender" == b) {
if (c)
for (b = 0; b < d.length; b++) a.d.addEventListener(d[b], function() {
var b = a.d.visibilityState;
b || (b = a.d.webkitVisibilityState);
"visible" == b && c()
});
return !1
}
return !0
};
a.ba = !1;
a.G = !1;
a.Bb = function() {
a.G = !0;
a.p()
};
a.H = !1;
a.Cb = function(c) {
a.marketingCloudVisitorID = c.MCMID;
a.visitorOptedOut = c.MCOPTOUT;
a.analyticsVisitorID =
c.MCAID;
a.audienceManagerLocationHint = c.MCAAMLH;
a.audienceManagerBlob = c.MCAAMB;
a.H = !1;
a.p()
};
a.bb = function(c) {
a.maxDelay || (a.maxDelay = 250);
return a.u("_d") ? (c && setTimeout(function() {
c()
}, a.maxDelay), !1) : !0
};
a.Z = !1;
a.F = !1;
a.za = function() {
a.F = !0;
a.p()
};
a.isReadyToTrack = function() {
var c = !0;
if (!a.nb() || !a.lb()) return !1;
a.pb() || (c = !1);
a.sb() || (c = !1);
return c
};
a.nb = function() {
a.ba || a.G || (a.cb(a.Bb) ? a.G = !0 : a.ba = !0);
return a.ba && !a.G ? !1 : !0
};
a.lb = function() {
var c = a.va();
if (c)
if (a.ra || a.aa)
if (a.ra) {
if (!c.isApproved(c.Categories.ANALYTICS)) return !1
} else return !1;
else return c.fetchPermissions(a.ub, !0), a.aa = !0, !1;
return !0
};
a.U = function(c) {
var b = a.va();
return b && !b.isApproved(b.Categories[c]) ? !1 : !0
};
a.va = function() {
return h.adobe && h.adobe.optIn ? h.adobe.optIn : null
};
a.X = !0;
a.pb = function() {
var c = a.S();
if (!c || !c.getVisitorValues) return !0;
a.X && (a.X = !1, a.H || (a.H = !0, c.getVisitorValues(a.Cb)));
return !a.H
};
a.S = function() {
var c = a.visitor;
c && !c.isAllowed() && (c = null);
return c
};
a.sb = function() {
a.Z || a.F || (a.bb(a.za) ? a.F = !0 : a.Z = !0);
return a.Z && !a.F ? !1 : !0
};
a.aa = !1;
a.ub = function() {
a.aa = !1;
a.ra = !0
};
a.j = q;
a.q = 0;
a.callbackWhenReadyToTrack = function(c, b, d) {
var f;
f = {};
f.Gb = c;
f.Fb = b;
f.Db = d;
a.j == q && (a.j = []);
a.j.push(f);
0 == a.q && (a.q = setInterval(a.p, 100))
};
a.p = function() {
var c;
if (a.isReadyToTrack() && (a.Ab(), a.j != q))
for (; 0 < a.j.length;) c = a.j.shift(), c.Fb.apply(c.Gb, c.Db)
};
a.Ab = function() {
a.q && (clearInterval(a.q), a.q = 0)
};
a.ta = function(c) {
var b, d = {};
a.gc(d);
if (c != q)
for (b in c) d[b] = c[b];
a.callbackWhenReadyToTrack(a, a.Ea, [d]);
a.Ca()
};
a.Nb = function() {
var c = a.cookieRead("s_fid"),
b = "",
d = "",
f;
f = 8;
var e = 4;
if (!c || 0 > c.indexOf("-")) {
for (c = 0; 16 > c; c++) f = Math.floor(Math.random() * f), b += "0123456789ABCDEF".substring(f, f + 1), f = Math.floor(Math.random() * e), d += "0123456789ABCDEF".substring(f, f + 1), f = e = 16;
c = b + "-" + d
}
a.cookieWrite("s_fid", c, 1) || (c = 0);
return c
};
a.Ea = function(c) {
var b = new Date,
d = "s" + Math.floor(b.getTime() / 108E5) % 10 + Math.floor(1E13 * Math.random()),
f = b.getYear(),
f = "t\x3d" + a.escape(b.getDate() + "/" + b.getMonth() + "/" + (1900 > f ? f + 1900 : f) + " " + b.getHours() + ":" + b.getMinutes() + ":" + b.getSeconds() + " " + b.getDay() +
" " + b.getTimezoneOffset()),
e = a.S(),
g;
c && (g = a.R(c, 1));
a.Ub() && !a.visitorOptedOut && (a.wa() || (a.fid = a.Nb()), a.Xb(), a.usePlugins && a.doPlugins && a.doPlugins(a), a.account && (a.abort || (a.trackOffline && !a.timestamp && (a.timestamp = Math.floor(b.getTime() / 1E3)), c = h.location, a.pageURL || (a.pageURL = c.href ? c.href : c), a.referrer || a.Za || (c = a.Util.getQueryParam("adobe_mc_ref", null, null, !0), a.referrer = c || void 0 === c ? void 0 === c ? "" : c : p.document.referrer), a.Za = 1, !a.referrer && a.Y && (a.referrer = a.Y), a.Y = 0, a.referrer = a.Lb(a.referrer),
a.u("_g")), a.Qb() && !a.abort && (e && a.U("TARGET") && !a.supplementalDataID && e.getSupplementalDataID && (a.supplementalDataID = e.getSupplementalDataID("AppMeasurement:" + a._in, a.expectSupplementalData ? !1 : !0)), a.U("AAM") || (a.contextData["cm.ssf"] = 1), a.Rb(), a.vb(), f += a.Pb(), a.rb(d, f), a.u("_t"), a.referrer = "")));
a.referrer && (a.Y = a.referrer);
a.Ca();
g && a.R(g, 1)
};
a.t = a.track = function(c, b) {
b && a.R(b);
a.X = !0;
a.isReadyToTrack() ? null != a.j && 0 < a.j.length ? (a.ta(c), a.p()) : a.Ea(c) : a.ta(c)
};
a.vb = function() {
a.writeSecureCookies &&
!a.ssl && a.$a()
};
a.$a = function() {
a.contextData.excCodes = a.contextData.excCodes ? a.contextData.excCodes : [];
a.contextData.excCodes.push(1)
};
a.Ca = function() {
a.abort = a.supplementalDataID = a.timestamp = a.pageURLRest = a.linkObject = a.clickObject = a.linkURL = a.linkName = a.linkType = h.s_objectID = a.pe = a.pev1 = a.pev2 = a.pev3 = a.e = a.lightProfileID = a.useBeacon = a.referrer = 0;
a.contextData && a.contextData.excCodes && (a.contextData.excCodes = 0)
};
a.Ba = [];
a.registerPreTrackCallback = function(c) {
for (var b = [], d = 1; d < arguments.length; d++) b.push(arguments[d]);
"function" == typeof c ? a.Ba.push([c, b]) : a.debugTracking && a.log("Warning, Non function type passed to registerPreTrackCallback")
};
a.gb = function(c) {
a.ua(a.Ba, c)
};
a.Aa = [];
a.registerPostTrackCallback = function(c) {
for (var b = [], d = 1; d < arguments.length; d++) b.push(arguments[d]);
"function" == typeof c ? a.Aa.push([c, b]) : a.debugTracking && a.log("Warning, Non function type passed to registerPostTrackCallback")
};
a.fb = function(c) {
a.ua(a.Aa, c)
};
a.ua = function(c, b) {
if ("object" == typeof c)
for (var d = 0; d < c.length; d++) {
var f =
c[d][0],
e = c[d][1].slice();
e.unshift(b);
if ("function" == typeof f) try {
f.apply(null, e)
} catch (g) {
a.debugTracking && a.log(g.message)
}
}
};
a.tl = a.trackLink = function(c, b, d, f, e) {
a.linkObject = c;
a.linkType = b;
a.linkName = d;
e && (a.bodyClickTarget = c, a.bodyClickFunction = e);
return a.track(f)
};
a.trackLight = function(c, b, d, f) {
a.lightProfileID = c;
a.lightStoreForSeconds = b;
a.lightIncrementBy = d;
return a.track(f)
};
a.clearVars = function() {
var c, b;
for (c = 0; c < a.g.length; c++)
if (b = a.g[c], "prop" == b.substring(0, 4) || "eVar" == b.substring(0,
4) || "hier" == b.substring(0, 4) || "list" == b.substring(0, 4) || "channel" == b || "events" == b || "eventList" == b || "products" == b || "productList" == b || "purchaseID" == b || "transactionID" == b || "state" == b || "zip" == b || "campaign" == b) a[b] = void 0
};
a.tagContainerMarker = "";
a.rb = function(c, b) {
var d = a.hb() + "/" + c + "?AQB\x3d1\x26ndh\x3d1\x26pf\x3d1\x26" + (a.ya() ? "callback\x3ds_c_il[" + a._in + "].doPostbacks\x26et\x3d1\x26" : "") + b + "\x26AQE\x3d1";
a.gb(d);
a.eb(d);
a.T()
};
a.hb = function() {
var c = a.ib();
return "http" + (a.ssl ? "s" : "") + "://" + c + "/b/ss/" +
a.account + "/" + (a.mobile ? "5." : "") + (a.ya() ? "10" : "1") + "/JS-" + a.version + (a.$b ? "T" : "") + (a.tagContainerMarker ? "-" + a.tagContainerMarker : "")
};
a.ya = function() {
return a.AudienceManagement && a.AudienceManagement.isReady() || 0 != a.usePostbacks
};
a.ib = function() {
var c = a.dc,
b = a.trackingServer;
b ? a.trackingServerSecure && a.ssl && (b = a.trackingServerSecure) : (c = c ? ("" + c).toLowerCase() : "d1", "d1" == c ? c = "112" : "d2" == c && (c = "122"), b = a.kb() + "." + c + ".2o7.net");
return b
};
a.kb = function() {
var c = a.visitorNamespace;
c || (c = a.account.split(",")[0],
c = c.replace(/[^0-9a-z]/gi, ""));
return c
};
a.Ya = /{(%?)(.*?)(%?)}/;
a.fc = RegExp(a.Ya.source, "g");
a.Kb = function(c) {
if ("object" == typeof c.dests)
for (var b = 0; b < c.dests.length; ++b) {
var d = c.dests[b];
if ("string" == typeof d.c && "aa." == d.id.substr(0, 3))
for (var f = d.c.match(a.fc), e = 0; e < f.length; ++e) {
var g = f[e],
k = g.match(a.Ya),
h = "";
"%" == k[1] && "timezone_offset" == k[2] ? h = (new Date).getTimezoneOffset() : "%" == k[1] && "timestampz" == k[2] && (h = a.Ob());
d.c = d.c.replace(g, a.escape(h))
}
}
};
a.Ob = function() {
var c = new Date,
b = new Date(6E4 *
Math.abs(c.getTimezoneOffset()));
return a.k(4, c.getFullYear()) + "-" + a.k(2, c.getMonth() + 1) + "-" + a.k(2, c.getDate()) + "T" + a.k(2, c.getHours()) + ":" + a.k(2, c.getMinutes()) + ":" + a.k(2, c.getSeconds()) + (0 < c.getTimezoneOffset() ? "-" : "+") + a.k(2, b.getUTCHours()) + ":" + a.k(2, b.getUTCMinutes())
};
a.k = function(a, b) {
return (Array(a + 1).join(0) + b).slice(-a)
};
a.pa = {};
a.doPostbacks = function(c) {
if ("object" == typeof c)
if (a.Kb(c), "object" == typeof a.AudienceManagement && "function" == typeof a.AudienceManagement.isReady && a.AudienceManagement.isReady() &&
"function" == typeof a.AudienceManagement.passData) a.AudienceManagement.passData(c);
else if ("object" == typeof c && "object" == typeof c.dests)
for (var b = 0; b < c.dests.length; ++b) {
var d = c.dests[b];
"object" == typeof d && "string" == typeof d.c && "string" == typeof d.id && "aa." == d.id.substr(0, 3) && (a.pa[d.id] = new Image, a.pa[d.id].alt = "", a.pa[d.id].src = d.c)
}
};
a.eb = function(c) {
a.i || a.Sb();
a.i.push(c);
a.ia = a.A();
a.Xa()
};
a.Sb = function() {
a.i = a.Vb();
a.i || (a.i = [])
};
a.Vb = function() {
var c, b;
if (a.oa()) {
try {
(b = h.localStorage.getItem(a.ma())) &&
(c = h.JSON.parse(b))
} catch (d) {}
return c
}
};
a.oa = function() {
var c = !0;
a.trackOffline && a.offlineFilename && h.localStorage && h.JSON || (c = !1);
return c
};
a.Na = function() {
var c = 0;
a.i && (c = a.i.length);
a.l && c++;
return c
};
a.T = function() {
if (a.l && (a.v && a.v.complete && a.v.C && a.v.Q(), a.l)) return;
a.Oa = q;
if (a.na) a.ia > a.M && a.Va(a.i), a.qa(500);
else {
var c = a.Eb();
if (0 < c) a.qa(c);
else if (c = a.La()) a.l = 1, a.Wb(c), a.Zb(c)
}
};
a.qa = function(c) {
a.Oa || (c || (c = 0), a.Oa = setTimeout(a.T, c))
};
a.Eb = function() {
var c;
if (!a.trackOffline || 0 >= a.offlineThrottleDelay) return 0;
c = a.A() - a.Ta;
return a.offlineThrottleDelay < c ? 0 : a.offlineThrottleDelay - c
};
a.La = function() {
if (0 < a.i.length) return a.i.shift()
};
a.Wb = function(c) {
if (a.debugTracking) {
var b = "AppMeasurement Debug: " + c;
c = c.split("\x26");
var d;
for (d = 0; d < c.length; d++) b += "\n\t" + a.unescape(c[d]);
a.log(b)
}
};
a.wa = function() {
return a.marketingCloudVisitorID || a.analyticsVisitorID
};
a.W = !1;
var t;
try {
t = JSON.parse('{"x":"y"}')
} catch (v) {
t = null
}
t && "y" == t.x ? (a.W = !0, a.V = function(a) {
return JSON.parse(a)
}) : h.$ && h.$.parseJSON ? (a.V = function(a) {
return h.$.parseJSON(a)
},
a.W = !0) : a.V = function() {
return null
};
a.Zb = function(c) {
var b, d, f;
a.mb(c) && (d = 1, b = {
send: function(c) {
a.useBeacon = !1;
navigator.sendBeacon(c) ? b.Q() : b.ga()
}
});
!b && a.wa() && 2047 < c.length && (a.ab() && (d = 2, b = new XMLHttpRequest), b && (a.AudienceManagement && a.AudienceManagement.isReady() || 0 != a.usePostbacks) && (a.W ? b.Ga = !0 : b = 0));
!b && a.ec && (c = c.substring(0, 2047));
!b && a.d.createElement && (0 != a.usePostbacks || a.AudienceManagement && a.AudienceManagement.isReady()) && (b = a.d.createElement("SCRIPT")) && "async" in b && ((f = (f = a.d.getElementsByTagName("HEAD")) &&
f[0] ? f[0] : a.d.body) ? (b.type = "text/javascript", b.setAttribute("async", "async"), d = 3) : b = 0);
b || (b = new Image, b.alt = "", b.abort || "undefined" === typeof h.InstallTrigger || (b.abort = function() {
b.src = q
}));
b.Ua = Date.now();
b.Ia = function() {
try {
b.C && (clearTimeout(b.C), b.C = 0)
} catch (a) {}
};
b.onload = b.Q = function() {
b.Ua && (a.ja = Date.now() - b.Ua);
a.fb(c);
b.Ia();
a.Ib();
a.ca();
a.l = 0;
a.T();
if (b.Ga) {
b.Ga = !1;
try {
a.doPostbacks(a.V(b.responseText))
} catch (d) {}
}
};
b.onabort = b.onerror = b.ga = function() {
b.Ia();
(a.trackOffline || a.na) &&
a.l && a.i.unshift(a.Hb);
a.l = 0;
a.ia > a.M && a.Va(a.i);
a.ca();
a.qa(500)
};
b.onreadystatechange = function() {
4 == b.readyState && (200 == b.status ? b.Q() : b.ga())
};
a.Ta = a.A();
if (1 === d) b.send(c);
else if (2 === d) f = c.indexOf("?"), d = c.substring(0, f), f = c.substring(f + 1), f = f.replace(/&callback=[a-zA-Z0-9_.\[\]]+/, ""), b.open("POST", d, !0), b.withCredentials = !0, b.send(f);
else if (b.src = c, 3 === d) {
if (a.Ra) try {
f.removeChild(a.Ra)
} catch (e) {}
f.firstChild ? f.insertBefore(b, f.firstChild) : f.appendChild(b);
a.Ra = a.v
}
b.C = setTimeout(function() {
b.C &&
(b.complete ? b.Q() : (a.trackOffline && b.abort && b.abort(), b.ga()))
}, 5E3);
a.Hb = c;
a.v = h["s_i_" + a.replace(a.account, ",", "_")] = b;
if (a.useForcedLinkTracking && a.I || a.bodyClickFunction) a.forcedLinkTrackingTimeout || (a.forcedLinkTrackingTimeout = 250), a.da = setTimeout(a.ca, a.forcedLinkTrackingTimeout)
};
a.mb = function(c) {
var b = !1;
navigator.sendBeacon && (a.ob(c) ? b = !0 : a.useBeacon && (b = !0));
a.xb(c) && (b = !1);
return b
};
a.ob = function(a) {
return a && 0 < a.indexOf("pe\x3dlnk_e") ? !0 : !1
};
a.xb = function(a) {
return 64E3 <= a.length
};
a.ab =
function() {
return "undefined" !== typeof XMLHttpRequest && "withCredentials" in new XMLHttpRequest ? !0 : !1
};
a.Ib = function() {
if (a.oa() && !(a.Sa > a.M)) try {
h.localStorage.removeItem(a.ma()), a.Sa = a.A()
} catch (c) {}
};
a.Va = function(c) {
if (a.oa()) {
a.Xa();
try {
h.localStorage.setItem(a.ma(), h.JSON.stringify(c)), a.M = a.A()
} catch (b) {}
}
};
a.Xa = function() {
if (a.trackOffline) {
if (!a.offlineLimit || 0 >= a.offlineLimit) a.offlineLimit = 10;
for (; a.i.length > a.offlineLimit;) a.La()
}
};
a.forceOffline = function() {
a.na = !0
};
a.forceOnline = function() {
a.na = !1
};
a.ma = function() {
return a.offlineFilename + "-" + a.visitorNamespace + a.account
};
a.A = function() {
return (new Date).getTime()
};
a.Pa = function(a) {
a = a.toLowerCase();
return 0 != a.indexOf("#") && 0 != a.indexOf("about:") && 0 != a.indexOf("opera:") && 0 != a.indexOf("javascript:") ? !0 : !1
};
a.setTagContainer = function(c) {
var b, d, f;
a.$b = c;
for (b = 0; b < a._il.length; b++)
if ((d = a._il[b]) && "s_l" == d._c && d.tagContainerName == c) {
a.R(d);
if (d.lmq)
for (b = 0; b < d.lmq.length; b++) f = d.lmq[b], a.loadModule(f.n);
if (d.ml)
for (f in d.ml)
if (a[f])
for (b in c =
a[f], f = d.ml[f], f) !Object.prototype[b] && ("function" != typeof f[b] || 0 > ("" + f[b]).indexOf("s_c_il")) && (c[b] = f[b]);
if (d.mmq)
for (b = 0; b < d.mmq.length; b++) f = d.mmq[b], a[f.m] && (c = a[f.m], c[f.f] && "function" == typeof c[f.f] && (f.a ? c[f.f].apply(c, f.a) : c[f.f].apply(c)));
if (d.tq)
for (b = 0; b < d.tq.length; b++) a.track(d.tq[b]);
d.s = a;
break
}
};
a.Util = {
urlEncode: a.escape,
urlDecode: a.unescape,
cookieRead: a.cookieRead,
cookieWrite: a.cookieWrite,
getQueryParam: function(c, b, d, f) {
var e, g = "";
b || (b = a.pageURL ? a.pageURL : h.location);
d = d ? d :
"\x26";
if (!c || !b) return g;
b = "" + b;
e = b.indexOf("?");
if (0 > e) return g;
b = d + b.substring(e + 1) + d;
if (!f || !(0 <= b.indexOf(d + c + d) || 0 <= b.indexOf(d + c + "\x3d" + d))) {
e = b.indexOf("#");
0 <= e && (b = b.substr(0, e) + d);
e = b.indexOf(d + c + "\x3d");
if (0 > e) return g;
b = b.substring(e + d.length + c.length + 1);
e = b.indexOf(d);
0 <= e && (b = b.substring(0, e));
0 < b.length && (g = a.unescape(b));
return g
}
},
getIeVersion: function() {
return document.documentMode ? document.documentMode : a.xa() ? 7 : null
}
};
a.D = "supplementalDataID timestamp dynamicVariablePrefix visitorID marketingCloudVisitorID analyticsVisitorID audienceManagerLocationHint authState fid vmk visitorMigrationKey visitorMigrationServer visitorMigrationServerSecure charSet visitorNamespace cookieDomainPeriods fpCookieDomainPeriods cookieLifetime pageName pageURL customerPerspective referrer contextData contextData.cm.ssf contextData.opt.dmp contextData.opt.sell currencyCode lightProfileID lightStoreForSeconds lightIncrementBy retrieveLightProfiles deleteLightProfiles retrieveLightData".split(" ");
a.g = a.D.concat("purchaseID variableProvider channel server pageType transactionID campaign state zip events events2 products audienceManagerBlob tnt".split(" "));
a.ka = "timestamp charSet visitorNamespace cookieDomainPeriods cookieLifetime contextData lightProfileID lightStoreForSeconds lightIncrementBy".split(" ");
a.N = a.ka.slice(0);
a.Fa = "account allAccounts debugTracking visitor visitorOptedOut trackOffline offlineLimit offlineThrottleDelay offlineFilename usePlugins doPlugins configURL visitorSampling visitorSamplingGroup linkObject clickObject linkURL linkName linkType trackDownloadLinks trackExternalLinks trackClickMap trackInlineStats linkLeaveQueryString linkTrackVars linkTrackEvents linkDownloadFileTypes linkExternalFilters linkInternalFilters useForcedLinkTracking forcedLinkTrackingTimeout writeSecureCookies useLinkTrackSessionStorage trackingServer trackingServerSecure ssl abort mobile dc lightTrackVars maxDelay expectSupplementalData useBeacon usePostbacks registerPreTrackCallback registerPostTrackCallback bodyClickTarget bodyClickFunction AudienceManagement".split(" ");
for (m = 0; 250 >= m; m++) 76 > m && (a.g.push("prop" + m), a.N.push("prop" + m)), a.g.push("eVar" + m), a.N.push("eVar" + m), 6 > m && a.g.push("hier" + m), 4 > m && a.g.push("list" + m);
m = "pe pev1 pev2 pev3 latitude longitude resolution colorDepth javascriptVersion javaEnabled cookiesEnabled browserWidth browserHeight connectionType homepage pageURLRest marketingCloudOrgID ms_a".split(" ");
a.g = a.g.concat(m);
a.D = a.D.concat(m);
a.ssl = 0 <= h.location.protocol.toLowerCase().indexOf("https");
a.charSet = "UTF-8";
a.contextData = {};
a.writeSecureCookies = !1;
a.offlineThrottleDelay = 0;
a.offlineFilename = "AppMeasurement.offline";
a.O = "s_sq";
a.Ta = 0;
a.ia = 0;
a.M = 0;
a.Sa = 0;
a.linkDownloadFileTypes = "exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx";
a.w = h;
a.d = h.document;
a.ca = function() {
a.da && (h.clearTimeout(a.da), a.da = q);
a.bodyClickTarget && a.I && a.bodyClickTarget.dispatchEvent(a.I);
a.bodyClickFunction && ("function" == typeof a.bodyClickFunction ? a.bodyClickFunction() : a.bodyClickTarget && a.bodyClickTarget.href && (a.d.location = a.bodyClickTarget.href));
a.bodyClickTarget =
a.I = a.bodyClickFunction = 0
};
a.Wa = function() {
a.b = a.d.body;
a.b ? (a.r = function(c) {
var b, d, f, e, g;
if (!(a.d && a.d.getElementById("cppXYctnr") || c && c["s_fe_" + a._in])) {
if (a.Ha)
if (a.useForcedLinkTracking) a.b.removeEventListener("click", a.r, !1);
else {
a.b.removeEventListener("click", a.r, !0);
a.Ha = a.useForcedLinkTracking = 0;
return
} else a.useForcedLinkTracking = 0;
a.clickObject = c.srcElement ? c.srcElement : c.target;
try {
if (!a.clickObject || a.L && a.L == a.clickObject || !(a.clickObject.tagName || a.clickObject.parentElement || a.clickObject.parentNode)) a.clickObject =
0;
else {
var k = a.L = a.clickObject;
a.ha && (clearTimeout(a.ha), a.ha = 0);
a.ha = setTimeout(function() {
a.L == k && (a.L = 0)
}, 1E4);
f = a.Na();
a.track();
if (f < a.Na() && a.useForcedLinkTracking && c.target) {
for (e = c.target; e && e != a.b && "A" != e.tagName.toUpperCase() && "AREA" != e.tagName.toUpperCase();) e = e.parentNode;
if (e && (g = e.href, a.Pa(g) || (g = 0), d = e.target, c.target.dispatchEvent && g && (!d || "_self" == d || "_top" == d || "_parent" == d || h.name && d == h.name))) {
try {
b = a.d.createEvent("MouseEvents")
} catch (l) {
b = new h.MouseEvent
}
if (b) {
try {
b.initMouseEvent("click",
c.bubbles, c.cancelable, c.view, c.detail, c.screenX, c.screenY, c.clientX, c.clientY, c.ctrlKey, c.altKey, c.shiftKey, c.metaKey, c.button, c.relatedTarget)
} catch (m) {
b = 0
}
b && (b["s_fe_" + a._in] = b.s_fe = 1, c.stopPropagation(), c.stopImmediatePropagation && c.stopImmediatePropagation(), c.preventDefault(), a.bodyClickTarget = c.target, a.I = b)
}
}
}
}
} catch (n) {
a.clickObject = 0
}
}
}, a.b && a.b.attachEvent ? a.b.attachEvent("onclick", a.r) : a.b && a.b.addEventListener && (navigator && (0 <= navigator.userAgent.indexOf("WebKit") && a.d.createEvent ||
0 <= navigator.userAgent.indexOf("Firefox/2") && h.MouseEvent) && (a.Ha = 1, a.useForcedLinkTracking = 1, a.b.addEventListener("click", a.r, !0)), a.b.addEventListener("click", a.r, !1))) : setTimeout(a.Wa, 30)
};
a.ec = a.xa();
a.Jb();
a.lc || (r ? a.setAccount(r) : a.log("Error, missing Report Suite ID in AppMeasurement initialization"), a.Wa(), a.loadModule("ActivityMap"))
}
function s_gi(r) {
var a, h = window.s_c_il,
q, p, m = r.split(","),
s, u, t = 0;
if (h)
for (q = 0; !t && q < h.length;) {
a = h[q];
if ("s_c" == a._c && (a.account || a.oun))
if (a.account && a.account ==
r) t = 1;
else
for (p = a.account ? a.account : a.oun, p = a.allAccounts ? a.allAccounts : p.split(","), s = 0; s < m.length; s++)
for (u = 0; u < p.length; u++) m[s] == p[u] && (t = 1);
q++
}
t ? a.setAccount && a.setAccount(r) : a = new AppMeasurement(r);
return a
}
AppMeasurement.getInstance = s_gi;
window.s_objectID || (window.s_objectID = 0);
function s_pgicq() {
var r = window,
a = r.s_giq,
h, q, p;
if (a)
for (h = 0; h < a.length; h++) q = a[h], p = s_gi(q.oun), p.setAccount(q.un), p.setTagContainer(q.tagContainerName);
r.s_giq = 0
}
s_pgicq()