/*
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/Logger","../../../../core/accessorSupport/ensureType","../../../../core/arrayUtils","../../../../core/has","../../../../core/accessorSupport/set","../../../../core/accessorSupport/decorators/subclass","../../engine/webgl/enums","./BaseGraphicContainer","../../../webgl/enums"],(function(e,r,t,s,n,i,o,c,a,l,h){"use strict";let u=function(r){function t(){return r.apply(this,arguments)||this}e._inheritsLoose(t,r);var s=t.prototype;return s.doRender=function(e){e.drawPhase===a.WGLDrawPhase.HIGHLIGHT&&r.prototype.doRender.call(this,e)},s.renderChildren=function(e){if(this.attributeView.bindTextures(e.context),!this.children.some((e=>e.hasData)))return;r.prototype.renderChildren.call(this,e);const{painter:t}=e,s=t.effects.highlight;s.bind(e),e.context.setColorMask(!0,!0,!0,!0),e.context.clear(h.ClearBufferBit.COLOR_BUFFER_BIT),this._renderChildren(e,s.defines.concat(["highlightAll"])),s.draw(e),s.unbind()},t}(l);u=r.__decorate([c.subclass("esri.views.2d.layers.support.HighlightGraphicContainer")],u);return u}));
