exports.ids = [25];
exports.modules = {

/***/ 245:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
// Extensions

/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (_components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].extend({
  name: 'button-group',
  provide() {
    return {
      btnToggle: this
    };
  },
  computed: {
    classes() {
      return _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].options.computed.classes.call(this);
    }
  },
  methods: {
    // Isn't being passed down through types
    genData: _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].options.methods.genData
  }
}));

/***/ }),

/***/ 246:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

/***/ 253:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
/* harmony import */ var _mixins_binds_attrs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
/* harmony import */ var _mixins_registrable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39);
// Mixins



/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_mixins_binds_attrs__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], Object(_mixins_registrable__WEBPACK_IMPORTED_MODULE_2__[/* provide */ "b"])('form')
/* @vue/component */).extend({
  name: 'v-form',
  provide() {
    return {
      form: this
    };
  },
  inheritAttrs: false,
  props: {
    disabled: Boolean,
    lazyValidation: Boolean,
    readonly: Boolean,
    value: Boolean
  },
  data: () => ({
    inputs: [],
    watchers: [],
    errorBag: {}
  }),
  watch: {
    errorBag: {
      handler(val) {
        const errors = Object.values(val).includes(true);
        this.$emit('input', !errors);
      },
      deep: true,
      immediate: true
    }
  },
  methods: {
    watchInput(input) {
      const watcher = input => {
        return input.$watch('hasError', val => {
          this.$set(this.errorBag, input._uid, val);
        }, {
          immediate: true
        });
      };
      const watchers = {
        _uid: input._uid,
        valid: () => {},
        shouldValidate: () => {}
      };
      if (this.lazyValidation) {
        // Only start watching inputs if we need to
        watchers.shouldValidate = input.$watch('shouldValidate', val => {
          if (!val) return; // Only watch if we're not already doing it

          if (this.errorBag.hasOwnProperty(input._uid)) return;
          watchers.valid = watcher(input);
        });
      } else {
        watchers.valid = watcher(input);
      }
      return watchers;
    },
    /** @public */
    validate() {
      return this.inputs.filter(input => !input.validate(true)).length === 0;
    },
    /** @public */
    reset() {
      this.inputs.forEach(input => input.reset());
      this.resetErrorBag();
    },
    resetErrorBag() {
      if (this.lazyValidation) {
        // Account for timeout in validatable
        setTimeout(() => {
          this.errorBag = {};
        }, 0);
      }
    },
    /** @public */
    resetValidation() {
      this.inputs.forEach(input => input.resetValidation());
      this.resetErrorBag();
    },
    register(input) {
      this.inputs.push(input);
      this.watchers.push(this.watchInput(input));
    },
    unregister(input) {
      const found = this.inputs.find(i => i._uid === input._uid);
      if (!found) return;
      const unwatch = this.watchers.find(i => i._uid === found._uid);
      if (unwatch) {
        unwatch.valid();
        unwatch.shouldValidate();
      }
      this.watchers = this.watchers.filter(i => i._uid !== found._uid);
      this.inputs = this.inputs.filter(i => i._uid !== found._uid);
      this.$delete(this.errorBag, found._uid);
    }
  },
  render(h) {
    return h('form', {
      staticClass: 'v-form',
      attrs: {
        novalidate: true,
        ...this.attrs$
      },
      on: {
        submit: e => this.$emit('submit', e)
      }
    }, this.$slots.default);
  }
}));

/***/ }),

/***/ 254:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

/***/ 257:
/***/ (function(module, exports, __webpack_require__) {

const nominatim = __webpack_require__(264);
const photon = __webpack_require__(265);
const geocodingProviders = [nominatim, photon];
const geolocation = {
  getGeocodingProvider(providerName) {
    return geocodingProviders.find(i => i.commonName === providerName);
  }
};
module.exports = geolocation;

/***/ }),

/***/ 262:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _src_components_VAutocomplete_VAutocomplete_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(246);
/* harmony import */ var _src_components_VAutocomplete_VAutocomplete_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_components_VAutocomplete_VAutocomplete_sass__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(237);
/* harmony import */ var _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(47);
/* harmony import */ var _util_mergeData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22);
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
// Styles
 // Extensions


 // Utilities



const defaultMenuProps = {
  ..._VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* defaultMenuProps */ "b"],
  offsetY: true,
  offsetOverflow: true,
  transition: false
};
/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (_VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].extend({
  name: 'v-autocomplete',
  props: {
    autoSelectFirst: {
      type: Boolean,
      default: false
    },
    filter: {
      type: Function,
      default: (item, queryText, itemText) => {
        return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1;
      }
    },
    hideNoData: Boolean,
    menuProps: {
      type: _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.props.menuProps.type,
      default: () => defaultMenuProps
    },
    noFilter: Boolean,
    searchInput: {
      type: String
    }
  },
  data() {
    return {
      lazySearch: this.searchInput
    };
  },
  computed: {
    classes() {
      return {
        ..._VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.computed.classes.call(this),
        'v-autocomplete': true,
        'v-autocomplete--is-selecting-index': this.selectedIndex > -1
      };
    },
    computedItems() {
      return this.filteredItems;
    },
    selectedValues() {
      return this.selectedItems.map(item => this.getValue(item));
    },
    hasDisplayedItems() {
      return this.hideSelected ? this.filteredItems.some(item => !this.hasItem(item)) : this.filteredItems.length > 0;
    },
    currentRange() {
      if (this.selectedItem == null) return 0;
      return String(this.getText(this.selectedItem)).length;
    },
    filteredItems() {
      if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems;
      return this.allItems.filter(item => {
        const value = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* getPropertyFromItem */ "r"])(item, this.itemText);
        const text = value != null ? String(value) : '';
        return this.filter(item, String(this.internalSearch), text);
      });
    },
    internalSearch: {
      get() {
        return this.lazySearch;
      },
      set(val) {
        // emit update event only when the new
        // search value is different from previous
        if (this.lazySearch !== val) {
          this.lazySearch = val;
          this.$emit('update:search-input', val);
        }
      }
    },
    isAnyValueAllowed() {
      return false;
    },
    isDirty() {
      return this.searchIsDirty || this.selectedItems.length > 0;
    },
    isSearching() {
      return this.multiple && this.searchIsDirty || this.searchIsDirty && this.internalSearch !== this.getText(this.selectedItem);
    },
    menuCanShow() {
      if (!this.isFocused) return false;
      return this.hasDisplayedItems || !this.hideNoData;
    },
    $_menuProps() {
      const props = _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.computed.$_menuProps.call(this);
      props.contentClass = `v-autocomplete__content ${props.contentClass || ''}`.trim();
      return {
        ...defaultMenuProps,
        ...props
      };
    },
    searchIsDirty() {
      return this.internalSearch != null && this.internalSearch !== '';
    },
    selectedItem() {
      if (this.multiple) return null;
      return this.selectedItems.find(i => {
        return this.valueComparator(this.getValue(i), this.getValue(this.internalValue));
      });
    },
    listData() {
      const data = _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.computed.listData.call(this);
      data.props = {
        ...data.props,
        items: this.virtualizedItems,
        noFilter: this.noFilter || !this.isSearching || !this.filteredItems.length,
        searchInput: this.internalSearch
      };
      return data;
    }
  },
  watch: {
    filteredItems: 'onFilteredItemsChanged',
    internalValue: 'setSearch',
    isFocused(val) {
      if (val) {
        document.addEventListener('copy', this.onCopy);
        this.$refs.input && this.$refs.input.select();
      } else {
        document.removeEventListener('copy', this.onCopy);
        this.blur();
        this.updateSelf();
      }
    },
    isMenuActive(val) {
      if (val || !this.hasSlot) return;
      this.lazySearch = null;
    },
    items(val, oldVal) {
      // If we are focused, the menu
      // is not active, hide no data is enabled,
      // and items change
      // User is probably async loading
      // items, try to activate the menu
      if (!(oldVal && oldVal.length) && this.hideNoData && this.isFocused && !this.isMenuActive && val.length) this.activateMenu();
    },
    searchInput(val) {
      this.lazySearch = val;
    },
    internalSearch: 'onInternalSearchChanged',
    itemText: 'updateSelf'
  },
  created() {
    this.setSearch();
  },
  destroyed() {
    document.removeEventListener('copy', this.onCopy);
  },
  methods: {
    onFilteredItemsChanged(val, oldVal) {
      // TODO: How is the watcher triggered
      // for duplicate items? no idea
      if (val === oldVal) return;
      if (!this.autoSelectFirst) {
        const preSelectedItem = oldVal[this.$refs.menu.listIndex];
        if (preSelectedItem) {
          this.setMenuIndex(val.findIndex(i => i === preSelectedItem));
        } else {
          this.setMenuIndex(-1);
        }
        this.$emit('update:list-index', this.$refs.menu.listIndex);
      }
      this.$nextTick(() => {
        if (!this.internalSearch || val.length !== 1 && !this.autoSelectFirst) return;
        this.$refs.menu.getTiles();
        if (this.autoSelectFirst && val.length) {
          this.setMenuIndex(0);
          this.$emit('update:list-index', this.$refs.menu.listIndex);
        }
      });
    },
    onInternalSearchChanged() {
      this.updateMenuDimensions();
    },
    updateMenuDimensions() {
      // Type from menuable is not making it through
      this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions();
    },
    changeSelectedIndex(keyCode) {
      // Do not allow changing of selectedIndex
      // when search is dirty
      if (this.searchIsDirty) return;
      if (this.multiple && keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].left) {
        if (this.selectedIndex === -1) {
          this.selectedIndex = this.selectedItems.length - 1;
        } else {
          this.selectedIndex--;
        }
      } else if (this.multiple && keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].right) {
        if (this.selectedIndex >= this.selectedItems.length - 1) {
          this.selectedIndex = -1;
        } else {
          this.selectedIndex++;
        }
      } else if (keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].backspace || keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].delete) {
        this.deleteCurrentItem();
      }
    },
    deleteCurrentItem() {
      const curIndex = this.selectedIndex;
      const curItem = this.selectedItems[curIndex]; // Do nothing if input or item is disabled

      if (!this.isInteractive || this.getDisabled(curItem)) return;
      const lastIndex = this.selectedItems.length - 1; // Select the last item if
      // there is no selection

      if (this.selectedIndex === -1 && lastIndex !== 0) {
        this.selectedIndex = lastIndex;
        return;
      }
      const length = this.selectedItems.length;
      const nextIndex = curIndex !== length - 1 ? curIndex : curIndex - 1;
      const nextItem = this.selectedItems[nextIndex];
      if (!nextItem) {
        this.setValue(this.multiple ? [] : null);
      } else {
        this.selectItem(curItem);
      }
      this.selectedIndex = nextIndex;
    },
    clearableCallback() {
      this.internalSearch = null;
      _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.clearableCallback.call(this);
    },
    genInput() {
      const input = _VTextField_VTextField__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].options.methods.genInput.call(this);
      input.data = Object(_util_mergeData__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(input.data, {
        attrs: {
          'aria-activedescendant': Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* getObjectValueByPath */ "p"])(this.$refs.menu, 'activeTile.id'),
          autocomplete: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* getObjectValueByPath */ "p"])(input.data, 'attrs.autocomplete', 'off')
        },
        domProps: {
          value: this.internalSearch
        }
      });
      return input;
    },
    genInputSlot() {
      const slot = _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.genInputSlot.call(this);
      slot.data.attrs.role = 'combobox';
      return slot;
    },
    genSelections() {
      return this.hasSlot || this.multiple ? _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.genSelections.call(this) : [];
    },
    onClick(e) {
      if (!this.isInteractive) return;
      this.selectedIndex > -1 ? this.selectedIndex = -1 : this.onFocus();
      if (!this.isAppendInner(e.target)) this.activateMenu();
    },
    onInput(e) {
      if (this.selectedIndex > -1 || !e.target) return;
      const target = e.target;
      const value = target.value; // If typing and menu is not currently active

      if (target.value) this.activateMenu();
      if (!this.multiple && value === '') this.deleteCurrentItem();
      this.internalSearch = value;
      this.badInput = target.validity && target.validity.badInput;
    },
    onKeyDown(e) {
      const keyCode = e.keyCode;
      if (e.ctrlKey || ![_util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].home, _util_helpers__WEBPACK_IMPORTED_MODULE_4__[/* keyCodes */ "y"].end].includes(keyCode)) {
        _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.onKeyDown.call(this, e);
      } // The ordering is important here
      // allows new value to be updated
      // and then moves the index to the
      // proper location

      this.changeSelectedIndex(keyCode);
    },
    onSpaceDown(e) {},
    onTabDown(e) {
      _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.onTabDown.call(this, e);
      this.updateSelf();
    },
    onUpDown(e) {
      // Prevent screen from scrolling
      e.preventDefault(); // For autocomplete / combobox, cycling
      // interfers with native up/down behavior
      // instead activate the menu

      this.activateMenu();
    },
    selectItem(item) {
      _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.selectItem.call(this, item);
      this.setSearch();
    },
    setSelectedItems() {
      _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.setSelectedItems.call(this); // #4273 Don't replace if searching
      // #4403 Don't replace if focused

      if (!this.isFocused) this.setSearch();
    },
    setSearch() {
      // Wait for nextTick so selectedItem
      // has had time to update
      this.$nextTick(() => {
        if (!this.multiple || !this.internalSearch || !this.isMenuActive) {
          this.internalSearch = !this.selectedItems.length || this.multiple || this.hasSlot ? null : this.getText(this.selectedItem);
        }
      });
    },
    updateSelf() {
      if (!this.searchIsDirty && !this.internalValue) return;
      if (!this.multiple && !this.valueComparator(this.internalSearch, this.getValue(this.internalValue))) {
        this.setSearch();
      }
    },
    hasItem(item) {
      return this.selectedValues.indexOf(this.getValue(item)) > -1;
    },
    onCopy(event) {
      var _a, _b;
      if (this.selectedIndex === -1) return;
      const currentItem = this.selectedItems[this.selectedIndex];
      const currentItemText = this.getText(currentItem);
      (_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.setData('text/plain', currentItemText);
      (_b = event.clipboardData) === null || _b === void 0 ? void 0 : _b.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText);
      event.preventDefault();
    }
  }
}));

