Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/app/selectors/selectAvailablePanels",["module","exports","require","../config/constants/viewportSizes"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function({permissions:t,selectedViewportSize:n}){const i=["browser","comments","page-content"];return t.LOCKED_SEGMENTS_EXPERIMENT||!t.UPDATE&&!t.UPDATE_LAYOUT_LIMITED&&!t.UPDATE_LAYOUT_BASIC||n!==o.VIEWPORT_SIZES.desktop?e.map((e=>e.filter((e=>i.includes(e))))).filter((e=>e.length)):e}};var o=n("../config/constants/viewportSizes")}));
//# sourceMappingURL=selectAvailablePanels.js.map