"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7561],{57561(e,t,i){i.d(t,{default:()=>R});var r,o=i(31635),s=i(66552),n=i(25482),l=i(4718),p=i(91429),a=i(56507),d=i(16930),u=i(65864),y=i(50498),h=i(77696);let c=r=class extends n.o{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new r({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],c.prototype,"groupByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],c.prototype,"topCount",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],c.prototype,"orderByFields",void 0),c=r=(0,o.Cg)([(0,p.$K)("esri.rest.support.TopFilter")],c);const g=c;var v,w=i(79677),m=i(43937);const C=new s.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),S=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let R=class extends((0,h.y)(n.o)){static{v=this}constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new v((0,l.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],R.prototype,"distance",void 0),(0,o.Cg)([(0,p.MZ)({types:y.yR,json:{read:u.rS,write:!0}})],R.prototype,"geometry",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],R.prototype,"num",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],R.prototype,"objectIds",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],R.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],R.prototype,"outFields",void 0),(0,o.Cg)([(0,p.MZ)({type:d.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],R.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"resultType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],R.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"returnM",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"returnZ",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],R.prototype,"start",void 0),(0,o.Cg)([(0,m.K)("start"),(0,m.K)("num")],R.prototype,"writeStart",null),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:{source:"spatialRel",reader:C.read},write:{target:"spatialRel",writer:C.write}}})],R.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,p.MZ)({type:w.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,o.Cg)([(0,p.MZ)({type:g,json:{write:!0}})],R.prototype,"topFilter",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:S.read,write:{writer:S.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],R.prototype,"units",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"where",void 0),R=v=(0,o.Cg)([(0,p.$K)("esri.rest.support.TopFeaturesQuery")],R),R.from=(0,a.dp)(R)}}]);