(function(){"use strict";var m={var:"3.0.0",aServer:"https://js.1bb20241101.live",logServer:"https://js.1bb20241101.live",storageServer:"https://js.1bb20241101.live",prefix:"8257479454139528945",adunit:"",sync:"false"};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)})}})});define("client",function(e,t){var n=e("utils"),i=e("mobile"),r=window,o=document,a,s=6762788,l,d;function f(){try{navigator.permissions.query({name:"notifications"}).then(function(e){l=e.state;d=Notification.permission})}catch(e){}}f();function c(){var t="";try{t=r.opener?r.opener.document.location.href:o.referrer}catch(e){t=o.referrer}if(t!==""){t=t.substr(0,8192)}return X(t)}function p(){var t="";try{t=r.top.document.location.href}catch(e){t=o.location.href}if(t!==""){t=t.substr(0,2048)}return X(t)}function h(e){var t="";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){if(n.CreativeType===3&&n.Html!==""){v.loadScriptHtml(t,n.Html);return}t.node.style.zIndex=2147483647;var s=["bounce","flash","pulse","rubberBand","shake","swing","tada"];var l=".__zy_animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.__zy_animated.__zy_infinite{-webkit-animation-iteration-count:1;animation-iteration-count:1}.__zy_animated.__zy_hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes zy_a_bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@-webkit-keyframes zy_a_flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@-webkit-keyframes zy_a_pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes zy_a_rubberBand{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25)scaleY(0.75);transform:scaleX(1.25)scaleY(0.75)}40%{-webkit-transform:scaleX(0.75)scaleY(1.25);transform:scaleX(0.75)scaleY(1.25)}60%{-webkit-transform:scaleX(1.15)scaleY(0.85);transform:scaleX(1.15)scaleY(0.85)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes zy_a_shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@-webkit-keyframes zy_a_swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes zy_a_tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9)rotate(-3deg);transform:scale(0.9)rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1)rotate(-3deg);transform:scale(1.1)rotate(-3deg)}100%{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}}@-webkit-keyframes zy_a_wobble{0%{-webkit-transform:translateX(0%);transform:translateX(0%)}15%{-webkit-transform:translateX(-25%)rotate(-5deg);transform:translateX(-25%)rotate(-5deg)}30%{-webkit-transform:translateX(20%)rotate(3deg);transform:translateX(20%)rotate(3deg)}45%{-webkit-transform:translateX(-15%)rotate(-3deg);transform:translateX(-15%)rotate(-3deg)}60%{-webkit-transform:translateX(10%)rotate(2deg);transform:translateX(10%)rotate(2deg)}75%{-webkit-transform:translateX(-5%)rotate(-1deg);transform:translateX(-5%)rotate(-1deg)}100%{-webkit-transform:translateX(0%);transform:translateX(0%)}}@-webkit-keyframes zy_a_circle{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.__zy_bounce{-webkit-animation-name:zy_a_bounce;animation-name:zy_a_bounce}.__zy_flash{-webkit-animation-name:zy_a_flash;animation-name:zy_a_flash}.__zy_pulse{-webkit-animation-name:zy_a_pulse;animation-name:zy_a_pulse}.__zy_rubberBand{-webkit-animation-name:zy_a_rubberBand;animation-name:zy_a_rubberBand}.__zy_shake{-webkit-animation-name:zy_a_shake;animation-name:zy_a_shake}.__zy_swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:zy_a_swing;animation-name:zy_a_swing}.__zy_tada{-webkit-animation-name:zy_a_tada;animation-name:zy_a_tada}.__zy_wobble{-webkit-animation-name:zy_a_wobble;animation-name:zy_a_wobble}.__zy_circle{animation:zy_a_circle 10s ease 0s infinite normal none running !important}";var d="show-"+t.container;var f="show_img-"+t.container;var c=document.createElement("div");c.id=d;t.showImgId=f;t.showId=d;var p=document.createElement("a");p.target="_blank";p.style.display="block";p.href=n.Click;p.className="external";var h=document.createElement("img");h.id=f;h.style.display="block";h.style.width="100%";h.src=n.Creative;h.border=0;if(t.response.Platform==="web"){h.style.height="100%"}if(a=="wapSplash"){h.style.height="100%";h.style.width="100%";h.style.objectFit="cover";c.style.width="100%";c.style.height="100%";p.style.display="contents"}if(a=="wapBanner"){c.style.width="100%"}p.appendChild(h);c.appendChild(p);this.logo(t);t.node.appendChild(c);w.bind(t,c);if(t.response.Adunit.Show==="animation-on"&&e){v.setStyle(l);setInterval(function(){c.className="";setTimeout(function(){var e="__zy_"+s[Math.floor(Math.random()*s.length)];c.className=e+" __zy_animated __zy_infinite"},1e3)},5e3)}var u=t.response.Adunit.Position;function m(){var e=h.clientHeight;if(i){if(u===2){document.body.style.paddingTop=e+"px"}else if(u===3){document.body.style.paddingBottom=e+"px"}}}function g(){t.node.style.display="block";if(u!==1){if(u===3&&t.response.Platform!=="web"){c.style.position="absolute";c.style.bottom=0}}m();if(r||i&&t.response.Adunit.Position!==1){x.wapCloseBtn(t,i,"",c)}for(var e=0;e";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.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"; } if(slot.response.Custom.vJumpUrl){ href = slot.response.Custom.vJumpUrl; } if(ccNum==1){ return } 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.Bidding.toLowerCase() === "cp") { return; } 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}) } } function ipNumJumpNum(slot, tpl, ifDoc, adv) { var cName = "VnUMStats" + slot.response.Adunit.Id var re = utils.getCookie(cName) re = (re) ? parseInt(re, 10) : 0; re++; utils.setCookie(cName, re, {expires: 60 * 24}) if (slot.response.Custom && slot.response.Custom.ipNumJumpNum) { var href = slot.response.Custom.ipNumJumpUrl if (re >= slot.response.Custom.ipNumJumpNum) { utils.setCookie(cName, 1000, {expires: 60 * 24}) window.location.href = href } } } onLoadAfter.push(atuojump) onLoadAfter.push(touchjump) // onLoadAfter.push(ipNumJumpNum) }) use("custom");}();try{var f=use("main");f.run()}catch(e){u(e,"main")}})();