var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();import{U as User}from"./User-d2ee8b71.js";var BaseModel=function(){function e(){}return e}();var Workspace=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.decode=function(e){return Object.assign(Object.create(t.prototype),e)};return t}(BaseModel);var Product=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.decode=function(e){var r=Object.assign(Object.create(t.prototype),e);if(r.user)r.user=User.decode(r.user);if(r.workspace)r.workspace=Workspace.decode(r.workspace);return r};return t}(BaseModel);export{BaseModel as B,Product as P,Workspace as W};