var __extends=this&&this.__extends||function(){var t=function(e,o){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))t[o]=e[o]};return t(e,o)};return function(e,o){if(typeof o!=="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}();import{T as TableConfig,d as decodeFields,S as Space}from"./table-config-5c917348.js";import{c as capitalize}from"./string-3065a411.js";var MembershipConfig=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.decode=function(t){var o=Object.assign(Object.create(e.prototype),t);o.fields=decodeFields(o.fields);o.space=Space.decode(o.space);return o};e.prototype.roleNameCapital=function(){return capitalize(this.roleName)};return e}(TableConfig);export{MembershipConfig as M};