var __extends=this&&this.__extends||function(){var t=function(n,e){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))t[e]=n[e]};return t(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");t(n,e);function r(){this.constructor=n}n.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();System.register([],(function(t){"use strict";return{execute:function(){t("g",r);var n=function(t,n){var e=t;n.split(".").forEach((function(t){if(!e){return}e=e[t]}));return e};var e=t("a",(function(t,e,r){var o;if((r==="name"||(e===null||e===void 0?void 0:e.id)==="name")&&!t.name){return"".concat(t.user.firstName," ").concat(t.user.lastName)}if(r===null||r===void 0?void 0:r.includes(".")){return n(t,r)}else if((o=e===null||e===void 0?void 0:e.id)===null||o===void 0?void 0:o.includes(".")){return n(t,e.id)}if(!e){return t[r]}return t[e.id]}));function r(t,n){return t[n]}var o=function(){function t(){}t.decode=function(n){return Object.assign(Object.create(t.prototype),n)};return t}();var i=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}n.decode=function(t){return Object.assign(Object.create(n.prototype),t)};n.prototype.toObject=function(){return JSON.parse(JSON.stringify(this))};n.prototype.toDBRef=function(t){return{_ref:t,_id:this._id}};return n}(o);t("D",i);i.decodeList=function(t){if(t===void 0){t=[]}return t.map((function(t){return i.decode(t)}))}}}}));