Publications récentes »

Ultra Adware Killer 5.3.0.0 Portable

Ultra Adware Killer 5.3.0.0 Portable

Auteur février 3, 2017 0

Ultra Adware Killer est un utilitaire de nettoyage destiné à supprimer facilement les logiciels publicitaires qui pourraient être installés sur votre ordinateur. Ultra Adware Killer est capable de supprimer les adwares pour tous les

Lire la suite »
busuu v9.3.1.19 (Premium) Apprendre une langue

busuu v9.3.1.19 (Premium) Apprendre une langue

Auteur février 2, 2017 0

Apprends l’espagnol, l’anglais, l’allemand, le français, l’italien, le portugais, le turc, l’arabe, le polonais, le russe, le chinois et le japonais avec l’aide de plus de 60 millions de personnes natives de la langue

Lire la suite »
Mytuning Utilities 17.0.4.57 Portable

Mytuning Utilities 17.0.4.57 Portable

Auteur février 2, 2017 0

Accélérez votre PC et transformez des données inutiles en précieux espace disque pour vos photos de vacances, vos vidéos et vos chansons préférées. Fonctions : OPTIMISER – Accélération du démarrage et de l’arrêt du

Lire la suite »
Comic Life 3.5.4 (v34081) Portable

Comic Life 3.5.4 (v34081) Portable

Auteur février 2, 2017 0

Créer à partir de vos photos ou dessins, des bandes dessinées, des romans photos, des tutoriels, etc… Comic Life permet de créer des BD à partir de photographies placées sur des planches dont les

Lire la suite »
FastStone MaxView v3.1 + Portable

FastStone MaxView v3.1 + Portable

Auteur février 1, 2017 0

FastStone MaxView est une visionneuse d’image rapide, Cette application vous propose non seulement de couper, retailler, retourner et d’effectuer quelques réglages (gamma, contraste, sépia, niveau de gris, etc.) FastStone MaxView vous permet même de

Lire la suite »
Microsoft Toolkit Collection Pack 2017

Microsoft Toolkit Collection Pack 2017

Auteur février 1, 2017 2

Microsoft Toolkit Collection Pack est un ensemble d’outils et de fonctions de gestion des licences, de déploiement et d’activation de Microsoft Office et Windows. Toutes les fonctions sont exécutées en arrière-plan et l’interface graphique

Lire la suite »
Call Recorder – ACR v21.3 PRO

Call Recorder – ACR v21.3 PRO

Auteur février 1, 2017 0

Call Recorder – ACR est un outil qui te laisse enregistrer n’importe quel appel téléphonique que tu fais à partir de ton appareil Android. Que tu fasses l’appel ou que quelqu’un te rejoigne, tu

Lire la suite »
Softorbits Easy Photo Unblur 1.0

Softorbits Easy Photo Unblur 1.0

Auteur janvier 31, 2017 0

Avec Easy Photo Les images flous deviennent claires grâce à une optimisation numérique intelligente. Les algorithmes de programme débloquent des photos en détectant des objets mal réglés et en nettoyant intelligemment le bruit. Le

Lire la suite »
CyberGhost VPN 6.0.4.2205

CyberGhost VPN 6.0.4.2205

Auteur janvier 31, 2017 4

CyberGhost pour profiter d’un surf en ligne protégé contre les pirates, la surveillance de masse et le suivi du comportement en ligne. Ce logiciel permet de changer virtuellement d’adresse IP et de localisation géographique.

Lire la suite »
TrackID – Reconn. musicale v4.5.C.1.11

TrackID – Reconn. musicale v4.5.C.1.11

Auteur janvier 29, 2017 0

TrackID est une application qui, en suivant le même principe que d’autres programmes plus connus comme Shazam, vous permettant d’identifier n’importe quelle chanson qui joue à un moment ou à un autre, simplement en

