/*
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{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r,subclass as i}from"../../core/accessorSupport/decorators.js";let a=class extends(t(e)){constructor(o){super(o),this.maxFOV=0,this.minFOV=0,this.view=null,this.zoomFactor=5}get canZoomIn(){return!!this.view?.ready&&(0===this.minFOV||this.view.camera.fov>this.minFOV)}get canZoomOut(){return!!this.view?.ready&&(0===this.maxFOV||this.view.camera.fov<this.maxFOV)}};o([r({type:Boolean,readOnly:!0})],a.prototype,"canZoomIn",null),o([r({type:Boolean,readOnly:!0})],a.prototype,"canZoomOut",null),o([r({type:Number})],a.prototype,"maxFOV",void 0),o([r({type:Number})],a.prototype,"minFOV",void 0),o([r()],a.prototype,"view",void 0),o([r({type:Number})],a.prototype,"zoomFactor",void 0),a=o([i("esri.widgets.PanoramicViewer.PanoramicZoomConditions")],a);const m=a;export{m as default};
