/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../chunks/_rollupPluginBabelHelpers","../../chunks/tslib.es6","../../geometry","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass","../../geometry/support/jsonUtils","../../geometry/Polyline"],(function(e,r,o,t,s,p,n,i,l,c,u){"use strict";let a=function(r){function o(e){var o;return(o=r.call(this,e)||this).extendHow="default-curve-extension",o.polylines=null,o.trimExtendTo=null,o}return e._inheritsLoose(o,r),o}(t.JSONSupport);r.__decorate([s.property({type:String,json:{write:!0}})],a.prototype,"extendHow",void 0),r.__decorate([s.property({type:[u],json:{read:{reader:e=>e?e.map((e=>c.fromJSON(e))):null},write:{writer:(e,r)=>{r.polylines=e.map((e=>e.toJSON()))}}}})],a.prototype,"polylines",void 0),r.__decorate([s.property({json:{read:{reader:e=>e?c.fromJSON(e):null},write:{writer:(e,r)=>{r.trimExtendTo=e.toJSON()}}}})],a.prototype,"trimExtendTo",void 0),a=r.__decorate([l.subclass("esri.rest.support.TrimExtendParameters")],a),a.from=i.ensureType(a);return a}));
