// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("exports ../../../chunks/tslib.es6 ../../../Color ../../../core/JSONSupport ../../../core/accessorSupport/decorators/property ../../../core/accessorSupport/decorators/subclass".split(" "),function(f,b,e,a,c,g){let d=class extends a.JSONSupport{constructor(){super(...arguments);this.enabled=!0}};b.__decorate([c.property({type:Boolean})],d.prototype,"enabled",void 0);d=b.__decorate([g.subclass("esri.views.interactive.snapping.Settings.DefaultSnappingAlgorithm")],d);a=class extends a.JSONSupport{constructor(h){super(h); this.lineSnapper=new d;this.parallelLineSnapper=new d;this.rightAngleSnapper=new d;this.rightAngleTriangleSnapper=new d;this.shortLineThreshold=15;this.distance=5;this.parallelLineThreshold=this.intersectionParallelLineThreshold=this.pointThreshold=1E-6;this.verticalLineThresholdMeters=.3;this.touchSensitivityMultiplier=1.5;this.pointOnLineThreshold=1E-6;this.orange=new e([255,127,0]);this.orangeTransparent=new e([255,127,0,.5]);this.lineHintWidthTarget=this.lineHintWidthReference=3;this.lineHintFadedExtensions= .3;this.parallelLineHintWidth=2;this.parallelLineHintLength=24;this.parallelLineHintOffset=1.5;this.rightAngleHintSize=24;this.rightAngleHintOutlineSize=1.5;this.satisfiesConstraintScreenThreshold=1}};b.__decorate([c.property({type:d,constructOnly:!0,nonNullable:!0,json:{write:!0}})],a.prototype,"lineSnapper",void 0);b.__decorate([c.property({type:d,constructOnly:!0,nonNullable:!0,json:{write:!0}})],a.prototype,"parallelLineSnapper",void 0);b.__decorate([c.property({type:d,constructOnly:!0,nonNullable:!0, json:{write:!0}})],a.prototype,"rightAngleSnapper",void 0);b.__decorate([c.property({type:d,constructOnly:!0,nonNullable:!0,json:{write:!0}})],a.prototype,"rightAngleTriangleSnapper",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:-1,max:50,step:1},json:{write:!0}})],a.prototype,"shortLineThreshold",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:-1,max:50,step:1},json:{write:!0}})],a.prototype,"distance",void 0);b.__decorate([c.property({type:Number, nonNullable:!0,range:{min:0,max:1E-5},json:{write:!0}})],a.prototype,"pointThreshold",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:1E-5},json:{write:!0}})],a.prototype,"intersectionParallelLineThreshold",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:1E-5},json:{write:!0}})],a.prototype,"parallelLineThreshold",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],a.prototype,"verticalLineThresholdMeters", void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:10},json:{write:!0}})],a.prototype,"touchSensitivityMultiplier",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:1E-5},json:{write:!0}})],a.prototype,"pointOnLineThreshold",void 0);b.__decorate([c.property({type:e,nonNullable:!0})],a.prototype,"orange",void 0);b.__decorate([c.property({type:e,nonNullable:!0})],a.prototype,"orangeTransparent",void 0);b.__decorate([c.property({type:Number,nonNullable:!0, range:{min:0,max:10},json:{write:!0}})],a.prototype,"lineHintWidthReference",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:10},json:{write:!0}})],a.prototype,"lineHintWidthTarget",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:1},json:{write:!0}})],a.prototype,"lineHintFadedExtensions",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:10},json:{write:!0}})],a.prototype,"parallelLineHintWidth",void 0);b.__decorate([c.property({type:Number, nonNullable:!0,range:{min:0,max:50},json:{write:!0}})],a.prototype,"parallelLineHintLength",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:5},json:{write:!0}})],a.prototype,"parallelLineHintOffset",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:46},json:{write:!0}})],a.prototype,"rightAngleHintSize",void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:6},json:{write:!0}})],a.prototype,"rightAngleHintOutlineSize", void 0);b.__decorate([c.property({type:Number,nonNullable:!0,range:{min:0,max:5},json:{write:!0}})],a.prototype,"satisfiesConstraintScreenThreshold",void 0);a=b.__decorate([g.subclass("esri.views.interactive.snapping.Settings.Defaults")],a);b=new a;f.defaults=b;Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});