'use strict';
import { resourceIds } from '../../../../../fd-toolbox/constants/resource-id-constants.js';
import { getAllInternalResourceMetas } from '../../resources/internal-resource-meta.js';

var __defProp=Object['defineProperty'],__name=(_0x51a69e,_0x5dd9a4)=>__defProp(_0x51a69e,'name',{'value':_0x5dd9a4,'configurable':!![]});async function getResourceIds(){const _0xe4c6fd=await getAllInternalResourceMetas(),_0x109db8=Array['from'](Object['values'](_0xe4c6fd))['map'](_0xe3ab19=>_0xe3ab19['id']);return _0x109db8['filter'](_0x12e2d9=>_0x12e2d9!==resourceIds['noPermissionResource']&&_0x12e2d9!==resourceIds['customPermissionResource']);}__name(getResourceIds,'getResourceIds');async function getAllResources(){const _0x58fe93={},_0x3180f7=await getAllInternalResourceMetas();return Object['values'](_0x3180f7)['forEach'](_0x197b55=>_0x58fe93[_0x197b55['name']]=_0x197b55['id']),_0x58fe93;}__name(getAllResources,'getAllResources');

export { getAllResources, getResourceIds };
