`),this.#O()})).catch((e=>{if(e&&this.#r.error(e),e&&this.#o&&!this.#k)return this.#r.debug("fetch call failed. Switch to adblck domain and path"),this.#k=!0,this.#s.enableAdbMode(),void this.show();this.#i(me)}))}#O(){this.#r.debug("render"),this.#A.render(this.#y)}#C(e){let t=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,r=`/${te("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${r}`}return t+=`?r=${this.#l}`,this.#m&&(t+="&rbd=1"),this.#b&&(t+=this.#b),t=t+"&atag=1"+`&czid=${this.#d}`+`&aggr=${this.#h}`+`&seqid=${e}`+`&ufp=${encodeURIComponent(this.#T)}`+`&srs=${this.#s.getSesionRandomString()}`+`&cbpage=${encodeURIComponent(R())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(U())}`,this.#o&&(t+="&abtg=1"),this.#g&&(t+="&ppv=1"),this.#p&&(t+=`&ab_test=${this.#p}`),!1===this.#f&&(t+="&cap=0"),this.#o&&this.#o.adbVersion&&(t+=`&adbv=${this.#o.adbVersion}`),this.#o&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=intrn",this.#r.debug(`bid url: ${t}`),re(t)):(this.#r.debug(`bid url: ${t}`),t)}};const je=2147483647,Ne="znid";var Me=class{targetElementsCssSelector=null;shouldTriggerPopOnTargetClick=!1;constructor(e,t,r){this.targetElementsCssSelector=e,this.shouldTriggerPopOnTargetClick=t,this.zoneId=r}isPresent(){return!!this.targetElementsCssSelector}isActionAllowedOnElement(e){if(!this.isPresent())return!0;if(e.hasAttribute(Ne))return e.getAttribute(Ne)===this.zoneId;if(e.hasAttribute("doskip"))return!1;const t=m()(document.querySelectorAll('[doskip*="1"]'));for(const r of t)if(r.contains(e))return!1;return this.#I(e)?this.shouldTriggerPopOnTargetClick:!this.shouldTriggerPopOnTargetClick}#I(e){const t=document.querySelectorAll(this.targetElementsCssSelector);do{for(let r=0;r{var e,t,r;const n=(e,t)=>{try{e.style.top=`${t.offsetTop}px`,e.style.left=`${t.offsetLeft}px`,e.style.width=`${t.offsetWidth}px`,e.style.height=`${t.offsetHeight}px`,e.style.zIndex=je}catch(e){}};i()(e=this.iframesToOverlays).call(e,(e=>{let{overlay:t,iframe:r}=e;return n(t,r)})),i()(t=this.videosToOverlays).call(t,(e=>{let{overlay:t,video:r}=e;return n(t,r)})),i()(r=this.anchorsToOverlays).call(r,(e=>{let{overlay:t,anchor:r}=e;return n(t,r)}))}),500)}clearOverlaysResizeIntervalChecker(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(e){}}#R(e){const t=document.createElement("div");return t.addEventListener("mousedown",(e=>{this.#r.debug("mousedown on overlay"),e.stopPropagation(),e.preventDefault(),this.desktopClickListener(e)}),this.#E),e===document.body?(t.id="dontfoid",t.style.top="0px",t.style.left="0px",t.style.width=`${window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}px`,t.style.height=`${window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}px`,t.style.position="fixed"):(t.style.top=`${e.offsetTop}px`,t.style.left=`${e.offsetLeft}px`,t.style.width=`${e.offsetWidth}px`,t.style.height=`${e.offsetHeight}px`,t.setAttribute("donto",""),t.style.position="absolute"),t.setAttribute(Ne,this.#l),t.style.zIndex=je,e===document.body?document.body.appendChild(t):e.parentNode.appendChild(t),t}attachVideoOverlays(){const e=document.querySelectorAll("video");for(let t=0;t false"),this.#E=!1),this.overlays=new De(this.elementTargeting,v()(t=this.#z).call(t,this),this.#r,this.#t.zoneId,this.#E),e.tagVersionSuffix&&(this.#x+=e.tagVersionSuffix)}show(){this.#y=null,this.#P=null,this.#L=!1,fetch(this.#C()).then((e=>200===e.status||202===e.status?e.json():(204===e.status&&(this.hasNoInventory=!0,this.#r.debug(`no inventory! reset after ${this.#w} sec`),f()((()=>{this.hasNoInventory=!1}),1e3*this.#w),this.#w<7200&&(this.#w*=5)),ve().reject()))).then((e=>{if(this.#r.debug("response:",e),e.capped_ttl)return this.isCapped=!0,this.#r.debug(`capped! reset after ${e.capped_ttl} sec`),f()((()=>{this.isCapped=!1}),1e3*e.capped_ttl),void this.#t.actionCallback(ye);if(this.#w>12&&(this.#w=12),!this.#m){this.#m=!0;const t=e.delay??0;return this.#r.debug("delay is",t),void f()((()=>{this.#F(e)}),1e3*t)}this.#F(e)})).catch((e=>{if(e&&this.#r.error(e),e&&this.#t.adblockSettings&&!this.#k)return this.#r.debug("fetch call failed. Switch to adblck domain and path"),this.#s.enableAdbMode(),this.#k=!0,void this.show();this.#t.actionCallback(ye)}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/suurl5.php`;if(this.#t.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,r=`/${te("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${r}`}if(e+=`?r=${this.#t.zoneId}`,this.#m&&(e+="&rbd=1"),this.#t.targetCountries){const t=this.#t.targetCountries.join(",");this.#t.triggerOnTargetCountries?e+="&allowed_countries="+encodeURIComponent(t):e+="&excluded_countries="+encodeURIComponent(t)}return e=e+this.#t.clientHintsQueryStr+"&atag=1&cbur="+Math.random()+"&cbiframe="+L()+"&cbWidth="+$()+"&cbHeight="+z()+"&cbtitle="+encodeURIComponent(F())+"&cbpage="+encodeURIComponent(R())+"&cbref="+encodeURIComponent(U())+"&cbdescription="+encodeURIComponent(B("description"))+"&cbkeywords="+encodeURIComponent(B("keywords"))+"&cbcdn="+encodeURIComponent(this.#s.getCdnDomain())+"&ts="+fe()()+"&atv="+this.#x+"&ufp="+encodeURIComponent(this.#t.uniqueFingerprint)+"&srs="+this.#s.getSesionRandomString(),this.#t.adblockSettings&&(e+="&abtg=1"),this.#t.aggressivity&&(e+=`&aggr=${this.#t.aggressivity}`),this.#t.collectiveZoneId&&(e+=`&czid=${this.#t.collectiveZoneId}`),this.#t.recordPageView&&(e+="&ppv=1"),this.#t.abTest&&(e+=`&ab_test=${this.#t.abTest}`),!1===this.#t.adsCapping&&(e+="&cap=0"),this.#t.adblockSettings&&this.#t.adblockSettings.adbVersion&&(e+=`&adbv=${this.#t.adblockSettings.adbVersion}`),this.#t.adblockSettings&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=suv5",this.#r.debug(`bid url: ${e}`),re(e)):(this.#r.debug(`bid url: ${e}`),e)}#U(e){try{let t=this.#$?this.#$(""):window.open("");return t.document.open(),t.document.writeln('`),void(!this.#m&&this.#t.delay>0?(this.#r.debug(`delay present. render after: ${this.#t.delay} sec`),f()(v()(s=this.#O).call(s,this),1e3*this.#t.delay)):this.#O())))}#we(e){this.#r.debug("fallback script str:",e);const t=(new DOMParser).parseFromString(e,"text/html").querySelector("script");if(!t)return void this.#r.error("invalid fallback script. move on");this.#r.debug("fallback script:",t);const r=document.createElement("script");for(const e of t.attributes)r.setAttribute(e.name,e.value);r.src||(r.textContent=t.textContent),document.body.appendChild(r)}#ye(e){const t=JSON.parse(atob(e));this.#r.debug("hp data:",t);const r={zoneId:t.pop_zone_id.toString(),linkedZoneId:t.source_zone_id.toString()};var n;t.attributes&&(t.attributes["element-list"]&&(r.targetElementsCssSelector=t.attributes["element-list"],r.triggerOnTargetElementsClick="allow"===t.attributes["element-action"]),t.attributes["country-list"]&&(r.targetCountries=Je()(n=t.attributes["country-list"]).call(n).split(","),r.triggerOnTargetCountries="allow"===t.attributes["country-action"])),this.#s.runPop(r)}#i(){if(this.#t.showOnInnerLinkClick&&this.#me)return this.#r.debug("redirect to inner link"),void(window.location.href=this.#me);this.#be=!1,this.#t.refreshRate>0?(this.#r.debug(`rebid after ${this.#t.refreshRate} sec`),f()((()=>{this.#m=!0,this.#le()}),1e3*this.#t.refreshRate)):this.#r.debug("no rebidding. finish")}#xe(){const e=document.querySelectorAll("a"),t=new(c())(R()).hostname;for(let r=0;r{t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():t.returnValue=!1,this.#be||(this.#r.debug("click on inner link detected. render ad"),this.#be=!0,this.#me=e[r].href,this.#A.render(this.#y))}),{capture:!0})}#O(){this.#r.debug("render"),this.#t.showOnInnerLinkClick?(this.#r.debug("google friendly interstitial. ad will be rendered on inner link click"),this.#xe()):this.#A.render(this.#y)}#C(){let e=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#o,r=`/${te("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${r}`}return e+=`?r=${this.#l}`,this.#m&&(e+="&rbd=1"),this.#b&&(e+=this.#b),e=e+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#T)}`+`&cbpage=${encodeURIComponent(R())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(U())}`,this.#pe&&(e+=`&sub1=${encodeURIComponent(this.#pe)}`),this.#ve&&(e+="&atag=1"),this.#d&&(e+=`&czid=${this.#d}`),this.#h&&(e+=`&aggr=${this.#h}`),this.#o&&(e+="&abtg=1"),this.#g&&(e+="&ppv=1"),this.#p&&(e+=`&ab_test=${this.#p}`),this.#o&&this.#o.adbVersion&&(e+=`&adbv=${this.#o.adbVersion}`),this.#o&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=intrn",this.#r.debug(`bid url: ${e}`),re(e)):(this.#r.debug(`bid url: ${e}`),e)}};const et="#399afe",tt="utsid-send";class rt extends HTMLElement{constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.click=e=>{e.stopPropagation();const t=document.createEvent("Event");t.initEvent("inpageclick",!0,!0),this.dispatchEvent(t)},this.close=e=>{e.stopPropagation();const t=document.createEvent("Event");t.initEvent("inpageclose",!0,!0),this.dispatchEvent(t),document.dispatchEvent(new CustomEvent("in-page-closed"))},this.missclick=()=>{document.dispatchEvent(new CustomEvent("in-page-missclick"))}}connectedCallback(){const e=document.querySelectorAll("in-page-message");let t=0,r="top";for(let r=0;r\n div[id^='note-'] {\n font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;\n font-weight: 400;\n font-size: 16px;\n line-height: 1.3;\n position: fixed !important;\n right: 0;\n /* pure-css */\n letter-spacing: -0.31em;\n text-rendering: optimizespeed;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n -ms-flex-line-pack: start;\n align-content: flex-start;\n align-items: center;\n cursor: pointer;\n transition: padding-right 0.1s, top 0.3s;\n overflow: hidden;\n z-index: 2147483645;\n word-wrap: break-word;\n width: 380px;\n padding-top: 20px;\n }\n\n .note-inner { \n margin: 5px;\n border-radius: 55px; \n position: relative;\n background: ${et};\n color: #ffffff !important;\n width: 70%;\n text-align: center;\n height: 100px;\n justify-content: center;\n display: flex;\n align-items: center;\n }\n\n div[id*='note-'] p, img.graph, div[id*='close-'] {\n display: inline-block;\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: middle;\n text-rendering: auto;\n text-align: center; \n } \n\n div[id*='note-'] p {\n width: 90%;\n padding: 2%;\n font-size: 0.9em\n }\n\n /* BUBBLE IMAGE */\n img.graph {\n width: 76px;\n height: 76px; \n box-sizing: border-box;\n border-radius: 50%; \n position: relative;\n margin-left: 2%;\n border: 4px solid ${et};\n }\n\n /* CLOSE BUTTON */\n div[id^='close-'] {\n font-size: 20px;\n margin-top: 10px;\n z-index: 23;\n display: inline-block;\n width: 24px;\n height: 24px;\n background: transparent; \n text-align: center;\n color: #a6a0a7;\n }\n\n div[id^='close-']:hover {\n background: #a0a0ff;\n }\n\n .impression {\n display: none;\n width: 0px;\n height: 0px;\n }\n\n div[id*="missclick-"] {\n right: 0;\n top: 0;\n height: 100%;\n /*margin-top: -30px;*/\n width: ${(a=o).widthOfMissclickArea}px;\n z-index: 2;\n position: absolute !important;\n align-items: start;\n justify-content: center;\n display: flex;\n }\n\n @media all and (max-width: 380px) {\n div[id*='note-'] {\n width: 100%;\n }\n \n img.graph {\n margin-left: 2%;\n }\n }\n\n ${a.closeButtonStyle}\n\n \n
\n
\n

${a.dataTitle}
${a.dataDescription}

\n
\n graph\n
\n
\n
\n
\n `;const c=this.shadowRoot.getElementById(`note-${this.getAttribute("id")}`),l=this.shadowRoot.getElementById(`close-${this.getAttribute("id")}`),u=this.shadowRoot.getElementById(`missclick-${this.getAttribute("id")}`);if(this.hasAttribute("data-imp-link")){let e=this.getAttribute("data-imp-link");window[tt]&&(e+=`&utsid=${window[tt]}`),e+=`&cbpage=${encodeURIComponent(R())}`,e+=`&cbref=${encodeURIComponent(U())}`;const t=document.createElement("img");t.src=e.toString(),t.setAttribute("class","impression"),c.appendChild(t)}I(c,"click",this.click),I(l,"click",this.close),I(u,"click",this.missclick)}}var nt=rt;const it=1e3;var st=class{#t={};#r;#s;#b="";#Ae;#m=!1;#x="49.0";#ke=[];#Se=null;#Te=!0;#Ce;#k=!1;constructor(e){this.#r=new y(`ippg_new_${e.zoneId}`),this.#r.debug("init ippg with config:",e),this.#t=e,this.#s=window[e.adcashGlobalName],this.#Ce=this.#t.refreshRate,customElements.get("in-page-message")||customElements.define("in-page-message",nt),this.#s.getClientHints(!1).then((e=>{this.#b=e,this.#le()}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/push.php`;if(this.#t.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,r=`/${te("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${r}`}return e+=`?r=${this.#t.zoneId}&ipp=1`,this.#Ae=X?this.#t.renderPosMobile:this.#t.renderPosDesktop,e+=`&mads=${this.#t.maxAds}&position=${this.#Ae}`,this.#t.isAutoTag&&(e+=`&czid=${this.#t.collectiveZoneId}&atag=1`),this.#t.aggressivity&&(e+=`&aggr=${this.#t.aggressivity}`),this.#t.adblockSettings&&(e+="&abtg=1"),this.#m&&(e+="&rbd=1"),this.#t.recordPageView&&(e+="&ppv=1"),this.#t.abTest&&(e+=`&ab_test=${this.#t.abTest}`),this.#t.sub1&&(e+=`&sub1=${encodeURIComponent(this.#t.sub1)}`),this.#t.adblockSettings&&this.#t.adblockSettings.adbVersion&&(e+=`&adbv=${this.#t.adblockSettings.adbVersion}`),e=e+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#t.uniqueFingerprint)}`+`&cbpage=${encodeURIComponent(R())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(U())}`,this.#b&&(e+=this.#b),this.#Se&&(e+="&ipptr=1"),this.#t.adblockSettings&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=ippg",this.#r.debug(`bid url: ${e}`),re(e)):(this.#r.debug(`bid url: ${e}`),e)}async#le(){var e;if(this.#Oe()>=this.#t.maxAds||!this.#Te||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return void(this.#t.refreshRate>0&&(this.#m=!0,f()(v()(e=this.#le).call(e,this),this.#Ce*it)));let t;try{t=await fetch(this.#C())}catch(e){if(this.#r.error(e),this.#t.adblockSettings&&!this.#k)return this.#r.debug("fetch call failed. Switch to adblck domain and path"),this.#k=!0,this.#s.enableAdbMode(),void this.#le()}var r,n;if(204===t.status)return this.#r.debug("unsold invertory!"),void(this.#t.refreshRate>0&&(this.#r.debug(`refresh rate present. try bidding again after ${this.#Ce} sec`),this.#m=!0,f()(v()(r=this.#le).call(r,this),this.#Ce*it),2*this.#Ce<1200&&(this.#Ce*=2)));if(200!==t.status&&202!==t.status||(this.#m=!0,t=await t.json(),this.#r.debug("response:",t)),t.fallback&&t.hp)return void this.#we(t.fallback);if(t.fallback)return void this.#we(t.fallback);if(t.hp,t.capped_ttl)return this.#r.debug(`capped! try bidding again after ${t.capped_ttl} sec`),void f()(v()(n=this.#le).call(n,this),t.capped_ttl*it);this.#b&&(t.impression_url&&(t.impression_url+=this.#b),t.click_url&&(t.click_url+=this.#b));const i={type:t.type||1,script:t.script||"",title:t.title||"",description:t.description||"",icon:t.icon||t.image,link:t.click_url,impressionLink:t.impression_url||null,capped_ttl:k()(t.capped_ttl,10)||0};var s;this.#Ce=this.#t.refreshRate,2!==i.type||this.#Se?(this.#ke.push(i),this.#Te=!1,this.#Ie(),f()((()=>{this.#Te=!0}),this.#Ce*it)):(this.#Se=i,this.#Te=!1,await this.#Ee(),f()((()=>{this.#Te=!0}),this.#Ce*it)),this.#t.refreshRate>0&&(this.#m=!0,f()(v()(s=this.#le).call(s,this),this.#Ce*it))}#Oe(){return this.#Se?this.#ke.length+1:this.#ke.length}#we(e){this.#r.debug("fallback script str decoded:",e);const t=(new DOMParser).parseFromString(e,"text/html").querySelector("script");if(!t)return this.#r.error("invalid fallback script. move on"),null;this.#r.debug("fallback script:",t);const r=document.createElement("script");for(const e of t.attributes)r.setAttribute(e.name,e.value);r.src||(r.textContent=t.textContent),document.body.appendChild(r)}async#Ee(){const e=(new DOMParser).parseFromString(this.#Se.script,"text/html").querySelector("script"),t=document.createElement("script");e.src?t.setAttribute("src",e.src):t.innerText=e.innerText;const r=()=>{var e;this.#r.debug("CT-CLICK"),fetch(this.#Se.link,{mode:"no-cors"}),document.removeEventListener("ct-click",r),f()(v()(e=this.#le).call(e,this),1e3)},n=()=>{this.#r.debug("CT-CLOSE"),document.removeEventListener("ct-click",r),document.removeEventListener("ct-close",n),this.#Se=null,document.body.removeChild(t)};I(document,"ct-click",r),I(document,"ct-close",n);let i=this.#Se.impressionLink;window[tt]&&(i+=`&utsid=${window[tt]}`),i+=`&cbpage=${encodeURIComponent(R())}`,i+=`&cbref=${encodeURIComponent(U())}`,t.onload=async()=>{try{await fetch(i.toString())}catch(e){return this.#r.debug(e),void(this.#t.adblockSettings&&!this.#s.isAdbMode()&&(this.#r.debug("imp failed: try alt domain and path"),this.#s.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))},t.onerror=()=>{this.#r.debug("custom html script failed to load"),this.#Se=null},document.body.appendChild(t)}#Ie(){var e;this.#r.debug("drawing..");const t=document.querySelectorAll("in-page-message");if(t.length>0)for(let e=0;e{const r=document.createElement("in-page-message");r.setAttribute("doskip","1"),r.setAttribute("id",t.toString()),r.setAttribute("data-icon",e.icon),r.setAttribute("data-title",e.title),r.setAttribute("data-description",e.description),r.setAttribute("data-offset-top",this.#t.offsetTop),r.setAttribute("data-render-pos-desktop",this.#t.renderPosDesktop),r.setAttribute("data-render-pos-mobile",this.#t.renderPosMobile),e.impressionLink&&(r.setAttribute("data-imp-link",e.impressionLink),e.impressionLink=null,document.dispatchEvent(new CustomEvent("impression-event"))),r.addEventListener("inpageclick",(()=>{var n;if(X||this.#t.adblockSettings&&this.#s.isAdbMode()){const t=document.createElement("a");t.href=e.link,t.rel="noopener, noreferrer",t.target="_blank",t.click()}else try{window.open(e.link,"_blank","noopener,noreferrer")}catch{}r.remove(),h()(n=this.#ke).call(n,t,1),this.#Ie()})),r.addEventListener("inpageclose",(()=>{var e;r.remove(),h()(e=this.#ke).call(e,t,1),this.#Ie()})),document.body.appendChild(r)}))}};const ot="x4G9Tq2Kw6R7v1Dy3P0B5N8Lc9M2zF",at="adblock-settings",ct=(()=>{let e=document.currentScript;return e||(e=document.getElementById("aclib")),e||(e=document.getElementById("adcash-lib")),e})();let lt=null;var ut=class{#Re;#Le={pop:!1,autoTag:!1,inPagePush:!1,interstitial:!1};#Pe;#b;#$e=new(t());#ze=new(t());#r;#Fe=!1;#Ue;#Be={mousedown:[],click:[],touchstart:[]};#je={mousedown:[],scroll:[],click:[],touchstart:[]};#v="youradexchange.com";#o=null;#Ne;#Me;#De=!1;isShowingPop=!1;#T;constructor(){if(lt)return lt;lt=this,this.#r=new y("adcash"),window.addEventListener("mousedown",(e=>{var t;this.#r.debug("win mousedown with capture: in"),i()(t=this.#Be.mousedown).call(t,(t=>{this.#r.debug("win mousedown with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("mousedown",(e=>{var t;this.#r.debug("win mousedown: in"),i()(t=this.#je.mousedown).call(t,(t=>{this.#r.debug("win mousedown: calling observer"),t.callback(e)}))}),!1),window.addEventListener("click",(e=>{var t;this.#r.debug("win click with capture: in"),i()(t=this.#Be.click).call(t,(t=>{this.#r.debug("win click with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("click",(e=>{var t;this.#r.debug("win click: in"),i()(t=this.#je.click).call(t,(t=>{this.#r.debug("win click: calling observer"),t.callback(e)}))}),!1),document.addEventListener("mousedown",(e=>{var t;this.#r.debug("doc mousedown: in"),i()(t=this.#je.mousedown).call(t,(t=>{this.#r.debug("doc mousedown: calling observer"),t.callback(e)}))})),document.addEventListener("mousedown",(e=>{var t;this.#r.debug("doc mousedown with capture: in"),i()(t=this.#Be.mousedown).call(t,(t=>{this.#r.debug("doc mousedown with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("scroll",(e=>{var t;i()(t=this.#je.scroll).call(t,(t=>{t.callback(e)}))})),document.addEventListener("click",(e=>{var t;this.#r.debug("doc click: in"),i()(t=this.#je.click).call(t,(t=>{this.#r.debug("doc click: calling observer"),t.callback(e)}))})),document.addEventListener("click",(e=>{var t;this.#r.debug("doc click with capture: in"),i()(t=this.#Be.click).call(t,(t=>{this.#r.debug("doc click with capture: calling observer"),t.callback(e)}))}),!0),this.getClientHints(),this.#Me=(()=>{if(void 0===window.rgxngibqxq||""===window.rgxngibqxq){let e=[],t="0123456789abcdefghijklmnopqrstuvwxyz";for(let r=0;r<32;r++)e[r]=t.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=t.substr(3&e[19]|8,1),window.rgxngibqxq=e.join("")}return window.rgxngibqxq})(),this.#Ne=(()=>{const e=Math.floor(11*Math.random())+5;let t="";for(let r=0;r1&&void 0!==arguments[1]&&arguments[1];return"undefined"!=typeof navigator&&"userAgentData"in navigator?navigator.userAgentData.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((e=>{const r={};if(e.hasOwnProperty("brands")&&e.brands.length>0){const t=[];for(let r=0;r(e.error("error getting client hints:",t),""))):t?{}:""}(this.#r,!0);let e="";for(let t in this.#Pe)e+=`&${t}=${this.#Pe[t]}`;this.#b=e}return e?this.#Pe:this.#b}getCdnDomain(){return this.#Re}getSesionRandomString(){return this.#Me}enableAdbMode(){this.#r.debug("enable adb mode"),this.#De=!0}isAdbMode(){return this.#De}#qe(){this.#We();var e=this;const t=this.#Ne;window[t]=e,this.#Ue=u()((()=>{window[t]&&window[t]===e||(window[t]=e)}),500)}#We(){this.#Ue&&(clearInterval(this.#Ue),this.#Ue=null)}subscribe(e,t,r){if(!this.#Be[e]||!this.#je[e])throw new Error(`${e} is not observable!`);r?this.#Be[e].push(t):this.#je[e].push(t)}unsubscribe(e,t,r){if(!this.#Be[e]||!this.#je[e])throw new Error(`${e} is not observable!`);if(r)for(let r=0;r{const t=document.createElement("link");t.rel="dns-prefetch",t.href=`//${e}`,document.head.appendChild(t)}))}f()(v()(e=this.#He).call(e,this),100)}getZoneIds(){return m()(this.#$e)}runPop(e){this.#qe();const{zoneId:t,refreshRate:r,delay:n,targetElementsCssSelector:i,triggerOnTargetElementsClick:s,targetCountries:o,triggerOnTargetCountries:a,sub1:c,sub2:l,publisherUrl:u,storeUrl:d,c1:h,c2:g,c3:f,pubHash:p,pubClickId:v,pubValue:b,fallbackOn:m,isAutoTag:y,collectiveZoneId:w,aggressivity:x,recordPageView:A,linkedZoneId:k,abTest:S,tagVersionSuffix:T}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!de(t))throw new Error("zoneId is not a string!");if(void 0!==r&&(!ue(r)||r<0))throw new Error("refreshRate is not an integer or is less than zero");if(void 0!==n&&(!ue(n)||n<0))throw new Error("delay is not an integer or is less than zero");if(void 0!==i){if(!de(i))throw new Error("targetElementsCssSelector is not a string");if(!(e=>{try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0})(i))throw new Error("targetElementsCssSelector is not a valid css selector");if(!le(s))throw new Error("triggerOnTargetElementsClick is not a boolean")}if(void 0!==o){if(!(e=>{if(!oe()(e))return!1;if(0===e.length)return!1;for(let t=0;t0&&f<10&&(f<5?f*=60:f=30),new st({zoneId:t,refreshRate:f??60,delay:r??0,maxAds:n??1,renderPosDesktop:i??"top",renderPosMobile:s??"top",offsetTop:o??0,sub1:a,isAutoTag:c,collectiveZoneId:l,aggressivity:u,recordPageView:d,abTest:h,tagVersionSuffix:g,adserverDomain:this.#v,adblockSettings:this.#o,adcashGlobalName:this.#Ne,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T})}runBanner(e){this.#qe();const{zoneId:t,width:r,height:n,renderIn:i,sub1:s}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!de(t))throw new Error("zoneId is not a string!");if(void 0!==r&&!ue(r))throw new Error("Banner width is not an integer");if(void 0!==n&&!ue(n))throw new Error("Banner height is not an integer");if(this.#r.debug("loading banner on page",t),!i)var o=document.currentScript.parentElement;const a={adcashGlobalName:this.#Ne,zoneId:t,width:r,height:n,renderIn:i,currentElement:o,sub1:s,uniqueFingerprint:this.#T};if(this.#Le.banner||this.#Fe){if(window.Banner)return this.#$e.add(a.zoneId),void new Banner(a);const e=u()((()=>{window.Banner&&(this.#$e.add(a.zoneId),new Banner(a),clearInterval(e))}),100)}else{this.#Fe=!0;var c=document.createElement("script");c.type="text/javascript",c.src=`${location.protocol}//${this.#Re}/script/banner.js`,c.onload=()=>{this.#Le.banner=!0,this.#Fe=!1,this.#$e.add(a.zoneId),new Banner(a)},c.onerror=()=>{this.#Le.banner=!1,this.#Fe=!1,this.#r.error(`failed loading ${c.src}`)},c.setAttribute("data-adel","ban"),c.setAttribute("a-lib","1"),document.head.appendChild(c)}}runInterstitial(e){if(this.#Le.interstitial)return void this.#r.error("interstitial zone already loaded on page");this.#Le.interstitial=!0,this.#qe();const{zoneId:t,sub1:r,isAutoTag:n,collectiveZoneId:i,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!de(t))throw new Error("zoneId is not a string!");this.#r.debug("loading interstitial on page");const l={zoneId:t,sub1:r,isAutoTag:n,collectiveZoneId:i,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c,adcashGlobalName:this.#Ne,adserverDomain:this.#v,adblockSettings:this.#o,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T};this.#$e.add(t),new Xe(l)}async#Ge(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.#r.debug("fetch collective zone config");let r=`${window.location.protocol}//${this.#v}/ad/czcf.php`;if(this.isAdbMode()){const e=`/${te("abcdefgh0123456789")}`;r=`${window.location.protocol}//${this.#o.adserverDomain}${e}`}r+=`?cz=${e}`;const n=await this.getClientHints();let i;n&&(r+=n),this.isAdbMode()&&(r+="&sadbl=2",r+="&fmt=atg",r=re(r)),this.#r.debug("collective zone config url: ",r);try{i=await fetch(r)}catch(r){return this.#r.error(r),this.#o&&t?(this.#r.debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),this.#Ge(e,!1)):null}return 200!==i.status?null:i.json()}async runAutoTag(e){if(this.#Le.autoTag)return void this.#r.error("autotag zone already loaded on page");this.#Le.autoTag=!0,this.#qe();const t=e.zoneId;if(!t)throw new Error("mandatory zoneId is not provided!");if(!de(t))throw new Error("zoneId is not a string!");const r=await this.#Ge(t);if(r)if(this.#r.debug("collective zone config:",r),r.rotationList)this.#r.debug("running in ROTATION MODE (rotation present)"),this.#$e.add(t),new qe({adcashGlobalName:this.#Ne,collectiveZoneConfig:r,adserverDomain:this.#v,adblockSettings:this.#o,clientHintsQueryStr:this.#b,tagVersionSuffix:e.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T});else{this.#r.debug("running in NORMAL MODE (no rotation)");const n=r.indexedFormats;let i=!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:t,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:i,tagVersionSuffix:e.tagVersionSuffix});break;case"interstitial":this.runInterstitial({zoneId:n[s].zoneId.toString(),isAutoTag:!0,collectiveZoneId:t,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:i,tagVersionSuffix:e.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:t,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:i,tagVersionSuffix:e.tagVersionSuffix});break;default:this.#r.error(`ad format type not recognised from collective zone config. adformat.type: ${s}; czid: ${t}`)}i=!1}}else this.#r.error(`failed to fetch collective zone config! czid: ${t}`)}};const dt=new y("aclib_adblock_index");window.Adcash?dt.debug("lib already on page. exit"):(dt.debug("load lib on page"),window.Adcash=ut,window.AtcshAltNm=ut,window.aclib=new ut)}()}(); Arquivos acrobat pro dc 2021 grátis - SkyNET Downloads & Tutoriais

acrobat pro dc 2021 grátis

error: Conteudo Protegido contra Cópia!