Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.141/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 duplicateItem({itemId:e,selectItem:t=(()=>{})}){return(a,n)=>{r.default.duplicateItem({itemId:e,onNetworkStatus:a,segmentsExperienceId:n().segmentsExperienceId}).then((({duplicatedFragmentEntryLinks:e,duplicatedItemId:r,layoutData:n})=>{a((0,i.default)({addedFragmentEntryLinks:e,itemId:r,layoutData:n})),r&&t(r)}))}};var i=_interopRequireDefault(a("../actions/duplicateItem")),r=_interopRequireDefault(a("../services/FragmentService"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=duplicateItem.js.map