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