\n \n `;const c=this.shadowRoot.getElementById(`note-${this.getAttribute("id")}`),l=this.shadowRoot.getElementById(`close-${this.getAttribute("id")}`),d=this.shadowRoot.getElementById(`missclick-${this.getAttribute("id")}`);if(this.hasAttribute("data-imp-link")){let t=this.getAttribute("data-imp-link");window[ne]&&(t+=`&utsid=${window[ne]}`),t+=`&cbpage=${encodeURIComponent(P())}`,t+=`&cbref=${encodeURIComponent(j())}`;const e=document.createElement("img");e.src=t.toString(),e.setAttribute("class","impression"),c.appendChild(e)}I(c,"click",this.click),I(l,"click",this.close),I(d,"click",this.missclick)}}var se=re;const oe=1e3;var ae=class{#e={};#i;#s;#b="";#kt;#m=!1;#x="50.0";#At=[];#St=null;#Ct=!0;#Tt;#A=!1;constructor(t){this.#i=new y(`ippg_new_${t.zoneId}`),this.#i.debug("init ippg with config:",t),this.#e=t,this.#s=window[t.adcashGlobalName],this.#Tt=this.#e.refreshRate,customElements.get("in-page-message")||customElements.define("in-page-message",se),this.#s.getClientHints(!1).then((t=>{this.#b=t,this.#lt()}))}#T(){let t=`${window.location.protocol}//${this.#e.adserverDomain}/script/push.php`;if(this.#e.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#e.adblockSettings,i=`/${nt("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#e.zoneId}&ipp=1`,this.#kt=et?this.#e.renderPosMobile:this.#e.renderPosDesktop,t+=`&mads=${this.#e.maxAds}&position=${this.#kt}`,this.#e.isAutoTag&&(t+=`&czid=${this.#e.collectiveZoneId}&atag=1`),this.#e.aggressivity&&(t+=`&aggr=${this.#e.aggressivity}`),this.#e.adblockSettings&&(t+="&abtg=1"),this.#m&&(t+="&rbd=1"),this.#e.recordPageView&&(t+="&ppv=1"),this.#e.abTest&&(t+=`&ab_test=${this.#e.abTest}`),this.#e.sub1&&(t+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#e.adblockSettings&&this.#e.adblockSettings.adbVersion&&(t+=`&adbv=${this.#e.adblockSettings.adbVersion}`),t=t+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#e.uniqueFingerprint)}`+`&cbpage=${encodeURIComponent(P())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(j())}`,this.#b&&(t+=this.#b),this.#St&&(t+="&ipptr=1"),this.#e.adblockSettings&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=ippg",this.#i.debug(`bid url: ${t}`),rt(t)):(this.#i.debug(`bid url: ${t}`),t)}async#lt(){var t;if(this.#Ot()>=this.#e.maxAds||!this.#Ct||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return void(this.#e.refreshRate>0&&(this.#m=!0,f()(v()(t=this.#lt).call(t,this),this.#Tt*oe)));let e;try{e=await fetch(this.#T())}catch(t){if(this.#i.error(t),this.#e.adblockSettings&&!this.#A)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#A=!0,this.#s.enableAdbMode(),void this.#lt()}var i,n;if(204===e.status)return this.#i.debug("unsold invertory!"),void(this.#e.refreshRate>0&&(this.#i.debug(`refresh rate present. try bidding again after ${this.#Tt} sec`),this.#m=!0,f()(v()(i=this.#lt).call(i,this),this.#Tt*oe),2*this.#Tt<1200&&(this.#Tt*=2)));if(200!==e.status&&202!==e.status||(this.#m=!0,e=await e.json(),this.#i.debug("response:",e)),e.fallback&&e.hp)return void this.#wt(e.fallback);if(e.fallback)return void this.#wt(e.fallback);if(e.hp,e.capped_ttl)return this.#i.debug(`capped! try bidding again after ${e.capped_ttl} sec`),void f()(v()(n=this.#lt).call(n,this),e.capped_ttl*oe);this.#b&&(e.impression_url&&(e.impression_url+=this.#b),e.click_url&&(e.click_url+=this.#b));const r={type:e.type||1,script:e.script||"",title:e.title||"",description:e.description||"",icon:e.icon||e.image,link:e.click_url,impressionLink:e.impression_url||null,capped_ttl:A()(e.capped_ttl,10)||0};var s;this.#Tt=this.#e.refreshRate,2!==r.type||this.#St?(this.#At.push(r),this.#Ct=!1,this.#It(),f()((()=>{this.#Ct=!0}),this.#Tt*oe)):(this.#St=r,this.#Ct=!1,await this.#Et(),f()((()=>{this.#Ct=!0}),this.#Tt*oe)),this.#e.refreshRate>0&&(this.#m=!0,f()(v()(s=this.#lt).call(s,this),this.#Tt*oe))}#Ot(){return this.#St?this.#At.length+1:this.#At.length}#wt(t){this.#i.debug("fallback script str decoded:",t);const e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return this.#i.error("invalid fallback script. move on"),null;this.#i.debug("fallback script:",e);const i=document.createElement("script");for(const t of e.attributes)i.setAttribute(t.name,t.value);i.src||(i.textContent=e.textContent),document.body.appendChild(i)}async#Et(){const t=(new DOMParser).parseFromString(this.#St.script,"text/html").querySelector("script"),e=document.createElement("script");t.src?e.setAttribute("src",t.src):e.innerText=t.innerText;const i=()=>{var t;this.#i.debug("CT-CLICK"),fetch(this.#St.link,{mode:"no-cors"}),document.removeEventListener("ct-click",i),f()(v()(t=this.#lt).call(t,this),1e3)},n=()=>{this.#i.debug("CT-CLOSE"),document.removeEventListener("ct-click",i),document.removeEventListener("ct-close",n),this.#St=null,document.body.removeChild(e)};I(document,"ct-click",i),I(document,"ct-close",n);let r=this.#St.impressionLink;window[ne]&&(r+=`&utsid=${window[ne]}`),r+=`&cbpage=${encodeURIComponent(P())}`,r+=`&cbref=${encodeURIComponent(j())}`,e.onload=async()=>{try{await fetch(r.toString())}catch(t){return this.#i.debug(t),void(this.#e.adblockSettings&&!this.#s.isAdbMode()&&(this.#i.debug("imp failed: try alt domain and path"),this.#s.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))},e.onerror=()=>{this.#i.debug("custom html script failed to load"),this.#St=null},document.body.appendChild(e)}#It(){var t;this.#i.debug("drawing..");const e=document.querySelectorAll("in-page-message");if(e.length>0)for(let t=0;t{const i=document.createElement("in-page-message");i.setAttribute("doskip","1"),i.setAttribute("id",e.toString()),i.setAttribute("data-icon",t.icon),i.setAttribute("data-title",t.title),i.setAttribute("data-description",t.description),i.setAttribute("data-offset-top",this.#e.offsetTop),i.setAttribute("data-render-pos-desktop",this.#e.renderPosDesktop),i.setAttribute("data-render-pos-mobile",this.#e.renderPosMobile),t.impressionLink&&(i.setAttribute("data-imp-link",t.impressionLink),t.impressionLink=null,document.dispatchEvent(new CustomEvent("impression-event"))),i.addEventListener("inpageclick",(()=>{var n;if(et||this.#e.adblockSettings&&this.#s.isAdbMode()){const e=document.createElement("a");e.href=t.link,e.rel="noopener, noreferrer",e.target="_blank",e.click()}else try{window.open(t.link,"_blank","noopener,noreferrer")}catch{}i.remove(),h()(n=this.#At).call(n,e,1),this.#It()})),i.addEventListener("inpageclose",(()=>{var t;i.remove(),h()(t=this.#At).call(t,e,1),this.#It()})),document.body.appendChild(i)}))}},ce=i(111),le=i.n(ce),de=i(8607),ue=i.n(de),he=class{#s;#e={};#i;#Rt="";#Pt;#l=null;#$t=null;#Lt=null;#zt=null;#Ft;#Ut;#v="youradexchange.com";#Bt="velocecdn.com";#jt=!1;#Nt;#o;#A=!1;constructor(t){this.#i=new y(`banner_${t.zoneId}`),this.#s=window[t.adcashGlobalName],this.#i.debug("init banner with config:",t),this.#e=t,this.#l=this.#e.zoneId,this.#$t=this.#e.width,this.#Lt=this.#e.height,this.#zt=this.#e.renderIn,this.#o=this.#e.adblockSettings,this.#e.currentScript&&(this.#Nt=this.#e.currentScript),this.#Ft=this.#Ut=document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth,this.#Ht()}#Mt(){const t=this.#Pt.impression_url;(new Image).src=t}async#Ht(){this.#i.debug("get initial ad and config"),this.#Rt=await R(this.#i);const t=await this.#Dt();let e;this.#i.debug("URL to fetch",t);try{e=await fetch(t)}catch(t){return this.#i.error(t),this.#o&&!this.#A?(this.#i.debug("fetch failed: try alt domain and path"),this.#A=!0,this.#s.enableAdbMode(),void this.#Ht()):this.#s.isAdbMode()?void this.#i.debug("fetch failed: alt domain and path blocked. exit"):void this.#i.debug("fetch failed. exit")}200===e.status||202===e.status?(this.#i.debug("initial fetch received 200 or 202"),this.#Pt=await e.json(),this.#_t()):204===e.status&&this.#i.debug("initial fetch received 204. No inventory")}async#Dt(){let t=`${window.location.protocol}//${this.#v}/script/banner.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,i=`/${nt("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#l}`,t+=`&cbpage=${encodeURIComponent(P())}`,t+=`&cbref=${encodeURIComponent(j())}`,t+=`&cbdescription=${encodeURIComponent(N("description"))}`,t+=`&cbkeywords=${encodeURIComponent(N("keywords"))}`,t+=`&cbtitle=${encodeURIComponent(B())}`,t+=`&srs=${z()}`,t+=`&ufp=${encodeURIComponent(this.#e.uniqueFingerprint)}`,t+="&atv=50.0",this.#e.sub1&&(t+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#o&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=bnr",rt(t)):t}#_t(){if(!this.#Pt||"undefined"===this.#Pt)return;if(this.#Pt.hp&&(this.#Wt(this.#Pt.hp),1===le()(this.#Pt).length))return;let t;t=this.#zt?document.querySelector(this.#zt):this.#e.currentElement?this.#e.currentElement:this.#Nt.parentElement,this.#Vt(t);const e=this.#qt();t.appendChild(e)}#qt(){let t;return this.#Pt.fallback?(this.#i.debug("Banner type - fallback"),t=this.#Gt()):1===this.#Pt.render_image?(this.#i.debug("Banner type - image"),t=this.#Zt()):(this.#i.debug("Banner type - html"),t=this.#Qt()),this.#Pt.fallback||this.#Mt(),this.#s||this.#Kt(),t}#Zt(){const t=document.createElement("a");t.href=this.#Pt.click_url,t.target="_blank",t.rel="noopener, noreferrer",t.style.display="block",t.style.width=`${this.#$t?this.#$t:this.#Pt.width}px`,t.style.height=`${this.#Lt?this.#Lt:this.#Pt.height}px`,t.style.position="relative",t.style.top=0,t.style.left=0,t.style.right=0,t.style.bottom=0,t.setAttribute("doskip","1"),t.setAttribute(Bt,"1");const e=document.createElement("img");if(e.src=this.#Pt.image_url,e.target="_blank",e.width=this.#$t?this.#$t:this.#Pt.width,e.height=this.#Lt?this.#Lt:this.#Pt.height,this.#Pt.width>this.#Ft&&this.#Pt.force_resize){const i=(this.#$t?this.#$t:this.#Pt.width)/this.#Ut;t.style.width=`${this.#Ut}px`,t.style.height=`${Math.round((this.#Lt?this.#Lt:this.#Pt.height)/i)}px`,e.style="max-width: 100%;",e.width=this.#Ut,e.height=Math.round((this.#Lt?this.#Lt:this.#Pt.height)/i)}return t.appendChild(e),t}#Qt(){const t=`banner_${this.#l}`,e=document.createElement("div");e.id=t,e.style.display="block",e.style.width=`${this.#$t?this.#$t:this.#Pt.width}px`,e.style.height=`${this.#Lt?this.#Lt:this.#Pt.height}px`,e.style.position="relative",e.style.top="0",e.style.left="0",e.style.right="0",e.style.bottom="0",e.width=this.#$t?this.#$t:this.#Pt.width,e.height=this.#Lt?this.#Lt:this.#Pt.height,e.setAttribute("doskip","1"),e.setAttribute(Bt,"1"),this.#Jt(e,this.#Pt.html);const i=()=>{this.#i.debug("click recorded:",this.#Pt.click_url),(new Image).src=this.#Pt.click_url};return e.addEventListener("click",(()=>{this.#i.debug("click on divNode"),i()})),d()((()=>{document.activeElement&&"IFRAME"===document.activeElement.tagName&&((t,e)=>{let i=t.parentElement;for(;i;){if(i.id===e)return i;i=i.parentElement}return null})(document.activeElement,t)?this.#jt||(this.#jt=!0,this.#i.debug("click on iframe"),i()):this.#jt=!1}),200),e}#Jt(t,e){var i;t.innerHTML=e,r()(i=m()(t.querySelectorAll("script"))).call(i,(t=>{var e;const i=document.createElement("script");r()(e=m()(t.attributes)).call(e,(t=>{i.setAttribute(t.name,t.value)}));const n=document.createTextNode(t.innerHTML);i.appendChild(n),t.parentNode.replaceChild(i,t)}))}#Gt(){const t=`banner_${this.#l}`,e=document.createElement("iframe");return e.id=t,e.style.border="medium none",e.style.padding="0",e.style.margin="0",e.style.width=`${this.#$t?this.#$t:this.#Pt.width}px`,e.style.height=`${this.#Lt?this.#Lt:this.#Pt.height}px`,e.width=this.#$t?this.#$t:this.#Pt.width,e.height=this.#Lt?this.#Lt:this.#Pt.height,e.scrolling="no",e.vspace="0",e.hspace="0",e.allowtransparency="true",e.allowfullscreen="true",e.srcdoc=this.#Pt.fallback,e}#Wt=t=>{const e=JSON.parse(atob(t)),i=document.createElement("script");if(i.type="text/javascript",i.src=`//${this.#Bt}/script/suv4.js`,i.setAttribute("zid",e.pop_zone_id),i.setAttribute("lpzi",e.source_zone_id),i.setAttribute("data-adel","lwsu"),i.setAttribute("adlm","ipvipplm"),e.attributes)for(const t in e.attributes)i.setAttribute(t,e.attributes[t]);document.body.appendChild(i)};#Vt(t){if(this.#i.debug("Initial viewport:",this.#Ft),this.#Pt.width>this.#Ft&&this.#Pt.force_resize){var e=window.getComputedStyle(t),i=ue()(e.paddingLeft),n=ue()(e.marginLeft);this.#Ut=t.clientWidth-i-n,this.#i.debug("Parent element width:",this.#Ut)}}#Kt(){const t=document.createElement("a");t.style.display="none",t.style.visibility="hidden",t.style.position="relative",t.style.left="-1000px",t.style.top="-1000px",t.href=this.#Pt.bot_link,document.body.appendChild(t)}};const ge="x4G9Tq2Kw6R7v1Dy3P0B5N8Lc9M2zF",fe="adblock-settings",pe=(()=>{let t=document.currentScript;return t||(t=document.getElementById("aclib")),t||(t=document.getElementById("adcash-lib")),t})();let ve=null;var be=class{#Bt;#Yt={pop:!1,autoTag:!1,inPagePush:!1,interstitial:!1};#Xt;#b;#te=new(e());#ee=new(e());#i;#ie=!1;#ne;#re={mousedown:[],click:[],touchstart:[]};#se={mousedown:[],scroll:[],click:[],touchstart:[]};#v="youradexchange.com";#o=null;#oe;#ae;#ce=!1;isShowingPop=!1;#C;constructor(){if(ve)return ve;ve=this,this.#i=new y("adcash"),window.addEventListener("mousedown",(t=>{var e;this.#i.debug("win mousedown with capture: in"),r()(e=this.#re.mousedown).call(e,(e=>{this.#i.debug("win mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("mousedown",(t=>{var e;this.#i.debug("win mousedown: in"),r()(e=this.#se.mousedown).call(e,(e=>{this.#i.debug("win mousedown: calling observer"),e.callback(t)}))}),!1),window.addEventListener("click",(t=>{var e;this.#i.debug("win click with capture: in"),r()(e=this.#re.click).call(e,(e=>{this.#i.debug("win click with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("click",(t=>{var e;this.#i.debug("win click: in"),r()(e=this.#se.click).call(e,(e=>{this.#i.debug("win click: calling observer"),e.callback(t)}))}),!1),document.addEventListener("mousedown",(t=>{var e;this.#i.debug("doc mousedown: in"),r()(e=this.#se.mousedown).call(e,(e=>{this.#i.debug("doc mousedown: calling observer"),e.callback(t)}))})),document.addEventListener("mousedown",(t=>{var e;this.#i.debug("doc mousedown with capture: in"),r()(e=this.#re.mousedown).call(e,(e=>{this.#i.debug("doc mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("scroll",(t=>{var e;r()(e=this.#se.scroll).call(e,(e=>{e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#i.debug("doc click: in"),r()(e=this.#se.click).call(e,(e=>{this.#i.debug("doc click: calling observer"),e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#i.debug("doc click with capture: in"),r()(e=this.#re.click).call(e,(e=>{this.#i.debug("doc click with capture: calling observer"),e.callback(t)}))}),!0),this.getClientHints(),this.#ae=z(),this.#oe=(()=>{const t=Math.floor(11*Math.random())+5;let e="";for(let i=0;i{window[e]&&window[e]===t||(window[e]=t)}),500)}#ge(){this.#ne&&(clearInterval(this.#ne),this.#ne=null)}subscribe(t,e,i){if(!this.#re[t]||!this.#se[t])throw new Error(`${t} is not observable!`);i?this.#re[t].push(e):this.#se[t].push(e)}unsubscribe(t,e,i){if(!this.#re[t]||!this.#se[t])throw new Error(`${t} is not observable!`);if(i)for(let i=0;i{const e=document.createElement("link");e.rel="dns-prefetch",e.href=`//${t}`,document.head.appendChild(e)}))}f()(v()(t=this.#le).call(t,this),100)}getZoneIds(){return m()(this.#te)}runPop(t){this.#he();const{zoneId:e,refreshRate:i,delay:n,targetElementsCssSelector:r,triggerOnTargetElementsClick:s,targetCountries:o,triggerOnTargetCountries:a,sub1:c,sub2:l,publisherUrl:d,storeUrl:u,c1:h,c2:g,c3:f,pubHash:p,pubClickId:v,pubValue:b,fallbackOn:m,isAutoTag:y,collectiveZoneId:w,aggressivity:x,recordPageView:k,linkedZoneId:A,abTest:S,tagVersionSuffix:C}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!gt(e))throw new Error("zoneId is not a string!");if(void 0!==i&&(!ht(i)||i<0))throw new Error("refreshRate is not an integer or is less than zero");if(void 0!==n&&(!ht(n)||n<0))throw new Error("delay is not an integer or is less than zero");if(void 0!==r){if(!gt(r))throw new Error("targetElementsCssSelector is not a string");if(!(t=>{try{document.createDocumentFragment().querySelector(t)}catch{return!1}return!0})(r))throw new Error("targetElementsCssSelector is not a valid css selector");if(!ut(s))throw new Error("triggerOnTargetElementsClick is not a boolean")}if(void 0!==o){if(!(t=>{if(!ct()(t))return!1;if(0===t.length)return!1;for(let e=0;e0&&f<10&&(f<5?f*=60:f=30),new ae({zoneId:e,refreshRate:f??60,delay:i??0,maxAds:n??1,renderPosDesktop:r??"top",renderPosMobile:s??"top",offsetTop:o??0,sub1:a,isAutoTag:c,collectiveZoneId:l,aggressivity:d,recordPageView:u,abTest:h,tagVersionSuffix:g,adserverDomain:this.#v,adblockSettings:this.#o,adcashGlobalName:this.#oe,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C})}runBanner(t){this.#he();const{zoneId:e,width:i,height:n,renderIn:r,sub1:s}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!gt(e))throw new Error("zoneId is not a string!");if(void 0!==i&&!ht(i))throw new Error("Banner width is not an integer");if(void 0!==n&&!ht(n))throw new Error("Banner height is not an integer");if(this.#i.debug("loading banner on page",e),!r)var o=document.currentScript.parentElement;this.#te.add(e),new he({zoneId:e,width:i,height:n,renderIn:r,currentElement:o,sub1:s,adcashGlobalName:this.#oe,uniqueFingerprint:this.#C,adblockSettings:this.#o})}runInterstitial(t){if(this.#Yt.interstitial)return void this.#i.error("interstitial zone already loaded on page");this.#Yt.interstitial=!0,this.#he();const{zoneId:e,sub1:i,isAutoTag:n,collectiveZoneId:r,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!gt(e))throw new Error("zoneId is not a string!");this.#i.debug("loading interstitial on page");const l={zoneId:e,sub1:i,isAutoTag:n,collectiveZoneId:r,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c,adcashGlobalName:this.#oe,adserverDomain:this.#v,adblockSettings:this.#o,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C};this.#te.add(e),new ee(l)}async#fe(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.#i.debug("fetch collective zone config");let i=`${window.location.protocol}//${this.#v}/ad/czcf.php`;if(this.isAdbMode()){const t=`/${nt("abcdefgh0123456789")}`;i=`${window.location.protocol}//${this.#o.adserverDomain}${t}`}i+=`?cz=${t}`;const n=await this.getClientHints();let r;n&&(i+=n),this.isAdbMode()&&(i+="&sadbl=2",i+="&fmt=atg",i=rt(i)),this.#i.debug("collective zone config url: ",i);try{r=await fetch(i)}catch(i){return this.#i.error(i),this.#o&&e?(this.#i.debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),this.#fe(t,!1)):null}return 200!==r.status?null:r.json()}async runAutoTag(t){if(this.#Yt.autoTag)return void this.#i.error("autotag zone already loaded on page");this.#Yt.autoTag=!0,this.#he();const e=t.zoneId;if(!e)throw new Error("mandatory zoneId is not provided!");if(!gt(e))throw new Error("zoneId is not a string!");const i=await this.#fe(e);if(i)if(this.#i.debug("collective zone config:",i),i.rotationList)this.#i.debug("running in ROTATION MODE (rotation present)"),this.#te.add(e),new Gt({adcashGlobalName:this.#oe,collectiveZoneConfig:i,adserverDomain:this.#v,adblockSettings:this.#o,clientHintsQueryStr:this.#b,tagVersionSuffix:t.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C});else{this.#i.debug("running in NORMAL MODE (no rotation)");const n=i.indexedFormats;let r=!0;for(const s in n){switch(s){case"suv4":case"pop":this.runPop({zoneId:n[s].zoneId.toString(),targetElementsCssSelector:n[s]["element-list"],triggerOnTargetElementsClick:"allow"===n[s]["element-action"],targetCountries:n[s]["country-list"],triggerOnTargetCountries:"allow"===n[s]["country-action"],isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;case"interstitial":this.runInterstitial({zoneId:n[s].zoneId.toString(),isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;case"ippg":this.runInPagePush({zoneId:n[s].zoneId.toString(),refreshRate:n[s].rr,delay:n[s].d,maxAds:n[s].mads,renderPosDesktop:n[s]["render-pos-desktop"],renderPosMobile:n[s]["render-pos-mobile"],offsetTop:n[s]["offset-top"],isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;default:this.#i.error(`ad format type not recognised from collective zone config. adformat.type: ${s}; czid: ${e}`)}r=!1}}else this.#i.error(`failed to fetch collective zone config! czid: ${e}`)}};const me=new y("aclib_adblock_index");window.Adcash?me.debug("lib already on page. exit"):(me.debug("load lib on page"),window.Adcash=be,window.AtcshAltNm=be,window.aclib=new be)}()}();(function(){if(window.aclib){aclib.runPop({zoneId:"7552558"});}else{console.log("err loading adbtg");}})();
A business owner is thrust into New Zealand’s dark underbelly after a million-dollar drug deal goes wrong on a blood-stained night, setting off a chain of events between dangerous factions.