You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
20 KiB
2 lines
20 KiB
3 months ago
|
/**/_jsload2&&_jsload2('autocomplete', 'z.lang.Ga.prototype.Rh=ia(0,function(){delete window[z.ea]._instances[this.ea];for(var a in this)z.lang.Gs(this[a])||delete this[a]});z.R.getComputedStyle=function(a,b){var a=z.R.Dj(a),c=z.R.PC(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,s))?c[b]||c.getPropertyValue(b):""};z.R.remove=function(a){var a=z.R.Dj(a),b=a.parentNode;b&&b.removeChild(a)};z.lang.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)}; z.event=z.event||{};z.event.stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=p};z.event.preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=t};z.event.stop=function(a){var b=z.event;b.stopPropagation(a);b.preventDefault(a)};z.lc.indexOf=function(a,b,c){var e=a.length,c=c|0;for(0>c&&(c=Math.max(0,e+c));c<e;c++)if(c in a&&a[c]===b)return c;return-1};z.lc.contains=function(a,b){return 0<=z.lc.indexOf(a,b)};z.Pb=z.Pb||{version:"1.3.9"}; z.Pb.fX=function(a){for(var a=a.split("-"),b=z.Pb,c=a.length,e=0;e<c;e++)b=b[a[e].charAt(0).toUpperCase()+a[e].slice(1)];return b};z.Pb.create=function(a,b){z.lang.og(a)&&(a=z.Pb.fX(a));return new a(b)};z.event.$z=z.event.$z||[]; z.event.V=function(a,b,c){function e(b){c.call(a,b)}var b=b.replace(/^on/i,""),a=z.R.Dj(a),f=z.event.$z,g=z.event.I0,i=b,b=b.toLowerCase();g&&g[b]&&(g=g[b](a,b,e),i=g.type,e=g.D3);a&&a.addEventListener?a.addEventListener(i,e,t):a&&a.attachEvent&&a.attachEvent("on"+i,e);f[f.length]=[a,b,c,e,i];return a};z.V=z.event.V; z.event.dd=function(a,b,c){for(var a=z.R.Dj(a),b=b.replace(/^on/i,"").toLowerCase(),e=z.event.$z,f=e.length,g=!c,i,k;f--;)if(i=e[f],i[1]===b&&i[0]===a&&(g||i[2]===c))k=i[4],i=i[3],a.removeEventListener?a.removeEventListener(k,i,t):a.detachEvent&&a.detachEvent("on"+k,i),e.splice(f,1);return a};z.dd=z.event.dd; z.Pb.qF={id:"",Xb:function(a){var b;b="tangram-"+this.Lt+"--"+(this.id?this.id:this.ea);return a?b+"-"+a:b},es:function(a){var b=this.kJ,c=this.YZ;a&&(b+="-"+a,c+="-"+a);this.YZ&&(b+=" "+c);return b},Wh:function(){return z.da(this.PL)},kW:function(){return z.da(this.Xb())},Lt:"",Bo:function(){return"window[\'$BAIDU$\']._instances[\'"+this.ea+"\']"},r2:function(a){for(var b=0,c=Array.prototype.slice.call(arguments,1),e=c.length;b<e;b++)"string"==typeof c[b]&&(c[b]="\'"+c[b]+"\'");return this.Bo()+"."+a+ "("+c.join(",")+");"},V:function(a,b,c){z.V(a,b,c);this.addEventListener("ondispose",function(){z.dd(a,b,c)})},dZ:function(a){if(!this.Wh())return a=z.da(a),a||(a=document.createElement("div"),document.body.appendChild(a),a.style.position="absolute",a.className=this.es("main")),a.id||(a.id=this.Xb("main")),this.PL=a.id,a.setAttribute("data-guid",this.ea),a},Rh:function(){this.dispatchEvent("dispose");z.lang.Ga.prototype.Rh.call(this)}}; z.Pb.$U=function(a){function b(){}function c(b,e){var o=this,b=b||{};f.call(o,!g?b:b.ea||"",p);z.object.extend(o,c.options);z.object.extend(o,b);o.kJ=o.kJ||"tangram-"+o.Lt.toLowerCase();for(i in z.Pb.Kl)"undefined"!=typeof o[i]&&o[i]&&(z.object.extend(o,z.Pb.Kl[i]),z.lang.Gs(o[i])?o.addEventListener("onload",function(){z.Pb.Kl[i].call(o[i].apply(o))}):z.Pb.Kl[i].call(o));a.apply(o,arguments);i=0;for(k=c.By.length;i<k;i++)c.By[i](o);b.parent&&o.LZ&&o.LZ(b.parent);!e&&b.s1&&o.za(b.element)}var e;e= e||{};var f=e.g_||z.lang.Ga,g=f==z.lang.Ga?1:0,i,k;b.prototype=f.prototype;e=c.prototype=new b;for(i in z.Pb.qF)e[i]=z.Pb.qF[i];c.extend=function(a){for(i in a)c.prototype[i]=a[i];return c};c.By=[];c.We=function(a){"function"==typeof a&&c.By.push(a)};c.options={};return c};z.R.JC=function(a,b){a=z.R.da(a);if(a===s)return a;if("style"==b)return a.style.cssText;b=z.R.NF[b]||b;return a.getAttribute(b)};z.JC=z.R.JC; z.Pb.get=function(a){var b;if(z.lang.og(a))return z.lang.Mc(a);do{if(!a||9==a.nodeType)return s;if(b=z.R.JC(a,"data-guid"))return z.lang.Mc(b)}while((a=a.parentNode)!=document.body)}; z.Pb.ui=z.Pb.$U(function(){var a=this;a.addEventListener("onload",function(){eventName=I()?"touchstart":"mousedown";a.V(document,eventName,a.qV);a.V(window,"blur",a.
|