Liferay.Loader.define("@liferay/content-dashboard-web@2.0.69/js/components/SidebarPanelInfoView/utils/taxonomiesUtils",["module","exports","require"],(function(e,o,r){window;{Object.defineProperty(o,"__esModule",{value:!0}),o.sortByStrings=o.groupVocabulariesBy=o.getCategoriesCountFromVocabularies=void 0;const e=e=>"string"==typeof e?e.toLowerCase():e,r=e=>e.reduce(((e,{categories:o})=>e+o.length),0);o.getCategoriesCountFromVocabularies=r;const t=({array:o,key:r,value:t})=>o.reduce((([o,a],s)=>((e(s[r])===e(t)?o:a).push(s),[o,a])),[[],[]]);o.groupVocabulariesBy=t;const a=({array:e,key:o})=>e.sort(((e,r)=>{const t=e=>o&&o in e?e[o]:e,a=t(e),s=t(r);return a.localeCompare(s)}));o.sortByStrings=a}}));
//# sourceMappingURL=taxonomiesUtils.js.map