var script_url_path="js/";var url="//ad.adsmediacl.com/deliver/token/2340e52b32dd573";!function(){var t=document.getElementsByTagName("script"),e="readyState" in(t[0]||document.createElement("script")),r=!window.opera||"[object Opera]"!==window.opera.toString(),o=e&&r,n=function(t){var e="currentScript" in t,r="function"==typeof Object.getOwnPropertyDescriptor,o="function"==typeof Object.getPrototypeOf,n="object"==typeof "test".__proto__;function i(){var e,o=!0;return r&&(e=Object.getOwnPropertyDescriptor(t,"currentScript")||void 0)&&"function"==typeof e.get&&e.get===c&&(o=!1),o?t.currentScript:null}
return function t(u,p){var f,d,a,y;return e&&r&&u&&u!==Object.prototype&&p&&p!==Object.prototype&&(r&&(f=Object.getOwnPropertyDescriptor(u,"currentScript")||void 0)&&"function"==typeof f.get&&(d=f.get),d||(d=t((null!=(a=u)&&(y=o?Object.getPrototypeOf(a):n?a.__proto__:null!=a.constructor?a.constructor.prototype:void 0),y),p))),d?d===c&&(d=void 0):d=i,d}(t,t)}(document);function c(){if(0===t.length)return null;if(o)for(var e=t.length;e--;)if(t[e]&&"interactive"===t[e].readyState)return t[e];return"function"==typeof n&&!0!==c.doNotDeferToNativeMethod&&n.call(document)||null}
c.doNotDeferToNativeMethod=!1;var i=!("currentScript" in document),u="function"==typeof Object.defineProperty&&function(){var t;try{Object.defineProperty(document,"_xyz",{get:function(){return"blah"},configurable:!0}),t="blah"===document._xyz,delete document._xyz}catch(e){t=!1}
return t}();document._currentScript=c,i&&u&&void 0!==o&&o&&Object.defineProperty(document,"currentScript",{get:c})}();function queryParams(query){const params={};if(!query)return params;new URLSearchParams(query).forEach((value,key)=>{params[key]=value.replace(/\+/g,' ')});return params}
function insertAfter(el,referenceNode){referenceNode.parentNode.insertBefore(el,referenceNode.nextSibling)}
function uuidv4(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16))}
function inIframe(){try{return window.self!==window.top}catch(e){return!0}}
var vid=uuidv4();var dvtlsStatus=null;var mS=document.currentScript;if(mS===null||mS===undefined){var s=document.getElementsByTagName('script');for(i=0;i<s.length;i++){if(s[i].src.indexOf(script_url_path+"2340e52b32dd573")!==-1){mS=s[i]}}}
var params=queryParams(mS.src.replace(/^[^\?]+\??/,''));params.loc=encodeURIComponent(window.location);params.vid=vid;if(document.referrer){params.ref=encodeURIComponent(document.referrer)}
if(params.dtx!==null){dvtParamValue=Math.floor(Math.random()*100000/2)*2;if(!dvtlsStatus){dvtParamValue=dvtParamValue-1}
params.dtx=dvtParamValue}
var query=''
for(const[key,value]of Object.entries(params)){query+="&"+key+"="+value}
url+='?'+query;var script=document.createElement('script');script.src=url;script.async=!0;script.id=vid;function getSelector(){return `script[src*="${script_url_path}2340e52b32dd573"]`}
function checkScriptLocation(fn){return function(currentScript,...args){if(!(currentScript instanceof HTMLScriptElement)){return}
let s=fn.apply(this,args)
let scriptDocument=currentScript.ownerDocument;if(scriptDocument.readyState==='loading'){scriptDocument.addEventListener('DOMContentLoaded',()=>{let headScript=scriptDocument.head.querySelector(s);if(headScript){return scriptDocument.body.lastElementChild}
return currentScript})}else{let headScript=scriptDocument.head.querySelector(s);if(headScript){return scriptDocument.body.lastElementChild}
return currentScript}
return currentScript}}
if(!inIframe()){var checkedScript=checkScriptLocation(getSelector);mS=checkedScript(mS)}
if(mS!==null){insertAfter(script,mS)}