Bootstrapper.bindDependencyDOMParsed(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;if(document.location.href.indexOf("/efs/ui/enrollment/index.html")>0){var enrollpgsectionanchor=document.querySelector("#cookieErrorMsg");enrollpgsectionanchor.insertAdjacentHTML("afterend",'\x3cdiv id\x3d"sticky-sidebar"\x3e\x3c/div\x3e');document.querySelector("#sticky-sidebar").classList.add("mbox-name-hsbcmsg");adobe.target.getOffer({"mbox":"hsbcmsg","success":function(offer){adobe.target.applyOffer({"mbox":"hsbcmsg",
"selector":"#sticky-sidebar","offer":offer})},"error":function(status,error){console.log("AT Error",status,error)}})}if(document.location.href.indexOf("/login.jsp")>0){document.querySelector("#citizens-help \x3e div \x3e ul \x3e li.cta-row.sign-up-prompt.visible.clearfix \x3e span").classList.add("mbox-name-citizenshelpsignup-1");document.querySelector("#citizens-help \x3e div \x3e ul \x3e li.cta-row.sign-up-prompt.visible.clearfix \x3e a").classList.add("mbox-name-citizenshelpsignup-2");adobe.target.getOffer({"mbox":"citizenshelpsignup-1",
"success":function(offer){adobe.target.applyOffer({"mbox":"citizenshelpsignup-1","selector":"#citizens-help \x3e div \x3e ul \x3e li.cta-row.sign-up-prompt.visible.clearfix \x3e span","offer":offer})},"error":function(status,error){console.log("AT Error",status,error)}});adobe.target.getOffer({"mbox":"citizenshelpsignup-2","success":function(offer){adobe.target.applyOffer({"mbox":"citizenshelpsignup-2","selector":"#citizens-help \x3e div \x3e ul \x3e li.cta-row.sign-up-prompt.visible.clearfix \x3e a",
"offer":offer})},"error":function(status,error){console.log("AT Error",status,error)}})}},3658794,[3658800,3658791],561849,[516593,548225]);
Bootstrapper.bindDependencyImmediate(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;window.waitForGlobal("CBDL.pgInfo",function(){console.log("CBDL.pgInfo is defined: ",window.CBDL.pgInfo);syncVID()});function convertUndefinedToEmpty(myVar){if(myVar==undefined)return"novalue";return myVar}function isDatalayerBuilt(){console.log("ENS:check isDataLyerBuilt");if(CBDL&&CBDL.pgInfo){console.log("ENS:CBDL.pgInfo found data layer");return true}}function syncVID(){console.log("ENS:syncVID");
if(isDatalayerBuilt()==true){console.log("ENS:the CBDL data layer is now ready.");if(CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&CBDL.pgInfo.cbaction.toLowerCase()=="view"){visitor.setCustomerIDs({"citizenscis":{"id":CBDL.pgInfo.cbCisKey,"authState":Visitor.AuthState.AUTHENTICATED}});var ids=visitor.getCustomerIDs();var idsstr=JSON.stringify(ids,null);console.log("Getting VID Sync:"+idsstr)}}}window.checkNested=function(obj,args){for(var i=0;i<args.length;i++){if(!obj||!obj.hasOwnProperty(args[i]))return false;
obj=obj[args[i]]}return true};window.waitForGlobal=function(keyPath,callback){var args=keyPath.split(".");if(window.checkNested(window,args))callback();else setTimeout(function(){window.waitForGlobal(keyPath,callback)},100)}},3658802,[3683916],697189,[567725]);
Bootstrapper.bindImmediate(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;document.getElementsByClassName=document.getElementsByClassName||function(b){var c=this.all||this.getElementsByTagName("*"),d=[];b=RegExp("(?:^|\\s)"+b+"(?:\\s|$)");for(var a=0;a<c.length;a++)b.test(c[a].className)&&d.push(c[a]);return d};Bootstrapper.AF.push(["set","olb","attachEvents",function(){var c=this.event||[];this.event=[];var b="function"==typeof Bootstrapper.Delegate,
g=function(){};g=b?function(b,a,c,d){if("string"==typeof a)Bootstrapper.on(b,a,c,d);else Bootstrapper.bindDOMParsed(function(a,b,c,d){return function(){var e=b.call(window);if("object"==typeof e&&e.length)for(var f=0;f<e.length;f++)Bootstrapper.on(e[f]).on(a,c,d);if(null!==typeof e&&e.nodeName)Bootstrapper.on(e).on(a,c,d)}}(b,a,c,d))}:function(b,a,c){if("string"==typeof a)if(/^#\w/.test(a))var d=document.getElementById(a.replace(/^#/,""));else/^\.\w/.test(a)?d=document.getElementsByClassName(a.replace(/^\./,
"")):/\w+/.test(a)&&(d=document.getElementsByTagName(a));else if("function"==typeof a)d=a.call(window);else if(!("object"==typeof a&&a.length))return;if(d!==null&&"object"==typeof d&&d.length)for(a=0;a<d.length;a++)Bootstrapper.unobtrusiveAddEvent(d[a],"on"+b,c);else"undefined"!==typeof d&&("null"!==typeof d&&d.nodeName)&&Bootstrapper.unobtrusiveAddEvent(d,"on"+b,c)};for(b=0;b<c.length&&!("object"!==typeof c[b]||3==!c[b].length);b++)g(c[b][1],c[b][0],c[b][2],!!c[b][3])}]);var prevIncCall=false;var element=
document.querySelectorAll(".cbensightenevent");for(i=0;i<element.length;i++){var isBlank=element[i].getAttribute("target");if(isBlank=="_blank")prevIncCall=false}Bootstrapper.AF.push(["push","olb","event",[".cbensightenevent","click",function(){olb.origLTV=olb.linkTrackVars;olb.events="event35";olb.eVar58=function anon(){var ts=this;var datareason=ts.getAttribute("cbdata-reason");if(datareason!==undefined&&datareason!=="")return CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+
"|"+CBDL.pgInfo.cbpgName+":"+ts.getAttribute("cbdata-type")+"|"+ts.getAttribute("cbdata-reason")}.call(this);olb.prop58=olb.eVar58;olb.eVar35=function anon(){var ts=this;var datareason=ts.getAttribute("cbdata-reason");if(datareason!==undefined&&datareason!=="")return CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+"|"+CBDL.pgInfo.cbpgName+":"+ts.getAttribute("cbdata-type")+"|"+ts.getAttribute("cbdata-reason")}.call(this);olb.prop35=olb.eVar35;olb.eVar4=function anon(){if(typeof CBDL==
"object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbproduct!==undefined)return CBDL.pgInfo.cbproduct.toLowerCase();else return"Datalayer:cbproduct Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbproduct"}return"Datalayer:CBDL Missing"}.call(this);olb.prop4="D\x3dv4";olb.eVar7=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgType!==undefined)return CBDL.pgInfo.cbpgType.toLowerCase();else return"Datalayer:cbpgType Missing";else return"Datalayer:Page Info Missing";
return"Datalayer:cbpgType"}return"Datalayer:CBDL Missing"}.call(this);olb.prop7="D\x3dv7";olb.eVar8=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgFunction!==undefined)return CBDL.pgInfo.cbpgFunction.toLowerCase();else return"Datalayer:cbpgFunction Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbpgFunction"}return"Datalayer:CBDL Missing"}.call(this);olb.prop8="D\x3dv8";olb.eVar9=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo==
"object")if(CBDL.pgInfo.cbpgSubFunction!==undefined)return CBDL.pgInfo.cbpgSubFunction.toLowerCase();else return"Datalayer:cbpgSubFunction Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbpgSubFunction"}return"Datalayer:CBDL Missing"}.call(this);olb.prop9="D\x3dv9";olb.eVar2=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbwebidentifier!==undefined)return CBDL.pgInfo.cbwebidentifier.toLowerCase();else return"Datalayer:cbwebidentifier Missing";
else return"Datalayer:Page Info Missing";return"Datalayer:cbwebidentifier"}return"Datalayer:CBDL Missing"}.call(this);olb.prop2="D\x3dv2";olb.eVar10=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgName!==undefined)return CBDL.pgInfo.cbpgName.toLowerCase();else return"Datalayer:Page Name Missing";else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.prop10="D\x3dv10";olb.eVar13=function anon(){if(typeof CBDL==
"object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbCisKey!==undefined)return CBDL.pgInfo.cbCisKey.toLocaleLowerCase();else return"Datalayer:Cis Key Missing";else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.prop13="D\x3dv13";olb.eVar90=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgName!==undefined){var stepName=CBDL.pgInfo.cbpgType.toLowerCase()+"|"+CBDL.pgInfo.cbpgFunction.toLowerCase()+
"|"+CBDL.pgInfo.cbpgSubFunction.toLowerCase()+"|"+CBDL.pgInfo.cbpgName.toLowerCase();return stepName}else return"Datalayer:stepName Missing";else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.prop60="D\x3dv90";olb.eVar71=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbsessionId!==undefined)return CBDL.pgInfo.cbsessionId.toLowerCase();else return"Datalayer:cbsessionId Missing";else return"Datalayer:Page Info Missing";
return"Datalayer:cbsessionId"}return"Datalayer:CBDL Missing"}.call(this);olb.prop71="D\x3dv71";olb.pageName=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object"){var pageName=CBDL.pgInfo.cbwebidentifier+"|"+CBDL.pgInfo.cbproduct+"|"+CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+"|"+CBDL.pgInfo.cbpgName;return pageName.toLowerCase()}else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar14=
function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbdevice!==undefined){var bankType=CBDL.pgInfo.cbhsbcflag.toLowerCase();if(bankType==="y")return"hsbc";else if(bankType==="n")return"citizens";else return""}else return"Datalayer:cbhsbcflag Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbhsbcflag"}return"Datalayer:CBDL Missing"}.call(this);olb.prop14="D\x3dv14";olb.linkTrackVars=olb.linkTrackVars&&olb.linkTrackVars!=="None"?olb.linkTrackVars+
",":"";olb.linkTrackVars+="eVar58,prop58,events,eVar35,prop35,eVar4,prop4,eVar7,prop7,eVar8,prop8,eVar9,prop9,eVar2,prop2,eVar10,prop10,eVar13,prop13,eVar90,prop60,eVar71,prop71,pageName,eVar14,prop14";olb.linkTrackEvents="event35";olb.tl(this,"o",function anon(){var ts=this;var datareason=ts.getAttribute("cbdata-reason");if(datareason!==undefined&&datareason!=="")return CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+"|"+CBDL.pgInfo.cbpgName+":"+ts.getAttribute("cbdata-type")+
"|"+ts.getAttribute("cbdata-reason")}.call(this));olb.linkTrackVars=olb.origLTV;olb.linkTrackEvents=olb.origLTE},prevIncCall]]);Bootstrapper.AF.push(["call","olb","attachEvents"])},3688019,567874);
Bootstrapper.bindImmediate(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;Bootstrapper.ensEvent.add("OLB_Legacy_PageLoad",function(){olb.origLTV=olb.linkTrackVars;olb.origLTE=olb.linkTrackEvents;olb.events="";olb.events+=""+function anon(){var retVal="";if(typeof CBDL.pgInfo=="object")if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="estatement"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()==
"start")retVal="event46";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="estatement"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()=="complete")retVal="event47";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="etaxforms"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()=="start")retVal="event48";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="etaxforms"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()==
"complete")retVal="event49";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless-econsent-full"&&CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&CBDL.pgInfo.cbaction.toLowerCase()=="view")retVal="event68";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless-econsent-partial"&&CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&CBDL.pgInfo.cbaction.toLowerCase()=="view")retVal="event69";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless"&&CBDL.pgInfo.cbpgType.toLowerCase()==
"accountsummary"&&CBDL.pgInfo.cbpgName.toLowerCase()=="view")retVal="event70";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="thankyou"&&CBDL.pgInfo.cbpgName.toLowerCase()=="complete")retVal="event71";return retVal}.call(this);olb.eVar8=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgFunction!==undefined)return CBDL.pgInfo.cbpgFunction.toLowerCase();else return"Datalayer:cbpgFunction Missing";else return"Datalayer:Page Info Missing";
return"Datalayer:cbpgFunction"}return"Datalayer:CBDL Missing"}.call(this);olb.channel=function anon(){if(typeof top.frames[0].CBDL=="object"){if(typeof top.frames[0].CBDL.pgInfo=="object"){var channel=top.frames[0].CBDL.pgInfo.cbpgFunction;return channel.toLocaleLowerCase()}else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar2=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbwebidentifier!==
undefined)return CBDL.pgInfo.cbwebidentifier.toLowerCase();else return"Datalayer:cbwebidentifier Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbwebidentifier"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar3=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbdevice!==undefined)return CBDL.pgInfo.cbdevice.toLowerCase();else return"Datalayer:cbdevice Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbdevice"}return"Datalayer:CBDL Missing"}.call(this);
olb.eVar4=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbproduct!==undefined)return CBDL.pgInfo.cbproduct.toLowerCase();else return"Datalayer:cbproduct Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbproduct"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar5=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbtype!==undefined)return CBDL.pgInfo.cbtype.toLowerCase();else return"Datalayer:cbtype Missing";
else return"Datalayer:Page Info Missing";return"Datalayer:cbtype"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar7=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgType!==undefined)return CBDL.pgInfo.cbpgType.toLowerCase();else return"Datalayer:cbpgType Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbpgType"}return"Datalayer:CBDL Missing"}.call(this);olb.pageName=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object"){var pageName=
CBDL.pgInfo.cbwebidentifier+"|"+CBDL.pgInfo.cbproduct+"|"+CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+"|"+CBDL.pgInfo.cbpgName;return pageName.toLowerCase()}else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar10=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgName!==undefined)return CBDL.pgInfo.cbpgName.toLowerCase();else return"Datalayer:Page Name Missing";
else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar12=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbaction!==undefined)return CBDL.pgInfo.cbaction.toLowerCase();else return"Datalayer:cbaction Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbaction"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar71=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbsessionId!==
undefined)return CBDL.pgInfo.cbsessionId.toLowerCase();else return"Datalayer:cbsessionId Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbsessionId"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar73=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbbrand!==undefined)return CBDL.pgInfo.cbbrand.toLowerCase();else return"Datalayer:cbapplicantType Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbapplicantType"}return"Datalayer:CBDL Missing"}.call(this);
olb.prop71="D\x3dv71";olb.prop1="D\x3dv1";olb.prop73="D\x3dv73";olb.eVar9=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgSubFunction!==undefined){return CBDL.pgInfo.cbpgSubFunction.toLowerCase();console.log("eVar9.cbpgSubFunction----\x3e"+CBDL.pgInfo.cbpgSubFunction)}else return"Datalayer:cbpgSubFunction Missing";else return"Datalayer:Page Info Missing";return"Datalayer:cbpgSubFunction"}return"Datalayer:CBDL Missing"}.call(this);olb.prop9="D\x3dv9";olb.prop2=
"D\x3dv2";olb.prop3="D\x3dv3";olb.prop4="D\x3dv4";olb.prop5="D\x3dv5";olb.prop16="D\x3dv16";olb.prop7="D\x3dv7";olb.prop8="D\x3dv8";olb.eVar35=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object"){var eVar35=CBDL.pgInfo.cbproduct+"|"+CBDL.pgInfo.cbpgType+"|"+CBDL.pgInfo.cbpgFunction+"|"+CBDL.pgInfo.cbpgSubFunction+"|"+CBDL.pgInfo.cbpgName;if(eVar35!==undefined)return eVar35.toLowerCase();else return"Datalayer:eVar35 Missing"}else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);
olb.prop35="D\x3dv35";olb.prop10="D\x3dv10";olb.eVar90=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgName!==undefined){var stepName=CBDL.pgInfo.cbpgType.toLowerCase()+"|"+CBDL.pgInfo.cbpgFunction.toLowerCase()+"|"+CBDL.pgInfo.cbpgSubFunction.toLowerCase()+"|"+CBDL.pgInfo.cbpgName.toLowerCase();return stepName}else return"Datalayer:stepName Missing";else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);
olb.prop12="D\x3dv12";olb.eVar13=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbCisKey!==undefined)return CBDL.pgInfo.cbCisKey.toLocaleLowerCase();else return"Datalayer:Cis Key Missing";else return"Datalayer:Page Info Missing";return"Datalayer:Unknow"}return"Datalayer:CBDL Missing"}.call(this);olb.eVar1=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object"){var conLang=CBDL.pgInfo.cbcountry+"|"+CBDL.pgInfo.cblanguage;return conLang.toLowerCase();
console.log("22222")}else return"Datalayer:conLang Missing";return"Datalayer:conLang"}return"Datalayer:CBDL Missing"}.call(this);olb.prop13="D\x3dv13";olb.prop60="D\x3dv90";olb.eVar14=function anon(){if(typeof CBDL=="object"){if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbdevice!==undefined){var bankType=CBDL.pgInfo.cbhsbcflag.toLowerCase();if(bankType==="y")return"hsbc";else if(bankType==="n")return"citizens";else return""}else return"Datalayer:cbhsbcflag Missing";else return"Datalayer:Page Info Missing";
return"Datalayer:cbhsbcflag"}return"Datalayer:CBDL Missing"}.call(this);olb.prop14="D\x3dv14";olb.linkTrackVars=olb.linkTrackVars&&olb.linkTrackVars!=="None"?olb.linkTrackVars+",":"";olb.linkTrackVars+="eVar8,channel,eVar2,eVar3,eVar4,eVar5,eVar7,pageName,eVar10,eVar12,events,eVar71,eVar73,prop71,prop1,prop73,eVar9,prop9,prop2,prop3,prop4,prop5,prop16,prop7,prop8,eVar35,prop35,prop10,eVar90,prop12,eVar13,eVar1,prop13,prop60,eVar14,prop14";olb.linkTrackEvents=olb.linkTrackEvents&&olb.linkTrackEvents!==
"None"?olb.linkTrackEvents+",":"";olb.linkTrackEvents+="None";olb.linkTrackEvents+=","+function anon(){var retVal="";if(typeof CBDL.pgInfo=="object")if(typeof CBDL.pgInfo=="object")if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="estatement"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()=="start")retVal="event46";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="estatement"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()==
"complete")retVal="event47";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="etaxforms"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()=="start")retVal="event48";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="etaxforms"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()=="enroll"&&CBDL.pgInfo.cbaction.toLowerCase()=="complete")retVal="event49";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless-econsent-full"&&CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&
CBDL.pgInfo.cbaction.toLowerCase()=="view")retVal="event68";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless-econsent-partial"&&CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&CBDL.pgInfo.cbaction.toLowerCase()=="view")retVal="event69";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless"&&CBDL.pgInfo.cbpgType.toLowerCase()=="accountsummary"&&CBDL.pgInfo.cbpgName.toLowerCase()=="view")retVal="event70";else if(CBDL.pgInfo.cbpgFunction.toLowerCase()=="gopaperless"&&CBDL.pgInfo.cbpgSubFunction.toLowerCase()==
"thankyou"&&CBDL.pgInfo.cbpgName.toLowerCase()=="complete")retVal="event71";return retVal}.call(this).replace(/(=.*?,|=.*?$)/g,",").replace(/,+$/,"");olb.t();olb.linkTrackVars=olb.origLTV;olb.linkTrackEvents=olb.origLTE})},3661254,581591);
Bootstrapper.bindDOMLoaded(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;var param_type="script";var param_url="//cdn.glassboxcdn.com/citizen/OLB/p/detector-dom.min.js";var query_delimiter="?";var query_delimiter_optional="";var parameter_delimiter="\x26";var parameter_delimiter_optional="";var postBody="";var loadScriptCallback=false;var scriptCallback=function(){};var custom_params={};if(query_delimiter_optional)query_delimiter=query_delimiter_optional;
if(parameter_delimiter_optional)parameter_delimiter=parameter_delimiter_optional;var queryString="";for(var k in custom_params)if(k!==""&&custom_params[k]!=="")queryString+=k+"\x3d"+custom_params[k]+parameter_delimiter;queryString=queryString.slice(0,-1);param_url+=query_delimiter+queryString;switch(param_type){case "image":Bootstrapper.imageRequest(param_url);break;case "script":if(loadScriptCallback)Bootstrapper.loadScriptCallback(param_url,scriptCallback);else Bootstrapper.insertScript(param_url);
break;case "iframe":var newFrame=document.createElement("iframe");newFrame.src=param_url;newFrame.width=newFrame.height="1px";newFrame.style.display="none";Bootstrapper.bindDOMParsed(function(){if(document.getElementsByTagName("body")&&document.getElementsByTagName("body").length>0)document.getElementsByTagName("body")[0].appendChild(newFrame)});break;case "post":var xhr=new XMLHttpRequest;xhr.open("POST",param_url,true);xhr.setRequestHeader("Content-Type","application/json");xhr.send(JSON.stringify(postBody));
break}},3294279,597611);
Bootstrapper.bindDependencyImmediate(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;Bootstrapper.bindDOMLoaded(function(){window.waitForGlobal("CBDL.pgInfo",function(){console.log("CBDL.pgInfo is defined: ",window.CBDL.pgInfo);callTarget()})});function convertUndefinedToEmpty(myVar){if(myVar==undefined)return"novalue";return myVar}function isDatalayerBuilt(){console.log("ENS:check isDataLyerBuilt");if(CBDL&&CBDL.pgInfo){console.log("ENS:CBDL.pgInfo found data layer");return true}}
function callTarget(){console.log("ENS:callTarget");if(isDatalayerBuilt()==true){console.log("ENS:the CBDL data layer is now ready.");var cbpgFunction=convertUndefinedToEmpty(top.frames.mainFrame.CBDL.pgInfo.cbpgFunction);var cbpgSubFunction=convertUndefinedToEmpty(top.frames.mainFrame.CBDL.pgInfo.cbpgSubFunction);var cbhsbcflag=convertUndefinedToEmpty(top.frames.mainFrame.CBDL.pgInfo.cbhsbcflag);adobe.target.getOffer({"mbox":"target-global-mbox","params":{"cbpgFunction":cbpgFunction,"cbpgSubFunction":cbpgSubFunction,
"cbhsbcflag":cbhsbcflag},"success":function(offer){adobe.target.applyOffer({"mbox":"target-global-mbox","offer":offer})},"error":function(status,error){console.log("Error",status,error)}})}}window.checkNested=function(obj,args){for(var i=0;i<args.length;i++){if(!obj||!obj.hasOwnProperty(args[i]))return false;obj=obj[args[i]]}return true};window.waitForGlobal=function(keyPath,callback){var args=keyPath.split(".");if(window.checkNested(window,args))callback();else setTimeout(function(){window.waitForGlobal(keyPath,
callback)},100)}},3665577,[3658800],690152,[516593]);
Bootstrapper.bindImmediate(function(){var Bootstrapper=window["Bootstrapper"];var ensightenOptions=Bootstrapper.ensightenOptions;window["adrum-start-time"]=(new Date).getTime();(function(config){config.appKey="AD-AAB-AAN-PKK";config.adrumExtUrlHttp="http://cdn.appdynamics.com";config.adrumExtUrlHttps="https://cdn.appdynamics.com";config.beaconUrlHttp="http://pdx-col.eum-appdynamics.com";config.beaconUrlHttps="https://pdx-col.eum-appdynamics.com";config.xd={enable:false}})(window["adrum-config"]||
(window["adrum-config"]={}));var param_type="script";var param_url="//cdn.appdynamics.com/adrum/adrum-latest.js";var query_delimiter="?";var query_delimiter_optional="";var parameter_delimiter="\x26";var parameter_delimiter_optional="";var postBody="";var loadScriptCallback=false;var scriptCallback=function(){};var custom_params={};if(query_delimiter_optional)query_delimiter=query_delimiter_optional;if(parameter_delimiter_optional)parameter_delimiter=parameter_delimiter_optional;var queryString="";
for(var k in custom_params)if(k!==""&&custom_params[k]!=="")queryString+=k+"\x3d"+custom_params[k]+parameter_delimiter;queryString=queryString.slice(0,-1);param_url+=query_delimiter+queryString;switch(param_type){case "image":Bootstrapper.imageRequest(param_url);break;case "script":if(loadScriptCallback)Bootstrapper.loadScriptCallback(param_url,scriptCallback);else Bootstrapper.insertScript(param_url);break;case "iframe":var newFrame=document.createElement("iframe");newFrame.src=param_url;newFrame.width=
newFrame.height="1px";newFrame.style.display="none";Bootstrapper.bindDOMParsed(function(){if(document.getElementsByTagName("body")&&document.getElementsByTagName("body").length>0)document.getElementsByTagName("body")[0].appendChild(newFrame)});break;case "post":var xhr=new XMLHttpRequest;xhr.open("POST",param_url,true);xhr.setRequestHeader("Content-Type","application/json");xhr.send(JSON.stringify(postBody));break}},2804293,587252);