/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{readOffsetDistance as t,readIsProportional as e,readVertexBeforeOffset as o,readDistance as s}from"./support/builderUtils.js";import{lineVerticesOffset as r}from"./support/offsetUtils.js";import{isPolyline as i}from"../support/executorUtils.js";function p({templatePart:p,shape:f,edits:a,relationships:n,mode:l}){if(!i(f))return;const m=f,{builderConfig:u}=p,c=t(u),d=e(u),h=o(u),x=s(u,d);r({templatePart:p,edits:a,relationships:n,shape:m,distance:x,isProportional:d,offsetDistance:c,vertexBeforeOffset:h,vertexPlacement:2,mode:l})}const f=!1;export{p as execute,f as isAsync};
