Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/thunks/duplicateItem",["module","exports","require","../actions/duplicateItem","../services/FragmentService"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({itemId:e,selectItem:t=(()=>{})}){return(a,n)=>{i.default.duplicateItem({itemId:e,onNetworkStatus:a,segmentsExperienceId:n().segmentsExperienceId}).then((({duplicatedFragmentEntryLinks:e,duplicatedItemId:i,layoutData:n})=>{a((0,d.default)({addedFragmentEntryLinks:e,itemId:i,layoutData:n})),i&&t(i)}))}};var d=n(a("../actions/duplicateItem")),i=n(a("../services/FragmentService"));function n(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=duplicateItem.js.map