/***/ }),

/***/ 264:
/***/ (function(module, exports, __webpack_require__) {

const cache = __webpack_require__(187);
const providerCache = new cache.Cache();
const get = __webpack_require__(186);
const nominatim = {
  commonName: 'Nominatim',
  DEFAULT_ENDPOINT: 'https://nominatim.openstreetmap.org/search',
  endpoint: (req, res) => {
    return res.locals.settings.geocoding_provider || nominatim.DEFAULT_ENDPOINT;
  },
  cache: providerCache,
  getParams(req, res) {
    const countrycodes = res.locals.settings.geocoding_countrycodes || [];
    const details = req.params.place_details;
    return {
      countrycodes: countrycodes.join(','),
      q: details,
      limit: 3,
      format: 'json',
      addressdetails: 1,
      namedetails: 1
    };
  },
  /**
   * Icons to nominatim `osm_type` and `class` conversion
   */
  searchIcons_nominatim_osm_type: {
    way: 'mdiRoadVariant',
    house: 'mdiHome',
    node: 'mdiMapMarker',
    relation: 'mdiCityVariant'
  },
  searchIcons_nominatim_class: ['place', 'amenity', 'shop', 'tourism', 'leisure', 'building'],
  loadResultIcon(item) {
    if (this.searchIcons_nominatim_class.includes(item.class)) {
      return 'mdiHome';
    }
    return this.searchIcons_nominatim_osm_type[item.type];
  },
  /**
   * Map results from provider
   */
  filterNameFromAddress: ['place', 'amenity', 'shop', 'tourism', 'leisure', 'building'],
  mapQueryResults(ret, addressList = []) {
    if (ret && ret.length) {
      addressList = ret.map(v => {
        const name = get(v.namedetails, 'alt_name', get(v.namedetails, 'name'));
        const address = this.filterNameFromAddress.includes(v.class) ? v.display_name.replace(name, '').replace(/^, ?/, '') : v.display_name.replace(/^, ?/, '');
        return {
          class: v.class,
          type: v.osm_type,
          lat: v.lat,
          lon: v.lon,
          name,
          address
        };
      });
    }
    return addressList;
  }
};
module.exports = nominatim;

/***/ }),

/***/ 265:
/***/ (function(module, exports, __webpack_require__) {

const cache = __webpack_require__(187);
const providerCache = new cache.Cache();
const photon = {
  commonName: 'Photon',
  DEFAULT_ENDPOINT: 'https://photon.komoot.io/api/',
  endpoint: (req, res) => {
    return res.locals.settings.geocoding_provider || photon.DEFAULT_ENDPOINT;
  },
  cache: providerCache,
  getParams(req, res) {
    const details = req.params.place_details;
    return {
      q: details,
      limit: 3
    };
  },
  /**
   * Icons to nominatim `osm_type` and `class` conversion
   */
  searchIcons_nominatim_osm_type: {
    'W': 'mdiRoadVariant',
    'N': 'mdiMapMarker',
    'R': 'mdiCityVariant'
  },
  searchIcons_nominatim_class: ['amenity', 'shop', 'tourism', 'leisure', 'building'],
  loadResultIcon(item) {
    if (this.searchIcons_nominatim_class.includes(item.class)) {
      return 'mdiHome';
    }
    return this.searchIcons_nominatim_osm_type[item.type];
  },
  /**
   * Map results from provider
   */
  fullAddressMapping: ['housenumber', 'street', 'locality', 'district', 'city', 'county', 'state', 'postcode', 'country'],
  mapQueryResults(ret, addressList = []) {
    if (ret) {
      addressList = ret.features.map(v => {
        let pre_name = v.properties.name || v.properties.street || '';
        let pre_address = '';
        this.fullAddressMapping.forEach((item, i) => {
          let last = i == this.fullAddressMapping.length - 1;
          if (v.properties[item] && !last) {
            pre_address += v.properties[item] + ', ';
          } else if (v.properties[item]) {
            pre_address += v.properties[item];
          }
        });
        let name = pre_name;
        let address = pre_address;
        return {
          class: v.properties.osm_key,
          type: v.properties.osm_type,
          lat: v.geometry.coordinates[1],
          lon: v.geometry.coordinates[0],
          name,
          address
        };
      });
    }
    return addressList;
  }
};
module.exports = photon;

/***/ }),

/***/ 272:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _src_components_VBtnToggle_VBtnToggle_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(254);
/* harmony import */ var _src_components_VBtnToggle_VBtnToggle_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_components_VBtnToggle_VBtnToggle_sass__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mixins_button_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(245);
/* harmony import */ var _mixins_colorable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3);
// Styles
 // Mixins


 // Utilities


/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_mixins_button_group__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], _mixins_colorable__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]).extend({
  name: 'v-btn-toggle',
  props: {
    backgroundColor: String,
    borderless: Boolean,
    dense: Boolean,
    group: Boolean,
    rounded: Boolean,
    shaped: Boolean,
    tile: Boolean
  },
  computed: {
    classes() {
      return {
        ..._mixins_button_group__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.computed.classes.call(this),
        'v-btn-toggle': true,
        'v-btn-toggle--borderless': this.borderless,
        'v-btn-toggle--dense': this.dense,
        'v-btn-toggle--group': this.group,
        'v-btn-toggle--rounded': this.rounded,
        'v-btn-toggle--shaped': this.shaped,
        'v-btn-toggle--tile': this.tile,
        ...this.themeClasses
      };
    }
  },
  methods: {
    genData() {
      const data = this.setTextColor(this.color, {
        ..._mixins_button_group__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].options.methods.genData.call(this)
      });
      if (this.group) return data;
      return this.setBackgroundColor(this.backgroundColor, data);
    }
  }
}));

/***/ }),

