import { _ as _objectSpread2 } from './objectSpread2-605331b1.js';
import { _ as _defineProperty } from './defineProperty-18999f8e.js';
import { _ as _typeof } from './typeof-6c6d8d7a.js';
import './es.object.to-string-5a59fbfc.js';
import './es.array.map-093cfbca.js';
import { _ as _export } from './export-ecf4b1cb.js';
import { f as fails } from './normalize-component-63e8c7a0.js';
import { o as objectGetOwnPropertyNamesExternal } from './es.symbol.description-3b56bced.js';
import Plugin$I from './BaseExpandBox.js';
export { default as BaseExpandBox } from './BaseExpandBox.js';
import Plugin$J from './BaseTextList.js';
export { default as BaseTextList } from './BaseTextList.js';
import Plugin$K from './BaseExpandRow.js';
export { default as BaseExpandRow } from './BaseExpandRow.js';
import Plugin$1 from './BaseInput.js';
export { default as BaseInput } from './BaseInput.js';
import Plugin from './BaseLoader.js';
export { default as BaseLoader } from './BaseLoader.js';
import Plugin$2 from './BaseAutocompleteInput.js';
export { default as BaseAutocompleteInput } from './BaseAutocompleteInput.js';
import Plugin$3 from './BaseBox.js';
export { default as BaseBox } from './BaseBox.js';
import Plugin$4 from './BaseBoxButton.js';
export { default as BaseBoxButton } from './BaseBoxButton.js';
import Plugin$5 from './BaseBoxTooltip.js';
export { default as BaseBoxTooltip } from './BaseBoxTooltip.js';
import Plugin$6 from './BaseButton.js';
export { default as BaseButton } from './BaseButton.js';
import Plugin$7 from './BaseCarousel.js';
export { default as BaseCarousel } from './BaseCarousel.js';
import Plugin$8 from './BaseChip.js';
export { default as BaseChip } from './BaseChip.js';
import Plugin$9 from './BaseChipsBelow.js';
export { default as BaseChipsBelow } from './BaseChipsBelow.js';
import Plugin$a from './BaseChipsInput.js';
export { default as BaseChipsInput } from './BaseChipsInput.js';
import Plugin$b from './BaseChipsInputField.js';
export { default as BaseChipsInputField } from './BaseChipsInputField.js';
import Plugin$c from './BaseDateInput.js';
export { default as BaseDateInput } from './BaseDateInput.js';
import Plugin$d from './BaseDatePanel.js';
export { default as BaseDatePanel } from './BaseDatePanel.js';
import Plugin$e from './BaseDropBox.js';
export { default as BaseDropBox } from './BaseDropBox.js';
import Plugin$f from './BaseDropDown.js';
export { default as BaseDropDown } from './BaseDropDown.js';
import Plugin$g from './BaseDropDownList.js';
export { default as BaseDropDownList } from './BaseDropDownList.js';
import Plugin$h from './BaseForm.js';
export { default as BaseForm } from './BaseForm.js';
import Plugin$i from './BaseFormFieldCreator.js';
export { default as BaseFormFieldCreator } from './BaseFormFieldCreator.js';
import Plugin$j from './BaseHlsVideo.js';
export { default as BaseHlsVideo } from './BaseHlsVideo.js';
import Plugin$k from './BaseHoverBox.js';
export { default as BaseHoverBox } from './BaseHoverBox.js';
import Plugin$l from './BaseImageBox.js';
export { default as BaseImageBox } from './BaseImageBox.js';
import Plugin$m from './BaseMediaCarousel.js';
export { default as BaseMediaCarousel } from './BaseMediaCarousel.js';
import Plugin$n from './BaseMediaPreview.js';
export { default as BaseMediaPreview } from './BaseMediaPreview.js';
import Plugin$o from './BaseMenuEntry.js';
export { default as BaseMenuEntry } from './BaseMenuEntry.js';
import Plugin$p from './BaseMenuList.js';
export { default as BaseMenuList } from './BaseMenuList.js';
import Plugin$q from './BaseMultilineTextInput.js';
export { default as BaseMultilineTextInput } from './BaseMultilineTextInput.js';
import Plugin$r from './BaseOptions.js';
export { default as BaseOptions } from './BaseOptions.js';
import Plugin$s from './BasePagination.js';
export { default as BasePagination } from './BasePagination.js';
import Plugin$t from './BasePopUp.js';
export { default as BasePopUp } from './BasePopUp.js';
import Plugin$u from './BaseProgressBar.js';
export { default as BaseProgressBar } from './BaseProgressBar.js';
import Plugin$v from './BaseResultBoxSection.js';
export { default as BaseResultBoxSection } from './BaseResultBoxSection.js';
import Plugin$w from './BaseSearch.js';
export { default as BaseSearch } from './BaseSearch.js';
import Plugin$x from './BaseSelectOptions.js';
export { default as BaseSelectOptions } from './BaseSelectOptions.js';
import Plugin$y from './BaseSwitchButton.js';
export { default as BaseSwitchButton } from './BaseSwitchButton.js';
import Plugin$z from './BaseToggle.js';
export { default as BaseToggle } from './BaseToggle.js';
import Plugin$A from './BaseUploadBar.js';
export { default as BaseUploadBar } from './BaseUploadBar.js';
import Plugin$B from './BaseUploadPopUp.js';
export { default as BaseUploadPopUp } from './BaseUploadPopUp.js';
import Plugin$C from './BaseCheckmark.js';
export { default as BaseCheckmark } from './BaseCheckmark.js';
import Plugin$D from './BaseMap.js';
export { default as BaseMap } from './BaseMap.js';
import Plugin$E from './BaseMapLocations.js';
export { default as BaseMapLocations } from './BaseMapLocations.js';
import Plugin$F from './BaseIcon.js';
export { default as BaseIcon } from './BaseIcon.js';
import Plugin$G from './BaseDetailBox.js';
export { default as BaseDetailBox } from './BaseDetailBox.js';
import Plugin$H from './BaseEditControl.js';
export { default as BaseEditControl } from './BaseEditControl.js';
import Plugin$L from './BaseExpandList.js';
export { default as BaseExpandList } from './BaseExpandList.js';
import Plugin$M from './BaseImage.js';
export { default as BaseImage } from './BaseImage.js';
import Plugin$N from './BaseAdvancedSearchRow.js';
export { default as BaseAdvancedSearchRow } from './BaseAdvancedSearchRow.js';
import Plugin$O from './BaseAdvancedSearch.js';
export { default as BaseAdvancedSearch } from './BaseAdvancedSearch.js';
import Plugin$Q from './BaseTooltip.js';
export { default as BaseTooltip } from './BaseTooltip.js';
import Plugin$P from './BaseLink.js';
export { default as BaseLink } from './BaseLink.js';
import Plugin$R from './BaseDropButton.js';
export { default as BaseDropButton } from './BaseDropButton.js';
import Plugin$S from './BaseEntrySelector.js';
export { default as BaseEntrySelector } from './BaseEntrySelector.js';
import './classof-b10e7604.js';
import './array-iteration-dec5536e.js';
import './function-bind-context-b3fabf77.js';
import './array-species-create-afb281e6.js';
import './array-method-has-species-support-d96108b0.js';
import './es.array.includes-1f433385.js';
import './object-keys-a5d351f7.js';
import './set-to-string-tag-452fb9b0.js';
import './es.number.constructor-16a232f3.js';
import './object-set-prototype-of-9853ad1a.js';
import './BaseBox-a4447dc8.js';
import './BaseButton-44a621e1.js';
import './utils-21c04279.js';
import './unsupportedIterableToArray-577176bf.js';
import './es.array.join-6ca857ff.js';
import './array-method-is-strict-903f485b.js';
import './regexp-exec-abstract-04d119fc.js';
import './string-multibyte-88926e02.js';
import './regexp-flags-b5fc4ddb.js';
import './es.string.split-cd1f3afc.js';
import './is-regexp-5558fd03.js';
import './es.array.slice-e9c3dd03.js';
import './create-property-c00b5c27.js';
import './es.regexp.to-string-784af81c.js';
import './es.string.replace-07eeebfe.js';
import './es.string.includes-53dbb113.js';
import './es.array.sort-92cbfa54.js';
import './web.dom-collections.for-each-917714ef.js';
import './dom-iterables-b6f5ef3b.js';
import './es.object.keys-6369b884.js';
import './BaseIcon-d03b1fa2.js';
import './es.array.concat-9f3136dc.js';
import './BaseBoxTooltip-e7e1d52e.js';
import './BaseTextList-c9a741b7.js';
import './i18n-e25edebe.js';
import './BaseInput-aea1e5fe.js';
import './index-b4d779f7.js';
import './BaseLoader-a5bfc4d9.js';
import './BaseAutocompleteInput-268f409c.js';
import './BaseBoxButton-821f076c.js';
import './es.array.filter-9f634d7c.js';
import './es.object.values-a2198dd7.js';
import 'lazysizes';
import 'swiper';
import './BaseImageBox-4087fcc1.js';
import './BaseImage-7306e391.js';
import './BaseChip-a5109284.js';
import './BaseHoverBox-54eeaa46.js';
import './BaseChipsBelow-517bbc47.js';
import './vuedraggable.umd-8fe09713.js';
import './BaseChipsInput-d1f19de2.js';
import './toConsumableArray-fb122614.js';
import './es.json.stringify-9b0e9796.js';
import './BaseChipsInputField-9d9254f8.js';
import './es.array.from-3ef944e4.js';
import './es.string.iterator-eb7ab984.js';
import './navigateList-733ab7c4.js';
import './BaseDateInput-366cdf2d.js';
import './set-species-77dd094d.js';
import 'vue2-datepicker';
import './fr-3b425a87.js';
import './BaseDropDown-920e537b.js';
import './BaseDropDownList-4893c704.js';
import './BaseForm-7e412065.js';
import './BaseFormFieldCreator-4ecafc06.js';
import './BaseHlsVideo-7830351c.js';
import './es.string.match-4b347bdd.js';
import './popUpLock-e65bd82b.js';
import './BaseMenuEntry-af09f6f4.js';
import './BaseCheckmark-33441cff.js';
import './BaseMenuList-1be9b8ab.js';
import './BaseMultilineTextInput-d6b0a90e.js';
import './BaseOptions-1269f245.js';
import './BasePagination-52fceef8.js';
import './BasePopUp-6d9ac468.js';
import './BaseProgressBar-0551e2b0.js';
import './web.dom-collections.iterator-5ecbd86d.js';
import './BaseSearch-eb4ae1e8.js';
import './BaseSelectOptions-ed2b39fa.js';
import './BaseSwitchButton-d6c3e00c.js';
import './BaseToggle-f0da4fb4.js';
import './BaseMap-463863ab.js';
import './BaseAdvancedSearchRow-4125f5b7.js';
import './es.string.search-d018b707.js';
import './BaseTooltip-8c28a528.js';
import './BaseLink-a0cb4116.js';

