this.primevue = this.primevue || {};
this.primevue.scrolltop = this.primevue.scrolltop || {};
this.primevue.scrolltop.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-scrolltop {\n    position: fixed;\n    bottom: 20px;\n    right: 20px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: ".concat(dt('scrolltop.background'), ";\n    color: ").concat(dt('scrolltop.color'), ";\n}\n\n.p-scrolltop:hover {\n    background: ").concat(dt('scrolltop.hover.background'), ";\n    color: ").concat(dt('scrolltop.hover.text'), ";\n}\n\n.p-scrolltop-icon {\n    font-size: 1.5rem;\n    width: 1.5rem;\n    height: 1.5rem;\n}\n\n.p-scrolltop-sticky {\n    position: sticky;\n}\n\n.p-scrolltop-sticky {\n    margin-left: auto;\n}\n\n.p-scrolltop-enter-from {\n    opacity: 0;\n}\n\n.p-scrolltop-enter-active {\n    transition: opacity 0.15s;\n}\n\n.p-scrolltop.p-scrolltop-leave-to {\n    opacity: 0;\n}\n\n.p-scrolltop-leave-active {\n    transition: opacity 0.15s;\n}\n\n.p-scrolltop {\n    width: 3rem;\n    height: 3rem;\n    border-radius: 50%;\n    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n    transition: background ").concat(dt('transition.duration'), ", color ").concat(dt('transition.duration'), ", outline-color ").concat(dt('transition.duration'), ";\n    outline-color: transparent;\n}\n");
    };
    var classes = {
      root: function root(_ref2) {
        var props = _ref2.props;
        return ['p-scrolltop p-link p-component', {
          'p-scrolltop-sticky': props.target !== 'window'
        }];
      },
      icon: 'p-scrolltop-icon'
    };
    var ScrollTopStyle = BaseStyle__default["default"].extend({
      name: 'scrolltop',
      theme: theme,
      classes: classes
    });

    return ScrollTopStyle;

})(primevue.base.style);
