/*
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","../../Color","../../core/lang","../../core/accessorSupport/decorators/property","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/enumeration","../../core/accessorSupport/decorators/subclass","./ColorRamp"],(function(o,r,e,t,l,i,s,p,c){"use strict";var n;let a=n=function(r){function e(o){var e;return(e=r.call(this,o)||this).algorithm=null,e.fromColor=null,e.toColor=null,e.type="algorithmic",e}return o._inheritsLoose(e,r),e.prototype.clone=function(){return new n({fromColor:t.clone(this.fromColor),toColor:t.clone(this.toColor),algorithm:this.algorithm})},e}(c);r.__decorate([s.enumeration({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],a.prototype,"algorithm",void 0),r.__decorate([l.property({type:e,json:{type:[i.Integer],write:!0}})],a.prototype,"fromColor",void 0),r.__decorate([l.property({type:e,json:{type:[i.Integer],write:!0}})],a.prototype,"toColor",void 0),r.__decorate([l.property({type:["algorithmic"]})],a.prototype,"type",void 0),a=n=r.__decorate([p.subclass("esri.rest.support.AlgorithmicColorRamp")],a);return a}));
