import{__decorate}from"tslib";import{validation}from"../../Validation.js";import{featuresToArray}from"./tools.js";import{MapProvider}from"./MapProvider.js";import{activate}from"../../Hooks.js";let SetFeaturePopup=class{execute(e,t,r){var a=validation.exists("template",e.template),e=featuresToArray(validation.exists("features",e.features));return r.setPopup(a,e),{}}};SetFeaturePopup.action="gcx:wf:arcgis::SetFeaturePopup",SetFeaturePopup.suite="gcx:wf:builtin",SetFeaturePopup=__decorate([activate(MapProvider)],SetFeaturePopup);export{SetFeaturePopup};