this.primevue = this.primevue || {};
this.primevue.divider = this.primevue.divider || {};
this.primevue.divider.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-divider-horizontal {\n    display: flex;\n    width: 100%;\n    position: relative;\n    align-items: center;\n    margin: 1rem 0;\n    padding: 0 1rem;\n}\n\n.p-divider-horizontal:before {\n    position: absolute;\n    display: block;\n    top: 50%;\n    left: 0;\n    width: 100%;\n    content: \"\";\n    border-top: 1px solid ".concat(dt('divider.border.color'), ";\n}\n\n.p-divider-horizontal .p-divider-content {\n    padding: 0 0.5rem;\n}\n\n.p-divider-vertical {\n    min-height: 100%;\n    margin: 0 1rem;\n    display: flex;\n    position: relative;\n    justify-content: center;\n    margin: 0 1rem;\n    padding: 1rem 0;\n}\n\n.p-divider-vertical:before {\n    position: absolute;\n    display: block;\n    top: 0;\n    left: 50%;\n    height: 100%;\n    content: \"\";\n    border-left: 1px solid ").concat(dt('divider.border.color'), ";\n}\n\n.p-divider.p-divider-vertical .p-divider-content {\n    padding: 0.5rem 0;\n}\n\n.p-divider-content {\n    z-index: 1;\n    background: ").concat(dt('divider.content.background'), ";\n    color: ").concat(dt('divider.content.color'), ";\n}\n\n.p-divider-solid.p-divider-horizontal:before {\n    border-top-style: solid;\n}\n\n.p-divider-solid.p-divider-vertical:before {\n    border-left-style: solid;\n}\n\n.p-divider-dashed.p-divider-horizontal:before {\n    border-top-style: dashed;\n}\n\n.p-divider-dashed.p-divider-vertical:before {\n    border-left-style: dashed;\n}\n\n.p-divider-dotted.p-divider-horizontal:before {\n    border-top-style: dotted;\n}\n\n.p-divider-dotted.p-divider-vertical:before {\n    border-left-style: dotted;\n}\n");
    };

    /* Position */
    var inlineStyles = {
      root: function root(_ref2) {
        var props = _ref2.props;
        return {
          justifyContent: props.layout === 'horizontal' ? props.align === 'center' || props.align === null ? 'center' : props.align === 'left' ? 'flex-start' : props.align === 'right' ? 'flex-end' : null : null,
          alignItems: props.layout === 'vertical' ? props.align === 'center' || props.align === null ? 'center' : props.align === 'top' ? 'flex-start' : props.align === 'bottom' ? 'flex-end' : null : null
        };
      }
    };
    var classes = {
      root: function root(_ref3) {
        var props = _ref3.props;
        return ['p-divider p-component', 'p-divider-' + props.layout, 'p-divider-' + props.type, {
          'p-divider-left': props.layout === 'horizontal' && (!props.align || props.align === 'left')
        }, {
          'p-divider-center': props.layout === 'horizontal' && props.align === 'center'
        }, {
          'p-divider-right': props.layout === 'horizontal' && props.align === 'right'
        }, {
          'p-divider-top': props.layout === 'vertical' && props.align === 'top'
        }, {
          'p-divider-center': props.layout === 'vertical' && (!props.align || props.align === 'center')
        }, {
          'p-divider-bottom': props.layout === 'vertical' && props.align === 'bottom'
        }];
      },
      content: 'p-divider-content'
    };
    var DividerStyle = BaseStyle__default["default"].extend({
      name: 'divider',
      theme: theme,
      classes: classes,
      inlineStyles: inlineStyles
    });

    return DividerStyle;

})(primevue.base.style);