/***/ 282:
/***/ (function(module, exports) {

// Iso conversions

var isoCountries = [{
  "code": "af",
  "name": "Afghanistan"
}, {
  "code": "ax",
  "name": "Aland Islands"
}, {
  "code": "al",
  "name": "Albania"
}, {
  "code": "dz",
  "name": "Algeria"
}, {
  "code": "as",
  "name": "American Samoa"
}, {
  "code": "ad",
  "name": "Andorra"
}, {
  "code": "ao",
  "name": "Angola"
}, {
  "code": "ai",
  "name": "Anguilla"
}, {
  "code": "aq",
  "name": "Antarctica"
}, {
  "code": "ag",
  "name": "Antigua And Barbuda"
}, {
  "code": "ar",
  "name": "Argentina"
}, {
  "code": "am",
  "name": "Armenia"
}, {
  "code": "aw",
  "name": "Aruba"
}, {
  "code": "au",
  "name": "Australia"
}, {
  "code": "at",
  "name": "Austria"
}, {
  "code": "az",
  "name": "Azerbaijan"
}, {
  "code": "bs",
  "name": "Bahamas"
}, {
  "code": "bh",
  "name": "Bahrain"
}, {
  "code": "bd",
  "name": "Bangladesh"
}, {
  "code": "bb",
  "name": "Barbados"
}, {
  "code": "by",
  "name": "Belarus"
}, {
  "code": "be",
  "name": "Belgium"
}, {
  "code": "bz",
  "name": "Belize"
}, {
  "code": "bj",
  "name": "Benin"
}, {
  "code": "bm",
  "name": "Bermuda"
}, {
  "code": "bt",
  "name": "Bhutan"
}, {
  "code": "bo",
  "name": "Bolivia"
}, {
  "code": "ba",
  "name": "Bosnia And Herzegovina"
}, {
  "code": "bw",
  "name": "Botswana"
}, {
  "code": "bv",
  "name": "Bouvet Island"
}, {
  "code": "br",
  "name": "Brazil"
}, {
  "code": "io",
  "name": "British Indian Ocean Territory"
}, {
  "code": "bn",
  "name": "Brunei Darussalam"
}, {
  "code": "bg",
  "name": "Bulgaria"
}, {
  "code": "bf",
  "name": "Burkina Faso"
}, {
  "code": "bi",
  "name": "Burundi"
}, {
  "code": "kh",
  "name": "Cambodia"
}, {
  "code": "cm",
  "name": "Cameroon"
}, {
  "code": "ca",
  "name": "Canada"
}, {
  "code": "cv",
  "name": "Cape Verde"
}, {
  "code": "ky",
  "name": "Cayman Islands"
}, {
  "code": "cf",
  "name": "Central African Republic"
}, {
  "code": "td",
  "name": "Chad"
}, {
  "code": "cl",
  "name": "Chile"
}, {
  "code": "cn",
  "name": "China"
}, {
  "code": "cx",
  "name": "Christmas Island"
}, {
  "code": "cc",
  "name": "Cocos (Keeling) Islands"
}, {
  "code": "co",
  "name": "Colombia"
}, {
  "code": "km",
  "name": "Comoros"
}, {
  "code": "cg",
  "name": "Congo"
}, {
  "code": "cd",
  "name": "Congo, Democratic Republic"
}, {
  "code": "ck",
  "name": "Cook Islands"
}, {
  "code": "cr",
  "name": "Costa Rica"
}, {
  "code": "ci",
  "name": "Cote D'Ivoire"
}, {
  "code": "hr",
  "name": "Croatia"
}, {
  "code": "cu",
  "name": "Cuba"
}, {
  "code": "cy",
  "name": "Cyprus"
}, {
  "code": "cz",
  "name": "Czech Republic"
}, {
  "code": "dk",
  "name": "Denmark"
}, {
  "code": "dj",
  "name": "Djibouti"
}, {
  "code": "dm",
  "name": "Dominica"
}, {
  "code": "do",
  "name": "Dominican Republic"
}, {
  "code": "ec",
  "name": "Ecuador"
}, {
  "code": "eg",
  "name": "Egypt"
}, {
  "code": "sv",
  "name": "El Salvador"
}, {
  "code": "gq",
  "name": "Equatorial Guinea"
}, {
  "code": "er",
  "name": "Eritrea"
}, {
  "code": "ee",
  "name": "Estonia"
}, {
  "code": "et",
  "name": "Ethiopia"
}, {
  "code": "fk",
  "name": "Falkland Islands (Malvinas)"
}, {
  "code": "fo",
  "name": "Faroe Islands"
}, {
  "code": "fj",
  "name": "Fiji"
}, {
  "code": "fi",
  "name": "Finland"
}, {
  "code": "fr",
  "name": "France"
}, {
  "code": "gf",
  "name": "French Guiana"
}, {
  "code": "pf",
  "name": "French Polynesia"
}, {
  "code": "tf",
  "name": "French Southern Territories"
}, {
  "code": "ga",
  "name": "Gabon"
}, {
  "code": "gm",
  "name": "Gambia"
}, {
  "code": "ge",
  "name": "Georgia"
}, {
  "code": "de",
  "name": "Germany"
}, {
  "code": "gh",
  "name": "Ghana"
}, {
  "code": "gi",
  "name": "Gibraltar"
}, {
  "code": "gr",
  "name": "Greece"
}, {
  "code": "gl",
  "name": "Greenland"
}, {
  "code": "gd",
  "name": "Grenada"
}, {
  "code": "gp",
  "name": "Guadeloupe"
}, {
  "code": "gu",
  "name": "Guam"
}, {
  "code": "gt",
  "name": "Guatemala"
}, {
  "code": "gg",
  "name": "Guernsey"
}, {
  "code": "gn",
  "name": "Guinea"
}, {
  "code": "gw",
  "name": "Guinea-Bissau"
}, {
  "code": "gy",
  "name": "Guyana"
}, {
  "code": "ht",
  "name": "Haiti"
}, {
  "code": "hm",
  "name": "Heard Island & Mcdonald Islands"
}, {
  "code": "va",
  "name": "Holy See (Vatican City State)"
}, {
  "code": "hn",
  "name": "Honduras"
}, {
  "code": "hk",
  "name": "Hong Kong"
}, {
  "code": "hu",
  "name": "Hungary"
}, {
  "code": "is",
  "name": "Iceland"
}, {
  "code": "in",
  "name": "India"
}, {
  "code": "id",
  "name": "Indonesia"
}, {
  "code": "ir",
  "name": "Iran, Islamic Republic Of"
}, {
  "code": "iq",
  "name": "Iraq"
}, {
  "code": "ie",
  "name": "Ireland"
}, {
  "code": "im",
  "name": "Isle Of Man"
}, {
  "code": "il",
  "name": "Israel"
}, {
  "code": "it",
  "name": "Italy"
}, {
  "code": "jm",
  "name": "Jamaica"
}, {
  "code": "jp",
  "name": "Japan"
}, {
  "code": "je",
  "name": "Jersey"
}, {
  "code": "jo",
  "name": "Jordan"
}, {
  "code": "kz",
  "name": "Kazakhstan"
}, {
  "code": "ke",
  "name": "Kenya"
}, {
  "code": "ki",
  "name": "Kiribati"
}, {
  "code": "kr",
  "name": "Korea"
}, {
  "code": "kw",
  "name": "Kuwait"
}, {
  "code": "kg",
  "name": "Kyrgyzstan"
}, {
  "code": "la",
  "name": "Lao People's Democratic Republic"
}, {
  "code": "lv",
  "name": "Latvia"
}, {
  "code": "lb",
  "name": "Lebanon"
}, {
  "code": "ls",
  "name": "Lesotho"
}, {
  "code": "lr",
  "name": "Liberia"
}, {
  "code": "ly",
  "name": "Libyan Arab Jamahiriya"
}, {
  "code": "li",
  "name": "Liechtenstein"
}, {
  "code": "lt",
  "name": "Lithuania"
}, {
  "code": "lu",
  "name": "Luxembourg"
}, {
  "code": "mo",
  "name": "Macao"
}, {
  "code": "mk",
  "name": "Macedonia"
}, {
  "code": "mg",
  "name": "Madagascar"
}, {
  "code": "mw",
  "name": "Malawi"
}, {
  "code": "my",
  "name": "Malaysia"
}, {
  "code": "mv",
  "name": "Maldives"
}, {
  "code": "ml",
  "name": "Mali"
}, {
  "code": "mt",
  "name": "Malta"
}, {
  "code": "mh",
  "name": "Marshall Islands"
}, {
  "code": "mq",
  "name": "Martinique"
}, {
  "code": "mr",
  "name": "Mauritania"
}, {
  "code": "mu",
  "name": "Mauritius"
}, {
  "code": "yt",
  "name": "Mayotte"
}, {
  "code": "mx",
  "name": "Mexico"
}, {
  "code": "fm",
  "name": "Micronesia, Federated States Of"
}, {
  "code": "md",
  "name": "Moldova"
}, {
  "code": "mc",
  "name": "Monaco"
}, {
  "code": "mn",
  "name": "Mongolia"
}, {
  "code": "me",
  "name": "Montenegro"
}, {
  "code": "ms",
  "name": "Montserrat"
}, {
  "code": "ma",
  "name": "Morocco"
}, {
  "code": "mz",
  "name": "Mozambique"
}, {
  "code": "mm",
  "name": "Myanmar"
}, {
  "code": "na",
  "name": "Namibia"
}, {
  "code": "nr",
  "name": "Nauru"
}, {
  "code": "np",
  "name": "Nepal"
}, {
  "code": "nl",
  "name": "Netherlands"
}, {
  "code": "an",
  "name": "Netherlands Antilles"
}, {
  "code": "nc",
  "name": "New Caledonia"
}, {
  "code": "nz",
  "name": "New Zealand"
}, {
  "code": "ni",
  "name": "Nicaragua"
}, {
  "code": "ne",
  "name": "Niger"
}, {
  "code": "ng",
  "name": "Nigeria"
}, {
  "code": "nu",
  "name": "Niue"
}, {
  "code": "nf",
  "name": "Norfolk Island"
}, {
  "code": "mp",
  "name": "Northern Mariana Islands"
}, {
  "code": "no",
  "name": "Norway"
}, {
  "code": "om",
  "name": "Oman"
}, {
  "code": "pk",
  "name": "Pakistan"
}, {
  "code": "pw",
  "name": "Palau"
}, {
  "code": "ps",
  "name": "Palestinian Territory, Occupied"
}, {
  "code": "pa",
  "name": "Panama"
}, {
  "code": "pg",
  "name": "Papua New Guinea"
}, {
  "code": "py",
  "name": "Paraguay"
}, {
  "code": "pe",
  "name": "Peru"
}, {
  "code": "ph",
  "name": "Philippines"
}, {
  "code": "pn",
  "name": "Pitcairn"
}, {
  "code": "pl",
  "name": "Poland"
}, {
  "code": "pt",
  "name": "Portugal"
}, {
  "code": "pr",
  "name": "Puerto Rico"
}, {
  "code": "qa",
  "name": "Qatar"
}, {
  "code": "re",
  "name": "Reunion"
}, {
  "code": "ro",
  "name": "Romania"
}, {
  "code": "ru",
  "name": "Russian Federation"
}, {
  "code": "rw",
  "name": "Rwanda"
}, {
  "code": "bl",
  "name": "Saint Barthelemy"
}, {
  "code": "sh",
  "name": "Saint Helena"
}, {
  "code": "kn",
  "name": "Saint Kitts And Nevis"
}, {
  "code": "lc",
  "name": "Saint Lucia"
}, {
  "code": "mf",
  "name": "Saint Martin"
}, {
  "code": "pm",
  "name": "Saint Pierre And Miquelon"
}, {
  "code": "vc",
  "name": "Saint Vincent And Grenadines"
}, {
  "code": "ws",
  "name": "Samoa"
}, {
  "code": "sm",
  "name": "San Marino"
}, {
  "code": "st",
  "name": "Sao Tome And Principe"
}, {
  "code": "sa",
  "name": "Saudi Arabia"
}, {
  "code": "sn",
  "name": "Senegal"
}, {
  "code": "rs",
  "name": "Serbia"
}, {
  "code": "sc",
  "name": "Seychelles"
}, {
  "code": "sl",
  "name": "Sierra Leone"
}, {
  "code": "sg",
  "name": "Singapore"
}, {
  "code": "sk",
  "name": "Slovakia"
}, {
  "code": "si",
  "name": "Slovenia"
}, {
  "code": "sb",
  "name": "Solomon Islands"
}, {
  "code": "so",
  "name": "Somalia"
}, {
  "code": "za",
  "name": "South Africa"
}, {
  "code": "gs",
  "name": "South Georgia And Sandwich Isl."
}, {
  "code": "es",
  "name": "Spain"
}, {
  "code": "lk",
  "name": "Sri Lanka"
}, {
  "code": "sd",
  "name": "Sudan"
}, {
  "code": "sr",
  "name": "Suriname"
}, {
  "code": "sj",
  "name": "Svalbard And Jan Mayen"
}, {
  "code": "sz",
  "name": "Swaziland"
}, {
  "code": "se",
  "name": "Sweden"
}, {
  "code": "ch",
  "name": "Switzerland"
}, {
  "code": "sy",
  "name": "Syrian Arab Republic"
}, {
  "code": "tw",
  "name": "Taiwan"
}, {
  "code": "tj",
  "name": "Tajikistan"
}, {
  "code": "tz",
  "name": "Tanzania"
}, {
  "code": "th",
  "name": "Thailand"
}, {
  "code": "tl",
  "name": "Timor-Leste"
}, {
  "code": "tg",
  "name": "Togo"
}, {
  "code": "tk",
  "name": "Tokelau"
}, {
  "code": "to",
  "name": "Tonga"
}, {
  "code": "tt",
  "name": "Trinidad And Tobago"
}, {
  "code": "tn",
  "name": "Tunisia"
}, {
  "code": "tr",
  "name": "Turkey"
}, {
  "code": "tm",
  "name": "Turkmenistan"
}, {
  "code": "tc",
  "name": "Turks And Caicos Islands"
}, {
  "code": "tv",
  "name": "Tuvalu"
}, {
  "code": "ug",
  "name": "Uganda"
}, {
  "code": "ua",
  "name": "Ukraine"
}, {
  "code": "ae",
  "name": "United Arab Emirates"
}, {
  "code": "gb",
  "name": "United Kingdom"
}, {
  "code": "us",
  "name": "United States"
}, {
  "code": "um",
  "name": "United States Outlying Islands"
}, {
  "code": "uy",
  "name": "Uruguay"
}, {
  "code": "uz",
  "name": "Uzbekistan"
}, {
  "code": "vu",
  "name": "Vanuatu"
}, {
  "code": "ve",
  "name": "Venezuela"
}, {
  "code": "vn",
  "name": "Viet Nam"
}, {
  "code": "vg",
  "name": "Virgin Islands, British"
}, {
  "code": "vi",
  "name": "Virgin Islands, U.S."
}, {
  "code": "wf",
  "name": "Wallis And Futuna"
}, {
  "code": "eh",
  "name": "Western Sahara"
}, {
  "code": "ye",
  "name": "Yemen"
}, {
  "code": "zm",
  "name": "Zambia"
}, {
  "code": "zw",
  "name": "Zimbabwe"
}];
module.exports = {
  isoCountries
};

/***/ }),