var getOwnPropertyNames = objectGetOwnPropertyNamesExternal.f;

// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });

// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
_export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  getOwnPropertyNames: getOwnPropertyNames
});

var components = /*#__PURE__*/Object.freeze({
  __proto__: null,
  BaseLoader: Plugin,
  BaseInput: Plugin$1,
  BaseAutocompleteInput: Plugin$2,
  BaseBox: Plugin$3,
  BaseBoxButton: Plugin$4,
  BaseBoxTooltip: Plugin$5,
  BaseButton: Plugin$6,
  BaseCarousel: Plugin$7,
  BaseChip: Plugin$8,
  BaseChipsBelow: Plugin$9,
  BaseChipsInput: Plugin$a,
  BaseChipsInputField: Plugin$b,
  BaseDateInput: Plugin$c,
  BaseDatePanel: Plugin$d,
  BaseDropBox: Plugin$e,
  BaseDropDown: Plugin$f,
  BaseDropDownList: Plugin$g,
  BaseForm: Plugin$h,
  BaseFormFieldCreator: Plugin$i,
  BaseHlsVideo: Plugin$j,
  BaseHoverBox: Plugin$k,
  BaseImageBox: Plugin$l,
  BaseMediaCarousel: Plugin$m,
  BaseMediaPreview: Plugin$n,
  BaseMenuEntry: Plugin$o,
  BaseMenuList: Plugin$p,
  BaseMultilineTextInput: Plugin$q,
  BaseOptions: Plugin$r,
  BasePagination: Plugin$s,
  BasePopUp: Plugin$t,
  BaseProgressBar: Plugin$u,
  BaseResultBoxSection: Plugin$v,
  BaseSearch: Plugin$w,
  BaseSelectOptions: Plugin$x,
  BaseSwitchButton: Plugin$y,
  BaseToggle: Plugin$z,
  BaseUploadBar: Plugin$A,
  BaseUploadPopUp: Plugin$B,
  BaseCheckmark: Plugin$C,
  BaseMap: Plugin$D,
  BaseMapLocations: Plugin$E,
  BaseIcon: Plugin$F,
  BaseDetailBox: Plugin$G,
  BaseEditControl: Plugin$H,
  BaseExpandBox: Plugin$I,
  BaseTextList: Plugin$J,
  BaseExpandRow: Plugin$K,
  BaseExpandList: Plugin$L,
  BaseImage: Plugin$M,
  BaseAdvancedSearchRow: Plugin$N,
  BaseAdvancedSearch: Plugin$O,
  BaseLink: Plugin$P,
  BaseTooltip: Plugin$Q,
  BaseDropButton: Plugin$R,
  BaseEntrySelector: Plugin$S
});

