/*
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/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/subclass","../core/support/OwningCollection","./Layer","./mixins/BlendLayer","./mixins/ScaleRangeLayer","../support/GraphicsCollection","../symbols/support/ElevationInfo"],(function(e,r,o,t,i,n,s,p,a,c,l,y,h){"use strict";let d=function(r){function o(e){var o;return(o=r.call(this,e)||this).elevationInfo=null,o.graphics=new y.GraphicsCollection,o.screenSizePerspectiveEnabled=!0,o.type="graphics",o.internal=!1,o}e._inheritsLoose(o,r);var t=o.prototype;return t.destroy=function(){this.removeAll(),this.graphics.destroy()},t.add=function(e){return this.graphics.add(e),this},t.addMany=function(e){return this.graphics.addMany(e),this},t.removeAll=function(){return this.graphics.removeAll(),this},t.remove=function(e){this.graphics.remove(e)},t.removeMany=function(e){this.graphics.removeMany(e)},t.on=function(e,o){return r.prototype.on.call(this,e,o)},t.graphicChanged=function(e){this.emit("graphic-update",e)},o}(c.BlendLayer(l.ScaleRangeLayer(a)));r.__decorate([o.property({type:h.default})],d.prototype,"elevationInfo",void 0),r.__decorate([o.property(p.owningCollectionProperty(y.GraphicsCollection,"graphics"))],d.prototype,"graphics",void 0),r.__decorate([o.property({type:["show","hide"]})],d.prototype,"listMode",void 0),r.__decorate([o.property()],d.prototype,"screenSizePerspectiveEnabled",void 0),r.__decorate([o.property({readOnly:!0})],d.prototype,"type",void 0),r.__decorate([o.property({constructOnly:!0})],d.prototype,"internal",void 0),d=r.__decorate([s.subclass("esri.layers.GraphicsLayer")],d);return d}));