Lire la suite »
`),this.#I()})).catch((t=>{if(t&&this.#r.error(t),t&&this.#o&&!this.#S)return this.#r.debug("fetch call failed. Switch to adblck domain and path"),this.#S=!0,this.#s.enableAdbMode(),void this.show();this.#n(St)}))}#I(){this.#r.debug("render"),this.#k.render(this.#y)}#C(t){let e=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#o,r=`/${st("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${r}`}return e+=`?r=${this.#l}`,this.#m&&(e+="&rbd=1"),this.#b&&(e+=this.#b),e=e+"&atag=1"+`&czid=${this.#d}`+`&aggr=${this.#h}`+`&seqid=${t}`+`&ufp=${encodeURIComponent(this.#T)}`+`&srs=${this.#s.getSesionRandomString()}`+`&cbpage=${encodeURIComponent(L())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(D())}`,this.#o&&(e+="&abtg=1"),this.#g&&(e+="&ppv=1"),this.#p&&(e+=`&ab_test=${this.#p}`),!1===this.#f&&(e+="&cap=0"),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}`),ot(e)):(this.#r.debug(`bid url: ${e}`),e)}};const _t=6e5,Vt='[doskip*="1"]',Wt="znid";var qt=class{targetElementsCssSelector=null;shouldTriggerPopOnTargetClick=!1;constructor(t,e,r){this.targetElementsCssSelector=t,this.shouldTriggerPopOnTargetClick=e,this.zoneId=r}isPresent(){return!!this.targetElementsCssSelector}isActionAllowedOnElement(t){if(!this.isPresent())return!0;if(t.hasAttribute(Wt))return t.getAttribute(Wt)===this.zoneId;if(t.hasAttribute("doskip"))return!1;const e=m()(document.querySelectorAll(Vt));for(const r of e)if(r.contains(t))return!1;return this.#O(t)?this.shouldTriggerPopOnTargetClick:!this.shouldTriggerPopOnTargetClick}#O(t){const e=document.querySelectorAll(this.targetElementsCssSelector);do{for(let r=0;r{var t,e,r;const i=(t,e)=>{try{const r=e.getBoundingClientRect();t.style.top=`${r.top+window.scrollY}px`,t.style.left=`${r.left+window.scrollX}px`,t.style.width=`${r.width}px`,t.style.height=`${r.height}px`}catch(t){}};n()(t=this.iframesToOverlays).call(t,(t=>{let{overlay:e,iframe:r}=t;return i(e,r)})),n()(e=this.videosToOverlays).call(e,(t=>{let{overlay:e,video:r}=t;return i(e,r)})),n()(r=this.anchorsToOverlays).call(r,(t=>{let{overlay:e,anchor:r}=t;return i(e,r)}))}),500)}clearOverlaysResizeIntervalChecker(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(t){}}#R(t){const e=document.createElement("div");if(e.addEventListener("mousedown",(t=>{this.#r.debug("mousedown on overlay"),t.stopPropagation(),t.preventDefault(),this.desktopClickListener(t)}),this.#E),t===document.body)e.id="dontfoid",e.style.top="0px",e.style.left="0px",e.style.width=`${window.innerWidth||document.body.clientWidth}px`,e.style.height=`${window.innerHeight||document.body.clientHeight}px`,e.style.position="fixed";else{const r=t.getBoundingClientRect();e.style.top=`${r.top+window.scrollY}px`,e.style.left=`${r.left+window.scrollX}px`,e.style.width=`${r.width}px`,e.style.height=`${r.height}px`,e.style.position="absolute",e.setAttribute("donto","")}return e.setAttribute(Wt,this.#l),e.style.zIndex=2147483647,e.style.backgroundColor="transparent",t===document.body?document.body.appendChild(e):t.parentNode.appendChild(e),e}attachVideoOverlays(){const t=document.querySelectorAll("video");for(let e=0;e false"),this.#E=!1),this.overlays=new Zt(this.elementTargeting,v()(e=this.#z).call(e,this),this.#r,this.#e.zoneId,this.#E),t.tagVersionSuffix&&(this.#x+=t.tagVersionSuffix),this.#r.debug("tag version:",this.#x)}show(){this.#y=null,this.#$=null,this.#P=!1,fetch(this.#C()).then((t=>200===t.status||202===t.status?t.json():(204===t.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)),E().reject()))).then(lt).then((t=>{if(this.#r.debug("response:",t),t.capped_ttl)return this.isCapped=!0,this.#r.debug(`capped! reset after ${t.capped_ttl} sec`),f()((()=>{this.isCapped=!1}),1e3*t.capped_ttl),void this.#e.actionCallback(At);if(this.#w>12&&(this.#w=12),!this.#m){this.#m=!0;const e=t.delay??0;return this.#r.debug("delay is",e),void f()((()=>{this.#F(t)}),1e3*e)}this.#F(t)})).catch((t=>{if(t&&this.#r.error(t),t&&this.#e.adblockSettings&&!this.#S)return this.#r.debug("fetch call failed. Switch to adblck domain and path"),this.#s.enableAdbMode(),this.#S=!0,void this.show();this.#e.actionCallback(At)}))}#C(){let t=`${window.location.protocol}//${this.#e.adserverDomain}/script/suurl5.php`;if(this.#e.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#e.adblockSettings,r=`/${st("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${r}`}if(t+=`?r=${this.#e.zoneId}`,this.#m&&(t+="&rbd=1"),this.#e.targetCountries){const e=this.#e.targetCountries.join(",");this.#e.triggerOnTargetCountries?t+="&allowed_countries="+encodeURIComponent(e):t+="&excluded_countries="+encodeURIComponent(e)}return t=t+this.#e.clientHintsQueryStr+"&atag=1&cbur="+Math.random()+"&cbiframe="+z()+"&cbWidth="+N()+"&cbHeight="+B()+"&cbtitle="+encodeURIComponent(H())+"&cbpage="+encodeURIComponent(L())+"&cbref="+encodeURIComponent(D())+"&cbdescription="+encodeURIComponent(j("description"))+"&cbkeywords="+encodeURIComponent(j("keywords"))+"&cbcdn="+encodeURIComponent(this.#s.getCdnDomain())+"&ts="+xt()()+"&atv="+this.#x+"&ufp="+encodeURIComponent(this.#e.uniqueFingerprint)+"&srs="+this.#s.getSesionRandomString(),this.#e.adblockSettings&&(t+="&abtg=1"),this.#e.aggressivity&&(t+=`&aggr=${this.#e.aggressivity}`),this.#e.collectiveZoneId&&(t+=`&czid=${this.#e.collectiveZoneId}`),this.#e.recordPageView&&(t+="&ppv=1"),this.#e.abTest&&(t+=`&ab_test=${this.#e.abTest}`),!1===this.#e.adsCapping&&(t+="&cap=0"),this.#e.adblockSettings&&this.#e.adblockSettings.adbVersion&&(t+=`&adbv=${this.#e.adblockSettings.adbVersion}`),this.#e.adblockSettings&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=suv5",this.#r.debug(`bid url: ${t}`),ot(t)):(this.#r.debug(`bid url: ${t}`),t)}#U(t){try{let e=this.#L?this.#L(""):window.open("");return e.document.open(),e.document.writeln(' `),void(!this.#m&&this.#e.delay>0?(this.#r.debug(`delay present. render after: ${this.#e.delay} sec`),f()(v()(s=this.#I).call(s,this),1e3*this.#e.delay)):this.#I())))}#Ot(t){this.#r.debug("fallback script str:",t);const e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return void this.#r.error("invalid fallback script. move on");this.#r.debug("fallback script:",e);const r=document.createElement("script");for(const t of e.attributes)r.setAttribute(t.name,t.value);r.src||(r.textContent=e.textContent),document.body.appendChild(r)}#It(t){this.#r.debug("hp data:",t);const e={zoneId:t.pop_zone_id.toString(),linkedZoneId:t.source_zone_id.toString()};var r;t.attributes&&(t.attributes["element-list"]&&(e.targetElementsCssSelector=t.attributes["element-list"],e.triggerOnTargetElementsClick="allow"===t.attributes["element-action"]),t.attributes["country-list"]&&(e.targetCountries=ne()(r=t.attributes["country-list"]).call(r).split(","),e.triggerOnTargetCountries="allow"===t.attributes["country-action"])),this.#s.runPop(e)}#n(){if(this.#e.showOnInnerLinkClick&&this.#Ct)return this.#r.debug("redirect to inner link"),void(window.location.href=this.#Ct);this.#Tt=!1,this.#e.refreshRate>0?(this.#r.debug(`rebid after ${this.#e.refreshRate} sec`),f()((()=>{this.#m=!0,this.#ft()}),1e3*this.#e.refreshRate)):this.#r.debug("no rebidding. finish")}#Et(){const t=document.querySelectorAll("a"),e=new(c())(L()).hostname;for(let r=0;r{e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,this.#Tt||(this.#r.debug("click on inner link detected. render ad"),this.#Tt=!0,this.#Ct=t[r].href,this.#k.render(this.#y))}),{capture:!0})}#I(){this.#r.debug("render"),this.#e.showOnInnerLinkClick?(this.#r.debug("google friendly interstitial. ad will be rendered on inner link click"),this.#Et()):this.#k.render(this.#y)}#C(){let t=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,r=`/${st("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${r}`}return t+=`?r=${this.#l}`,this.#m&&(t+="&rbd=1"),this.#b&&(t+=this.#b),t=t+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#T)}`+`&cbpage=${encodeURIComponent(L())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(D())}`,this.#kt&&(t+=`&sub1=${encodeURIComponent(this.#kt)}`),this.#St&&(t+="&atag=1"),this.#d&&(t+=`&czid=${this.#d}`),this.#At&&(t+=`&pblcz=${this.#At}`),this.#h&&(t+=`&aggr=${this.#h}`),this.#o&&(t+="&abtg=1"),this.#g&&(t+="&ppv=1"),this.#p&&(t+=`&ab_test=${this.#p}`),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}`),ot(t)):(this.#r.debug(`bid url: ${t}`),t)}};const ae="#399afe";const ce="inpageclick",le="inpageclose",ue="utsid-send";class de extends HTMLElement{#Rt;constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.click=t=>{t.stopPropagation();const e=new CustomEvent(ce,{bubbles:!0});this.dispatchEvent(e)},this.close=t=>{t.stopPropagation();const e=new CustomEvent(le,{bubbles:!0});this.dispatchEvent(e)},this.missclick=()=>{document.dispatchEvent(new CustomEvent("in-page-missclick"))}}connectedCallback(){const t=document.querySelectorAll("in-page-message");let e=0,r="top";for(let r=0;r{const e=document.createElement("div");e.id=`note-${t.id}`,e.style[t.position]=`${t.offset}px`,e.style.fontFamily='-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif',e.style.fontWeight="400",e.style.fontSize="16px",e.style.lineHeight="1.3",e.style.position="fixed",e.style.right="0",e.style.letterSpacing="-0.31em",e.style.textRendering="optimizespeed",e.style.display="flex",e.style.webkitBoxOrient="horizontal",e.style.webkitBoxDirection="normal",e.style.msFlexFlow="row wrap",e.style.alignContent="flex-start",e.style.alignItems="center",e.style.cursor="pointer",e.style.transition="padding-right 0.1s, top 0.3s",e.style.overflow="hidden",e.style.zIndex="2147483645",e.style.wordWrap="break-word",e.style.width="380px",e.style.paddingTop="20px";const r=()=>{window.innerWidth<380?e.style.width="100%":e.style.width="380px"};r();const i=document.createElement("div");i.style.margin="5px",i.style.borderRadius="55px",i.style.position="relative",i.style.background=ae,i.style.color="#ffffff",i.style.width="70%",i.style.textAlign="center",i.style.height="100px",i.style.justifyContent="center",i.style.display="flex",i.style.alignItems="center";const n=document.createElement("p");n.style.width="90%",n.style.padding="2%",n.style.fontSize="0.9em",n.style.display="inline-block",n.style.letterSpacing="normal",n.style.wordSpacing="normal",n.style.verticalAlign="middle",n.style.textRendering="auto",n.style.textAlign="center";const s=document.createElement("b");s.textContent=t.dataTitle;const o=document.createElement("br"),a=document.createTextNode(t.dataDescription),c=document.createElement("img");c.classList.add("graph"),c.src=t.dataIcon,c.alt="graph",c.style.width="76px",c.style.height="76px",c.style.boxSizing="border-box",c.style.borderRadius="50%",c.style.position="relative",c.style.marginLeft="2%",c.style.border=`4px solid ${ae}`,c.style.display="inline-block",c.style.letterSpacing="normal",c.style.wordSpacing="normal",c.style.verticalAlign="middle",c.style.textRendering="auto",c.style.textAlign="center";const l=document.createElement("div");l.id=`missclick-${t.id}`,l.style.right="0",l.style.top="0",l.style.height="100%",l.style.width=`${t.widthOfMissclickArea}px`,l.style.zIndex="2",l.style.position="absolute",l.style.alignItems="start",l.style.justifyContent="center",l.style.display="flex";const u=document.createElement("div");return u.id=`close-${t.id}`,u.innerHTML="✕",u.style.fontSize="20px",u.style.marginTop="10px",u.style.zIndex="23",u.style.display="inline-block",u.style.width="24px",u.style.height="24px",u.style.background="transparent",u.style.textAlign="center",u.style.color="#a6a0a7",u.style.letterSpacing="normal",u.style.wordSpacing="normal",u.style.verticalAlign="middle",u.style.textRendering="auto",u.onmouseover=()=>{u.style.background="#a0a0ff"},u.onmouseout=()=>{u.style.background="transparent"},n.appendChild(s),n.appendChild(o),n.appendChild(a),i.appendChild(n),l.appendChild(u),e.appendChild(i),e.appendChild(c),e.appendChild(l),{content:e,resizeFunc:r}})({id:this.getAttribute("id"),position:r,offset:e,dataTitle:this.getAttribute("data-title"),dataDescription:this.getAttribute("data-description"),dataIcon:this.getAttribute("data-icon"),notePaddingRightStyleRaw:"",widthOfMissclickArea:50});this.shadowRoot.appendChild(o.content),this.#Rt=o.resizeFunc;const a=this.shadowRoot.getElementById(`note-${this.getAttribute("id")}`),c=this.shadowRoot.getElementById(`close-${this.getAttribute("id")}`),l=this.shadowRoot.getElementById(`missclick-${this.getAttribute("id")}`);if(this.hasAttribute("data-imp-link")){let t=this.getAttribute("data-imp-link");window[ue]&&(t+=`&utsid=${window[ue]}`),t+=`&cbpage=${encodeURIComponent(L())}`,t+=`&cbref=${encodeURIComponent(D())}`;const e=document.createElement("img");e.src=t.toString(),e.style.display="none",e.width=0,e.height=0,a.appendChild(e)}R(a,"click",this.click),R(c,"click",this.close),R(l,"click",this.missclick)}resize(){this.#Rt&&this.#Rt()}}var he=de,ge=class{#e={};#r;#s;#b="";#Pt;#m=!1;#$t=!1;#x="60.0";#Lt=[];#zt=null;#ht=10;#S=!1;constructor(t){this.#r=new y(`ipp_new_${t.zoneId}`),this.#r.debug("init ipp with config:",t),this.#e=t,this.#s=window[t.adcashGlobalName],customElements.get("in-page-message")||customElements.define("in-page-message",he),t.tagVersionSuffix&&(this.#x+=t.tagVersionSuffix),R(window,"resize",(()=>{var t;n()(t=this.#Lt).call(t,(t=>{let{htmlElement:e}=t;e&&e.resize()}))})),this.#s.getClientHints(!1).then((t=>{this.#b=t})).finally((()=>{f()((()=>{this.#ft()}),1e3*this.#e.delay)}))}#C(){let t=`${window.location.protocol}//${this.#e.adserverDomain}/script/push.php`;if(this.#e.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#e.adblockSettings,r=`/${st("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${r}`}return t+=`?r=${this.#e.zoneId}&ipp=1`,this.#Pt=it?this.#e.renderPosMobile:this.#e.renderPosDesktop,t+=`&mads=${this.#e.maxAds}&position=${this.#Pt}`,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.linkedZoneId&&(t+=`&pblcz=${this.#e.linkedZoneId}`),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(L())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(D())}`,this.#b&&(t+=this.#b),this.#zt&&(t+="&ipptr=1"),this.#e.adblockSettings&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=ippg",this.#r.debug(`bid url: ${t}`),ot(t)):(this.#r.debug(`bid url: ${t}`),t)}#Ft(t){var e;this.#r.debug(`rebid after ${t} sec`),f()(v()(e=this.#ft).call(e,this),1e3*t)}#Ut(){this.#e.refreshRate>0&&this.#Ft(this.#e.refreshRate)}#bt(){this.#ht<1200&&(this.#ht*=2)}#mt(){this.#ht=10}#Nt(){this.#Ft(this.#ht),this.#bt()}async#ft(){if(this.#Bt()>=this.#e.maxAds||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return this.#r.debug("max ads reached or fullscreen."),void this.#Ut();let t,e;try{if(t=await fetch(this.#C()),!t.ok)throw new Error(`HTTP error! Status: ${t.status}`)}catch(t){return this.#r.error(t),this.#e.adblockSettings&&!this.#S?(this.#r.debug("fetch failed. adb present - switch to adb mode"),this.#S=!0,this.#s.enableAdbMode(),void this.#ft()):this.#s.isAdbMode()?void this.#r.debug("fetch failed with adb mode on. exit"):void this.#Nt()}return 204===t.status?(this.#r.debug("unsold inventory!"),this.#m=!0,void this.#Nt()):200!==t.status&&202!==t.status?(this.#r.error(`response status ${t.status} not recognised!`),void this.#Nt()):(this.#m=!0,e=await t.json(),e=lt(e),this.#r.debug("response data:",e),202===t.status?(e.hp&&this.#Ht(e.hp),e.capped_ttl?(this.#r.debug("capped!"),void this.#Ft(e.capped_ttl)):void this.#Nt()):(e.hp&&this.#Ht(e.hp),e.fallback?this.#Ot(e.fallback)?void this.#r.debug("fallback rendered. exit!"):void this.#Nt():(this.#mt(),this.#e.refreshRate=e.rr,this.#b&&(e.impression_url&&(e.impression_url+=this.#b),e.click_url&&(e.click_url+=this.#b)),2===e.type?this.#zt?this.#r.debug("custom ipp html already present"):this.#Dt({script:e.script||"",link:e.click_url,impressionLink:e.impression_url||null}):(this.#Lt.push({title:e.title||"",description:e.description||"",icon:e.icon||e.image,link:e.click_url,impressionLink:e.impression_url||null}),this.#jt()),void this.#Ut())))}#Bt(){return this.#zt?this.#Lt.length+1:this.#Lt.length}#Ot(t){this.#r.debug("fallback script str decoded:",t);const e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return this.#r.error("invalid fallback script. move on"),!1;this.#r.debug("fallback script:",e);const r=document.createElement("script");for(const t of e.attributes)r.setAttribute(t.name,t.value);return r.src||(r.textContent=e.textContent),document.body.appendChild(r),!0}#Ht(t){if(this.#$t)return void this.#r.debug("hp already attached");if(this.#e.isAutoTag)return void this.#r.debug("hp not allowed when autotag");this.#$t=!0,this.#r.debug("attach hp. hp data:",t);const e={zoneId:t.pop_zone_id.toString(),linkedZoneId:t.source_zone_id.toString(),isHPop:!0};var r;t.attributes&&(t.attributes["element-list"]&&(e.targetElementsCssSelector=t.attributes["element-list"],e.triggerOnTargetElementsClick="allow"===t.attributes["element-action"]),t.attributes["country-list"]&&(e.targetCountries=ne()(r=t.attributes["country-list"]).call(r).split(","),e.triggerOnTargetCountries="allow"===t.attributes["country-action"])),this.#s.runPop(e)}#Dt(t){this.#zt=t;const e=(new DOMParser).parseFromString(this.#zt.script,"text/html").querySelector("script"),r=document.createElement("script");if(e)for(const t of e.attributes)r.setAttribute(t.name,t.value);r.src||(r.innerText=e.innerText);const i=()=>{this.#r.debug("CT-CLICK"),fetch(this.#zt.link,{mode:"no-cors"}),document.removeEventListener("ct-click",i)},n=()=>{this.#r.debug("CT-CLOSE"),document.removeEventListener("ct-click",i),document.removeEventListener("ct-close",n),this.#zt=null,document.body.removeChild(r)};R(document,"ct-click",i),R(document,"ct-close",n);let s=this.#zt.impressionLink;window[ue]&&(s+=`&utsid=${window[ue]}`),s+=`&cbpage=${encodeURIComponent(L())}`,s+=`&cbref=${encodeURIComponent(D())}`,(async()=>{try{await fetch(s.toString())}catch(t){return this.#r.debug(t),void(this.#e.adblockSettings&&!this.#s.isAdbMode()&&(this.#r.debug("imp failed: try alt domain and path"),this.#s.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))})(),r.onerror=()=>{this.#r.debug("custom html script failed to load"),this.#zt=null},document.body.appendChild(r)}#jt(){var t,e;this.#r.debug("drawing.."),n()(t=this.#Lt).call(t,(t=>{let{htmlElement:e}=t;e&&e.remove()})),n()(e=this.#Lt).call(e,((t,e)=>{const r=document.createElement("in-page-message");r.setAttribute("doskip","1"),r.setAttribute("id",e.toString()),r.setAttribute("data-icon",t.icon),r.setAttribute("data-title",t.title),r.setAttribute("data-description",t.description),r.setAttribute("data-offset-top",this.#e.offsetTop),r.setAttribute("data-render-pos-desktop",this.#e.renderPosDesktop),r.setAttribute("data-render-pos-mobile",this.#e.renderPosMobile),t.impressionLink&&(r.setAttribute("data-imp-link",t.impressionLink),t.impressionLink=null,document.dispatchEvent(new CustomEvent("impression-event"))),r.addEventListener(ce,(()=>{var i;if(it||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{}r.remove(),h()(i=this.#Lt).call(i,e,1),this.#jt()})),r.addEventListener(le,(()=>{var t;r.remove(),h()(t=this.#Lt).call(t,e,1),this.#jt()})),t.htmlElement=r,document.body.appendChild(r)}))}},fe=r(111),pe=r.n(fe),ve=r(8607),be=r.n(ve),me=class{#s;#e={};#r;#Mt="";#_t;#l=null;#Vt=null;#Wt=null;#qt=null;#Zt;#Gt;#v="youradexchange.com";#Qt="velocecdn.com";#Kt;#o;#S=!1;#x="60.0";constructor(t){this.#r=new y(`banner_${t.zoneId}`),this.#s=window[t.adcashGlobalName],this.#r.debug("init banner with config:",t),this.#e=t,this.#l=this.#e.zoneId,this.#Vt=this.#e.width,this.#Wt=this.#e.height,this.#qt=this.#e.renderIn,this.#o=this.#e.adblockSettings,this.#e.currentScript&&(this.#Kt=this.#e.currentScript),this.#Zt=this.#Gt=document.body.clientWidth||window.innerWidth,t.tagVersionSuffix&&(this.#x+=t.tagVersionSuffix),this.#r.debug("tag version:",this.#x),this.#Jt()}#Yt(){const t=this.#_t.impression_url;(new Image).src=t}async#Jt(){this.#r.debug("get initial ad and config"),this.#Mt=await $(this.#r);const t=await this.#Xt();let e;this.#r.debug("URL to fetch",t);try{e=await fetch(t)}catch(t){return this.#r.error(t),this.#o&&!this.#S?(this.#r.debug("fetch failed: try alt domain and path"),this.#S=!0,this.#s.enableAdbMode(),void this.#Jt()):this.#s.isAdbMode()?void this.#r.debug("fetch failed: alt domain and path blocked. exit"):void this.#r.debug("fetch failed. exit")}if(200===e.status||202===e.status){this.#r.debug("initial fetch received 200 or 202");const t=await e.json();this.#_t=lt(t),this.#te()}else 204===e.status&&this.#r.debug("initial fetch received 204. No inventory")}async#Xt(){let t=`${window.location.protocol}//${this.#v}/script/banner.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,r=`/${st("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${r}`}return t+=`?r=${this.#l}`,t+=`&cbpage=${encodeURIComponent(L())}`,t+=`&cbref=${encodeURIComponent(D())}`,t+=`&cbdescription=${encodeURIComponent(j("description"))}`,t+=`&cbkeywords=${encodeURIComponent(j("keywords"))}`,t+=`&cbtitle=${encodeURIComponent(H())}`,t+=`&srs=${U()}`,t+=`&ufp=${encodeURIComponent(this.#e.uniqueFingerprint)}`,t+=`&atv=${this.#x}`,this.#e.sub1&&(t+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#o&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=bnr",ot(t)):t}#te(){if(!this.#_t||"undefined"===this.#_t)return;if(this.#_t.hp&&(this.#ee(this.#_t.hp),1===pe()(this.#_t).length))return;let t;t=this.#qt?document.querySelector(this.#qt):this.#e.currentElement?this.#e.currentElement:this.#Kt.parentElement,this.#re(t);const e=this.#ie();t.appendChild(e)}#ie(){let t;return this.#_t.fallback?(this.#r.debug("Banner type - fallback"),t=this.#ne()):1===this.#_t.render_image?(this.#r.debug("Banner type - image"),t=this.#se()):(this.#r.debug("Banner type - html"),t=this.#oe()),this.#_t.fallback||this.#Yt(),this.#s||this.#ae(),t}#se(){const t=document.createElement("a");t.href=this.#_t.click_url,t.target="_blank",t.rel="noopener, noreferrer",t.style.display="block",t.style.width=`${this.#Vt?this.#Vt:this.#_t.width}px`,t.style.height=`${this.#Wt?this.#Wt:this.#_t.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(Dt,"1");const e=document.createElement("img");if(e.src=this.#_t.image_url,e.target="_blank",e.width=this.#Vt?this.#Vt:this.#_t.width,e.height=this.#Wt?this.#Wt:this.#_t.height,this.#_t.width>this.#Zt&&this.#_t.force_resize){const r=(this.#Vt?this.#Vt:this.#_t.width)/this.#Gt;t.style.width=`${this.#Gt}px`,t.style.height=`${Math.round((this.#Wt?this.#Wt:this.#_t.height)/r)}px`,e.style="max-width: 100%;",e.width=this.#Gt,e.height=Math.round((this.#Wt?this.#Wt:this.#_t.height)/r)}return t.appendChild(e),t}#oe(){const t=`banner_${this.#l}`,e=document.createElement("div");e.id=t,e.style.display="block",e.style.width=`${this.#Vt?this.#Vt:this.#_t.width}px`,e.style.height=`${this.#Wt?this.#Wt:this.#_t.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.#Vt?this.#Vt:this.#_t.width,e.height=this.#Wt?this.#Wt:this.#_t.height,e.setAttribute("doskip","1"),e.setAttribute(Dt,"1"),this.#ce(e,this.#_t.html);const r=()=>{this.#r.debug("click recorded:",this.#_t.click_url),(new Image).src=this.#_t.click_url,n()},i=()=>{this.#r.debug("click on divNode"),r()},n=()=>{e.removeEventListener("click",i),clearInterval(s)};e.addEventListener("click",i);const s=u()((()=>{document.activeElement&&"IFRAME"===document.activeElement.tagName&&((t,e)=>{let r=t.parentElement;for(;r;){if(r.id===e)return r;r=r.parentElement}return null})(document.activeElement,t)&&(this.#r.debug("click on iframe"),r())}),200);return e}#ce(t,e){var r;t.innerHTML=e,n()(r=m()(t.querySelectorAll("script"))).call(r,(t=>{var e;const r=document.createElement("script");n()(e=m()(t.attributes)).call(e,(t=>{r.setAttribute(t.name,t.value)}));const i=document.createTextNode(t.innerHTML);r.appendChild(i),t.parentNode.replaceChild(r,t)}))}#ne(){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.#Vt?this.#Vt:this.#_t.width}px`,e.style.height=`${this.#Wt?this.#Wt:this.#_t.height}px`,e.width=this.#Vt?this.#Vt:this.#_t.width,e.height=this.#Wt?this.#Wt:this.#_t.height,e.scrolling="no",e.vspace="0",e.hspace="0",e.allowtransparency="true",e.allowfullscreen="true",e.srcdoc=this.#_t.fallback,e}#ee=t=>{if(this.#s){const r={zoneId:t.pop_zone_id.toString(),linkedZoneId:t.source_zone_id.toString()};var e;return 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=ne()(e=t.attributes["country-list"]).call(e).split(","),r.triggerOnTargetCountries="allow"===t.attributes["country-action"])),void this.#s.runPop(r)}const r=document.createElement("script");var i;r.type="text/javascript",r.src=`//${this.#Qt}/script/suv4.js`,r.setAttribute("zid",t.pop_zone_id),r.setAttribute("lpzi",t.source_zone_id),r.setAttribute("data-adel","lwsu"),r.setAttribute("adlm","ipvipplm"),t.attributes&&n()(i=pe()(t.attributes)).call(i,(e=>{r.setAttribute(e,t.attributes[e])})),document.body.appendChild(r)};#re(t){if(this.#r.debug("Initial viewport:",this.#Zt),this.#_t.width>this.#Zt&&this.#_t.force_resize){var e=window.getComputedStyle(t),r=be()(e.paddingLeft),i=be()(e.marginLeft);this.#Gt=t.clientWidth-r-i,this.#r.debug("Parent element width:",this.#Gt)}}#ae(){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.#_t.bot_link,document.body.appendChild(t)}};const ye="x4G9Tq2Kw6R7v1Dy3P0B5N8Lc9M2zF",we="adblock-settings",xe=(()=>{let t=document.currentScript;return t||(t=document.getElementById("aclib")),t||(t=document.getElementById("adcash-lib")),t})();let ke=null;var Se=class{#Qt;#le={pop:!1,autoTag:!1,inPagePush:!1,interstitial:!1};#ue;#b;#de=new(e());#r;#he;#ge={mousedown:[],click:[],touchstart:[]};#fe={mousedown:[],scroll:[],click:[],touchstart:[]};#v="youradexchange.com";#x="60.0";#o=null;#pe;#ve;#be=!1;isShowingPop=!1;#T;constructor(){if(ke)return ke;ke=this,this.#r=new y("aclib_adbl"),window.addEventListener("mousedown",(t=>{var e;this.#r.debug("win mousedown with capture: in"),n()(e=this.#ge.mousedown).call(e,(e=>{this.#r.debug("win mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("mousedown",(t=>{var e;this.#r.debug("win mousedown: in"),n()(e=this.#fe.mousedown).call(e,(e=>{this.#r.debug("win mousedown: calling observer"),e.callback(t)}))}),!1),window.addEventListener("click",(t=>{var e;this.#r.debug("win click with capture: in"),n()(e=this.#ge.click).call(e,(e=>{this.#r.debug("win click with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("click",(t=>{var e;this.#r.debug("win click: in"),n()(e=this.#fe.click).call(e,(e=>{this.#r.debug("win click: calling observer"),e.callback(t)}))}),!1),document.addEventListener("mousedown",(t=>{var e;this.#r.debug("doc mousedown: in"),n()(e=this.#fe.mousedown).call(e,(e=>{this.#r.debug("doc mousedown: calling observer"),e.callback(t)}))})),document.addEventListener("mousedown",(t=>{var e;this.#r.debug("doc mousedown with capture: in"),n()(e=this.#ge.mousedown).call(e,(e=>{this.#r.debug("doc mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("scroll",(t=>{var e;n()(e=this.#fe.scroll).call(e,(e=>{e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#r.debug("doc click: in"),n()(e=this.#fe.click).call(e,(e=>{this.#r.debug("doc click: calling observer"),e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#r.debug("doc click with capture: in"),n()(e=this.#ge.click).call(e,(e=>{this.#r.debug("doc click with capture: calling observer"),e.callback(t)}))}),!0),this.getClientHints(),this.#ve=U(),this.#pe=(()=>{const t=Math.floor(11*Math.random())+5;let e="";for(let r=0;r{window[e]&&window[e]===t||(window[e]=t)}),500)}#ke(){this.#he&&(clearInterval(this.#he),this.#he=null)}subscribe(t,e,r){if(!this.#ge[t]||!this.#fe[t])throw new Error(`${t} is not observable!`);r?this.#ge[t].push(e):this.#fe[t].push(e)}unsubscribe(t,e,r){if(!this.#ge[t]||!this.#fe[t])throw new Error(`${t} is not observable!`);if(r)for(let r=0;r{const e=document.createElement("link");e.rel="dns-prefetch",e.href=`//${t}`,document.head.appendChild(e)}))}f()(v()(t=this.#me).call(t,this),100)}getZoneIds(){return m()(this.#de)}runPop(t){this.#xe();const{zoneId:e,refreshRate:r,delay:i,targetElementsCssSelector:n,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:k,linkedZoneId:S,abTest:A,tagVersionSuffix:T}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!mt(e))throw new Error("zoneId is not a string!");if(void 0!==r&&(!bt(r)||r<0))throw new Error("refreshRate is not an integer or is less than zero");if(void 0!==i&&(!bt(i)||i<0))throw new Error("delay is not an integer or is less than zero");if(void 0!==n){if(!mt(n))throw new Error("targetElementsCssSelector is not a string");if(!(t=>{try{document.createDocumentFragment().querySelector(t)}catch{return!1}return!0})(n))throw new Error("targetElementsCssSelector is not a valid css selector");if(!vt(s))throw new Error("triggerOnTargetElementsClick is not a boolean")}if(void 0!==o){if(!(t=>{if(!gt()(t))return!1;if(0===t.length)return!1;for(let e=0;e0&&p<10&&(p<5?p*=60:p=30),new ge({zoneId:e,refreshRate:p??60,delay:r??0,maxAds:i??1,renderPosDesktop:n??"top",renderPosMobile:s??"top",offsetTop:o??0,sub1:a,isAutoTag:c,linkedZoneId:l,collectiveZoneId:u,aggressivity:d,recordPageView:h,abTest:g,tagVersionSuffix:f,adserverDomain:this.#v,adblockSettings:this.#o,adcashGlobalName:this.#pe,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T})}runBanner(t){this.#xe();const{zoneId:e,width:r,height:i,renderIn:n,sub1:s,currentScript:o}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!mt(e))throw new Error("zoneId is not a string!");if(void 0!==r&&!bt(r))throw new Error("Banner width is not an integer");if(void 0!==i&&!bt(i))throw new Error("Banner height is not an integer");if(this.#de.has(e))return void this.#r.error(`zone ${e} already loaded`);let a;this.#de.add(e),this.#r.debug("loading banner on page",e),n||(document.currentScript&&document.currentScript.parentElement&&(a=document.currentScript.parentElement),o&&(a=o.parentElement)),new me({zoneId:e,width:r,height:i,renderIn:n,currentElement:a,sub1:s,adcashGlobalName:this.#pe,uniqueFingerprint:this.#T,adblockSettings:this.#o})}runInterstitial(t){if(this.#le.interstitial)return void this.#r.error("interstitial zone already loaded on page");this.#le.interstitial=!0,this.#xe();const{zoneId:e,sub1:r,isAutoTag:i,linkedZoneId:n,collectiveZoneId:s,aggressivity:o,recordPageView:a,abTest:c,tagVersionSuffix:l}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!mt(e))throw new Error("zoneId is not a string!");this.#r.debug("loading interstitial on page");const u={zoneId:e,sub1:r,isAutoTag:i,linkedZoneId:n,collectiveZoneId:s,aggressivity:o,recordPageView:a,abTest:c,tagVersionSuffix:l,adcashGlobalName:this.#pe,adserverDomain:this.#v,adblockSettings:this.#o,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T};this.#de.add(e),new oe(u)}async#Se(t){let e=!(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 t=`/${st("abcdefgh0123456789")}`;r=`${window.location.protocol}//${this.#o.adserverDomain}${t}`}r+=`?cz=${t}`,r+=`&atv=${this.#x}`;const i=await this.getClientHints();let n;i&&(r+=i),this.isAdbMode()&&(r+="&sadbl=2",r+="&fmt=atg",r=ot(r)),this.#r.debug("collective zone config url: ",r);try{n=await fetch(r)}catch(r){return this.#r.error(r),this.#o&&e?(this.#r.debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),this.#Se(t,!1)):null}return 200!==n.status?null:(n=await n.json(),lt(n))}async runAutoTag(t){if(this.#le.autoTag)return void this.#r.error("autotag zone already loaded on page");this.#le.autoTag=!0,this.#xe();const e=t.zoneId;if(!e)throw new Error("mandatory zoneId is not provided!");if(!mt(e))throw new Error("zoneId is not a string!");const r=await this.#Se(e);if(r)if(this.#r.debug("collective zone config:",r),r.rotationList)this.#r.debug("running in ROTATION MODE"),this.#de.add(e),new Kt({adcashGlobalName:this.#pe,collectiveZoneConfig:r,adserverDomain:this.#v,adblockSettings:this.#o,clientHintsQueryStr:this.#b,tagVersionSuffix:t.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T});else{this.#r.debug("running in NORMAL MODE");const i=r.indexedFormats;let n=!0;for(const s in i){switch(s){case"suv4":case"pop":this.runPop({zoneId:i[s].zoneId.toString(),targetElementsCssSelector:i[s]["element-list"],triggerOnTargetElementsClick:"allow"===i[s]["element-action"],targetCountries:i[s]["country-list"],triggerOnTargetCountries:"allow"===i[s]["country-action"],isAutoTag:!0,collectiveZoneId:e,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:n,tagVersionSuffix:t.tagVersionSuffix});break;case"interstitial":this.runInterstitial({zoneId:i[s].zoneId.toString(),isAutoTag:!0,collectiveZoneId:e,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:n,tagVersionSuffix:t.tagVersionSuffix});break;case"ippg":this.runInPagePush({zoneId:i[s].zoneId.toString(),refreshRate:i[s].rr,delay:i[s].d,maxAds:i[s].mads,renderPosDesktop:i[s]["render-pos-desktop"],renderPosMobile:i[s]["render-pos-mobile"],offsetTop:i[s]["offset-top"],isAutoTag:!0,collectiveZoneId:e,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:n,tagVersionSuffix:t.tagVersionSuffix});break;default:this.#r.error(`ad format type not recognised from collective zone config. adformat.type: ${s}; czid: ${e}`)}n=!1}}else this.#r.error(`failed to fetch collective zone config! czid: ${e}`)}};const Ae=new y("aclib_adblock_index");window.Adcash?Ae.debug("lib already on page. exit"):(Ae.debug("load lib on page"),window.Adcash=Se,window.AtcshAltNm=Se,window.aclib=new Se)}()}();