function t(t,e){if("string"==typeof e){const n=e.trim().split(/\s+/);for(let e=0,{length:r}=n;e<r;e+=1)t[n[e]]=!0;return t}return Object.assign(t,e)}const e=Object.defineProperties(Object.create(null),{add:{value(e){return t(this,e)}},invert:{value(){const t=Object.keys(this);for(let e=0,{length:n}=t;e<n;e+=1){const n=t[e];this[n]=!this[n]}return this}},toString:{value(){let t="";const e=Object.keys(this);for(let n=0,{length:r}=e;n<r;n+=1){const r=e[n];this[r]&&(t+=(t.length?" ":"")+r)}return t}}});function n(n){return t(Object.create(e),n)}export{n as c};
