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