var lotameIsCompatible = function() { return ( typeof Object.keys !== 'undefined' && typeof window.postMessage !== 'undefined' && typeof XMLHttpRequest !== 'undefined' && typeof(new XMLHttpRequest().withCredentials) !== 'undefined' && typeof console !== 'undefined' && typeof console.log !== 'undefined' && typeof document.createElement !== 'undefined' ); }; if(!lotameIsCompatible()){ if(console && console.error){ console.error('Lotame: This browser does not meet the minimum requirements.'); } } else { function sync16589_a(a){var b=0;return function(){return bc&&(c=Math.max(c+f,0));c>a/4).toString(16)})} function sync16589_2a(a,b,c){c=void 0===c?sync16589_A:c;if(a.f.a.enableDeclaredIds){var d=!1;if(sync16589_r(b)){var f=new sync16589_q(b);(d=f.ba)&&sync16589_7(a).then(function(g){g=sync16589_La(sync16589_Z(sync16589_Y(sync16589_W(sync16589_X(sync16589_V(sync16589_U(sync16589_R(sync16589_T(sync16589_S(new sync16589_Q,a.f.a.bcpClient),!1),!1),a.storage.L()),g),a.h.l),a.h.o),a.B),a.f.a.source),f);sync16589_8(a)&&(g.T=!0);sync16589_5(a,sync16589_0(g),sync16589_6(a,g),"map",c)})}d||sync16589_.error("Call to identify must include a properly formatted ID object.")}else sync16589_.error("Client "+ a.f.a.bcpClient+" is not enabled to declare identifiers. Please contact a Lotame representative.")}function sync16589_0a(a){return(a.f.a.strictConsentEnabled||a.f.a.lotameActiveConsent)&&!a.M}function sync16589__a(a,b,c){return a.f.a.protocol+"://"+a.f.a[c]+"/"+a.f.a.bcpVersion+"/"+b+"?xcid\x3d"+a.f.a.bcpClient}function sync16589_6(a,b){return a.gb?sync16589_1(b)?"sensitiveFirstPartyOnlyDomain":"bcpFirstPartyOnlyDomain":sync16589_1(b)?"sensitiveDomain":"bcpDomain"} function sync16589_3(a,b){if(a.f.a.enableDeclaredIds&&a.f.a.enableDeclaredIdsOnEvents&&!sync16589_1(b)){a:{a=a.storage;if(a=sync16589_G(a,a.f.a.declaredIdName))try{var c=Object(JSON.parse(a));break a}catch(d){sync16589_.debug("Error parsing declared ID from local storage: "+a)}c=null}c&&(c=new sync16589_q(c),c.ba&&sync16589_La(b,c))}} function sync16589_4(a,b,c){c=void 0===c?!0:c;c=void 0===c?!0:c;var d=a.storage;d=sync16589_F(d,d.f.a.sharedIdName);c&&!d&&(d=sync16589_1a())&&(a=a.storage,d&&sync16589_H(a,a.f.a.sharedIdName,d));(a=d)&&"undefined"!==typeof a&&(b.V=a)} function sync16589_7(a){if("undefined"==typeof a.H){var b={};if("object"==typeof navigator.userAgentData&&"function"==typeof navigator.userAgentData.getHighEntropyValues)return Promise.race([navigator.userAgentData.getHighEntropyValues(["model","platformVersion","fullVersionList"]),new Promise(function(c){return setTimeout(c,10,b)})]);a.H=b}return Promise.resolve(a.H)}function sync16589_8(a){return a.f.a.lotameActiveConsent&&a.M};function sync16589_3a(a,b){this.enabled=!0===a.a.googleEspEnabled&&!0===a.a.panoramaIdEnabled&&!0;this.storage=b;sync16589_.Ga&&sync16589_.debug("Google Esp Module Enabled: "+this.enabled);!0===this.enabled&&(window.googletag=window.googletag||{cmd:[]},window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[])} function sync16589_4a(a,b){b=b||"";a.enabled&&window.googletag.encryptedSignalProviders.push({id:"crwdcntrl.net",collectorFunction:function(){sync16589_.debug("panoramaId provided to googleEsp: "+b);return Promise.resolve(b)}})};function sync16589_5a(a,b,c){this.f=a;this.storage=b;this.O=c} function sync16589_6a(a,b){var c=b.L();c&&sync16589_wa(a.storage,c);if(c=(c=sync16589_P(b))?c.e:null){var d=sync16589_Ga(b),f=b.C();d=d?d.getIdType():null;var g=a.f.a.panoramaIdName,h=a.f.a.panoramaIdTypeName,e=parseInt(c,10);sync16589_H(a.storage,g+"_expiry",c,e);"string"===typeof f&&f?sync16589_H(a.storage,g,f,e):sync16589_K(a.storage,g);"string"===typeof d&&d&&"UNKNOWN"!==d?sync16589_H(a.storage,h,d,e):sync16589_K(a.storage,h)}a.f.a.enableDeclaredIds&&a.f.a.enableDeclaredIdsOnEvents&&(b=sync16589_Ha(b))&& (b.i?(a=a.storage,sync16589_I(a,a.f.a.declaredIdName,JSON.stringify({id:b.i,type:b.t}))):(a=a.storage,sync16589_L(a,a.f.a.declaredIdName)))}function sync16589_9(a,b){if("function"===typeof a.f.a.onProfileReady)try{(0,a.f.a.onProfileReady)(b.ha())}catch(c){c&&sync16589_.error("The following error occurred in the onProfileReady callback: "+c)}} function sync16589_7a(a){var b=a.f.a.namespace;Array.isArray(b.cmd)?b.cmd.forEach(function(c){if("function"===typeof c)try{c.apply(a)}catch(d){d&&sync16589_.error("The following error occurred when executing queued commands: "+d)}}):b.cmd=[];b.cmd.push=function(c){if("function"===typeof c)try{c.apply(a)}catch(d){d&&sync16589_.error("The following error occurred when executing a command: "+d)}}}function sync16589_$(a,b,c){sync16589_0a(a.O)?sync16589_ta(b,function(){c()}):c()};function sync16589_8a(){var a=this;this.f=new sync16589_ma;this.state=new sync16589_va(!sync16589_ka(this.f));this.storage=new sync16589_D(this.f);this.ga=new sync16589_Va(this.f,this.storage,this.state);this.s=new sync16589_5a(this.f,this.storage,this.ga);this.Ia=new sync16589_3a(this.f,this.storage);"complete"===document.readyState&&(this.state.ya=!0);sync16589_9a(this);sync16589_7a(this.s);var b=this.storage.C();b&&sync16589_$(this.s,"googleEspPanoPush",function(){sync16589_4a(a.Ia,b)});!0===this.f.a.autoRunSyncJs&& sync16589_$(this.s,"sync",function(){a.sync({})})} function sync16589_9a(a){var b=a.f.a.namespace;b.getProfileId=function(){return sync16589_E(a.storage)};b.getPanoramaId=function(){return a.storage.C()};b.sync=function(c){return sync16589_$(a.s,"sync",function(){a.sync(c)})};b.setIdentity=function(c){return sync16589_$(a.s,"setIdentity",function(){sync16589_$a(a,c)})};b.getInternalState=function(){return a.state.K()};b.getInternalConfigs=function(){return a.f.K()};b.getPanorama=function(){return(new sync16589_N(a.storage.C(),sync16589_xa(a.storage))).ha()}; b.setUserConsent=function(c){var d=a.ga;if(c&&sync16589_r(c)){var f=c.lotameConsent;"boolean"===typeof f?!0===f?d.f.a.lotameActiveConsent?(d.M=!0,sync16589_ua()):(sync16589_.debug("setUserConsent was triggered and passed along, but will not be enforced because the client is not enabled for lotameConsent in this region."),d.B=!0):sync16589_.debug("Call to setUserConsent with lotameConsent\x3dfalse"):sync16589_.error("unexpected input to setUserConsent, lotameConsent value is expected to be a boolean ", c)}else sync16589_.error("unexpected input to setUserConsent. Expected Object. Received: ",c)}} sync16589_8a.prototype.sync=function(a){var b=this,c=!0,d=void 0;d=sync16589_r(a)&&!sync16589_z(a)?new sync16589_s(a):new sync16589_s;if(d.F())if(this.f.a.panoramaIdEnabled){if(a=sync16589_F(this.storage,this.f.a.panoramaIdName+"_expiry"),(parseInt(a,10)||0)>Date.now()){c={};c.pid=sync16589_E(this.storage);var f={c:"core"};f.i=this.storage.C();f.t=sync16589_Ca(sync16589_xa(this.storage));f.e=a;c.ids=[f];sync16589_9(this.s,new sync16589_O(c,this.f));c=!1}}else a=sync16589_E(this.storage),f=sync16589_F(this.storage, this.f.a.lastProfileUpdateMillisKey),a&&f&&Date.now()-this.f.a.profileRefreshMillis