1
(function(exoDynamicParams) {!function(){var e=null===window.AdProvider?[]:window.AdProvider,t={name:exoDynamicParams.network,syndication:exoDynamicParams.syndication,asyncScriptInfoTag:exoDynamicParams.asyncScriptInfoTag,tcfEnabled:exoDynamicParams.tcfEnabled}
2
;(Array.isArray(window.AdProvider)||void 0===window.AdProvider)&&(window.AdProvider=function(){var e,r=[],n=[],a=null,i=18e5,o=[],s=0,d=[],u=[],p=[],l=[],c=[],f=null,h=null,v=!1,m=[],g=window,y={}
3
,w=function(e){var t=(new Date).toISOString()+": "+e;console.log(t),m.push(t)}
4
;function _(e){var t={}
5
;try{t="string"==typeof e.data?JSON.parse(e.data):e.data}
6
catch(e){}
7
var r=t.__tcfapiReturn;r&&"function"==typeof y[r.callId]&&y[r.callId](r.returnValue,r.success)}
8
var P=function(){return{gdpr:0}
9
}
10
,A=function(e){return{gdpr:e.gdprApplies?1:0,consent:e.tcString}
11
}
12
,O=function(e){return e?l:d}
13
,b=function(e){return e?c:u}
14
,z=function(e,t){for(var r="",n=t||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a<e;a++)r+=n.charAt(Math.floor(Math.random()*n.length));return r}
15
,S=function(e){var t={"data-zoneid":{apiKey:"id",toApiParser:parseInt}
16
,"data-sub":{apiKey:"sub",toApiParser:parseInt}
17
,"data-sub2":{apiKey:"sub2",toApiParser:parseInt}
18
,"data-sub3":{apiKey:"sub3",toApiParser:parseInt}
19
,"data-keywords":{apiKey:"keywords"}
20
}
21
,r={custom_targeting:{}
22
}
23
;e.getAttributeNames().forEach((n=>{if(t[n]){var a=t[n],i=e.getAttribute(n);a.hasOwnProperty("toApiParser")&&"function"==typeof a.toApiParser&&(i=a.toApiParser(i)),r[a.apiKey]=i}
24
else if(n.indexOf("data-")>=0){var o=n.replace("data-","");r.custom_targeting[o]=e.getAttribute(n)}
25
}
26
));var n=document.createElement("div");e.parentElement.insertBefore(n,e),x({zone:r,where:n}
27
),e.setAttribute("data-processed",!0)}
28
,I=function(e,t){var r=Object.keys(e)[0],n=e[r];switch(r){case"addUnit":x(n);break;case"serve":q(s,n,t);break;default:w("Action not recognized by AdProvider: "+r)}
29
}
30
,R=function(e,t){if(void 0===t){for(var a=0;a<r.length;a++)I(e,r[a]);n.push(e)}
31
else I(e,t)}
32
,x=function(e){if(void 0!==e.where&&null!==e.where){var t=null;if(e.hasOwnProperty("zone"))t=[e.zone];else{if(!e.hasOwnProperty("multiZone"))return void w("The type of unit wasn't recognized: "+JSON.stringify(e));t=e.multiZone.zones}
33
var r={zones:t,here:e.where}
34
;if(Array.isArray(d[s])||(d[s]=[]),!r.hasOwnProperty("here")||!r.here){var n=document.getElementsByTagName("script");r.here=n[n.length-1]}
35
var a=d[s].length;w("Request #"+s+" Placement #"+a+" was pushed with zone "+JSON.stringify(e.zone));var i=function(e,t,r){var n=z(1,"abcdefghijklmnopqrstuvwxyz")+z(7);r="."+n+" "+r;var a=e.createElement("style");return a.setAttribute("type","text/css"),a.innerHTML=r,"SCRIPT"!==t.tagName||"script"!==t.tagName?t.appendChild(a):t.parentNode.insertBefore(a,t),n}
36
(document,r.here,"{ vertical-align:top;border: 0px solid #000000;display: inline-block;background-color: rgba(0, 0, 0, 0);margin: 0px 0px;padding: 0px 0px;max-width: 100%;}
37
"),o=document.createElement("div");o.setAttribute("class",i),r.here.appendChild(o),r.placeholder=o,E(r)&&d[s].push(r)}
38
else w("The property 'where' is required on the addUnit. "+JSON.stringify(e))}
39
,E=function(e){for(var t=d[s].length,r=0;r<e.zones.length;r++){var n=e.zones[r];if(n.hasOwnProperty("group")){for(var a=0;a<n.group.length;a++)if(!k(n.group[a],t,r,a))return!1}
40
else if(!k(n,t,r))return!1;w("Request #"+s+" Placement #"+t+" was pushed with properties "+JSON.stringify(n))}
...
</html>