/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{AGraphicContainer as e}from"./AGraphicContainer.js";import{renderHighlight as r}from"../support/util.js";class i extends e{renderChildren(e){for(const r of this.children)r.setTransform(e.state);if(super.renderChildren(e),this._updateAttributeView(),this.children.some(e=>e.hasData)){if(this.drawOnTop){if(128===e.drawPhase)this._renderChildren(e,0)}else switch(e.drawPhase){case 1:this._renderChildren(e,0);break;case 16:this.hasHighlight&&this._renderHighlight(e)}this._boundsRenderer&&this._boundsRenderer.doRender(e)}}_renderHighlight(e){r(e,!1,e=>{this._renderChildren(e,1)})}}export{i as default};