/***/ 283:
/***/ (function(module) {

module.exports = JSON.parse("[\"Africa/Abidjan\",\"Africa/Accra\",\"Africa/Addis_Ababa\",\"Africa/Algiers\",\"Africa/Asmara\",\"Africa/Asmera\",\"Africa/Bamako\",\"Africa/Bangui\",\"Africa/Banjul\",\"Africa/Bissau\",\"Africa/Blantyre\",\"Africa/Brazzaville\",\"Africa/Bujumbura\",\"Africa/Cairo\",\"Africa/Casablanca\",\"Africa/Ceuta\",\"Africa/Conakry\",\"Africa/Dakar\",\"Africa/Dar_es_Salaam\",\"Africa/Djibouti\",\"Africa/Douala\",\"Africa/El_Aaiun\",\"Africa/Freetown\",\"Africa/Gaborone\",\"Africa/Harare\",\"Africa/Johannesburg\",\"Africa/Juba\",\"Africa/Kampala\",\"Africa/Khartoum\",\"Africa/Kigali\",\"Africa/Kinshasa\",\"Africa/Lagos\",\"Africa/Libreville\",\"Africa/Lome\",\"Africa/Luanda\",\"Africa/Lubumbashi\",\"Africa/Lusaka\",\"Africa/Malabo\",\"Africa/Maputo\",\"Africa/Maseru\",\"Africa/Mbabane\",\"Africa/Mogadishu\",\"Africa/Monrovia\",\"Africa/Nairobi\",\"Africa/Ndjamena\",\"Africa/Niamey\",\"Africa/Nouakchott\",\"Africa/Ouagadougou\",\"Africa/Porto-Novo\",\"Africa/Sao_Tome\",\"Africa/Timbuktu\",\"Africa/Tripoli\",\"Africa/Tunis\",\"Africa/Windhoek\",\"America/Adak\",\"America/Anchorage\",\"America/Anguilla\",\"America/Antigua\",\"America/Araguaina\",\"America/Argentina/Buenos_Aires\",\"America/Argentina/Catamarca\",\"America/Argentina/ComodRivadavia\",\"America/Argentina/Cordoba\",\"America/Argentina/Jujuy\",\"America/Argentina/La_Rioja\",\"America/Argentina/Mendoza\",\"America/Argentina/Rio_Gallegos\",\"America/Argentina/Salta\",\"America/Argentina/San_Juan\",\"America/Argentina/San_Luis\",\"America/Argentina/Tucuman\",\"America/Argentina/Ushuaia\",\"America/Aruba\",\"America/Asuncion\",\"America/Atikokan\",\"America/Atka\",\"America/Bahia\",\"America/Bahia_Banderas\",\"America/Barbados\",\"America/Belem\",\"America/Belize\",\"America/Blanc-Sablon\",\"America/Boa_Vista\",\"America/Bogota\",\"America/Boise\",\"America/Buenos_Aires\",\"America/Cambridge_Bay\",\"America/Campo_Grande\",\"America/Cancun\",\"America/Caracas\",\"America/Catamarca\",\"America/Cayenne\",\"America/Cayman\",\"America/Chicago\",\"America/Chihuahua\",\"America/Coral_Harbour\",\"America/Cordoba\",\"America/Costa_Rica\",\"America/Creston\",\"America/Cuiaba\",\"America/Curacao\",\"America/Danmarkshavn\",\"America/Dawson\",\"America/Dawson_Creek\",\"America/Denver\",\"America/Detroit\",\"America/Dominica\",\"America/Edmonton\",\"America/Eirunepe\",\"America/El_Salvador\",\"America/Ensenada\",\"America/Fort_Nelson\",\"America/Fort_Wayne\",\"America/Fortaleza\",\"America/Glace_Bay\",\"America/Godthab\",\"America/Goose_Bay\",\"America/Grand_Turk\",\"America/Grenada\",\"America/Guadeloupe\",\"America/Guatemala\",\"America/Guayaquil\",\"America/Guyana\",\"America/Halifax\",\"America/Havana\",\"America/Hermosillo\",\"America/Indiana/Indianapolis\",\"America/Indiana/Knox\",\"America/Indiana/Marengo\",\"America/Indiana/Petersburg\",\"America/Indiana/Tell_City\",\"America/Indiana/Vevay\",\"America/Indiana/Vincennes\",\"America/Indiana/Winamac\",\"America/Indianapolis\",\"America/Inuvik\",\"America/Iqaluit\",\"America/Jamaica\",\"America/Jujuy\",\"America/Juneau\",\"America/Kentucky/Louisville\",\"America/Kentucky/Monticello\",\"America/Knox_IN\",\"America/Kralendijk\",\"America/La_Paz\",\"America/Lima\",\"America/Los_Angeles\",\"America/Louisville\",\"America/Lower_Princes\",\"America/Maceio\",\"America/Managua\",\"America/Manaus\",\"America/Marigot\",\"America/Martinique\",\"America/Matamoros\",\"America/Mazatlan\",\"America/Mendoza\",\"America/Menominee\",\"America/Merida\",\"America/Metlakatla\",\"America/Mexico_City\",\"America/Miquelon\",\"America/Moncton\",\"America/Monterrey\",\"America/Montevideo\",\"America/Montreal\",\"America/Montserrat\",\"America/Nassau\",\"America/New_York\",\"America/Nipigon\",\"America/Nome\",\"America/Noronha\",\"America/North_Dakota/Beulah\",\"America/North_Dakota/Center\",\"America/North_Dakota/New_Salem\",\"America/Nuuk\",\"America/Ojinaga\",\"America/Panama\",\"America/Pangnirtung\",\"America/Paramaribo\",\"America/Phoenix\",\"America/Port-au-Prince\",\"America/Port_of_Spain\",\"America/Porto_Acre\",\"America/Porto_Velho\",\"America/Puerto_Rico\",\"America/Punta_Arenas\",\"America/Rainy_River\",\"America/Rankin_Inlet\",\"America/Recife\",\"America/Regina\",\"America/Resolute\",\"America/Rio_Branco\",\"America/Rosario\",\"America/Santa_Isabel\",\"America/Santarem\",\"America/Santiago\",\"America/Santo_Domingo\",\"America/Sao_Paulo\",\"America/Scoresbysund\",\"America/Shiprock\",\"America/Sitka\",\"America/St_Barthelemy\",\"America/St_Johns\",\"America/St_Kitts\",\"America/St_Lucia\",\"America/St_Thomas\",\"America/St_Vincent\",\"America/Swift_Current\",\"America/Tegucigalpa\",\"America/Thule\",\"America/Thunder_Bay\",\"America/Tijuana\",\"America/Toronto\",\"America/Tortola\",\"America/Vancouver\",\"America/Virgin\",\"America/Whitehorse\",\"America/Winnipeg\",\"America/Yakutat\",\"America/Yellowknife\",\"Antarctica/Casey\",\"Antarctica/Davis\",\"Antarctica/DumontDUrville\",\"Antarctica/Macquarie\",\"Antarctica/Mawson\",\"Antarctica/McMurdo\",\"Antarctica/Palmer\",\"Antarctica/Rothera\",\"Antarctica/South_Pole\",\"Antarctica/Syowa\",\"Antarctica/Troll\",\"Antarctica/Vostok\",\"Arctic/Longyearbyen\",\"Asia/Aden\",\"Asia/Almaty\",\"Asia/Amman\",\"Asia/Anadyr\",\"Asia/Aqtau\",\"Asia/Aqtobe\",\"Asia/Ashgabat\",\"Asia/Ashkhabad\",\"Asia/Atyrau\",\"Asia/Baghdad\",\"Asia/Bahrain\",\"Asia/Baku\",\"Asia/Bangkok\",\"Asia/Barnaul\",\"Asia/Beirut\",\"Asia/Bishkek\",\"Asia/Brunei\",\"Asia/Calcutta\",\"Asia/Chita\",\"Asia/Choibalsan\",\"Asia/Chongqing\",\"Asia/Chungking\",\"Asia/Colombo\",\"Asia/Dacca\",\"Asia/Damascus\",\"Asia/Dhaka\",\"Asia/Dili\",\"Asia/Dubai\",\"Asia/Dushanbe\",\"Asia/Famagusta\",\"Asia/Gaza\",\"Asia/Harbin\",\"Asia/Hebron\",\"Asia/Ho_Chi_Minh\",\"Asia/Hong_Kong\",\"Asia/Hovd\",\"Asia/Irkutsk\",\"Asia/Istanbul\",\"Asia/Jakarta\",\"Asia/Jayapura\",\"Asia/Jerusalem\",\"Asia/Kabul\",\"Asia/Kamchatka\",\"Asia/Karachi\",\"Asia/Kashgar\",\"Asia/Kathmandu\",\"Asia/Katmandu\",\"Asia/Khandyga\",\"Asia/Kolkata\",\"Asia/Krasnoyarsk\",\"Asia/Kuala_Lumpur\",\"Asia/Kuching\",\"Asia/Kuwait\",\"Asia/Macao\",\"Asia/Macau\",\"Asia/Magadan\",\"Asia/Makassar\",\"Asia/Manila\",\"Asia/Muscat\",\"Asia/Nicosia\",\"Asia/Novokuznetsk\",\"Asia/Novosibirsk\",\"Asia/Omsk\",\"Asia/Oral\",\"Asia/Phnom_Penh\",\"Asia/Pontianak\",\"Asia/Pyongyang\",\"Asia/Qatar\",\"Asia/Qostanay\",\"Asia/Qyzylorda\",\"Asia/Rangoon\",\"Asia/Riyadh\",\"Asia/Saigon\",\"Asia/Sakhalin\",\"Asia/Samarkand\",\"Asia/Seoul\",\"Asia/Shanghai\",\"Asia/Singapore\",\"Asia/Srednekolymsk\",\"Asia/Taipei\",\"Asia/Tashkent\",\"Asia/Tbilisi\",\"Asia/Tehran\",\"Asia/Tel_Aviv\",\"Asia/Thimbu\",\"Asia/Thimphu\",\"Asia/Tokyo\",\"Asia/Tomsk\",\"Asia/Ujung_Pandang\",\"Asia/Ulaanbaatar\",\"Asia/Ulan_Bator\",\"Asia/Urumqi\",\"Asia/Ust-Nera\",\"Asia/Vientiane\",\"Asia/Vladivostok\",\"Asia/Yakutsk\",\"Asia/Yangon\",\"Asia/Yekaterinburg\",\"Asia/Yerevan\",\"Atlantic/Azores\",\"Atlantic/Bermuda\",\"Atlantic/Canary\",\"Atlantic/Cape_Verde\",\"Atlantic/Faeroe\",\"Atlantic/Faroe\",\"Atlantic/Jan_Mayen\",\"Atlantic/Madeira\",\"Atlantic/Reykjavik\",\"Atlantic/South_Georgia\",\"Atlantic/St_Helena\",\"Atlantic/Stanley\",\"Australia/ACT\",\"Australia/Adelaide\",\"Australia/Brisbane\",\"Australia/Broken_Hill\",\"Australia/Canberra\",\"Australia/Currie\",\"Australia/Darwin\",\"Australia/Eucla\",\"Australia/Hobart\",\"Australia/LHI\",\"Australia/Lindeman\",\"Australia/Lord_Howe\",\"Australia/Melbourne\",\"Australia/NSW\",\"Australia/North\",\"Australia/Perth\",\"Australia/Queensland\",\"Australia/South\",\"Australia/Sydney\",\"Australia/Tasmania\",\"Australia/Victoria\",\"Australia/West\",\"Australia/Yancowinna\",\"Brazil/Acre\",\"Brazil/DeNoronha\",\"Brazil/East\",\"Brazil/West\",\"CET\",\"Canada/Atlantic\",\"Canada/Central\",\"Canada/Eastern\",\"Canada/Mountain\",\"Canada/Newfoundland\",\"Canada/Pacific\",\"Canada/Saskatchewan\",\"Canada/Yukon\",\"Chile/Continental\",\"Chile/EasterIsland\",\"Cuba\",\"Europe/Amsterdam\",\"Europe/Andorra\",\"Europe/Astrakhan\",\"Europe/Athens\",\"Europe/Belfast\",\"Europe/Belgrade\",\"Europe/Berlin\",\"Europe/Bratislava\",\"Europe/Brussels\",\"Europe/Bucharest\",\"Europe/Budapest\",\"Europe/Busingen\",\"Europe/Chisinau\",\"Europe/Copenhagen\",\"Europe/Dublin\",\"Europe/Gibraltar\",\"Europe/Guernsey\",\"Europe/Helsinki\",\"Europe/Isle_of_Man\",\"Europe/Istanbul\",\"Europe/Jersey\",\"Europe/Kaliningrad\",\"Europe/Kiev\",\"Europe/Kirov\",\"Europe/Lisbon\",\"Europe/Ljubljana\",\"Europe/London\",\"Europe/Luxembourg\",\"Europe/Madrid\",\"Europe/Malta\",\"Europe/Mariehamn\",\"Europe/Minsk\",\"Europe/Monaco\",\"Europe/Moscow\",\"Europe/Nicosia\",\"Europe/Oslo\",\"Europe/Paris\",\"Europe/Podgorica\",\"Europe/Prague\",\"Europe/Riga\",\"Europe/Rome\",\"Europe/Samara\",\"Europe/San_Marino\",\"Europe/Sarajevo\",\"Europe/Saratov\",\"Europe/Simferopol\",\"Europe/Skopje\",\"Europe/Sofia\",\"Europe/Stockholm\",\"Europe/Tallinn\",\"Europe/Tirane\",\"Europe/Tiraspol\",\"Europe/Ulyanovsk\",\"Europe/Uzhgorod\",\"Europe/Vaduz\",\"Europe/Vatican\",\"Europe/Vienna\",\"Europe/Vilnius\",\"Europe/Volgograd\",\"Europe/Warsaw\",\"Europe/Zagreb\",\"Europe/Zaporozhye\",\"Europe/Zurich\",\"GB\",\"GB-Eire\",\"Greenwich\",\"HST\",\"Hongkong\",\"Iceland\",\"Indian/Antananarivo\",\"Indian/Chagos\",\"Indian/Christmas\",\"Indian/Cocos\",\"Indian/Comoro\",\"Indian/Kerguelen\",\"Indian/Mahe\",\"Indian/Maldives\",\"Indian/Mauritius\",\"Indian/Mayotte\",\"Indian/Reunion\",\"Iran\",\"Israel\",\"Jamaica\",\"Japan\",\"Kwajalein\",\"Libya\",\"Mexico/BajaNorte\",\"Mexico/BajaSur\",\"Mexico/General\",\"Navajo\",\"PRC\",\"Pacific/Apia\",\"Pacific/Auckland\",\"Pacific/Bougainville\",\"Pacific/Chatham\",\"Pacific/Chuuk\",\"Pacific/Easter\",\"Pacific/Efate\",\"Pacific/Enderbury\",\"Pacific/Fakaofo\",\"Pacific/Fiji\",\"Pacific/Funafuti\",\"Pacific/Galapagos\",\"Pacific/Gambier\",\"Pacific/Guadalcanal\",\"Pacific/Guam\",\"Pacific/Honolulu\",\"Pacific/Johnston\",\"Pacific/Kiritimati\",\"Pacific/Kosrae\",\"Pacific/Kwajalein\",\"Pacific/Majuro\",\"Pacific/Marquesas\",\"Pacific/Midway\",\"Pacific/Nauru\",\"Pacific/Niue\",\"Pacific/Norfolk\",\"Pacific/Noumea\",\"Pacific/Pago_Pago\",\"Pacific/Palau\",\"Pacific/Pitcairn\",\"Pacific/Pohnpei\",\"Pacific/Ponape\",\"Pacific/Port_Moresby\",\"Pacific/Rarotonga\",\"Pacific/Saipan\",\"Pacific/Samoa\",\"Pacific/Tahiti\",\"Pacific/Tarawa\",\"Pacific/Tongatapu\",\"Pacific/Truk\",\"Pacific/Wake\",\"Pacific/Wallis\",\"Pacific/Yap\",\"Poland\",\"Portugal\",\"Singapore\",\"Turkey\",\"UCT\",\"US/Alaska\",\"US/Aleutian\",\"US/Arizona\",\"US/Central\",\"US/East-Indiana\",\"US/Eastern\",\"US/Hawaii\",\"US/Indiana-Starke\",\"US/Michigan\",\"US/Mountain\",\"US/Pacific\",\"US/Samoa\",\"UTC\",\"Universal\",\"Zulu\"]");

/***/ }),

