1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2384,8373],{98373:(k,V,x)=>{x.d(V,{GB:()=>z,Qo:()=>Z,Y4:()=>B});var j=x(56260);class z{}function B(R){return R instanceof j.bo?R===z.instance:R?.toString().toLowerCase()==="unknown"}function Z(R){return B(R)?z.instance:R}function D(R,O){return e.fromObject({day:R.day,year:R.year,month:R.month,hour:R.hour,minute:R.minute,second:R.second,millisecond:R.millisecond},{zone:O})}z.instance=new j.oh("Etc/UTC")},70363:(k,V,x)=>{x.d(V,{g:()=>j});const j={convertToGEGeometry:z,exportPoint:Z,exportPolygon:R,exportPolyline:v,exportMultipoint:y,exportExtent:_};function z(c,f){return f==null?null:c.convertJSONToGeometry(f)}class B{constructor(f,g,N){this.x=f,this.y=g,this.spatialReference=N,this.z=void 0,this.m=void 0}}function Z(c,f,g){const N=new B(c.getPointX(f),c.getPointY(f),g),m=c.hasZ(f),h=c.hasM(f);return m&&(N.z=c.getPointZ(f)),h&&(N.m=c.getPointM(f)),N}class D{constructor(f,g,N,m){this.rings=f,this.spatialReference=g,this.hasZ=void 0,this.hasM=void 0,N&&(this.hasZ=N),m&&(this.hasM=m)}}function R(c,f,g){return new D(c.exportPaths(f),g,c.hasZ(f),c.hasM(f))}class O{constructor(f,g,N,m){this.paths=f,this.spatialReference=g,this.hasZ=void 0,this.hasM=void 0,N&&(this.hasZ=N),m&&(this.hasM=m)}}function v(c,f,g){return new O(c.exportPaths(f),g,c.hasZ(f),c.hasM(f))}class p{constructor(f,g,N,m){this.points=f,this.spatialReference=g,this.hasZ=void 0,this.hasM=void 0,N&&(this.hasZ=N),m&&(this.hasM=m)}}function y(c,f,g){return new p(c.exportPoints(f),g,c.hasZ(f),c.hasM(f))}class E{constructor(f,g,N,m,h){this.xmin=f,this.ymin=g,this.xmax=N,this.ymax=m,this.spatialReference=h,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}function _(c,f,g){const N=c.hasZ(f),m=c.hasM(f),h=new E(c.getXMin(f),c.getYMin(f),c.getXMax(f),c.getYMax(f),g);if(N){const i=c.getZExtent(f);h.zmin=i.vmin,h.zmax=i.vmax}if(m){const i=c.getMExtent(f);h.mmin=i.vmin,h.mmax=i.vmax}return h}},50570:(k,V,x)=>{x.d(V,{$X:()=>te,Gy:()=>C,P5:()=>ee,SW:()=>X,Tr:()=>q,VV:()=>R});var j=x(51267);function z(o){return o&&o.originPosition==="upperLeft"}const B=(o,s,a)=>[s,a],Z=(o,s,a)=>[s,a,o[2]],D=(o,s,a)=>[s,a,o[2],o[3]];function R(o){return o?{originPosition:o.originPosition==="upper-left"?"upperLeft":o.originPosition==="lower-left"?"lowerLeft":o.originPosition,scale:o.tolerance?[o.tolerance,o.tolerance]:[1,1],translate:o.extent!=null?[o.extent.xmin,o.extent.ymax]:[0,0]}:null}function O(o,s){if(o===s||o==null&&s==null)return!0;if(o==null||s==null)return!1;let a,T,S,W,w,Y;return z(o)?(a=o.translate[0],T=o.translate[1],S=o.scale[0]):(a=o.extent!=null?o.extent.xmin:0,T=o.extent!=null?o.extent.ymax:0,S=o.tolerance),z(s)?(W=s.translate[0],w=s.translate[1],Y=s.scale[0]):(W=s.extent!=null?s.extent.xmin:0,w=s.extent!=null?s.extent.ymax:0,Y=s.tolerance),a===W&&T===w&&S===Y}function v({scale:o,translate:s},a){return Math.round((a-s[0])/o[0])}function p({scale:o,translate:s},a){return Math.round((s[1]-a)/o[1])}function y(o,s,a){const T=[];let S,W,w,Y;for(let Q=0;Q<a.length;Q++){const J=a[Q];Q>0?(w=v(o,J[0]),Y=p(o,J[1]),w===S&&Y===W||(T.push(s(J,w-S,Y-W)),S=w,W=Y)):(S=v(o,J[0]),W=p(o,J[1]),T.push(s(J,S,W)))}return T.length>0?T:null}function E(o,s,a){return s[0]=v(o,a[0]),s[3]=p(o,a[1]),s[2]=v(o,a[2]),s[1]=p(o,a[3]),s}function _(o,s,a,T){return y(o,a?T?D:Z:T?Z:B,s)}function c(o,s,a,T){const S=[],W=a?T?D:Z:T?Z:B;for(let w=0;w<s.length;w++){const Y=y(o,W,s[w]);Y&&Y.length>=3&&S.push(Y)}return S.length?S:null}function f(o,s,a,T){const S=[],W=a?T?D:Z:T?Z:B;for(let w=0;w<s.length;w++){const Y=y(o,W,s[w]);Y&&Y.length>=2&&S.push(Y)}return S.length?S:null}function g({scale:o,translate:s},a){return a*o[0]+s[0]}function N({scale:o,translate:s},a){return s[1]-a*o[1]}function m(o,s,a){const T=new Array(a.length);if(!a.length)return T;const[S,W]=o.scale;let w=g(o,a[0][0]),Y=N(o,a[0][1]);T[0]=s(a[0],w,Y);for(let Q=1;Q<a.length;Q++){const J=a[Q];w+=J[0]*S,Y-=J[1]*W,T[Q]=s(J,w,Y)}return T}function h(o,s,a){const T=new Array(a.length);for(let S=0;S<a.length;S++)T[S]=m(o,s,a[S]);return T}function i(o,s,a){return a?(s[0]=g(o,a[0]),s[1]=N(o,a[3]),s[2]=g(o,a[2]),s[3]=N(o,a[1]),s):[g(o,s[0]),N(o,s[3]),g(o,s[2]),N(o,s[1])]}function l(o,s,a,T){return m(o,a?T?D:Z:T?Z:B,s)}function d(o,s,a,T){return h(o,a?T?D:Z:T?Z:B,s)}function I(o,s,a,T){return h(o,a?T?D:Z:T?Z:B,s)}function F(o,s,a){let[T,S]=a[0],W=Math.min(T,s[0]),w=Math.min(S,s[1]),Y=Math.max(T,s[2]),Q=Math.max(S,s[3]);for(let J=1;J<a.length;J++){const[ne,ie]=a[J];T+=ne,S+=ie,ne<0&&(W=Math.min(W,T)),ne>0&&(Y=Math.max(Y,T)),ie<0?w=Math.min(w,S):ie>0&&(Q=Math.max(Q,S))}return o[0]=W,o[1]=w,o[2]=Y,o[3]=Q,o}function A(o,s){if(!s.length)return null;o[0]=o[1]=Number.POSITIVE_INFINITY,o[2]=o[3]=Number.NEGATIVE_INFINITY;for(let a=0;a<s.length;a++)F(o,o,s[a]);return o}function b(o){const s=[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY];return F(s,s,o)}function M(o){return A([0,0,0,0],o)}function P(o){return A([0,0,0,0],o)}function L(o,s,a,T,S){return s.xmin=v(o,a.xmin),s.ymin=p(o,a.ymin),s.xmax=v(o,a.xmax),s.ymax=p(o,a.ymax),s!==a&&(T&&(s.zmin=a.zmin,s.zmax=a.zmax),S&&(s.mmin=a.mmin,s.mmax=a.mmax)),s}function U(o,s,a,T,S){return s.points=_(o,a.points,T,S)??[],s}function C(o,s,a,T,S){return s.x=v(o,a.x),s.y=p(o,a.y),s!==a&&(T&&(s.z=a.z),S&&(s.m=a.m)),s}function K(o,s,a,T,S){const W=c(o,a.rings,T,S);return W?(s.rings=W,s):null}function G(o,s,a,T,S){const W=f(o,a.paths,T,S);return W?(s.paths=W,s):null}function H(o,s){return o&&s?n(s)?C(o,{},s,!1,!1):t(s)?G(o,{},s,!1,!1):e(s)?K(o,{},s,!1,!1):r(s)?U(o,{},s,!1,!1):u(s)?L(o,{},s,!1,!1):null:null}function $(o,s,a,T,S){return s.xmin=g(o,a.xmin),s.ymin=N(o,a.ymin),s.xmax=g(o,a.xmax),s.ymax=N(o,a.ymax),s!==a&&(T&&(s.zmin=a.zmin,s.zmax=a.zmax),S&&(s.mmin=a.mmin,s.mmax=a.mmax)),s}function X(o,s,a,T,S){return a!=null&&(s.points=l(o,a.points,T,S)),s}function q(o,s,a,T,S){return a==null||(s.x=g(o,a.x),s.y=N(o,a.y),s!==a&&(T&&(s.z=a.z),S&&(s.m=a.m))),s}function te(o,s,a,T,S){return a!=null&&(s.rings=I(o,a.rings,T,S)),s}function ee(o,s,a,T,S){return a!=null&&(s.paths=d(o,a.paths,T,S)),s}},15380:(k,V,x)=>{x.d(V,{Q:()=>z});function j(p,y){return p?y?4:3:y?3:2}function z(p,y,E,_){if(!y?.lengths.length)return null;p.lengths.length&&(p.lengths.length=0),p.coords.length&&(p.coords.length=0);const c=p.coords,f=[],g=E?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],{lengths:N,coords:m}=y,h=j(E,_);let i=0;for(const l of N){const d=B(g,m,i,l,E,_);d&&f.push(d),i+=l*h}
1if(f.sort((l,d)=>{let I=l[2]-d[2];return I===0&&E&&(I=l[4]-d[4]),I}),f.length){let l=6*f[0][2];c[0]=f[0][0]/l,c[1]=f[0][1]/l,E&&(l=6*f[0][4],c[2]=l!==0?f[0][3]/l:0),(c[0]<g[0]||c[0]>g[1]||c[1]<g[2]||c[1]>g[3]||E&&(c[2]<g[4]||c[2]>g[5]))&&(c.length=0)}if(!c.length){const l=y.lengths[0]?Z(m,0,N[0],E,_):null;if(!l)return null;c[0]=l[0],c[1]=l[1],E&&l.length>2&&(c[2]=l[2])}return p}function B(p,y,E,_,c,f){const g=j(c,f);let N=E,m=E+g,h=0,i=0,l=0,d=0,I=0;for(let A=0,b=_-1;A<b;A++,N+=g,m+=g){const M=y[N],P=y[N+1],L=y[N+2],U=y[m],C=y[m+1],K=y[m+2];let G=M*C-U*P;d+=G,h+=(M+U)*G,i+=(P+C)*G,c&&(G=M*K-U*L,l+=(L+K)*G,I+=G),M<p[0]&&(p[0]=M),M>p[1]&&(p[1]=M),P<p[2]&&(p[2]=P),P>p[3]&&(p[3]=P),c&&(L<p[4]&&(p[4]=L),L>p[5]&&(p[5]=L))}if(d>0&&(d*=-1),I>0&&(I*=-1),!d)return null;const F=[h,i,.5*d];return c&&(F[3]=l,F[4]=.5*I),F}function Z(p,y,E,_,c){const f=j(_,c);let g=y,N=y+f,m=0,h=0,i=0,l=0;for(let d=0,I=E-1;d<I;d++,g+=f,N+=f){const F=p[g],A=p[g+1],b=p[g+2],M=p[N],P=p[N+1],L=p[N+2],U=_?R(F,A,b,M,P,L):D(F,A,M,P);if(U)if(m+=U,_){const C=v(F,A,b,M,P,L);h+=U*C[0],i+=U*C[1],l+=U*C[2]}else{const C=O(F,A,M,P);h+=U*C[0],i+=U*C[1]}}return m>0?_?[h/m,i/m,l/m]:[h/m,i/m]:E>0?_?[p[y],p[y+1],p[y+2]]:[p[y],p[y+1]]:null}function D(p,y,E,_){const c=E-p,f=_-y;return Math.sqrt(c*c+f*f)}function R(p,y,E,_,c,f){const g=_-p,N=c-y,m=f-E;return Math.sqrt(g*g+N*N+m*m)}function O(p,y,E,_){return[p+.5*(E-p),y+.5*(_-y)]}function v(p,y,E,_,c,f){return[p+.5*(_-p),y+.5*(c-y),E+.5*(f-E)]}},10910:(k,V,x)=>{x.d(V,{LQ:()=>O,ag:()=>p,pL:()=>v});var j=x(23579),z=x(90635);const B=new z.A,Z=new z.A,D=new z.A,R={esriGeometryPoint:j.DF,esriGeometryPolyline:j.BW,esriGeometryPolygon:j.z5,esriGeometryMultipoint:j.qK};function O(_,c,f,g=_.hasZ,N=_.hasM){if(c==null)return null;const m=_.hasZ&&g,h=_.hasM&&N;if(f){const i=(0,j.Nl)(D,c,_.hasZ,_.hasM,"esriGeometryPoint",f,g,N);return(0,j.DF)(i,m,h)}return(0,j.DF)(c,m,h)}function v(_,c,f,g,N,m,h=c,i=f){const l=c&&h,d=f&&i,I=g!=null?"coords"in g?g:g.geometry:null;if(I==null)return null;if(N){let F=(0,j.kz)(Z,I,c,f,_,N,h,i);return m&&(F=(0,j.Nl)(D,F,l,d,_,m)),R[_]?.(F,l,d)??null}if(m){const F=(0,j.Nl)(D,I,c,f,_,m,h,i);return R[_]?.(F,l,d)??null}return(0,j.Q4)(B,I,c,f,h,i),R[_]?.(B,l,d)??null}function p(_){return _&&y in _?JSON.parse(JSON.stringify(_,E)):_}const y="_geVersion",E=(_,c)=>_!==y?c:void 0},17143:(k,V,x)=>{x.d(V,{Cv:()=>f,Nk:()=>E,lK:()=>m});var j=x(37713),z=x(18573),B=x(70773),Z=x(70363),D=x(38118),R=x(13717);const O=[0,0];function v(h,i){if(!i)return null;if("x"in i){const l={x:0,y:0};return[l.x,l.y]=h(i.x,i.y,O),i.z!=null&&(l.z=i.z),i.m!=null&&(l.m=i.m),l}if("xmin"in i){const l={xmin:0,ymin:0,xmax:0,ymax:0};return[l.xmin,l.ymin]=h(i.xmin,i.ymin,O),[l.xmax,l.ymax]=h(i.xmax,i.ymax,O),i.hasZ&&(l.zmin=i.zmin,l.zmax=i.zmax,l.hasZ=!0),i.hasM&&(l.mmin=i.mmin,l.mmax=i.mmax,l.hasM=!0),l}return"rings"in i?{rings:p(i.rings,h),hasM:i.hasM,hasZ:i.hasZ}:"paths"in i?{paths:p(i.paths,h),hasM:i.hasM,hasZ:i.hasZ}:"points"in i?{points:y(i.points,h),hasM:i.hasM,hasZ:i.hasZ}:null}function p(h,i){const l=[];for(const d of h)l.push(y(d,i));return l}function y(h,i){const l=[];for(const d of h){const I=i(d[0],d[1],[0,0]);l.push(I),d.length>2&&I.push(d[2]),d.length>3&&I.push(d[3])}return l}async function E(h,i){if(!h||!i)return;const l=Array.isArray(h)?h.map(d=>d.geometry!=null?d.geometry.spatialReference:null).filter(j.Ru):[h];await(0,B.initializeProjection)(l.map(d=>({source:d,dest:i})))}const _=v.bind(null,R.je),c=v.bind(null,R.tD);function f(h,i,l,d){if(!h||(l||(l=i,i=h.spatialReference),!(0,D.fn)(i)||!(0,D.fn)(l)||(0,D.aI)(i,l)))return h;if((0,R.y7)(i,l)){const I=(0,D.K8)(l)?_(h):c(h);return I.spatialReference=l,I}return(0,B.projectMany)(Z.g,[h],i,l,null,d)[0]}class g{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(i,l,d,I){if(!i?.length||!l||!d||(0,D.aI)(l,d))return i;const F={geometries:i,inSpatialReference:l,outSpatialReference:d,geographicTransformation:I,resolve:(0,z.Tw)()};return this._jobs.push(F),this._timer??(this._timer=setTimeout(this._process,10)),F.resolve.promise}_process(){this._timer=null;const i=this._jobs.shift();if(!i)return;const{geometries:l,inSpatialReference:d,outSpatialReference:I,resolve:F,geographicTransformation:A}=i;(0,R.y7)(d,I)?(0,D.K8)(I)?F(l.map(_)):F(l.map(c)):F((0,B.projectMany)(Z.g,l,d,I,A,null)),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}}const N=new g;function m(h,i,l,d){return N.push(h,i,l,d)}},34482:(k,V,x)=>{x.d(V,{GC:()=>E,T2:()=>_,v8:()=>y});var j=x(99643),z=x(18144),B=x(70773),Z=x(76557),D=x(51267),R=x(60643),O=x(38118),v=x(17143);const p=new j.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),y=Object.freeze({});async function E(m,h,i){const{outFields:l,orderByFields:d,groupBy
1FieldsForStatistics:I,outStatistics:F}=m;if(l)for(let A=0;A<l.length;A++)l[A]=l[A].trim();if(d)for(let A=0;A<d.length;A++)d[A]=d[A].trim();if(I)for(let A=0;A<I.length;A++)I[A]=I[A].trim();if(F)for(let A=0;A<F.length;A++)F[A].onStatisticField&&(F[A].onStatisticField=F[A].onStatisticField.trim());return m.geometry&&!m.outSR&&(m.outSR=m.geometry.spatialReference),_(m,h,i)}async function _(m,h,i){if(!m)return null;let{where:l}=m;if(m.where=l=l?.trim(),(!l||/^1 *= *1$/.test(l)||h&&h===l)&&(m.where=null),!m.geometry)return m;let d=await g(m);if(m.distance=0,m.units=null,m.spatialRel==="esriSpatialRelEnvelopeIntersects"){const{spatialReference:I}=m.geometry;d=(0,Z.HA)(d),d.spatialReference=I}if(d){await(0,v.Nk)(d.spatialReference,i),d=f(d,i);const I=(await(0,R.el)((0,D.rS)(d)))[0];if(I==null)throw y;const F="quantizationParameters"in m&&m.quantizationParameters?.tolerance||"maxAllowableOffset"in m&&m.maxAllowableOffset||0,A=F&&c(d,i)?{densificationStep:8*F}:void 0,b=I.toJSON(),M=(0,v.Cv)(b,b.spatialReference,i,A);if(!M)throw y;M.spatialReference=i,m.geometry=M}return m}function c(m,h){if(!m)return!1;const i=m.spatialReference;return((0,D.ZC)(m)||(0,D.Bi)(m)||(0,D.Rg)(m))&&!(0,O.aI)(i,h)&&!(0,B.canProjectWithoutEngine)(i,h)}function f(m,h){const i=m.spatialReference;return c(m,h)&&(0,D.ZC)(m)?{spatialReference:i,rings:[[[m.xmin,m.ymin],[m.xmin,m.ymax],[m.xmax,m.ymax],[m.xmax,m.ymin],[m.xmin,m.ymin]]]}:m}async function g(m){const{distance:h,units:i}=m,l=m.geometry;if(h==null||"vertexAttributes"in l)return l;const d=l.spatialReference,I=i?p.fromJSON(i):(0,z.Ij)(d),F=d&&((0,O.EA)(d)||(0,O.K8)(d))?l:await(0,v.Nk)(d,O.KK).then(()=>(0,v.Cv)(l,O.KK));return(await N())(F.spatialReference,F,h,I)}async function N(){return(await Promise.all([x.e(5763),x.e(1481)]).then(x.bind(x,93862))).geodesicBuffer}},75817:(k,V,x)=>{x.d(V,{tC:()=>b,c0:()=>A,xt:()=>F});var j=x(40945),z=x(12343),B=x(49237);function Z(M){return M==="mesh"?B.xB:(0,B.xK)(M)}var D=x(51267),R=x(38118);function O(M,P){return M?P?4:3:P?3:2}function v(M,P,L,U){return y(M,P,L,U.coords[0],U.coords[1])}function p(M,P,L,U,C,K){const G=O(C,K),{coords:H,lengths:$}=U;if(!$)return!1;for(let X=0,q=0;X<$.length;X++,q+=G)if(!y(M,P,L,H[q],H[q+1]))return!1;return!0}function y(M,P,L,U,C){if(!M)return!1;const K=O(P,L),{coords:G,lengths:H}=M;let $=!1,X=0;for(const q of H)$=E($,G,K,X,q,U,C),X+=q*K;return $}function E(M,P,L,U,C,K,G){let H=M,$=U;for(let X=U,q=U+C*L;X<q;X+=L){$=X+L,$===q&&($=U);const te=P[X],ee=P[X+1],o=P[$],s=P[$+1];(ee<G&&s>=G||s<G&&ee>=G)&&te+(G-ee)/(s-ee)*(o-te)<K&&(H=!H)}return H}var _=x(23579),c=x(90635),f=x(10910),g=x(17143);const N="unsupported-query",m={esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"intersects",esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:null},h={spatialRelationship:{esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},queryGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},layerGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1}};function i(M){return M!=null&&h.spatialRelationship[M]===!0}function l(M){return M!=null&&h.queryGeometry[(0,D.$B)(M)]===!0}function d(M){return M!=null&&h.layerGeometry[M]===!0}function I(){return Promise.all([x.e(5763),x.e(1481)]).then(x.bind(x,93862))}function F(M,P,L,U,C){if((0,D.Bi)(P)&&L==="esriGeometryPoint"&&(M==="esriSpatialRelIntersects"||M==="esriSpatialRelContains")){const K=(0,_.Ye)(new c.A,P,!1,!1);return Promise.resolve(G=>v(K,!1,!1,G))}if((0,D.Bi)(P)&&L==="esriGeometryMultipoint"){const K=(0,_.Ye)(new c.A,P,!1,!1);if(M==="esriSpatialRelContains")return Promise.resolve(G=>p(K,!1,!1,G,U,C))}if((0,D.ZC)(P)&&L==="esriGeometryPoint"&&(M==="esriSpatialRelIntersects"||M==="esriSpatialRelContains"))return Promise.resolve(K=>(0,z.qz)(P,(0,f.pL)(L,U,C,K)));if((0,D.ZC)(P)&&L==="esriGeometryMultipoint"&&M==="esriSpatialRelContains")return Promise.resolve(K=>(0,z.rL)(P,(0,f.pL)(L,U,C,K)));if((0,D.ZC)(P)&&M==="esriSpatialRelIntersects"){const K=Z(L);return Promise.resolve(G=>K(P,(0,f.pL)(L,U,C,G)))}return I().then(K=>{const G=K[m[M]].bind(null,P.spatialReference,P);return H=>G((0,f.pL)(L,U,C,H))})}async function A(M,P,L){const{spatialRel:U,geometry:C}=M;if(C){if(!i(U))throw new j.A(N,"Unsupported query spatial relationship",{query:M});if((0,R.fn)(C.spatialReference)&&(0,R.fn)(L)){if(!l(C))throw new j.A(N,"Unsupported query geometry type",{query:M});if(!d(P))throw new j.A(N,"Unsupported layer geometry type",{query:M});if(M.outSR)return(0,g.Nk)(M.geometry?.spatialReference,M.outSR)}}}function b(M){if((0,D.ZC)(M))return!0;
1if((0,D.Bi)(M)){for(const P of M.rings)if(P.length!==5||P[0][0]!==P[1][0]||P[0][0]!==P[4][0]||P[2][0]!==P[3][0]||P[0][1]!==P[3][1]||P[0][1]!==P[4][1]||P[1][1]!==P[2][1])return!1;return!0}return!1}},79099:(k,V,x)=>{x.d(V,{I:()=>z,W:()=>j});async function j(R,O){if(!R)return null;const v=O.featureAdapter,{startTimeField:p,endTimeField:y}=R;let E=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;if(p&&y)await O.forEach(c=>{const f=v.getAttribute(c,p),g=v.getAttribute(c,y);f==null||isNaN(f)||(E=Math.min(E,f)),g==null||isNaN(g)||(_=Math.max(_,g))});else{const c=p||y;await O.forEach(f=>{const g=v.getAttribute(f,c);g==null||isNaN(g)||(E=Math.min(E,g),_=Math.max(_,g))})}return{start:E,end:_}}function z(R,O,v){if(!O||!R)return null;const{startTimeField:p,endTimeField:y}=R;if(!p&&!y)return null;const{start:E,end:_}=O;if(E===null&&_===null)return null;if(E===void 0&&_===void 0)return D();const c=v.getAttributeAsTimestamp?.bind(v)??v.getAttribute.bind(v);return p&&y?B(c,p,y,E,_):Z(c,p||y,E,_)}function B(R,O,v,p,y){return p!=null&&y!=null?E=>{const _=R(E,O),c=R(E,v);return(_==null||_<=y)&&(c==null||c>=p)}:p!=null?E=>{const _=R(E,v);return _==null||_>=p}:y!=null?E=>{const _=R(E,O);return _==null||_<=y}:void 0}function Z(R,O,v,p){return v!=null&&p!=null&&v===p?y=>R(y,O)===v:v!=null&&p!=null?y=>{const E=R(y,O);return E!=null&&E>=v&&E<=p}:v!=null?y=>{const E=R(y,O);return E!=null&&E>=v}:p!=null?y=>{const E=R(y,O);return E!=null&&E<=p}:void 0}function D(){return()=>!1}},20461:(k,V,x)=>{x.d(V,{A:()=>c});var j=x(40945),z=x(63171),B=x(59051),Z=x(4096),D=x(98373),R=x(421),O=x(71546),v=x(56260);function p(h){return"timeZone"in h}function y(h){return"timeZone"in h}function E(h){return"dateFieldsTimeZone"in h}const _=new Map;class c{static fromJSON(i){return new c(i.fields,i.timeZoneByFieldName)}static fromLayer(i){return new c(i.fields??[],m(i))}static fromLayerJSON(i){return new c(i.fields??[],m(i))}constructor(i=[],l){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=i||[],this._timeZoneByFieldName=l?new Map(l):null;const d=[];for(const I of this.fields){const F=I?.name,A=g(F);if(F&&A){const b=f(F);this._fieldsMap.set(F,I),this._fieldsMap.set(b,I),this._normalizedFieldsMap.set(A,I),d.push(`${b}:${I.type}:${this._timeZoneByFieldName?.get(F)}`),(0,R.vE)(I)?(this.dateFields.push(I),this._dateFieldsSet.add(I)):(0,R.WA)(I)&&(this._numericFieldsSet.add(I),this.numericFields.push(I)),(0,R.te)(I)||(0,R.Xz)(I)||(I.editable=I.editable==null||!!I.editable,I.nullable=I.nullable==null||!!I.nullable)}}d.sort(),this.uid=d.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const i of this.fields)(0,R.te)(i)||(0,R.Xz)(i)||i.nullable||(0,R.lD)(i)!==void 0||this._requiredFields.push(i)}return this._requiredFields}equals(i){return this.uid===i?.uid}has(i){return this.get(i)!=null}get(i){if(!i)return;let l=this._fieldsMap.get(i);return l||(l=this._fieldsMap.get(f(i))??this._normalizedFieldsMap.get(g(i)),l&&this._fieldsMap.set(i,l),l)}getTimeZone(i){const l=this.get(i&&typeof i!="string"?i.name:i);return l?this._timeZoneByFieldName?this._timeZoneByFieldName.get(l.name):l.type==="date"||l.type==="esriFieldTypeDate"?(B.A.getLogger("esri.layers.support.FieldsIndex").error(new j.A("getTimeZone:no-timezone-information",`no time zone information for field '${l.name}'`)),O.n$):N.has(l.type)?O.L5:null:null}getLuxonTimeZone(i){const l=this.getTimeZone(i);return l?l===O.L5?D.GB.instance:l===O.n$?v.mQ.utcInstance:(0,Z.tE)(_,l,()=>v.oh.create(l)):null}isDateField(i){return this._dateFieldsSet.has(this.get(i))}isTimeOnlyField(i){return(0,R.OH)(this.get(i))}isNumericField(i){return this._numericFieldsSet.has(this.get(i))}normalizeFieldName(i){return this.get(i)?.name??void 0}toJSON(){return{fields:this.fields.map(i=>(0,z.Wj)(i)?i.toJSON():i),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function f(h){return h.trim().toLowerCase()}function g(h){return(0,R.rS)(h)?.toLowerCase()??""}const N=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function m(h){const i=new Map;if(!h.fields)return i;const l=h.datesInUnknownTimezone===!0,{timeInfo:d,editFieldsInfo:I}=h,F=(d?"startField"in d?d.startField:d.startTimeField:"")??"",A=(d?"endField"in d?d.endField:d.endTimeField:"")??"",b=E(h)?h.dateFieldsTimeZone??null:h.dateFieldsTimeReference?(0,O.ZS)(h.dateFieldsTimeReference):null,M=I?p(I)?I.timeZone??b:I.dateFieldsTimeReference?(0,O.ZS)(I.dateFieldsTimeReference):b??O.n$:null,P=d?y(d)?d.timeZone??b:d.timeReference?(0,O.ZS)(d.timeReference):b:null,L=new Map([[f(I?.creationDateField??""),M],[f(I?.editDateField??""),M],[f(F),P],[f(A),P]]);for(const{name:U,type:C}of h.fields)if(N.has(C))i.set(U,O.L5);else if(C!=="date"&&C!=="esriFieldTypeDate")i.set(U,null);else if(l)i.set(U,O.L5);else{const K=L.get(f(U??""))??b;i.set(U,K)}return i}}}]);
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.