/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../../core/JSONSupport.js";import{lerp as r}from"../../../core/mathUtils.js";import{property as e,subclass as i}from"../../../core/accessorSupport/decorators.js";import{enumeration as s}from"../../../core/accessorSupport/decorators/enumeration.js";var g;let n=class extends o{static{g=this}constructor(t){super(t),this.type="foggy",this.fogStrength=.5}clone(){return new g({fogStrength:this.fogStrength})}get fogOpacity(){return r(g.minFogOpacity,g.maxFogOpacity,this.fogStrength**3)}static{this.minFogOpacity=3e-5}static{this.maxFogOpacity=.005}};t([s({foggy:"foggy"}),e({json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),t([e({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],n.prototype,"fogStrength",void 0),n=g=t([i("esri.views.3d.environment.FoggyWeather")],n);const p=n;export{p as default};