/***/ 284:
/***/ (function(module, exports) {

module.exports = {
  be: 'Belarus, Беларуская',
  ca: 'Català',
  cs: 'Czech',
  de: 'Deutsch',
  en: 'English',
  es: 'Español',
  eu: 'Euskara',
  fi: 'Finnish, Suomen',
  fr: 'Francais',
  gl: 'Galego',
  hr: 'Croatian, Hrvatski',
  it: 'Italiano',
  nb: 'Norwegian Bokmål',
  nl: 'Dutch',
  pl: 'Polski',
  pt: 'Português',
  'pt-BR': 'Português (Brasil)',
  ro: 'Românesc',
  ru: 'Russian, Русский',
  sk: 'Slovak',
  sq: 'Albanian, Shqiptare',
  'sr-Latn': 'Serbian, Srpski',
  'sr-Cyrl': 'Serbian, Српска ћирилица',
  sv: 'Swedish, Svenska',
  ta: 'Tamil, தமிழ்',
  tr: 'Turkish, Türkçe',
  zh: 'Chinese, 中国'
};

/***/ }),

/***/ 287:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VAutocomplete/VAutocomplete.js
var VAutocomplete = __webpack_require__(262);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js
var VBtn = __webpack_require__(87);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/VCard.js
var VCard = __webpack_require__(88);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var components_VCard = __webpack_require__(14);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VCol.js
var VCol = __webpack_require__(226);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VForm/VForm.js
var VForm = __webpack_require__(253);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VRow.js
var VRow = __webpack_require__(225);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
var VSpacer = __webpack_require__(223);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 3 modules
var VTextField = __webpack_require__(47);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/Geolocation.vue?vue&type=template&id=b99c2088&lang=pug












