// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.7/esri/copyright.txt for details. //>>built define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../core/lang ../core/accessorSupport/decorators ./Geometry ./Point ./SpatialReference ./support/contains ./support/intersects ./support/spatialReferenceUtils ./support/webMercatorUtils".split(" "),function(m,C,x,e,y,f,z,A,u,w,B,v,h){function k(f,b,e){return null==b?e:null==e?b:f(b,e)}m=function(m){function b(){for(var a=0;a=a&&b<=d&&g>=a&&g<=d||(c=this.center);return c};b.prototype._normalize=function(a,c,d){var b=this.spatialReference;if(!b)return this;d=d||v.getInfo(b);if(!d)return this;var g=this._getParts(d).map(function(a){return a.extent});if(2>g.length)return g[0]||this;if(22*m){f=new n(ht||p?c.push({extent:new n(r,b,m,e,g),frameIds:[l]},{extent:new n(q,b,t,e,g),frameIds:[a]}):c.push({extent:new n(r,b,t,e,g),frameIds:[l]});this.cache._parts=c}a=this.hasZ;b=this.hasM;if(a||b)for(l={},a&&(l.zmin=this.zmin,l.zmax=this.zmax),b&&(l.mmin=this.mmin,l.mmax=this.mmax),a=0;ae?(b=Math.ceil(Math.abs(a-e)/c),a-=b*c,f=b):a