Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/reducers/collectionsReducer",["module","exports","require","../actions/types"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=[],t){switch(t.type){case n.ADD_FRAGMENT_COMPOSITION:{const o=t.fragmentComposition;return e.find((e=>e.fragmentCollectionId===o.fragmentCollectionId))?e:[...e,{fragmentCollectionId:o.fragmentCollectionId,name:o.fragmentCollectionName}]}default:return e}};var n=o("../actions/types")}));
//# sourceMappingURL=collectionsReducer.js.map