var __spreadArray=this&&this.__spreadArray||function(t,r,e){if(e||arguments.length===2)for(var i=0,s=r.length,n;i<s;i++){if(n||!(i in r)){if(!n)n=Array.prototype.slice.call(r,0,i);n[i]=r[i]}}return t.concat(n||Array.prototype.slice.call(r))};System.register([],(function(t){"use strict";return{execute:function(){var r=function(){function t(t,r){this.id=t;this.type=r}t.decode=function(r){return Object.assign(Object.create(t.prototype),r)};t.prototype.getDisplayValue=function(t){return t};t.prototype.addInterceptor=function(t,r){var e;if(!this.interceptors){this.interceptors={}}this.interceptors=Object.assign(Object.assign({},this.interceptors),(e={},e[t]=__spreadArray(__spreadArray([],this.interceptors[t]||[],true),[r],false),e));return this};t.prototype.require=function(){this.required=true;return this};t.prototype.disable=function(){this.disabled=true;return this};t.prototype.hide=function(){this.visible=false;return this};t.prototype.setVisibility=function(t){this.visible=t;return this};t.prototype.setValue=function(t){this.value=t;return this};t.prototype.setErrorTitle=function(t){this.errorTitle=t;return this};return t}();t("B",r)}}}));