var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();System.register(["./p-58f2f536.system.js","./p-5b6828db.system.js","./p-fa32c614.system.js","./p-ac291838.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.B},function(t){n=t.h},function(t){r=t.r},function(){}],execute:function(){var o=function(t){__extends(e,t);function e(e,n,r,o,i,s,u){if(u===void 0){u=false}var c=t.call(this,e,"reference")||this;c.title=n;c.titleField=r;c.imageField=o;c.otherCollection=i;c.fields=s;c.isSingle=u;return c}e.decode=function(t){return Object.assign(Object.create(e.prototype),t)};e.prototype.showPreview=function(){this.preview=true;return this};e.prototype.getDisplayValue=function(t){return t};return e}(e);t("R",o);o.type="reference";var i=function(t,e,r,o,i,s){return n("dvn-field-input-date",{disabled:o,field:t,errors:r,onChange:function(e){return i(t,e)},onBlur:function(){return s(t)},value:e})};r("date",i)}}}));