this.primevue = this.primevue || {};
this.primevue.galleria = this.primevue.galleria || {};
this.primevue.galleria.style = (function (BaseStyle) {
    'use strict';

    function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

    var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);

    var theme = function theme(_ref) {
      var dt = _ref.dt;
      return "\n.p-galleria-content {\n    display: flex;\n    flex-direction: column;\n}\n\n.p-galleria-items-container {\n    display: flex;\n    flex-direction: column;\n    position: relative;\n}\n\n.p-galleria-items {\n    position: relative;\n    display: flex;\n    height: 100%;\n}\n\n.p-galleria-navigate-button {\n    position: absolute;\n    top: 50%;\n    margin-top: -0.5rem;\n    display: inline-flex;\n    justify-content: center;\n    align-items: center;\n    overflow: hidden;\n    background: transparent;\n    color: ".concat(dt('galleria.navigator.color'), ";\n    width: 3rem;\n    height: 3rem;\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n    border-radius: 50%;\n    margin: 0 0.5rem;\n    padding: 0;\n    user-select: none;\n    border: none;\n    cursor: pointer;\n}\n\n.p-galleria-navigate-button:not(.p-disabled):hover {\n    background: ").concat(dt('galleria.navigator.hover.background'), ";\n}\n\n.p-galleria-next-icon,\n.p-galleria-prev-icon {\n    font-size: 1.5rem;\n    width: 1.5rem;\n    height: 1.5rem;\n}\n\n.p-galleria-prev-button {\n    left: 0;\n}\n\n.p-galleria-next-button {\n    right: 0;\n}\n\n.p-galleria-item {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    height: 100%;\n    width: 100%;\n}\n\n.p-galleria-hover-navigators .p-galleria-navigate-button {\n    pointer-events: none;\n    opacity: 0;\n    transition: opacity ").concat(dt('transition.duration'), " ease-in-out;\n}\n\n.p-galleria-hover-navigators .p-galleria-items-container:hover .p-galleria-navigate-button {\n    pointer-events: all;\n    opacity: 1;\n}\n\n.p-galleria-hover-navigators .p-galleria-items-container:hover .p-galleria-navigate-button.p-disabled {\n    pointer-events: none;\n}\n\n.p-galleria-caption {\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    width: 100%;\n    background: ").concat(dt('galleria.caption.background'), ";\n    color: ").concat(dt('galleria.caption.color'), ";\n    padding: 1rem;\n}\n\n.p-galleria-thumbnails {\n    display: flex;\n    flex-direction: column;\n    overflow: auto;\n    flex-shrink: 0;\n}\n\n.p-galleria-thumbnail-prev-button,\n.p-galleria-thumbnail-next-button {\n    align-self: center;\n    flex: 0 0 auto;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    overflow: hidden;\n    position: relative;\n    margin: 0.5rem;\n    padding: 0;\n    border: none;\n    user-select: none;\n    cursor: pointer;\n    background: transparent;\n    color: ").concat(dt('galleria.thumbnail.navigator.color'), ";\n    width: 2rem;\n    height: 2rem;\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n    outline-color: transparent;\n    border-radius: 50%;\n}\n\n.p-galleria-thumbnail-prev-button:hover,\n.p-galleria-thumbnail-next-button:hover {\n    background: ").concat(dt('galleria.thumbnail.navigator.hover.background'), ";\n    color: ").concat(dt('galleria.thumbnail.navigator.hover.color'), ";\n}\n\n.p-galleria-thumbnail-prev-button:focus-visible,\n.p-galleria-thumbnail-next-button:focus-visible {\n    outline: ").concat(dt('focus.ring.width'), " ").concat(dt('focus.ring.style'), " ").concat(dt('focus.ring.color'), ";\n    outline-offset: ").concat(dt('focus.ring.offset'), ";\n}\n\n.p-galleria-thumbnail-prev-button span,\n.p-galleria-thumbnail-next-button span {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n}\n\n.p-galleria-thumbnails-content {\n    display: flex;\n    flex-direction: row;\n    background: ").concat(dt('galleria.thumbnail.container.background'), ";\n    padding: 1rem 0.25rem;\n}\n\n.p-galleria-thumbnails-viewport {\n    overflow: hidden;\n    width: 100%;\n}\n\n.p-galleria-thumbnail-items {\n    display: flex;\n}\n\n.p-galleria-thumbnail-item {\n    overflow: auto;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n    opacity: 0.5;\n}\n\n.p-galleria-thumbnail {\n    outline-color: transparent;\n}\n\n.p-galleria-thumbnail:focus-visible {\n    outline: ").concat(dt('focus.ring.width'), " ").concat(dt('focus.ring.style'), " ").concat(dt('focus.ring.color'), ";\n    outline-offset: ").concat(dt('focus.ring.offset'), ";\n}\n\n.p-galleria-thumbnail-item:hover {\n    opacity: 1;\n    transition: opacity 0.3s;\n}\n\n.p-galleria-thumbnail-item-current {\n    opacity: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-content,\n.p-galleria-thumbnails-right .p-galleria-content {\n    flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-items-container,\n.p-galleria-thumbnails-right .p-galleria-items-container {\n    flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-items-container,\n.p-galleria-thumbnails-top .p-galleria-items-container {\n    order: 2;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnails,\n.p-galleria-thumbnails-top .p-galleria-thumbnails {\n    order: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnails-content,\n.p-galleria-thumbnails-right .p-galleria-thumbnails-content {\n    flex-direction: column;\n    flex-grow: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-items,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-items {\n    flex-direction: column;\n    height: 100%;\n}\n\n.p-galleria-indicator-list {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding: 1rem;\n    gap: 0.5rem;\n    margin: 0;\n    list-style: none;\n}\n\n.p-galleria-indicator-button {\n    display: inline-flex;\n    align-items: center;\n    background: ").concat(dt('galleria.indicator.background'), ";\n    width: 1rem;\n    height: 1rem;\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n    outline-color: transparent;\n    border-radius: 50%;\n    margin: 0;\n    padding: 0;\n    border: none;\n    user-select: none;\n    cursor: pointer;\n}\n\n.p-galleria-indicator-button:hover {\n    background: ").concat(dt('galleria.indicator.hover.background'), ";\n}\n\n.p-galleria-indicator-button:focus-visible {\n    outline: ").concat(dt('focus.ring.width'), " ").concat(dt('focus.ring.style'), " ").concat(dt('focus.ring.color'), ";\n    outline-offset: ").concat(dt('focus.ring.offset'), ";\n}\n\n.p-galleria-indicator-active .p-galleria-indicator-button {\n    background-color: ").concat(dt('galleria.indicator.active.background'), ";\n}\n\n.p-galleria-indicators-left .p-galleria-items-container,\n.p-galleria-indicators-right .p-galleria-items-container {\n    flex-direction: row;\n    align-items: center;\n}\n\n.p-galleria-indicators-left .p-galleria-items,\n.p-galleria-indicators-top .p-galleria-items {\n    order: 2;\n}\n\n.p-galleria-indicators-left .p-galleria-indicator-list,\n.p-galleria-indicators-top .p-galleria-indicator-list {\n    order: 1;\n}\n\n.p-galleria-indicators-left .p-galleria-indicator-list,\n.p-galleria-indicators-right .p-galleria-indicator-list {\n    flex-direction: column;\n}\n\n.p-galleria-inset-indicators .p-galleria-indicator-list {\n    position: absolute;\n    display: flex;\n    z-index: 1;\n    background: ").concat(dt('galleria.inset.indicators.background'), ";\n}\n\n.p-galleria-inset-indicators .p-galleria-indicator-button {\n    background: ").concat(dt('galleria.inset.indicator.background'), ";\n}\n\n.p-galleria-inset-indicators .p-galleria-indicator-button:hover {\n    background: ").concat(dt('galleria.inset.indicator.hover.background'), ";\n}\n\n.p-galleria-inset-indicators .p-galleria-indicator-active .p-galleria-indicator-button {\n    background: ").concat(dt('galleria.inset.indicator.active.background'), ";\n}\n\n.p-galleria-inset-indicators.p-galleria-indicators-top .p-galleria-indicator-list {\n    top: 0;\n    left: 0;\n    width: 100%;\n    align-items: flex-start;\n}\n\n.p-galleria-inset-indicators.p-galleria-indicators-right .p-galleria-indicator-list {\n    right: 0;\n    top: 0;\n    height: 100%;\n    align-items: flex-end;\n}\n\n.p-galleria-inset-indicators.p-galleria-indicators-bottom .p-galleria-indicator-list {\n    bottom: 0;\n    left: 0;\n    width: 100%;\n    align-items: flex-end;\n}\n\n.p-galleria-inset-indicators.p-galleria-indicators-left .p-galleria-indicator-list {\n    left: 0;\n    top: 0;\n    height: 100%;\n    align-items: flex-start;\n}\n\n.p-galleria-mask {\n    position: fixed;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    --p-mask-background: ").concat(dt('galleria.mask.background'), ";\n}\n\n.p-galleria-close-button {\n    position: absolute;\n    top: 0;\n    right: 0;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    overflow: hidden;\n    margin: 0.5rem;\n    background: transparent;\n    color: ").concat(dt('galleria.close.color'), ";\n    width: 3rem;\n    height: 3rem;\n    padding: 0;\n    border: none;\n    user-select: none;\n    cursor: pointer;\n    border-radius: 50%;\n    outline-color: transparent;\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n}\n\n.p-galleria-close-icon {\n    font-size: 1.5rem;\n    width: 1.5rem;\n    height: 1.5rem;\n}\n\n.p-galleria-close-button:hover {\n    background: ").concat(dt('galleria.close.hover.background'), ";\n    color: ").concat(dt('galleria.close.hover.color'), ";\n}\n\n.p-galleria-close-button:focus-visible {\n    outline: ").concat(dt('focus.ring.width'), " ").concat(dt('focus.ring.style'), " ").concat(dt('focus.ring.color'), ";\n    outline-offset: ").concat(dt('focus.ring.offset'), ";\n}\n\n.p-galleria-mask .p-galleria-navigate-button {\n    position: fixed;\n    top: 50%;\n    margin-top: -0.5rem;\n}\n\n.p-galleria-enter-active {\n    transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-galleria-leave-active {\n    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.p-galleria-enter-from,\n.p-galleria-leave-to {\n    opacity: 0;\n    transform: scale(0.7);\n}\n\n.p-galleria-enter-active .p-galleria-navigate-button {\n    opacity: 0;\n}\n\n.p-items-hidden .p-galleria-thumbnail-item {\n    visibility: hidden;\n}\n\n.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {\n    visibility: visible;\n}\n");
    };
    var classes = {
      mask: function mask(_ref2) {
        var instance = _ref2.instance;
        return ['p-galleria-mask p-component-overlay p-component-overlay-enter', {
          'p-ripple-disabled': instance.$primevue.config.ripple === false
        }];
      },
      root: function root(_ref3) {
        var instance = _ref3.instance;
        var thumbnailsPosClass = instance.$attrs.showThumbnails && instance.getPositionClass('p-galleria-thumbnails', instance.$attrs.thumbnailsPosition);
        var indicatorPosClass = instance.$attrs.showIndicators && instance.getPositionClass('p-galleria-indicators', instance.$attrs.indicatorsPosition);
        return ['p-galleria p-component', {
          'p-galleria-fullscreen': instance.$attrs.fullScreen,
          'p-galleria-inset-indicators': instance.$attrs.showIndicatorsOnItem,
          'p-galleria-hover-navigators': instance.$attrs.showItemNavigatorsOnHover && !instance.$attrs.fullScreen
        }, thumbnailsPosClass, indicatorPosClass];
      },
      closeButton: 'p-galleria-close-button',
      closeIcon: 'p-galleria-close-icon',
      header: 'p-galleria-header',
      content: 'p-galleria-content',
      footer: 'p-galleria-footer',
      itemsContainer: 'p-galleria-items-container',
      items: 'p-galleria-items',
      previousItemButton: function previousItemButton(_ref4) {
        var instance = _ref4.instance;
        return ['p-galleria-prev-button p-galleria-navigate-button', {
          'p-disabled': instance.isNavBackwardDisabled()
        }];
      },
      previousItemIcon: 'p-galleria-prev-icon',
      item: 'p-galleria-item',
      nextItemButton: function nextItemButton(_ref5) {
        var instance = _ref5.instance;
        return ['p-galleria-next-button p-galleria-navigate-button', {
          'p-disabled': instance.isNavForwardDisabled()
        }];
      },
      nextItemIcon: 'p-galleria-next-icon',
      caption: 'p-galleria-caption',
      indicatorList: 'p-galleria-indicator-list',
      indicator: function indicator(_ref6) {
        var instance = _ref6.instance,
          index = _ref6.index;
        return ['p-galleria-indicator', {
          'p-galleria-indicator-active': instance.isIndicatorItemActive(index)
        }];
      },
      indicatorButton: 'p-galleria-indicator-button',
      thumbnails: 'p-galleria-thumbnails',
      thumbnailContent: 'p-galleria-thumbnails-content',
      previousThumbnailButton: function previousThumbnailButton(_ref7) {
        var instance = _ref7.instance;
        return ['p-galleria-thumbnail-prev-button', {
          'p-disabled': instance.isNavBackwardDisabled()
        }];
      },
      previousThumbnailIcon: 'p-galleria-thumbnail-prev-icon',
      thumbnailItemsContainer: 'p-galleria-thumbnails-viewport',
      thumbnailItems: 'p-galleria-thumbnail-items',
      thumbnailItem: function thumbnailItem(_ref8) {
        var instance = _ref8.instance,
          index = _ref8.index,
          activeIndex = _ref8.activeIndex;
        return ['p-galleria-thumbnail-item', {
          'p-galleria-thumbnail-item-current': activeIndex === index,
          'p-galleria-thumbnail-item-active': instance.isItemActive(index),
          'p-galleria-thumbnail-item-start': instance.firstItemAciveIndex() === index,
          'p-galleria-thumbnail-item-end': instance.lastItemActiveIndex() === index
        }];
      },
      thumbnail: 'p-galleria-thumbnail',
      nextThumbnailButton: function nextThumbnailButton(_ref9) {
        var instance = _ref9.instance;
        return ['p-galleria-thumbnail-next-button', {
          'p-disabled': instance.isNavForwardDisabled()
        }];
      },
      nextThumbnailIcon: 'p-galleria-thumbnail-next-icon'
    };
    var GalleriaStyle = BaseStyle__default["default"].extend({
      name: 'galleria',
      theme: theme,
      classes: classes
    });

    return GalleriaStyle;

})(primevue.base.style);
