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