/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../chunks/_rollupPluginBabelHelpers","../../../chunks/tslib.es6","../../../core/JSONSupport","../../../core/accessorSupport/decorators/property","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/ensureType","../../../core/accessorSupport/decorators/enumeration","../../../core/accessorSupport/decorators/subclass"],(function(e,r,o,t,a,p,s,c,u,n){"use strict";var i;e.MapLayerSource=i=function(e){function o(r){var o;return(o=e.call(this,r)||this).type="map-layer",o}return r._inheritsLoose(o,e),o.prototype.clone=function(){const{mapLayerId:e,gdbVersion:r}=this;return new i({mapLayerId:e,gdbVersion:r})},o}(t.JSONSupport),o.__decorate([u.enumeration({mapLayer:"map-layer"})],e.MapLayerSource.prototype,"type",void 0),o.__decorate([a.property({type:c.Integer,json:{write:!0}})],e.MapLayerSource.prototype,"mapLayerId",void 0),o.__decorate([a.property({type:String,json:{write:!0}})],e.MapLayerSource.prototype,"gdbVersion",void 0),e.MapLayerSource=i=o.__decorate([n.subclass("esri.layers.support.source.MapLayerSource")],e.MapLayerSource),Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
