/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as t}from"tslib";import o from"../../../core/Accessor.js";import{NumericIdentifiableMixin as r}from"../../../core/NumericIdentifiable.js";import{property as e,subclass as n}from"../../../core/accessorSupport/decorators.js";var i;let a=i=class extends(r(o)){constructor(){super(...arguments),this.enabled=!0,this.rotationEnabled=!0}constrain(t,o){return this.enabled&&o?(this.rotationEnabled||(t.rotation=o.rotation),t):t}clone(){return new i({enabled:this.enabled,rotationEnabled:this.rotationEnabled})}};t([e()],a.prototype,"enabled",void 0),t([e()],a.prototype,"rotationEnabled",void 0),a=i=t([n("esri.views.2d.constraints.RotationConstraint")],a);const s=a;export{s as default};
