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