Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/app/utils/getWidget",["module","exports","require"],(function(e,t,i){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function getWidget(e,t){let i=null;for(let o=0;o<(null==e?void 0:e.length);o++){const{categories:r=[],portlets:l=[]}=e[o],n=l.find((e=>e.portletId===t)),d=getWidget(r,t);if(i=d||n,i)return i}return i}}));
//# sourceMappingURL=getWidget.js.map