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 lt3825_aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));c>a/4).toString(16)})} function lt3825_qb(a,b){var c=void 0===c?lt3825_C:c;if(a.f.a.enableDeclaredIds){var d=!1;if(lt3825_s(b)){var e=new lt3825_r(b);(d=e.wa)&<3825_lb(a).then(function(g){g=lt3825_3a(lt3825_V(lt3825_U(lt3825_S(lt3825_T(lt3825_4a(lt3825_R(lt3825_O(lt3825_Q(lt3825_P(new lt3825__a,a.f.a.bcpClient),!1),!1),a.storage.T()),g),a.o.D),a.o.F),a.H),a.f.a.source),e);lt3825_mb(a)&&(g.da=!0);lt3825_2(a,lt3825_9a(g),lt3825_3(a,g),"map",c)})}d||lt3825_.error("Call to identify must include a properly formatted ID object.")}else lt3825_.error("Client "+ a.f.a.bcpClient+" is not enabled to declare identifiers. Please contact a Lotame representative.")}function lt3825__(a){return(a.f.a.strictConsentEnabled||a.f.a.lotameActiveConsent)&&!a.V}function lt3825_ob(a,b,c){return a.f.a.protocol+"://"+a.f.a[c]+"/"+a.f.a.bcpVersion+"/"+b+"?xcid\x3d"+a.f.a.bcpClient}function lt3825_3(a,b){return a.oc?lt3825_$a(b)?"sensitiveFirstPartyOnlyDomain":"bcpFirstPartyOnlyDomain":lt3825_$a(b)?"sensitiveDomain":"bcpDomain"} function lt3825_0(a,b){if(a.f.a.enableDeclaredIds&&a.f.a.enableDeclaredIdsOnEvents&&!lt3825_$a(b)){a:{a=a.storage;if(a=lt3825_I(a,a.f.a.declaredIdName))try{var c=Object(JSON.parse(a));break a}catch(d){lt3825_.debug("Error parsing declared ID from local storage: "+a)}c=null}c&&(c=new lt3825_r(c),c.wa&<3825_3a(b,c))}} function lt3825_1(a,b,c){c=void 0===c?!0:c;c=void 0===c?!0:c;var d=a.storage;d=lt3825_H(d,d.f.a.sharedIdName);c&&!d&&(d=lt3825_pb())&&(a=a.storage,d&<3825_J(a,a.f.a.sharedIdName,d));(a=d)&&"undefined"!==typeof a&&(b.fa=a)} function lt3825_lb(a){if("undefined"==typeof a.s){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.s=b}return Promise.resolve(a.s)}function lt3825_mb(a){return a.f.a.lotameActiveConsent&&a.V};function lt3825_rb(a,b,c){this.f=a;this.storage=b;this.w=c;this.Ua={analytics:"ca",datasharing:"cds",targeting:"cta",crossdevice:"ccd"};this.kc="fp";this.ec="c";this.Ab="ct";this.zb=this.f.a.consentClientIds;this.Bb="skip";this.vb=this.f.a.protocol+"://"+(lt3825_xa()?this.f.a.privacyFirstPartyOnlyDomain:this.f.a.privacyDomain)+"/consent"} function lt3825_sb(a,b,c){if("function"!==typeof b)throw lt3825_k(lt3825_,"First argument to getConsent must be a callback function but was "+b);if("number"===typeof c){if(!a.zb.includes(c))throw lt3825_k(lt3825_,"Client "+a.f.a.bcpClient+" cannot get consent for client "+c);}else throw lt3825_k(lt3825_,"Second argument to getConsent must be a Lotame client id but was "+c);var d=lt3825_G(a.storage);d=lt3825_tb(a,a.vb+"/get",c,d);lt3825_B(d,{method:"GET",pa:function(e){return lt3825_ub(a,e,b,c,!1, !0)},error:function(e,g){b(lt3825_vb(g))}})} function lt3825_wb(a,b,c,d){if("function"!==typeof b)throw lt3825_k(lt3825_,"First argument to setConsent must be a callback function");if("number"===typeof c){if(!a.zb.includes(c))throw lt3825_k(lt3825_,"Client "+a.f.a.bcpClient+" cannot set consent for client "+c);}else throw lt3825_k(lt3825_,"Second argument to setConsent must be a Lotame client id but was "+c);lt3825_xb(a,d);var e=lt3825_G(a.storage),g=lt3825_I(a.storage,"lotame_"+c+"_consent");try{var h=JSON.parse(g||"{}")}catch(k){lt3825_.debug("Error parsing consent from local storage: "+ g)}g=new lt3825_Ka(h);h=lt3825_yb(a,g,e,d,c);var f=!1;d&&"boolean"===typeof d.analytics&&d.analytics&&(f=!0);if(h)a.f.a.strictConsentEnabled&&f&<3825_Y(a.w,f),b(lt3825_Ma(g,c));else if(lt3825_Ha(a.storage)||!a.f.a.strictConsentEnabled||f)d=lt3825_tb(a,a.vb+"/set",c,e,lt3825_zb(a,d)),lt3825_B(d,{method:"GET",pa:function(k){return lt3825_ub(a,k,b,c,!0,f)},error:function(k,l){b(lt3825_vb(l))}})} function lt3825_tb(a,b,c,d,e){d=void 0===d?null:d;e=void 0===e?{}:e;var g={};lt3825__(a.w)?a.w.V||(g[a.Ab]=a.Bb):a.f.P()&&(g[a.Ab]=a.Bb);e=Object.assign({},g,e);e[a.ec]=c;d&&(e[a.kc]=d);(a=a.f.a.source)&&(e.src=a);if("undefined"!==typeof e){a=!1;for(var h in e)a?b+="\x26":(b+="?",a=!0),b+=h+"\x3d"+encodeURIComponent(""+e[h])}return b} function lt3825_ub(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?!1:g;var h=!0;a.f.a.strictConsentEnabled&&!g&&(lt3825_fb(a.w,lt3825_C),h=!1,lt3825_Ja(a.storage,["lotame_"+d+"_consent"]));b=(new lt3825_Oa(b)).profile;var f="lotame_"+d+"_consent";if(h&&e&&b.$&&a.f.P()){e=a.storage;var k=b.$;e.U(e.gb,k);lt3825_K(e,e.gb,k)}a.f.a.strictConsentEnabled&<3825_Y(a.w,g);b.error?(c({error:b.error}),h&<3825_L(a.storage,f)):(h&&0]+\/?>/gi,"").replace(/\n|\t|\r/gi," ").replace(/\s{2,}/g," ").replace(/\[quote\][\s\S]*\[\/quote\]/gi,"");try{a=decodeURIComponent(a)}catch(b){}return a}function lt3825_Ob(a,b){return b.Pb?lt3825_Sb(a,b):lt3825_Tb(a,b)} function lt3825_Tb(a,b){var c=null,d=b.qa;lt3825_7(a,b.Ub||[]).na.forEach(function(g){d=d.replace(g.cb,(0=f.length&&"click"===h.event&&f.push(g.sa);lt3825_Zb(a.Fa,h,f,g.ca)}else a.lb.add(lt3825_Nb(g.ca,h))}}(d)),d={ca:d.ca,sa:d.sa}} function lt3825_$b(a){a.Fa.cache.forEach(function(b){var c=b.element;b=b.handlers;var d={},e;for(e in b)d.Ha=b[e].callbacks,b[e].listener=function(g){return function(h){return lt3825_ac(a,h,c,g.Ha)}}(d),lt3825_z(c,e,b[e].listener),lt3825_.debug("Adding "+e+" event handler to "+(c.outerHTML||"document")),d={Ha:d.Ha}})}function lt3825_9b(a){a.Fa.cache.forEach(function(b){var c=b.element;b=b.handlers;for(var d in b)lt3825_wa(c,d,b[d].listener)});a.Fa.cache=[]} function lt3825_ac(a,b,c,d){d.forEach(function(e){return e.call(c,b)});lt3825_7b(a,"event")}function lt3825_7b(a,b){b=void 0===b?"fullRun":b;var c=lt3825_Xb(a.lb);c&&a.pc.enqueue(c);a.lc&&"fullRun"===b&&a.qc.apply(a,[])};function lt3825_bc(a){this.state=a} function lt3825_cc(a){if(window.pbjs&&"object"===typeof window.pbjs){var b=[],c="bidder adId mediaType cpm dealId currency creativeId adUnitCode".split(" "),d=new lt3825_Wb;"function"===typeof window.pbjs.getAllPrebidWinningBids&&(b=b.concat(window.pbjs.getAllPrebidWinningBids()));"function"===typeof window.pbjs.getAllWinningBids&&(b=b.concat(window.pbjs.getAllWinningBids()));b.forEach(function(e){if("object"===typeof e&&"string"===typeof e.bidder){var g={};c.forEach(function(h){var f=e[h],k=typeof f; "number"===k?f=String(f).trim():"string"!==k&&(f="");""!==f&&(g["prebid_"+h]=[f])});d.add(new lt3825_w({ruleBuilder:g}))}});(b=lt3825_Xb(d))&&a.state.j.enqueue(b)}};function lt3825_dc(a,b,c){(this.ia=a.a.googleCampaignEvents)&&0