"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9958],{29958(t,e,o){o.d(e,{default:()=>M});var i=o(31635),r=o(69540),s=o(25482),n=o(91429),p=o(56507),a=o(16930),l=o(65864),d=o(50498),u=o(66552),v=o(7562),y=o(93223);const c=new u.J({asc:"ascending",desc:"descending"});let g=class extends((0,r.OU)(s.o)){constructor(t){super(t),this.fieldName=void 0,this.fieldOrder=void 0,this.outStatistic=void 0,this.type="pivot"}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"pivotParameters.pivotFieldName",write:!0}})],g.prototype,"fieldName",void 0),(0,i.Cg)([(0,y.e)(c,{name:"pivotParameters.pivotFieldOrder"})],g.prototype,"fieldOrder",void 0),(0,i.Cg)([(0,n.MZ)({type:v.A,json:{name:"pivotParameters.outStatistic",write:!0}})],g.prototype,"outStatistic",void 0),(0,i.Cg)([(0,y.e)({Pivot:"pivot"},{name:"pivotType",readOnly:!0})],g.prototype,"type",void 0),g=(0,i.Cg)([(0,n.$K)("esri.rest.support.PivotDefinition")],g);const h=g;var m=o(27348),C=o(77696),S=o(58174);let w=class extends((0,r.OU)(s.o)){constructor(t){super(t),this.sourceFields=void 0,this.valueFieldName=void 0,this.targetFieldName=void 0,this.type="un-pivot"}};(0,i.Cg)([(0,n.MZ)({type:[String],json:{name:"unPivotParameters.sourceFields",write:!0}})],w.prototype,"sourceFields",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"unPivotParameters.valueFieldName",write:!0}})],w.prototype,"valueFieldName",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"unPivotParameters.targetFieldName",write:!0}})],w.prototype,"targetFieldName",void 0),(0,i.Cg)([(0,y.e)({Unpivot:"un-pivot"},{name:"pivotType",readOnly:!0})],w.prototype,"type",void 0),w=(0,i.Cg)([(0,n.$K)("esri.rest.support.UnPivotDefinition")],w);var f=o(43937);const P={key:"type",base:null,typeMap:{pivot:h,"un-pivot":w}};let M=class extends((0,r.OU)((0,C.y)(s.o))){constructor(t){super(t),this.cacheHint=void 0,this.defaultSpatialReferenceEnabled=!1,this.geometry=null,this.groupByFieldsForStatistics=null,this.num=void 0,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.outPivots=null,this.quantizationParameters=null,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.where=void 0}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10,e.where="1=1"}};(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"cacheHint",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{default:!1,write:!0}})],M.prototype,"defaultSpatialReferenceEnabled",void 0),(0,i.Cg)([(0,n.MZ)({types:d.yR,json:{read:l.rS,write:!0}})],M.prototype,"geometry",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],M.prototype,"num",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"orderByFields",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"outFields",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{name:"outSR",write:!0}})],M.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:[v.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],M.prototype,"outStatistics",void 0),(0,i.Cg)([(0,n.MZ)({types:[P],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outPivots&&this.outPivots.length>0}}}}})],M.prototype,"outPivots",void 0),(0,i.Cg)([(0,n.MZ)({type:m.A,json:{write:!0}})],M.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{write:!0}})],M.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,y.e)(S.x,{ignoreUnknown:!1,name:"spatialRel"})],M.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],M.prototype,"start",void 0),(0,i.Cg)([(0,f.K)("start"),(0,f.K)("num")],M.prototype,"writeStart",null),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],M.prototype,"where",void 0),M=(0,i.Cg)([(0,n.$K)("esri.rest.support.PivotQuery")],M),M.from=(0,p.dp)(M)}}]);