'use strict';
import { metaQueryParams } from '../../../fd-toolbox/constants/meta-query-params.js';
import { routes } from '../../../fd-toolbox/routing/routes.js';
import { buildUrl } from '../../../fd-toolbox/url/urls.js';

var __defProp=Object['defineProperty'],__name=(_0x53d6f5,_0x20b1a3)=>__defProp(_0x53d6f5,'name',{'value':_0x20b1a3,'configurable':!![]});function getEditUrl(_0x1ac8f8,_0x129339,_0x1d65c,_0x539b2e){return buildUrl(routes['view'],getBaseQueryParams(_0x1ac8f8,_0x129339,_0x1d65c),_0x539b2e);}__name(getEditUrl,'getEditUrl');function getListUrl(_0x3b14bd,_0x1ced93,_0x5c8be6){return buildUrl(routes['view'],getBaseQueryParams(_0x3b14bd,void(0xd85*-0x2+0xea9+0xc61),_0x1ced93),_0x5c8be6);}__name(getListUrl,'getListUrl');function getBaseQueryParams(_0x23e86e,_0x587e5d,_0x35823d){const _0xa2cc86=[],_0x444a41={'name':metaQueryParams['resource'],'value':_0x23e86e};_0xa2cc86['push'](_0x444a41);if(_0x587e5d){const _0x185b87={'name':metaQueryParams['id'],'value':_0x587e5d};_0xa2cc86['push'](_0x185b87);}return _0x35823d&&_0xa2cc86['push'](..._0x35823d),_0xa2cc86;}__name(getBaseQueryParams,'getBaseQueryParams');

export { getEditUrl, getListUrl };
