Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/app/utils/hasRestrictedParent",["module","exports","require","../config/constants/layoutDataItemTypes","../config/index","./formIsRestricted"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.hasRestrictedParent=function hasRestrictedParent(e,t){var r;const s=new Set(i.config.restrictedItemIds);if(e.type===n.LAYOUT_DATA_ITEM_TYPES.form)return(0,o.formIsRestricted)(e);if(e.type===n.LAYOUT_DATA_ITEM_TYPES.collection)return s.has(e.itemId);const a=null==t||null===(r=t.items)||void 0===r?void 0:r[e.parentId];if(!a)return!1;return hasRestrictedParent(a,t)};var n=r("../config/constants/layoutDataItemTypes"),i=r("../config/index"),o=r("./formIsRestricted")}));
//# sourceMappingURL=hasRestrictedParent.js.map