Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/app/thunks/addFragmentComposition",["module","exports","require","../actions/addFragmentComposition","../services/FragmentService"],(function(e,n,t){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function addFragment({description:e,fragmentCollectionId:n,itemId:t,name:a,previewImageURL:r,saveInlineContent:d,saveMappingConfiguration:s}){return(m,u)=>o.default.addFragmentComposition({description:e,fragmentCollectionId:n,itemId:t,name:a,onNetworkStatus:m,previewImageURL:r,saveInlineContent:d,saveMappingConfiguration:s,segmentsExperienceId:u().segmentsExperienceId}).then((e=>{m((0,i.default)({fragmentCollectionId:n,fragmentComposition:e}))}))};var i=_interopRequireDefault(t("../actions/addFragmentComposition")),o=_interopRequireDefault(t("../services/FragmentService"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=addFragmentComposition.js.map