/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{EventEmitter as e}from"../../../../core/Evented.js";import t from"../../../../core/Handles.js";import{destroyHandle as s}from"../../../../core/handleUtils.js";import{mapCollection as o}from"../../../../core/mapCollectionUtils.js";import{on as r}from"../../../../core/reactiveUtils.js";class i{constructor(i,n){this._handles=new t,this.events=new e,this._handles.add([s(o(()=>i,e=>e.on("visible-geometry-changed",e=>this.events.emit("request-update",e)))),r(n,"visible-geometry-changed",()=>this.events.emit("request-update"))])}destroy(){this._handles.destroy()}}export{i as ContentGeometryUpdates};
