hik-map
Version:
- 提炼自浙江海康智联科技有限公司中后台产品的交互语言和视觉风格。 - 开箱即用的高质量 Vue 组件。
1 lines • 44.2 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["hik-map"]=e():t["hik-map"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,n){var r=n("e330"),o=n("59ed"),i=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?i(t,e):function(){return t.apply(e,arguments)}}},"06cf":function(t,e,n){var r=n("83ab"),o=n("c65b"),i=n("d1e7"),a=n("5c6c"),c=n("fc6a"),u=n("a04b"),s=n("1a2d"),f=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=u(e),f)try{return l(t,e)}catch(n){}if(s(t,e))return a(!o(i.f,t,e),t[e])}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0b42":function(t,e,n){var r=n("da84"),o=n("e8b5"),i=n("68ee"),a=n("861d"),c=n("b622"),u=c("species"),s=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,i(e)&&(e===s||o(e.prototype))?e=void 0:a(e)&&(e=e[u],null===e&&(e=void 0))),void 0===e?s:e}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,n){var r=n("da84"),o=r.String;t.exports=function(t){try{return o(t)}catch(e){return"Object"}}},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"19aa":function(t,e,n){var r=n("da84"),o=n("3a9b"),i=r.TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},"1a2d":function(t,e,n){var r=n("e330"),o=n("7b0b"),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c7e":function(t,e,n){var r=n("b622"),o=r("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(u){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d80":function(t,e,n){var r=n("da84"),o=r.TypeError;t.exports=function(t){if(void 0==t)throw o("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),o=n("b622"),i=n("2d00"),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("da84"),o=n("0366"),i=n("c65b"),a=n("825a"),c=n("0d51"),u=n("e95a"),s=n("07fa"),f=n("3a9b"),l=n("9a1f"),p=n("35a1"),d=n("2a62"),v=r.TypeError,m=function(t,e){this.stopped=t,this.result=e},g=m.prototype;t.exports=function(t,e,n){var r,h,b,y,w,x,M,A=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),O=o(e,A),E=function(t){return r&&d(r,"normal",t),new m(!0,t)},T=function(t){return j?(a(t),I?O(t[0],t[1],E):O(t[0],t[1])):I?O(t,E):O(t)};if(S)r=t;else{if(h=p(t),!h)throw v(c(t)+" is not iterable");if(u(h)){for(b=0,y=s(t);y>b;b++)if(w=T(t[b]),w&&f(g,w))return w;return new m(!1)}r=l(t,h)}x=r.next;while(!(M=i(x,r)).done){try{w=T(M.value)}catch(L){d(r,"throw",L)}if("object"==typeof w&&w&&f(g,w))return w}return new m(!1)}},"23cb":function(t,e,n){var r=n("5926"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),c=n("ce4e"),u=n("e893"),s=n("94ca");t.exports=function(t,e){var n,f,l,p,d,v,m=t.target,g=t.global,h=t.stat;if(f=g?r:h?r[m]||c(m,{}):(r[m]||{}).prototype,f)for(l in e){if(d=e[l],t.noTargetGet?(v=o(f,l),p=v&&v.value):p=f[l],n=s(g?l:m+(h?".":"#")+l,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;u(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),a(f,l,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2626:function(t,e,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),a=n("83ab"),c=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var r=n("c65b"),o=n("825a"),i=n("dc4a");t.exports=function(t,e,n){var a,c;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw n;return n}a=r(a,t)}catch(u){c=!0,a=u}if("throw"===e)throw n;if(c)throw a;return o(a),n}},"2ba4":function(t,e){var n=Function.prototype,r=n.apply,o=n.bind,i=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(r):function(){return i.apply(r,arguments)})},"2cf4":function(t,e,n){var r,o,i,a,c=n("da84"),u=n("2ba4"),s=n("0366"),f=n("1626"),l=n("1a2d"),p=n("d039"),d=n("1be4"),v=n("f36a"),m=n("cc12"),g=n("1cdc"),h=n("605d"),b=c.setImmediate,y=c.clearImmediate,w=c.process,x=c.Dispatch,M=c.Function,A=c.MessageChannel,j=c.String,S=0,I={},O="onreadystatechange";try{r=c.location}catch(P){}var E=function(t){if(l(I,t)){var e=I[t];delete I[t],e()}},T=function(t){return function(){E(t)}},L=function(t){E(t.data)},k=function(t){c.postMessage(j(t),r.protocol+"//"+r.host)};b&&y||(b=function(t){var e=v(arguments,1);return I[++S]=function(){u(f(t)?t:M(t),void 0,e)},o(S),S},y=function(t){delete I[t]},h?o=function(t){w.nextTick(T(t))}:x&&x.now?o=function(t){x.now(T(t))}:A&&!g?(i=new A,a=i.port2,i.port1.onmessage=L,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&r&&"file:"!==r.protocol&&!p(k)?(o=k,c.addEventListener("message",L,!1)):o=O in m("script")?function(t){d.appendChild(m("script"))[O]=function(){d.removeChild(this),E(t)}}:function(t){setTimeout(T(t),0)}),t.exports={set:b,clear:y}},"2d00":function(t,e,n){var r,o,i=n("da84"),a=n("342f"),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(r=f.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),o=n("dc4a"),i=n("3f8c"),a=n("b622"),c=a("iterator");t.exports=function(t){if(void 0!=t)return o(t,c)||o(t,"@@iterator")||i[r(t)]}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3bbe":function(t,e,n){var r=n("da84"),o=n("1626"),i=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw a("Can't set "+i(t)+" as a prototype")}},"3f8c":function(t,e){t.exports={}},"44ad":function(t,e,n){var r=n("da84"),o=n("e330"),i=n("d039"),a=n("c6b6"),c=r.Object,u=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?u(t,""):c(t)}:c},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},4840:function(t,e,n){var r=n("825a"),o=n("5087"),i=n("b622"),a=i("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||void 0==(n=r(i)[a])?e:o(n)}},"485a":function(t,e,n){var r=n("da84"),o=n("c65b"),i=n("1626"),a=n("861d"),c=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!a(r=o(n,t)))return r;if(i(n=t.valueOf)&&!a(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!a(r=o(n,t)))return r;throw c("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),o=n("23cb"),i=n("07fa"),a=function(t){return function(e,n,a){var c,u=r(e),s=i(u),f=o(a,s);if(t&&n!=n){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},5087:function(t,e,n){var r=n("da84"),o=n("68ee"),i=n("0d51"),a=r.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a constructor")}},"50c4":function(t,e,n){var r=n("5926"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),o=n("e330"),i=n("241c"),a=n("7418"),c=n("825a"),u=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=a.f;return n?u(e,n(t)):e}},5926:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!==e||0===e?0:(e>0?r:n)(e)}},"59ed":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("0d51"),a=r.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),o=n("1a2d"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},"605d":function(t,e,n){var r=n("c6b6"),o=n("da84");t.exports="process"==r(o.process)},6069:function(t,e){t.exports="object"==typeof window},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"68ee":function(t,e,n){var r=n("e330"),o=n("d039"),i=n("1626"),a=n("f5df"),c=n("d066"),u=n("8925"),s=function(){},f=[],l=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),v=!p.exec(s),m=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(e){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return v||!!d(p,u(t))};t.exports=!l||o((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?g:m},"69f3":function(t,e,n){var r,o,i,a=n("7f9a"),c=n("da84"),u=n("e330"),s=n("861d"),f=n("9112"),l=n("1a2d"),p=n("c6cd"),d=n("f772"),v=n("d012"),m="Object already initialized",g=c.TypeError,h=c.WeakMap,b=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!s(e)||(n=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(a||p.state){var w=p.state||(p.state=new h),x=u(w.get),M=u(w.has),A=u(w.set);r=function(t,e){if(M(w,t))throw new g(m);return e.facade=t,A(w,t,e),e},o=function(t){return x(w,t)||{}},i=function(t){return M(w,t)}}else{var j=d("state");v[j]=!0,r=function(t,e){if(l(t,j))throw new g(m);return e.facade=t,f(t,j,e),e},o=function(t){return l(t,j)?t[j]:{}},i=function(t){return l(t,j)}}t.exports={set:r,get:o,has:i,enforce:b,getterFor:y}},"6eeb":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("1a2d"),a=n("9112"),c=n("ce4e"),u=n("8925"),s=n("69f3"),f=n("5e77").CONFIGURABLE,l=s.get,p=s.enforce,d=String(String).split("String");(t.exports=function(t,e,n,u){var s,l=!!u&&!!u.unsafe,v=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:e;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||f&&n.name!==g)&&a(n,"name",g),s=p(n),s.source||(s.source=d.join("string"==typeof g?g:""))),t!==r?(l?!m&&t[e]&&(v=!0):delete t[e],v?t[e]=n:a(t,e,n)):v?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||u(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("da84"),o=n("1d80"),i=r.Object;t.exports=function(t){return i(o(t))}},"7f9a":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("8925"),a=r.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},"825a":function(t,e,n){var r=n("da84"),o=n("861d"),i=r.String,a=r.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("a04b"),o=n("9bf2"),i=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},"861d":function(t,e,n){var r=n("1626");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},"862d":function(t,e,n){"use strict";(function(e,n){t.exports=n()})(0,(function(){function t(t){var r=[];return t.AMapUI&&r.push(e(t.AMapUI)),t.Loca&&r.push(n(t.Loca)),Promise.all(r)}function e(t){return new Promise((function(e,n){var c=[];if(t.plugins)for(var u=0;u<t.plugins.length;u+=1)-1==o.AMapUI.plugins.indexOf(t.plugins[u])&&c.push(t.plugins[u]);if(i.AMapUI===r.failed)n("前次请求 AMapUI 失败");else if(i.AMapUI===r.notload){i.AMapUI=r.loading,o.AMapUI.version=t.version||o.AMapUI.version,u=o.AMapUI.version;var s=document.body||document.head,f=document.createElement("script");f.type="text/javascript",f.src="https://webapi.amap.com/ui/"+u+"/main.js",f.onerror=function(t){i.AMapUI=r.failed,n("请求 AMapUI 失败")},f.onload=function(){if(i.AMapUI=r.loaded,c.length)window.AMapUI.loadUI(c,(function(){for(var t=0,n=c.length;t<n;t++){var r=c[t].split("/").slice(-1)[0];window.AMapUI[r]=arguments[t]}for(e();a.AMapUI.length;)a.AMapUI.splice(0,1)[0]()}));else for(e();a.AMapUI.length;)a.AMapUI.splice(0,1)[0]()},s.appendChild(f)}else i.AMapUI===r.loaded?t.version&&t.version!==o.AMapUI.version?n("不允许多个版本 AMapUI 混用"):c.length?window.AMapUI.loadUI(c,(function(){for(var t=0,n=c.length;t<n;t++){var r=c[t].split("/").slice(-1)[0];window.AMapUI[r]=arguments[t]}e()})):e():t.version&&t.version!==o.AMapUI.version?n("不允许多个版本 AMapUI 混用"):a.AMapUI.push((function(t){t?n(t):c.length?window.AMapUI.loadUI(c,(function(){for(var t=0,n=c.length;t<n;t++){var r=c[t].split("/").slice(-1)[0];window.AMapUI[r]=arguments[t]}e()})):e()}))}))}function n(t){return new Promise((function(e,n){if(i.Loca===r.failed)n("前次请求 Loca 失败");else if(i.Loca===r.notload){i.Loca=r.loading,o.Loca.version=t.version||o.Loca.version;var c=o.Loca.version,u=o.AMap.version.startsWith("2"),s=c.startsWith("2");if(u&&!s||!u&&s)n("JSAPI 与 Loca 版本不对应!!");else{u=o.key,s=document.body||document.head;var f=document.createElement("script");f.type="text/javascript",f.src="https://webapi.amap.com/loca?v="+c+"&key="+u,f.onerror=function(t){i.Loca=r.failed,n("请求 AMapUI 失败")},f.onload=function(){for(i.Loca=r.loaded,e();a.Loca.length;)a.Loca.splice(0,1)[0]()},s.appendChild(f)}}else i.Loca===r.loaded?t.version&&t.version!==o.Loca.version?n("不允许多个版本 Loca 混用"):e():t.version&&t.version!==o.Loca.version?n("不允许多个版本 Loca 混用"):a.Loca.push((function(t){t?n(t):n()}))}))}if(!window)throw Error("AMap JSAPI can only be used in Browser.");var r;(function(t){t.notload="notload",t.loading="loading",t.loaded="loaded",t.failed="failed"})(r||(r={}));var o={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:r.notload,AMapUI:r.notload,Loca:r.notload},a={AMap:[],AMapUI:[],Loca:[]},c=[],u=function(t){"function"==typeof t&&(i.AMap===r.loaded?t(window.AMap):c.push(t))};return{load:function(e){return new Promise((function(n,a){if(i.AMap==r.failed)a("");else if(i.AMap==r.notload){var s=e.key,f=e.version,l=e.plugins;s?(window.AMap&&"lbs.amap.com"!==location.host&&a("禁止多种API加载方式混用"),o.key=s,o.AMap.version=f||o.AMap.version,o.AMap.plugins=l||o.AMap.plugins,i.AMap=r.loading,f=document.body||document.head,window.___onAPILoaded=function(o){if(delete window.___onAPILoaded,o)i.AMap=r.failed,a(o);else for(i.AMap=r.loaded,t(e).then((function(){n(window.AMap)}))["catch"](a);c.length;)c.splice(0,1)[0]()},l=document.createElement("script"),l.type="text/javascript",l.src="https://webapi.amap.com/maps?callback=___onAPILoaded&v="+o.AMap.version+"&key="+s+"&plugin="+o.AMap.plugins.join(","),l.onerror=function(t){i.AMap=r.failed,a(t)},f.appendChild(l)):a("请填写key")}else if(i.AMap==r.loaded)if(e.key&&e.key!==o.key)a("多个不一致的 key");else if(e.version&&e.version!==o.AMap.version)a("不允许多个版本 JSAPI 混用");else{if(s=[],e.plugins)for(f=0;f<e.plugins.length;f+=1)-1==o.AMap.plugins.indexOf(e.plugins[f])&&s.push(e.plugins[f]);s.length?window.AMap.plugin(s,(function(){t(e).then((function(){n(window.AMap)}))["catch"](a)})):t(e).then((function(){n(window.AMap)}))["catch"](a)}else if(e.key&&e.key!==o.key)a("多个不一致的 key");else if(e.version&&e.version!==o.AMap.version)a("不允许多个版本 JSAPI 混用");else{var p=[];if(e.plugins)for(f=0;f<e.plugins.length;f+=1)-1==o.AMap.plugins.indexOf(e.plugins[f])&&p.push(e.plugins[f]);u((function(){p.length?window.AMap.plugin(p,(function(){t(e).then((function(){n(window.AMap)}))["catch"](a)})):t(e).then((function(){n(window.AMap)}))["catch"](a)}))}}))},reset:function(){delete window.AMap,delete window.AMapUI,delete window.Loca,o={key:"",AMap:{version:"1.4.15",plugins:[]},AMapUI:{version:"1.1",plugins:[]},Loca:{version:"1.3.2"}},i={AMap:r.notload,AMapUI:r.notload,Loca:r.notload},a={AMap:[],AMapUI:[],Loca:[]}}}}))},8875:function(t,e,n){var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=i.exec(d.stack)||a.exec(d.stack),u=c&&c[1]||!1,s=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===u)return l[p];if(u===f&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},8925:function(t,e,n){var r=n("e330"),o=n("1626"),i=n("c6cd"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},"90e3":function(t,e,n){var r=n("e330"),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"91b9":function(t,e,n){},"94ca":function(t,e,n){var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,a=function(t,e){var n=u[c(t)];return n==f||n!=s&&(o(e)?r(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},"9a1f":function(t,e,n){var r=n("da84"),o=n("c65b"),i=n("59ed"),a=n("825a"),c=n("0d51"),u=n("35a1"),s=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?u(t):e;if(i(n))return a(o(n,t));throw s(c(t)+" is not iterable")}},"9bf2":function(t,e,n){var r=n("da84"),o=n("83ab"),i=n("0cfb"),a=n("825a"),c=n("a04b"),u=r.TypeError,s=Object.defineProperty;e.f=o?s:function(t,e,n){if(a(t),e=c(e),a(n),i)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a04b:function(t,e,n){var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},a15b:function(t,e,n){"use strict";var r=n("23e7"),o=n("e330"),i=n("44ad"),a=n("fc6a"),c=n("a640"),u=o([].join),s=i!=Object,f=c("join",",");r({target:"Array",proto:!0,forced:s||!f},{join:function(t){return u(a(this),void 0===t?",":t)}})},a434:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("23cb"),a=n("5926"),c=n("07fa"),u=n("7b0b"),s=n("65f0"),f=n("8418"),l=n("1dde"),p=l("splice"),d=o.TypeError,v=Math.max,m=Math.min,g=9007199254740991,h="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var n,r,o,l,p,b,y=u(this),w=c(y),x=i(t,w),M=arguments.length;if(0===M?n=r=0:1===M?(n=0,r=w-x):(n=M-2,r=m(v(a(e),0),w-x)),w+n-r>g)throw d(h);for(o=s(y,r),l=0;l<r;l++)p=x+l,p in y&&f(o,l,y[p]);if(o.length=r,n<r){for(l=x;l<w-r;l++)p=l+r,b=l+n,p in y?y[b]=y[p]:delete y[b];for(l=w;l>w-r+n;l--)delete y[l-1]}else if(n>r)for(l=w-r;l>x;l--)p=l+r-1,b=l+n-1,p in y?y[b]=y[p]:delete y[b];for(l=0;l<n;l++)y[l+x]=arguments[l+2];return y.length=w-r+n,o}})},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a886:function(t,e,n){var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})(0,(function(){var t=52.35987755982988,e=3.141592653589793,n=6378245,r=.006693421622965943,o=function(e,n){e=+e,n=+n;var r=e-.0065,o=n-.006,i=Math.sqrt(r*r+o*o)-2e-5*Math.sin(o*t),a=Math.atan2(o,r)-3e-6*Math.cos(r*t),c=i*Math.cos(a),u=i*Math.sin(a);return[c,u]},i=function(e,n){n=+n,e=+e;var r=Math.sqrt(e*e+n*n)+2e-5*Math.sin(n*t),o=Math.atan2(n,e)+3e-6*Math.cos(e*t),i=r*Math.cos(o)+.0065,a=r*Math.sin(o)+.006;return[i,a]},a=function(t,o){o=+o,t=+t;if(f(t,o))return[t,o];var i=u(t-105,o-35),a=s(t-105,o-35),c=o/180*e,l=Math.sin(c);l=1-r*l*l;var p=Math.sqrt(l);i=180*i/(n*(1-r)/(l*p)*e),a=180*a/(n/p*Math.cos(c)*e);var d=o+i,v=t+a;return[v,d]},c=function(t,o){o=+o,t=+t;if(f(t,o))return[t,o];var i=u(t-105,o-35),a=s(t-105,o-35),c=o/180*e,l=Math.sin(c);l=1-r*l*l;var p=Math.sqrt(l);i=180*i/(n*(1-r)/(l*p)*e),a=180*a/(n/p*Math.cos(c)*e);var d=o+i,v=t+a;return[2*t-v,2*o-d]},u=function(t,n){n=+n,t=+t;var r=2*t-100+3*n+.2*n*n+.1*t*n+.2*Math.sqrt(Math.abs(t));return r+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,r+=2*(20*Math.sin(n*e)+40*Math.sin(n/3*e))/3,r+=2*(160*Math.sin(n/12*e)+320*Math.sin(n*e/30))/3,r},s=function(t,n){n=+n,t=+t;var r=300+t+2*n+.1*t*t+.1*t*n+.1*Math.sqrt(Math.abs(t));return r+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,r+=2*(20*Math.sin(t*e)+40*Math.sin(t/3*e))/3,r+=2*(150*Math.sin(t/12*e)+300*Math.sin(t/30*e))/3,r},f=function(t,e){e=+e,t=+t;return!(t>73.66&&t<135.05&&e>3.86&&e<53.55)};return{bd09togcj02:o,gcj02tobd09:i,wgs84togcj02:a,gcj02towgs84:c}}))},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b575:function(t,e,n){var r,o,i,a,c,u,s,f,l=n("da84"),p=n("0366"),d=n("06cf").f,v=n("2cf4").set,m=n("1cdc"),g=n("d4c3"),h=n("a4b4"),b=n("605d"),y=l.MutationObserver||l.WebKitMutationObserver,w=l.document,x=l.process,M=l.Promise,A=d(l,"queueMicrotask"),j=A&&A.value;j||(r=function(){var t,e;b&&(t=x.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},m||b||h||!y||!w?!g&&M&&M.resolve?(s=M.resolve(void 0),s.constructor=M,f=p(s.then,s),a=function(){f(r)}):b?a=function(){x.nextTick(r)}:(v=p(v,l),a=function(){v(r)}):(c=!0,u=w.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=j||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("1a2d"),a=n("90e3"),c=n("4930"),u=n("fdbf"),s=o("wks"),f=r.Symbol,l=f&&f["for"],p=u?f:f&&f.withoutSetter||a;t.exports=function(t){if(!i(s,t)||!c&&"string"!=typeof s[t]){var e="Symbol."+t;c&&i(f,t)?s[t]=f[t]:s[t]=u&&l?l(e):p(e)}return s[t]}},b64b:function(t,e,n){var r=n("23e7"),o=n("7b0b"),i=n("df75"),a=n("d039"),c=a((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(o(t))}})},b727:function(t,e,n){var r=n("0366"),o=n("e330"),i=n("44ad"),a=n("7b0b"),c=n("07fa"),u=n("65f0"),s=o([].push),f=function(t){var e=1==t,n=2==t,o=3==t,f=4==t,l=6==t,p=7==t,d=5==t||l;return function(v,m,g,h){for(var b,y,w=a(v),x=i(w),M=r(m,g),A=c(x),j=0,S=h||u,I=e?S(v,A):n||p?S(v,0):void 0;A>j;j++)if((d||j in x)&&(b=x[j],y=M(b,j,w),t))if(e)I[j]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:s(I,b)}else switch(t){case 4:return!1;case 7:s(I,b)}return l?-1:o||f?f:I}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},c04e:function(t,e,n){var r=n("da84"),o=n("c65b"),i=n("861d"),a=n("d9b5"),c=n("dc4a"),u=n("485a"),s=n("b622"),f=r.TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!i(t)||a(t))return t;var n,r=c(t,l);if(r){if(void 0===e&&(e="default"),n=o(r,t,e),!i(n)||a(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},c430:function(t,e){t.exports=!1},c65b:function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},c6b6:function(t,e,n){var r=n("e330"),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("e330"),o=n("1a2d"),i=n("fc6a"),a=n("4d64").indexOf,c=n("d012"),u=r([].push);t.exports=function(t,e){var n,r=i(t),s=0,f=[];for(n in r)!o(c,n)&&o(r,n)&&u(f,n);while(e.length>s)o(r,n=e[s++])&&(~a(f,n)||u(f,n));return f}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cdf9:function(t,e,n){var r=n("825a"),o=n("861d"),i=n("f069");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),a=n.resolve;return a(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),o=n("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("e330"),o=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,o=n("1a2d"),i=n("b622"),a=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},d4c3:function(t,e,n){var r=n("342f"),o=n("da84");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},d81d:function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").map,i=n("1dde"),a=i("map");r({target:"Array",proto:!0,forced:!a},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},d9b5:function(t,e,n){var r=n("da84"),o=n("d066"),i=n("1626"),a=n("3a9b"),c=n("fdbf"),u=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&a(e.prototype,u(t))}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},e330:function(t,e){var n=Function.prototype,r=n.bind,o=n.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var r,o,i,a,c=n("23e7"),u=n("c430"),s=n("da84"),f=n("d066"),l=n("c65b"),p=n("fea9"),d=n("6eeb"),v=n("e2cc"),m=n("d2bb"),g=n("d44e"),h=n("2626"),b=n("59ed"),y=n("1626"),w=n("861d"),x=n("19aa"),M=n("8925"),A=n("2266"),j=n("1c7e"),S=n("4840"),I=n("2cf4").set,O=n("b575"),E=n("cdf9"),T=n("44de"),L=n("f069"),k=n("e667"),P=n("69f3"),U=n("94ca"),z=n("b622"),_=n("6069"),D=n("605d"),R=n("2d00"),F=z("species"),C="Promise",N=P.get,B=P.set,W=P.getterFor(C),G=p&&p.prototype,q=p,H=G,Z=s.TypeError,$=s.document,J=s.process,K=L.f,V=K,X=!!($&&$.createEvent&&s.dispatchEvent),Y=y(s.PromiseRejectionEvent),Q="unhandledrejection",tt="rejectionhandled",et=0,nt=1,rt=2,ot=1,it=2,at=!1,ct=U(C,(function(){var t=M(q),e=t!==String(q);if(!e&&66===R)return!0;if(u&&!H["finally"])return!0;if(R>=51&&/native code/.test(t))return!1;var n=new q((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))},o=n.constructor={};return o[F]=r,at=n.then((function(){}))instanceof r,!at||!e&&_&&!Y})),ut=ct||!j((function(t){q.all(t)["catch"]((function(){}))})),st=function(t){var e;return!(!w(t)||!y(e=t.then))&&e},ft=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){var r=t.value,o=t.state==nt,i=0;while(n.length>i){var a,c,u,s=n[i++],f=o?s.ok:s.fail,p=s.resolve,d=s.reject,v=s.domain;try{f?(o||(t.rejection===it&&vt(t),t.rejection=ot),!0===f?a=r:(v&&v.enter(),a=f(r),v&&(v.exit(),u=!0)),a===s.promise?d(Z("Promise-chain cycle")):(c=st(a))?l(c,a,p,d):p(a)):d(r)}catch(m){v&&!u&&v.exit(),d(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&pt(t)}))}},lt=function(t,e,n){var r,o;X?(r=$.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(o=s["on"+t])?o(r):t===Q&&T("Unhandled promise rejection",n)},pt=function(t){l(I,s,(function(){var e,n=t.facade,r=t.value,o=dt(t);if(o&&(e=k((function(){D?J.emit("unhandledRejection",r,n):lt(Q,n,r)})),t.rejection=D||dt(t)?it:ot,e.error))throw e.value}))},dt=function(t){return t.rejection!==ot&&!t.parent},vt=function(t){l(I,s,(function(){var e=t.facade;D?J.emit("rejectionHandled",e):lt(tt,e,t.value)}))},mt=function(t,e,n){return function(r){t(e,r,n)}},gt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=rt,ft(t,!0))},ht=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Z("Promise can't be resolved itself");var r=st(e);r?O((function(){var n={done:!1};try{l(r,e,mt(ht,n,t),mt(gt,n,t))}catch(o){gt(n,o,t)}})):(t.value=e,t.state=nt,ft(t,!1))}catch(o){gt({done:!1},o,t)}}};if(ct&&(q=function(t){x(this,H),b(t),l(r,this);var e=N(this);try{t(mt(ht,e),mt(gt,e))}catch(n){gt(e,n)}},H=q.prototype,r=function(t){B(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:et,value:void 0})},r.prototype=v(H,{then:function(t,e){var n=W(this),r=n.reactions,o=K(S(this,q));return o.ok=!y(t)||t,o.fail=y(e)&&e,o.domain=D?J.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=et&&ft(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=mt(ht,e),this.reject=mt(gt,e)},L.f=K=function(t){return t===q||t===i?new o(t):V(t)},!u&&y(p)&&G!==Object.prototype)){a=G.then,at||(d(G,"then",(function(t,e){var n=this;return new q((function(t,e){l(a,n,t,e)})).then(t,e)}),{unsafe:!0}),d(G,"catch",H["catch"],{unsafe:!0}));try{delete G.constructor}catch(bt){}m&&m(G,H)}c({global:!0,wrap:!0,forced:ct},{Promise:q}),g(q,C,!1,!0),h(C),i=f(C),c({target:C,stat:!0,forced:ct},{reject:function(t){var e=K(this);return l(e.reject,void 0,t),e.promise}}),c({target:C,stat:!0,forced:u||ct},{resolve:function(t){return E(u&&this===i?q:this,t)}}),c({target:C,stat:!0,forced:ut},{all:function(t){var e=this,n=K(e),r=n.resolve,o=n.reject,i=k((function(){var n=b(e.resolve),i=[],a=0,c=1;A(t,(function(t){var u=a++,s=!1;c++,l(n,e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=K(e),r=n.reject,o=k((function(){var o=b(e.resolve);A(t,(function(t){l(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(t,e,n){var r=n("1a2d"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s<n.length;s++){var f=n[s];r(t,f)||c(t,f,u(e,f))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},f069:function(t,e,n){"use strict";var r=n("59ed"),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},f36a:function(t,e,n){var r=n("e330");t.exports=r([].slice)},f5df:function(t,e,n){var r=n("da84"),o=n("00ee"),i=n("1626"),a=n("c6b6"),c=n("b622"),u=c("toStringTag"),s=r.Object,f="Arguments"==a(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=o?a:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=s(t),u))?n:f?a(e):"Object"==(r=a(e))&&i(e.callee)?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fae3:function(t,e,n){"use strict";if(n.r(e),n.d(e,"loadMap",(function(){return s})),n.d(e,"moveTo",(function(){return O})),n.d(e,"loadMarker",(function(){return l})),n.d(e,"holographic",(function(){return z})),n.d(e,"location",(function(){return D})),n.d(e,"flexable",(function(){return F})),n.d(e,"getWeather",(function(){return N})),n.d(e,"createWindow",(function(){return G})),n.d(e,"closeWindow",(function(){return H})),n.d(e,"elasticMarker",(function(){return W})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("d3b7"),n("e6cf");var a=n("862d"),c=n.n(a),u=function(t){return t.movingDraw&&(window["movingDraw"]=!0),new Promise((function(e){c.a.load({key:t.key,version:t.version,plugins:t.plugins}).then((function(t){e(t)})).catch((function(t){console.error("地图加载失败",t)}))}))},s=u,f=(n("d81d"),n("a434"),function(t,e){if("marker"===e.type){e.img&&""!==e.img||(e.img="https://vdata.amap.com/icons/b18/1/2.png");var n=new t.AMap.Icon({size:[e.size[0],e.size[1]],image:e.img,imageSize:[e.size[0],e.size[1]]}),r=new t.AMap.Marker({map:t.map,position:e.position,icon:n,title:e.title,offset:e.offset?e.offset:[-e.size[0]/2,-e.size[1]/2],extData:{id:e.id,time:e.time,lnglat:e.lnglat}});return e.label&&r.setLabel({content:e.label,direction:e.labelDirect,offset:e.labelOffset}),e.className&&r.dom.classList.add(e.className),r}if("text"===e.type){var o=new t.AMap.Text({map:t.map,text:e.text,anchor:"center",cursor:"pointer",style:e.textStyle,position:e.position});return e.className&&o.dom.classList.add(e.className),o}}),l=f;function p(t){return t.lnglat&&0!==t.lnglat.length?t.id&&""!==t.id?""!=t.img&&t.img?t.size&&0!==t.size.length?{status:"pass"}:(console.warn("size:车辆大小为空,将采用默认大小"),t.size=[10,10],{status:"sizefalse",content:t.size}):(console.warn("img:未获取到车辆img,将使用默认图片"),t.img="https://a.amap.com/jsapi_demos/static/demo-center-v2/car.png",{status:"imgfalse",content:t.img}):(console.warn("id:id不能为空"),{status:"idfalse"}):(console.warn("lnglat:未获取到驶入经纬度"),{status:"lnglatfalse"})}var d=n("a886"),v=n.n(d),m=[],g=[],h=[],b=0,y=0,w=!0,x=!0,M=0,A=function(t,e){if(0===M&&(S(t,e.deleteTime),M=1),"lnglatfalse"!==p(e).status&&"idfalse"!==p(e).status){"imgfalse"===p(e).status&&(e.img=p(e).content),"sizefalse"===p(e).status&&(e.size=p(e).content),e.deleteTime||(e.deleteTime=5),e.coordtransform&&(e.lnglat=v.a.wgs84togcj02(e.lnglat[0],e.lnglat[1])),e.follow&&t.map.setCenter(e.lnglat,!1,e.duration);var n=(new Date).getTime();if(-1==m.indexOf(e.id)){m.push(e.id);var r={img:e.img,size:e.size,position:e.lnglat,type:"marker"},o=l(t,r);o.getExtData().time=n,o.getExtData().id=e.id,g.push(o)}else for(var i=function(r,o){if(g[r].getExtData().id==e.id){var i=[g[r].getPosition().lng,g[r].getPosition().lat],a=t.AMap.GeometryUtil.distance(i,e.lnglat),c=e.mileage?e.mileage:0;g[r].getExtData().time=n,a>=c&&(t.AMap.plugin(["AMap.MoveAnimation"],(function(){g[r].moveTo(e.lnglat,{duration:e.duration||0,autoRotation:!e.heading&&void 0===e.heading})})),e.heading&&g[r].setAngle(e.heading))}},a=0,c=g.length;a<c;a++)i(a,c);if(e.rotation||void 0!==e.rotation){var u=e.heading;180===e.rotation&&u<0&&(u=360+u),j(t,u,e.rotationFrequency)}}};function j(t,e,n){x&&(x=!1,setTimeout((function(){e!==b&&I(t,e,n),x=!0}),n))}function S(t,e){setInterval((function(){var n=(new Date).getTime();g.map((function(r,o){var i=(n-r.getExtData().time)/1e3;i>=e&&(t.map.remove(g[o]),m.splice(o,1),g.splice(o,1))}))}),1e3)}function I(t,e,n){w&&(b=e,w=!1),h.push(e),2===h.length&&(y=h[0]>=270&&h[1]<=90?360-h[0]+h[1]:h[0]<=90&&h[1]>=270?-(360-h[1]+h[0]):h[1]-h[0],b+=y,t.map.setRotation(-b,!1,n),h.shift())}var O=A;function E(t){return t.lnglat&&0!==t.lnglat.length?t.id&&""!==t.id?""!==t.img&&t.img?t.size&&0!==t.size.length?t.mileage||0===t.mileage?{status:"pass"}:{status:"mileagefalse",content:.5}:(console.warn("size:车辆大小为空,将采用默认大小"),{status:"sizefalse",content:[10,10]}):(console.warn("img:未获取到车辆img,将使用默认图片"),{status:"imgfalse",content:"https://vdata.amap.com/icons/b18/1/2.png"}):(console.warn("id:id不能为空"),{status:"idfalse"}):(console.warn("lnglat:未获取到驶入经纬度"),{status:"lnglatfalse"})}var T=[],L=[],k=0,P=function(t,e,n){if(t.map){var r=(new Date).getTime();if(e.disLnglat&&2===e.disLnglat.length){var o=t.AMap.GeometryUtil.distance(e.lnglat,e.disLnglat);if(o>e.dis)return}if(0===k&&(e.deleteTime||(e.deleteTime=1),U(t,e.deleteTime),k=1),"lnglatfalse"!==E(e).status&&"idfalse"!==E(e).status)if("imgfalse"===E(e).status&&(e.img=E(e).content),"mileagefalse"===E(e).status&&(e.mileage=E(e).content),"sizefalse"===E(e).status&&(e.size=E(e).content),e.deleteTime||(e.deleteTime=1),e.coordtransform&&(e.lnglat=v.a.wgs84togcj02(e.lnglat[0],e.lnglat[1])),-1==T.indexOf(e.id)){T.push(e.id);var i={type:"marker",img:e.img,size:e.size,position:e.lnglat,id:e.id,time:r,lnglat:e.lnglat},a=l(t,i);e.oneTimeHeading&&a.setAngle(e.oneTimeHeading);var c=null;n&&n.text&&""!==n.text&&(n.position=e.lnglat,c=l(t,n)),L.push({marker:a,title:c})}else for(var u=function(o){L[o].marker.getExtData().id==e.id&&(t.AMap.plugin(["AMap.MoveAnimation"],(function(){var r=t.AMap.GeometryUtil.distance(L[o].marker.getExtData().lnglat,e.lnglat);r>=e.mileage&&(e.autoRotation||(L[o].marker.setAngle(e.heading),e.autoRotation=!1),L[o].marker.moveTo(e.lnglat,{duration:e.duration?e.duration:1e3,autoRotation:e.autoRotation}),L[o].title&&(""!==n.text&&n.text?(L[o].title.show(),L[o].title.setText(n.text)):L[o].title.hide(),L[o].title.moveTo(e.lnglat,{duration:e.duration?e.duration:1e3})),L[o].title||n&&n.text&&""!==n.text&&(n.position=e.lnglat,L[o].title=l(t,n)))})),L[o].marker.getExtData().lnglat=e.lnglat,L[o].marker.getExtData().time=r,L[o].title&&(L[o].title.getExtData().lnglat=e.lnglat,L[o].title.getExtData().time=r))},s=0;s<L.length;s++)u(s)}else console.warn("地图实例为空,请在地图加载完成后再执行业务逻辑")};function U(t,e){setInterval((function(){var n=(new Date).getTime();L.map((function(r,o){var i=(n-r.marker.getExtData().time)/1e3;i>=e&&(t.map.remove(L[o].marker),L[o].title&&t.map.remove(L[o].title),T.splice(o,1),L.splice(o,1))}))}),500)}var z=P;function _(t){t.AMap.plugin("AMap.Geolocation",(function(){var e=new t.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4,offset:[10,20],zoomToAccuracy:!0,position:"RB"});function n(t){console.log(t)}function r(t){console.log(t)}e.getCurrentPosition((function(t,e){"complete"==t?n(e):r(e)}))}))}var D=_,R=function(t,e){return new t.AMap.TileLayer.Flexible({map:t.map,opacity:e.opacity,zooms:e.zooms,createTile:function(t,n,r,o,i){var a=document.createElement("img");a.onload=function(){o(a)},a.onerror=function(){i()},a.src=e.url+r+"/"+n+"/"+t+".png",a.crossOrigin="anonymous"}})},F=R,C=function(t,e,n,r){t.AMap.plugin("AMap.Weather",(function(){var o=new t.AMap.Weather;"Live"===n?o.getLive(e,(function(t,e){r(e)})):"Forecast"===n&&o.getForecast(e,(function(t,e){r(e)}))}))},N=C,B=(n("b64b"),function(t,e){if(!e.labelZoom){var n=Object.keys(e.zoomStyleMapping);e.labelZoom=n[n.length-1]}new t.AMap.ElasticMarker({map:t.map,position:e.lnglat,zooms:e.zooms,styles:[{icon:{img:e.smallIcon,size:e.size,anchor:"center",fitZoom:e.fitZoom,scaleFactor:2,maxScale:2,minScale:.125},label:{content:e.label,position:"BM"}},{icon:{img:e.bigIcon,size:e.size,anchor:"center",fitZoom:e.fitZoom,scaleFactor:2,maxScale:2,minScale:.125},label:{content:e.label,position:"BM"}}],zoomStyleMapping:e.zoomStyleMapping})}),W=B,G=(n("a15b"),n("91b9"),function(t,e){var n="",r=[];if(e.title&&(n=e.title),e.middleImg&&r.push("<img src="+e.middleImg+">"),"string"===typeof e.middleMess)r.push("<div class='contentLabel'>"+e.middleMess+"</div>");else for(var o=Object.keys(e.middleMess),i=0;i<o.length;i++)r.push("<span class='contentLabel'><span class=\"contentKey\">"+o[i]+'</span>:<span class="contentValue">'+e.middleMess[o[i]]+"</span></span>");var a=new t.AMap.InfoWindow({isCustom:!0,content:q(n,r.join("<br/>"),e,t),offset:new t.AMap.Pixel(0,0)});return a});function q(t,e,n,r){var o=document.createElement("div");if(o.className="windowBox",o.style.cssText=n.infoStyle,n.title){var i=document.createElement("div");i.className="title";var a=document.createElement("div");a.className="titleLabel",a.innerHTML=t,a.style.cssText=n.titleStyle;var c=document.createElement("img");c.className="closeBtn",n.closeImg?c.src=n.closeImg:c.src="https://webapi.amap.com/images/close.gif",c.style.cssText=n.closeBtnStyle,c.addEventListener("click",(function(){H(r)})),i.appendChild(a),i.appendChild(c),o.appendChild(i)}var u=document.createElement("div");return"string"===typeof n.middleMess&&(u.style.cssText=n.middleStyle),u.className="Content",u.innerHTML=e,o.appendChild(u),o}var H=function(t){t.map.clearInfoWindow()}},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}})}));