'use strict';
import { setMemoryCache, tryGetFromMemoryCache } from '../../../../../fd-toolbox/server/cachings/fd-memory-cache.js';

var __defProp=Object['defineProperty'],__name=(_0x41c024,_0x496d74)=>__defProp(_0x41c024,'name',{'value':_0x496d74,'configurable':!![]});const permissionChecker='PermissionChecker';function setPermissionCheckerForResource(_0x4e7b57,_0x49ff58){setMemoryCache(permissionChecker+'_'+_0x4e7b57,_0x49ff58);}__name(setPermissionCheckerForResource,'setPermissionCheckerForResource');async function getResourcePermissionChecker(_0x29a440){const _0x549678=tryGetFromMemoryCache(permissionChecker+'_'+_0x29a440);return _0x549678;}__name(getResourcePermissionChecker,'getResourcePermissionChecker');

export { getResourcePermissionChecker, permissionChecker, setPermissionCheckerForResource };
