Liferay.Loader.define("knowledge-base-web@5.0.98/admin/js/utils/getSearchItems",["module","exports","require"],(function(e,r,d){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function getSearchItems(e){if(e)return e.reduce((function reducer(e,r){return e.push({href:r.href,id:r.id,name:r.name,type:r.type}),r.children&&r.children.reduce(reducer,e),e}),[])}}));
//# sourceMappingURL=getSearchItems.js.map