Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/app/utils/getResponsiveConfig",["module","exports","require","../config/constants/viewportSizes","../utils/isNullOrUndefined"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.getResponsiveConfig=function getResponsiveConfig(t,o){const n=e.indexOf(o);let i={styles:{}};Object.keys(t).filter((t=>!e.includes(t))).forEach((e=>{i[e]=t[e]}));for(let o=0;o<=n;o++)i=mergeDeep(i,t[e[o]]||{});return i};var n=o("../config/constants/viewportSizes"),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o("../utils/isNullOrUndefined"));const e=[n.VIEWPORT_SIZES.desktop,n.VIEWPORT_SIZES.tablet,n.VIEWPORT_SIZES.landscapeMobile,n.VIEWPORT_SIZES.portraitMobile];function mergeDeep(...e){const t={};return e.forEach((e=>{Object.keys(e).forEach((o=>{"object"==typeof e[o]&&null!==e[o]&&"object"==typeof t[o]&&null!==t[o]?t[o]=mergeDeep(t[o],e[o]):(0,i.default)(e[o])||""===e[o]||(t[o]=e[o])}))})),t}}}));
//# sourceMappingURL=getResponsiveConfig.js.map