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
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3e9b4b62"],{"00b4":function(e,t,n){"use strict";n("ac1f");var o=n("23e7"),r=n("da84"),i=n("c65b"),a=n("e330"),s=n("1626"),c=n("861d"),u=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),l=r.Error,f=a(/./.test);o({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var n=i(t,this,e);if(null!==n&&!c(n))throw new l("RegExp exec method returned something other than an Object or null");return!!n}})},"1c7e":function(e,t,n){var o=n("b622"),r=o("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(c){}return n}},"2a62":function(e,t,n){var o=n("c65b"),r=n("825a"),i=n("dc4a");e.exports=function(e,t,n){var a,s;r(e);try{if(a=i(e,"return"),!a){if("throw"===t)throw n;return n}a=o(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw n;if(s)throw a;return r(a),n}},"2da4":function(e,t,n){"use strict";const o={control:{unload:"removeControl"},layer:{unload:"removeTileLayer"},overlay:{unload:"removeOverlay"},contextMenu:{unload:"removeContextMenu"}},r=e=>e.abstract||e.$el===e.$children[0].$el?r(e.$parent):e;function i(){const{unload:e,renderByParent:t,$parent:n}=this;t&&n.reload(),e()}class a{constructor(e){this.methods={ready(){const e=r(this.$parent),t=this.BMap=e.BMap,n=this.map=e.map;this.load(),this.$emit("ready",{BMap:t,map:n})},transmitEvent(e){this.$emit(e.type.replace(/^on/,""),e)},reload(){this&&this.BMap&&this.$nextTick(()=>{this.unload(),this.$nextTick(this.load)})},unload(){const{map:t,originInstance:n}=this;try{switch(e.type){case"search":return n.clearResults();case"autoComplete":case"lushu":return n.dispose();case"markerClusterer":return n.clearMarkers();default:t[o[e.type].unload](n)}}catch(r){}}},this.computed={renderByParent(){return this.$parent.preventChildrenRender}},this.mounted=function(){const e=r(this.$parent),t=e.map,{ready:n}=this;t?n():e.$on("ready",n)},this.destroyed=i,this.beforeDestroy=i}}t["a"]=e=>new a({type:e})},"33d3":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("76f3");const o=e=>Object.prototype.toString.call(e).slice(8,-1)},"35a15":function(e,t,n){var o=n("f5df"),r=n("dc4a"),i=n("3f8c"),a=n("b622"),s=a("iterator");e.exports=function(e){if(void 0!=e)return r(e,s)||r(e,"@@iterator")||i[o(e)]}},"408a":function(e,t,n){var o=n("e330");e.exports=o(1..valueOf)},"4df4":function(e,t,n){"use strict";var o=n("da84"),r=n("0366"),i=n("c65b"),a=n("7b0b"),s=n("9bdd"),c=n("e95a"),u=n("68ee"),l=n("07fa"),f=n("8418"),m=n("9a1f"),p=n("35a15"),d=o.Array;e.exports=function(e){var t=a(e),n=u(this),o=arguments.length,h=o>1?arguments[1]:void 0,b=void 0!==h;b&&(h=r(h,o>2?arguments[2]:void 0));var v,y,g,w,M,k,S=p(t),Z=0;if(!S||this==d&&c(S))for(v=l(t),y=n?new this(v):d(v);v>Z;Z++)k=b?h(t[Z],Z):t[Z],f(y,Z,k);else for(w=m(t,S),M=w.next,y=n?new this:[];!(g=i(M,w)).done;Z++)k=b?s(w,h,[g.value,Z],!0):g.value,f(y,Z,k);return y.length=Z,y}},"4fab":function(e,t,n){"use strict";var o={"bm-map":["click","dblclick","rightclick","rightdblclick","maptypechange","mousemove","mouseover","mouseout","movestart","moving","moveend","zoomstart","zoomend","addoverlay","addcontrol","removecontrol","removeoverlay","clearoverlays","dragstart","dragging","dragend","addtilelayer","removetilelayer","load","resize","hotspotclick","hotspotover","hotspotout","tilesloaded","touchstart","touchmove","touchend","longpress"],"bm-geolocation":["locationSuccess","locationError"],"bm-overview-map":["viewchanged","viewchanging"],"bm-marker":["click","dblclick","mousedown","mouseup","mouseout","mouseover","remove","infowindowclose","infowindowopen","dragstart","dragging","dragend","rightclick"],"bm-polyline":["click","dblclick","mousedown","mouseup","mouseout","mouseover","remove","lineupdate"],"bm-polygon":["click","dblclick","mousedown","mouseup","mouseout","mouseover","remove","lineupdate"],"bm-circle":["click","dblclick","mousedown","mouseup","mouseout","mouseover","remove","lineupdate"],"bm-label":["click","dblclick","mousedown","mouseup","mouseout","mouseover","remove","rightclick"],"bm-info-window":["close","open","maximize","restore","clickclose"],"bm-ground":["click","dblclick"],"bm-autocomplete":["onconfirm","onhighlight"],"bm-point-collection":["click","mouseover","mouseout"]};t["a"]=function(e,t){const n=t||o[this.$options.name];n&&n.forEach(t=>{const n="on"===t.slice(0,2),o=n?t.slice(2):t,r=this.$listeners[o];r&&e.addEventListener(t,r.fns)})}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){var o=n("e330"),r=n("1d80"),i=n("577e"),a=n("5899"),s=o("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),f=function(e){return function(t){var n=i(r(t));return 1&e&&(n=s(n,u,"")),2&e&&(n=s(n,l,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},"76f3":function(e,t,n){"use strict";function o(e,t={}){const{lng:n,lat:o}=t;return new e.Point(n,o)}function r(e,t={}){const{width:n,height:o}=t;return new e.Size(n,o)}function i(e,t={}){const{url:n,size:o,opts:i={}}=t;return new e.Icon(n,r(e,o),{anchor:i.anchor&&r(e,i.anchor),imageSize:i.imageSize&&r(e,i.imageSize),imageOffset:i.imageOffset&&r(e,i.imageOffset),infoWindowAnchor:i.infoWindowAnchor&&r(e,i.infoWindowAnchor),printImageUrl:i.printImageUrl})}function a(e,t={}){const{content:n,opts:i}=t;return new e.Label(n,{offset:i.offset&&r(e,i.offset),position:i.position&&o(e,i.position),enableMassClear:i.enableMassClear})}n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},"7f25":function(e,t,n){"use strict";(function(e){var o=n("b85c"),r=(n("a9e3"),n("d81d"),n("d3b7"),n("4fab")),i=n("33d3");t["a"]={name:"bm-map",props:{ak:{type:String},center:{type:[Object,String]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},highResolution:{type:Boolean,default:!0},mapClick:{type:Boolean,default:!0},mapType:{type:String},dragging:{type:Boolean,default:!0},scrollWheelZoom:{type:Boolean,default:!1},doubleClickZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},inertialDragging:{type:Boolean,default:!0},continuousZoom:{type:Boolean,default:!0},pinchToZoom:{type:Boolean,default:!0},autoResize:{type:Boolean,default:!0},theme:{type:Array},mapStyle:{type:Object}},watch:{center:function(e,t){var n=this.map,o=this.zoom;"String"===Object(i["a"])(e)&&e!==t&&n.centerAndZoom(e,o)},"center.lng":function(e,t){var n=this.BMap,o=this.map,r=this.zoom,i=this.center;e!==t&&e>=-180&&e<=180&&o.centerAndZoom(new n.Point(e,i.lat),r)},"center.lat":function(e,t){var n=this.BMap,o=this.map,r=this.zoom,i=this.center;e!==t&&e>=-74&&e<=74&&o.centerAndZoom(new n.Point(i.lng,e),r)},zoom:function(e,t){var n=this.map;e!==t&&e>=3&&e<=19&&n.setZoom(e)},minZoom:function(e){var t=this.map;t.setMinZoom(e)},maxZoom:function(e){var t=this.map;t.setMaxZoom(e)},highResolution:function(){this.reset()},mapClick:function(){this.reset()},mapType:function(t){var n=this.map;n.setMapType(e[t])},dragging:function(e){var t=this.map;e?t.enableDragging():t.disableDragging()},scrollWheelZoom:function(e){var t=this.map;e?t.enableScrollWheelZoom():t.disableScrollWheelZoom()},doubleClickZoom:function(e){var t=this.map;e?t.enableDoubleClickZoom():t.disableDoubleClickZoom()},keyboard:function(e){var t=this.map;e?t.enableKeyboard():t.disableKeyboard()},inertialDragging:function(e){var t=this.map;e?t.enableInertialDragging():t.disableInertialDragging()},continuousZoom:function(e){var t=this.map;e?t.enableContinuousZoom():t.disableContinuousZoom()},pinchToZoom:function(e){var t=this.map;e?t.enablePinchToZoom():t.disablePinchToZoom()},autoResize:function(e){var t=this.map;e?t.enableAutoResize():t.disableAutoResize()},theme:function(e){var t=this.map;t.setMapStyle({styleJson:e})},"mapStyle.features":{handler:function(e,t){var n=this.map,o=this.mapStyle,r=o.style,i=o.styleJson;n.setMapStyle({styleJson:i,features:e,style:r})},deep:!0},"mapStyle.style":function(e,t){var n=this.map,o=this.mapStyle,r=o.features,i=o.styleJson;n.setMapStyle({styleJson:i,features:r,style:e})},"mapStyle.styleJson":{handler:function(e,t){var n=this.map,o=this.mapStyle,r=o.features,i=o.style;n.setMapStyle({styleJson:e,features:r,style:i})},deep:!0},mapStyle:function(e){var t=this.map,n=this.theme;!n&&t.setMapStyle(e)}},methods:{setMapOptions:function(){var t=this.map,n=this.minZoom,o=this.maxZoom,r=this.mapType,i=this.dragging,a=this.scrollWheelZoom,s=this.doubleClickZoom,c=this.keyboard,u=this.inertialDragging,l=this.continuousZoom,f=this.pinchToZoom,m=this.autoResize;n&&t.setMinZoom(n),o&&t.setMaxZoom(o),r&&t.setMapType(e[r]),i?t.enableDragging():t.disableDragging(),a?t.enableScrollWheelZoom():t.disableScrollWheelZoom(),s?t.enableDoubleClickZoom():t.disableDoubleClickZoom(),c?t.enableKeyboard():t.disableKeyboard(),u?t.enableInertialDragging():t.disableInertialDragging(),l?t.enableContinuousZoom():t.disableContinuousZoom(),f?t.enablePinchToZoom():t.disablePinchToZoom(),m?t.enableAutoResize():t.disableAutoResize()},init:function(e){if(!this.map){var t,n=this.$refs.view,i=Object(o["a"])(this.$slots.default||[]);try{for(i.s();!(t=i.n()).done;){var a=t.value;a.componentOptions&&"bm-view"===a.componentOptions.tag&&(this.hasBmView=!0,n=a.elm)}}catch(p){i.e(p)}finally{i.f()}var s=new e.Map(n,{enableHighResolution:this.highResolution,enableMapClick:this.mapClick});this.map=s;var c=this.setMapOptions,u=this.zoom,l=this.getCenterPoint,f=this.theme,m=this.mapStyle;f?s.setMapStyle({styleJson:f}):s.setMapStyle(m),c(),r["a"].call(this,s),s.reset(),s.centerAndZoom(l(),u),this.$emit("ready",{BMap:e,map:s})}},getCenterPoint:function(){var e=this.center,t=this.BMap;switch(Object(i["a"])(e)){case"String":return e;case"Object":return new t.Point(e.lng,e.lat);default:return new t.Point}},initMap:function(e){this.BMap=e,this.init(e)},getMapScript:function(){if(e.BMap)return e.BMap._preloader?e.BMap._preloader:Promise.resolve(e.BMap);var t=this.ak||this._BMap().ak;return e.BMap={},e.BMap._preloader=new Promise((function(n,o){e._initBaiduMap=function(){n(e.BMap),e.document.body.removeChild(r),e.BMap._preloader=null,e._initBaiduMap=null};var r=document.createElement("script");e.document.body.appendChild(r),r.src="https://api.map.baidu.com/api?v=2.0&ak=".concat(t,"&callback=_initBaiduMap")})),e.BMap._preloader},reset:function(){var e=this.getMapScript,t=this.initMap;e().then(t)}},mounted:function(){this.reset()},data:function(){return{hasBmView:!1}}}}).call(this,n("c8ba"))},"9a1f":function(e,t,n){var o=n("da84"),r=n("c65b"),i=n("59ed"),a=n("825a"),s=n("0d51"),c=n("35a15"),u=o.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return a(r(n,e));throw u(s(e)+" is not iterable")}},"9bdd":function(e,t,n){var o=n("825a"),r=n("2a62");e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(a){r(e,"throw",a)}}},a630:function(e,t,n){var o=n("23e7"),r=n("4df4"),i=n("1c7e"),a=!i((function(e){Array.from(e)}));o({target:"Array",stat:!0,forced:a},{from:r})},a9e3:function(e,t,n){"use strict";var o=n("83ab"),r=n("da84"),i=n("e330"),a=n("94ca"),s=n("6eeb"),c=n("1a2d"),u=n("7156"),l=n("3a9b"),f=n("d9b5"),m=n("c04e"),p=n("d039"),d=n("241c").f,h=n("06cf").f,b=n("9bf2").f,v=n("408a"),y=n("58a8").trim,g="Number",w=r[g],M=w.prototype,k=r.TypeError,S=i("".slice),Z=i("".charCodeAt),B=function(e){var t=m(e,"number");return"bigint"==typeof t?t:x(t)},x=function(e){var t,n,o,r,i,a,s,c,u=m(e,"number");if(f(u))throw k("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),t=Z(u,0),43===t||45===t){if(n=Z(u,2),88===n||120===n)return NaN}else if(48===t){switch(Z(u,1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+u}for(i=S(u,2),a=i.length,s=0;s<a;s++)if(c=Z(i,s),c<48||c>r)return NaN;return parseInt(i,o)}return+u};if(a(g,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var A,I=function(e){var t=arguments.length<1?0:w(B(e)),n=this;return l(M,n)&&p((function(){v(n)}))?u(Object(t),n,I):t},C=o?d(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),E=0;C.length>E;E++)c(w,A=C[E])&&!c(I,A)&&b(I,A,h(w,A));I.prototype=M,M.constructor=I,s(r,g,I)}},b0c0:function(e,t,n){var o=n("83ab"),r=n("5e77").EXISTS,i=n("e330"),a=n("9bf2").f,s=Function.prototype,c=i(s.toString),u=/^\s*function ([^ (]*)/,l=i(u.exec),f="name";o&&!r&&a(s,f,{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(e){return""}}})},b85c:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("fb6a"),n("b0c0"),n("a630"),n("ac1f"),n("00b4");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function r(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(c)throw a}}}}},df2b:function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.hasBmView?e._e():n("div",{ref:"view",staticStyle:{width:"100%",height:"100%"}}),e._t("default")],2)},r=[],i=n("7f25"),a=i["a"],s=n("2877"),c=Object(s["a"])(a,o,r,!1,null,null,null);t["a"]=c.exports},e95a:function(e,t,n){var o=n("b622"),r=n("3f8c"),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},fb6a:function(e,t,n){"use strict";var o=n("23e7"),r=n("da84"),i=n("e8b5"),a=n("68ee"),s=n("861d"),c=n("23cb"),u=n("07fa"),l=n("fc6a"),f=n("8418"),m=n("b622"),p=n("1dde"),d=n("f36a"),h=p("slice"),b=m("species"),v=r.Array,y=Math.max;o({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,o,r,m=l(this),p=u(m),h=c(e,p),g=c(void 0===t?p:t,p);if(i(m)&&(n=m.constructor,a(n)&&(n===v||i(n.prototype))?n=void 0:s(n)&&(n=n[b],null===n&&(n=void 0)),n===v||void 0===n))return d(m,h,g);for(o=new(void 0===n?v:n)(y(g-h,0)),r=0;h<g;h++,r++)h in m&&f(o,r,m[h]);return o.length=r,o}})}}]);
//# sourceMappingURL=chunk-3e9b4b62.dc520970.js.map