/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
async function e({element:e,expressionInfos:i,provider:s}){const r={};if(e.visibilityExpression){const n=i.get(e.visibilityExpression);r.visibilityExpression=n?await s.getArcadeExecutor(n.expression):void 0}if("editableExpression"in e&&e.editableExpression){const n=i.get(e.editableExpression);r.editableExpression=n?await s.getArcadeExecutor(n.expression):void 0}if("requiredExpression"in e&&e.requiredExpression){const n=i.get(e.requiredExpression);r.requiredExpression=n?await s.getArcadeExecutor(n.expression):void 0}if("valueExpression"in e&&e.valueExpression){const n=i.get(e.valueExpression);r.valueExpression=n?await s.getArcadeExecutor(n.expression):void 0}return r}function i(e){return new Map(e?.map(e=>[e.name,e]))}export{e as makeExecutorSetForFormElement,i as makeExpressionInfosMap};
