/** * Assertive Yield - Universal Backfill Creative * v1.2.3 * * © 2018-2024 Assertive Yield B.V. All Rights Reserved. */ !function(){function t(t,e){var n,r,a;a=9===t.nodeType?t:t.ownerDocument;var o=new MessageChannel;o.port1.onmessage=function(t){var e=t.data;e.ad&&(a.write(e.ad),a.close())},e.url=e.url||(null===(n=window.top)||void 0===n?void 0:n.location.origin),e.site=e.site||(null===(r=window.top)||void 0===r?void 0:r.location.hostname);var i=e.url;i&&window.parent.postMessage({type:"ayTag",event:"renderAd",tagData:e},i,[o.port2])}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,i=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<\/script>
')}var u={frameBorder:"0",scrolling:"no",marginHeight:"0",marginWidth:"0",topMargin:"0",leftMargin:"0",allowTransparency:"true",width:"100%",height:"100%"};function f(t,e){var r,a=d(),o=t.id||t.dataset.ayManagerPlacementId||(null===(r=t.parentElement)||void 0===r?void 0:r.id),l=null==o?void 0:o.replace(/__.+/,""),s={id:c+a};if(e.size){var f=n(e.size.split("x"),2),v=f[0],p=f[1];v&&p&&(s.width=v,s.height=p)}e.style&&(s.style=e.style);var y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var r=t.innerHTML,a=document.createElement("iframe");return e=Object.assign({},u,e),Object.entries(e).forEach((function(t){var e=n(t,2),r=e[0],o=e[1];return a.setAttribute(r,o)})),t.replaceWith(a),a.contentWindow&&(a.contentWindow.document.open(),a.contentWindow.document.write("