define(["require","exports","../../Validation"],function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(n.prototype.execute=function(e){var t=o.validation.exists("geometry",e.geometry),i={};switch(t.type){case"point":i.point=t;break;case"circle":case"polygon":i.polygon=t;break;case"polyline":i.polyline=t;break;case"extent":i.extent=t;break;case"multipoint":i.multipoint=t}return i},n.action="gcx:wf:arcgis::CastGeometry",n.suite="gcx:wf:builtin",n);function n(){}t.CastGeometry=i});