!function(e){function t(t){for(var n,r,o=t[0],s=t[1],c=0,d=[];cnull!=e&&"object"==typeof e,r=e=>i(e)&&!Array.isArray(e),o=e=>Array.isArray(e),s=e=>"string"==typeof e,c=e=>"number"==typeof e&&e==e,a=e=>"number"==typeof e&&isNaN(e),d=e=>"function"==typeof e,u=e=>{try{return JSON.parse(e)}catch(e){return!1}},l=e=>{if(!e)return!1;const t=toString.call(e);return"[object Error]"===t||"[object DOMException]"===t}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"l",(function(){return a})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"m",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return p})),n.d(t,"h",(function(){return b}));var i=n(0);const r=(e,t)=>{if(e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return e===t;if(e.prototype!==t.prototype)return!1;const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>r(e[n],t[n]))},o=e=>{if(!e)return!0;if(Object(i.a)(e)||Object(i.h)(e))return!e.length;if(Object(i.f)(e)&&null!=e.size)return!e.size;for(let t in e)if(hasOwnProperty.call(e,t))return!1;return!0},s=e=>null==e,c=(e,t)=>s(e)||Object(i.d)(e)?t:e,a=(e,t)=>e.indexOf(t)>-1,d=()=>([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)),u=()=>Number(String(Math.random()).slice(2))+Date.now()+Math.round(parseFloat(performance.now())),l=()=>"s"+Math.random().toString(36).slice(2,9),h=e=>{let t,n,i=0;function r(){t=!1,e.apply(null,n)}return function(){n=arguments;const e=Date.now();t||e-i<10||(i=e,t=!0,window.requestAnimationFrame(r))}},f=(e,t=0)=>{const n=Math.pow(10,t);return Math.round(e*n)/n},m=(e,t)=>{const n=new Map,i=function(...i){const r=t?t.apply(null,i):i[0];if(n.has(r))return n.get(r);const o=e.apply(null,i);return n.set(r,o),o};return i.cache=n,i},p=()=>{},b=e=>Object(i.e)(e)&&e>0&&e%1==0},function(e,t,n){"use strict";n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return A})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return _})),n.d(t,"j",(function(){return v})),n.d(t,"e",(function(){return j})),n.d(t,"f",(function(){return k}));var i=n(0),r=n(5),o=n(7),s=n(4),c=n(8),a=n(1),d=n(3),u=n(11),l=n(10);const h=Math.floor(1e8*Math.random()+1),f=0,m=0,p=0,b=Object(c.d)(),g={count:1,capping:0};let w=null,y=null;function _(e){y=Object(i.f)(e)&&Object(i.i)(Object(d.i)(e))?Object(d.i)(e):Object(i.h)(e)&&Object(i.i)(e)?e:null,Object(a.e)(w)&&(w=y)}function O(e,t=!0){if(1===f)console.error(e);else{const n=Math.round(1e3*Math.random())+"-"+(new Date).getTime(),i={message:e,url:window.location.href,format:"native",obj:y,stack:void 0!==e.stack?e.stack:"-",fileName:void 0!==e.fileName?e.fileName:"-",lineNumber:void 0!==e.lineNumber?e.lineNumber:"-",columnNumber:void 0!==e.columnNumber?e.columnNumber:"-",errorId:n},r=new XMLHttpRequest;r.open("POST","https://d.audiencerun.com/js_log",!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.send(Object(l.f)(i)),t&&console.error("audiencerun".ucFirst()+" - javascript error N°"+n+" occurred - Please contact us")}y=w}function v(e,t,n){throw _(Object(d.i)({requestUrl:e,response:t})),new Error(""+n)}function j(e){for(let t=1;t{const e=document.createStyleSheet(),t=(t,n)=>{const i=document.all,r=i.length,o=[];let s;for(e.addRule(t,"foo:bar"),s=0;sn));s+=1);return e.removeRule(0),o};document.querySelectorAll||document.querySelector||(document.querySelectorAll=e=>t(e,1/0),document.querySelector=e=>t(e,1)[0]||null)})();"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"replaceAll"in String.prototype||(String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e,"g"),t)}),"ucFirst"in String.prototype||(String.prototype.ucFirst=function(){return this.charAt(0).toUpperCase()+this.slice(1)}),"undefined"!=typeof HTMLDocument?"getElementsByClassName"in HTMLDocument.prototype||(HTMLDocument.prototype.getElementsByClassName=function(e){return document.querySelectorAll("."+e)}):void 0===document.getElementsByClassName&&(document.getElementsByClassName=function(e){for(var t=[],n=this.getElementsByTagName("*"),i=0;i-1&&t.push(n[i]);return t});class A{constructor(e){f&&(this.debugTitle=`Mode "${e.mode}" for script_key ${e.key} / class "Utils" => `),this.options=e,this.window=this.getRootWindow(),this.document=this.window.document,this.key=e.key||"",this.msk=e.msk||"",this.mode=e.mode||"",this.cssSelector=e.ta||'ins.arunn[data-zone-arun="'+this.key+'"]',this.container=null,this.cookie=Object(a.a)(e.co,g),this.pixel_v=e.p_v||"",this.call_pb=e.call_pb||"",this.serverUrl=e.tck||null,this.logo="//ac.aruncdn.com/i/logo/logo.svg?3",this.sOnlyLogo="//ac.aruncdn.com/i/logo/logo.svg?3",this.subTitle=e.st||"",this.cookiePrefix="ar",this.cappingCookieName=this.cookiePrefix+"_"+Object(o.f)(this.mode)+"_"+this.key,this.cssClassName="ar"+h,this.commonCssClass="arunn-ad",this.lang=e.lang||"fr",this.isMobile=e.isMob||!1,this.isTablet=e.isTab||!1,this.sDevice=null,this.dontGetContainer=e.dgt||!1,this.topWindow=Object(s.j)(),this.affiliateId=Object(a.a)(e.aff_id,""),this.currentDomainName=encodeURIComponent(Object(d.a)(this.window,"location.hostname")),this.device=Object(u.b)(),this.featureFlags={smartag_doublesky_header_masthead:"jgnt7jufx0"===this.key,sticky_doublesky:"sl9cn3fbzf"===this.key,header_as_masthead:"gcdrpsg37f"===this.key,interstitial_with_close_x:"469"===this.affiliateId,interstitial_z_index_150:"469"===this.affiliateId,slide_bottom_offset_80:"zxtwplndy3"===this.key,content_with_https_only:"502"===this.affiliateId},this.setupCapping(),this.init()}findLink(e){return"A"===e.tagName&&e.href?e.href:e.parentElement?this.findLink(e.parentElement):null}getStyleProperty(e,t){const n=this.window.getComputedStyle,i=n&&n(e,null)?n(e,null):e.currentStyle||e.style;if(i.getPropertyValue)return i.getPropertyValue(t);let r="";return t.split("-").forEach(e=>{r+=""===r?e:e[0].toUpperCase()+e.slice(1)}),i[r]}init(){this.key&&(this.dontGetContainer||(this.container=this.getEmplacementContainer()),this.sDevice=this.getDevice(),this.addGlobalObjects())}setupCapping(){Object(i.f)(this.cookie)||(this.cookie=g),this.cookie={count:Object(d.a)(this,"cookie.count")>0?this.cookie.count:g.count,capping:Object(d.a)(this,"cookie.capping")?this.cookie.capping:g.capping},this.msk&&Object(d.a)(b,this.mode+".co")&&this.cookie.capping===g.capping&&(this.cookie=b[this.mode].co)}getDevice(){return!1!==this.isMobile?"mobile":!1!==this.isTablet?"tablet":"desktop"}getRootWindow(){var e=null,t=function(n){try{top!==n.parent&&void 0!==n.parent.document?t(n.parent):e=n}catch(t){e=n}};if(top!==self)try{void 0!==top.document?e=top:void 0===window.parent.document?e=window:t(window)}catch(e){t(window)}else e=window;return e}getCookieName(e){try{const t=e+"=",n=this.document.cookie.split(";");for(let e=0;e-1!==e.indexOf("ar_"+b[this.mode].label))||this.getCappingCookie()}getEmplacementContainer(){return void 0!==this.document.querySelector(this.cssSelector)&&null!==this.document.querySelector(this.cssSelector)||(this.window=window,this.document=this.window.document),this.document.querySelector(this.cssSelector)}getInsTagWithKey(e){const t=this.document.querySelectorAll("ins");let n=null;for(let i=0;ie.value.split('="')[0].replace(/^mobile-/,"")).indexOf(e)&&(n=r)}return n}removeBanner(e){if(!e)return;const t=e=>{const t=this.getInsTagWithKey(e);t&&(t.innerHTML="",t.className="",window.paubjs={})};if("string"==typeof e&&t(e),Array.isArray(e))for(let n=0;nthis.removeBanner(e))}addHtmlCode(e,t){var n=document.createElement("iframe");n.style.visibility="hidden",n.style.height="0",n.style.width="0",null!==t&&(n.src=t),e.appendChild(n),null===t&&(n.contentWindow.document.open("text/html","replace"),n.contentWindow.document.write(this.htmlCode),n.contentWindow.document.close())}isResponsive(){var e=A.prototype.getRootWindow(),t=e.document,n=this;try{if(t.styleSheets||(typeof e.CSSMediaRule).match(/function|object/))return[].some.call(t.styleSheets,(function(e){return n.isResponsiveProcessing(e)}))}catch(e){return!1}return!1}isResponsiveProcessing(e,t){const n=/((https?:)?\/\/)?([a-z0-9-_\.]*\.[a-z0-9]{2,10})\/?/i;if(null!==e.href&&"undefined"!==e.href&&n.exec(e.href)[3]!==t.location.hostname)return!1;return!!e.cssRules&&[].some.call(e.cssRules,(function(e){if(e instanceof CSSMediaRule)return[].some.call(e.media,(function(e){return!e.match(/print/i)}))}))}addEvent(e,t,n){try{e.addEventListener(t,n)}catch(i){void 0!==n&&e.attachEvent("on"+t,n)}}addStyleSheet(e,t=""){if(!t||!this.document.head.querySelector("#"+t)){var n=document.createElement("style");n.type="text/css",t&&(n.id=t),this.document.head.appendChild(n),void 0!==n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}powerByHtml(){var e="",t=this.logo;switch(this.lang){case"es":case"co":case"it":case"en":case"pt":case"br":default:e='Ads by '}return e}powerByOnlyLogo(e=!0){let t="";const n=e?this.sOnlyLogo:this.logo;switch(this.lang){case"es":case"co":case"it":case"en":case"pt":case"br":default:t=''}return t}powerByLogoAndText(e=!0){let t="",n="",i="";const r=e?this.sOnlyLogo:this.logo;switch(this.lang){case"es":case"co":case"it":case"en":case"pt":case"br":default:n="https://www.audiencerun.com",i="Ads by "}return t=`audiencerun${i} audiencerun`,t}getScrollPercent(){var e=this.document.documentElement,t=this.document.body,n="scrollTop",i="scrollHeight";return(e[i]||t[i])-e.clientHeight==0?0:(e[n]||t[n])/((e[i]||t[i])-e.clientHeight)*100}sponsorTranslate(){let e="";switch(this.lang){case"es":e="Contenido patrocinado";break;case"it":e="Contenuti sponsorizzati";break;case"en":e="Sponsored content";break;case"pt":case"br":e="Te recomendamos";break;default:e="Contenus sponsorisĂ©s"}return e}detectAdblock(){const e=this.getRootWindow();let t=!1;const n=e.document.createElement("div");try{n.innerHTML=" ",n.className="adsbox",e.document.body.appendChild(n)}catch(e){return!1}return 0===n.offsetHeight&&(t=!0),"function"==typeof n.remove?n.remove():"function"==typeof n.parentNode.removeChild&&n.parentNode.removeChild(n),t}incrementCapping(){if(0===this.cookie.capping)return;let e=this.getCappingCookie();""===e?e=1:e++;const t=new Date,n=t.getTime()+1e3*this.cookie.capping,i=this.cappingCookieName+"=";t.setTime(n);let r=location.host.match(/([a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/gi);location.host.match(/([a-z0-9\.]{5,30}:9001)/gi)&&(r=location.host.replace(":9001","")),document.cookie=`${i}${e};domain=${r};path=/;expires=${t.toUTCString()}`}setCookieValue(e,t,n){let i=this.window.location.host.match(/([a-z0-9-]{1,63}\.[a-z.]{2,6})$/gi);this.window.location.host.match(/([a-z0-9.]{5,30}:9001)/gi)&&(i=this.window.location.host.replace(":9001",""));const r=new Date,o=r.getTime()+60*n*1e3;r.setTime(o);const s="expires="+r.toUTCString();this.document.cookie=e+"="+t+";domain="+i+";"+s+";path=/"}getFixedElement(e="top"){let t=0;const n=[].slice.call(this.document.querySelectorAll("div,footer,nav,header"));return n.length>0&&n.forEach(n=>{const i=this.window.getComputedStyle(n);if("fixed"===i.getPropertyValue("position")){const r=parseInt(i.getPropertyValue(e)),o=n.getBoundingClientRect().height,s=n.getBoundingClientRect().width,c=this.window.innerWidth||this.document.clientWidth;0===r&&o>t&&s+30>c&&(t=n.getBoundingClientRect().height)}}),t}toggleClassByClassName(e,t,n){if("add"!==t&&"remove"!==t)return;const i=[].slice.call(this.document.getElementsByClassName(e));for(let e=0;e{const n=Object.keys(e);return(t||[]).concat(n.sort()).reduce((t,i)=>(-1!==n.indexOf(i)&&(t[i]=e[i]),t),{})},o=(e,...t)=>{for(let n=0;n{const t=[];for(const n in e)t.push(e[n]);return t},c=(e,t)=>Object.keys(e).filter(n=>t(e[n])).reduce((t,n)=>o(t,{[n]:e[n]}),{}),a=e=>{try{return JSON.parse(e)}catch(e){return null}},d=e=>{try{return JSON.stringify(e)}catch(e){return null}},u=(e,t)=>{const n={};for(const i of t)n[i]=e[i];return n},l=e=>Object(i.g)(e)?a(d(e)):e,h=(e,t,n,i,r)=>{for(t=t.split?t.split("."):t,i=0;ie?e.nextElementSibling?e.nextElementSibling:e.parentElement.firstElementChild:null,a=e=>e?e.previousElementSibling?e.previousElementSibling:e.parentElement.lastElementChild:null,d=(e,t)=>{const n=t.charAt(0).toUpperCase()+t.slice(1);e.style[t]=null,e.style["ms"+n]=null,e.style["webkit"+n]=null,e.style["Moz"+n]=null,e.style["O"+n]=null},u=e=>Object(i.d)(e),l=(e,t,n)=>{if(!e||!t||!n)return;const i=t.charAt(0).toUpperCase()+t.slice(1);e.style[t]=n,e.style["ms"+i]=n,e.style["webkit"+i]=n,e.style["Moz"+i]=n,e.style["O"+i]=n},h=(e,t)=>getComputedStyle(e)[t],f=Object(r.i)(()=>{let e=null;const t=n=>{try{window.top!==n.parent&&void 0!==n.parent.document?t(n.parent):e=n}catch(t){e=n}};if(window.top!==window.self)try{void 0!==window.top.document?e=window.top:void 0===window.parent.document?e=window:t(window)}catch(e){t(window)}else e=window;return e}),m=(e,t)=>{let n;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","matchesSelector"].some(e=>"function"==typeof document.body[e]&&(n=e,!0));e&&e.parentElement;){if(e[n](t))return e;e=e.parentElement}return null},p=e=>{const t=f();e&&"function"==typeof e&&t.addEventListener("beforeunload",e)},b=(e,t)=>!(!e||!t)&&Object(r.l)(e.className,t),g=(e,t)=>{e&&t&&(Object(s.a)(t)?e.classList.remove(...t.filter(Boolean)):e.classList.remove(t))},w=(e,t)=>{e&&t&&(Object(s.a)(t)?e.classList.add(...t.filter(Boolean)):e.classList.add(t))},y=e=>{if(!e)return;const{top:t,left:n,width:i,height:r}=e.getBoundingClientRect();return{x:n+i/2,y:t+r/2}},_=(e,t)=>{const n=y(e),i=y(t);if([e,t,n,i].some(e=>!e))return;const r=n.x-i.x,o=n.y-i.y;return Math.sqrt(r*r+o*o)},O=e=>e?Object(r.a)(e.getAttribute("class"),""):"",v=(e,t)=>t?t.removeChild(e):e.parentNode.removeChild(e),j=(e,t)=>t?t.appendChild(e):e.parentNode.appendChild(e),k=(e,t,n)=>{const i=(e||f()).document.querySelector("[data-zone-arun] "+t);return null!==i&&n&&n(i),i},A=(e,t)=>{if(!e||!t)return;const n=((e,t=document)=>{const n=t.createElement("div");return n.innerHTML=e,n.firstElementChild})(t);return e.parentNode.insertBefore(n,e),n.appendChild(e),n},C=(e,t)=>Object(o.c)([].slice.call(e.querySelectorAll(t)),t=>t.parentElement===e),S=e=>{if(!e)return!1;try{t=e,document.createDocumentFragment().querySelector(t)}catch(e){return!1}var t;return!0},N=e=>{try{return e.getBoundingClientRect()}catch(e){return{bottom:null,height:null,left:null,right:null,top:null,width:null,x:null,y:null}}},x=e=>{if(!e)return!1;const t=getComputedStyle(e);return(e=>{const{top:t,left:n,bottom:i,right:r}=e.getBoundingClientRect();return t<(window.innerHeight||document.documentElement.clientHeight)&&n<(window.innerWidth||document.documentElement.clientWidth)&&i>0&&r>0})(e)&&!b(e,"hideAd")&&!b(e,"n-hidden")&&"none"!==t.display&&"hidden"!==t.visibility&&"0"!==t.opacity}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"n",(function(){return s})),n.d(t,"m",(function(){return c})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"k",(function(){return b})),n.d(t,"i",(function(){return g}));var i=n(0);const r=(e,t)=>[...new Set(e)].filter(e=>new Set(t).has(e)),o=(e,t)=>[...new Set([...e.filter(e=>!t.includes(e)),...t.filter(t=>!e.includes(t))])],s=(e,t)=>Object(i.a)(e)&&Object(i.c)(t)?e.filter((n,i)=>e.findIndex(e=>t(n,e))===i):[],c=e=>s(e,(e,t)=>e===t),a=(e,t)=>{if(Object(i.a)(e)&&Object(i.c)(t))for(let n=0;ne.reduce((e,t)=>e.concat(Object(i.a)(t)?d(t):t),[]),u=(e,t,n)=>{null==t&&(t=e||0,e=0),n||(n=te.map(Object(i.c)(t)?t:e=>e[t]).reduce((t,n,i)=>(t[n]=(t[n]||[]).concat(e[i]),t),{}),h=e=>(e=>{const t=[...e];for(let e=t.length-1;e>0;e--){const n=Math.floor(Math.random()*(e+1));[t[e],t[n]]=[t[n],t[e]]}return t})(e)[Math.floor(Math.random()*e.length)],f=(e,t=1)=>e.reduce((e,n,i)=>i%t==0?[...e,[n]]:[...e.slice(0,-1),[...e.slice(-1)[0],n]],[]),m=e=>Object(i.a)(e)?e[0]:void 0,p=(e,t,n=1)=>Object(i.a)(e)&&Object(i.c)(t)&&Object(i.e)(n)&&e.slice(0,n).every(t)?e.slice(0,n):[],b=(e,t)=>{try{return e.some(e=>-1!==t.indexOf(e))}catch(e){return!1}},g=(e,t)=>{if(!Object(i.a)(e)||!Object(i.a)(t))return!1;const n=[...e],r=[...t];return n.length===r.length&&n.every(e=>r.includes(e))}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c}));var i=n(0);const r=()=>(new Date).getTime(),o=(e,t)=>e-t,s=e=>{if(Object(i.e)(1*e)){return 1e3*(1*e)}return 0},c=e=>{if(Object(i.e)(1*e)){return 1*e/1e3}return 0}},function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return a}));n(0);const i=e=>e&&e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("_"),r=e=>{return t=(e=>e.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(e=>e.toLowerCase()))(e),n="-",t?n?t.join(n):t:"";var t,n},o=e=>[].slice.call(e),s=(e,t)=>{const n=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,n,i)=>t+t+n+n+i+i),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return`rgba(${parseInt(i[1],16)},${parseInt(i[2],16)},${parseInt(i[3],16)}, ${t})`},c=e=>{const t=/rgb\((\d+), (\d+), (\d+)\)/.exec(e);return`#${t[1].length<2?"0"+Number(t[1]).toString(16):Number(t[1]).toString(16)}${t[1].length<2?"0"+Number(t[1]).toString(16):Number(t[1]).toString(16)}${t[1].length<2?"0"+Number(t[1]).toString(16):Number(t[1]).toString(16)}`},a=e=>{if(!e)return"";let t;try{const n=window.document.createElement("div");n.innerHTML=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&").replace(/<(?![a-z/?$!])/gi,"<").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),t=n.textContent}catch(e){t=""}return t}},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return l}));var i=n(5);const r={capping:40,count:1},o={interMob:{co:r,label:"inter"},interIn:{co:r,label:"inter"},interMidArticle:{co:r,label:"inter"},interOut:{co:r,label:"inter"}},s=["doubleSky","slide","interMob","interIn","interMidArticle","interOut","fixedFooter","fixedHeader","multiAds"],c=[{name:"slide",mode:"slide"},{name:"doubleSky",mode:"doubleSky"},{name:"iabFixed",mode:"iabFixe"},{name:"footerNoAnimation",mode:"footerArrow"},{name:"footerFixe",mode:"fixedFooter"},{name:"headerMobile",mode:"headerMobile"},{name:"headerFixe",mode:"fixedHeader"},{name:"headerIntExit",mode:"hi"},{name:"inter",mode:"inter"},{name:"interMobile",mode:"interMob"},{name:"interIn",mode:"interIn"},{name:"interMidArticle",mode:"interMidArticle"},{name:"interOut",mode:"interOut"},{name:"footer",mode:"fo"},{name:"beforeFooter",mode:"bf"},{name:"extended",mode:"noHeader"},{name:"onSide",mode:"onSide"},{name:"header",mode:"header"},{name:"displayBottomPage",mode:"displayBottomPage"},{name:"multiAds",mode:"multiAds"}],a=e=>{const t=Object(i.c)(c,t=>t.name===e);return t?t.mode:null},d=()=>s,u=()=>o,l=(e,t)=>{const n=((e,t)=>e&&t?Object(i.c)(e,e=>e.mode===t):null)(e,t);return n?n.key:null}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(8);const r=Object(i.a)(),o=["headerMobile","footerArrow","fo","fixedHeader","fixedFooter","doubleSky","slide","multiAds","interMob","interIn","interOut","interMidArticle"],s=["0x0","1x1","204x115","416x235","400x225","640x360","640x480","640x390"]},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return f}));var i=n(4),r=n(1);const o=/^((http[s]?|ftp):\/\/)?\/?([^\/\.]+\.)*?([^\/\.]+\.[^:\/\s\.]{2,3}(\.[^:\/\s\.]{2,3})?(:\d+)?)($|\/)([^#?\s]+)?(.*?)?(#[\w\-]+)?$/gm,s=Object(i.j)(),c=(...e)=>e.join("/").replace(/[\/]+/g,"/").replace(/^(.+):\//,"$1://").replace(/^file:/,"file:/").replace(/\/(\?|&|#[^!])/g,"$1").replace(/\?/g,"&").replace("&","?"),a=e=>{if(!e)return"";const t=o.exec(e),n=null!==t?t:[];return n.length>0?n[4]:""},d=e=>{const t=s.document.referrer,n=[],i=a(t);return((e,t,n,i)=>{if(e&&t.indexOf(n)>=0)i.push({socialMedia:t[t.indexOf(n)]})})(e.socialMedia,e.socialMediaValues,i,n),((e,t,n,i)=>{if(e&&(t.forEach(e=>{n.indexOf(e)>=0&&i.push({searchEngine:e})}),0!==i.length));})(e.searchEngine,e.searchEngineValues,i,n),((e,t,n,i)=>{if(e){const e=[];if(t.forEach(t=>{e.push(a(t))}),e.indexOf(n)>=0)i.push({customUrl:e[e.indexOf(n)]})}})(e.customUrl,e.customUrlValues,i,n),((e,t,n)=>{if(e&&""===t)n.push({directAccess:!0})})(e.directAccess,t,n),((e,t)=>{if(e)t.push({externalUrl:!0})})(e.externalUrl,n),n},u=e=>"string"==typeof e&&(!!(e=e.match(/^(?:\w+:)?\/\/(\S+)$/))&&!(!(e=e[1])||!/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/.test(e)&&!/^[^\s\.]+\.\S{2,}$/.test(e))),l=e=>/^\s*data:([a-z]+\/[a-z0-9\-\+]+(;[a-z\-]+\=[a-z0-9\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i.test(String(e).toLowerCase()),h=e=>Object.keys(e).map(t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t])).join("&"),f=(e,t)=>{if(!e||Object(r.e)(t))return e;let n=e;const i=e.indexOf("?");return-1!==i&&(t=Object.assign((e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e),{}),t),n=n.substr(0,i)),n+"?"+h(t)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return a}));var i=n(1);const r=()=>{const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?2:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?1:0},o=()=>{const e=r();return 2===e?"tablet":1===e?"mobile":"desktop"},s=()=>{const e=navigator,t=e.userAgent,n=e.platform;return n.match(/(Macintosh|MacIntel|MacPPC|MacPPC)/)?e.maxTouchPoints&&e.maxTouchPoints>2?"ios":"macos":n.match(/(iPhone|iPad|iPod)/i)?"ios":n.match(/Win32|Win64|Windows|WinCE/i)?"windows":/Android/i.test(t)?"android":/Linux/i.test(n)?"linux":"unknown"},c=()=>{try{const e=navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{};return{downlink:Object(i.a)(e.downlink,"unknown"),downlinkMax:Object(i.a)(e.downlinkMax,"unknown"),effectiveType:Object(i.a)(e.effectiveType,"unknown"),type:Object(i.a)(e.type,"unknown"),rtt:Object(i.a)(e.rtt,"unknown"),saveData:Object(i.a)(e.saveData,"unknown")}}catch(e){return{downlink:"unknown",downlinkMax:"unknown",effectiveType:"unknown",type:"unknown",rtt:"unknown",saveData:"unknown"}}},a=()=>{try{return navigator.hardwareConcurrency}catch(e){return null}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var i=n(1),r=n(4),o=n(0);const s=(e,t,n,i,s=!0,c="text/javascript")=>{const a=i||Object(r.j)();if(void 0===a)return;const d=a.document.createElement("script"),u=a.document.head||a.document.body;d.type=c,d.async=s,d.src=e,d.addEventListener("load",()=>{Object(o.c)(t)&&t()}),d.addEventListener("error",()=>{Object(o.c)(n)&&n(new Error("Unable to load script with src: "+e))}),u.appendChild(d)},c=Object(i.i)((e="")=>{const t=document.getElementsByTagName("script");let i=n.p;for(let e=0;eMath.floor(Math.random()*(Math.floor(t)-Math.ceil(e)+1))+Math.ceil(e)||0;var m=n(0);const p=e=>({...e,window:window,regie:Object(l.a)(e.regie,""),config:Object(l.a)(e.config,{}),callbackId:Object(l.a)(e.callBackId,f(0,1e4)),bidders:Object(m.a)(e.bidders)?e.bidders:Object(l.a)(window[e.bidders],[])}),b=e=>[e.regie,e.config,e.bidders].every(e=>!Object(l.e)(e));var g=new class{constructor(){this.version=2,this.apiName="__tcfapi",this.window=Object(d.j)()}get exists(){return Object(m.c)(this.window[this.apiName])}get api(){return this.window[this.apiName]}};n.p=Object(a.a)();class w{constructor(e){e=(e=>Object.assign(e||{},{rid:e.rid||Object(l.d)(),mode:e.mode||"displayBottomPage",stayInIframe:e.stayInIframe||!1,isGdprRequired:e.isEuVisitor||!1,adserver:Object(l.a)(e.adserver,r.a?"develop.d.audiencerun.com":"d.audiencerun.com"),feeds:(e.feeds||[]).map(p).filter(b)}))(e),this.options=e,this.isGdprRequired=this.options.isGdprRequired,this.startTime=Object(u.d)(),this.window=window,this.document=window.document,this.topWindow=Object(d.j)(),this.consentStatus=o.NONE,this.consentTimerId=null,this.cmpCallbackRegistered=!1,this.defineDom(),this.initGlobals(),this.initializeRegistry(),this.alreadyInjected||this.init()}get shouldWaitForConsent(){return this.isGdprRequired&&![o.ACCEPTED,o.REJECTED].includes(this.consentStatus)}get alreadyInjected(){return-1!==c.b.indexOf(this.options.mode)&&this.window.__ARUN__.ads[this.options.mode].some(e=>1===e.status)}defineDom(){(void 0!==window.inDapIF&&window.inDapIF||-1!==c.c.indexOf(this.options.mode)&&!this.options.stayInIframe)&&(this.window=this.topWindow,this.document=this.topWindow.document)}initializeRegistry(){i.a.register("ADSERVER",this.options.adserver)}initGlobals(){this.window.__ARUN__=this.window.__ARUN__||{},this.window.__ARUN__.ads=this.window.__ARUN__.ads||{},this.window.__ARUN__.ads[this.options.mode]=this.window.__ARUN__.ads[this.options.mode]||[],this.topWindow.__ARUN___metrics=this.topWindow.__ARUN___metrics||{},this.topWindow.__ARUN___metrics[this.options.rid]=this.topWindow.__ARUN___metrics[this.options.rid]||{},this.topWindow.__ARUN___metrics[this.options.rid].startTime=this.startTime,this.topWindow.__ARUN___bidding_metrics=this.topWindow.__ARUN___bidding_metrics||{},this.topWindow.__ARUN___bidding_metrics[this.options.rid]=this.topWindow.__ARUN___bidding_metrics[this.options.rid]||{},this.topWindow.__ARUN___meta=this.topWindow.__ARUN___meta||{},this.topWindow.__ARUN___meta[this.options.rid]=this.topWindow.__ARUN___meta[this.options.rid]||{},this.topWindow.__ARUN___meta[this.options.rid].mode=this.options.mode}init(){this.factory()}checkCMP(){g.exists&&this.registerCMPCallback()}registerCMPCallback(){this.cmpCallbackRegistered||(g.api("addEventListener",2,(e,t)=>{try{if(t&&!Object(l.e)(e)){if(!this.shouldWaitForConsent)return void g.api("removeEventListener",2,l.j,e.listenerId);s.includes(e.eventStatus)&&this.handleConsent(e)}else this.consentStatus=o.REJECTED,Object(r.h)(new Error("CMP_ERROR: Unable to register CMP callback function. Please check CMP setup."))}catch(e){this.consentStatus=o.REJECTED,Object(r.h)(new Error("CMP_ERROR: An error occured while registering CMP callback function."))}}),this.cmpCallbackRegistered=!0)}handleConsent(e){const t=Object(h.a)(e,"vendor.consents",{});!Object(l.e)(t)&&t[944]?this.consentStatus=o.ACCEPTED:this.consentStatus=o.REJECTED}loadAd(e,t,n=!1){let i=!1,o=100;const s=()=>{if(!i)try{if(n){if(this.document.querySelector(`ins[data-zone-arun="mobile-${this.options.key}"]`))return;this.options.ta=`ins[data-zone-arun="mobile-${this.options.key}"]`,this.options.call_pb=Object(l.a)(this.options.call_pb?this.options.call_pb+"&pwm=1":null,"");const e=this.document.createElement("ins");e.setAttribute("data-zone-arun","mobile-"+this.options.key),this.document.body.appendChild(e)}this.topWindow.__ARUN___metrics=this.topWindow.__ARUN___metrics||{},this.topWindow.__ARUN___metrics[this.options.rid].formatInitialisationFromStartTime=Object(u.d)()-this.startTime;new t[e](this.options).init(),i=!0,this.topWindow.__ARUN___metrics[this.options.rid].formatCreatedFromStartTime=Object(u.d)()-this.startTime}catch(e){Object(r.h)(e)}},c=setInterval(()=>{try{o--;const e=this.document&&this.document.body&&this.document.body.appendChild;if(o>0&&e)clearInterval(c),s();else if(0===o)throw clearInterval(c),new Error("Cannot create ins tag")}catch(e){Object(r.h)(e)}},100)}factory(){let e=!0;switch(this.options.mode){case"iabFixe":Promise.all([n.e(0),n.e(1),n.e(7)]).then(n.bind(null,53)).then(e=>{this.loadAd("NativeAdIab",e)}),e=!1;break;case"slide":Promise.all([n.e(0),n.e(1),n.e(15)]).then(n.bind(null,54)).then(e=>{this.loadAd("NativeAdSlide",e,!0)}),e=!1;break;case"doubleSky":Promise.all([n.e(0),n.e(1),n.e(5)]).then(n.bind(null,55)).then(e=>{this.loadAd("NativeAdDoubleSky",e,!0)}),e=!1;break;case"footerArrow":Promise.all([n.e(0),n.e(4)]).then(n.bind(null,56)).then(e=>{this.options.sTopOrBot="bottom",this.loadAd("NativeAdArrowDesign",e,!0)}),e=!1;break;case"fixedFooter":Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,57)).then(e=>{this.options.sTopOrBot="bottom",this.loadAd("NativeAdHeaderFooterFixed",e,!0)}),e=!1;break;case"headerMobile":Promise.all([n.e(0),n.e(4)]).then(n.bind(null,56)).then(e=>{this.options.sTopOrBot="top",this.loadAd("NativeAdArrowDesign",e,!0)}),e=!1;break;case"fixedHeader":Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,57)).then(e=>{this.options.sTopOrBot="top",this.loadAd("NativeAdHeaderFooterFixed",e,!0)}),e=!1;break;case"hi":Promise.all([n.e(0),n.e(6)]).then(n.bind(null,58)).then(e=>{this.loadAd("NativeAdIntegratedExitHeader",e,!0)}),e=!1;break;case"inter":Promise.all([n.e(0),n.e(9)]).then(n.bind(null,59)).then(e=>{this.loadAd("NativeAdInter",e)}),e=!1;break;case"interMob":Promise.all([n.e(0),n.e(1),n.e(2)]).then(n.bind(null,30)).then(e=>{this.loadAd("NativeAdInterMob",e,!0)}),e=!1;break;case"interIn":Promise.all([n.e(0),n.e(1),n.e(2),n.e(10)]).then(n.bind(null,60)).then(e=>{this.loadAd("NativeAdInterIn",e,!0)}),e=!1;break;case"interMidArticle":Promise.all([n.e(0),n.e(1),n.e(2),n.e(11)]).then(n.bind(null,61)).then(e=>{this.loadAd("NativeAdInterMidArticle",e,!0)}),e=!1;break;case"interOut":Promise.all([n.e(0),n.e(1),n.e(2),n.e(12)]).then(n.bind(null,62)).then(e=>{this.loadAd("NativeAdInterOut",e,!0)}),e=!1;break;case"fo&no":case"fo":case"noHeader":case"onSide":case"header":case"bf":case"reco":case"displayBottomPage":0;break;case"multiAds":n.e(13).then(n.bind(null,63)).then(e=>{this.loadAd("NativeMultiAds",e,!0)}),e=!1;break;case"infiniteFeed":Promise.all([n.e(0),n.e(1),n.e(8)]).then(n.bind(null,64)).then(e=>{this.loadAd("NativeAdInfiniteFeed",e)}),e=!1;break;default:e=!1}e&&Object(r.h)(new Error("Mode "+this.options.mode+" not supported"))}}!function(){try{const e=window._arun?window._arun.shift():{};Object(r.i)(Object(h.i)(e)),new w(e)}catch(e){Object(r.h)(e)}}()}]);