this.primevue = this.primevue || {};
this.primevue.tieredmenu = this.primevue.tieredmenu || {};
this.primevue.tieredmenu.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-tieredmenu {\n    padding: 0.25rem 0.25rem;\n    background: ".concat(dt('tieredmenu.background'), ";\n    color: ").concat(dt('tieredmenu.color'), ";\n    border: 1px solid ").concat(dt('tieredmenu.border.color'), ";\n    border-radius: ").concat(dt('rounded.base'), ";\n    min-width: 12.5rem;\n}\n\n.p-tieredmenu-root-list,\n.p-tieredmenu-submenu {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n    outline: 0 none;\n}\n\n.p-tieredmenu-submenu {\n    position: absolute;\n    min-width: 100%;\n    z-index: 1;\n    padding: 0.25rem 0.25rem;\n    background: ").concat(dt('tieredmenu.background'), ";\n    color: ").concat(dt('tieredmenu.color'), ";\n    border: 1px solid ").concat(dt('tieredmenu.border.color'), ";\n    border-radius: ").concat(dt('rounded.base'), ";\n    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n}\n\n.p-tieredmenu-item {\n    position: relative;\n    margin: 2px 0;\n}\n\n.p-tieredmenu-item:first-child {\n    margin-top: 0;\n}\n\n.p-tieredmenu-item:last-child {\n    margin-bottom: 0;\n}\n\n.p-tieredmenu-item-content {\n    transition: background-color ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ";\n    border-radius: ").concat(dt('rounded.sm'), ";\n    color: ").concat(dt('tieredmenu.item.color'), ";\n}\n\n.p-tieredmenu-item-link {\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    text-decoration: none;\n    overflow: hidden;\n    position: relative;\n    color: inherit;\n    padding: 0.5rem 0.75rem;\n    user-select: none;\n}\n\n.p-tieredmenu-item-label {\n    line-height: 1;\n}\n\n.p-tieredmenu-item-icon {\n    color: ").concat(dt('tieredmenu.item.icon.color'), ";\n    margin-right: 0.5rem;\n}\n\n.p-tieredmenu-submenu-icon {\n    color: ").concat(dt('tieredmenu.item.icon.color'), ";\n    margin-left: auto;\n    font-size: 0.875rem;\n    width: 0.875rem;\n    height: 0.875rem;\n}\n\n.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content {\n    color: ").concat(dt('tieredmenu.item.focus.color'), ";\n    background: ").concat(dt('tieredmenu.item.focus.background'), ";\n}\n\n.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-item-icon,\n.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-submenu-icon {\n    color: ").concat(dt('tieredmenu.item.icon.focus.color'), ";\n}\n\n.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover {\n    color: ").concat(dt('tieredmenu.item.focus.color'), ";\n    background: ").concat(dt('tieredmenu.item.focus.background'), ";\n}\n\n.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-item-icon,\n.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-submenu-icon {\n    color: ").concat(dt('tieredmenu.item.icon.focus.color'), ";\n}\n\n.p-tieredmenu-item-active > .p-tieredmenu-item-content {\n    color: ").concat(dt('tieredmenu.item.focus.color'), ";\n    background: ").concat(dt('tieredmenu.item.focus.background'), ";\n}\n\n.p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-item-icon,\n.p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-submenu-icon {\n    color: ").concat(dt('tieredmenu.item.icon.focus.color'), ";\n}\n\n.p-tieredmenu-separator {\n    border-top: 1px solid ").concat(dt('tieredmenu.separator.border.color'), ";\n    margin: 2px 0;\n}\n\n.p-tieredmenu-overlay {\n    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n}\n\n.p-tieredmenu-enter-from,\n.p-tieredmenu-leave-active {\n    opacity: 0;\n}\n\n.p-tieredmenu-enter-active {\n    transition: opacity 250ms;\n}\n");
    };
    var inlineStyles = {
      submenu: function submenu(_ref2) {
        var instance = _ref2.instance,
          processedItem = _ref2.processedItem;
        return {
          display: instance.isItemActive(processedItem) ? 'block' : 'none'
        };
      }
    };
    var classes = {
      root: function root(_ref3) {
        var instance = _ref3.instance,
          props = _ref3.props;
        return ['p-tieredmenu p-component', {
          'p-tieredmenu-overlay': props.popup,
          'p-ripple-disabled': instance.$primevue.config.ripple === false
        }];
      },
      start: 'p-tieredmenu-start',
      rootList: 'p-tieredmenu-root-list',
      item: function item(_ref4) {
        var instance = _ref4.instance,
          processedItem = _ref4.processedItem;
        return ['p-tieredmenu-item', {
          'p-tieredmenu-item-active': instance.isItemActive(processedItem),
          'p-focus': instance.isItemFocused(processedItem),
          'p-disabled': instance.isItemDisabled(processedItem)
        }];
      },
      itemContent: 'p-tieredmenu-item-content',
      itemLink: 'p-tieredmenu-item-link',
      itemIcon: 'p-tieredmenu-item-icon',
      itemLabel: 'p-tieredmenu-item-label',
      submenuIcon: 'p-tieredmenu-submenu-icon',
      submenu: 'p-tieredmenu-submenu',
      separator: 'p-tieredmenu-separator',
      end: 'p-tieredmenu-end'
    };
    var TieredMenuStyle = BaseStyle__default["default"].extend({
      name: 'tieredmenu',
      theme: theme,
      classes: classes,
      inlineStyles: inlineStyles
    });

    return TieredMenuStyle;

})(primevue.base.style);
