Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/utils/hasRequiredInputChild",["module","exports","require","../config/constants/layoutDataItemTypes","./getDescendantIds","./getResponsiveConfig","./isRequiredFormInput"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({checkHidden:e=!1,formFields:t,fragmentEntryLinks:n,itemId:s,layoutData:d,selectedViewportSize:u=null}){return(0,o.getDescendantIds)(d,s).some((o=>{const s=d.items[o];return s.type===i.LAYOUT_DATA_ITEM_TYPES.fragment&&((!e||a(d,o,u))&&(0,r.isRequiredFormInput)(s,n,t))}))};var i=n("../config/constants/layoutDataItemTypes"),o=n("./getDescendantIds"),s=n("./getResponsiveConfig"),r=n("./isRequiredFormInput");function a(e,t,n){const i=null==e?void 0:e.items[t];if(!i)return!1;return"none"===(0,s.getResponsiveConfig)(i.config,n).styles.display||a(e,i.parentId,n)}}}));
//# sourceMappingURL=hasRequiredInputChild.js.map