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.
pingAnQiYeWeb/public/modules/local_b3hfmw.js

1 line
19 KiB

1 year ago
/**/_jsload2 && _jsload2('local', 'fb.QM=function(a,b){return!a||"undefined"==typeof b||"s"==a&&11!=b&&7!=b&&2!=b&&26!=b&&28!=b||"nb"==a&&12!=b||"bd"==a&&21!=b||"bda"==a&&45!=b||"sa"==a&&46!=b||"nba"==a&&47!=b?q:o}; x.extend(fb.prototype,{iA:function(){for(var a=0,b=this.Pa.length;a<b;a++){var c=this.Pa[a];this[c.method].apply(this,c.arguments)}delete this.Pa;this.ra()},ra:function(){this.vn=new gi(this);this.tn=new hi(this)},search:function(a,b,c){if(!a||a instanceof Array&&(1>a.length||10<a.length))this.Qe(),this.sb(5),this.Ra(Y.Tc);else if(b=b||{},b.customData)this.sA(),this.Os.search({wb:a,jq:"local",xx:b.customData}),this.cm=o;else{this.cm=q;var d=c||{},e=this;this.Pg(this.Ad,function(c){c=c||1;e.Gc=e.iB(a); c=e.Gc?{qt:"sa",c:c,wd:a.join("$$"),wdn:a.length,rn:e.qf()}:{qt:b.forceLocal?"con":"s",c:c,wd:a,rn:e.qf()};e.k.bq&&x.extend(c,{from:e.k.bq});x.extend(c,d.Zc);b.log&&(c.log="center");var g={Zc:c,options:b,ud:d.ud||a};x.extend(g,d);de.eb(function(a,b){e.Lf(a,b)},c,g)})}},iB:function(a){return a&&a instanceof Array?o:q},xn:function(a,b,c){if(!a||!b||a instanceof Array&&(1>a.length||10<a.length))this.Qe(),this.sb(5),this.Ra(Y.Tc);else{var c=c||{},d=this;if(c.customData)this.sA(),this.Os.search({wb:a, $a:b,jq:"bound",xx:c.customData}),this.cm=o;else{this.cm=q;var e=c||{};this.Pg(this.Ad,function(c){var c=c||1,g=$a(b.xe(),this.map||window.GCJMAP),i=$a(b.pf(),this.map||window.GCJMAP),g=T.tb(g),i=T.tb(i),g="("+g.lng+","+g.lat+";"+i.lng+","+i.lat+")";d.Gc=d.iB(a);c=d.Gc?{qt:"bda",c:c,wd:a.join("$$"),wdn:a.length,ar:g,rn:d.qf(),l:18}:{qt:"bd",c:c,wd:a,ar:g,rn:d.k.Pk,l:18};d.k.bq&&x.extend(c,{from:d.k.bq});x.extend(c,e.Zc);de.eb(function(a,b){d.Lf(a,b)},c,e&&e.za&&e.xa?{Zc:c,$a:b,za:e.za,xa:e.xa,ud:e.ud|| a}:{Zc:c,$a:b,ud:e.ud||a})})}}},iq:function(a,b,c,d){if(!a||!b||!(b instanceof O||b instanceof K)&&"object"==typeof b&&!b.uid||a instanceof Array&&(1>a.length||10<a.length))this.Qe(),this.sb(5),this.Ra(Y.Tc);else if(d=d||{},d.customData)this.sA(),this.Os.search({wb:a,za:$a(b,this.map),xa:c,jq:"nearby",xx:d.customData}),this.cm=o;else{this.cm=q;var c=c||fb.TG,c=0>c?fb.TG:c>fb.$G?fb.$G:c,e=this,f=d||{};if(b instanceof O||b instanceof K){var g=T.tb(b),d=new K(g.lng-c,g.lat-c),g=new K(g.lng+c,g.lat+c), d=T.ub(d),g=T.ub(g),d=new jb(new K(d.lng,d.lat),new K(g.lng,g.lat));f.za=b;f.xa=c;this.xn(a,d,f)}else this.Pg(this.Ad,function(d){d=d||1;e.Gc=e.iB(a);d=e.Gc?{qt:"nba",c:d,wd:a.join("$$"),wdn:a.length,rn:e.qf(),uid:b.uid,r:c}:{qt:"nb",c:d,wd:a,rn:e.qf(),uid:b.uid,r:c};if("string"==typeof b){if(e.Gc){d.qt="sa";for(var g=[],l=0;l<a.length;l++)g.push(b+" "+a[l]);d.wd=g.join("$$");d.wdn=g.length}else d.qt="s",d.wd=b+" "+a;delete d.r;delete d.uid}e.k.bq&&x.extend(d,{from:e.k.bq});x.extend(d,f.Zc);de.eb(function(a, b){e.Lf(a,b)},d,{Zc:d,za:b,xa:c,ud:f.ud||a})})}},Lf:function(a,b){var c=this;c.Gc=45==a.result.type||46==a.result.type||47==a.result.type?o:q;this.Qe();c.Ha=a;this.fa=b;var d=a.result,e=b.Zc.qt;if(c.Gc){if(0!=d.error||!fb.QM(e,d.type)){i=a.current_city;this.Oi=[];for(var d=b.ud,e=0,f=d.length;e<f;e++){var g=new ii({wb:d[e],city:i.name,province:i.up_province_name||"",dx:i.code,Xp:c.qf(),za:b.za,xa:b.xa,$a:b.za&&b.xa?k:b.$a,xi:""});g.OB=b.Zc.qt;this.Oi.push(g)}this.sb(2);this.Ra(Y.Tc,this.Oi);c.tn.dispatchEvent("render"); return}}else if(0!=d.error||!fb.QM(e,d.type)){var i=a.current_city;this.ka=new ii({wb:b.ud,city:i.name,province:i.up_province_name||"",dx:i.code,Xp:c.qf(),za:b.za,xa:b.xa,$a:b.za&&b.xa?k:b.$a,xi:this.Ev(b,i)});this.ka.OB=b.Zc.qt;this.sb(2);this.Ra(Y.Tc,this.ka);c.tn.dispatchEvent("render");return}c.Sl(b);c.vn.dispatchEvent("render");c.tn.dispatchEvent("render");(d=this.fa.za)&&("string"!=typeof d&&!(d instanceof O))&&this.vn.Ow(d);d={};switch(this.Ha.result&&this.Ha.result.type){case 11:case 12:case 21:case 45:case 46:case 47:d.ha= this.Zz;break;case 2:d.za=this.ka.Gk(0).point;d.wg=this.Ha.content.level;break;case 28:d.za=this.ka.Gk(0).point;d.wg=13;break;case 26:d.za=this.ka.Gk(0).point,d.wg=parseInt(this.Ha.content[1])}this.vn.SL(d);d=this.Gc?this.MA():this.ka;this.k.ja.ku&&(d&&0<d.yt())&&(c=this,setTimeo