var config;

var isObject = function isObject(item) {
  return _typeof(item) === 'object' && !Array.isArray(item);
};

var merge = function merge(target, source) {
  var deep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;

  if (deep || !Object.assign) {
    var isDeep = function isDeep(prop) {
      return isObject(source[prop]) && target !== null // eslint-disable-next-line no-prototype-builtins
      && target.hasOwnProperty(prop) && isObject(target[prop]);
    };

    var replaced = Object.getOwnPropertyNames(source).map(function (prop) {
      return _defineProperty({}, prop, isDeep(prop) ? merge(target[prop], source[prop], deep) : source[prop]);
    }).reduce(function (a, b) {
      return _objectSpread2(_objectSpread2({}, a), b);
    }, {});
    return _objectSpread2(_objectSpread2({}, target), replaced);
  }

  return Object.assign(target, source);
};

var setVueInstance = function setVueInstance(Vue) {
};
var setOptions = function setOptions(options) {
  config = options;
};
var BaseUiComponents = {
  install: function install(Vue) {
    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

    setOptions(merge(config, options, true)); // Components
    // eslint-disable-next-line guard-for-in,no-restricted-syntax

    for (var componentKey in components) {
      // eslint-disable-next-line import/namespace
      Vue.use(components[componentKey]);
    }
  }
}; // To auto-install on non-es builds, when vue is found

export { BaseUiComponents as default, setOptions, setVueInstance };
