/*
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/Accessor","../../core/Collection","../../core/collectionUtils","../../core/timeUtils","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass"],(function(e,t,o,r,s,i,c,n,l,p,a,u){"use strict";let d=function(t){function r(){var e;return(e=t.call(this,{})||this).color=new o([50,50,50,.7]),e.intervalOptions=new s([c.convertTime(15,"minutes","milliseconds"),c.convertTime(30,"minutes","milliseconds"),c.convertTime(1,"hours","milliseconds"),c.convertTime(2,"hours","milliseconds"),c.convertTime(3,"hours","milliseconds")]),e.interval=e.intervalOptions.getItemAt(0),e}return e._inheritsLoose(r,t),e._createClass(r,[{key:"intervalOptions",set:function(e){this._set("intervalOptions",i.referenceSetter(e,this._get("intervalOptions")))}}]),r}(r);t.__decorate([n.property({type:o})],d.prototype,"color",void 0),t.__decorate([n.property()],d.prototype,"interval",void 0),t.__decorate([n.property({type:s})],d.prototype,"intervalOptions",null),d=t.__decorate([u.subclass("esri.widgets.ShadowCast.DiscreteOptions")],d);return d}));
