code: def make_catalog_comp_dict(**kwargs):
      
      library_yamlfile = kwargs.pop('library', 'models/library.yaml')
      csm = kwargs.pop('CatalogSourceManager', CatalogSourceManager(**kwargs))
      if library_yamlfile is None or library_yamlfile == 'None':
          yamldict = {}
      else:
          yamldict = yaml.safe_load(open(library_yamlfile))
      catalog_info_dict, comp_info_dict = csm.make_catalog_comp_info_dict(yamldict)
      return dict(catalog_info_dict=catalog_info_dict,
                  comp_info_dict=comp_info_dict,
                  CatalogSourceManager=csm)
docs: Build and return the information about the catalog components