'use strict';
import { getResourceMeta } from '../services/metas.js';
import { metaQueryParams } from '../../../../fd-toolbox/constants/meta-query-params.js';
import { apiOkResponse } from '../web/responses.js';

var __defProp=Object['defineProperty'],__name=(_0x117822,_0x48193b)=>__defProp(_0x117822,'name',{'value':_0x48193b,'configurable':!![]});async function metaGetRoute(_0x155467){const _0x331a4e=new URL(_0x155467['url'])['searchParams']['get'](metaQueryParams['resource']),_0x52f636=await getResourceMeta(_0x331a4e);return apiOkResponse(_0x52f636);}__name(metaGetRoute,'metaGetRoute');

export { metaGetRoute };
