"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get Notification () {
        return Notification;
    },
    get NotificationNewHope () {
        return NotificationNewHope;
    },
    get NotificationsProvider () {
        return NotificationsProvider;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
var _Notificationconfig = require("./Notification.config");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.notificationConfig, _Notificationconfig.config);
var NotificationNewHope = (0, _styledcomponents.component)(mergedConfig);
var Notification = NotificationNewHope;
var NotificationsProvider = function(param) {
    var children = param.children, _param_frame = param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, placement = param.placement, UNSAFE_SSR_ENABLED = param.UNSAFE_SSR_ENABLED;
    return /*#__PURE__*/ _react.default.createElement(_styledcomponents.NotificationsProvider, {
        config: mergedConfig,
        frame: frame,
        placement: placement,
        UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
    }, children);
};