var Geolocationvue_type_template_id_b99c2088_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VCard["a" /* default */], [_c(components_VCard["d" /* VCardTitle */], [_vm._v(_vm._s(_vm.$t('admin.geolocation')))]), _c(components_VCard["c" /* VCardText */], [_c('p', {
    staticClass: "mb-6",
    domProps: {
      "innerHTML": _vm._s(_vm.$t('admin.geolocation_description'))
    }
  }), _c(VForm["a" /* default */], [_c(VRow["a" /* default */], [_c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "3"
    }
  }, [_c(VAutocomplete["a" /* default */], {
    staticClass: "mb-4",
    attrs: {
      "label": _vm.$t('admin.geocoding_provider_type'),
      "hint": _vm.$t('admin.geocoding_provider_type_help'),
      "persistent-hint": "",
      "items": _vm.geocoding_provider_type_items,
      "placeholder": _vm.geocoding_provider_type_default
    },
    on: {
      "blur": function ($event) {
        return _vm.save('geocoding_provider_type', _vm.geocoding_provider_type);
      }
    },
    model: {
      value: _vm.geocoding_provider_type,
      callback: function ($$v) {
        _vm.geocoding_provider_type = $$v;
      },
      expression: "geocoding_provider_type"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "5"
    }
  }, [_c(VTextField["a" /* default */], {
    staticClass: "mb-4",
    attrs: {
      "label": _vm.$t('admin.geocoding_provider'),
      "hint": _vm.$t('admin.geocoding_provider_help'),
      "persistent-hint": "",
      "placeholder": _vm.geocoding_provider_default
    },
    on: {
      "blur": function ($event) {
        return _vm.save('geocoding_provider', _vm.geocoding_provider);
      }
    },
    model: {
      value: _vm.geocoding_provider,
      callback: function ($$v) {
        _vm.geocoding_provider = $$v;
      },
      expression: "geocoding_provider"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "4"
    }
  }, [_c(VAutocomplete["a" /* default */], {
    staticClass: "mb-6",
    attrs: {
      "disabled": !(_vm.geocoding_provider_type === null || _vm.geocoding_provider_type === 'Nominatim'),
      "append-icon": _vm.mdiChevronDown,
      "label": _vm.$t('admin.geocoding_countrycodes'),
      "items": _vm.countries,
      "multiple": "",
      "chips": "",
      "small-chips": "",
      "persistent-hint": "",
      "item-value": "code",
      "item-text": "name",
      "hint": _vm.$t('admin.geocoding_countrycodes_help')
    },
    on: {
      "blur": function ($event) {
        return _vm.save('geocoding_countrycodes', _vm.geocoding_countrycodes);
      }
    },
    model: {
      value: _vm.geocoding_countrycodes,
      callback: function ($$v) {
        _vm.geocoding_countrycodes = $$v;
      },
      expression: "geocoding_countrycodes"
    }
  })], 1)], 1), _c(VRow["a" /* default */], [_c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "6"
    }
  }, [_c(VTextField["a" /* default */], {
    staticClass: "mb-4",
    attrs: {
      "label": _vm.$t('admin.tilelayer_provider'),
      "hint": _vm.$t('admin.tilelayer_provider_help'),
      "persistent-hint": "",
      "placeholder": _vm.tilelayer_provider_default
    },
    on: {
      "blur": function ($event) {
        return _vm.save('tilelayer_provider', _vm.tilelayer_provider);
      }
    },
    model: {
      value: _vm.tilelayer_provider,
      callback: function ($$v) {
        _vm.tilelayer_provider = $$v;
      },
      expression: "tilelayer_provider"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "6"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.tilelayer_provider_attribution'),
      "placeholder": _vm.tilelayer_provider_attribution_default
    },
    on: {
      "blur": function ($event) {
        return _vm.save('tilelayer_provider_attribution', _vm.tilelayer_provider_attribution);
      }
    },
    model: {
      value: _vm.tilelayer_provider_attribution,
      callback: function ($$v) {
        _vm.tilelayer_provider_attribution = $$v;
      },
      expression: "tilelayer_provider_attribution"
    }
  })], 1)], 1), _vm.mapPreview ? _c('Map', {
    key: _vm.mapKey,
    attrs: {
      "LMapStyles": {
        height: '20rem'
      },
      "mapCenter": _vm.mapCenter,
      "zoom": 10
    },
    on: {
      "tileerror": _vm.tilelayerTestError,
      "tileload": _vm.tilelayerTestSuccess
    }
  }) : _vm._e()], 1)], 1), _c(components_VCard["a" /* VCardActions */], [_c(VSpacer["a" /* default */]), _c(VBtn["a" /* default */], {
    attrs: {
      "color": "primary",
      "loading": _vm.isNewGeocodingTest,
      "outlined": ""
    },
    on: {
      "click": _vm.testGeocodingProvider
    }
  }, [_vm._v(_vm._s(_vm.$t('admin.geocoding_test_button')))]), _c(VBtn["a" /* default */], {
    attrs: {
      "color": "primary",
      "loading": _vm.isNewTilelayerTest,
      "outlined": ""
    },
    on: {
      "click": _vm.testTileLayerProvider
    }
  }, [_vm._v(_vm._s(_vm.$t('admin.tilelayer_test_button')))])], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/admin/Geolocation.vue?vue&type=template&id=b99c2088&lang=pug

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__(9);

// EXTERNAL MODULE: ./server/helpers/geolocation/isoCountries.js
var isoCountries = __webpack_require__(282);

// EXTERNAL MODULE: ./server/helpers/geolocation/index.js
var geolocation = __webpack_require__(257);
var geolocation_default = /*#__PURE__*/__webpack_require__.n(geolocation);

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(6);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/Geolocation.vue?vue&type=script&lang=js




/* harmony default export */ var Geolocationvue_type_script_lang_js = ({
  components: {
    [ false && false]: () => __webpack_require__.e(/* import() */ 0).then(__webpack_require__.bind(null, 366))
  },
  data({
    $store
  }) {
    return {
      mdiChevronDown: js_["mdiChevronDown"],
      mapKey: 0,
      mapPreview: false,
      mapCenter: [42, 42],
      isNewTilelayerTest: false,
      isNewGeocodingTest: false,
      geocoding_provider_type_items: ['Nominatim', 'Photon'],
      geocoding_provider_type: $store.state.settings.geocoding_provider_type || '',
      geocoding_provider_type_default: 'Nominatim',
      geocoding_provider: $store.state.settings.geocoding_provider || '',
      geocoding_provider_default: "https://nominatim.openstreetmap.org/search",
      geocoding_countrycodes: $store.state.settings.geocoding_countrycodes || [],
      tilelayer_provider: $store.state.settings.tilelayer_provider || '',
      tilelayer_provider_default: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
      tilelayer_provider_attribution: $store.state.settings.tilelayer_provider_attribution || '',
      tilelayer_provider_attribution_default: '<a target=\'_blank\' href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors',
      countries: isoCountries["isoCountries"]
    };
  },
  computed: {
    ...Object(external_vuex_["mapState"])(['settings', 'events']),
    tilelayerTest() {
      const v = this.tilelayer_provider !== '' ? this.tilelayer_provider : this.tilelayer_provider_default;
      return v;
    },
    geocodingTest() {
      const v = this.geocoding_provider !== '' ? this.geocoding_provider : this.geocoding_provider_default;
      return v;
    }
  },
  methods: {
    ...Object(external_vuex_["mapActions"])(['setSetting']),
    async testGeocodingProvider() {
      this.isNewGeocodingTest = true;
      const currentGeocodingProvider = geolocation_default.a.getGeocodingProvider(this.settings.geocoding_provider_type);
      // random query
      const geocodingQuery = Math.random().toString(36).slice(2, 7);
      try {
        const ret = await this.$axios.$get(`placeOSM/${currentGeocodingProvider.commonName}/${geocodingQuery}`, {
          timeout: 3000
        });
        const res = currentGeocodingProvider.mapQueryResults(ret);
        this.geocodingTestSuccess();
      } catch (e) {
        this.geocodingTestError();
      }
      this.isNewGeocodingTest = false;
    },
    testTileLayerProvider() {
      this.isNewTilelayerTest = true;
      this.mapPreview = true;
      this.mapKey++;
    },
    save(key, value) {
      if (this.settings[key] !== value) {
        this.setSetting({
          key,
          value
        });
      }
    },
    done() {
      this.$emit('close');
    },
    handleMsg(t, s, c) {
      this.$root.$message(this.$t(t, {
        service_name: s
      }), {
        color: c
      });
    },
    geocodingTestError() {
      this.handleMsg('admin.geocoding_test_error', this.geocodingTest, 'error');
    },
    geocodingTestSuccess() {
      this.handleMsg('admin.geocoding_test_success', this.geocodingTest, 'success');
    },
    tilelayerTestError() {
      this.isNewTilelayerTest && this.handleMsg('admin.tilelayer_test_error', this.tilelayerTest, 'error');
      this.isNewTilelayerTest = false;
    },
    tilelayerTestSuccess() {
      this.isNewTilelayerTest && this.handleMsg('admin.tilelayer_test_success', this.tilelayerTest, 'success');
      this.isNewTilelayerTest = false;
    }
  }
});
// CONCATENATED MODULE: ./components/admin/Geolocation.vue?vue&type=script&lang=js
 /* harmony default export */ var admin_Geolocationvue_type_script_lang_js = (Geolocationvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./components/admin/Geolocation.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  admin_Geolocationvue_type_script_lang_js,
  Geolocationvue_type_template_id_b99c2088_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "91919534"
  
)

/* harmony default export */ var Geolocation = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 327:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VAutocomplete/VAutocomplete.js
var VAutocomplete = __webpack_require__(262);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js
var VBtn = __webpack_require__(87);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var VCard = __webpack_require__(14);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VContainer.js + 1 modules
var VContainer = __webpack_require__(230);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDialog/VDialog.js
var VDialog = __webpack_require__(221);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
var VIcon = __webpack_require__(86);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VSelect/VSelect.js + 4 modules
var VSelect = __webpack_require__(237);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VSwitch/VSwitch.js + 2 modules
var VSwitch = __webpack_require__(229);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 3 modules
var VTextField = __webpack_require__(47);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/Settings.vue?vue&type=template&id=1fd1ae36&lang=pug












var Settingsvue_type_template_id_1fd1ae36_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], [_c(VCard["d" /* VCardTitle */], [_vm._v(_vm._s(_vm.$t('common.settings')))]), _c(VCard["c" /* VCardText */], [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('common.title'),
      "hint": _vm.$t('admin.title_description'),
      "rules": [_vm.$validators.required('common.title')],
      "persistent-hint": ""
    },
    on: {
      "blur": function ($event) {
        return _vm.save("title", _vm.title);
      }
    },
    model: {
      value: _vm.title,
      callback: function ($$v) {
        _vm.title = $$v;
      },
      expression: "title"
    }
  }), _vm.setup ? _c(VTextField["a" /* default */], {
    staticClass: "mt-5",
    attrs: {
      "label": _vm.$t('admin.instance_name'),
      "rules": _vm.$validators.ap_handler,
      "hint": _vm.$t('admin.instance_name_help', {
        ap_handler: _vm.ap_handler
      }),
      "persistent-hint": ""
    },
    on: {
      "blur": function ($event) {
        return _vm.save("instance_name", _vm.instance_name);
      }
    },
    model: {
      value: _vm.instance_name,
      callback: function ($$v) {
        _vm.instance_name = $$v;
      },
      expression: "instance_name"
    }
  }) : _vm._e(), _c(VTextField["a" /* default */], {
    staticClass: "mt-5",
    attrs: {
      "label": _vm.$t('common.description'),
      "hint": _vm.$t('admin.description_description'),
      "persistent-hint": ""
    },
    on: {
      "blur": function ($event) {
        return _vm.save("description", _vm.description);
      }
    },
    model: {
      value: _vm.description,
      callback: function ($$v) {
        _vm.description = $$v;
      },
      expression: "description"
    }
  }), _c(VAutocomplete["a" /* default */], {
    staticClass: "mt-5",
    attrs: {
      "label": _vm.$t('admin.select_instance_timezone'),
      "hint": _vm.$t('admin.instance_timezone_description'),
      "items": _vm.filteredTimezones,
      "persistent-hint": "",
      "placeholder": "Timezone, type to search"
    },
    model: {
      value: _vm.instance_timezone,
      callback: function ($$v) {
        _vm.instance_timezone = $$v;
      },
      expression: "instance_timezone"
    }
  }), _c(VSelect["a" /* default */], {
    staticClass: "mt-5",
    attrs: {
      "label": _vm.$t('admin.instance_locale'),
      "hint": _vm.$t('admin.instance_locale_description'),
      "persistent-hint": "",
      "items": _vm.locales
    },
    model: {
      value: _vm.instance_locale,
      callback: function ($$v) {
        _vm.instance_locale = $$v;
      },
      expression: "instance_locale"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-4",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_registration_description')
    },
    model: {
      value: _vm.allow_registration,
      callback: function ($$v) {
        _vm.allow_registration = $$v;
      },
      expression: "allow_registration"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_anon_event')
    },
    model: {
      value: _vm.allow_anon_event,
      callback: function ($$v) {
        _vm.allow_anon_event = $$v;
      },
      expression: "allow_anon_event"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_multidate_event')
    },
    model: {
      value: _vm.allow_multidate_event,
      callback: function ($$v) {
        _vm.allow_multidate_event = $$v;
      },
      expression: "allow_multidate_event"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_recurrent_event')
    },
    model: {
      value: _vm.allow_recurrent_event,
      callback: function ($$v) {
        _vm.allow_recurrent_event = $$v;
      },
      expression: "allow_recurrent_event"
    }
  }), _vm.allow_recurrent_event ? _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.recurrent_event_visible')
    },
    model: {
      value: _vm.recurrent_event_visible,
      callback: function ($$v) {
        _vm.recurrent_event_visible = $$v;
      },
      expression: "recurrent_event_visible"
    }
  }) : _vm._e(), _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_event_without_end_time')
    },
    model: {
      value: _vm.allow_event_without_end_time,
      callback: function ($$v) {
        _vm.allow_event_without_end_time = $$v;
      },
      expression: "allow_event_without_end_time"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-1",
    attrs: {
      "inset": "",
      "label": _vm.$t('admin.allow_online_event')
    },
    model: {
      value: _vm.allow_online_event,
      callback: function ($$v) {
        _vm.allow_online_event = $$v;
      },
      expression: "allow_online_event"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-4",
    attrs: {
      "inset": "",
      "persistent-hint": "",
      "hint": _vm.$t('admin.allow_geolocation_hint'),
      "label": _vm.$t('admin.allow_geolocation')
    },
    model: {
      value: _vm.allow_geolocation,
      callback: function ($$v) {
        _vm.allow_geolocation = $$v;
      },
      expression: "allow_geolocation"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-4",
    attrs: {
      "inset": "",
      "persistent-hint": "",
      "hint": _vm.$t('admin.show_download_media_hint'),
      "label": _vm.$t('admin.show_download_media')
    },
    model: {
      value: _vm.show_download_media,
      callback: function ($$v) {
        _vm.show_download_media = $$v;
      },
      expression: "show_download_media"
    }
  }), _c(VSwitch["a" /* default */], {
    staticClass: "mt-4",
    attrs: {
      "inset": "",
      "persistent-hint": "",
      "hint": _vm.$t('admin.enable_moderation_hint'),
      "label": _vm.$t('admin.enable_moderation')
    },
    model: {
      value: _vm.enable_moderation,
      callback: function ($$v) {
        _vm.enable_moderation = $$v;
      },
      expression: "enable_moderation"
    }
  }), _vm.enable_moderation ? _c(VSwitch["a" /* default */], {
    staticClass: "mt-4",
    attrs: {
      "inset": "",
      "persistent-hint": "",
      "hint": _vm.$t('admin.enable_report_hint'),
      "label": _vm.$t('admin.enable_report')
    },
    model: {
      value: _vm.enable_report,
      callback: function ($$v) {
        _vm.enable_report = $$v;
      },
      expression: "enable_report"
    }
  }) : _vm._e()], 1), _c(VDialog["a" /* default */], {
    attrs: {
      "destroy-on-close": "",
      "max-width": "700px",
      "fullscreen": _vm.$vuetify.breakpoint.xsOnly
    },
    model: {
      value: _vm.showSMTP,
      callback: function ($$v) {
        _vm.showSMTP = $$v;
      },
      expression: "showSMTP"
    }
  }, [_c('SMTP', {
    on: {
      "close": function ($event) {
        _vm.showSMTP = false;
      }
    }
  })], 1), _c(VCard["a" /* VCardActions */], [_c(VBtn["a" /* default */], {
    attrs: {
      "text": ""
    },
    on: {
      "click": function ($event) {
        _vm.showSMTP = true;
      }
    }
  }, [!_vm.settings.admin_email ? _c(VIcon["a" /* default */], {
    staticClass: "mr-2",
    attrs: {
      "color": "error"
    },
    domProps: {
      "textContent": _vm._s(_vm.mdiAlert)
    }
  }) : _vm._e(), _vm._v(" " + _vm._s(_vm.$t('admin.show_smtp_setup')))], 1)], 1), _vm.setup ? _c(VBtn["a" /* default */], {
    attrs: {
      "text": "",
      "color": "primary"
    },
    on: {
      "click": function ($event) {
        return _vm.$emit("complete");
      }
    }
  }, [_vm._v(_vm._s(_vm.$t('common.next'))), _c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiArrowRight)
    }
  })], 1) : _vm._e()], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/admin/Settings.vue?vue&type=template&id=1fd1ae36&lang=pug

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/VCard.js
var VCard_VCard = __webpack_require__(88);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VCol.js
var VCol = __webpack_require__(226);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VForm/VForm.js
var VForm = __webpack_require__(253);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VRow.js
var VRow = __webpack_require__(225);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
var VSpacer = __webpack_require__(223);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/SMTP.vue?vue&type=template&id=6247f0fe&lang=pug












