text: var Mapbox=function(t,e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;
  /*! *****************************************************************************
      Copyright (c) Microsoft Corporation. All rights reserved.
      Licensed under the Apache License, Version 2.0 (the "License"); you may not use
      this file except in compliance with the License. You may obtain a copy of the
      License at http://www.apache.org/licenses/LICENSE-2.0
  
      THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
      KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
      WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
      MERCHANTABLITY OR NON-INFRINGEMENT.
  
      See the Apache Version 2.0 License for specific language governing permissions
      and limitations under the License.
      ***************************************************************************** */
  var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function n(t,e,o,n){var r,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,o,a):r(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}
  /**
        * vue-class-component v7.1.0
        * (c) 2015-present Evan You
        * @license MIT
        */var r="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function i(t,e,o){(o?Reflect.getOwnMetadataKeys(e,o):Reflect.getOwnMetadataKeys(e)).forEach((function(n){var r=o?Reflect.getOwnMetadata(n,e,o):Reflect.getOwnMetadata(n,e);o?Reflect.defineMetadata(n,r,t,o):Reflect.defineMetadata(n,r,t)}))}var a={__proto__:[]}instanceof Array;var s=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function c(t,o){void 0===o&&(o={}),o.name=o.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(s.indexOf(t)>-1)o[t]=n[t];else{var e=Object.getOwnPropertyDescriptor(n,t);void 0!==e.value?"function"==typeof e.value?(o.methods||(o.methods={}))[t]=e.value:(o.mixins||(o.mixins=[])).push({data:function(){var o;return(o={})[t]=e.value,o}}):(e.get||e.set)&&((o.computed||(o.computed={}))[t]={get:e.get,set:e.set})}})),(o.mixins||(o.mixins=[])).push({data:function(){return function(t,e){var o=e.prototype._init;e.prototype._init=function(){var e=this,o=Object.getOwnPropertyNames(t);if(t.$options.props)for(var n in t.$options.props)t.hasOwnProperty(n)||o.push(n);o.forEach((function(o){"_"!==o.charAt(0)&&Object.defineProperty(e,o,{get:function(){return t[o]},set:function(e){t[o]=e},configurable:!0})}))};var n=new e;e.prototype._init=o;var r={};return Object.keys(n).forEach((function(t){void 0!==n[t]&&(r[t]=n[t])})),r}(this,t)}});var c=t.__decorators__;c&&(c.forEach((function(t){return t(o)})),delete t.__decorators__);var u,f,l=Object.getPrototypeOf(t.prototype),d=l instanceof e?l.constructor:e,v=d.extend(o);return function(t,e,o){Object.getOwnPropertyNames(e).forEach((function(n){if(!p[n]){var r=Object.getOwnPropertyDescriptor(t,n);if(!r||r.configurable){var i,s,c=Object.getOwnPropertyDescriptor(e,n);if(!a){if("cid"===n)return;var u=Object.getOwnPropertyDescriptor(o,n);if(i=c.value,s=typeof i,null!=i&&("object"===s||"function"===s)&&u&&u.value===c.value)return}Object.defineProperty(t,n,c)}}}))}(v,t,d),r&&(i(u=v,f=t),Object.getOwnPropertyNames(f.prototype).forEach((function(t){i(u.prototype,f.prototype,t)})),Object.getOwnPropertyNames(f).forEach((function(t){i(u,f,t)}))),v}var p={prototype:!0,arguments:!0,callee:!0,caller:!0};function u(t){return"function"==typeof t?c(t):function(e){return c(e,t)}}u.registerHooks=function(t){s.push.apply(s,t)};var f="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function l(t){return void 0===t&&(t={}),function(e,o){var n;!function(t,e,o){f&&(Array.isArray(t)||"function"==typeof t||void 0!==t.type||(t.type=Reflect.getMetadata("design:type",e,o)))}(t,e,o),(n=function(e,o){(e.props||(e.props={}))[o]=t},function(t,e,o){var r="function"==typeof t?t:t.constructor;r.__decorators__||(r.__decorators__=[]),"number"!=typeof o&&(o=void 0),r.__decorators__.push((function(t){return n(t,e,o)}))})(e,o)}}var d=/\B([A-Z])/g,v=function(t){return t.replace(d,"-$1").toLowerCase()};function h(t){return t instanceof Promise||t&&"function"==typeof t.then}var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var r;return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.mounted=function(){this.map=this.mapInit(),this.addControls(this.map),this.registerMapEvents(this.map)},e.prototype.beforeDestroy=function(){this.map.remove()},e.prototype.mapInit=function(){return mapboxgl.accessToken=this.accessToken,Object.prototype.hasOwnProperty.call(this.mapOptions,"container")||(this.mapOptions.container="map"),new mapboxgl.Map(this.mapOptions)},e.prototype.registerMapEvents=function(t){var e=this,o=["error","load","remove","render","resize","webglcontextlost","webglcontextrestored","dataloading","data","tiledataloading","sourcedataloading","styledataloading","sourcedata","styledata","boxzoomcancel","boxzoomstart","boxzoomend","touchcancel","touchmove","touchend","touchstart","click","contextmenu","dblclick","mousemove","mouseup","mousedown","mouseout","mouseover","mouseenter","mouseleave","movestart","move","moveend","zoomstart","zoom","zoomend","rotatestart","rotate","rotateend","dragstart","drag","dragend","pitchstart","pitch","pitchend","wheel"],n=["touchcancel","touchend","touchstart","click","contextmenu","dblclick","mousemove","mouseup","mousedown","mouseout","mouseover","mouseenter","mouseleave"];if(Object.keys(this.$listeners).length){var r=function(r){var i=r.replace(/^map-/,"").split(":"),a=i[0],s=i[1];o.indexOf(a)>-1&&(s&&n.indexOf(a)>-1?t.on(a,s,(function(o){e.$emit(r,t,o)})):t.on(a,(function(o){e.$emit(r,t,o)})))};for(var i in this.$listeners)r(i)}},e.prototype.addControls=function(t){var e=this;if(this.navControl.show){var o=new mapboxgl.NavigationControl(this.navControl.options);t.addControl(o,this.navControl.position)}if(this.geolocateControl.show){var n=new mapboxgl.GeolocateControl(this.geolocateControl.options);t.addControl(n,this.geolocateControl.position);var r=["error","trackuserlocationstart","trackuserlocationend","geolocate"];if(Object.keys(this.$listeners).length){var i=function(t){var o=t.replace(/^geolocate-/,"");r.indexOf(o)>-1&&n.on(o,(function(o){o?e.$emit(t,n,o):e.$emit(t,n)}))};for(var a in this.$listeners)i(a)}}if(this.scaleControl.show){var s=new mapboxgl.ScaleControl(this.scaleControl.options);t.addControl(s,this.scaleControl.position)}if(this.fullscreenControl.show){var c=new mapboxgl.FullscreenControl;t.addControl(c,this.fullscreenControl.position)}},n([l({required:!0})],e.prototype,"accessToken",void 0),n([l({required:!0})],e.prototype,"mapOptions",void 0),n([l({default:function(){return{show:!0,position:"top-right",options:{}}}})],e.prototype,"navControl",void 0),n([l({default:function(){return{show:!1,position:"top-left",options:{}}}})],e.prototype,"geolocateControl",void 0),n([l({default:function(){return{show:!1,position:"top-left",options:{}}}})],e.prototype,"scaleControl",void 0),n([l({default:function(){return{show:!1,position:"top-right",options:{}}}})],e.prototype,"fullscreenControl",void 0),n([l({default:function(){return{show:!1,position:"top-right",options:{}}}})],e.prototype,"attributionControl",void 0),n([function(t,e,o){e=v(e);var n=o.value;o.value=function(){for(var t=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=function(n){void 0!==n&&o.unshift(n),t.$emit.apply(t,[r||e].concat(o))},s=n.apply(this,o);return h(s)?s.then((function(t){a(t)})):a(s),s}}],e.prototype,"mapInit",null),e=n([u],e)}(e);"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());const y=m;var g=function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:Object.prototype.hasOwnProperty.call(this.mapOptions,"container")?this.mapOptions.container:"map"}})};g._withStripped=!0;const _=function(t,e,o,n,r,i,a,s,c,p){"boolean"!=typeof a&&(c=s,s=a,a=!1);const u="function"==typeof o?o.options:o;let f;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,r&&(u.functional=!0)),n&&(u._scopeId=n),i?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=f):e&&(f=a?function(t){e.call(this,p(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),f)if(u.functional){const t=u.render;u.render=function(e,o){return f.call(o),t(e,o)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,f):[f]}return o}({render:g,staticRenderFns:[]},void 0,y,void 0,!1,void 0,!1,void 0,void 0,void 0);var O,b={install:O=function(t){O.installed||(O.installed=!0,t.component("Mapbox",_))}},w=null;return"undefined"!=typeof window&&(w=window.Vue),w&&w.use(b),t.default=_,t}({},Vue);
  