(function(e,d,r){function T(a,b,c,f,g){null==d.body&&(d.body=d.createElement("body"));null==d.head&&(d.head=d.createElement("head"));var h=d.createElement("style");h.innerHTML="#a_timer_oYvwGmQc,#a_title_nEYjMupI,.a_close_nEYjMupI{top:0;right:0;height:30px;line-height:30px;text-align:center}.top-left_vUTDnibMkZJIvuTH{position:fixed;top:0;left:0}.bottom-left_vUTDnibMkZJIvuTH{position:fixed;bottom:0;left:0}.top-right_vUTDnibMkZJIvuTH{position:fixed;top:0;right:0}.bottom-right_vUTDnibMkZJIvuTH{position:fixed;bottom:0;right:0}.top-center_vUTDnibMkZJIvuTH{position:fixed;top:0;left:50%;transform:translateX(-50%)}.bottom-center_vUTDnibMkZJIvuTH{position:fixed;bottom:0;left:50%;transform:translateX(-50%)}.c_window_xEucqIjg{z-index:9999999;overflow:hidden;position:fixed;background-color:#FFF;margin:20px;padding:0;border:1px solid #ccc;border-radius:5px;-webkit-box-shadow:0 0 5px 1px rgba(153,153,153,.5);-moz-box-shadow:0 0 5px 1px rgba(153,153,153,.5);box-shadow:0 0 5px 1px rgba(153,153,153,.5)}#alink_overlay_EPXdyaUf{position:absolute;z-index:1;background:rgba(0,0,0,0);cursor:pointer}#a_iframe_DwTGCjTm{z-index:-1;padding:0!important}.a_close_nEYjMupI{position:absolute;color:rgba(0,0,0,.3);width:30px;font-size:30px}#a_title_nEYjMupI{position:absolute;color:rgba(0,0,0,1);font-size:18px}.a_close_nEYjMupI a{text-decoration:none!important}#a_timer_oYvwGmQc{position:absolute;color:rgba(0,0,0,.3);width:30px;font-size:30px}.a_close_nEYjMupI:focus,.a_close_nEYjMupI:hover{color:#000;cursor:pointer}.a_open_rrTmtfGj{display:block}.a_hide_qkasklrO{display:none}"; d.head.appendChild(h);d.getElementById("c_window_xEucqIjg")&&(clearTimeout(timedis),d.getElementById("c_window_xEucqIjg").remove());h=d.createElement("div");h.id="c_window_xEucqIjg";d.body.appendChild(h);d.getElementById("c_window_xEucqIjg").classList.add("c_window_xEucqIjg");h.innerHTML='\x3cdiv style\x3d"height:30px;"\x3e\x3cspan id\x3d"a_title_nEYjMupI"\x3eAdvertisement\x3c/span\x3e\x3cspan class\x3d"a_close_nEYjMupI a_hide_qkasklrO" data-alink\x3d"data-alink" id\x3d"a_close_nEYjMupI" data-dismiss_OLjQnDvi\x3d"c_xEucqIjg"\x3e\x3ca href\x3d"#" data-alink\x3d"data-alink" data-dismiss_OLjQnDvi\x3d"c_xEucqIjg" style\x3d"text-decoration: none!important; color: rgba(0,0,0,0.3);"\x3e\x26times;\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"a_timer_oYvwGmQc"\x3e5\x3c/span\x3e\x3c/div\x3e\x3cdiv id\x3d"alink_overlay_EPXdyaUf" alink\x3d"alink"\x3e\x3c/div\x3e'; d.getElementById("c_window_xEucqIjg").classList.add(b+"_vUTDnibMkZJIvuTH");b=d.createElement("iframe");h=d.getElementById("c_window_xEucqIjg");var l=d.getElementById("a_title_nEYjMupI"),m=d.getElementById("alink_overlay_EPXdyaUf");h.style.width=c;var v=c.search(/px/i),L=f.search(/px/i),I=(Math.max(d.documentElement.clientWidth,e.innerWidth||0),Math.max(d.documentElement.clientHeight,e.innerHeight||0));if(-1==v?(m.style.width="100%",b.style.width="100%",l.style.width="100%"):(m.style.width=c,b.style.width= c,l.style.width=c),-1==L)b.style.height="100%",m.style.height="96%",h.style.height=f;else{l=f.split("px")[0];var D=Number(l)+30;m.style.height=f;b.style.height=f;h.style.height=D+"px";c=c.split("px")[0];f=Number(c)+40;function p(){Math.max(d.documentElement.clientWidth,e.innerWidth||0);Math.max(d.documentElement.clientHeight,e.innerHeight||0)=E?clearInterval(k):d.getElementById("a_timer_oYvwGmQc")&&(d.getElementById("a_timer_oYvwGmQc").textContent=E)},1E3);timedis=setTimeout(function(){d.getElementById("a_close_nEYjMupI").classList.remove("a_hide_qkasklrO");d.getElementById("a_timer_oYvwGmQc").classList.add("a_hide_qkasklrO")},5E3);d.addEventListener("click",function(p){clearInterval(k); var w=5;k=setInterval(function(){w--;0>=w?clearInterval(k):d.getElementById("a_timer_oYvwGmQc")&&(d.getElementById("a_timer_oYvwGmQc").textContent=w)},1E3);var y=(p=p||e.event).target||p.srcElement;if(y.hasAttribute("data-dismiss_OLjQnDvi")&&"c_xEucqIjg"==y.getAttribute("data-dismiss_OLjQnDvi")){var z=d.getElementById("c_window_xEucqIjg");d.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO");z.classList.remove("a_open_rrTmtfGj");d.getElementById("c_window_xEucqIjg").remove();p.preventDefault()}y.hasAttribute("data-alink")&& (z=d.getElementById("c_window_xEucqIjg"),d.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO"),z.classList.remove("a_open_rrTmtfGj"),p.preventDefault());y.hasAttribute("alink")&&(z=d.getElementById("c_window_xEucqIjg"),d.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO"),z.classList.remove("a_open_rrTmtfGj"),e.open(g,"_blank").focus())},!1)}Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!==typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); var b=Array.prototype.slice.call(arguments,1),c=this,f=function(){},g=function(){return c.apply(this instanceof f&&a?this:a,b.concat(Array.prototype.slice.call(arguments)))};f.prototype=this.prototype;g.prototype=new f;return g});var x={_cookieLockSet:function(a){var b="1";a&&(b="0");try{return localStorage.setItem("JKZMjhBv",b),!0}catch(f){}a=new Date;var c=6E4;a.setTime(a.getTime()+c);c="expires\x3d"+a.toUTCString();d.cookie="JKZMjhBv\x3d"+b+";"+c+";path\x3d/";return!0},_cookieLockGet:function(){var a= !1;try{return localStorage.JKZMjhBv&&(a="1"==localStorage.JKZMjhBv),localStorage.setItem("JKZMjhBv","0"),a}catch(g){}for(var b=decodeURIComponent(d.cookie).split(";"),c=0;c=this.cap.env.v&&(f="");try{var g=b?this.iframewin.open("about:blank",f,b):this.iframewin.open("about:blank", f)}catch(h){return!1}if(this.settings.openernull)try{g.opener=null}catch(h){}try{g.document.open(),g.document.write(this._getRedirectorHTML(a,c)),g.document.close()}catch(h){try{g.location.replace(a)}catch(l){return!1}}return g},_openTabup:function(a,b){return this._windowOpen(a,!1,b)},_openTabunder:function(a,b){if(0==this.cap.tabunder)return this._openTabup(a,b);this._cookieLockSet(!1);var c=this._openTabup(d.location.href,b);if(!c)return!1;for(var f=d.getElementsByTagName("head")[0]||d.getElementsByTagName("script")[0], g=0;gf.v?this._openPopunderBlur(a,c):"msie"==f.b&&11==f.v?this._openPopunderIE11(a,c):"safari"==f.b?this._openPopunderSafari(a,c):this._openPopup(a,c)}return this._openTabup(a,c)},_prepopOpen:function(a){this.prepop=this.cap.punderminipop?this._openPopunderCRPre(a):this._openPopunder("about:blank",[])},_prepopReady:function(){return!(!this.prepop|| this.prepop.closed||!this.prepop.location)},_prepopUse:function(a,b){b.onbeforeopen instanceof Function?a=b.onbeforeopen(a):this.settings.onbeforeopen instanceof Function&&(a=this.settings.onbeforeopen(a));try{if(this.cap.punderminipop)this._openPopunderCRPost(a,b.prefetchurls||[]);else try{this.prepop.document.open(),this.prepop.document.write(this._getRedirectorHTML(a,b.prefetchurls||[])),this.prepop.document.close()}catch(c){try{this.prepop.location.replace(a)}catch(f){return this.crpopsemaphore= !1}}this.prepop=0}catch(c){return 0}try{if(b.onafteropen instanceof Function)b.onafteropen(a);else if(this.settings.onafteropen instanceof Function)this.settings.onafteropen(a)}catch(c){}return 1},_prepopClose:function(){try{this.prepop.close()}catch(a){return!1}return!0},_openAd:function(a,b){if(this.openadsemaphore)return!1;this.openadsemaphore=!0;b.onbeforeopen instanceof Function?a=b.onbeforeopen(a):this.settings.onbeforeopen instanceof Function&&(a=this.settings.onbeforeopen(a));var c=b.type; "popunder"!=c||this.cap.popunder||(c="tabunder");"tabunder"!=c||this.cap.tabunder||(c="tabup");"tabup"!=c||this.cap.tabup||(c="popup");"popup"!=c||this.cap.popup||(c="tabup");var f;"popunder"==c?f=this._openPopunder(a,b.crtimeout||this.settings.crtimeout,b.prefetchurls||[]):"popup"==c?f=this._openPopup(a,b.prefetchurls||[]):"tabup"==c?f=this._openTabup(a,b.prefetchurls||[]):"tabunder"==c&&(f=this._openTabunder(a,b.prefetchurls||[]));if(!1!==f)try{if(b.onafteropen instanceof Function)b.onafteropen(a); else if(this.settings.onafteropen instanceof Function)this.settings.onafteropen(a)}catch(g){}this.openadsemaphore=!1;return f},abortPop:function(){this._prepopReady()&&this._prepopClose();this._removeCatchAllDiv();this.clearUrls();this.settings.prepop=!1},_minipopCheck:function(a){if(this.minipopmon){var b=this._getMinipopStatus(this.minipopmontw);if("prepopready"==b||"success"==b||"redirecting"==b){if("redirecting"==b||"success"==b)this.urls.shift(),this.minipopmon=!1}else"closed"==b&&(this.minipopmon= !1);a&&setInterval(this._minipopCheck.bind(this),100,!0)}},_onExecute:function(a){a=a||e.event;if(("click"==a.type||"mousedown"==a.type||"touchend"==a.type||"pointerup"==a.type||"pointerdown"==a.type)&&!a.isTrusted||"pointerdown"==a.type&&"mouse"!=a.pointerType||"pointerup"==a.type&&"mouse"==a.pointerType)return!1;if("click"==a.type){var b=!1;"which"in a?b=3==a.which:"button"in a&&(b=2==a.button);if(b)return!1}if(this.bbrhooked&&"popstate"==a.type){b=this.bbrurl;if(!b)for(a=0;athis.urls.length&&(this._removeCatchAllDiv(),this._unblockWindowOpen());else if(b||this.settings.ignorefailure)this.urls.shift(),0==this.urls.length&&(clearInterval(this.uahtimer),this.uahtimer=0,this._unblockWindowOpen(),this._removeCatchAllDiv());this.executeSemaphore=!1},_userActivationHandler:function(){var a=!1;try{a=e.navigator.userActivation.isActive}catch(b){}if(!a)try{a=top.navigator.userActivation.isActive}catch(b){}if(!a)try{a= this.iframewin.navigator.userActivation.isActive}catch(b){}try{d.activeElement&&"IFRAME"==d.activeElement.tagName&&(a=!1)}catch(b){}a&&this._onExecute({type:"uah"})},_onMouseDownHandler:function(a){a=a.target||a.srcElement||a.toElement;if(this._prepopReady())return!1;if(this.minipopmontw){var b=this._getMinipopStatus(this.minipopmontw);if("waiting"==b||"prepopready"==b)return!1}if("A"!=a.tagName||0==this.urls.length)return!1;if("_blank"==a.target||0=O||N-A=this._config._inpageDelayPerDay||setTimeout(function(){b._updateFiredCount("inpage");T(a.url,a.position,a.width,a.height,a.clickurl)}.bind(b),this._mSecondsTillDelayExpired("inpage"))},_parseInventory:function(a){this._inventory=a||{};this._preparePop()},_parseBBR:function(a){x.addUrl(a.url,{type:"bbr",prefetchurls:a.prefetchurls||[],onbeforeopen:function(b){try{clearTimeout(C)}catch(c){}return b}.bind(this)})},_preparePopDefault:function(){var a= this;try{clearTimeout(C)}catch(g){}if(!1===this._config._default||""==this._config._default||0=this._config._defaultPerDay)x.abortPop(),t._set("_popprepop",1,21600);else{var b=this._config._popunderFailover;x._prepopReady()&&(b="popunder");if("function"===typeof this._config._default){var c="";try{c=this._config._default()}catch(g){}/^https?:\/\//.test(c)&&(setTimeout(function(){x.addUrl(c,{type:b,onbeforeopen:function(g){try{clearTimeout(C)}catch(h){}return g}.bind(a)})}.bind(a), this._mSecondsTillDelayExpired()),this._updateFiredCount("fallback"),this.adfired=!0)}else if(/^https?:\/\//.test(this._config._default))setTimeout(function(){x.addUrl(this._config._default,{type:b,onbeforeopen:function(g){try{clearTimeout(C)}catch(h){}return g}.bind(a)})}.bind(a),this._mSecondsTillDelayExpired()),this._updateFiredCount("fallback"),this.adfired=!0;else try{var f=e.atob(this._config._default);"string"===typeof f&&(d.body.appendChild(d.createRange().createContextualFragment(f)),this._updateFiredCount("fallback"), this.adfired=!0)}catch(g){}}},_preparePopInventory:function(){var a=this;0=this._config._popPerDay||setTimeout(function(){x.addUrl(a._inventory.url,{type:a._inventory.type,prefetchurls:a._inventory.prefetchurls||[],bbr:a._inventory.bbr||!1,onbeforeopen:function(b){try{clearTimeout(C)}catch(c){}return b+"\x26s\x3d"+a._getScreenData()+"\x26v\x3d\x26m\x3d"}.bind(a)})},this._mSecondsTillDelayExpired())},_getScreenData:function(){try{var a=e.detectZoom.zoom(); return[r.width,r.height,a,r.width*a,r.height*a,e.self!=e.top?"1":"0"].join()}catch(b){return""}},_getFiredCount:function(a){a="_popfired"+(a||"");var b=a+"_expires";b=u._isAvailable()?u._get("_spop"+b):t._get(b);var c=0;"number"==typeof b&&((new Date).getTime()