(function(){try{async function k(a,b,c,e){return new Promise(f=>{var g=l(a,e),h=d.adUnits.find(function(a){return a.code===b}),i=!!h;// Check if pbjs ad units contains the unit code i&&h&&(h.ortb2Imp=h.ortb2Imp||{},h.ortb2Imp.ext=h.ortb2Imp.ext||{},h.ortb2Imp.ext.data=h.ortb2Imp.ext.data||{},h.ortb2Imp.ext.data.adserver=h.ortb2Imp.ext.data.adserver||{},h.ortb2Imp.ext.data.adserver.name="gam"),d=d||{},d.que=d.que||[],d.que.push(function(){if(!i){var a={code:b,mediaTypes:{banner:{sizes:c.filter(function(a){return"fluid"!=a})}},bids:g,ortb2Imp:{ext:{data:{adserver:{name:"gam"}}}}};d.addAdUnits(a)}// Block refresh when HB bid won d.requestBids({adUnitCodes:[b],bidsBackHandler:function(a){return d.setTargetingForGPTAsync(),f()}}),d.onEvent("bidWon",p),j=!0})})}function l(b,c){if(d&&d.adUnits&&b){var f,g=d.adUnits.find(function(d){if("banner"===c){var e=a.split("/"),f=e[e.length-1];return d.mediaTypes.banner.name===f}return"path"===c?d.path===b:void 0});if(g){try{f=JSON.parse(JSON.stringify(g.bids))}catch(a){f=g.bids}// filtering RTB House return f=f.filter(function(a){return"rtbhouse"!=a.bidder}),f}}}async function m(a){return new Promise(b=>{d.que.push(function(){d.requestBids({adUnitCodes:[a],bidsBackHandler:function(c){return d.setTargetingForGPTAsync(a),b()}}),j||pbjsFluct.onEvent("bidWon",p)})})}function n(a,b){m(a).then(()=>{// Set Refresh KV f.forEach(function(a){b.setTargeting(a.key,a.value)}),b.setTargeting("browsiRefresh",!0),googletag.pubads().refresh([b],{changeCorrelator:!1})})}function o(a,b,c){var d,e=new IntersectionObserver((e,f)=>{var g=!1,h=e[0];.5<=h.intersectionRatio?(g=!1,d=setTimeout(()=>{g||(n(a.id,c.slot),f.unobserve(h.target),f.disconnect())},b)):(g=!0,clearTimeout(d))},{threshold:[0,.5]});e.observe(a)}var a="",b="",c="",d=window[""],e="".toLowerCase(),f="",g=+"",h=0,i=!1,j=!1;const p=function(a){a.adUnitCode===c&&(i=!0,d.offEvent("bidWon",p),j=!1)};window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push(()=>{var d=window.googletag.defineSlot(a,b,c).addService(googletag.pubads());googletag.enableServices(),k(a,c,b,e).then(()=>{f&&f.forEach(function(a){d.setTargeting(a.key,a.value)}),googletag.pubads().addEventListener("slotRenderEnded",a=>{if(a.slot.getSlotElementId()===c&&(0==h&&(window["browsiCallback_"](a.isEmpty),h++),!a.isEmpty&&g&&0