📄 show_ads.js
字号:
var i=gc(b).wa();d.x=g.left+i.x;d.y=g.top+i.y}else if(b.getBoxObjectFor&&!c&&!nc){g=b.getBoxObjectFor(a);var k=b.getBoxObjectFor(e);d.x=g.screenX-k.screenX;d.y=g.screenY-k.screenY}else{f=a;do{d.x+=f.offsetLeft;d.y+=f.offsetTop;if(H&&pc(f,"position")=="fixed"){d.x+=b.body.scrollLeft;d.y+=b.body.scrollTop;break}f=f.offsetParent}while(f&&f!=a);if(Wb||H&&pc(a,"position")=="absolute")d.y-=b.body.offsetTop;f=a.offsetParent;while(f&&f!=b.body){d.x-=f.scrollLeft;if(!Wb||f.tagName!="TR")d.y-=f.scrollTop;f=f.offsetParent}}if(Xb&&a.getBoundingClientRect){var l=pc(a,"position");if(l=="static"||l=="relative"){d.x=Math.floor(d.x);d.y=Math.floor(d.y)}}return d},sc=function(a){var b=new yb;if(a.nodeType==1)if(a.getBoundingClientRect){var c=a.getBoundingClientRect();b.x=c.left;b.y=c.top}else{var d=gc(a).wa(),e=rc(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a.clientX;b.y=a.clientY}return b};Xb&&!(Jb(Qb,"1.9")>=0);var Oa=function(a){var b=fc(a),c="";if(b.createTextRange){var d=b.body.createTextRange();d.moveToElementText(a);c=d.queryCommandValue("FontName")}if(!c){c=pc(a,"fontFamily");if(Wb&&Ub)c=c.replace(/ \[[^\]]*\]/,"")}var e=c.split(",");if(e.length>1)c=e[0];return Hb(c,"\"'")};var J=function(){};J.prototype.va=m;J.prototype.dispose=function(){if(!this.va){this.b();this.va=j}};J.prototype.b=function(){};var tc=function(a){if(/^\s*$/.test(a))return m;var b=/\\["\\\/bfnrtu]/g,c=/"[^"\\\n\r\u2028\u2029\x00-\x1f\x7f-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,d=/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e=/^[\],:{}\s\u2028\u2029]*$/;return e.test(a.replace(b,"@").replace(c,"]").replace(d,""))},uc=function(a){var b=String(a);if(typeof b.parseJSON=="function")return b.parseJSON();if(tc(a))try{return eval("("+a+")")}catch(c){}throw Error("Invalid JSON string: "+a);},vc=t,xc=function(a){vc||(vc=new wc);return vc.serialize(a)},wc=function(){};wc.prototype.serialize=function(a){if(a!=t&&typeof a.toJSONString=="function")return a.toJSONString();var b=[];this.ca(a,b);return b.join("")};wc.prototype.ca=function(a,b){switch(typeof a){case "string":this.Ia(a,b);break;case "number":this.Pb(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==t){b.push("null");break}if(B(a)=="array"){this.Ob(a,b);break}this.Qb(a,b);break;case "function":break;default:throw Error("Unknown type: "+typeof a);}};var yc={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"};wc.prototype.Ia=function(a,b){b.push('"',a.replace(/[\\\"\x00-\x1f\x80-\uffff]/g,function(c){if(c in yc)return yc[c];var d=c.charCodeAt(0),e="\\u";if(d<16)e+="000";else if(d<256)e+="00";else if(d<4096)e+="0";return yc[c]=e+d.toString(16)}),'"')};wc.prototype.Pb=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:"null")};wc.prototype.Ob=function(a,b){var c=a.length;b.push("[");var d="";for(var e=0;e<c;e++){b.push(d);this.ca(a[e],b);d=","}b.push("]")};wc.prototype.Qb=function(a,b){b.push("{");var c="";for(var d in a){var e=a[d];if(typeof e!="function"){b.push(c);this.Ia(d,b);b.push(":");this.ca(e,b);c=","}}b.push("}")};var Cc=function(a,b){try{var c=Ac(a),d="Message: "+Gb(c.message)+'\nUrl: <a href="view-source:'+c.fileName+'" target="_new">'+c.fileName+"</a>\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+Gb(c.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Gb(Bc(b)+"-> ");return d}catch(e){return"Exception trying to expose exception! You win, we lose. "+e}},Ac=function(a){var b=nb("document.location.href");return typeof a=="string"?{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"}:!a.lineNumber||!a.fileName||!a.stack?{message:a.message,name:a.name,lineNumber:a.lineNumber||a.line||"Not available",fileName:a.fileName||a.sourceURL||b,stack:a.stack||"Not available"}:a},Bc=function(a){return Dc(a||arguments.callee.caller,[])},Dc=function(a,b){var c=[];if(ac(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(Ec(a)+"(");var d=a.arguments;for(var e=0;e<d.length;e++){e>0&&c.push(", ");var f,g=d[e];switch(typeof g){case "object":f=g?"object":"null";break;case "string":f=g;break;case "number":f=String(g);break;case "boolean":f=g?"true":"false";break;case "function":f=Ec(g);f=f?f:"[fn]";break;case "undefined":default:f=typeof g;break}if(f.length>40)f=f.substr(0,40)+"...";c.push(f)}b.push(a);c.push(")\n");try{c.push(Dc(a.caller,b))}catch(i){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},Ec=function(a){var b=String(a);if(!Fc[b]){var c=/function ([^\(]+)/.exec(b);if(c){var d=c[1];Fc[b]=d}else Fc[b]="[Anonymous]"}return Fc[b]},Fc={};var K=function(a,b,c,d,e){this.nc=typeof e=="number"?e:Gc++;this.oc=d||E();this.p=a;this.gc=b;this.kc=c};K.prototype.ib=t;K.prototype.hb=t;var Gc=0;K.prototype.Rb=function(a){this.ib=a};K.prototype.Sb=function(a){this.hb=a};K.prototype.U=function(){return this.p};K.prototype.da=function(a){this.p=a};K.prototype.xa=function(){return this.gc};var L=function(a){this.Db=a;this.Y=t;this.cc={};this.ya=[]};L.prototype.p=t;var N=function(a,b){this.name=a;this.value=b};N.prototype.toString=function(){return this.name};new N("OFF",Infinity);new N("SHOUT",1200);var Hc=new N("SEVERE",1000),Ic=new N("WARNING",900),Jc=new N("INFO",800),Kc=new N("CONFIG",700),Lc=new N("FINE",500);new N("FINER",400);var Mc=new N("FINEST",300);new N("ALL",0);L.prototype.V=function(){return this.Db};L.prototype.ga=function(a){this.ya.push(a)};L.prototype.pb=function(){return this.Y};L.prototype.da=function(a){this.p=a};L.prototype.U=function(){return this.p};L.prototype.X=function(a){if(this.p)return a.value>=this.p.value;if(this.Y)return this.Y.X(a);return m};L.prototype.log=function(a,b,c){if(!this.X(a))return;var d=new K(a,String(b),this.Db);if(c){d.Rb(c);d.Sb(Cc(c,arguments.callee.caller))}this.wb(d)};L.prototype.severe=function(a,b){this.log(Hc,a,b)};L.prototype.warning=function(a,b){this.log(Ic,a,b)};L.prototype.info=function(a,b){this.log(Jc,a,b)};L.prototype.fine=function(a,b){this.log(Lc,a,b)};L.prototype.finest=function(a,b){this.log(Mc,a,b)};L.prototype.wb=function(a){if(!this.X(a.U()))return;var b=this;while(b){b.Sa(a);b=b.pb()}};L.prototype.Sa=function(a){for(var b=0;b<this.ya.length;b++)this.ya[b](a)};L.prototype.Tb=function(a){this.Y=a};L.prototype.Pa=function(a,b){this.cc[a]=b};var Nc={},Oc=t,Pc=function(){if(!Oc){Oc=new L("");Nc[""]=Oc;Oc.da(Kc)}},Rc=function(a){Pc();return a in Nc?Nc[a]:Qc(a)},Qc=function(a){var b=new L(a),c=a.split("."),d=c[c.length-1];c.length=c.length-1;var e=c.join("."),f=Rc(e);f.Pa(d,b);b.Tb(f);Nc[a]=b;return b};var Sc={"1":"NativeMessagingTransport","2":"FrameElementMethodTransport","3":"IframeRelayTransport","4":"IframePollingTransport","5":"FlashTransport","6":"NixTransport"},O="SETUP_ACK",Tc={},Vc=function(a,b){var c=b||Uc,d=c.length,e="";while(a-- >0)e+=c.charAt(Math.floor(Math.random()*d));return e},Uc="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",P=Rc("goog.net.xpc");var Q=function(){};F(Q,J);Q.prototype.g=0;Q.prototype.V=function(){return Sc[this.g]||""};var R=function(a){this.a=a;this.N=[];this.fc=D(this.eb,this)};F(R,Q);R.prototype.g=2;R.prototype.n=0;R.prototype.J=1;R.prototype.Z=m;R.prototype.Ub=0;R.prototype.connect=function(){this.aa=window.parent==this.a.f?this.J:this.n;if(this.aa==this.n){this.j=this.a.w;this.j.XPC_toOuter=D(this.za,this)}else this.ja()};R.prototype.ja=function(){var a=j;try{if(!this.j)this.j=window.frameElement;if(this.j&&this.j.XPC_toOuter){this.Ca=this.j.XPC_toOuter;this.j.XPC_toOuter.XPC_toInner=D(this.za,this);a=m;this.send("tp",O);this.a.m()}}catch(b){P.severe("exception caught while attempting setup: "+b)}if(a){if(!this.Qa)this.Qa=D(this.ja,this);window.setTimeout(this.Qa,100)}};R.prototype.H=function(a){if(this.aa==this.n&&!this.a.k()&&a==O){this.Ca=this.j.XPC_toOuter.XPC_toInner;this.a.m()}else throw Error("Got unexpected transport message.");};R.prototype.za=function(a,b){if(!this.Z&&this.N.length==0)this.a.o(a,b);else{this.N.push({serviceName:a,payload:b});if(this.N.length==1)this.Ub=window.setTimeout(this.fc,1)}};R.prototype.eb=function(){while(this.N.length){var a=this.N.shift();this.a.o(a.serviceName,a.payload)}};R.prototype.send=function(a,b){this.Z=j;this.Ca(a,b);this.Z=m};R.prototype.b=function(){R.q.b.call(this);this.Ca=t;this.j=t};var S=function(a){this.a=a;this.O=this.a.c.ppu;this.jc=this.a.c.lpu;this.ba=[]},Wc,Xc,Yc;F(S,Q);S.prototype.g=4;S.prototype.P=0;S.prototype.B=m;S.prototype.connect=function(){this.Za()};S.prototype.Za=function(){P.fine("constructing sender frames.");var a=this.a.name+"_msg";this.zb=this.oa(a);this.Cb=window.frames[a];a=this.a.name+"_ack";this.Ma=this.oa(a);this.Oa=window.frames[a];this.la()};S.prototype.oa=function(a){var b=Ha().createElement("iframe"),c=b.style;c.position="absolute";c.top="-10px";c.left="10px";c.width="1px";c.height="1px";b.id=b.name=a;b.src=this.O+"#INITIAL";document.body.appendChild(b);return b};S.prototype.la=function(){this.Va&&window.clearTimeout(this.Va);if(this.Aa("msg")&&this.Aa("ack")){P.fine("foreign frames present");this.Ab=new Zc(this,this.a.f.frames[this.a.name+"_msg"],D(this.Hb,this));this.Na=new Zc(this,this.a.f.frames[this.a.name+"_ack"],D(this.Gb,this));this.na()}else{P.finest("foreign frames not (yet) present");if(!this.Ua)this.Ua=D(this.la,this);this.Va=window.setTimeout(this.Ua,100)}};S.prototype.Aa=function(a){try{var b=this.a.f.frames[this.a.name+"_"+a];if(!b||b.location.href.indexOf(this.jc)!=0)return m}catch(c){return m}return j};S.prototype.na=function(){var a=this.a.f.frames;if(a[this.a.name+"_ack"]&&a[this.a.name+"_msg"]){this.Bb=new $c(this.O,this.Cb);this.R=new $c(this.O,this.Oa);P.fine("local frames ready");window.setTimeout(D(function(){this.Bb.send("SETUP");this.mc=j;this.B=j;P.fine("SETUP sent")},this),100)}else{if(!this.Wa)this.Wa=D(this.na,this);window.setTimeout(this.Wa,100);P.fine("local frames not (yet) present")}};S.prototype.ma=function(){if(this.Ha&&this.Jb){this.a.m();if(this.D){P.fine("delivering queued messages ("+this.D.length+")");for(var a=0,b;a<this.D.length;a++){b=this.D[a];this.a.o(b.service,b.payload)}delete this.D}}else P.finest("checking if connected: ack sent:"+this.Ha+", ack rcvd: "+this.Jb)};S.prototype.Hb=function(a){P.finest("msg received: "+a);if(a=="SETUP"){if(!this.R)return;this.R.send(O);P.finest("SETUP_ACK sent");this.Ha=j;this.ma()}else if(this.a.k()||this.Ha){var b=a.indexOf("|"),c=a.substring(0,b),d=a.substring(b+1);b=c.indexOf(",");if(b==-1){var e=c;this.R.send("ACK:"+e);this.ta(d)}else{var e=c.substring(0,b);this.R.send("ACK:"+e);var f=c.substring(b+1).split("/");f[0]=parseInt(f[0],10);f[1]=parseInt(f[1],10);if(f[0]==1)this.Da=[];this.Da.push(d);if(f[0]==f[1]){this.ta(this.Da.join(""));delete this.Da}}}else P.warning("received msg, but channel is not connected")};S.prototype.Gb=function(a){P.finest("ack received: "+a);if(a==O){this.B=m;this.Jb=j;this.ma()}else if(this.a.k()){if(!this.B){P.warning("got unexpected ack");return}var b=parseInt(a.split(":")[1],10);if(b==this.P){this.B=m;this.Ga()}else P.warning("got ack with wrong sequence")}else P.warning("received ack, but channel not connected")};S.prototype.Ga=function(){if(this.B||!this.ba.length)return;var a=this.ba.shift();++this.P;this.Bb.send(this.P+a);P.finest("msg sent: "+this.P+a);this.B=j};S.prototype.ta=function(a){var b=a.indexOf(":"),c=a.substr(0,b),d=a.substring(b+1);if(this.a.k())this.a.o(c,d);else{(this.D||(this.D=[])).push({service:c,payload:d});P.finest("queued delivery")}};S.prototype.K=3800;S.prototype.send=function(a,b){var c=a+":"+b;if(!G||b.length<=this.K)this.ba.push("|"+c);else{var d=b.length,e=Math.ceil(d/this.K),f=0,g=1;while(f<d){this.ba.push(","+g+"/"+e+"|"+c.substr(f,this.K));g++;f+=this.K}}this.Ga()};S.prototype.b=function(){S.q.b.call(this);var a=ad;bc(a,this.Ab);bc(a,this.Na);this.Ab=this.Na=t;Qa(this.zb);Qa(this.Ma);this.zb=this.Ma=t;this.Cb=this.Oa=t};var ad=[],cd=function(){var a=m;try{for(var b=0,c=ad.length;b<c;b++)a=a||ad[b].receive()}catch(d){P.info("receive_() failed: "+d);ad[b].d.a.Eb();if(!ad.length)return}var e=E();if(a)Wc=e;var f=e-Wc<1000?10:100;Xc=window.setTimeout(bd,f)},bd=D(cd,S),dd=function(){P.fine("starting receive-timer");Wc=E();Xc&&window.clearTimeout(Xc);Xc=window.setTimeout(bd,10)},$c=function(a,b){this.O=a;this.Nb=b;this.sa=0};$c.prototype.send=function(a){this.sa=++this.sa%2;var b=this.O+"#"+this.sa+encodeURIComponent(a);try{if(H)this.Nb.location.href=b;else this.Nb.location.replace(b)}catch(c){P.severe("sending failed",c)}Yc=E()};var Zc=function(a,b,c){this.d=a;this.Ib=b;this.bc=c;this.cb=this.Ib.location.href.split("#")[0]+"#INITIAL";ad.push(this);dd()};Zc.prototype.receive=function(){var a=this.Ib.location.href;if(a!=this.cb){this.cb=a;var b=a.split("#")[1];if(b){b=b.substr(1);this.bc(decodeURIComponent(b))}return j}else return m};var T=function(a,b){J.call(this);this.xb=b;this.v=[];this.ab(a)};F(T,J);T.prototype.S=t;T.prototype.T=t;T.prototype.G=function(a){this.S=a};T.prototype.Ka=function(a){this.T=a};T.prototype.i=function(){if(this.v.length)return this.v.pop();return this.ra()};T.prototype.A=function(a){this.v.length<this.xb?this.v.push(a):this.ua(a)};T.prototype.ab=function(a){if(a>this.xb)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.v.push(this.ra())};T.prototype.ra=function(){return this.S?this.S():{}};T.prototype.ua=function(a){if(this.T)this.T(a);else if(C(a.dispose))a.dispose();else for(var b in a)delete a[b]};T.prototype.b=function(){T.q.b.call(this);var a=this.v;while(a.length)this.ua(a.pop());delete this.v};var ed=function(a,b){this.type=a;this.target=b;this.currentTarget=this.target};F(ed,J);ed.prototype.b=function(){delete this.type;delete this.target;delete this.currentTarget};ed.prototype.F=m;ed.prototype.$=j;ed.prototype.stopPropagation=function(){this.F=j};ed.prototype.preventDefault=function(){this.$=m};var U=function(a,b){a&&this.init(a,b)};F(U,ed);U.prototype.type=t;U.prototype.target=t;U.prototype.relatedTarget=t;U.prototype.offsetX=0;U.prototype.offsetY=0;U.prototype.clientX=0;U.prototype.clientY=0;U.prototype.screenX=0;U.prototype.screenY=0;U.prototype.button=0;U.prototype.keyCode=0;U.prototype.charCode=0;U.prototype.ctrlKey=m;U.prototype.altKey=m;U.prototype.shiftKey=m;U.prototype.metaKey=m;U.prototype.h=t;U.prototype.init=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type=="mouseover"?a.fromElement:this.type=="mouseout"?a.toElement:t;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.h=a;delete this.$;delete this.F};U.prototype.stopPropagation=function(){this.F=j;if(this.h.stopPropagation)this.h.stopPropagation();else this.h.cancelBubble=j};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -