(function(id,ctx){(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for(var j=0;j{var m=ck.match(new RegExp('(?:^|;\\s*)'.concat(k).concat('=([^;]+)')));return m&&m[1]});if('localStorage' in window){try{r[4]=localStorage.getItem('adrcid')}catch(e){} try{r[5]=JSON.parse(localStorage.getItem('rb_sync_id')).fpid}catch(e){} try{r[6]=localStorage.getItem('cached_thumbmark')}catch(e){} try{r[7]=localStorage.getItem('cached_bot')}catch(e){}} if(!r[6]){try{var m=ck.match(/(?:^|;\s*)_sltm=([^;]+)/);r[6]=m&&m[1]}catch(e){}} if(!r[7]){try{var m=ck.match(/(?:^|;\s*)_sltb=([^;]+)/);r[7]=m&&m[1]}catch(e){}} try{const[t,b]=await Promise.allSettled([r[6]?Promise.resolve({thumbmark:r[6]}):import('https://static.kimberlite.io/js/thumbmark.umd.js').then(()=>new ThumbmarkJS.Thumbmark().get()),r[7]!==null?Promise.resolve({bot:r[7]}):import('https://static.kimberlite.io/js/botd.js').then(m=>m.load()).then(a=>a.detect())]);if(t.status=='fulfilled'){try{r[6]=t.value.thumbmark;if('localStorage' in window&&!localStorage.getItem('cached_thumbmark')){localStorage.setItem('cached_thumbmark',r[6])} document.cookie='_sltm='+r[6]+'; path=/; max-age=7776000; samesite=lax; secure';}catch(e){}} if(b.status=='fulfilled'){try{r[7]=+b.value.bot?1:0;if('localStorage' in window&&localStorage.getItem('cached_bot')===null){localStorage.setItem('cached_bot',r[7])} document.cookie='_sltb='+r[7]+'; path=/; max-age=7776000; samesite=lax; secure';}catch(e){}}}catch(e){console.log(e)} try{var xhr=new XMLHttpRequest();var query=[['v',1],['u',r.map((i)=>i||'').join(',')]].map((i)=>i[0].concat('=',encodeURIComponent(i[1]))).join('&');xhr.open('GET','https://kimberlite.io/rtb/ut?'+query,true);xhr.withCredentials=true;xhr.send();}catch(e){console.log(e)} if(r[6]){const original_fetch=window.fetch;const bid_url='//kimberlite.io/rtb/bid/vast/';window.fetch=function(...args){try{var input=args[0];var url=typeof input==='string'?input:(input&&input.url);if(url&&url.includes(bid_url)){const urlObj=new URL(url);urlObj.searchParams.set('fp',r[6]);if(r[7]!=null)urlObj.searchParams.set('bt',r[7]);args[0]=typeof input==='string'?urlObj.toString():new Request(urlObj.toString(),input);}}catch(e){console.log(e)} return original_fetch.apply(this,args);};const original_open=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(method,url,...args){try{if(url&&url.includes(bid_url)){const urlObj=new URL(url);urlObj.searchParams.set('fp',r[6]);if(r[7]!=null)urlObj.searchParams.set('bt',r[7]);url=urlObj.toString();}}catch(e){console.log(e)} return original_open.apply(this,[method,url,...args]);};var age_ok=false;if(ctx){age_ok=ctx['age_ok'];delete ctx['age_ok']} if(ctx&&!age_ok){const isYandex=/YaBrowser/i.test(navigator.userAgent);const isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.platform==='MacIntel'&&navigator.maxTouchPoints>1);if(isYandex||isIOS){ctx['sessionId']=r[6].concat(':',ctx['ip']);ctx['ut']='fpip'} else{ctx['sessionId']=r[6];ctx['ut']='fp'}}} if(id&&ctx&&('ym' in window)){ym(id,"init",{clickmap:true,trackLinks:true,accurateTrackBounce:true,webvisor:true,params:ctx});}})(id,ctx);})(97896532,{"age_ok":1,"sessionId":"acEdKi_ZUGE","p1":"49","ip":"194.154.29.176"});