/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as e}from"tslib";import t from"../Viewpoint.js";import{ClonableMixin as o}from"../core/Clonable.js";import{JSONSupport as i}from"../core/JSONSupport.js";import{property as r,subclass as s}from"../core/accessorSupport/decorators.js";import p from"../geometry/SpatialReference.js";import{timeExtent as n}from"../webdoc/support/timeProperties.js";import l from"./Environment.js";import{WebSceneAnalysesCollection as a,webSceneAnalysisCollectionProperty as m}from"./support/analysisUtils.js";let c=class extends(o(i)){constructor(e){super(e),this.analyses=new a,this.environment=new l,this.spatialReference=null,this.viewpoint=null,this.timeExtent=null}set viewingMode(e){this._set("viewingMode",e)}};e([r(m("analyses"))],c.prototype,"analyses",void 0),e([r({type:l,json:{write:{isRequired:!0}}})],c.prototype,"environment",void 0),e([r({type:p,json:{default:()=>p.WebMercator}})],c.prototype,"spatialReference",void 0),e([r({type:["local","global"],json:{default:"global"}})],c.prototype,"viewingMode",null),e([r({type:t,json:{write:{isRequired:!0}}})],c.prototype,"viewpoint",void 0),e([r(n)],c.prototype,"timeExtent",void 0),c=e([s("esri.webscene.InitialViewProperties")],c);const d=c;export{d as default};
