/*
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","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass","../../geometry/support/jsonUtils"],(function(e,r,o,t,s,p,a,i,n){"use strict";let l=function(r){function o(e){var o;return(o=r.call(this,e)||this).geometries1=null,o.geometries2=null,o.relation=null,o.relationParameter=null,o}return e._inheritsLoose(o,r),o}(o.JSONSupport);r.__decorate([t.property({json:{read:{reader:e=>e?e.map((e=>n.fromJSON(e))):null},write:{writer:(e,r)=>{r.geometries1=e.map((e=>e.toJSON()))}}}})],l.prototype,"geometries1",void 0),r.__decorate([t.property({json:{read:{reader:e=>e?e.map((e=>n.fromJSON(e))):null},write:{writer:(e,r)=>{r.geometries2=e.map((e=>e.toJSON()))}}}})],l.prototype,"geometries2",void 0),r.__decorate([t.property({type:String,json:{write:!0}})],l.prototype,"relation",void 0),r.__decorate([t.property({type:String,json:{write:!0}})],l.prototype,"relationParameter",void 0),l=r.__decorate([i.subclass("esri.rest.support.RelationParameters")],l),l.from=a.ensureType(l);return l}));
