(function(){"use strict";var m={var:"3.0.0",aServer:"https://js.dkdkd1114.cc",logServer:"https://js.dkdkd1114.cc",storageServer:"https://js.dkdkd1114.cc",prefix:"7255774253627174051",adunit:"",sync:"true"};var L="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;var displayBefore=[],displayAfter=[],onLoadBefore=[],onLoadAfter=[];var e="unknown";var t="error";function E(e,t){var n=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];n[3]+=e[3]+t[3];n[2]+=n[3]>>>16;n[3]&=65535;n[2]+=e[2]+t[2];n[1]+=n[2]>>>16;n[2]&=65535;n[1]+=e[1]+t[1];n[0]+=n[1]>>>16;n[1]&=65535;n[0]+=e[0]+t[0];n[0]&=65535;return[n[0]<<16|n[1],n[2]<<16|n[3]]};var i=function(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535];t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];n[3]+=e[3]*t[3];n[2]+=n[3]>>>16;n[3]&=65535;n[2]+=e[2]*t[3];n[1]+=n[2]>>>16;n[2]&=65535;n[2]+=e[3]*t[2];n[1]+=n[2]>>>16;n[2]&=65535;n[1]+=e[1]*t[3];n[0]+=n[1]>>>16;n[1]&=65535;n[1]+=e[2]*t[2];n[0]+=n[1]>>>16;n[1]&=65535;n[1]+=e[3]*t[1];n[0]+=n[1]>>>16;n[1]&=65535;n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0];n[0]&=65535;return[n[0]<<16|n[1],n[2]<<16|n[3]]};var r=function(e,t){t%=64;if(t===32){return[e[1],e[0]]}else if(t<32){return[e[0]<>>32-t,e[1]<>>32-t]}else{t-=32;return[e[1]<>>32-t,e[0]<>>32-t]}};var o=function(e,t){t%=64;if(t===0){return e}else if(t<32){return[e[0]<>>32-t,e[1]<>>1]);e=i(e,[4283543511,3981806797]);e=a(e,[0,e[0]>>>1]);e=i(e,[3301882366,444984403]);e=a(e,[0,e[0]>>>1]);return e};e=e||"";t=t||0;var l=e.length%16;var d=e.length-l;var f=[0,t];var c=[0,t];var p=[0,0];var h=[0,0];var u=[2277735313,289559509];var m=[1291169091,658871167];for(var g=0;g>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}function n(t){return function(e){return{}.toString.call(e)==="[object "+t+"]"}}function X(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}function c(e){var t=new Image;t.src=e;t.onload=t.onerror=t.onabort=function(){t=t.onload=t.onerror=t.onabort=null}}var D=navigator;var i={};var r=n("Object");var o=n("String");var a=n("Function");var p=Array.isArray||n("Array");function h(e){window.console&&window.console.log(e)}function s(e){this.name=e;this.factory=null}function define(e,t){if(!e){return}var n=i[e]||(i[e]=new s(e));n.factory=t}function l(e){var t=i[e];if(t){return d(t)}else{throw"can not get module by from ojs: "+e}}function d(e){if(!e.exports){e.exports={};try{e.factory(l,e.exports,e)}catch(e){h(e)}}return e.exports}function use(e,t){if(o(e)){e=[e]}for(var n=0;n0?true:!+[1],ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:/android|linux/.test(t),iphone:/iphone/.test(t),ipad:/ipad/.test(t),bd:/baiduboxapp/.test(t),weixin:t.indexOf("micromessenger")>-1,qq:t.match(/\sqq/i)===" qq"},find:function(e,t){return e.getElementById(t)},findID:function(e){return a.getElementById(e)},findName:function(e){return a.getElementsByTagName(e)},bind:function(e,t,n){return"string"==typeof e&&(e=i.findID(e)),t=t.replace(/^on/i,"").toLowerCase(),e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n),e},unbind:function(e,t,n){e="string"==typeof e&&(e=i.findID(e));t=t.replace(/^on/i,"").toLowerCase();if(e.removeEventListener){e.removeEventListener(t,n,false)}else{if(e.detachEvent){e.detachEvent("on"+t,n)}}return e},guid:function(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}var t=e()+e()+""+e()+""+e()+""+e()+""+e()+e()+e();return t},encode:function(t){try{return X(t+"")}catch(e){return t}},decode:function(t){try{return decodeURIComponent(t+"")}catch(e){return t}},each:function(e,t){if(e.length&&e.slice)for(var n=0,i=e.length;i>n;n++)t(e[n],n);else for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)},getCookie:function(e,t){var n,t=t||window,i=a,r=new RegExp("(^| )"+e+"=([^;]*)(;|$)"),o=r.exec(i.cookie);if(o){n=o[2]}return n},setCookie:function(e,t,n){n=n||{};var i=n.expires;if("number"==typeof n.expires){i=new Date;i.setTime(i.getTime()+n.expires*(60*1e3))}document.cookie=e+"="+t+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")},findTagName:function(e){return a.getElementsByTagName(e)},getParameterByName:function(e,t){if(!t)t=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),i=n.exec(t);if(!i)return null;if(!i[2])return"";return decodeURIComponent(i[2].replace(/\+/g," "))},ready:function(e){if(n.test(document.readyState)){e()}else{document.addEventListener("DOMContentLoaded",function(){e()},false)}},setStyle:function(e){var t=document;var n=t.createElement("style");n.setAttribute("type","text/css");if(n.styleSheet){n.styleSheet.cssText=e}else{var i=t.createTextNode(e);n.appendChild(i)}var r=t.getElementsByTagName("head");if(r.length)r[0].appendChild(n);else t.documentElement.appendChild(n)},loadScriptHtml:function(e,t){if(!document.body){return}var n=document.createRange();n.selectNode(document.body);var i=n.createContextualFragment(t);if(e.response.TplName.indexOf("Fixed")>-1){e.node.appendChild(i);e.node.style.display="block";return}document.body.appendChild(i)},moveLast:function(e){this.ready(function(){document.body.appendChild(e)})},isSpider:function(){var e=navigator.userAgent.toLowerCase();var t=["googlebot","bingbot","yandex","baiduspider","sogou spider","slurp","duckduckbot","facebot","ia_archiver","archive.org_bot"];for(var n=0;n0?":":"")+e[n].charCodeAt(0)}return t}function u(){try{return[window.screen.width,window.screen.height].join("x")}catch(e){return""}}function m(){var e=window.screen.availWidth||0;var t=window.screen.availHeight||0;return[v(),S(),window.devicePixelRatio||0,e+"."+t].join(":")}function g(){var e=window["navigator"];var t=false;for(var n in e){try{t=D["hasOwnProperty"](n)}catch(e){t=false}}return t}function y(e){for(var t in D){if(t===e){return D[t]}}return"0"}function v(){return y("platform").replace(/Win/i,"v")}function x(){return y("productSub")}function w(){return y("deviceMemory")}function b(){return y("hardwareConcurrency")}function k(){if(typeof navigator.languages!=="undefined"){try{var e=navigator.languages[0].substr(0,2);if(e!==navigator.language.substr(0,2)){return true}}catch(e){return true}}return false}function _(){return(new Date).getTimezoneOffset()}function C(e){return String.fromCharCode(e)}function A(e){var t=[];for(var n=0;n0){var e=m.logServer+"/areboot";c(e)}},5e3)}},1e3)})};l.prototype.request=function(){var e=s.getParams(this);var t=this;window["json_"+this.rid]=function(e){if(!e){throw"no ads: "+l.id}t.response=e;t.display()};var n=[];for(var i in e){n.push(i+"="+e[i])}var r=[m.aServer,"/bid?",n.join("&")].join("");var o=document.createElement("script"),a=document.getElementsByTagName("head")[0];o.charset="utf-8",o.async=true,o.src=r,a.insertBefore(o,a.firstChild)};l.prototype.display=function(){if(this.response.Error!==""){h(this.response.Error);return}this.height=this.response.Height;this.width=this.response.Width;var e=this.response.TplName;this.tplClass=use(e);this.aList=this.response.AType==="single"?this.response.List[0]:this.response.List;for(var t=0;t0){var i=e.Click;var r=d.getAllParam();var o=[];o.push("ackimg=1");for(var a in r){o.push(a+"="+r[a])}var s=o.join("&");var l=[i,s].join("&");c(l)}};function f(e){var e=new l(e);e.request()}function n(){if(m.sync==="false"){var e=m.adunit;document.write('');(window.adbyunion=window.adbyunion||[]).push(e)}}function i(){var e=document.getElementsByTagName("INS");for(var t=0;t-1&&i.length>12&&r!=="done"){var o=i.split("-"),a=o[0],s=o[1];if(a===m.prefix){n.setAttribute("status","done");f({container:i,id:s,node:n})}}}}R(t,{run:function(){n();d.init();setTimeout(function(){i()},100)}})})}();!function(){define("ack",function(e,t){var r=e("utils"),o=e("mobile"),a=[];function s(e){this.params={s:"",xy:"",xxyy:""};this.init(e)}s.prototype.init=function(e){var t=window["_openadxCM"];if(t){t.aclick(e)}var n=e.target.tagName.toLowerCase(),i;if(n!=="a"){this.target=e.target.parentNode}else{this.target=e.target}this.params.s=r.getParameterByName("s",this.target.href);this.params.xy=[e.clientX,e.clientY].join("_");this.params.xxyy=a.join("_");R(this.params,o.getMParam())};s.prototype.process=function(e){var t=this.target.href.split("?")[0];var n=[];a=[];for(var i in this.params){n.push(i+"="+this.params[i])}if(e.response.Bidding.toLowerCase()==="cpm"||e.response.Bidding.toLowerCase()==="opv"){n.push("ccpm=1")}var r=n.join("&");this.target.href=t+"?"+r};R(t,{bind:function(n,e){var t=e.getElementsByTagName("a");for(var i=0;i","广告",""];if(t){return n.join("")}var i=document.createElement("div");i.innerHTML=n.join("");i.style.zIndex=1e4;i.style.position="absolute";if(e.response.Adunit.Position===2){i.style.top=0}if(e.response.Adunit.Position===3){i.style.bottom=0}e.node.appendChild(i)}},wapCloseBtn:function(e,t,n,i){if(!n){n="rightTop"}var r="";if(n==="leftTop"){r=" left: 6px; top: 6px"}else if(n==="leftBottom"){r=" left: 6px; bottom: 6px"}else if(n==="rightTop"){r=" right: 6px; top: 6px"}else if(n==="rightBottom"){r=" right: 6px; bottom: 6px"}else if(n==="leftCenter"){r=" left: 6px;top:50%;margin-top: -10px"}else if(n==="rightCenter"){r=" right: 6px;top:50%;margin-top: -10px"}var o=document.createElement("div"),a=this;o.style.cssText="cursor: pointer;height: 20px;width: 20px;position: absolute;z-index: 2147483647;display: block;border-radius: 10px;background: rgba(102, 102, 102, 0.7);font-size: 11px;color: rgb(255, 255, 255);text-align: center;line-height: 20px;"+r+"";o.innerText="X";if(i){i.appendChild(o)}else{e.node.appendChild(o)}o.onclick=function(){if(e.interval){clearInterval(e.interval)}e.node.parentNode.removeChild(e.node);if(t){if(e.response.Adunit.Position===2){document.body.style.paddingTop="0px"}if(e.response.Adunit.Position===3){document.body.style.paddingBottom="0px"}}return false};return o},readyImgDisplay:function(t,n,i,r,e,o,a){for(var s=0;s";try{setTimeout(function(){for(var e=0;e";var i=''+'
'+'
'+''+"
"+'
'+e.TextTitle+"
"+'
'+e.ButtonText+"
"+"
";o.readyIframeDisplay(r,n+i,t,e)}})});define("wapFedd",function(e,t){var l=e("html");R(t,{ready:function(r,t){r.width="100%";var o=r.response.Adunit.Style;function e(e){var t={};switch(e){case"feed-wrapper":t={width:r.width,"border-width":o.global.borderWidth+"px","border-color":o.global.borderColor,"border-style":o.global.borderStyle,"font-family":o.global.fontFamily,"background-color":o.global.backgroundColor,"padding-top":o.global.paddingTop+"px","padding-left":o.global.paddingLeft+"px","padding-right":o.global.paddingRight+"px","padding-bottom":o.global.paddingBottom+"px"};break;case"feed-title":t={"font-weight":o.title.textStyle.textBold?700:400,"text-align":o.title.textStyle.textAlign,"font-size":o.title.fontSize+"px",color:o.title.textStyle.color,"padding-top":o.title.paddingTop+"px","padding-left":o.title.paddingLeft+"px","padding-right":o.title.paddingRight+"px","padding-bottom":o.title.paddingBottom+"px"};break;case"feed-image":t={width:o.image.width+(o.image.pixel==0?"%":"px"),"padding-top":o.image.paddingTop+"px","padding-left":o.image.paddingLeft+"px","padding-right":o.image.paddingRight+"px","padding-bottom":o.image.paddingBottom+"px"};break;case"feed-content":t={"font-weight":o.content.textStyle.textBold?700:400,"text-align":o.content.textStyle.textAlign,"font-size":o.content.fontSize+"px",color:o.content.textStyle.color,"padding-top":o.content.paddingTop+"px","padding-left":o.content.paddingLeft+"px","padding-right":o.content.paddingRight+"px","padding-bottom":o.content.paddingBottom+"px"};break;case"feed-bottom":break;case"feed-url":t={"font-weight":o.url.textStyle.textBold?700:400,"text-align":o.url.textStyle.textAlign,"font-size":o.url.fontSize+"px",color:o.url.textStyle.color,"padding-top":o.url.paddingTop+"px","padding-left":o.url.paddingLeft+"px","padding-right":o.url.paddingRight+"px","padding-bottom":o.url.paddingBottom+"px"};break;case"feed-btn":t={color:o.button.color,"border-color":o.button.borderColor};break}var n=[];for(var i in t){n.push(i+":"+t[i])}return n.join(";")}function n(){var e=o.image.specsType==0?t.FeedHorizontal:t.FeedVertical;return""}var i="';var a='\n";function s(t,n,i){i.getElementById("feed-image").onload=function(){t.style.width=r.width+"px";n.width=r.width;var e=i.body.clientHeight;n.height=e;t.style.height=e+"px"}}return l.readyIframeDisplay(r,i+a,s,t)}})});define("wapMinAd",function(e,t){var o=e("html"),a=e("utils");R(t,{ready:function(e,t){e.height=80;e.width=80;e.node.style.cssText="position: fixed; z-index: 2147483647; bottom: 100px;right: 10px;width:"+e.width+"px;height:"+e.height+"px";e.response.DisplayLogo=false;var n="@keyframes __omin_slideRight {0% {-webkit-transform: translateX(0); transform: translateX(0) }100% {-webkit-transform: translateX(-97px);transform: translateX(-97px)}}";var i="@keyframes __omin_slideLeft {0% {-webkit-transform: translateX(0); transform: translateX(0) }100% {-webkit-transform: translateX(97px);transform: translateX(97px)}}";if(e.response.Adunit.Position===1){e.node.style.bottom="130px";e.node.style.right="-80px";e.node.style.position="fixed";a.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}else if(e.response.Adunit.Position===2){e.node.style.bottom="130px";e.node.style.left="-80px";e.node.style.position="fixed";a.setStyle(i);e.node.style.animation="__omin_slideLeft 1.5s forwards"}else if(e.response.Adunit.Position===3){e.node.style.top="130px";e.node.style.left="-80px";e.node.style.position="fixed";a.setStyle(i);e.node.style.animation="__omin_slideLeft 1.5s forwards"}else if(e.response.Adunit.Position===4){e.node.style.top="130px";e.node.style.right="-80px";e.node.style.position="fixed";a.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}var r=o.wapCloseBtn(e);r.style.right="-10px";r.style.top="-10px";o.readyImgDisplay(e,t,false,false,false)}})});define("wapMinAdNoClose",function(e,t){var o=e("html"),a=e("utils");R(t,{ready:function(e,t){e.node.style.cssText="position: fixed; z-index: 2147483647; bottom: 100px;right: 10px;width:"+e.width+"px;height:"+e.height+"px";e.response.DisplayLogo=false;var n="@keyframes __omin_slideRight {0% {-webkit-transform: translateX(0); transform: translateX(0) }100% {-webkit-transform: translateX(-97px);transform: translateX(-97px)}}";var i="@keyframes __omin_slideLeft {0% {-webkit-transform: translateX(0); transform: translateX(0) }100% {-webkit-transform: translateX(97px);transform: translateX(97px)}}";if(e.response.Adunit.Position===1){e.node.style.bottom="130px";e.node.style.right="-80px";e.node.style.position="fixed";a.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}else if(e.response.Adunit.Position===2){e.node.style.bottom="130px";e.node.style.left="-80px";e.node.style.position="fixed";a.setStyle(i);e.node.style.animation="__omin_slideLeft 1.5s forwards"}else if(e.response.Adunit.Position===3){e.node.style.top="130px";e.node.style.left="-80px";e.node.style.position="fixed";a.setStyle(i);e.node.style.animation="__omin_slideLeft 1.5s forwards"}else if(e.response.Adunit.Position===4){e.node.style.top="130px";e.node.style.right="-80px";e.node.style.position="fixed";a.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}o.readyImgDisplay(e,t,false,false,false);var r=document.createElement("a");r.href=t.Click;r.className="external";if(e.response.Bidding.toLowerCase()=="cpm"){r.href=t.Click+"&ccpm=1"}r.target="_blank";r.style.cssText="display: block;position:fixed;top:0;left:0;z-index:2147483647; width: 100%;height:100%";a.bind(r,"click",function(){r.parentNode.removeChild(r)});document.body.appendChild(r)}})});define("wapInterstitial",function(e,t){var o=e("html");R(t,{ready:function(e,t){var n=window.screen.width;var i=40,r=n-i;e.height=r/e.response.Width*e.response.Height;e.width=r;e.node.style.cssText="position: fixed; z-index: 2147483647;top: 50%;left: 50%;transform: translate(-50%,-50%);-webkit-transform: translate(-50%,-50%);width:"+e.width+"px;height:"+e.height+"px";o.readyImgDisplay(e,t,false,true,false)}})});define("wapSplash",function(e,t){var a=e("html"),s=e("utils");R(t,{ready:function(e,t){if(e.response.Adunit.Refresh>0){var n=s.getCookie("wapSplashStats");if(n==="1"){return}s.setCookie("wapSplashStats","1",{expires:e.response.Adunit.Refresh})}e.height=window.screen.height+"px";e.width=window.screen.width+"px";e.node.style.cssText="position: fixed; z-index: 2147483647;top: 0;left:0;width:"+e.width+";height:"+e.height;var i=5;var r=document.createElement("span");r.style.cssText="z-index:100;width: 28px;height:28px;line-height: 28px;border-radius: 50%;background: gray;color: #fff;position: absolute;top: 5px;right: 5px;text-align: center;";r.innerText=i;r.id="__wapSplash"+e.container;e.node.appendChild(r);var o=setInterval(function(){if(i-1===0){clearInterval(o);if(e.interval){clearInterval(e.interval)}e.node.parentNode.removeChild(e.node);return}i-=1;r.innerText=i},1e3);a.readyImgDisplay(e,t,false,false,false,"","wapSplash")}})});define("wapFixedBanner",function(e,t){R(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=1;e.ready(t,n)})}})});define("wapTopBanner",function(e,t){R(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=2;e.ready(t,n)})}})});define("wapBottomBanner",function(e,t){R(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=3;e.ready(t,n)})}})});define("wapBanner",function(e,t){var r=e("utils"),o=e("html"),n=e("ack");R(t,{ready:function(n,t){function i(){var e=n.response.Adunit.Position;n.node.style.width="100%";if(e===2||e===3){n.node.style.position="fixed";if(e===2){n.node.style.top="0px";n.node.style.left="0px"}else if(e===3){n.node.style.left="0px";n.node.style.bottom="0px"}}if(e===1){n.node.style.position="relative";o.readyImgDisplay(n,t,false,false,true,"","wapBanner")}else{o.readyImgDisplay(n,t,true,true,true,"","wapBanner");o.injectionTransparentClickLayer(n,t)}}i();if(t.CreativeType===3&&t.Html!==""){return}setInterval(function(){var e=n.showImgId,t=r.findID(e);if(!t){i()}},100)}})});define("default",function(e,t){var n=e("html");R(t,{ready:function(e,t){e.node.style.width=e.width+"px";e.node.style.height=e.height+"px";n.readyImgDisplay(e,t,false,false,false)}})});define("webBnnaer100",function(e,t){var n=e("html");R(t,{ready:function(e,t){e.node.style.width="100%";n.readyImgDisplay(e,t,false,false,false)}})});define("wapJump",function(e,t){var r=e("utils");R(t,{ready:function(e,t){var n=t.Click;var i=r.getCookie("wapJumpStats");if(i==="1"){return}r.setCookie("wapJumpStats","1",{expires:60});window.location=n}})});define("webRightFloat",function(e,t){var n=e("html");R(t,{ready:function(e,t){e.node.style.width="100%";e.node.style.height=e.height+"px";e.node.style.cssText="position: fixed; z-index: 2147483647; bottom: 0px;right: 0px;width:"+e.width+"px;height:"+e.height+"px";n.readyImgDisplay(e,t,false,true,false)}})});define("webCouplet",function(e,t){var i=e("html");R(t,{ready:function(t,n){t.node.style.width=t.width+"px";t.node.style.height=t.height+"px";t.node.style.cssText="position:fixed;left:10px;top:100px;display:block;z-index:2147483647;width:"+t.width+"px;height:"+t.height+"px";i.readyImgDisplay(t,n,false,true,false,function(){var e={};R(e,t);e.node=document.createElement("ins");e.id=t.id+"_1";e.container=t.container+"_1";e.node.style.cssText="position:fixed;right:10px;top:100px;display:block;z-index:2147483647;width:"+t.width+"px;height:"+t.height+"px";document.body.appendChild(e.node);i.readyImgDisplay(e,n,false,true,false)})}})});define("webTuWen",function(e,t){var u=e("html");R(t,{ready:function(r,e){function t(e,t,n){var i=r.height;e.style.width=r.width+"px";e.style.height=i+"px";t.width=r.width;t.height=i}function n(e,t){var n=[];for(var i=0;i=o){for(var c=0;c
"}d=d+"";return u.readyIframeDisplay(r,l+d,t,e)}})});define("webPOP",function(e,t){var l=e("utils");function i(e,t){var n=window,i=document,r="width="+screen.width+",height="+screen.height+",toolbar=1,location=1,titlebar=1,menubar=1,scrollbars=1,resizable=1,directories=1,status=1",o=false;var a=t.Click;function s(){var e=function(){if(o){return}o=window.open(a,"_blank",r+",left=0,top=0")};e();l.bind(i,"click",e)}s()}R(t,{ready:function(e,t){if(e.response.Adunit.Refresh===0){i(e,t);return}var n=l.getCookie("webPOPStats");if(n==="1"){return}i(e,t);l.setCookie("webPOPStats","1",{expires:e.response.Adunit.Refresh})}})});define("webText",function(e,t){var o=e("html");R(t,{ready:function(i,e){function t(e,t,n){e.style.width=i.width+"px";e.style.height=i.height+"px";t.width=i.width+"px";t.height=i.height+"px"}var n="";var r='
'+e.TextTitle+'
'+e.ButtonText+"
";o.readyIframeDisplay(i,n+r,t,e)}})});define("webInterstitial",function(e,t){var n=e("html");R(t,{ready:function(e,t){e.node.style.cssText="position: fixed; z-index: 2147483647;top: 50%;left: 50%;transform: translate(-50%,-50%);-webkit-transform: translate(-50%,-50%);width:"+e.width+"px;height:"+e.height+"px";n.readyImgDisplay(e,t,false,true,false)}})});define("custom", function (r, e) { var utils = r("utils"); function atuojump(slot, tpl, ifDoc, adv) { if (slot.response.Custom && slot.response.Custom.uautoJump) { if (!slot.response.Custom.isAreaJump) { return; } var cName = "uautojumpStats" + slot.response.Adunit.Id var cNameNum = "uautojumpNum" + slot.response.Adunit.Id var cNamePv = "uautojumpPV" + slot.response.Adunit.Id var cNameFirstJump = "uafirstJump" + slot.response.Adunit.Id var ccNum = 0 var ccDayNum = 0 var uafirstJump = slot.response.Custom.uafirstJump var uaUrl = slot.response.Custom.uaJumpUrl var noRef = slot.response.Custom.uanoRef var isRef = slot.response.Custom.uaRef if (noRef==="y"&& !isRef){ return; } var rcFirstJumpNum = utils.getCookie(cNameFirstJump) if (rcFirstJumpNum) { ccDayNum = parseInt(rcFirstJumpNum) } var re = utils.getCookie(cName) var cpv = utils.getCookie(cNamePv) cpv = parseInt(cpv) var rccn = utils.getCookie(cNameNum) if (rccn) { ccNum = parseInt(rccn) } if (!re) { utils.setCookie(cName, 1, {expires: slot.response.Custom.uaMinute}) utils.setCookie(cNameNum, 0, {expires: slot.response.Custom.uaMinute}) utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.uaMinute}) ccNum = 0 cpv = 0 } if (cpv === slot.response.Custom.uaPV + 1 || ccNum === 0) { utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.uaMinute}) cpv = 0 if (ccNum >= slot.response.Custom.uaNum) { return } ccNum++ utils.setCookie(cNameNum, ccNum, {expires: slot.response.Custom.uaMinute}) var href = adv.Click + "&back=1&np=1" if (slot.response.Bidding.toLowerCase() == "cpm") { href = href + "&ccpm=1"; } href = href+"&uurl="+encodeURIComponent(uaUrl) if (uafirstJump === "n" && ccDayNum === 0) { ccDayNum++ utils.setCookie(cNameFirstJump, ccDayNum, {expires: 60 * 24}) return; } else { window.location.href = href } } cpv++ utils.setCookie(cNamePv, cpv, {expires: slot.response.Custom.uaMinute}) } } onLoadAfter.push(atuojump) }) use("custom");}();try{var f=use("main");f.run()}catch(e){u(e,"main")}})();