Files
SIPAIIS_WMS_JSSW/WebRoot/JS/baiduMap/apiv2.0.2.min.js

1 line
158 KiB
JavaScript
Raw Normal View History

2026-01-16 14:13:44 +08:00
window.BMAP_AUTHENTIC_KEY="";(function(){function aa(a){throw a;}var j=void 0,o=!0,p=null,q=!1;function s(){return function(){}}function ba(a){return function(b){this[a]=b}}function t(a){return function(){return this[a]}}function ca(a){return function(){return a}}var da,ga=[];function ha(a){return function(){return ga[a].apply(this,arguments)}}function ia(a,b){return ga[a]=b}var ja,x=ja=x||{version:"1.3.4"};x.ca="$BAIDU$";window[x.ca]=window[x.ca]||{};x.object=x.object||{}; x.extend=x.object.extend=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};x.D=x.D||{};x.D.$=function(a){return"string"==typeof a||a instanceof String?document.getElementById(a):a&&a.nodeName&&(1==a.nodeType||9==a.nodeType)?a:p};x.$=x.Cc=x.D.$;x.D.U=function(a){a=x.D.$(a);if(a===p)return a;a.style.display="none";return a};x.U=x.D.U;x.lang=x.lang||{};x.lang.ug=function(a){return"[object String]"==Object.prototype.toString.call(a)};x.ug=x.lang.ug; x.D.Qj=function(a){return x.lang.ug(a)?document.getElementById(a):a};x.Qj=x.D.Qj;x.D.getElementsByClassName=function(a,b){var c;if(a.getElementsByClassName)c=a.getElementsByClassName(b);else{var d=a;d==p&&(d=document);c=[];var d=d.getElementsByTagName("*"),e=d.length,f=RegExp("(^|\\s)"+b+"(\\s|$)"),g,i;for(i=g=0;g<e;g++)f.test(d[g].className)&&(c[i]=d[g],i++)}return c};x.getElementsByClassName=x.D.getElementsByClassName; x.D.contains=function(a,b){var c=x.D.Qj,a=c(a),b=c(b);return a.contains?a!=b&&a.contains(b):!!(a.compareDocumentPosition(b)&16)};x.ea=x.ea||{};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(x.ea.la=x.la=document.documentMode||+RegExp.$1);var ka={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"};8>x.ea.la?(ka["for"]="htmlFor",ka["class"]="className"):(ka.htmlFor="for",ka.className="class");x.D.uG=ka; x.D.iF=function(a,b,c){a=x.D.$(a);if(a===p)return a;if("style"==b)a.style.cssText=c;else{b=x.D.uG[b]||b;a.setAttribute(b,c)}return a};x.iF=x.D.iF;x.D.jF=function(a,b){a=x.D.$(a);if(a===p)return a;for(var c in b)x.D.iF(a,c,b[c]);return a};x.jF=x.D.jF;x.Sk=x.Sk||{};(function(){var a=RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");x.Sk.trim=function(b){return(""+b).replace(a,"")}})();x.trim=x.Sk.trim; x.Sk.Ro=function(a,b){var a=""+a,c=Array.prototype.slice.call(arguments,1),d=Object.prototype.toString;if(c.length){c=c.length==1?b!==p&&/\[object Array\]|\[object Object\]/.test(d.call(b))?b:c:c;return a.replace(/#\{(.+?)\}/g,function(a,b){var g=c[b];"[object Function]"==d.call(g)&&(g=g(b));return"undefined"==typeof g?"":g})}return a};x.Ro=x.Sk.Ro; x.D.Rb=function(a,b){a=x.D.$(a);if(a===p)return a;for(var c=a.className.split(/\s+/),d=b.split(/\s+/),e,f=d.length,g,i=0;i<f;++i){g=0;for(e=c.length;g<e;++g)if(c[g]==d[i]){c.splice(g,1);break}}a.className=c.join(" ");return a};x.Rb=x.D.Rb; x.D.Fx=function(a,b,c){a=x.D.$(a);if(a===p)return a;var d;if(a.insertAdjacentHTML)a.insertAdjacentHTML(b,c);else{d=a.ownerDocument.createRange();b=b.toUpperCase();if(b=="AFTERBEGIN"||b=="BEFOREEND"){d.selectNodeContents(a);d.collapse(b=="AFTERBEGIN")}else{b=b=="BEFOREBEGIN";d[b?"setStartBefore":"setEndAfter"](a);d.collapse(b)}d.insertNode(d.createContextualFragment(c))}return a};x.Fx=x.D.Fx;x.D.show=function(a){a=x.D.$(a);if(a===p)return a;a.style.display="";return a};x.show=x.D.show; x.D.BD=function(a){a=x.D.$(a);return a===p?a:a.nodeType==9?a:a.ownerDocument||a.document};x.D.Ta=function(a,b){a=x.D.$(a);if(a===p)return a;for(var c=b.split(/\s+/),d=a.className,e=" "+d+" ",f=0,g=c.length;f<g;f++)e.indexOf(" "+c[f]+" ")<0&&(d=d+(" "+c[f]));a.className=d;return a};x.Ta=x.D.Ta;x.D.AB=x.D.AB||{};x.D.Kl=x.D.Kl||[];x.D.Kl.filter=function(a,b,c){for(var d=0,e=x.D.Kl,f;f=e[d];d++)if(f=f[c])b=f(a,b);return b}; x.Sk.fO=function(a){return a.indexOf("-")<0&&a.indexOf("_")<0?a:a.replace(/[-_][^-_]/g,function(a){return a.charAt(1).toUpperCase()})};x.D.t_=function(a){x.D.$s(a,"expand")?x.D.Rb(a,"expand"):x.D.Ta(a,"expand")}; x.D.$s=function(a){if(arguments.length<=0||typeof a==="function")return this;if(thi