/*
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/Accessor","../../../../core/accessorSupport/decorators/property","../../../../core/arrayUtils","../../../../core/has","../../../../core/accessorSupport/ensureType","../../../../core/accessorSupport/decorators/subclass"],(function(e,t,r,o,n,a,s,i,c){"use strict";var l;e.State=void 0,(l=e.State||(e.State={})).Ready="ready",l.Rejected="rejected",l.Running="running",l.Stopped="stopped",l.Finished="finished",e.CameraController=function(r){function o(){var t;return(t=r.apply(this,arguments)||this).state=e.State.Ready,t}t._inheritsLoose(o,r);var n=o.prototype;return n.stopController=function(){return!!this.canStop&&(this.state=e.State.Stopped,!0)},n.finishController=function(){this.state=e.State.Finished},t._createClass(o,[{key:"active",get:function(){return this.state===e.State.Running}},{key:"isInteractive",get:function(){return!1}},{key:"canStop",get:function(){return!1}},{key:"steppingFinished",get:function(){return!1}}]),o}(o),r.__decorate([n.property({readOnly:!0})],e.CameraController.prototype,"active",null),r.__decorate([n.property()],e.CameraController.prototype,"state",void 0),e.CameraController=r.__decorate([c.subclass("esri.views.3d.state.controllers.CameraController")],e.CameraController),Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
