/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as t}from"tslib";import o from"../../../core/Accessor.js";import{property as e,subclass as i}from"../../../core/accessorSupport/decorators.js";import{isValid as r}from"../../../geometry/support/spatialReferenceUtils.js";let s=class extends o{set horizontalWKID(t){t?r({wkid:+t})?this._set("horizontalWKID",+t):this._set("horizontalWKID",t):this._set("horizontalWKID",null)}set verticalWKID(t){t?this._set("verticalWKID",isFinite(t)&&r({wkid:+t})?+t:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:t,focalLength:o,principalOffsetPoint:e,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return t?.length>1&&!Number.isNaN(o)&&e?.length>1&&i?.length>1&&r?.length>1}};t([e({json:{write:!0}})],s.prototype,"affineTransformations",void 0),t([e({json:{write:!0}})],s.prototype,"focalLength",void 0),t([e({json:{write:!0}})],s.prototype,"principalOffsetPoint",void 0),t([e({json:{write:!0}})],s.prototype,"radialDistortionCoefficients",void 0),t([e({json:{write:!0}})],s.prototype,"tangentialDistortionCoefficients",void 0),t([e({json:{write:!0}})],s.prototype,"horizontalWKID",null),t([e({json:{write:!0}})],s.prototype,"verticalWKID",null),t([e({json:{write:!0}})],s.prototype,"x",void 0),t([e({json:{write:!0}})],s.prototype,"y",void 0),t([e({json:{write:!0}})],s.prototype,"z",void 0),t([e({json:{write:!0}})],s.prototype,"type",void 0),s=t([i("esri.layers.orientedImagery.core.CameraOrientation")],s);const n=s;export{n as default};
