System.register(["./p-5b6828db.system.js"],(function(e){"use strict";var n,r,t;return{setters:[function(e){n=e.r;r=e.c;t=e.h}],execute:function(){var i=e("dvn_field_input_range",function(){function e(e){n(this,e);this.change=r(this,"change",7)}e.prototype.render=function(){var e=this,n=e.disabled,r=e.errors,i=e.field,u=e.value;var a=i.preview;var d=r&&r.length>0;var s=d?r[0]:undefined;var l=[];for(var v=i.min;v<=i.max;v+=i.step){l.push(v)}if(a){return t("div",null,u,t("div",null,s))}if(i.inputType==="select"){return t("dvn-select",{disabled:n||i.disabled,feedback:d?"error":undefined,leaned:true,value:u},l.map((function(e){return t("dvn-select-option",{value:""+e},e)})))}if(i.inputType==="stars"){return t("dvn-rating-stars",{disabled:n||i.disabled,options:l,value:Number(u)})}return t("dvn-radio-group",{disabled:n||i.disabled,inline:true,leaned:true,options:l.map((function(e){return{label:""+e,value:""+e}})),value:u})};return e}())}}}));