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-77e2903a"],{"00b4":function(e,t,n){"use strict";n("ac1f");var o=n("23e7"),r=n("da84"),a=n("c65b"),i=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=i(/./.test);o({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var n=a(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"),a=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){a=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!a)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"),a=n("dc4a");e.exports=function(e,t,n){var i,s;r(e);try{if(i=a(e,"return"),!i){if("throw"===t)throw n;return n}i=o(i,e)}catch(c){s=!0,i=c}if("throw"===t)throw n;if(s)throw i;return r(i),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 a(){const{unload:e,renderByParent:t,$parent:n}=this;t&&n.reload(),e()}class i{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=a,this.beforeDestroy=a}}t["a"]=e=>new i({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"),a=n("3f8c"),i=n("b622"),s=i("iterator");e.exports=function(e){if(void 0!=e)return r(e,s)||r(e,"@@iterator")||a[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"),a=n("c65b"),i=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=i(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=a(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"),a=n("577e"),i=n("5899"),s=o("".replace),c="["+i+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),f=function(e){return function(t){var n=a(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 a(e,t={}){const{url:n,size:o,opts:a={}}=t;return new e.Icon(n,r(e,o),{anchor:a.anchor&&r(e,a.anchor),imageSize:a.imageSize&&r(e,a.imageSize),imageOffset:a.imageOffset&&r(e,a.imageOffset),infoWindowAnchor:a.infoWindowAnchor&&r(e,a.infoWindowAnchor),printImageUrl:a.printImageUrl})}function i(e,t={}){const{content:n,opts:a}=t;return new e.Label(n,{offset:a.offset&&r(e,a.offset),position:a.position&&o(e,a.position),enableMassClear:a.enableMassClear})}n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}))},"7f25":function(e,t,n){"use strict";(function(e){var o=n("b85c"),r=(n("a9e3"),n("d81d"),n("d3b7"),n("4fab")),a=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(a["a"])(e)&&e!==t&&n.centerAndZoom(e,o)},"center.lng":function(e,t){var n=this.BMap,o=this.map,r=this.zoom,a=this.center;e!==t&&e>=-180&&e<=180&&o.centerAndZoom(new n.Point(e,a.lat),r)},"center.lat":function(e,t){var n=this.BMap,o=this.map,r=this.zoom,a=this.center;e!==t&&e>=-74&&e<=74&&o.centerAndZoom(new n.Point(a.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,a=o.styleJson;n.setMapStyle({styleJson:a,features:e,style:r})},deep:!0},"mapStyle.style":function(e,t){var n=this.map,o=this.mapStyle,r=o.features,a=o.styleJson;n.setMapStyle({styleJson:a,features:r,style:e})},"mapStyle.styleJson":{handler:function(e,t){var n=this.map,o=this.mapStyle,r=o.features,a=o.style;n.setMapStyle({styleJson:e,features:r,style:a})},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,a=this.dragging,i=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]),a?t.enableDragging():t.disableDragging(),i?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,a=Object(o["a"])(this.$slots.default||[]);try{for(a.s();!(t=a.n()).done;){var i=t.value;i.componentOptions&&"bm-view"===i.componentOptions.tag&&(this.hasBmView=!0,n=i.elm)}}catch(p){a.e(p)}finally{a.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(a["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"),a=n("59ed"),i=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(a(n))return i(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,a){try{return a?t(o(n)[0],n[1]):t(n)}catch(i){r(e,"throw",i)}}},a630:function(e,t,n){var o=n("23e7"),r=n("4df4"),a=n("1c7e"),i=!a((function(e){Array.from(e)}));o({target:"Array",stat:!0,forced:i},{from:r})},a9e3:function(e,t,n){"use strict";var o=n("83ab"),r=n("da84"),a=n("e330"),i=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=a("".slice),Z=a("".charCodeAt),B=function(e){var t=m(e,"number");return"bigint"==typeof t?t:x(t)},x=function(e){var t,n,o,r,a,i,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(a=S(u,2),i=a.length,s=0;s<i;s++)if(c=Z(a,s),c<48||c>r)return NaN;return parseInt(a,o)}return+u};if(i(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,a=n("e330"),i=n("9bf2").f,s=Function.prototype,c=a(s.toString),u=/^\s*function ([^ (]*)/,l=a(u.exec),f="name";o&&!r&&i(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 a}));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 a(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,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}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 i,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,i=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(c)throw i}}}}},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=[],a=n("7f25"),i=a["a"],s=n("2877"),c=Object(s["a"])(i,o,r,!1,null,null,null);t["a"]=c.exports},e95a:function(e,t,n){var o=n("b622"),r=n("3f8c"),a=o("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},fb6a:function(e,t,n){"use strict";var o=n("23e7"),r=n("da84"),a=n("e8b5"),i=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(a(m)&&(n=m.constructor,i(n)&&(n===v||a(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-77e2903a.7e788b4b.js.map