var SMTPvue_type_template_id_6247f0fe_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VCard_VCard["a" /* default */], [_c(VCard["d" /* VCardTitle */], [_vm._v("SMTP Email configuration")]), _c(VCard["c" /* VCardText */], [_c('p', {
    domProps: {
      "innerHTML": _vm._s(_vm.$t('admin.smtp_description'))
    }
  }), _c(VForm["a" /* default */], {
    model: {
      value: _vm.isValid,
      callback: function ($$v) {
        _vm.isValid = $$v;
      },
      expression: "isValid"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.admin_email'),
      "hint": _vm.$t('admin.admin_email_help'),
      "persistent-hint": "",
      "rules": _vm.$validators.email
    },
    on: {
      "blur": function ($event) {
        return _vm.save('admin_email', _vm.admin_email);
      }
    },
    model: {
      value: _vm.admin_email,
      callback: function ($$v) {
        _vm.admin_email = $$v;
      },
      expression: "admin_email"
    }
  }), _c(VSwitch["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.smtp_use_sendmail')
    },
    model: {
      value: _vm.smtp.sendmail,
      callback: function ($$v) {
        _vm.$set(_vm.smtp, "sendmail", $$v);
      },
      expression: "smtp.sendmail"
    }
  }), !_vm.smtp.sendmail ? _c(VRow["a" /* default */], [_c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "9"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.smtp_hostname'),
      "rules": [_vm.$validators.required('admin.smtp_hostname')]
    },
    model: {
      value: _vm.smtp.host,
      callback: function ($$v) {
        _vm.$set(_vm.smtp, "host", $$v);
      },
      expression: "smtp.host"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "cols": "12",
      "md": "3"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.smtp_port'),
      "rules": [_vm.$validators.required('admin.smtp_port')]
    },
    model: {
      value: _vm.smtp.port,
      callback: function ($$v) {
        _vm.$set(_vm.smtp, "port", $$v);
      },
      expression: "smtp.port"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "cols": "12"
    }
  }, [_c(VSwitch["a" /* default */], {
    attrs: {
      "label": _vm.$t('admin.smtp_secure')
    },
    model: {
      value: _vm.smtp.secure,
      callback: function ($$v) {
        _vm.$set(_vm.smtp, "secure", $$v);
      },
      expression: "smtp.secure"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "md": "6"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('common.user')
    },
    model: {
      value: _vm.smtp.auth.user,
      callback: function ($$v) {
        _vm.$set(_vm.smtp.auth, "user", $$v);
      },
      expression: "smtp.auth.user"
    }
  })], 1), _c(VCol["a" /* default */], {
    attrs: {
      "md": "6"
    }
  }, [_c(VTextField["a" /* default */], {
    attrs: {
      "label": _vm.$t('common.password'),
      "type": "password"
    },
    model: {
      value: _vm.smtp.auth.pass,
      callback: function ($$v) {
        _vm.$set(_vm.smtp.auth, "pass", $$v);
      },
      expression: "smtp.auth.pass"
    }
  })], 1)], 1) : _vm._e()], 1)], 1), _c(VCard["a" /* VCardActions */], [_c(VSpacer["a" /* default */]), _c(VBtn["a" /* default */], {
    attrs: {
      "color": "primary",
      "loading": _vm.loading,
      "disabled": _vm.loading || !_vm.isValid,
      "outlined": ""
    },
    on: {
      "click": _vm.testSMTP
    }
  }, [_vm._v(_vm._s(_vm.$t('admin.smtp_test_button')))]), _c(VBtn["a" /* default */], {
    attrs: {
      "color": "warning",
      "outlined": ""
    },
    on: {
      "click": _vm.done
    }
  }, [_vm._v(_vm._s(_vm.$t("common.ok")))])], 1)], 1);
};
var SMTPvue_type_template_id_6247f0fe_lang_pug_staticRenderFns = [];

// CONCATENATED MODULE: ./components/admin/SMTP.vue?vue&type=template&id=6247f0fe&lang=pug

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__(9);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/SMTP.vue?vue&type=script&lang=js

/* harmony default export */ var SMTPvue_type_script_lang_js = ({
  data({
    $store
  }) {
    // if ($store.state.settings.smtp) {
    //   smtp.host = $store.state.settings.smtp.host
    //   if ($store.state.settings.smtp.auth) {
    //     smtp.auth.user = $store.state.settings.smtp.auth.user
    //     smtp.auth.pass = $store.state.settings.smtp.auth.pass
    //   } else {
    //     smtp.auth = {}
    //   }
    // }
    return {
      isValid: false,
      loading: false,
      smtp: {
        auth: {}
      },
      admin_email: $store.state.settings.admin_email || ''
    };
  },
  async fetch() {
    this.smtp = await this.$axios.$get('/settings/smtp').catch(_e => ({
      auth: {}
    }));
    if (!this.smtp.auth) {
      this.smtp.auth = {};
    }
  },
  computed: Object(external_vuex_["mapState"])(['settings']),
  watch: {
    'smtp.secure'(value) {
      console.error(this.smtp.port);
      if ([465, 587].includes(this.smtp.port) || !this.smtp.port) {
        this.smtp.port = value ? 465 : 587;
      }
    }
  },
  methods: {
    ...Object(external_vuex_["mapActions"])(['setSetting']),
    async testSMTP() {
      this.loading = true;
      try {
        const smtp = JSON.parse(JSON.stringify(this.smtp));
        if (!smtp.auth.user) {
          delete smtp.auth;
        }
        if (!smtp.secure) {
          smtp.secure = false;
          smtp.ignoreTLS = true;
        }
        // await this.setSetting({ key: 'smtp', value: JSON.parse(JSON.stringify(this.smtp)) })
        await this.$axios.$post('/settings/smtp', {
          smtp
        });
        this.$root.$message(this.$t('admin.smtp_test_success', {
          admin_email: this.admin_email
        }), {
          color: 'success'
        });
      } catch (e) {
        console.error(e);
        this.$root.$message(e.response && e.response.data, {
          color: 'error'
        });
      }
      this.loading = false;
    },
    save(key, value) {
      if (this.settings[key] !== value) {
        this.setSetting({
          key,
          value
        });
      }
    },
    done() {
      const smtp = JSON.parse(JSON.stringify(this.smtp));
      if (!smtp.auth.user) {
        delete smtp.auth;
      }
      if (!smtp.secure) {
        smtp.secure = false;
        smtp.ignoreTLS = true;
      }
      this.setSetting({
        key: 'smtp',
        value: smtp
      });
      this.$emit('close');
    }
  }
});
// CONCATENATED MODULE: ./components/admin/SMTP.vue?vue&type=script&lang=js
 /* harmony default export */ var admin_SMTPvue_type_script_lang_js = (SMTPvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./components/admin/SMTP.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  admin_SMTPvue_type_script_lang_js,
  SMTPvue_type_template_id_6247f0fe_lang_pug_render,
  SMTPvue_type_template_id_6247f0fe_lang_pug_staticRenderFns,
  false,
  null,
  null,
  "952fb9f4"
  
)

/* harmony default export */ var SMTP = (component.exports);
// EXTERNAL MODULE: ./components/admin/Geolocation.vue + 4 modules
var Geolocation = __webpack_require__(287);

// EXTERNAL MODULE: external "luxon"
var external_luxon_ = __webpack_require__(11);

// EXTERNAL MODULE: ./components/admin/tz.json
var tz = __webpack_require__(283);

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(6);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./components/admin/Settings.vue?vue&type=script&lang=js






