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