/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as o}from"tslib";import t from"../core/Accessor.js";import{createScreenPoint as r}from"../core/screenUtils.js";import{property as e,subclass as i}from"../core/accessorSupport/decorators.js";let s=class extends t{constructor(o){super(o),this.factor=1.5,this.offset=r(0,0),this.position=null,this.size=120,this.maskUrl=null,this.maskEnabled=!0,this.overlayUrl=null,this.overlayEnabled=!0,this.visible=!0}get version(){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([e({type:Number})],s.prototype,"factor",void 0),o([e({nonNullable:!0})],s.prototype,"offset",void 0),o([e()],s.prototype,"position",void 0),o([e({type:Number,range:{min:0}})],s.prototype,"size",void 0),o([e()],s.prototype,"maskUrl",void 0),o([e()],s.prototype,"maskEnabled",void 0),o([e()],s.prototype,"overlayUrl",void 0),o([e()],s.prototype,"overlayEnabled",void 0),o([e({readOnly:!0})],s.prototype,"version",null),o([e({type:Boolean})],s.prototype,"visible",void 0),s=o([i("esri.views.Magnifier")],s);const p=s;export{p as default};
