/*
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/Accessor","../core/screenUtils","../core/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/subclass"],(function(e,r,o,t,s,i,p,c,a){"use strict";let l=function(r){function o(e){var o;return(o=r.call(this,e)||this).factor=1.5,o.offset=t.createScreenPoint(0,0),o.position=null,o.size=120,o.maskUrl=null,o.maskEnabled=!0,o.overlayUrl=null,o.overlayEnabled=!0,o.visible=!0,o}return e._inheritsLoose(o,r),e._createClass(o,[{key:"version",get:function(){return this.commitProperty("factor"),this.commitProperty("offset"),this.commitProperty("position"),this.commitProperty("visible"),this.commitProperty("size"),this.commitProperty("maskUrl"),this.commitProperty("maskEnabled"),this.commitProperty("overlayUrl"),this.commitProperty("overlayEnabled"),(this._get("version")||0)+1}}]),o}(o);r.__decorate([s.property({type:Number})],l.prototype,"factor",void 0),r.__decorate([s.property({nonNullable:!0})],l.prototype,"offset",void 0),r.__decorate([s.property()],l.prototype,"position",void 0),r.__decorate([s.property({type:Number,range:{min:0}})],l.prototype,"size",void 0),r.__decorate([s.property()],l.prototype,"maskUrl",void 0),r.__decorate([s.property()],l.prototype,"maskEnabled",void 0),r.__decorate([s.property()],l.prototype,"overlayUrl",void 0),r.__decorate([s.property()],l.prototype,"overlayEnabled",void 0),r.__decorate([s.property({readOnly:!0})],l.prototype,"version",null),r.__decorate([s.property({type:Boolean})],l.prototype,"visible",void 0),l=r.__decorate([a.subclass("esri.views.Magnifier")],l);return l}));
