1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12799],{12799:function(t,e,r){r.r(e),r.d(e,{executeAttributeBinsQuery:function(){return d}});var n=r(33521),i=r(63895),u=r(21955),s=r(91229),a=r(93100),l=r(78532),o=r(22466);async function c(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{features:[]}}:await f(t,e,r)}async function f(t,e,r={}){let n="string"==typeof t?(0,u.mN)(t):t,c=e.geometry?[e.geometry]:[],f=await (0,a.aX)(c,null,{signal:r.signal}),S=f?.[0];null!=S&&((e=e.clone()).geometry=S);let y=(0,o.A)({...n.query,f:"json",...function(t){let e,r,n;let i=t.geometry,u=t.toJSON();if(null!=i&&(r=i.spatialReference,n=(0,l.B9)(r),u.geometryType=(0,s.Ji)(i),u.geometry=JSON.stringify(i),u.inSR=n),u.outSR?(u.outSR=(0,l.B9)(u.outSR),e=t.outSpatialReference):i&&(u.outSR=u.inSR,e=r),u.bin&&=JSON.stringify(u.bin),u.quantizationParameters&&=JSON.stringify(u.quantizationParameters),u.outStatistics&&=JSON.stringify(u.outStatistics),u.outTimeReference&&=JSON.stringify(u.outTimeReference),u.timeExtent){let{start:t,end:e}=u.timeExtent;null==t&&null==e||(u.time=t===e?t:`${t??"null"},${e??"null"}`),delete u.timeExtent}return t.defaultSpatialReference&&(0,l.fS)(r,e)&&(u.defaultSR=u.inSR,delete u.inSR,delete u.outSR),u}(e)});return(0,i.Z)((0,u.v_)(n.path,"queryBins"),{...r,query:{...y,...r.query}})}var S=r(80464),y=r(40534);async function d(t,e,r){let{data:i}=await c((0,n.en)(t),y.default.from(e),r);return S.Z.fromJSON(i)}},80464:function(t,e,r){r.d(e,{Z:function(){return y}});var n,i=r(73322),u=r(27568),s=r(57864),a=r(5057),l=r(86652);r(95263),r(58583);var o=r(18301);let c=class extends s.Z.ClonableMixin(u.Z){static{n=this}constructor(t){super(t),this.stackedAttributes=null}cloneShallow(){return new n({...super.cloneShallow(),stackedAttributes:this.stackedAttributes})}toJSON(){return{...super.toJSON(),stackedAttributes:(0,a.d9)(this.stackedAttributes)}}};(0,i._)([(0,l.Cb)()],c.prototype,"stackedAttributes",void 0),c=n=(0,i._)([(0,o.j)("esri.AttributeBinsGraphic")],c),r(42082);var f=r(20352),S=r(67530);let y=class extends s.Z.ClonableMixin(S.Z){constructor(){super(...arguments),this.features=[]}readFeatures(t,e){return this.readFeaturesWithClass(t,e,c)}};(0,i._)([(0,l.Cb)({type:[c],json:{write:!0}})],y.prototype,"features",void 0),(0,i._)([(0,f.r)("features")],y.prototype,"readFeatures",null),y=(0,i._)([(0,o.j)("esri.rest.support.AttributeBinsFeatureSet")],y)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.