/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../chunks/_rollupPluginBabelHelpers","../../chunks/tslib.es6","../../core/jsonMap","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass"],(function(e,r,t,o,s,n,i,p,u){"use strict";var c;const a=new t.JSONMap({slider:"slider",picker:"picker"});let l=c=function(r){function t(e){var t;return(t=r.call(this,e)||this).interactionMode=null,t.numStops=null,t.stopInterval=null,t}return e._inheritsLoose(t,r),t.prototype.clone=function(){return new c({interactionMode:this.interactionMode,numStops:this.numStops,stopInterval:this.stopInterval})},t}(o.JSONSupport);r.__decorate([s.property({type:a.apiValues,nonNullable:!0,json:{type:a.jsonValues,default:null,read:{reader:a.read},write:{isRequired:!0,writer:a.write}}})],l.prototype,"interactionMode",void 0),r.__decorate([s.property({type:Number,json:{read:{source:"numberOfStops"},write:{target:"numberOfStops",overridePolicy(){const e=null!=this.stopInterval;return{enabled:!e,isRequired:!e}}}}})],l.prototype,"numStops",void 0),r.__decorate([s.property({type:Number,json:{write:{overridePolicy(){return{isRequired:null==this.numStops}}}}})],l.prototype,"stopInterval",void 0),l=c=r.__decorate([u.subclass("esri.webdoc.widgets.Range")],l);return l}));
