import r from"@babel/runtime/helpers/slicedToArray";var e=function(r){var e=r.ability,c=r.resource_class,o=r.resource_id,i=void 0===o?"":o;return"".concat(e,"#").concat(c,"#").concat(i)},c=function(e){var c=e.split("#"),o=r(c,3);return{ability:o[0],resource_class:o[1],resource_id:o[2]}};export{c as parsePermission,e as stringifyPermission};
