"use strict";exports.__esModule = true;exports.getModalTheme = void 0;var _ThemeFactory = require("../../lib/theming/ThemeFactory");


var getModalTheme = exports.getModalTheme = function getModalTheme(contextTheme, propsTheme) {if (propsTheme === void 0) {propsTheme = {};}
  var theme = _ThemeFactory.ThemeFactory.create(propsTheme, contextTheme);
  return _ThemeFactory.ThemeFactory.create(
    propsTheme,
    _ThemeFactory.ThemeFactory.create(
      {
        loaderBorderRadius: theme.modalBorderRadius
      },
      theme
    )
  );
};