const locales = __webpack_require__(284);
/* harmony default export */ var Settingsvue_type_script_lang_js = ({
  props: {
    setup: {
      type: Boolean,
      default: false
    }
  },
  components: {
    SMTP: SMTP,
    Geolocation: Geolocation["default"]
  },
  name: 'Settings',
  data({
    $store
  }) {
    return {
      mdiAlert: js_["mdiAlert"],
      mdiArrowRight: js_["mdiArrowRight"],
      mdiMap: js_["mdiMap"],
      title: $store.state.settings.title,
      description: $store.state.settings.description,
      instance_name: 'events',
      locales: Object.keys(locales).map(locale => ({
        value: locale,
        text: locales[locale]
      })),
      showSMTP: false,
      showGeolocationConfigs: false
    };
  },
  computed: {
    ...Object(external_vuex_["mapState"])(['settings']),
    ap_handler() {
      return `@${this.instance_name}@${this.settings.hostname}`;
    },
    instance_locale: {
      get() {
        return this.settings.instance_locale;
      },
      set(value) {
        this.setSetting({
          key: 'instance_locale',
          value
        });
      }
    },
    instance_timezone: {
      get() {
        return this.settings.instance_timezone;
      },
      set(value) {
        this.setSetting({
          key: 'instance_timezone',
          value
        });
      }
    },
    allow_registration: {
      get() {
        return this.settings.allow_registration;
      },
      set(value) {
        this.setSetting({
          key: 'allow_registration',
          value
        });
      }
    },
    allow_anon_event: {
      get() {
        return this.settings.allow_anon_event;
      },
      set(value) {
        this.setSetting({
          key: 'allow_anon_event',
          value
        });
      }
    },
    allow_recurrent_event: {
      get() {
        return this.settings.allow_recurrent_event;
      },
      set(value) {
        this.setSetting({
          key: 'allow_recurrent_event',
          value
        });
      }
    },
    allow_event_without_end_time: {
      get() {
        return this.settings.allow_event_without_end_time;
      },
      set(value) {
        this.setSetting({
          key: 'allow_event_without_end_time',
          value
        });
      }
    },
    allow_multidate_event: {
      get() {
        return this.settings.allow_multidate_event;
      },
      set(value) {
        this.setSetting({
          key: 'allow_multidate_event',
          value
        });
      }
    },
    recurrent_event_visible: {
      get() {
        return this.settings.recurrent_event_visible;
      },
      set(value) {
        this.setSetting({
          key: 'recurrent_event_visible',
          value
        });
      }
    },
    allow_geolocation: {
      get() {
        return this.settings.allow_geolocation;
      },
      set(value) {
        this.setSetting({
          key: 'allow_geolocation',
          value
        });
      }
    },
    show_download_media: {
      get() {
        return this.settings.show_download_media;
      },
      set(value) {
        this.setSetting({
          key: 'show_download_media',
          value
        });
      }
    },
    allow_online_event: {
      get() {
        return this.settings.allow_online_event;
      },
      set(value) {
        this.setSetting({
          key: 'allow_online_event',
          value
        });
      }
    },
    enable_moderation: {
      get() {
        return this.settings.enable_moderation;
      },
      set(value) {
        this.setSetting({
          key: 'enable_moderation',
          value
        });
      }
    },
    enable_report: {
      get() {
        return this.settings.enable_report;
      },
      set(value) {
        this.setSetting({
          key: 'enable_report',
          value
        });
      }
    },
    filteredTimezones() {
      const current_timezone = external_luxon_["DateTime"].local().zoneName;
      tz.unshift(current_timezone);
      return tz;
    }
  },
  methods: {
    ...Object(external_vuex_["mapActions"])(['setSetting']),
    save(key, value) {
      if (this.settings[key] !== value) {
        this.setSetting({
          key,
          value
        });
      }
    }
  }
});
// CONCATENATED MODULE: ./components/admin/Settings.vue?vue&type=script&lang=js
 /* harmony default export */ var admin_Settingsvue_type_script_lang_js = (Settingsvue_type_script_lang_js); 
// CONCATENATED MODULE: ./components/admin/Settings.vue





/* normalize component */

var Settings_component = Object(componentNormalizer["a" /* default */])(
  admin_Settingsvue_type_script_lang_js,
  Settingsvue_type_template_id_1fd1ae36_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "39dd5273"
  
)

/* harmony default export */ var Settings = __webpack_exports__["default"] = (Settings_component.exports);

/***/ }),

/***/ 368:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js
var VBtn = __webpack_require__(87);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.js
var VBtnToggle = __webpack_require__(272);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var VCard = __webpack_require__(14);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VContainer.js + 1 modules
var VContainer = __webpack_require__(230);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VForm/VForm.js
var VForm = __webpack_require__(253);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
var VIcon = __webpack_require__(86);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 3 modules
var VTextField = __webpack_require__(47);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/DbStep.vue?vue&type=template&id=36a04610&lang=pug










var DbStepvue_type_template_id_36a04610_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], [_c(VCard["d" /* VCardTitle */], {
    staticClass: "text-h5"
  }, [_vm._v("Database"), _c(VCard["c" /* VCardText */]), _c(VForm["a" /* default */], [_c(VBtnToggle["a" /* default */], {
    attrs: {
      "text": "",
      "color": "primary"
    },
    model: {
      value: _vm.db.dialect,
      callback: function ($$v) {
        _vm.$set(_vm.db, "dialect", $$v);
      },
      expression: "db.dialect"
    }
  }, [_c(VBtn["a" /* default */], {
    attrs: {
      "value": "sqlite",
      "text": ""
    }
  }, [_vm._v("sqlite")]), _c(VBtn["a" /* default */], {
    attrs: {
      "value": "postgres",
      "text": ""
    }
  }, [_vm._v("postgres")]), _c(VBtn["a" /* default */], {
    attrs: {
      "value": "mariadb",
      "text": ""
    }
  }, [_vm._v("mariadb")])], 1), _vm.db.dialect === "sqlite" ? [_c(VTextField["a" /* default */], {
    attrs: {
      "label": "Path"
    },
    model: {
      value: _vm.db.storage,
      callback: function ($$v) {
        _vm.$set(_vm.db, "storage", $$v);
      },
      expression: "db.storage"
    }
  })] : _vm._e(), _vm.db.dialect !== "sqlite" ? [_c(VTextField["a" /* default */], {
    attrs: {
      "label": "Hostname",
      "rules": [_vm.$validators.required('hostname')]
    },
    model: {
      value: _vm.db.host,
      callback: function ($$v) {
        _vm.$set(_vm.db, "host", $$v);
      },
      expression: "db.host"
    }
  }), _c(VTextField["a" /* default */], {
    attrs: {
      "label": "Database",
      "rules": [_vm.$validators.required('database')]
    },
    model: {
      value: _vm.db.database,
      callback: function ($$v) {
        _vm.$set(_vm.db, "database", $$v);
      },
      expression: "db.database"
    }
  }), _c(VTextField["a" /* default */], {
    attrs: {
      "label": "Username",
      "rules": [_vm.$validators.required('username')]
    },
    model: {
      value: _vm.db.username,
      callback: function ($$v) {
        _vm.$set(_vm.db, "username", $$v);
      },
      expression: "db.username"
    }
  }), _c(VTextField["a" /* default */], {
    attrs: {
      "type": "password",
      "label": "Password",
      "rules": [_vm.$validators.required('password')]
    },
    model: {
      value: _vm.db.password,
      callback: function ($$v) {
        _vm.$set(_vm.db, "password", $$v);
      },
      expression: "db.password"
    }
  })] : _vm._e()], 2)], 1), _c(VCard["a" /* VCardActions */], [_c(VBtn["a" /* default */], {
    attrs: {
      "text": "",
      "color": "primary",
      "loading": _vm.loading,
      "disabled": _vm.loading
    },
    on: {
      "click": _vm.checkDb
    }
  }, [_vm._v(_vm._s(_vm.$t('common.next'))), _c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiArrowRight)
    }
  })], 1)], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/DbStep.vue?vue&type=template&id=36a04610&lang=pug

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(6);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./components/DbStep.vue?vue&type=script&lang=js

/* harmony default export */ var DbStepvue_type_script_lang_js = ({
  data() {
    return {
      mdiArrowRight: js_["mdiArrowRight"],
      db: {
        dialect: 'sqlite',
        storage: './gancio.sqlite',
        host: 'localhost',
        database: 'gancio'
      },
      loading: false
    };
  },
  methods: {
    async checkDb() {
      this.loading = true;
      try {
        await this.$axios.$post('/setup/db', {
          db: this.db
        });
        this.$root.$message('DB Connection OK!', {
          color: 'success'
        });
        this.$emit('complete', this.db);
      } catch (e) {
        this.$root.$message(e.response.data, {
          color: 'error'
        });
      }
      this.loading = false;
    }
  }
});
// CONCATENATED MODULE: ./components/DbStep.vue?vue&type=script&lang=js
 /* harmony default export */ var components_DbStepvue_type_script_lang_js = (DbStepvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./components/DbStep.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_DbStepvue_type_script_lang_js,
  DbStepvue_type_template_id_36a04610_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "64da4c7a"
  
)

/* harmony default export */ var DbStep = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 369:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VAlert/VAlert.js
var VAlert = __webpack_require__(220);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js
var VBtn = __webpack_require__(87);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var VCard = __webpack_require__(14);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VContainer.js + 1 modules
var VContainer = __webpack_require__(230);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
var VIcon = __webpack_require__(86);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Completed.vue?vue&type=template&id=41e2605c&lang=pug








var Completedvue_type_template_id_41e2605c_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], [_c(VCard["d" /* VCardTitle */], {
    staticClass: "d-block text-h5 text-center",
    domProps: {
      "textContent": _vm._s(_vm.$t('setup.completed'))
    }
  }), _c(VCard["c" /* VCardText */], {
    domProps: {
      "innerHTML": _vm._s(_vm.$t('setup.completed_description', _vm.user))
    }
  }), _vm.isHttp ? _c(VAlert["a" /* default */], {
    staticClass: "mb-3 mt-1",
    attrs: {
      "outlined": "",
      "type": "warning",
      "color": "red",
      "show-icon": "",
      "icon": _vm.mdiAlert
    }
  }, [_vm._v(_vm._s(_vm.$t('setup.https_warning')))]) : _vm._e(), _c(VAlert["a" /* default */], {
    staticClass: "mb-3 mt-1",
    attrs: {
      "outlined": "",
      "type": "warning",
      "color": "red",
      "show-icon": "",
      "icon": _vm.mdiAlert
    }
  }, [_vm._v(_vm._s(_vm.$t('setup.copy_password_dialog')))]), _c(VCard["a" /* VCardActions */], [_c(VBtn["a" /* default */], {
    attrs: {
      "text": "",
      "color": "primary",
      "loading": _vm.loading,
      "disabled": _vm.loading
    },
    on: {
      "click": _vm.next
    }
  }, [_vm._v(_vm._s(_vm.$t('setup.start'))), _c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiArrowRight)
    }
  })], 1)], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/Completed.vue?vue&type=template&id=41e2605c&lang=pug

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(6);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./components/Completed.vue?vue&type=script&lang=js

/* harmony default export */ var Completedvue_type_script_lang_js = ({
  props: {
    isHttp: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {
      mdiArrowRight: js_["mdiArrowRight"],
      mdiAlert: js_["mdiAlert"],
      loading: false,
      user: {
        email: 'admin',
        password: ''
      }
    };
  },
  methods: {
    next() {
      window.location = '/admin';
    },
    async start(user) {
      this.user = {
        ...user
      };
      this.loading = true;
      try {
        await this.$axios.$get('/ping');
        this.loading = false;
      } catch (e) {
        setTimeout(() => this.start(user), 1000);
      }
    }
  }
});
// CONCATENATED MODULE: ./components/Completed.vue?vue&type=script&lang=js
 /* harmony default export */ var components_Completedvue_type_script_lang_js = (Completedvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./components/Completed.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Completedvue_type_script_lang_js,
  Completedvue_type_template_id_41e2605c_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "0b5d91eb"
  
)

/* harmony default export */ var Completed = __webpack_exports__["default"] = (component.exports);

/***/ })

};;
//# sourceMappingURL=setup.js.map