/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{EditGeometryOperations as t}from"../../../../interactive/editGeometry/EditGeometryOperations.js";import{UpdateVertices as e}from"../../../../interactive/editGeometry/operations/UpdateVertices.js";class i extends t{constructor(t,e,i){super(t,e),this._updateControlPoints=i,this.editSourcePoints=!1}updateVertices(t,e,i=1){return this._apply(new o(this.data,t,e,this.editSourcePoints,this._updateControlPoints),i)}}class o extends e{constructor(t,e,i,o,s){super(t,e,i),this._editSourcePoints=o,this._updateControlPoints=s}_notifyChanges(t){super._notifyChanges(t),this._updateControlPoints(this._editSourcePoints)}canAccumulate(t){return this._editSourcePoints===t._editSourcePoints&&super.canAccumulate(t)}}export{i as ControlPointOperations};
