Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/utils/canBeDuplicated",["module","exports","require","../components/layout-data-items/hasDropZoneChild","../config/constants/layoutDataItemTypes","../utils/getWidget"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a,r){switch(t.type){case o.LAYOUT_DATA_ITEM_TYPES.collection:return!0;case o.LAYOUT_DATA_ITEM_TYPES.container:case o.LAYOUT_DATA_ITEM_TYPES.form:case o.LAYOUT_DATA_ITEM_TYPES.row:return!(0,n.default)(t,a);case o.LAYOUT_DATA_ITEM_TYPES.fragment:{const o=e[t.config.fragmentEntryLinkId].editableValues.portletId,u=o&&(0,i.default)(r,o);return(!u||u.instanceable)&&!(0,n.default)(t,a)}default:return!1}};var n=r(a("../components/layout-data-items/hasDropZoneChild")),o=a("../config/constants/layoutDataItemTypes"),i=r(a("../utils/getWidget"));function r(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=canBeDuplicated.js.map