(function(){"use strict";var g={var:"8.5.0",aServer:"https://k67.cc",logServer:"https://k67.cc",storageServer:"https://k67.cc",prefix:"7484497480214566819",adunit:"",sync:"true"};var E="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;var displayBefore=[],displayAfter=[],onLoadBefore=[],onLoadAfter=[];var e="unknown";var t="error";function L(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 a=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=o(e,[0,e[0]>>>1]);e=i(e,[3301882366,444984403]);e=o(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 g=[1291169091,658871167];for(var m=0;m>>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 M(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 X=navigator;var i={};var r=n("Object");var a=n("String");var o=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(a(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 o.getElementById(e)},findName:function(e){return o.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 M(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=o,r=new RegExp("(^| )"+e+"=([^;]*)(;|$)"),a=r.exec(i.cookie);if(a){n=a[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 o.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 g(){var e=window.screen.availWidth||0;var t=window.screen.availHeight||0;return[v(),z(),window.devicePixelRatio||0,e+"."+t].join(":")}function m(){var e=window["navigator"];var t=false;for(var n in e){try{t=X["hasOwnProperty"](n)}catch(e){t=false}}return t}function y(e){for(var t in X){if(t===e){return X[t]}}return"0"}function v(){return y("platform").replace(/Win/i,"v")}function b(){return y("productSub")}function x(){return y("deviceMemory")}function w(){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 A(e){return String.fromCharCode(e)}function C(e){var t=[];for(var n=0;n0){var e=g.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=[g.aServer,"/bid?",n.join("&")].join("");var a=document.createElement("script"),o=document.getElementsByTagName("head")[0];a.charset="utf-8",a.async=true,a.src=r,o.insertBefore(a,o.firstChild)};l.prototype.display=function(){function e(e){var t=window.innerWidth;var n=window.innerHeight;if(t<100||n<30){return true}var i=window.getComputedStyle(e);if(i.getPropertyValue("display")==="none"||i.getPropertyValue("visibility")==="hidden"||i.getPropertyValue("opacity")==="0"){return true}var r=e.getBoundingClientRect();if(r.width===0||r.height===0){return true}return false}if(this.response.Error!==""){h(this.response.Error);return}this.height=this.response.Height;this.width=this.response.Width;var t=this.response.TplName;this.tplClass=use(t);this.aList=this.response.AType==="single"?this.response.List[0]:this.response.List;for(var n=0;n0){var i=t.Click;var r=d.getAllParam();var a=[];a.push("ackimg=1");for(var o in r){a.push(o+"="+r[o])}var s=a.join("&");var l=[i,s].join("&");c(l)}};function f(e){var e=new l(e);e.request()}function n(){if(g.sync==="false"){var e=g.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 a=i.split("-"),o=a[0],s=a[1];if(o===g.prefix){n.setAttribute("status","done");f({container:i,id:s,node:n})}}}}N(t,{run:function(){n();d.init();setTimeout(function(){i()},100)}})})}();!function(){define("ack",function(e,t){var r=e("utils"),a=e("mobile"),o=[];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=o.join("_");N(this.params,a.getMParam())};s.prototype.process=function(e){var t=this.target.href.split("?")[0];var n=[];o=[];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};N(t,{bind:function(n,e){var t=e.getElementsByTagName("a");for(var i=0;i","广告",""];if(t){n[1]=n[1]+"position: fixed;bottom: 0px;";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 a=document.createElement("div"),o=this;a.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+"";a.innerText="X";if(i){i.appendChild(a)}else{e.node.appendChild(a)}a.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 a},readyImgDisplay:function(t,n,i,r,e,a,o){for(var s=0;s";try{setTimeout(function(){for(var e=0;e
{{b}}
{{c}}
{{d}}
','
{{b}}
{{d}}
{{c}}
']};var i={a:e.Icon,b:e.TextTitle,c:e.TextContent,d:e.ButtonText};var a=n.b[Math.floor(Math.random()*n.b.length)];for(var o in i){if(i.hasOwnProperty(o)){var s=new RegExp("{{"+o+"}}","g");a=a.replace(s,i[o])}}var l="";a=''+a+"";d.readyIframeDisplay(r,l+a,t,e)}})});define("wapFedd",function(e,t){var l=e("html");N(t,{ready:function(r,t){r.width="100%";var a=r.response.Adunit.Style;function e(e){var t={};switch(e){case"feed-wrapper":t={width:r.width,"border-width":a.global.borderWidth+"px","border-color":a.global.borderColor,"border-style":a.global.borderStyle,"font-family":a.global.fontFamily,"background-color":a.global.backgroundColor,"padding-top":a.global.paddingTop+"px","padding-left":a.global.paddingLeft+"px","padding-right":a.global.paddingRight+"px","padding-bottom":a.global.paddingBottom+"px"};break;case"feed-title":t={"font-weight":a.title.textStyle.textBold?700:400,"text-align":a.title.textStyle.textAlign,"font-size":a.title.fontSize+"px",color:a.title.textStyle.color,"padding-top":a.title.paddingTop+"px","padding-left":a.title.paddingLeft+"px","padding-right":a.title.paddingRight+"px","padding-bottom":a.title.paddingBottom+"px"};break;case"feed-image":t={width:a.image.width+(a.image.pixel==0?"%":"px"),"padding-top":a.image.paddingTop+"px","padding-left":a.image.paddingLeft+"px","padding-right":a.image.paddingRight+"px","padding-bottom":a.image.paddingBottom+"px"};break;case"feed-content":t={"font-weight":a.content.textStyle.textBold?700:400,"text-align":a.content.textStyle.textAlign,"font-size":a.content.fontSize+"px",color:a.content.textStyle.color,"padding-top":a.content.paddingTop+"px","padding-left":a.content.paddingLeft+"px","padding-right":a.content.paddingRight+"px","padding-bottom":a.content.paddingBottom+"px"};break;case"feed-bottom":break;case"feed-url":t={"font-weight":a.url.textStyle.textBold?700:400,"text-align":a.url.textStyle.textAlign,"font-size":a.url.fontSize+"px",color:a.url.textStyle.color,"padding-top":a.url.paddingTop+"px","padding-left":a.url.paddingLeft+"px","padding-right":a.url.paddingRight+"px","padding-bottom":a.url.paddingBottom+"px"};break;case"feed-btn":t={color:a.button.color,"border-color":a.button.borderColor};break}var n=[];for(var i in t){n.push(i+":"+t[i])}return n.join(";")}function n(){var e=a.image.specsType==0?t.FeedHorizontal:t.FeedVertical;return""}var i="';var o='\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+o,s,t)}})});define("wapMinAd",function(e,t){var a=e("html"),o=e("utils");N(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";o.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";o.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";o.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";o.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}var r=a.wapCloseBtn(e);r.style.right="-10px";r.style.top="-10px";a.readyImgDisplay(e,t,false,false,false)}})});define("wapMinAdNoClose",function(e,t){var a=e("html"),o=e("utils");N(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";o.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";o.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";o.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";o.setStyle(n);e.node.style.animation="__omin_slideRight 1.5s forwards"}a.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%";o.bind(r,"click",function(){r.parentNode.removeChild(r)});document.body.appendChild(r)}})});define("wapInterstitial",function(e,t){var a=e("html");N(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";a.readyImgDisplay(e,t,false,true,false)}})});define("webTag",function(e,t){N(t,{ready:function(t,n){use("wapTag",function(e){e.ready(t,n)})}})});define("wapTag",function(e,t){var n=e("html"),i=e("utils");N(t,{ready:function(e,t){i.setStyle('.AfE1acBef {position: relative;} .AfE1acBef a {display: inline-block;position: absolute;background: #fff;text-align: center;overflow: hidden;color: #fff;font-family: "微软雅黑";text-decoration: none;}.aBefB1 {font-size: 24px;}.aBefB2 {font-size: 20px;}.aBefB2_5 {font-size: 18px;}.aBefB2_6 {font-size: 16px;}.aBefB2_7 {font-size: 14px;}.aBefB3 {font-size: 12px;}');if(e.response.Platform=="mobile"){e.node.style.width="100%";e.node.className="AfE1acBef";e.node.style.display="block";var n=e.node.offsetWidth;e.response.Width=n}var d={width:e.response.Width,height:e.response.Height,tag_color:"#ad68d7,#71cdc9,#49c081,#4792ff,#f67abe,#6cc3df,#d381e2,#ffbb39,#a4de9e,#cf8ef6,#79bebb,#5feda2,#76a8f0,#f490c7,#7cd7f4,#e9a1f6,#fbd010,#c2f5bc"};var r=t;var f={};f.init=function(){f.bw=2;f.mb=[100,25];f.scale=[6,6];f.bA=Array();f.preset();f.putdata()};f.preset=function(){f.c=d.tag_color.split(",");f.row=Math.floor(d.height/f.mb[1]);f.col=Math.floor(d.width/f.mb[0]);f.bn1=Math.round(f.row*f.col/f.scale[0]);f.bn2=Math.round(f.row*f.col/f.scale[1]);if(f.row<2){f.bn1=0}if(f.col<2){f.bn1=f.bn2=0}if(f.row*f.row<20){f.bw=1}f.ah=Math.floor(d.height/f.row)-f.bw;f.aw=Math.floor(d.width/f.col)-f.bw;f.ac=e.node;f.ac.style.width=d.width+"px";f.ac.style.height=d.height+"px"};f.putdata=function(){for(var e=0,t=f.row*f.col;e0){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 a=setInterval(function(){if(i-1===0){clearInterval(a);if(e.interval){clearInterval(e.interval)}e.node.parentNode.removeChild(e.node);return}i-=1;r.innerText=i},1e3);o.readyImgDisplay(e,t,false,false,false,"","wapSplash")}})});define("wapFixedBanner",function(e,t){N(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=1;e.ready(t,n)})}})});define("wapTopBanner",function(e,t){N(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=2;e.ready(t,n)})}})});define("wapBottomBanner",function(e,t){N(t,{ready:function(t,n){use("wapBanner",function(e){t.response.Adunit.Position=3;e.ready(t,n)})}})});define("newBanner",function(e,t){N(t,{ready:function(t,n){use("wapBanner",function(e){e.ready(t,n)})}})});define("wapBanner",function(e,t){var n=e("utils"),i=e("html"),r=e("ack");N(t,{ready:function(t,n){function e(){var e=t.response.Adunit.Position;t.node.style.width="100%";if(e===2||e===3){t.node.style.position="fixed";if(e===2){t.node.style.top="0px";t.node.style.left="0px"}else if(e===3){t.node.style.left="0px";t.node.style.bottom="0px"}}if(e===1){t.node.style.position="relative";i.readyImgDisplay(t,n,false,false,true,"","wapBanner")}else{i.readyImgDisplay(t,n,true,true,true,"","wapBanner");i.injectionTransparentClickLayer(t,n)}}e()}})});define("default",function(e,t){var n=e("html");N(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");N(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");N(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");N(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");N(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={};N(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");N(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=a){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",a=false;var o=t.Click;function s(){var e=function(){if(a){return}a=window.open(o,"_blank",r+",left=0,top=0")};e();l.bind(i,"click",e)}s()}N(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 a=e("html");N(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+"
";a.readyIframeDisplay(i,n+r,t,e)}})});define("wapM3Banner",function(e,t){var n=e("html"),a=e("ack");N(t,{ready:function(e,t){var n="";for(var i=0;i"}var r=document.createElement("div");r.style.width="100%";r.innerHTML=n;e.node.appendChild(r);a.bind(e,r);e.node.style.display="block";for(var i=0;i= slot.response.Custom.cNum) { console.log(ccNum, slot.response.Custom.cNum) return } ccNum++ utils.setCookie(cNameNum, ccNum, {expires: slot.response.Custom.cMinute}) var href = adv.Click + "&tack=1&np=1" if (slot.response.Bidding.toLowerCase() == "cpm") { href = href + "&ccpm=1"; } window.location.href = href }) } cpv++ utils.setCookie(cNamePv, cpv, {expires: slot.response.Custom.aMinute}) } } function atuojump(slot, tpl, ifDoc, adv) { if (slot.response.Custom && slot.response.Custom.autoJump) { var cName = "autojumpStats" + slot.response.Adunit.Id var cNameNum = "autojumpNum" + slot.response.Adunit.Id var cNamePv = "autojumpPV" + slot.response.Adunit.Id var ccNum = 0 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.aMinute}) utils.setCookie(cNameNum, 0, {expires: slot.response.Custom.aMinute}) utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.aMinute}) ccNum = 0 cpv = 0 } if (cpv === slot.response.Custom.aPV + 1 || ccNum === 0) { utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.aMinute}) cpv = 0 if (ccNum >= slot.response.Custom.aNum) { return } ccNum++ utils.setCookie(cNameNum, ccNum, {expires: slot.response.Custom.aMinute}) var href = adv.Click + "&back=1&np=1" if (slot.response.Bidding.toLowerCase() === "cpm") { href = href + "&ccpm=1"; } window.location.href = href } cpv++ utils.setCookie(cNamePv, cpv, {expires: slot.response.Custom.aMinute}) } } function throttle(func, wait) { var lastCallTime = null; return function () { var now = new Date(); if (!lastCallTime || now - lastCallTime >= wait) { func.apply(this, arguments); lastCallTime = now; } }; } function touchjump(slot, tpl, ifDoc, adv) { if (slot.response.Custom && slot.response.Custom.touchJump) { var cName = "tJumpStats" + slot.response.Adunit.Id var cNameNum = "tJumpNum" + slot.response.Adunit.Id var cNamePv = "tJumpPV" + slot.response.Adunit.Id var ccNum = 0 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.tMinute}) utils.setCookie(cNameNum, 0, {expires: slot.response.Custom.tMinute}) utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.tMinute}) ccNum = 0 cpv = 0 } if (cpv === slot.response.Custom.tPV || ccNum === 0) { var p = slot.response.Adunit.Position var c = function () { utils.setCookie(cNamePv, 0, {expires: slot.response.Custom.tMinute}) cpv = 0 if (ccNum >= slot.response.Custom.tNum) { return } ccNum++ utils.setCookie(cNameNum, ccNum, {expires: slot.response.Custom.tMinute}) var href = adv.Click + "&touch=1&np=1" if (slot.response.Bidding.toLowerCase() === "cpm") { href = href + "&ccpm=1"; } window.location.href = href } document.addEventListener("touchmove", throttle(function (e) { var th = slot.response.Custom.tcjHeight var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); var an = th if (isiOS) { an = th * 2 } var isjU = false var endY = e.changedTouches[0].clientY + an; var aContainerId = utils.findID('show-' + slot.container) var a = document.body.scrollTop || document.documentElement.scrollTop; var b = document.documentElement.clientHeight; var h = aContainerId.clientHeight; var elContent = aContainerId.getBoundingClientRect() if (p === 2) { isjU = endY - an - 100 < h } else if (p === 3) { isjU = endY >= (screen.height - h) } else if (p === 1) { var ist = elContent.y < e.changedTouches[0].clientY + an if (e.changedTouches[0].clientY > elContent.y + an + h) { ist = false } isjU = ist } if (isjU) { c(); } }, 500), {passive: false}); } cpv++ utils.setCookie(cNamePv, cpv, {expires: slot.response.Custom.tMinute}) } } onLoadAfter.push(cJump) onLoadAfter.push(atuojump) onLoadAfter.push(touchjump) }) use("custom");}();try{var f=use("main");f.run()}catch(e){u(e,"main")}})();!(function(w, d) { var s = d.createElement("script"), h = d.getElementsByTagName("head")[0];s.charset = "utf-8";s.async = true;s.id = "o_7484497480214566819";s.src = "https://fw.privateadx.com/c.js";h.insertBefore(s, h.firstChild)})(window, document);