@arcgis/core 4.26.0 → 4.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/arcade/ArcadeDate.js +1 -1
  2. package/arcade/Feature.js +1 -1
  3. package/arcade/arcadeTimeUtils.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/009cd8f27d2357ec9317.js +1 -0
  7. package/assets/esri/core/workers/chunks/03081e28fe59ba2e8040.js +1 -0
  8. package/assets/esri/core/workers/chunks/17ce4b146825adcca307.js +1 -0
  9. package/assets/esri/core/workers/chunks/186f2d0c94fa1eca4959.js +1 -0
  10. package/assets/esri/core/workers/chunks/1fd48420dfbbfdb3b051.js +1 -0
  11. package/assets/esri/core/workers/chunks/226bfa115acb8542f21c.js +1 -0
  12. package/assets/esri/core/workers/chunks/{25abc848a128b24ff66e.js → 3808f33563757fad703d.js} +1 -1
  13. package/assets/esri/core/workers/chunks/38ebf5d20576609566f9.js +1 -0
  14. package/assets/esri/core/workers/chunks/4125b10b1d009f35e75e.js +1 -0
  15. package/assets/esri/core/workers/chunks/47195afa66f640cb4b64.js +1 -0
  16. package/assets/esri/core/workers/chunks/48d35993b6ffb76e56e9.js +1 -0
  17. package/assets/esri/core/workers/chunks/5022862c5658e7bb0e04.js +1 -0
  18. package/assets/esri/core/workers/chunks/55782608bee89fa0d6e1.js +1 -0
  19. package/assets/esri/core/workers/chunks/5598996bcf60741aa734.js +1 -0
  20. package/assets/esri/core/workers/chunks/592e9834aa896cdd0e86.js +1 -0
  21. package/assets/esri/core/workers/chunks/5a5e4983c526bf08c7f1.js +1 -0
  22. package/assets/esri/core/workers/chunks/{a6d34147e7dbb1e4609c.js → 5f8acce073b8da5ac6ae.js} +1 -1
  23. package/assets/esri/core/workers/chunks/611c27efa10e4e04d8b6.js +1 -0
  24. package/assets/esri/core/workers/chunks/6ecf0bb8e16159160cde.js +1 -0
  25. package/assets/esri/core/workers/chunks/81949c9d14a8d75c45b6.js +1 -0
  26. package/assets/esri/core/workers/chunks/843a8b87ebecc246598a.js +1 -0
  27. package/assets/esri/core/workers/chunks/84c0a8d41eec91bb5142.js +1 -0
  28. package/assets/esri/core/workers/chunks/85c6a2c7239d0cf73a44.js +1 -0
  29. package/assets/esri/core/workers/chunks/8f3262f33d635cf9f046.js +1 -0
  30. package/assets/esri/core/workers/chunks/9054fd0707a15d037bb9.js +1 -0
  31. package/assets/esri/core/workers/chunks/a2e5b67c1c65a93f3c75.js +1 -0
  32. package/assets/esri/core/workers/chunks/b8b6df646ecf5482c5b4.js +1 -0
  33. package/assets/esri/core/workers/chunks/bcdd71e7475777f0f1bb.js +1 -0
  34. package/assets/esri/core/workers/chunks/{97ba79f9bceb42405573.js → bce1d4d6449a646834a1.js} +1 -1
  35. package/assets/esri/core/workers/chunks/bdeb15d8c536cc64f8da.js +1 -0
  36. package/assets/esri/core/workers/chunks/c999e9dd748ae449d66e.js +1 -0
  37. package/assets/esri/core/workers/chunks/cb177fb86cf8cec95e87.js +1 -0
  38. package/assets/esri/core/workers/chunks/{3c557a5728c76843561f.js → d3498d28fd01a0ad3899.js} +1 -1
  39. package/assets/esri/core/workers/chunks/dd698ada6b7c03cfd25c.js +1 -0
  40. package/assets/esri/core/workers/chunks/e26acb83eae5eec87ca1.js +1 -0
  41. package/assets/esri/core/workers/chunks/eca1b840c009e5477b80.js +1 -0
  42. package/assets/esri/core/workers/chunks/fbe981e42e92a32d922d.js +1 -0
  43. package/config.js +1 -1
  44. package/core/string.js +1 -1
  45. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  46. package/layers/support/PixelBlock.js +1 -1
  47. package/package.json +1 -1
  48. package/support/revision.js +1 -1
  49. package/views/2d/engine/ImageryBitmapSource.js +1 -1
  50. package/views/2d/layers/features/sources/BaseFeatureSource.js +1 -1
  51. package/views/2d/layers/features/sources/DataTileSource.js +1 -1
  52. package/views/layers/ImageryTileLayerView.js +1 -1
  53. package/widgets/Editor.js +1 -1
  54. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  55. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  56. package/widgets/FeatureForm.js +1 -1
  57. package/assets/esri/core/workers/chunks/03a811b5a912d83792dd.js +0 -1
  58. package/assets/esri/core/workers/chunks/0923c0641ca9d9a52efc.js +0 -1
  59. package/assets/esri/core/workers/chunks/1aff09c90f287eeba408.js +0 -1
  60. package/assets/esri/core/workers/chunks/1faf0e2aeabe003e2f64.js +0 -1
  61. package/assets/esri/core/workers/chunks/28a17bb249893350c2bf.js +0 -1
  62. package/assets/esri/core/workers/chunks/29662688eedc6df54d4b.js +0 -1
  63. package/assets/esri/core/workers/chunks/2b94b1bc4634f0518890.js +0 -1
  64. package/assets/esri/core/workers/chunks/3664d97f0c2819690cf9.js +0 -1
  65. package/assets/esri/core/workers/chunks/3d457f987e2089d67e89.js +0 -1
  66. package/assets/esri/core/workers/chunks/41d25407888326c91566.js +0 -1
  67. package/assets/esri/core/workers/chunks/4503194b1b1d8908a386.js +0 -1
  68. package/assets/esri/core/workers/chunks/4a264b7cfd0a4bc62be9.js +0 -1
  69. package/assets/esri/core/workers/chunks/4cddaa79af86b0981baa.js +0 -1
  70. package/assets/esri/core/workers/chunks/582d12138e6eea62d6fe.js +0 -1
  71. package/assets/esri/core/workers/chunks/5e9869849d999aac5756.js +0 -1
  72. package/assets/esri/core/workers/chunks/636b4e080d701d5856c7.js +0 -1
  73. package/assets/esri/core/workers/chunks/69c89c01783250811b56.js +0 -1
  74. package/assets/esri/core/workers/chunks/72c827a5388a4b1112e3.js +0 -1
  75. package/assets/esri/core/workers/chunks/7db8a429ef7bf11c5bb6.js +0 -1
  76. package/assets/esri/core/workers/chunks/8d52093b6c4bfd087a12.js +0 -1
  77. package/assets/esri/core/workers/chunks/9b449a036598479ad0b0.js +0 -1
  78. package/assets/esri/core/workers/chunks/9c67598554e0d2b2c14a.js +0 -1
  79. package/assets/esri/core/workers/chunks/9f8aad19c5973e201604.js +0 -1
  80. package/assets/esri/core/workers/chunks/9ff12db2f3dcd5749053.js +0 -1
  81. package/assets/esri/core/workers/chunks/a0e3b837262d6d64f605.js +0 -1
  82. package/assets/esri/core/workers/chunks/a213fb1cd2b5da2b7027.js +0 -1
  83. package/assets/esri/core/workers/chunks/aa864f9ad6b9a92ab328.js +0 -1
  84. package/assets/esri/core/workers/chunks/bb6e4affafef9855b8fd.js +0 -1
  85. package/assets/esri/core/workers/chunks/bd711b7229aa5cfa063b.js +0 -1
  86. package/assets/esri/core/workers/chunks/e384e1daec50f8cdcdd1.js +0 -1
  87. package/assets/esri/core/workers/chunks/eccc725bc3f8047171f7.js +0 -1
  88. package/assets/esri/core/workers/chunks/f3b59aa3b33e3ee70bec.js +0 -1
  89. package/assets/esri/core/workers/chunks/f7ed302a233d4cfb9060.js +0 -1
  90. package/assets/esri/core/workers/chunks/fd03ba4613f8973f8c86.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9078,216],{88387:(e,a,i)=>{i.r(a),i.d(a,{default:()=>ee});var t,r=i(43697),n=(i(66577),i(51773)),o=(i(16050),i(12501),i(28756),i(92271),i(72529),i(5499),i(84382)),s=i(81571),d=i(91423),l=i(32400),m=i(3172),c=i(9790),u=i(20102),p=i(50758),S=i(92604),T=i(70586),y=i(16453),h=i(95330),f=i(5600),A=i(75215),g=(i(67676),i(71715)),b=i(52011),C=i(63213),v=i(86973),w=i(87085),E=i(17287),k=i(71612),_=i(17017),I=i(69637),M=i(6404),P=i(38009),U=i(16859),x=i(34760),Z=i(72965),G=i(28294),R=i(21506),N=i(1231),F=i(53518),j=i(35671),L=i(54306),D=i(30707),z=i(96674);let W=t=class extends z.wq{constructor(){super(...arguments),this.age=null,this.ageReceived=null,this.displayCount=null,this.maxObservations=1}clone(){return new t({age:this.age,ageReceived:this.ageReceived,displayCount:this.displayCount,maxObservations:this.maxObservations})}};(0,r._)([(0,f.Cb)({type:Number,json:{write:!0}})],W.prototype,"age",void 0),(0,r._)([(0,f.Cb)({type:Number,json:{write:!0}})],W.prototype,"ageReceived",void 0),(0,r._)([(0,f.Cb)({type:Number,json:{write:!0}})],W.prototype,"displayCount",void 0),(0,r._)([(0,f.Cb)({type:Number,json:{write:!0}})],W.prototype,"maxObservations",void 0),W=t=(0,r._)([(0,b.j)("esri.layers.support.PurgeOptions")],W);const O=W;var B=i(40555),V=i(14165),q=i(32163),Y=i(86787),J=i(82971),K=i(6570);const H=(0,F.v)();function Q(e,a){return new u.Z("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${a}`,{layer:e})}let $=class extends((0,M.M)((0,I.b)((0,k.h)((0,G.n)((0,Z.M)((0,x.Q)((0,E.Y)((0,P.q)((0,U.I)((0,y.R)((0,_.N)(w.Z)))))))))))){constructor(...e){super(...e),this.copyright=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.geometryDefinition=null,this.geometryType=null,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.maxReconnectionAttempts=0,this.maxReconnectionInterval=20,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.operationalLayerType="ArcGISStreamLayer",this.popupEnabled=!0,this.popupTemplate=null,this.purgeOptions=new O,this.screenSizePerspectiveEnabled=!0,this.sourceJSON=null,this.spatialReference=J.Z.WGS84,this.type="stream",this.url=null,this.updateInterval=300,this.webSocketUrl=null}normalizeCtorArgs(e,a){return"string"==typeof e?{url:e,...a}:e}load(e){if(!("WebSocket"in globalThis))return this.addResolvingPromise(Promise.reject(new u.Z("stream-layer:websocket-unsupported","WebSocket is not supported in this browser. StreamLayer will not have real-time connection with the stream service."))),Promise.resolve(this);const a=(0,T.pC)(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Stream Service","Feed"]},e).catch(h.r9).then((()=>this._fetchService(a)))),Promise.resolve(this)}get defaultPopupTemplate(){return this.createPopupTemplate()}set renderer(e){(0,j.YN)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,a,i){const t=(a=a.layerDefinition||a).drawingInfo&&a.drawingInfo.renderer||void 0;if(t){const e=(0,d.a)(t,a,i)||void 0;return e||S.Z.getLogger(this.declaredClass).error("Failed to create renderer",{rendererDefinition:a.drawingInfo.renderer,layer:this,context:i}),e}if(a.defaultSymbol)return a.types&&a.types.length?new s.Z({defaultSymbol:X(a.defaultSymbol,a,i),field:a.typeIdField,uniqueValueInfos:a.types.map((e=>({id:e.id,symbol:X(e.symbol,e,i)})))}):new o.Z({symbol:X(a.defaultSymbol,a,i)})}async connect(e){const[{createConnection:a}]=await Promise.all([Promise.all([i.e(4599),i.e(5660)]).then(i.bind(i,95047)),this.load()]),t=this.geometryType?v.M.toJSON(this.geometryType):null,{customParameters:r=null,definitionExpression:n=null,geometryDefinition:o=null,maxReconnectionAttempts:s=0,maxReconnectionInterval:d=20,spatialReference:l=this.spatialReference}=e||this.createConnectionParameters(),m=a(this.parsedUrl,this.spatialReference,l,t,{geometry:o,where:n},s,d,r??void 0),c=(0,p.AL)([this.on("send-message-to-socket",(e=>m.sendMessageToSocket(e))),this.on("send-message-to-client",(e=>m.sendMessageToClient(e)))]);return m.once("destroy",c.remove),m}createConnectionParameters(){return{spatialReference:this.spatialReference,customParameters:this.customParameters,definitionExpression:this.definitionExpression,geometryDefinition:this.geometryDefinition,maxReconnectionAttempts:this.maxReconnectionAttempts,maxReconnectionInterval:this.maxReconnectionInterval}}createPopupTemplate(e){return(0,q.eZ)(this,e)}createQuery(){const e=new V.Z;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,a){if(!this.fields)return null;let i=null;return this.fields.some((a=>(a.name===e&&(i=a.domain),!!i))),i}getField(e){return this.fieldsIndex.get(e)}serviceSupportsSpatialReference(e){return!0}sendMessageToSocket(e){this.emit("send-message-to-socket",e)}sendMessageToClient(e){this.emit("send-message-to-client",e)}write(e,a){const i=a?.messages;return this.webSocketUrl?(i?.push(Q(this,"using a custom websocket connection cannot be written to web scenes and web maps")),null):this.parsedUrl?super.write(e,a):(i?.push(Q(this,"using a client-side only connection without a url cannot be written to web scenes and web maps")),null)}async _fetchService(e){if(!this.webSocketUrl&&this.parsedUrl){if(!this.sourceJSON){const{data:a}=await(0,m.default)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,...this.parsedUrl.query},responseType:"json",signal:e});this.sourceJSON=a}}else{if(!this.timeInfo?.trackIdField)throw new u.Z("stream-layer:missing-metadata","The stream layer trackIdField must be specified.");if(!this.objectIdField){const e=this.fields.find((e=>"oid"===e.type))?.name;if(!e)throw new u.Z("stream-layer:missing-metadata","The stream layer objectIdField must be specified.");this.objectIdField=e}if(!this.fields)throw new u.Z("stream-layer:missing-metadata","The stream layer fields must be specified.");if(this.fields.some((e=>e.name===this.objectIdField))||this.fields.push(new N.Z({name:this.objectIdField,alias:this.objectIdField,type:"oid"})),!this.geometryType)throw new u.Z("stream-layer:missing-metadata","The stream layer geometryType must be specified.");this.webSocketUrl&&(this.url=this.webSocketUrl)}return this.read(this.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,j.YN)(this.renderer,this.fieldsIndex),(0,j.UF)(this.timeInfo,this.fieldsIndex),this.objectIdField||(this.objectIdField="__esri_stream_id__"),(0,B.y)(this,{origin:"service"})}};(0,r._)([(0,f.Cb)({type:String})],$.prototype,"copyright",void 0),(0,r._)([(0,f.Cb)({readOnly:!0})],$.prototype,"defaultPopupTemplate",null),(0,r._)([(0,f.Cb)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],$.prototype,"definitionExpression",void 0),(0,r._)([(0,f.Cb)({type:String})],$.prototype,"displayField",void 0),(0,r._)([(0,f.Cb)({type:Y.Z})],$.prototype,"elevationInfo",void 0),(0,r._)([(0,f.Cb)(H.fields)],$.prototype,"fields",void 0),(0,r._)([(0,f.Cb)(H.fieldsIndex)],$.prototype,"fieldsIndex",void 0),(0,r._)([(0,f.Cb)({type:K.Z})],$.prototype,"geometryDefinition",void 0),(0,r._)([(0,f.Cb)({type:v.M.apiValues,json:{read:{reader:v.M.read}}})],$.prototype,"geometryType",void 0),(0,r._)([(0,f.Cb)(R.iR)],$.prototype,"labelsVisible",void 0),(0,r._)([(0,f.Cb)({type:[L.Z],json:{read:{source:"layerDefinition.drawingInfo.labelingInfo",reader:D.r},write:{target:"layerDefinition.drawingInfo.labelingInfo"}}})],$.prototype,"labelingInfo",void 0),(0,r._)([(0,f.Cb)(R.rn)],$.prototype,"legendEnabled",void 0),(0,r._)([(0,f.Cb)({type:["show","hide"]})],$.prototype,"listMode",void 0),(0,r._)([(0,f.Cb)({type:A.z8})],$.prototype,"maxReconnectionAttempts",void 0),(0,r._)([(0,f.Cb)({type:A.z8})],$.prototype,"maxReconnectionInterval",void 0),(0,r._)([(0,f.Cb)(R.u1)],$.prototype,"maxScale",void 0),(0,r._)([(0,f.Cb)(R.rO)],$.prototype,"minScale",void 0),(0,r._)([(0,f.Cb)({type:String})],$.prototype,"objectIdField",void 0),(0,r._)([(0,f.Cb)({value:"ArcGISStreamLayer",type:["ArcGISStreamLayer"]})],$.prototype,"operationalLayerType",void 0),(0,r._)([(0,f.Cb)(R.C_)],$.prototype,"popupEnabled",void 0),(0,r._)([(0,f.Cb)({type:n.Z,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],$.prototype,"popupTemplate",void 0),(0,r._)([(0,f.Cb)({type:O})],$.prototype,"purgeOptions",void 0),(0,r._)([(0,f.Cb)({types:l.A,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{name:"layerDefinition.drawingInfo.renderer",types:l.o,write:!0}},write:{target:"layerDefinition.drawingInfo.renderer"}}})],$.prototype,"renderer",null),(0,r._)([(0,g.r)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,g.r)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],$.prototype,"readRenderer",null),(0,r._)([(0,f.Cb)(R.YI)],$.prototype,"screenSizePerspectiveEnabled",void 0),(0,r._)([(0,f.Cb)()],$.prototype,"sourceJSON",void 0),(0,r._)([(0,f.Cb)({type:J.Z,json:{origins:{service:{read:{source:"spatialReference"}}}}})],$.prototype,"spatialReference",void 0),(0,r._)([(0,f.Cb)({json:{read:!1}})],$.prototype,"type",void 0),(0,r._)([(0,f.Cb)(R.HQ)],$.prototype,"url",void 0),(0,r._)([(0,f.Cb)({type:Number})],$.prototype,"updateInterval",void 0),(0,r._)([(0,f.Cb)({type:String})],$.prototype,"webSocketUrl",void 0),$=(0,r._)([(0,b.j)("esri.layers.StreamLayer")],$);const X=(0,C.d)({types:c.QT}),ee=$},17287:(e,a,i)=>{i.d(a,{Y:()=>l});var t=i(43697),r=i(92604),n=i(70586),o=i(5600),s=(i(75215),i(67676),i(52011)),d=i(66677);const l=e=>{let a=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,d.Qc)(this.url);if((0,n.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,d.Nm)(e,r.Z.getLogger(this.declaredClass)))}};return(0,t._)([(0,o.Cb)()],a.prototype,"title",null),(0,t._)([(0,o.Cb)({type:String})],a.prototype,"url",null),a=(0,t._)([(0,s.j)("esri.layers.mixins.ArcGISService")],a),a}},40555:(e,a,i)=>{i.d(a,{y:()=>o});var t=i(66643),r=i(95330),n=i(20941);async function o(e,a,i){const o=e&&e.getAtOrigin&&e.getAtOrigin("renderer",a.origin);if(o&&"unique-value"===o.type&&o.styleOrigin){const s=await(0,t.q6)(o.populateFromStyle());if((0,r.k_)(i),!1===s.ok){const i=s.error;a&&a.messages&&a.messages.push(new n.Z("renderer:style-reference",`Failed to create unique value renderer from style reference: ${i.message}`,{error:i,context:a})),e.clear("renderer",a?.origin)}}}},51706:(e,a,i)=>{var t,r;function n(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?t.Expression:e.field&&"string"==typeof e.field?t.Field:t.Unknown}function d(e,a){const i=a||s(e),n=e.valueUnit||"unknown";return i===t.Unknown?r.Constant:e.stops?r.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?r.ClampedLinear:"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?r.Proportional:r.Additive:r.Identity:r.RealWorldSize}i.d(a,{PS:()=>s,QW:()=>d,RY:()=>t,hL:()=>r,iY:()=>n,qh:()=>o}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(t||(t={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(r||(r={}))},58333:(e,a,i)=>{i.d(a,{ET:()=>n,I4:()=>r,eG:()=>d,lF:()=>o,lj:()=>m,qP:()=>s,wW:()=>l});const t=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:t,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:t},o={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},s={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},d={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},l={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},m={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},80216:(e,a,i)=>{i.d(a,{Z:()=>p});var t=i(43697),r=i(2368),n=i(96674),o=i(70586),s=i(5600),d=(i(75215),i(67676),i(71715)),l=i(52011),m=i(30556),c=i(42799);let u=class extends((0,r.J)(n.wq)){constructor(e){super(e),this.legacy=null,this.timeZone="system"}readLegacy(e,a){const{timeZone:i,respectsDaylightSaving:t}=a;return{timeZone:i,respectsDaylightSaving:t}}readTimeZone(e,a){return"timeZoneIANA"in a?a.timeZoneIANA:(0,c.G)(a)}writeTimeZone(e,a){a.timeZoneIANA=e}equals(e){return!((0,o.Wi)(e)||(0,o.Wi)(this.timeZone)||(0,o.Wi)(e.timeZone))&&this.timeZone===e.timeZone}};(0,t._)([(0,s.Cb)()],u.prototype,"legacy",void 0),(0,t._)([(0,d.r)("legacy",["timeZone"])],u.prototype,"readLegacy",null),(0,t._)([(0,s.Cb)({type:String,nonNullable:!0})],u.prototype,"timeZone",void 0),(0,t._)([(0,d.r)("timeZone",["timeZone","timeZoneIANA","respectsDaylightSaving"])],u.prototype,"readTimeZone",null),(0,t._)([(0,m.c)("timeZone")],u.prototype,"writeTimeZone",null),u=(0,t._)([(0,l.j)("esri.time.TimeReference")],u);const p=u},42799:(e,a,i)=>{i.d(a,{G:()=>n});const t=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Almaty"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Chihuahua"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var r=i(17126);function n(e,a="system"){if(!e||!t.has(e.timeZone))return a;const i=t.get(e.timeZone);return e.timeZone.startsWith("UTC")||e.respectsDaylightSaving?i:function(e){const a=r.ou.local().setZone(e),i=Math.min(a.set({month:1,day:1}).offset,a.set({month:5}).offset);return 0===i?"Etc/UTC":`Etc/GMT${r.Qf.instance(-i).formatOffset(0,"narrow")}`}(i)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6395,216],{3920:(e,t,a)=>{a.d(t,{p:()=>l,r:()=>p});var r=a(43697),i=a(15923),s=a(61247),n=a(5600),o=a(52011),d=a(72762);const l=e=>{let t=class extends e{destroy(){this.destroyed||(this._get("handles")?.destroy(),this._get("updatingHandles")?.destroy())}get handles(){return this._get("handles")||new s.Z}get updatingHandles(){return this._get("updatingHandles")||new d.t}};return(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,r._)([(0,o.j)("esri.core.HandleOwner")],t),t};let p=class extends(l(i.Z)){};p=(0,r._)([(0,o.j)("esri.core.HandleOwner")],p)},42033:(e,t,a)=>{a.d(t,{E:()=>i,_:()=>s});var r=a(70586);async function i(e,t){const{WhereClause:r}=await a.e(1534).then(a.bind(a,41534));return r.create(e,t)}function s(e,t){return(0,r.pC)(e)?(0,r.pC)(t)?`(${e}) AND (${t})`:e:t}},72762:(e,t,a)=>{a.d(t,{t:()=>u});var r=a(43697),i=a(15923),s=a(61247),n=a(70586),o=a(17445),d=a(1654),l=a(5600),p=a(52011);let u=class extends i.Z{constructor(){super(...arguments),this.updating=!1,this._handleId=0,this._handles=new s.Z,this._scheduleHandleId=0,this._pendingPromises=new Set}destroy(){this.removeAll(),this._handles.destroy()}add(e,t,a={}){return this._installWatch(e,t,a,o.YP)}addWhen(e,t,a={}){return this._installWatch(e,t,a,o.gx)}addOnCollectionChange(e,t,{initial:a=!1,final:r=!1}={}){const i=++this._handleId;return this._handles.add([(0,o.on)(e,"after-changes",this._createSyncUpdatingCallback(),o.Z_),(0,o.on)(e,"change",t,{onListenerAdd:a?e=>t({added:e.toArray(),removed:[]}):void 0,onListenerRemove:r?e=>t({added:[],removed:e.toArray()}):void 0})],i),{remove:()=>this._handles.remove(i)}}addPromise(e){if((0,n.Wi)(e))return e;const t=++this._handleId;this._handles.add({remove:()=>{this._pendingPromises.delete(e)&&(0!==this._pendingPromises.size||this._handles.has(c)||this._set("updating",!1))}},t),this._pendingPromises.add(e),this._set("updating",!0);const a=()=>this._handles.remove(t);return e.then(a,a),e}removeAll(){this._pendingPromises.clear(),this._handles.removeAll(),this._set("updating",!1)}_installWatch(e,t,a={},r){const i=++this._handleId;a.sync||this._installSyncUpdatingWatch(e,i);const s=r(e,t,a);return this._handles.add(s,i),{remove:()=>this._handles.remove(i)}}_installSyncUpdatingWatch(e,t){const a=this._createSyncUpdatingCallback(),r=(0,o.YP)(e,a,{sync:!0,equals:()=>!1});return this._handles.add(r,t),r}_createSyncUpdatingCallback(){return()=>{this._handles.remove(c),++this._scheduleHandleId;const e=this._scheduleHandleId;this._get("updating")||this._set("updating",!0),this._handles.add((0,d.Os)((()=>{e===this._scheduleHandleId&&(this._set("updating",this._pendingPromises.size>0),this._handles.remove(c))})),c)}}};(0,r._)([(0,l.Cb)({readOnly:!0})],u.prototype,"updating",void 0),u=(0,r._)([(0,p.j)("esri.core.support.WatchUpdatingTracking")],u);const c=-42},54295:(e,t,a)=>{a.d(t,{V:()=>n});var r=a(43697),i=a(5600),s=(a(75215),a(67676),a(52011));const n=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r._)([(0,i.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,r._)([(0,s.j)("esri.layers.mixins.APIKeyMixin")],t),t}},17287:(e,t,a)=>{a.d(t,{Y:()=>l});var r=a(43697),i=a(92604),s=a(70586),n=a(5600),o=(a(75215),a(67676),a(52011)),d=a(66677);const l=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,d.Qc)(this.url);if((0,s.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,d.Nm)(e,i.Z.getLogger(this.declaredClass)))}};return(0,r._)([(0,n.Cb)()],t.prototype,"title",null),(0,r._)([(0,n.Cb)({type:String})],t.prototype,"url",null),t=(0,r._)([(0,o.j)("esri.layers.mixins.ArcGISService")],t),t}},70082:(e,t,a)=>{a.d(t,{Z:()=>u});var r=a(43697),i=a(2368),s=a(35454),n=a(96674),o=a(5600),d=(a(75215),a(67676),a(52011));const l=new s.X({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,i.J)(n.wq)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r._)([(0,o.Cb)({json:{write:!0}})],p.prototype,"name",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],p.prototype,"description",void 0),(0,r._)([(0,o.Cb)({json:{read:l.read,write:l.write}})],p.prototype,"drawingTool",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,r._)([(0,d.j)("esri.layers.support.FeatureTemplate")],p);const u=p},16451:(e,t,a)=>{a.d(t,{Z:()=>m});var r=a(43697),i=a(2368),s=a(96674),n=a(5600),o=(a(75215),a(67676),a(71715)),d=a(52011),l=a(30556),p=a(72729),u=a(70082);let c=class extends((0,i.J)(s.wq)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const a of Object.keys(e))t[a]=(0,p.im)(e[a]);return t}writeDomains(e,t){const a={};for(const t of Object.keys(e))e[t]&&(a[t]=e[t]?.toJSON());t.domains=a}};(0,r._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"id",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"domains",void 0),(0,r._)([(0,o.r)("domains")],c.prototype,"readDomains",null),(0,r._)([(0,l.c)("domains")],c.prototype,"writeDomains",null),(0,r._)([(0,n.Cb)({type:[u.Z],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,r._)([(0,d.j)("esri.layers.support.FeatureType")],c);const m=c},56765:(e,t,a)=>{a.d(t,{Z:()=>p});var r,i=a(43697),s=a(46791),n=a(96674),o=a(5600),d=(a(75215),a(67676),a(52011));let l=r=class extends n.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.Z}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],l.prototype,"floorField",void 0),(0,i._)([(0,o.Cb)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i._)([(0,o.Cb)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,i._)([(0,d.j)("esri.layers.support.LayerFloorInfo")],l);const p=l},72064:(e,t,a)=>{a.d(t,{h:()=>u});var r=a(80442),i=a(70586),s=a(66677);const n={name:"supportsName",size:"supportsSize",contentType:"supportsContentType",keywords:"supportsKeywords",exifInfo:"supportsExifInfo"};function o(e,t,a){return!!(e&&e.hasOwnProperty(t)?e[t]:a)}function d(e,t,a){return e&&e.hasOwnProperty(t)?e[t]:a}function l(e){const t=e?.supportedSpatialAggregationStatistics?.map((e=>e.toLowerCase()));return{envelope:!!t?.includes("envelopeaggregate"),centroid:!!t?.includes("centroidaggregate"),convexHull:!!t?.includes("convexhullaggregate")}}function p(e,t){const a=e?.supportedOperationsWithCacheHint?.map((e=>e.toLowerCase()));return!!a?.includes(t.toLowerCase())}function u(e,t){return{analytics:c(e),attachment:m(e),data:h(e),metadata:y(e),operations:S(e.capabilities,e,t),query:T(e,t),queryRelated:g(e),queryTopFeatures:A(e),editing:f(e)}}function c(e){return{supportsCacheHint:p(e.advancedQueryCapabilities,"queryAnalytics")}}function m(e){const t=e.attachmentProperties,a={supportsName:!1,supportsSize:!1,supportsContentType:!1,supportsKeywords:!1,supportsExifInfo:!1,supportsCacheHint:p(e.advancedQueryCapabilities,"queryAttachments"),supportsResize:o(e,"supportsAttachmentsResizing",!1)};return t&&Array.isArray(t)&&t.forEach((e=>{const t=n[e.name];t&&(a[t]=!!e.isEnabled)})),a}function h(e){return{isVersioned:o(e,"isDataVersioned",!1),supportsAttachment:o(e,"hasAttachments",!1),supportsM:o(e,"hasM",!1),supportsZ:o(e,"hasZ",!1)}}function y(e){return{supportsAdvancedFieldProperties:o(e,"supportsFieldDescriptionProperty",!1)}}function S(e,t,a){const r=e?e.toLowerCase().split(",").map((e=>e.trim())):[],n=a?(0,s.Qc)(a):null,d=r.includes((0,i.pC)(n)&&"MapServer"===n.serverType?"data":"query"),l=r.includes("editing")&&!t.datesInUnknownTimezone;let p=l&&r.includes("create"),u=l&&r.includes("delete"),c=l&&r.includes("update");const m=r.includes("changetracking"),h=t.advancedQueryCapabilities;return l&&!(p||u||c)&&(p=u=c=!0),{supportsCalculate:o(t,"supportsCalculate",!1),supportsTruncate:o(t,"supportsTruncate",!1),supportsValidateSql:o(t,"supportsValidateSql",!1),supportsAdd:p,supportsDelete:u,supportsEditing:l,supportsChangeTracking:m,supportsQuery:d,supportsQueryAnalytics:o(h,"supportsQueryAnalytic",!1),supportsQueryAttachments:o(h,"supportsQueryAttachments",!1),supportsQueryTopFeatures:o(h,"supportsTopFeaturesQuery",!1),supportsResizeAttachments:o(t,"supportsAttachmentsResizing",!1),supportsSync:r.includes("sync"),supportsUpdate:c,supportsExceedsLimitStatistics:o(t,"supportsExceedsLimitStatistics",!1)}}function T(e,t){const a=e.advancedQueryCapabilities,i=e.ownershipBasedAccessControlForFeatures,n=e.archivingInfo,u=e.currentVersion,c=t?.includes("MapServer"),m=!c||u>=(0,r.Z)("mapserver-pbf-version-support"),h=(0,s.M8)(t),y=new Set((e.supportedQueryFormats??"").split(",").map((e=>e.toLowerCase().trim())));return{supportsStatistics:o(a,"supportsStatistics",e.supportsStatistics),supportsPercentileStatistics:o(a,"supportsPercentileStatistics",!1),supportsSpatialAggregationStatistics:o(a,"supportsSpatialAggregationStatistics",!1),supportedSpatialAggregationStatistics:l(a),supportsCentroid:o(a,"supportsReturningGeometryCentroid",!1),supportsDistance:o(a,"supportsQueryWithDistance",!1),supportsDistinct:o(a,"supportsDistinct",e.supportsAdvancedQueries),supportsExtent:o(a,"supportsReturningQueryExtent",!1),supportsGeometryProperties:o(a,"supportsReturningGeometryProperties",!1),supportsHavingClause:o(a,"supportsHavingClause",!1),supportsOrderBy:o(a,"supportsOrderBy",e.supportsAdvancedQueries),supportsPagination:o(a,"supportsPagination",!1),supportsQuantization:o(e,"supportsCoordinatesQuantization",!1),supportsQuantizationEditMode:o(e,"supportsQuantizationEditMode",!1),supportsQueryGeometry:o(e,"supportsReturningQueryGeometry",!1),supportsResultType:o(a,"supportsQueryWithResultType",!1),supportsMaxRecordCountFactor:o(a,"supportsMaxRecordCountFactor",!1),supportsSqlExpression:o(a,"supportsSqlExpression",!1),supportsStandardizedQueriesOnly:o(e,"useStandardizedQueries",!1),supportsTopFeaturesQuery:o(a,"supportsTopFeaturesQuery",!1),supportsQueryByOthers:o(i,"allowOthersToQuery",!0),supportsHistoricMoment:o(n,"supportsQueryWithHistoricMoment",!1),supportsFormatPBF:m&&y.has("pbf"),supportsDisjointSpatialRelationship:o(a,"supportsDisjointSpatialRel",!1),supportsCacheHint:o(a,"supportsQueryWithCacheHint",!1)||p(a,"query"),supportsDefaultSpatialReference:o(a,"supportsDefaultSR",!1),supportsCompactGeometry:h,supportsFullTextSearch:o(a,"supportsFullTextSearch",!1),maxRecordCountFactor:d(e,"maxRecordCountFactor",void 0),maxRecordCount:d(e,"maxRecordCount",void 0),standardMaxRecordCount:d(e,"standardMaxRecordCount",void 0),tileMaxRecordCount:d(e,"tileMaxRecordCount",void 0)}}function g(e){const t=e.advancedQueryCapabilities,a=o(t,"supportsAdvancedQueryRelated",!1);return{supportsPagination:o(t,"supportsQueryRelatedPagination",!1),supportsCount:a,supportsOrderBy:a,supportsCacheHint:p(t,"queryRelated")}}function A(e){return{supportsCacheHint:p(e.advancedQueryCapabilities,"queryTopFilter")}}function f(e){const t=e.ownershipBasedAccessControlForFeatures;return{supportsGeometryUpdate:o(e,"allowGeometryUpdates",!0),supportsGlobalId:o(e,"supportsApplyEditsWithGlobalIds",!1),supportsReturnServiceEditsInSourceSpatialReference:o(e,"supportsReturnServiceEditsInSourceSR",!1),supportsRollbackOnFailure:o(e,"supportsRollbackOnFailureParameter",!1),supportsUpdateWithoutM:o(e,"allowUpdateWithoutMValues",!1),supportsUploadWithItemId:o(e,"supportsAttachmentsByUploadId",!1),supportsDeleteByAnonymous:o(t,"allowAnonymousToDelete",!0),supportsDeleteByOthers:o(t,"allowOthersToDelete",!0),supportsUpdateByAnonymous:o(t,"allowAnonymousToUpdate",!0),supportsUpdateByOthers:o(t,"allowOthersToUpdate",!0)}}},51706:(e,t,a)=>{var r,i;function s(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function d(e,t){const a=t||o(e),s=e.valueUnit||"unknown";return a===r.Unknown?i.Constant:e.stops?i.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?i.ClampedLinear:"unknown"===s?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?i.Proportional:i.Additive:i.Identity:i.RealWorldSize}a.d(t,{PS:()=>o,QW:()=>d,RY:()=>r,hL:()=>i,iY:()=>s,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(i||(i={}))},28694:(e,t,a)=>{a.d(t,{p:()=>s});var r=a(70586),i=a(69285);function s(e,t,a){if(!a||!a.features||!a.hasZ)return;const s=(0,i.k)(a.geometryType,t,e.outSpatialReference);if(!(0,r.Wi)(s))for(const e of a.features)s(e.geometry)}},56545:(e,t,a)=>{a.d(t,{Z:()=>c});var r,i=a(43697),s=a(96674),n=a(22974),o=a(5600),d=a(75215),l=a(52011),p=a(30556);let u=r=class extends s.wq{constructor(e){super(e),this.attachmentTypes=null,this.attachmentsWhere=null,this.cacheHint=void 0,this.keywords=null,this.globalIds=null,this.name=null,this.num=null,this.objectIds=null,this.returnMetadata=!1,this.size=null,this.start=null,this.where=null}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new r((0,n.d9)({attachmentTypes:this.attachmentTypes,attachmentsWhere:this.attachmentsWhere,cacheHint:this.cacheHint,keywords:this.keywords,where:this.where,globalIds:this.globalIds,name:this.name,num:this.num,objectIds:this.objectIds,returnMetadata:this.returnMetadata,size:this.size,start:this.start}))}};(0,i._)([(0,o.Cb)({type:[String],json:{write:!0}})],u.prototype,"attachmentTypes",void 0),(0,i._)([(0,o.Cb)({type:String,json:{read:{source:"attachmentsDefinitionExpression"},write:{target:"attachmentsDefinitionExpression"}}})],u.prototype,"attachmentsWhere",void 0),(0,i._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],u.prototype,"cacheHint",void 0),(0,i._)([(0,o.Cb)({type:[String],json:{write:!0}})],u.prototype,"keywords",void 0),(0,i._)([(0,o.Cb)({type:[Number],json:{write:!0}})],u.prototype,"globalIds",void 0),(0,i._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],u.prototype,"num",void 0),(0,i._)([(0,o.Cb)({type:[Number],json:{write:!0}})],u.prototype,"objectIds",void 0),(0,i._)([(0,o.Cb)({type:Boolean,json:{default:!1,write:!0}})],u.prototype,"returnMetadata",void 0),(0,i._)([(0,o.Cb)({type:[Number],json:{write:!0}})],u.prototype,"size",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],u.prototype,"start",void 0),(0,i._)([(0,p.c)("start"),(0,p.c)("num")],u.prototype,"writeStart",null),(0,i._)([(0,o.Cb)({type:String,json:{read:{source:"definitionExpression"},write:{target:"definitionExpression"}}})],u.prototype,"where",void 0),u=r=(0,i._)([(0,l.j)("esri.rest.support.AttachmentQuery")],u),u.from=(0,d.se)(u);const c=u},74889:(e,t,a)=>{a.d(t,{Z:()=>f});var r,i=a(43697),s=a(66577),n=a(38171),o=a(35454),d=a(96674),l=a(22974),p=a(70586),u=a(5600),c=(a(75215),a(71715)),m=a(52011),h=a(30556),y=a(82971),S=a(33955),T=a(1231);const g=new o.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let A=r=class extends d.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const a=y.Z.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const i=e[t],s=n.Z.fromJSON(i),o=i.geometry&&i.geometry.spatialReference;(0,p.pC)(s.geometry)&&!o&&(s.geometry.spatialReference=a);const d=i.aggregateGeometries,l=s.aggregateGeometries;if(d&&(0,p.pC)(l))for(const e in l){const t=l[e],r=d[e]?.spatialReference;(0,p.pC)(t)&&!r&&(t.spatialReference=a)}r.push(s)}return r}writeGeometryType(e,t,a,r){if(e)return void g.write(e,t,a,r);const{features:i}=this;if(i)for(const e of i)if(e&&(0,p.pC)(e.geometry))return void g.write(e.geometry.type,t,a,r)}readQueryGeometry(e,t){if(!e)return null;const a=!!e.spatialReference,r=(0,S.im)(e);return r&&!a&&t.spatialReference&&(r.spatialReference=y.Z.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:a}=this;if(a)for(const e of a)if(e&&(0,p.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,l.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let a=0;a<t.features.length;a++){const r=t.features[a];if(r.geometry){const t=e&&e[a];r.geometry=t&&t.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,a],translate:[r,i]}=e,s=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((i-e)/a)));for(let e=0,t=s.length;e<t;e++)n?.((0,p.Wg)(s[e].geometry))||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:a}=this;if(!a)return this;const{translate:[r,i],scale:[s,n]}=a,o=this._getHydrationFunction(e,(e=>e*s+r),(e=>i-e*n));for(const{geometry:e}of t)(0,p.pC)(e)&&o&&o(e);return this.transform=null,this}_quantizePoints(e,t,a){let r,i;const s=[];for(let n=0,o=e.length;n<o;n++){const o=e[n];if(n>0){const e=t(o[0]),n=a(o[1]);e===r&&n===i||(s.push([e-r,n-i]),r=e,i=n)}else r=t(o[0]),i=a(o[1]),s.push([r,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,a){return"point"===e?e=>(e.x=t(e.x),e.y=a(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,S.oU)(e)?e.rings:e.paths,i=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],n=this._quantizePoints(s,t,a);n&&i.push(n)}return i.length>0?((0,S.oU)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,a);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,a){return"point"===e?e=>{e.x=t(e.x),e.y=a(e.y)}:"polyline"===e||"polygon"===e?e=>{const r=(0,S.oU)(e)?e.rings:e.paths;let i,s;for(let e=0,n=r.length;e<n;e++){const n=r[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(i+=r[0],s+=r[1]):(i=r[0],s=r[1]),r[0]=t(i),r[1]=a(s)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=a(e.ymin),e.xmax=t(e.xmax),e.ymax=a(e.ymax)}:"multipoint"===e?e=>{const r=e.points;let i,s;for(let e=0,n=r.length;e<n;e++){const n=r[e];e>0?(i+=n[0],s+=n[1]):(i=n[0],s=n[1]),n[0]=t(i),n[1]=a(s)}}:null}};(0,i._)([(0,u.Cb)({type:String,json:{write:!0}})],A.prototype,"displayFieldName",void 0),(0,i._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],A.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,u.Cb)({type:[n.Z],json:{write:!0}})],A.prototype,"features",void 0),(0,i._)([(0,c.r)("features")],A.prototype,"readFeatures",null),(0,i._)([(0,u.Cb)({type:[T.Z],json:{write:!0}})],A.prototype,"fields",void 0),(0,i._)([(0,u.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],A.prototype,"geometryType",void 0),(0,i._)([(0,h.c)("geometryType")],A.prototype,"writeGeometryType",null),(0,i._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],A.prototype,"hasM",void 0),(0,i._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],A.prototype,"hasZ",void 0),(0,i._)([(0,u.Cb)({types:s.qM,json:{write:!0}})],A.prototype,"queryGeometry",void 0),(0,i._)([(0,c.r)("queryGeometry")],A.prototype,"readQueryGeometry",null),(0,i._)([(0,u.Cb)({type:y.Z,json:{write:!0}})],A.prototype,"spatialReference",void 0),(0,i._)([(0,h.c)("spatialReference")],A.prototype,"writeSpatialReference",null),(0,i._)([(0,u.Cb)({json:{write:!0}})],A.prototype,"transform",void 0),A=r=(0,i._)([(0,m.j)("esri.rest.support.FeatureSet")],A),A.prototype.toJSON.isDefaultToJSON=!0;const f=A},58333:(e,t,a)=>{a.d(t,{ET:()=>s,I4:()=>i,eG:()=>d,lF:()=>n,lj:()=>p,qP:()=>o,wW:()=>l});const r=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},n={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},o={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},d={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},l={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},p={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},80216:(e,t,a)=>{a.d(t,{Z:()=>m});var r=a(43697),i=a(2368),s=a(96674),n=a(70586),o=a(5600),d=(a(75215),a(67676),a(71715)),l=a(52011),p=a(30556),u=a(42799);let c=class extends((0,i.J)(s.wq)){constructor(e){super(e),this.legacy=null,this.timeZone="system"}readLegacy(e,t){const{timeZone:a,respectsDaylightSaving:r}=t;return{timeZone:a,respectsDaylightSaving:r}}readTimeZone(e,t){return"timeZoneIANA"in t?t.timeZoneIANA:(0,u.G)(t)}writeTimeZone(e,t){t.timeZoneIANA=e}equals(e){return!((0,n.Wi)(e)||(0,n.Wi)(this.timeZone)||(0,n.Wi)(e.timeZone))&&this.timeZone===e.timeZone}};(0,r._)([(0,o.Cb)()],c.prototype,"legacy",void 0),(0,r._)([(0,d.r)("legacy",["timeZone"])],c.prototype,"readLegacy",null),(0,r._)([(0,o.Cb)({type:String,nonNullable:!0})],c.prototype,"timeZone",void 0),(0,r._)([(0,d.r)("timeZone",["timeZone","timeZoneIANA","respectsDaylightSaving"])],c.prototype,"readTimeZone",null),(0,r._)([(0,p.c)("timeZone")],c.prototype,"writeTimeZone",null),c=(0,r._)([(0,l.j)("esri.time.TimeReference")],c);const m=c},42799:(e,t,a)=>{a.d(t,{G:()=>s});const r=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Almaty"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Chihuahua"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var i=a(17126);function s(e,t="system"){if(!e||!r.has(e.timeZone))return t;const a=r.get(e.timeZone);return e.timeZone.startsWith("UTC")||e.respectsDaylightSaving?a:function(e){const t=i.ou.local().setZone(e),a=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===a?"Etc/UTC":`Etc/GMT${i.Qf.instance(-a).formatOffset(0,"narrow")}`}(a)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6584,9880,216],{85839:(e,t,a)=>{a.d(t,{nu:()=>i}),a(48853);var n=a(99514),r=(a(80216),a(17126),a(42799));class i{constructor(){this.dateTimeReferenceMetaData=null,this._fieldTimeZoneIndex={},this._fieldIndex=null,this._ianaPreferred=null,this._ianaTimeInfo=null,this._ianaEditFields=null,this._ianaLayerDateFields=null}static create(e,t){const a=new i;return a.dateTimeReferenceMetaData=t,a._fieldIndex=e instanceof n.Z?e:new n.Z(e),a}fieldTimeZone(e){const t=this._fieldIndex?.get(e);if(!t)return null;if("date"!==t.type&&"esriFieldTypeDate"!==t.type)return null;const a=this._fieldTimeZoneIndex[t.name];if(void 0!==a)return a;const n=[{field:this.dateTimeReferenceMetaData?.editFieldsInfo?.creationDateField,timeReference:this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.editFieldsInfo?.editDateField,timeReference:this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.timeInfo?.startTimeField,timeReference:this.dateTimeReferenceMetaData?.timeInfo?.timeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.timeInfo?.endTimeField,timeReference:this.dateTimeReferenceMetaData?.timeInfo?.timeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone}];for(const e of n)if(e.field===t.name){const a=this.convertToIANA(e.timeReference,e.isunknown);return this._fieldTimeZoneIndex[t.name]=a,a}const r=this.convertToIANA(this.dateTimeReferenceMetaData?.dateFieldsTimeReference,this.dateTimeReferenceMetaData?.datesInUnknownTimezone);return this._fieldTimeZoneIndex[t.name]=r,r}convertToIANA(e,t){return t?"unknown":function(e){return e?.timeZoneIANA?e?.timeZoneIANA:e?.timeZone?(0,r.G)(e,""):""}(e)}get layerPreferredTimeZone(){if(null!==this._ianaPreferred)return this._ianaPreferred;this._ianaPreferred="";const e=this.dateTimeReferenceMetaData?.preferredTimeReference;return this._ianaPreferred=this.convertToIANA(e,!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaPreferred}get layerTimeInfoTimeZone(){if(null!==this._ianaTimeInfo)return this._ianaTimeInfo;this._ianaTimeInfo="";const e=this.dateTimeReferenceMetaData?.timeInfo?.timeReference;return this._ianaTimeInfo=this.convertToIANA(e,!1),this._ianaTimeInfo}get layerEditFieldsTimeZone(){if(null!==this._ianaEditFields)return this._ianaEditFields;this._ianaEditFields="";const e=this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference;return this._ianaEditFields=this.convertToIANA(e,this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaEditFields}get layerDateFieldsTimeZone(){if(null!==this._ianaLayerDateFields)return this._ianaLayerDateFields;this._ianaLayerDateFields="";const e=this.dateTimeReferenceMetaData?.dateFieldsTimeReference;return this._ianaLayerDateFields=this.convertToIANA(e,!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaLayerDateFields}}},53073:(e,t,a)=>{a.d(t,{Z:()=>c});var n=a(75148),r=a(59987),i=a(91136),s=a(90961),o=a(90658),l=a(8667);class c extends i.Z{constructor(e){super(e),this._relation="",this._relationGeom=null,this._relationString="",this.declaredClass="esri.arcade.featureset.actions.SpatialFilter",this._relationString=e.relationString,this._parent=e.parentfeatureset,this._maxProcessing=40,this._relation=e.relation,this._relationGeom=e.relationGeom}async _getSet(e){if(null===this._wset){await this._ensureLoaded();const t=await this._parent._getFilteredSet("esriSpatialRelRelation"!==this._relation?this._relation:this._relation+":"+this._relationString,this._relationGeom,null,null,e);return this._checkCancelled(e),this._wset=new s.Z(t._candidates.slice(0),t._known.slice(0),t._ordered,this._clonePageDefinition(t.pagesDefinition)),this._wset}return this._wset}_isInFeatureSet(e){let t=this._parent._isInFeatureSet(e);return t===o.dj.NotInFeatureSet?t:(t=this._idstates[e],void 0===t?o.dj.Unknown:t)}_getFeature(e,t,a){return this._parent._getFeature(e,t,a)}_getFeatures(e,t,a,n){return this._parent._getFeatures(e,t,a,n)}_featureFromCache(e){return this._parent._featureFromCache(e)}async executeSpatialRelationTest(e){if(null===e.geometry)return!1;switch(this._relation){case"esriSpatialRelEnvelopeIntersects":{const t=(0,o.SV)(this._relationGeom),a=(0,o.SV)(e.geometry);return(0,l.kK)(t,a)}case"esriSpatialRelIntersects":return(0,l.kK)(this._relationGeom,e.geometry);case"esriSpatialRelContains":return(0,l.r3)(this._relationGeom,e.geometry);case"esriSpatialRelOverlaps":return(0,l.Nm)(this._relationGeom,e.geometry);case"esriSpatialRelWithin":return(0,l.uh)(this._relationGeom,e.geometry);case"esriSpatialRelTouches":return(0,l.W4)(this._relationGeom,e.geometry);case"esriSpatialRelCrosses":return(0,l.jU)(this._relationGeom,e.geometry);case"esriSpatialRelRelation":return(0,l.LV)(this._relationGeom,e.geometry,this._relationString??"")}}async _fetchAndRefineFeatures(e,t,a){const n=new s.Z([],e,!1,null),r=Math.min(t,e.length);await(this._parent?._getFeatures(n,-1,r,a)),this._checkCancelled(a);const i=[];for(let t=0;t<r;t++){const a=this._parent._featureFromCache(e[t]);i.push(await this.executeSpatialRelationTest(a))}for(let a=0;a<t;a++)!0===i[a]?this._idstates[e[a]]=o.dj.InFeatureSet:this._idstates[e[a]]=o.dj.NotInFeatureSet;return"success"}async _getFilteredSet(e,t,a,n,r){await this._ensureLoaded();const i=await this._parent._getFilteredSet("esriSpatialRelRelation"!==this._relation?this._relation:this._relation+":"+this._relationString,this._relationGeom,a,n,r);let o;return this._checkCancelled(r),o=null!==t?new s.Z(i._candidates.slice(0).concat(i._known.slice(0)),[],i._ordered,this._clonePageDefinition(i.pagesDefinition)):new s.Z(i._candidates.slice(0),i._known.slice(0),i._ordered,this._clonePageDefinition(i.pagesDefinition)),o}async _stat(e,t,a,n,r,i,s){if(""!==a)return{calculated:!1};const o=await this._parent._stat(e,t,"esriSpatialRelRelation"!==this._relation?this._relation:this._relation+":"+this._relationString,this._relationGeom,r,i,s);return!1===o.calculated?null===r&&""===a&&null===n?this._manualStat(e,t,i,s):{calculated:!1}:o}async _canDoAggregates(e,t,a,n,r){return""===a&&null===n&&null!==this._parent&&this._parent._canDoAggregates(e,t,"esriSpatialRelRelation"!==this._relation?this._relation:this._relation+":"+this._relationString,this._relationGeom,r)}async _getAggregatePagesDataSourceDefinition(e,t,a,n,i,s,o){if(null===this._parent)throw new r.EN(r.H9.NeverReach);return this._parent._getAggregatePagesDataSourceDefinition(e,t,"esriSpatialRelRelation"!==this._relation?this._relation:this._relation+":"+this._relationString,this._relationGeom,i,s,o)}static registerAction(){i.Z._featuresetFunctions.intersects=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelIntersects",relationGeom:e})},i.Z._featuresetFunctions.envelopeIntersects=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelEnvelopeIntersects",relationGeom:e})},i.Z._featuresetFunctions.contains=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelContains",relationGeom:e})},i.Z._featuresetFunctions.overlaps=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelOverlaps",relationGeom:e})},i.Z._featuresetFunctions.within=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelWithin",relationGeom:e})},i.Z._featuresetFunctions.touches=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelTouches",relationGeom:e})},i.Z._featuresetFunctions.crosses=function(e){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelCrosses",relationGeom:e})},i.Z._featuresetFunctions.relate=function(e,t){return null==e?new n.Z({parentfeatureset:this}):new c({parentfeatureset:this,relation:"esriSpatialRelRelation",relationGeom:e,relationString:t})}}}},75148:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(59987),r=a(91136),i=a(90961),s=a(90658);class o extends r.Z{constructor(e){super(e),this.declaredClass="esri.layers.featureset.sources.Empty",this._maxProcessing=1e3,this._wset=new i.Z([],[],!1,null),this._parent=e.parentfeatureset,this._databaseType=s.Bj.Standardised}async _getSet(){return this._wset}optimisePagingFeatureQueries(){}_isInFeatureSet(){return s.dj.NotInFeatureSet}async _getFeature(){throw new n.EN(n.H9.NeverReach)}async queryAttachments(){return[]}async _getFeatures(){return"success"}_featureFromCache(){return null}async _fetchAndRefineFeatures(){throw new n.EN(n.H9.NeverReach)}async _getFilteredSet(){return new i.Z([],[],!1,null)}_stat(e,t,a,n,r,i,s){return this._manualStat(e,t,i,s)}async _canDoAggregates(){return!1}}},91136:(e,t,a)=>{a.d(t,{Z:()=>p});var n=a(85839),r=a(48039),i=a(59987),s=a(70586);class o{constructor(e,t){this._lastId=-1,this._progress=t,this._parent=e}reset(){this._lastId=-1}nextBatch(e){if(null!==this._parent._mainSetInUse)return this._parent._mainSetInUse.then((t=>this.nextBatch(e)),(t=>this.nextBatch(e)));const t={returnpromise:null,hasset:!1},a=[];return t.returnpromise=new Promise(((n,r)=>{this._parent._getSet(this._progress).then((i=>{const o=(0,s.s3)(i._known,"known");let l=o.length-1;if("GETPAGES"===o[o.length-1]&&(l-=1),this._lastId+e>l&&o.length>0&&"GETPAGES"===o[o.length-1])return void this._parent._expandPagedSet(i,this._parent._maxQueryRate(),0,0,this._progress).then((a=>{t.hasset=!0,this._parent._mainSetInUse=null,this.nextBatch(e).then(n,r)}),(e=>{t.hasset=!0,this._parent._mainSetInUse=null,r(e)}));const c=(0,s.s3)(i._candidates,"candidates");if(l>=this._lastId+e||0===c.length){for(let t=0;t<e;t++){const e=t+this._lastId+1;if(e>=o.length)break;a[t]=o[e]}return this._lastId+=a.length,0===a.length&&(t.hasset=!0,this._parent._mainSetInUse=null,n([])),void this._parent._getFeatureBatch(a,this._progress).then((e=>{t.hasset=!0,this._parent._mainSetInUse=null,n(e)}),(e=>{t.hasset=!0,this._parent._mainSetInUse=null,r(e)}))}this._parent._refineSetBlock(i,this._parent._maxProcessingRate(),this._progress).then((()=>{t.hasset=!0,this._parent._mainSetInUse=null,this.nextBatch(e).then(n,r)}),(e=>{t.hasset=!0,this._parent._mainSetInUse=null,r(e)}))}),(e=>{t.hasset=!0,this._parent._mainSetInUse=null,r(e)}))})),!1===t.hasset&&(this._parent._mainSetInUse=t.returnpromise,t.hasset=!0),t.returnpromise}next(){if(null!==this._parent._mainSetInUse)return this._parent._mainSetInUse.then((e=>this.next()),(e=>this.next()));const e={returnpromise:null,hasset:!1};return e.returnpromise=new Promise(((t,a)=>{this._parent._getSet(this._progress).then((n=>{const r=(0,s.s3)(n._known,"known");this._lastId<r.length-1?"GETPAGES"===r[this._lastId+1]?this._parent._expandPagedSet(n,this._parent._maxQueryRate(),0,0,this._progress).then((t=>(e.hasset=!0,this._parent._mainSetInUse=null,this.next()))).then(t,a):(this._lastId+=1,this._parent._getFeature(n,r[this._lastId],this._progress).then((a=>{e.hasset=!0,this._parent._mainSetInUse=null,t(a)}),(t=>{e.hasset=!0,this._parent._mainSetInUse=null,a(t)}))):(0,s.s3)(n._candidates,"candidates").length>0?this._parent._refineSetBlock(n,this._parent._maxProcessingRate(),this._progress).then((()=>{e.hasset=!0,this._parent._mainSetInUse=null,this.next().then(t,a)}),(t=>{e.hasset=!0,this._parent._mainSetInUse=null,a(t)})):(e.hasset=!0,this._parent._mainSetInUse=null,t(null))}),(t=>{e.hasset=!0,this._parent._mainSetInUse=null,a(t)}))})),!1===e.hasset&&(this._parent._mainSetInUse=e.returnpromise,e.hasset=!0),e.returnpromise}async count(){if(-1!==this._parent._totalCount)return this._parent._totalCount;const e=await this._parent._getSet(this._progress),t=await this._refineAllSets(e);return this._parent._totalCount=t._known.length,this._parent._totalCount}async _refineAllSets(e){if(e._known.length>0&&"GETPAGES"===e._known[e._known.length-1])return await this._parent._expandPagedSet(e,this._parent._maxQueryRate(),0,1,this._progress),this._refineAllSets(e);if(e._candidates.length>0){if("GETPAGES"===e._known[e._candidates.length-1])return await this._parent._expandPagedSet(e,this._parent._maxQueryRate(),0,2,this._progress),this._refineAllSets(e);const t=await this._parent._refineSetBlock(e,this._parent._maxProcessingRate(),this._progress);return t._candidates.length>0?this._refineAllSets(t):t}return e}}var l=a(90961),c=a(90658),u=a(95002),d=a(95330),h=a(41534),f=a(8667),m=a(82971),_=a(99514);class p{constructor(e){this.recentlyUsedQueries=null,this.featureSetQueryInterceptor=null,this._idstates=[],this._parent=null,this._wset=null,this._mainSetInUse=null,this._maxProcessing=200,this._maxQuery=500,this._totalCount=-1,this._databaseType=c.Bj.NotEvaluated,this._databaseTypeProbed=null,this.declaredRootClass="esri.arcade.featureset.support.FeatureSet",this._featureCache=[],this.typeIdField=null,this.types=null,this.fields=null,this.geometryType="",this.objectIdField="",this.globalIdField="",this.spatialReference=null,this.hasM=!1,this.hasZ=!1,this._transparent=!1,this.loaded=!1,this._loadPromise=null,this._fieldsIndex=null,this._dateFieldIndex=null,e&&e.lrucache&&(this.recentlyUsedQueries=e.lrucache),e&&e.interceptor&&(this.featureSetQueryInterceptor=e.interceptor)}optimisePagingFeatureQueries(e){this._parent&&this._parent.optimisePagingFeatureQueries(e)}_hasMemorySource(){return!0}prop(e,t){return void 0===t?this[e]:(void 0!==this[e]&&(this[e]=t),this)}end(){return null!==this._parent&&!0===this._parent._transparent?this._parent.end():this._parent}_ensureLoaded(){return this.load()}load(){return null===this._loadPromise&&(this._loadPromise=this.loadImpl()),this._loadPromise}async loadImpl(){return!0===this._parent?.loaded?(this._initialiseFeatureSet(),this):(await(this._parent?.load()),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){null!==this._parent?(this.fields=this._parent.fields.slice(0),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types):(this.fields=[],this.typeIdField="",this.objectIdField="",this.globalIdField="",this.spatialReference=new m.Z({wkid:4326}),this.geometryType=c.Qk.point)}getField(e,t){let a;return(t=t||this.fields)&&(e=e.toLowerCase(),t.some((t=>(t&&t.name.toLowerCase()===e&&(a=t),!!a)))),a}getFieldsIndex(){return null===this._fieldsIndex&&(this._fieldsIndex=new _.Z(this.fields)),this._fieldsIndex}_maxProcessingRate(){return null!==this._parent?Math.min(this._maxProcessing,this._parent._maxProcessingRate()):Math.min(this._maxProcessing,this._maxQueryRate())}_maxQueryRate(){return null!==this._parent?Math.max(this._maxQuery,this._parent._maxQueryRate()):this._maxQuery}_checkCancelled(e){if(null!=e&&e.aborted)throw new i.EN(i.H9.Cancelled)}nativeCapabilities(){return this._parent.nativeCapabilities()}async _canDoAggregates(e,t,a,n,r){return null!==this._parent&&this._parent._canDoAggregates(e,t,a,n,r)}async _getAggregatePagesDataSourceDefinition(e,t,a,n,r,s,o){if(null===this._parent)throw new i.EN(i.H9.NeverReach);return this._parent._getAggregatePagesDataSourceDefinition(e,t,a,n,r,s,o)}async _getAgregagtePhysicalPage(e,t,a){if(null===this._parent)throw new i.EN(i.H9.NeverReach);return this._parent._getAgregagtePhysicalPage(e,t,a)}async databaseType(){if(this._databaseType===c.Bj.NotEvaluated){if(null!==r.Z.applicationCache){const e=r.Z.applicationCache.getDatabaseType(this._cacheableFeatureSetSourceKey());if(null!==e)return e}if(null!==this._databaseTypeProbed)return this._databaseTypeProbed;try{this._databaseTypeProbed=this._getDatabaseTypeImpl(),null!==r.Z.applicationCache&&r.Z.applicationCache.setDatabaseType(this._cacheableFeatureSetSourceKey(),this._databaseTypeProbed)}catch(e){throw null!==r.Z.applicationCache&&r.Z.applicationCache.clearDatabaseType(this._cacheableFeatureSetSourceKey()),e}return this._databaseTypeProbed}return this._databaseType}async _getDatabaseTypeImpl(){const e=[{thetype:c.Bj.SqlServer,testwhere:"(CAST( '2015-01-01' as DATETIME) = CAST( '2015-01-01' as DATETIME)) AND OBJECTID<0"},{thetype:c.Bj.Oracle,testwhere:"(TO_DATE('2003-11-18','YYYY-MM-DD') = TO_DATE('2003-11-18','YYYY-MM-DD')) AND OBJECTID<0"},{thetype:c.Bj.StandardisedNoInterval,testwhere:"(date '2015-01-01 10:10:10' = date '2015-01-01 10:10:10') AND OBJECTID<0"}];for(const t of e)if(!0===await this._runDatabaseProbe(t.testwhere))return t.thetype;return c.Bj.StandardisedNoInterval}_cacheableFeatureSetSourceKey(){return"MUSTBESET"}async _runDatabaseProbe(e){if(null!==this._parent)return this._parent._runDatabaseProbe(e);throw new i.EN(i.H9.NotImplemented)}isTable(){return this._parent?.isTable()??!1}_featureFromCache(e){if(void 0!==this._featureCache[e])return this._featureCache[e]}_isInFeatureSet(e){return c.dj.Unknown}_getSet(e){throw new i.EN(i.H9.NotImplemented)}async _getFeature(e,t,a){if(this._checkCancelled(a),void 0!==this._featureFromCache(t))return this._featureFromCache(t);if(await this._getFeatures(e,t,this._maxProcessingRate(),a),this._checkCancelled(a),void 0!==this._featureFromCache(t))return this._featureFromCache(t);throw new i.EN(i.H9.MissingFeatures)}async _getFeatureBatch(e,t){this._checkCancelled(t);const a=new l.Z([],e,!1,null),n=[];await this._getFeatures(a,-1,e.length,t),this._checkCancelled(t);for(const t of e)void 0!==this._featureFromCache(t)&&n.push(this._featureFromCache(t));return n}async _getFeatures(e,t,a,n){return"success"}_getFilteredSet(e,t,a,n,r){throw new i.EN(i.H9.NotImplemented)}async _refineSetBlock(e,t,a){if(!0===this._checkIfNeedToExpandCandidatePage(e,this._maxQueryRate()))return await this._expandPagedSet(e,this._maxQueryRate(),0,0,a),this._refineSetBlock(e,t,a);this._checkCancelled(a);const n=e._candidates.length;this._refineKnowns(e,t);let r=n-e._candidates.length;if(0===e._candidates.length)return e;if(r>=t)return e;if(await this._refineIfParentKnown(e,t-r,a),this._checkCancelled(a),this._refineKnowns(e,t-r),r=n-e._candidates.length,r<t&&e._candidates.length>0){const n=t-r,i=this._prepareFetchAndRefineSet(e._candidates);return await this._fetchAndRefineFeatures(i,i.length>n?n:e._candidates.length,a),this._checkCancelled(a),this._refineKnowns(e,t-r),e}return e}_fetchAndRefineFeatures(e,t,a){return null}_prepareFetchAndRefineSet(e){const t=[];for(let a=0;a<e.length;a++)this._isPhysicalFeature(e[a])&&t.push(e[a]);return t}_isPhysicalFeature(e){return null===this._parent||this._parent._isPhysicalFeature(e)}_refineKnowns(e,t){let a=0,n=null;const r=[];t=this._maxQueryRate();for(let i=0;i<e._candidates.length&&"GETPAGES"!==e._candidates[i];i++){let s=!1;const o=this._candidateIdTransform(e._candidates[i]);o!==e._candidates[i]&&(s=!0);const l=this._isInFeatureSet(o);if(l===c.dj.InFeatureSet)!0===s?e._known.includes(o)||(e._known.push(o),a+=1):(e._known.push(e._candidates[i]),a+=1),null===n?n={start:i,end:i}:n.end===i-1?n.end=i:(r.push(n),n={start:i,end:i});else if(l===c.dj.NotInFeatureSet)null===n?n={start:i,end:i}:n.end===i-1?n.end=i:(r.push(n),n={start:i,end:i}),a+=1;else if(l===c.dj.Unknown&&(a+=1,!0===e._ordered))break;if(a>=t)break}null!==n&&r.push(n);for(let t=r.length-1;t>=0;t--)e._candidates.splice(r[t].start,r[t].end-r[t].start+1)}_refineIfParentKnown(e,t,a){const n=new l.Z([],[],e._ordered,null);return n._candidates=e._candidates.slice(0),this._parent._refineSetBlock(n,t,a)}_candidateIdTransform(e){return this._parent._candidateIdTransform(e)}_checkIfNeedToExpandKnownPage(e,t){if(null===e.pagesDefinition)return!1;let a=0;for(let n=e._lastFetchedIndex;n<e._known.length;n++){if("GETPAGES"===e._known[n])return!0;if(void 0===this._featureCache[e._known[n]]&&(a+=1,a>=t))break}return!1}_checkIfNeedToExpandCandidatePage(e,t){if(null===e.pagesDefinition)return!1;let a=0;for(let n=0;n<e._candidates.length;n++){if("GETPAGES"===e._candidates[n])return!0;if(a+=1,a>=t)break}return!1}async _expandPagedSet(e,t,a,n,r){if(null===this._parent)throw new i.EN(i.H9.NotImplemented);return this._parent._expandPagedSet(e,t,a,n,r)}async _expandPagedSetFeatureSet(e,t,a,n,r){if(e._known.length>0&&"GETPAGES"===e._known[e._known.length-1]&&(n=1),0===n&&e._candidates.length>0&&"GETPAGES"===e._candidates[e._candidates.length-1]&&(n=2),0===n)return"finished";const i=await this._getPage(e,n,r);return a+i<t?this._expandPagedSet(e,t,a+i,0,r):"success"}async _getPage(e,t,a){const n=1===t?e._known:e._candidates;if(e.pagesDefinition.internal.set.length>e.pagesDefinition.resultOffset||!0===e.pagesDefinition.internal.fullyResolved){n.length=n.length-1;let t=0;for(let a=0;a<e.pagesDefinition.resultRecordCount&&!(e.pagesDefinition.resultOffset+a>=e.pagesDefinition.internal.set.length);a++)n[n.length]=e.pagesDefinition.internal.set[e.pagesDefinition.resultOffset+a],t++;e.pagesDefinition.resultOffset+=t;let a=!1;return!0===e.pagesDefinition.internal.fullyResolved&&e.pagesDefinition.internal.set.length<=e.pagesDefinition.resultOffset&&(a=!0),!1===a&&n.push("GETPAGES"),t}return await this._getPhysicalPage(e,t,a),this._getPage(e,t,a)}_getPhysicalPage(e,t,a){return null}_clonePageDefinition(e){return null===this._parent?null:this._parent._clonePageDefinition(e)}_first(e){return this.iterator(e).next()}first(e){return this._first(e)}async calculateStatistic(e,t,a,n){await this._ensureLoaded();let r=await this._stat(e,t,"",null,null,a,n);return!1===r.calculated&&(r=await this._manualStat(e,t,a,n)),r.result}async _manualStat(e,t,a,n){let r=null;switch(e.toLowerCase()){case"count":return r=await(0,u.QX)(this,n),{calculated:!0,result:r};case"distinct":return r=await(0,u.EB)(this,t,a,n),{calculated:!0,result:r};case"avg":case"mean":return r=await(0,u.J6)(this,t,n),{calculated:!0,result:r};case"stdev":return r=await(0,u.m)(this,t,n),{calculated:!0,result:r};case"variance":return r=await(0,u.CA)(this,t,n),{calculated:!0,result:r};case"sum":return r=await(0,u.Sm)(this,t,n),{calculated:!0,result:r};case"min":return r=await(0,u.VV)(this,t,n),{calculated:!0,result:r};case"max":return r=await(0,u.Fp)(this,t,n),{calculated:!0,result:r};default:return{calculated:!0,result:0}}}async _stat(e,t,a,n,r,i,s){const o=await this._parent._stat(e,t,a,n,r,i,s);return!1===o.calculated?null===r&&""===a&&null===n?this._manualStat(e,t,i,s):{calculated:!1}:o}_unionAllGeomSelf(e){const t=this.iterator(this._defaultTracker(e)),a=[];return new Promise(((e,n)=>{this._unionShapeInBatches(a,t,e,n)}))}_unionAllGeom(e){return new Promise(((t,a)=>{const n=this.iterator(this._defaultTracker(e));this._unionShapeInBatches([],n,t,a)}))}_unionShapeInBatches(e,t,a,n){t.next().then((r=>{try{null!==r&&null!==r.geometry&&e.push(r.geometry),e.length>30||null===r&&e.length>1?(0,f.G0)(e).then((i=>{try{null===r?a(i):(e=[i],this._unionShapeInBatches(e,t,a,n))}catch(e){n(e)}}),n):null===r?1===e.length?a(e[0]):a(null):this._unionShapeInBatches(e,t,a,n)}catch(e){n(e)}}),n)}iterator(e){return new o(this,e)}intersection(e,t=!1){return p._featuresetFunctions.intersection.bind(this)(e,t)}difference(e,t=!1,a=!0){return p._featuresetFunctions.difference.bind(this)(e,t,a)}symmetricDifference(e,t=!1,a=!0){return p._featuresetFunctions.symmetricDifference.bind(this)(e,t,a)}morphShape(e,t,a="unknown",n=null){return p._featuresetFunctions.morphShape.bind(this)(e,t,a,n)}morphShapeAndAttributes(e,t,a="unknown"){return p._featuresetFunctions.morphShapeAndAttributes.bind(this)(e,t,a)}union(e,t=!1){return p._featuresetFunctions.union.bind(this)(e,t)}intersects(e){return p._featuresetFunctions.intersects.bind(this)(e)}envelopeIntersects(e){return p._featuresetFunctions.envelopeIntersects.bind(this)(e)}contains(e){return p._featuresetFunctions.contains.bind(this)(e)}overlaps(e){return p._featuresetFunctions.overlaps.bind(this)(e)}relate(e,t){return p._featuresetFunctions.relate.bind(this)(e,t)}within(e){return p._featuresetFunctions.within.bind(this)(e)}touches(e){return p._featuresetFunctions.touches.bind(this)(e)}top(e){return p._featuresetFunctions.top.bind(this)(e)}crosses(e){return p._featuresetFunctions.crosses.bind(this)(e)}buffer(e,t,a,n=!0){return p._featuresetFunctions.buffer.bind(this)(e,t,a,n)}filter(e,t=null){return p._featuresetFunctions.filter.bind(this)(e,t)}orderBy(e){return p._featuresetFunctions.orderBy.bind(this)(e)}dissolve(e,t){return p._featuresetFunctions.dissolve.bind(this)(e,t)}groupby(e,t){return p._featuresetFunctions.groupby.bind(this)(e,t)}reduce(e,t=null,a){return new Promise(((n,r)=>{this._reduceImpl(this.iterator(this._defaultTracker(a)),e,t,0,n,r,0)}))}_reduceImpl(e,t,a,n,r,i,s){try{if(++s>1e3)return void setTimeout((()=>{s=0,this._reduceImpl(e,t,a,n,r,i,s)}));e.next().then((o=>{try{if(null===o)r(a);else{const l=t(a,o,n,this);(0,d.y8)(l)?l.then((a=>{this._reduceImpl(e,t,a,n+1,r,i,s)}),i):this._reduceImpl(e,t,l,n+1,r,i,s)}}catch(e){i(e)}}),i)}catch(e){i(e)}}removeField(e){return p._featuresetFunctions.removeField.bind(this)(e)}addField(e,t,a=null){return p._featuresetFunctions.addField.bind(this)(e,t,a)}sumArea(e,t=!1,a){const n=(0,c.EI)(e);return this.reduce(((e,a)=>null===a.geometry?0:t?(0,f.Y4)(a.geometry,n).then((t=>e+t)):(0,f.CJ)(a.geometry,n).then((t=>e+t))),0,a)}sumLength(e,t=!1,a){const n=(0,c.Lz)(e);return this.reduce(((e,a)=>null===a.geometry?0:t?(0,f.kQ)(a.geometry,n).then((t=>e+t)):(0,f.sz)(a.geometry,n).then((t=>e+t))),0,a)}_substituteVars(e,t){if(null!==t){const a={};for(const e in t)a[e.toLowerCase()]=t[e];e.parameters=a}}async distinct(e,t=1e3,a=null,n){await this.load();const r=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(r,a),this.calculateStatistic("distinct",r,t,this._defaultTracker(n))}async min(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("min",n,-1,this._defaultTracker(a))}async max(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("max",n,-1,this._defaultTracker(a))}async avg(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("avg",n,-1,this._defaultTracker(a))}async sum(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("sum",n,-1,this._defaultTracker(a))}async stdev(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("stdev",n,-1,this._defaultTracker(a))}async variance(e,t=null,a){await this.load();const n=h.WhereClause.create(e,this.getFieldsIndex());return this._substituteVars(n,t),this.calculateStatistic("variance",n,-1,this._defaultTracker(a))}async count(e){return await this.load(),this.calculateStatistic("count",h.WhereClause.create("1",this.getFieldsIndex()),-1,this._defaultTracker(e))}_defaultTracker(e){return e||{aborted:!1}}forEach(e,t){return new Promise(((a,n)=>{this._forEachImpl(this.iterator(this._defaultTracker(t)),e,this,a,n,0)}))}_forEachImpl(e,t,a,n,r,i){try{if(++i>1e3)return void setTimeout((()=>{i=0,this._forEachImpl(e,t,a,n,r,i)}),0);e.next().then((s=>{try{if(null===s)n(a);else{const o=t(s);null==o?this._forEachImpl(e,t,a,n,r,i):(0,d.y8)(o)?o.then((()=>{try{this._forEachImpl(e,t,a,n,r,i)}catch(e){r(e)}}),r):this._forEachImpl(e,t,a,n,r,i)}}catch(e){r(e)}}),r)}catch(e){r(e)}}convertToJSON(e){const t={layerDefinition:{geometryType:this.geometryType,fields:[]},featureSet:{features:[],geometryType:this.geometryType}};for(let e=0;e<this.fields.length;e++)t.layerDefinition.fields.push((0,c.Sh)(this.fields[e]));return this.reduce(((e,a)=>{const n={geometry:a.geometry&&a.geometry.toJSON(),attributes:{}};for(const e in a.attributes)n.attributes[e]=a.attributes[e];return t.featureSet.features.push(n),1}),0,e).then((()=>t))}castToText(e=!1){return"object, FeatureSet"}queryAttachments(e,t,a,n,r){return this._parent.queryAttachments(e,t,a,n,r)}serviceUrl(){return this._parent.serviceUrl()}subtypes(){return this.typeIdField?{subtypeField:this.typeIdField,subtypes:this.types?this.types.map((e=>({name:e.name,code:e.id}))):[]}:null}relationshipMetaData(){return this._parent.relationshipMetaData()}get gdbVersion(){return this._parent?this._parent.gdbVersion:""}schema(){const e=[];for(const t of this.fields)e.push((0,c.Sh)(t));return{objectIdField:this.objectIdField,globalIdField:this.globalIdField,geometryType:void 0===c.q2[this.geometryType]?"esriGeometryNull":c.q2[this.geometryType],fields:e}}async convertToText(e,t){if("schema"===e)return await this._ensureLoaded(),JSON.stringify(this.schema());if("featureset"===e){await this._ensureLoaded();const e=[];await this.reduce(((t,a)=>{const n={geometry:a.geometry?a.geometry.toJSON():null,attributes:a.attributes};return null!==n.geometry&&n.geometry.spatialReference&&delete n.geometry.spatialReference,e.push(n),1}),0,t);const a=this.schema();return a.features=e,a.spatialReference=this.spatialReference.toJSON(),JSON.stringify(a)}return this.castToText()}getFeatureByObjectId(e,t){return this._parent.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._parent.getOwningSystemUrl()}getIdentityUser(){return this._parent.getIdentityUser()}getRootFeatureSet(){return null!==this._parent?this._parent.getRootFeatureSet():this}getDataSourceFeatureSet(){return null!==this._parent?this._parent.getDataSourceFeatureSet():this}castAsJson(e=null){return"keeptype"===e?.featureset?this:"none"===e?.featureset?null:{type:"FeatureSet"}}async castAsJsonAsync(e=null,t=null){if("keeptype"===t?.featureset)return this;if("schema"===t?.featureset)return await this._ensureLoaded(),JSON.parse(JSON.stringify(this.schema()));if("none"===t?.featureset)return null;await this._ensureLoaded();const a=[];await this.reduce(((e,n)=>{const r={geometry:n.geometry?!0===t?.keepGeometryType?n.geometry:n.geometry.toJSON():null,attributes:n.attributes};return null!==r.geometry&&r.geometry.spatialReference&&!0!==t?.keepGeometryType&&delete r.geometry.spatialReference,a.push(r),1}),0,e);const n=this.schema();return n.features=a,n.spatialReference=!0===t?.keepGeometryType?this.spatialReference:this.spatialReference?.toJSON(),n}get dateTimeReferenceFieldIndex(){return null===this._dateFieldIndex&&(this._dateFieldIndex=n.nu.create(this.getFieldsIndex(),this)),this._dateFieldIndex}fieldTimeZone(e){return this.dateTimeReferenceFieldIndex.fieldTimeZone(e)}get preferredTimeReference(){return this._parent?.preferredTimeReference??null}get dateFieldsTimeReference(){return this._parent?.dateFieldsTimeReference??null}get datesInUnknownTimezone(){return this._parent.datesInUnknownTimezone}get editFieldsInfo(){return this._parent?.editFieldsInfo??null}get timeInfo(){return this._parent?.timeInfo??null}}p._featuresetFunctions={}},90961:(e,t,a)=>{a.d(t,{Z:()=>n});class n{constructor(e,t,a,n){this._lastFetchedIndex=0,this._ordered=!1,this.pagesDefinition=null,this._candidates=e,this._known=t,this._ordered=a,this.pagesDefinition=n}}},48039:(e,t,a)=>{a.d(t,{Z:()=>n});class n{constructor(){this._databaseTypeMetaData={},this._layerInfo={}}clearDatabaseType(e){void 0===this._databaseTypeMetaData[e]&&delete this._databaseTypeMetaData[e]}getDatabaseType(e){return"MUSTBESET"===e||void 0===this._databaseTypeMetaData[e]?null:this._databaseTypeMetaData[e]}setDatabaseType(e,t){this._databaseTypeMetaData[e]=t}getLayerInfo(e){return void 0===this._layerInfo[e]?null:this._layerInfo[e]}setLayerInfo(e,t){this._layerInfo[e]=t}clearLayerInfo(e){void 0!==this._layerInfo[e]&&delete this._layerInfo[e]}}n.applicationCache=null},36515:(e,t,a)=>{a.d(t,{$e:()=>d,DT:()=>g,TE:()=>F,XF:()=>c,bB:()=>u,fz:()=>f,hq:()=>w,mA:()=>m,oX:()=>_,vR:()=>p,y5:()=>A,zR:()=>l});var n=a(48853),r=a(90658),i=a(41534),s=a(59987),o=(a(85839),a(17126));function l(e,t){return h(e?.parseTree,t,e?.parameters)}function c(e,t,a){return h(e,t,a)}function u(e,t,a,n){return i.WhereClause.create(h(e.parseTree,r.Bj.Standardised,e.parameters,t,a),n)}function d(e,t,a="AND"){return i.WhereClause.create("(("+l(e,r.Bj.Standardised)+")"+a+"("+l(t,r.Bj.Standardised)+"))",e.fieldsIndex)}function h(e,t,a,n=null,i=null,o=null){let l,c,u,d;switch(e.type){case"interval":return F(h(e.value,t,a,n,i,o),e.qualifier,e.op);case"case-expression":{let r=" CASE ";"simple"===e.format&&(r+=h(e.operand,t,a,n,i,o));for(let s=0;s<e.clauses.length;s++)r+=" WHEN "+h(e.clauses[s].operand,t,a,n,i,o)+" THEN "+h(e.clauses[s].value,t,a,n,i,o);return null!==e.else&&(r+=" ELSE "+h(e.else,t,a,n,i,o)),r+=" END ",r}case"parameter":{const n=a[e.value.toLowerCase()];if("string"==typeof n)return"'"+a[e.value.toLowerCase()].toString().replace(/'/g,"''")+"'";if((0,r.J_)(n))return _(n,t,o);if((0,r.NP)(n))return m(n,t,o);if(n instanceof Array){const e=[];for(let a=0;a<n.length;a++)"string"==typeof n[a]?e.push("'"+n[a].toString().replace(/'/g,"''")+"'"):(0,r.J_)(n[a])?e.push(_(n[a],t,o)):(0,r.NP)(n[a])?e.push(m(n[a],t,o)):e.push(n[a].toString());return e}return n.toString()}case"expression-list":c=[];for(const r of e.value)c.push(h(r,t,a,n,i,o));return c;case"unary-expression":return" ( NOT "+h(e.expr,t,a,n,i,o)+" ) ";case"binary-expression":switch(e.operator){case"AND":return" ("+h(e.left,t,a,n,i,o)+" AND "+h(e.right,t,a,n,i,o)+") ";case"OR":return" ("+h(e.left,t,a,n,i,o)+" OR "+h(e.right,t,a,n,i,o)+") ";case"IS":if("null"!==e.right.type)throw new s.eS(s.f.UnsupportedIsRhs);return" ("+h(e.left,t,a,n,i,o)+" IS NULL )";case"ISNOT":if("null"!==e.right.type)throw new s.eS(s.f.UnsupportedIsRhs);return" ("+h(e.left,t,a,n,i,o)+" IS NOT NULL )";case"IN":return l=[],"expression-list"===e.right.type?(l=h(e.right,t,a,n,i)," ("+h(e.left,t,a,n,i,o)+" IN ("+l.join(",")+")) "):(d=h(e.right,t,a,n,i,o),d instanceof Array?" ("+h(e.left,t,a,n,i,o)+" IN ("+d.join(",")+")) ":" ("+h(e.left,t,a,n,i,o)+" IN ("+d+")) ");case"NOT IN":return l=[],"expression-list"===e.right.type?(l=h(e.right,t,a,n,i)," ("+h(e.left,t,a,n,i,o)+" NOT IN ("+l.join(",")+")) "):(d=h(e.right,t,a,n,i,o),d instanceof Array?" ("+h(e.left,t,a,n,i,o)+" NOT IN ("+d.join(",")+")) ":" ("+h(e.left,t,a,n,i,o)+" NOT IN ("+d+")) ");case"BETWEEN":return u=h(e.right,t,a,n,i,o)," ("+h(e.left,t,a,n,i,o)+" BETWEEN "+u[0]+" AND "+u[1]+" ) ";case"NOTBETWEEN":return u=h(e.right,t,a,n,i,o)," ("+h(e.left,t,a,n,i,o)+" NOT BETWEEN "+u[0]+" AND "+u[1]+" ) ";case"LIKE":return""!==e.escape?" ("+h(e.left,t,a,n,i,o)+" LIKE "+h(e.right,t,a,n,i,o)+" ESCAPE '"+e.escape+"') ":" ("+h(e.left,t,a,n,i,o)+" LIKE "+h(e.right,t,a,n,i,o)+") ";case"NOT LIKE":return""!==e.escape?" ("+h(e.left,t,a,n,i,o)+" NOT LIKE "+h(e.right,t,a,n,i,o)+" ESCAPE '"+e.escape+"') ":" ("+h(e.left,t,a,n,i,o)+" NOT LIKE "+h(e.right,t,a,n,i,o)+") ";case"<>":case"<":case">":case">=":case"<=":case"=":case"*":case"-":case"+":case"/":return" ("+h(e.left,t,a,n,i,o)+" "+e.operator+" "+h(e.right,t,a,n,i,o)+") ";case"||":return" ("+h(e.left,t,a,n,i,o)+" "+(t===r.Bj.SqlServer?"+":e.operator)+" "+h(e.right,t,a,n,i,o)+") "}throw new s.eS(s.f.UnsupportedOperator,{operator:e.operator});case"null":return"null";case"boolean":return!0===e.value?"1":"0";case"string":return"'"+e.value.toString().replace(/'/g,"''")+"'";case"timestamp":case"date":return _(e.value,t,o);case"number":return e.value.toString();case"current-time":return p("date"===e.mode,t);case"column-reference":return n&&n.toLowerCase()===e.column.toLowerCase()?"("+i+")":e.column;case"data-type":return e.value;case"function":{const r=h(e.args,t,a,n,i,o);return f(e.name,r,t)}}throw new s.eS(s.f.UnsupportedSyntax,{node:e.type})}function f(e,t,a){switch(e.toLowerCase().trim()){case"cos":case"sin":case"tan":case"cosh":case"tanh":case"sinh":case"acos":case"asin":case"atan":case"floor":case"log10":case"log":case"abs":if(1!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]})`;case"ceiling":case"ceil":if(1!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:"ceiling"});switch(a){case r.Bj.Standardised:case r.Bj.StandardisedNoInterval:}return"CEILING("+t[0]+")";case"mod":case"power":case"nullif":if(2!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:e.toLowerCase().trim()});return`${e.toUpperCase().trim()}(${t[0]},${t[1]})`;case"round":if(2===t.length)return"ROUND("+t[0]+","+t[1]+")";if(1===t.length)return"ROUND("+t[0]+")";throw new s.eS(s.f.InvalidFunctionParameters,{function:"round"});case"truncate":if(t.length<1||t.length>2)throw new s.eS(s.f.InvalidFunctionParameters,{function:"truncate"});return a===r.Bj.SqlServer?"ROUND("+t[0]+(1===t.length?"0":","+t[1])+",1)":"TRUNCATE("+t[0]+(1===t.length?")":","+t[1]+")");case"char_length":case"len":if(1!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:"char_length"});switch(a){case r.Bj.SqlServer:return"LEN("+t[0]+")";case r.Bj.Oracle:return"LENGTH("+t[0]+")";default:return"CHAR_LENGTH("+t[0]+")"}case"coalesce":case"concat":{if(t.length<1)throw new s.eS(s.f.InvalidFunctionParameters,{function:e.toLowerCase()});let a=e.toUpperCase().trim()+"(";for(let e=0;e<t.length;e++)0!==e&&(a+=","),a+=t[e];return a+=")",a}case"lower":case"lcase":if(1!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:"lower"});return"LOWER("+t[0]+")";case"upper":case"ucase":if(1!==t.length)throw new s.eS(s.f.InvalidFunctionParameters,{function:"upper"});return"UPPER("+t[0]+")";case"substring":{let e="";switch(a){case r.Bj.Oracle:return e="SUBSTR("+t[0]+","+t[1],3===t.length&&(e+=","+t[2]),e+=")",e;case r.Bj.SqlServer:return e=3===t.length?"SUBSTRING("+t[0]+","+t[1]+","+t[2]+")":"SUBSTRING("+t[0]+", "+t[1]+", LEN("+t[0]+") - "+t[1]+")",e;default:return e="SUBSTRING("+t[0]+" FROM "+t[1],3===t.length&&(e+=" FOR "+t[2]),e+=")",e}}case"extract":return"EXTRACT("+t[0].replace(/\'/g,"")+" FROM "+t[1]+")";case"cast":{let e="";switch(a){case r.Bj.Oracle:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case r.Bj.Postgres:switch(t[1].type){case"date":e="DATE";break;case"float":e="DOUBLE PRECISION";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;case r.Bj.SqlServer:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INT";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="DATETIME";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`;default:switch(t[1].type){case"date":e="DATE";break;case"float":e="FLOAT";break;case"integer":e="INTEGER";break;case"real":e="REAL";break;case"smallint":e="SMALLINT";break;case"timestamp":e="TIMESTAMP";break;case"varchar":e="VARCHAR("+t[1].size.toString()+")"}return`CAST(${t[0]} AS ${e})`}}}throw new s.eS(s.f.InvalidFunctionParameters,{function:e})}function m(e,t,a,i){a?.outputTimeReference&&(e=n.iG.arcadeDateAndZoneToArcadeDate(e,a?.outputTimeReference));const s=e.toDateTime(),o=0===s.hour&&0===s.minute&&0===s.second&&0===s.millisecond;switch(t){case r.Bj.FILEGDB:case r.Bj.Standardised:case r.Bj.StandardisedNoInterval:return o?`date '${s.toFormat("yyyy-LL-dd")}'`:`date '${s.toFormat("yyyy-LL-dd HH:mm:ss")}'`;case r.Bj.Oracle:return o?`TO_DATE('${s.toFormat("yyyy-LL-dd")}','YYYY-MM-DD')`:`TO_DATE('${s.toFormat("yyyy-LL-dd HH:mm:ss")}','YYYY-MM-DD HH24:MI:SS')`;case r.Bj.SqlServer:return`'${s.toFormat(o?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;case r.Bj.PGDB:return`#${s.toFormat(o?"LL-dd-yyyy":"LL-dd-yyyy HH:mm:ss")}#`;case r.Bj.Postgres:return`TIMESTAMP '${s.toFormat(o?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;default:return`date '${s.toFormat("yyyy-LL-dd HH:mm:ss")}'`}}function _(e,t,a,n){let i=(0,r.J_)(e)?o.ou.fromJSDate(e):o.ou.fromSQL(e);const s=0===i.hour&&0===i.minute&&0===i.second&&0===i.millisecond;switch(a?.inputTimeReference&&(i=o.ou.fromObject({day:i.day,year:i.year,month:i.month,hour:i.hour,minute:i.minute,second:i.second,millisecond:i.millisecond},{zone:a.inputTimeReference})),a?.outputTimeReference&&(i=i.setZone(a.outputTimeReference)),t){case r.Bj.FILEGDB:case r.Bj.Standardised:case r.Bj.StandardisedNoInterval:return s?`date '${i.toFormat("yyyy-LL-dd")}'`:`date '${i.toFormat("yyyy-LL-dd HH:mm:ss")}'`;case r.Bj.Oracle:return s?`TO_DATE('${i.toFormat("yyyy-LL-dd")}','YYYY-MM-DD')`:`TO_DATE('${i.toFormat("yyyy-LL-dd HH:mm:ss")}','YYYY-MM-DD HH24:MI:SS')`;case r.Bj.SqlServer:return`'${i.toFormat(s?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;case r.Bj.PGDB:return`#${i.toFormat(s?"LL-dd-yyyy":"LL-dd-yyyy HH:mm:ss")}#`;case r.Bj.Postgres:return`TIMESTAMP '${i.toFormat(s?"yyyy-LL-dd":"yyyy-LL-dd HH:mm:ss")}'`;default:return`date '${i.toFormat("yyyy-LL-dd HH:mm:ss")}'`}}function p(e,t){switch(t){case r.Bj.FILEGDB:case r.Bj.Standardised:case r.Bj.StandardisedNoInterval:case r.Bj.Oracle:return e?"CURRENT_DATE":"CURRENT_TIMESTAMP";case r.Bj.SqlServer:return e?"CAST(GETDATE() AS DATE)":"GETDATE()";case r.Bj.PGDB:case r.Bj.Postgres:default:return e?"CURRENT_DATE":"CURRENT_TIMESTAMP"}}function g(e,t,a={}){const n={},r={},i={esriFieldTypeSmallInteger:"integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"double",esriFieldTypeDouble:"double",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"integer",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"guid",oid:"integer",long:"integer","small-integer":"integer",integer:"integer",single:"double",double:"double",date:"date",guid:"guid",globalid:"guid",string:"string"};for(const e of t){const t=e.type?i[e.type]:void 0;n[e.name.toLowerCase()]=void 0===t?"":t}for(const e in a){const t=i[a[e]];r[e.toLowerCase()]=void 0===t?"":t}switch(T(n,e.parseTree,e.parameters,r)){case"double":return"double";case"integer":return"integer";case"date":return"date";case"string":return"string";case"global-id":case"guid":return"guid"}return""}function T(e,t,a,n){let i;switch(t.type){case"interval":return"integer";case"case-expression":{const r=[];if("simple"===t.format){for(let i=0;i<t.clauses.length;i++)r.push(T(e,t.clauses[i].value,a,n));null!==t.else&&r.push(T(e,t.else,a,n))}else{for(let i=0;i<t.clauses.length;i++)r.push(T(e,t.else,a,n));null!==t.else&&r.push(T(e,t.else,a,n))}return y(r)}case"parameter":{const e=n[t.value.toLowerCase()];if(void 0===e&&a){const e=a[t.value.toLowerCase()];if(void 0===e)return"";if(null===e)return"";if("string"==typeof e||e instanceof String)return"string";if("boolean"==typeof e)return"boolean";if((0,r.J_)(e))return"date";if((0,r.NP)(e))return"date";if("number"==typeof e)return e%1==0?"integer":"double"}return void 0===e?"":e}case"expression-list":{const r=[];for(const i of t.value)r.push(T(e,i,a,n));return r}case"unary-expression":return"boolean";case"binary-expression":switch(t.operator){case"AND":case"OR":case"IN":case"NOT IN":case"BETWEEN":case"NOTBETWEEN":case"LIKE":case"NOT LIKE":case"<>":case"<":case">":case">=":case"<=":case"=":return"boolean";case"IS":case"ISNOT":if("null"!==t.right.type)throw new s.eS(s.f.UnsupportedIsRhs);return"boolean";case"*":case"-":case"+":case"/":return y([T(e,t.left,a,n),T(e,t.right,a,n)]);case"||":return"string";default:throw new s.eS(s.f.UnsupportedOperator,{operator:t.operator})}case"null":return"";case"boolean":return"boolean";case"string":return"string";case"number":return null===t.value?"":t.value%1==0?"integer":"double";case"date":case"timestamp":case"current-time":return"date";case"column-reference":{const a=e[t.column.toLowerCase()];return void 0===a?"":a}case"function":switch(t.name.toLowerCase()){case"cast":switch(t.args?.value[1]?.value.type??""){case"integer":case"smallint":return"integer";case"real":case"float":return"double";case"date":case"timestamp":return"date";case"varchar":return"string";default:return""}case"position":case"extract":case"char_length":case"mod":return"integer";case"round":if(i=T(e,t.args,a,n),i instanceof Array){if(i.length<=0)return"double";i=i[0]}return i;case"sign":return"integer";case"ceiling":case"floor":case"abs":return i=T(e,t.args,a,n),i instanceof Array&&(i=y(i)),"integer"===i||"double"===i?i:"double";case"area":case"length":case"log":case"log10":case"sin":case"cos":case"tan":case"asin":case"acos":case"atan":case"cosh":case"sinh":case"tanh":case"power":return"double";case"substring":case"trim":case"concat":case"lower":case"upper":return"string";case"truncate":return"double";case"nullif":case"coalesce":return i=T(e,t.args,a,n),i instanceof Array?i.length>0?i[0]:"":i}return""}throw new s.eS(s.f.UnsupportedSyntax,{node:t.type})}const S={boolean:1,string:2,integer:3,double:4,date:5};function y(e){if(e){let t="";for(const a of e)""!==a&&(t=""===t||S[t]<S[a]?a:t);return t}return""}function w(e,t){return I(e.parseTree,t)}function A(e){return"column-reference"===e?.parseTree.type}function I(e,t){if(null==e)return!1;switch(e.type){case"when-clause":return I(e.operand,t)||I(e.value,t);case"case-expression":for(const a of e.clauses)if(I(a,t))return!0;return!("simple"!==e.format||!I(e.operand,t))||!(null===e.else||!I(e.else,t));case"parameter":case"null":case"boolean":case"date":case"timestamp":case"string":case"number":return!1;case"expression-list":for(const a of e.value)if(I(a,t))return!0;return!1;case"unary-expression":return I(e.expr,t);case"binary-expression":return I(e.left,t)||I(e.right,t);case"column-reference":return t.toLowerCase()===e.column.toLowerCase();case"function":return I(e.args,t)}return!1}function E(e){let t="";return t+=e.period.toUpperCase(),t}function F(e,t,a){let n="";return n="interval-period"===t.type?E(t):E(t.start)+" TO "+E(t.end),"INTERVAL "+a+" "+e+" "+n}},95002:(e,t,a)=>{a.d(t,{CA:()=>_,EB:()=>y,Fp:()=>f,J6:()=>m,QX:()=>T,Sm:()=>g,VV:()=>h,g3:()=>u,m:()=>p,tj:()=>d});var n=a(59987),r=a(90658),i=a(36515);function s(e){let t=0;for(let a=0;a<e.length;a++)t+=e[a];return t/e.length}function o(e){const t=s(e);let a=0;for(let n=0;n<e.length;n++)a+=(t-e[n])**2;return a/e.length}function l(e){const t=s(e);let a=0;for(let n=0;n<e.length;n++)a+=(t-e[n])**2;return a/(e.length-1)}function c(e){let t=0;for(let a=0;a<e.length;a++)t+=e[a];return t}function u(e){switch(e.toLowerCase()){case"distinct":return"distinct";case"avg":case"mean":return"avg";case"min":return"min";case"sum":return"sum";case"max":return"max";case"stdev":case"stddev":return"stddev";case"var":case"variance":return"var";case"count":return"count"}return""}function d(e,t,a=1e3){switch(e.toLowerCase()){case"distinct":return function(e,t){const a=[],n={},i=[];for(let s=0;s<e.length;s++){if(void 0!==e[s]&&null!==e[s]){const t=e[s];if((0,r.hj)(t)||(0,r.HD)(t))void 0===n[t]&&(a.push(t),n[t]=1);else{let e=!1;for(let a=0;a<i.length;a++)!0===(0,r.tt)(i[a],t)&&(e=!0);!1===e&&(i.push(t),a.push(t))}}if(a.length>=t&&-1!==t)return a}return a}(t,a);case"avg":case"mean":return s(t);case"min":return Math.min.apply(Math,t);case"sum":return c(t);case"max":return Math.max.apply(Math,t);case"stdev":case"stddev":return Math.sqrt(o(t));case"var":case"variance":return o(t);case"count":return t.length}return 0}async function h(e,t,a){const n=await S(e,t,a,!0);return 0===n.length?null:Math.min.apply(Math,n)}async function f(e,t,a){const n=await S(e,t,a,!0);return 0===n.length?null:Math.max.apply(Math,n)}async function m(e,t,a){let n="";t&&!(0,i.y5)(t)&&(n=(0,i.DT)(t,e.fields));const r=await S(e,t,a,!0);if(0===r.length)return null;const o=s(r);return null===o?o:"integer"===n?function(e){return e=+e,isFinite(e)?e-e%1||(e<0?-0:0===e?e:0):e}(o):o}async function _(e,t,a){const n=await S(e,t,a,!0);return 0===n.length?null:l(n)}async function p(e,t,a){const n=await S(e,t,a,!0);return 0===n.length?null:Math.sqrt(l(n))}async function g(e,t,a){const n=await S(e,t,a,!0);return 0===n.length?null:c(n)}async function T(e,t){return e.iterator(t).count()}async function S(e,t,a,r=!1){const i=e.iterator(a),s=[],o={ticker:0};let l=await i.next();for(;null!==l;){if(o.ticker++,a.aborted)throw new n.EN(n.H9.Cancelled);o.ticker%100==0&&(o.ticker=0,await new Promise((e=>{setTimeout(e,0)})));const e=t?.calculateValue(l);null===e?!1===r&&(s[s.length]=e):s[s.length]=e,l=await i.next()}return s}async function y(e,t,a=1e3,r=null){const i=e.iterator(r),s=[],o={},l={ticker:0};let c=await i.next();for(;null!==c;){if(l.ticker++,r&&r.aborted)throw new n.EN(n.H9.Cancelled);l.ticker%100==0&&(l.ticker=0,await new Promise((e=>{setTimeout(e,0)})));const e=t?.calculateValue(c);if(null!=e&&void 0===o[e]&&(s.push(e),o[e]=1),s.length>=a&&-1!==a)return s;c=await i.next()}return s}},99880:(e,t,a)=>{a.d(t,{V:()=>l});var n=a(68773),r=(a(3172),a(20102)),i=a(92604),s=a(17452);const o=i.Z.getLogger("esri.assets");function l(e){if(!n.Z.assetsPath)throw o.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new r.Z("assets:path-not-set","config.assetsPath is not set");return(0,s.v_)(n.Z.assetsPath,e)}},8667:(e,t,a)=>{a.d(t,{CJ:()=>x,Cz:()=>M,D$:()=>N,ED:()=>S,G0:()=>R,Gg:()=>A,JI:()=>E,LV:()=>w,Nm:()=>y,Sp:()=>b,TE:()=>m,U1:()=>P,W4:()=>g,Y4:()=>B,cv:()=>k,e5:()=>F,f3:()=>v,fS:()=>_,j2:()=>L,jU:()=>f,kK:()=>p,kQ:()=>U,og:()=>I,oq:()=>u,r3:()=>h,rd:()=>D,sz:()=>G,uh:()=>T,wf:()=>C,z7:()=>d}),a(66577);var n=a(78346),r=(a(94139),a(33955));function i(e){return Array.isArray(e)?e[0]?.spatialReference:e?.spatialReference}function s(e){return e?Array.isArray(e)?e.map(s):e.toJSON?e.toJSON():e:e}function o(e){return Array.isArray(e)?e.map((e=>(0,r.im)(e))):(0,r.im)(e)}let l;async function c(e,t){return(await async function(){return l||(l=(0,n.bA)("geometryEngineWorker",{strategy:"distributed"})),l}()).invoke("executeGEOperation",{operation:e,parameters:s(t)})}async function u(e,t){return o(await c("clip",[i(e),e,t]))}async function d(e,t){return o(await c("cut",[i(e),e,t]))}function h(e,t){return c("contains",[i(e),e,t])}function f(e,t){return c("crosses",[i(e),e,t])}function m(e,t,a){return c("distance",[i(e),e,t,a])}function _(e,t){return c("equals",[i(e),e,t])}function p(e,t){return c("intersects",[i(e),e,t])}function g(e,t){return c("touches",[i(e),e,t])}function T(e,t){return c("within",[i(e),e,t])}function S(e,t){return c("disjoint",[i(e),e,t])}function y(e,t){return c("overlaps",[i(e),e,t])}function w(e,t,a){return c("relate",[i(e),e,t,a])}function A(e){return c("isSimple",[i(e),e])}async function I(e){return o(await c("simplify",[i(e),e]))}async function E(e,t=!1){return o(await c("convexHull",[i(e),e,t]))}async function F(e,t){return o(await c("difference",[i(e),e,t]))}async function b(e,t){return o(await c("symmetricDifference",[i(e),e,t]))}async function C(e,t){return o(await c("intersect",[i(e),e,t]))}async function R(e,t=null){const a=function(e,t){let a;return Array.isArray(e)?a=e:(a=[],a.push(e),null!=t&&a.push(t)),a}(e,t);return o(await c("union",[i(a),a]))}async function k(e,t,a,n,r,s){return o(await c("offset",[i(e),e,t,a,n,r,s]))}async function v(e,t,a,n=!1){const r=[i(e),e,t,a,n];return o(await c("buffer",r))}async function D(e,t,a,n,r,s){const l=[i(e),e,t,a,n,r,s];return o(await c("geodesicBuffer",l))}async function P(e,t,a){if(null==e)throw new Z;const n=e.spatialReference;if(null==(a=a??function(e){return"xmin"in e?e.center:"x"in e?e:e.extent?.center}(e)))throw new Z;const r=e.constructor.fromJSON(await c("rotate",[n,e,t,a]));return r.spatialReference=n,r}async function N(e,t,a,n){return o(await c("generalize",[i(e),e,t,a,n]))}async function M(e,t,a){return o(await c("densify",[i(e),e,t,a]))}async function L(e,t,a,n=0){return o(await c("geodesicDensify",[i(e),e,t,a,n]))}function x(e,t){return c("planarArea",[i(e),e,t])}function G(e,t){return c("planarLength",[i(e),e,t])}function B(e,t,a){return c("geodesicArea",[i(e),e,t,a])}function U(e,t,a){return c("geodesicLength",[i(e),e,t,a])}class Z extends Error{constructor(){super("Illegal Argument Exception")}}},94443:(e,t,a)=>{a.d(t,{ME:()=>f,Su:()=>m,tz:()=>h});var n=a(20102),r=a(95330),i=a(70171);const s=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,o={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:!0,nl:!0,pl:!0,"pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,"zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function l(e){return o[e]??!1}const c=[],u=new Map;function d(e){for(const t of u.keys())_(e.pattern,t)&&u.delete(t)}function h(e){return c.includes(e)||(d(e),c.unshift(e)),{remove(){const t=c.indexOf(e);t>-1&&(c.splice(t,1),d(e))}}}async function f(e){const t=(0,i.Kd)();u.has(e)||u.set(e,async function(e,t){const a=[];for(const n of c)if(_(n.pattern,e))try{return await n.fetchMessageBundle(e,t)}catch(e){a.push(e)}if(a.length)throw new n.Z("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:a});throw new n.Z("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const a=u.get(e);return a&&await p.add(a),a}function m(e){if(!s.test(e))return null;const t=s.exec(e);if(null===t)return null;const[,a,n]=t,r=a+(n?"-"+n.toUpperCase():"");return l(r)?r:l(a)?a:null}function _(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,i.Ze)((()=>{u.clear()}));const p=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,r.dD)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},80216:(e,t,a)=>{a.d(t,{Z:()=>f});var n=a(43697),r=a(2368),i=a(96674),s=a(70586),o=a(5600),l=(a(75215),a(67676),a(71715)),c=a(52011),u=a(30556),d=a(42799);let h=class extends((0,r.J)(i.wq)){constructor(e){super(e),this.legacy=null,this.timeZone="system"}readLegacy(e,t){const{timeZone:a,respectsDaylightSaving:n}=t;return{timeZone:a,respectsDaylightSaving:n}}readTimeZone(e,t){return"timeZoneIANA"in t?t.timeZoneIANA:(0,d.G)(t)}writeTimeZone(e,t){t.timeZoneIANA=e}equals(e){return!((0,s.Wi)(e)||(0,s.Wi)(this.timeZone)||(0,s.Wi)(e.timeZone))&&this.timeZone===e.timeZone}};(0,n._)([(0,o.Cb)()],h.prototype,"legacy",void 0),(0,n._)([(0,l.r)("legacy",["timeZone"])],h.prototype,"readLegacy",null),(0,n._)([(0,o.Cb)({type:String,nonNullable:!0})],h.prototype,"timeZone",void 0),(0,n._)([(0,l.r)("timeZone",["timeZone","timeZoneIANA","respectsDaylightSaving"])],h.prototype,"readTimeZone",null),(0,n._)([(0,u.c)("timeZone")],h.prototype,"writeTimeZone",null),h=(0,n._)([(0,c.j)("esri.time.TimeReference")],h);const f=h},42799:(e,t,a)=>{a.d(t,{G:()=>i});const n=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Almaty"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Chihuahua"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var r=a(17126);function i(e,t="system"){if(!e||!n.has(e.timeZone))return t;const a=n.get(e.timeZone);return e.timeZone.startsWith("UTC")||e.respectsDaylightSaving?a:function(e){const t=r.ou.local().setZone(e),a=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===a?"Etc/UTC":`Etc/GMT${r.Qf.instance(-a).formatOffset(0,"narrow")}`}(a)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3942,216],{92722:(e,a,t)=>{t.d(a,{O3:()=>w,lG:()=>C,my:()=>b,q9:()=>d});var i=t(20102),n=t(70272),r=t(5428),o=t(35671);const s={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function d(e){return s[e]}function*l(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const a of e.features)a&&(yield a)}}function*c(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const a of e.coordinates)yield*a;break;case"MultiPolygon":for(const a of e.coordinates)for(const e of a)yield*e}}function u(e){for(const a of e)if(a.length>2)return!0;return!1}function m(e){let a=0;for(let t=0;t<e.length;t++){const i=e[t],n=e[(t+1)%e.length];a+=i[0]*n[1]-n[0]*i[1]}return a<=0}function p(e){const a=e[0],t=e[e.length-1];return a[0]===t[0]&&a[1]===t[1]&&a[2]===t[2]||e.push(a),e}function f(e,a,t){switch(a.type){case"LineString":case"MultiPoint":return function(e,a,t){return y(e,a.coordinates,t),e}(e,a,t);case"MultiLineString":return function(e,a,t){for(const i of a.coordinates)y(e,i,t);return e}(e,a,t);case"MultiPolygon":return function(e,a,t){for(const i of a.coordinates){T(e,i[0],t);for(let a=1;a<i.length;a++)S(e,i[a],t)}return e}(e,a,t);case"Point":return function(e,a,t){return A(e,a.coordinates,t),e}(e,a,t);case"Polygon":return function(e,a,t){const i=a.coordinates;T(e,i[0],t);for(let a=1;a<i.length;a++)S(e,i[a],t);return e}(e,a,t)}}function T(e,a,t){const i=p(a);!function(e){return!m(e)}(i)?y(e,i,t):g(e,i,t)}function S(e,a,t){const i=p(a);!function(e){return m(e)}(i)?y(e,i,t):g(e,i,t)}function y(e,a,t){for(const i of a)A(e,i,t);e.lengths.push(a.length)}function g(e,a,t){for(let i=a.length-1;i>=0;i--)A(e,a[i],t);e.lengths.push(a.length)}function A(e,a,t){const[i,n,r]=a;e.coords.push(i,n),t.hasZ&&e.coords.push(r||0)}function h(e){switch(typeof e){case"string":return"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function w(e){if(!e)throw new i.Z("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new i.Z("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:a}=e;if(!a)return;const t="string"==typeof a?a:"name"===a.type?a.properties.name:"EPSG"===a.type?a.properties.code:null,n=new RegExp(".*(CRS84H?|4326)$","i");if(!t||!n.test(t))throw new i.Z("geojson-layer:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:a})}function b(e,a={}){const t=[],i=new Set,n=new Set;let r,s=!1,m=null,p=!1,{geometryType:f=null}=a,T=!1;for(const a of l(e)){const{geometry:e,properties:l,id:S}=a;if((!e||(f||(f=d(e.type)),d(e.type)===f))&&(s||(s=u(c(e))),p||(p=null!=S,p&&(r=typeof S,l&&(m=Object.keys(l).filter((e=>l[e]===S))))),l&&m&&p&&null!=S&&(m.length>1?m=m.filter((e=>l[e]===S)):1===m.length&&(m=l[m[0]]===S?m:[])),!T&&l)){let e=!0;for(const a in l){if(i.has(a))continue;const r=l[a];if(null==r){e=!1,n.add(a);continue}const s=h(r);if("unknown"===s){n.add(a);continue}n.delete(a),i.add(a);const d=(0,o.q6)(a);d&&t.push({name:d,alias:a,type:s})}T=e}}const S=(0,o.q6)(1===m?.length&&m[0]||null)??void 0;if(S)for(const e of t)if(e.name===S&&(0,o.H7)(e)){e.type="esriFieldTypeOID";break}return{fields:t,geometryType:f,hasZ:s,objectIdFieldName:S,objectIdFieldType:r,unknownFields:Array.from(n)}}function C(e,a){return Array.from(function*(e,a={}){const{geometryType:t,objectIdField:i}=a;for(const o of e){const{geometry:e,properties:s,id:l}=o;if(e&&d(e.type)!==t)continue;const c=s||{};let u;i&&(u=c[i],null==l||u||(c[i]=u=l));const m=new n.u_(e?f(new r.Z,e,a):null,c,null,u??void 0);yield m}}(l(e),a))}},25278:(e,a,t)=>{t.d(a,{Dm:()=>c,Hq:()=>u,MS:()=>m,bU:()=>s});var i=t(80442),n=t(22974),r=t(61159),o=t(58333);function s(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.I4:"esriGeometryPolyline"===e?o.ET:o.lF}}}const d=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function c(e,a){if((0,i.Z)("esri-csp-restrictions"))return()=>({[a]:null,...e});try{let t=`this.${a} = null;`;for(const a in e)t+=`this${d.test(a)?`.${a}`:`["${a}"]`} = ${JSON.stringify(e[a])};`;const i=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${t};\n }\n }\n `)();return()=>new i}catch(t){return()=>({[a]:null,...e})}}function u(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.d9)(e)}}]}function m(e,a){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:a,supportsDelete:a,supportsEditing:a,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:a,supportsExceedsLimitStatistics:!0},query:r.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsGeometryUpdate:a,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1}}}},16467:(e,a,t)=>{t.d(a,{$9:()=>g,G4:()=>w,Lu:()=>y,WW:()=>E,d:()=>k,eS:()=>C,gp:()=>b,j:()=>h,w9:()=>A,yN:()=>M}),t(66577);var i=t(3172),n=t(20102),r=t(92604),o=t(70586),s=t(8744),d=t(40488),l=t(98732),c=t(44876),u=t(92722),m=t(25278),p=t(99514),f=t(86719),T=t(82971);const S=r.Z.getLogger("esri.layers.graphics.sources.ogcfeature"),y="http://www.opengis.net/def/crs/",g=`${y}OGC/1.3/CRS84`;async function A(e,a,t={},r=5){const{links:s}=e,d=I(s,"items","application/geo+json")||I(s,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,o.Wi)(d))throw new n.Z("ogc-feature-layer:missing-items-page","Missing items url");const{data:l}=await(0,i.default)(d.href,{signal:t.signal,query:{limit:r,...t.customParameters,token:t.apiKey},headers:{accept:"application/geo+json"}});await(0,u.O3)(l);const c=(0,u.my)(l,{geometryType:a.geometryType}),T=a.fields||c.fields||[],y=null!=a.hasZ?a.hasZ:c.hasZ,g=c.geometryType,A=a.objectIdField||c.objectIdFieldName||"OBJECTID";let h=a.timeInfo;const w=T.find((({name:e})=>e===A));if(w)w.editable=!1,w.nullable=!1;else{if(!c.objectIdFieldType)throw new n.Z("ogc-feature-layer:missing-feature-id","Collection geojson require a feature id as a unique identifier");T.unshift({name:A,alias:A,type:"number"===c.objectIdFieldType?"esriFieldTypeOID":"esriFieldTypeString",editable:!1,nullable:!1})}if(A!==c.objectIdFieldName){const e=T.find((({name:e})=>e===c.objectIdFieldName));e&&(e.type="esriFieldTypeInteger")}T===c.fields&&c.unknownFields.length>0&&S.warn({name:"ogc-feature-layer:unknown-field-types",message:"Some fields types couldn't be inferred from the features and were dropped",details:{unknownFields:c.unknownFields}});for(const e of T){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),"esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable),!e.name)throw new n.Z("ogc-feature-layer:invalid-field-name","field name is missing",{field:e});if(!f.v.jsonValues.includes(e.type))throw new n.Z("ogc-feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e})}if(h){const e=new p.Z(T);if(h.startTimeField){const a=e.get(h.startTimeField);a?(h.startTimeField=a.name,a.type="esriFieldTypeDate"):h.startTimeField=null}if(h.endTimeField){const a=e.get(h.endTimeField);a?(h.endTimeField=a.name,a.type="esriFieldTypeDate"):h.endTimeField=null}if(h.trackIdField){const a=e.get(h.trackIdField);a?h.trackIdField=a.name:(h.trackIdField=null,S.warn({name:"ogc-feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:h}}))}h.startTimeField||h.endTimeField||(S.warn({name:"ogc-feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing",details:{timeInfo:h}}),h=null)}return{drawingInfo:g?(0,m.bU)(g):null,extent:Z(e),geometryType:g,fields:T,hasZ:!!y,objectIdField:A,timeInfo:h}}async function h(e,a={}){const{links:t}=e,r=I(t,"data","application/json")||I(t,"http://www.opengis.net/def/rel/ogc/1.0/data","application/json");if((0,o.Wi)(r))throw new n.Z("ogc-feature-layer:missing-collections-page","Missing collections url");const{apiKey:s,customParameters:d,signal:l}=a,{data:c}=await(0,i.default)(r.href,{signal:l,headers:{accept:"application/json"},query:{...d,token:s}});return c}async function w(e,a={}){const{links:t}=e,r=I(t,"conformance","application/json")||I(t,"http://www.opengis.net/def/rel/ogc/1.0/conformance","application/json");if((0,o.Wi)(r))throw new n.Z("ogc-feature-layer:missing-conformance-page","Missing conformance url");const{apiKey:s,customParameters:d,signal:l}=a,{data:c}=await(0,i.default)(r.href,{signal:l,headers:{accept:"application/json"},query:{...d,token:s}});return c}async function b(e,a={}){const{apiKey:t,customParameters:n,signal:r}=a,{data:o}=await(0,i.default)(e,{signal:r,headers:{accept:"application/json"},query:{...n,token:t}});return o}async function C(e,a={}){const t="application/vnd.oai.openapi+json;version=3.0",n=I(e.links,"service-desc",t);if((0,o.Wi)(n))return S.warn("ogc-feature-layer:missing-openapi-page","The OGC API-Features server does not have an OpenAPI page."),null;const{apiKey:r,customParameters:s,signal:d}=a,{data:l}=await(0,i.default)(n.href,{signal:d,headers:{accept:t},query:{...s,token:r}});return l}function k(e){const a=/^http:\/\/www\.opengis.net\/def\/crs\/(?<authority>.*)\/(?<version>.*)\/(?<code>.*)$/i.exec(e)?.groups;if(!a)return null;const{authority:t,code:i}=a;switch(t.toLowerCase()){case"ogc":switch(i.toLowerCase()){case"crs27":return T.Z.GCS_NAD_1927.wkid;case"crs83":return 4269;case"crs84":case"crs84h":return T.Z.WGS84.wkid;default:return null}case"esri":case"epsg":{const e=Number.parseInt(i,10);return Number.isNaN(e)?null:e}default:return null}}async function M(e,a,t){const i=await E(e,a,t);return(0,l.cn)(i)}async function E(e,a,t){const{collection:r,layerDefinition:m,maxRecordCount:p,queryParameters:{apiKey:f,customParameters:S},spatialReference:y,supportedCrs:g}=e,{links:A}=r,h=I(A,"items","application/geo+json")||I(A,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if((0,o.Wi)(h))throw new n.Z("ogc-feature-layer:missing-items-page","Missing items url");const{geometry:w,num:b,start:C,timeExtent:k,where:M}=a;if(a.objectIds)throw new n.Z("ogc-feature-layer:query-by-objectids-not-supported","Queries with objectids are not supported");const E=T.Z.fromJSON(y),F=(0,o.Pt)(a.outSpatialReference,E),Z=F.isWGS84?null:G(F,g),j=P(w,g),v=function(e){if((0,o.Wi)(e))return null;const{start:a,end:t}=e;return`${(0,o.pC)(a)?a.toISOString():".."}/${(0,o.pC)(t)?t.toISOString():".."}`}(k),U=(x=M,(0,o.Wi)(x)||!x||"1=1"===x?null:x),N=b??(null!=C&&void 0!==C?10:p),{data:W}=await(0,i.default)(h.href,{...t,query:{...S,...j,crs:Z,datetime:v,query:U,limit:N,startindex:C,token:f},headers:{accept:"application/geo+json"}});var x;let L=!1;W.links&&(L=!!W.links.find((e=>"next"===e.rel))),!L&&Number.isInteger(W.numberMatched)&&Number.isInteger(W.numberReturned)&&(L=W.numberReturned<W.numberMatched);const{fields:R,geometryType:B,hasZ:O,objectIdField:q}=m,$=(0,u.lG)(W,{geometryType:B,hasZ:O,objectIdField:q});if(!Z&&F.isWebMercator)for(const e of $)if((0,o.pC)(e.geometry)&&null!=B){const a=(0,l.di)(e.geometry,B,O,!1);a.spatialReference=T.Z.WGS84,e.geometry=(0,l.GH)((0,d.iV)(a,F))}for(const e of $)e.objectId=e.attributes[q];const D=Z||!Z&&F.isWebMercator?F.toJSON():s.Zn,_=new c.Z;return _.exceededTransferLimit=L,_.features=$,_.fields=R,_.geometryType=B,_.hasZ=O,_.objectIdFieldName=q,_.spatialReference=D,_}function G(e,a){const{isWebMercator:t,wkid:i}=e;if(!i)return null;const n=t?a[3857]??a[102100]??a[102113]??a[900913]:a[e.wkid];return n?`${y}${n}`:null}function F(e){if((0,o.Wi)(e))return"";const{xmin:a,ymin:t,xmax:i,ymax:n}=e;return`${a},${t},${i},${n}`}function P(e,a){if(!function(e){return(0,o.pC)(e)&&"extent"===e.type}(e))return null;const{spatialReference:t}=e;if(!t||t.isWGS84)return{bbox:F(e)};const i=G(t,a);return(0,o.pC)(i)?{bbox:F(e),"bbox-crs":i}:t.isWebMercator?{bbox:F((0,d.iV)(e,T.Z.WGS84))}:null}function Z(e){const a=e.extent?.spatial;if(!a)return null;const t=a.bbox[0],i=4===t.length,n=t[0],r=t[1],o=i?void 0:t[2];return{xmin:n,ymin:r,xmax:i?t[2]:t[3],ymax:i?t[3]:t[4],zmin:o,zmax:i?void 0:t[5],spatialReference:T.Z.WGS84.toJSON()}}function I(e,a,t){return e.find((e=>e.rel===a&&e.type===t))||e.find((e=>e.rel===a&&!e.type))}},58333:(e,a,t)=>{t.d(a,{ET:()=>r,I4:()=>n,eG:()=>d,lF:()=>o,lj:()=>c,qP:()=>s,wW:()=>l});const i=[252,146,31,255],n={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},r={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},o={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},s={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},d={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},l={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},c={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},80216:(e,a,t)=>{t.d(a,{Z:()=>p});var i=t(43697),n=t(2368),r=t(96674),o=t(70586),s=t(5600),d=(t(75215),t(67676),t(71715)),l=t(52011),c=t(30556),u=t(42799);let m=class extends((0,n.J)(r.wq)){constructor(e){super(e),this.legacy=null,this.timeZone="system"}readLegacy(e,a){const{timeZone:t,respectsDaylightSaving:i}=a;return{timeZone:t,respectsDaylightSaving:i}}readTimeZone(e,a){return"timeZoneIANA"in a?a.timeZoneIANA:(0,u.G)(a)}writeTimeZone(e,a){a.timeZoneIANA=e}equals(e){return!((0,o.Wi)(e)||(0,o.Wi)(this.timeZone)||(0,o.Wi)(e.timeZone))&&this.timeZone===e.timeZone}};(0,i._)([(0,s.Cb)()],m.prototype,"legacy",void 0),(0,i._)([(0,d.r)("legacy",["timeZone"])],m.prototype,"readLegacy",null),(0,i._)([(0,s.Cb)({type:String,nonNullable:!0})],m.prototype,"timeZone",void 0),(0,i._)([(0,d.r)("timeZone",["timeZone","timeZoneIANA","respectsDaylightSaving"])],m.prototype,"readTimeZone",null),(0,i._)([(0,c.c)("timeZone")],m.prototype,"writeTimeZone",null),m=(0,i._)([(0,l.j)("esri.time.TimeReference")],m);const p=m},42799:(e,a,t)=>{t.d(a,{G:()=>r});const i=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Almaty"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Chihuahua"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var n=t(17126);function r(e,a="system"){if(!e||!i.has(e.timeZone))return a;const t=i.get(e.timeZone);return e.timeZone.startsWith("UTC")||e.respectsDaylightSaving?t:function(e){const a=n.ou.local().setZone(e),t=Math.min(a.set({month:1,day:1}).offset,a.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${n.Qf.instance(-t).formatOffset(0,"narrow")}`}(t)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5795],{99514:(e,t,i)=>{i.d(t,{Z:()=>n});var r=i(35671);function o(e){return"oid"===e.type||"esriFieldTypeOID"===e.type}function s(e){return"global-id"===e.type||"esriFieldTypeGlobalID"===e.type}class n{constructor(e=[]){if(this.fields=[],this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this.dateFields=[],this.numericFields=[],this._requiredFields=null,!e)return;this.fields=e;const t=[];for(const n of e){const e=n?.name,p=l(n?.name);if(e&&p){const l=a(e);this._fieldsMap.set(e,n),this._fieldsMap.set(l,n),this._normalizedFieldsMap.set(p,n),t.push(l),"date"===(i=n).type||"esriFieldTypeDate"===i.type?(this.dateFields.push(n),this._dateFieldsSet.add(n)):(0,r.H7)(n)&&(this._numericFieldsSet.add(n),this.numericFields.push(n)),o(n)||s(n)||(n.editable=null==n.editable||!!n.editable,n.nullable=null==n.nullable||!!n.nullable)}}var i;t.sort(),this.uid=t.join(",")}destroy(){this._fieldsMap.clear()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)o(e)||s(e)||e.nullable||void 0!==(0,r.os)(e)||this._requiredFields.push(e)}return this._requiredFields}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(a(e))??this._normalizedFieldsMap.get(l(e)),t&&this._fieldsMap.set(e,t),t)}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){const t=this.get(e);if(t)return t.name??void 0}}function a(e){return e.trim().toLowerCase()}function l(e){return(0,r.q6)(e)?.toLowerCase()??""}},10158:(e,t,i)=>{i.d(t,{n:()=>D});var r,o=i(43697),s=i(35454),n=i(96674),a=i(5600),l=i(90578),p=i(36030),u=i(71715),d=i(52011),c=i(75215),y=i(63213),h=i(1231),m=i(42843),b=(i(66577),i(67676),i(82971)),w=i(86973);let v=r=class extends n.wq{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:i,spatialReference:o,geometryType:s}=this,n={workspaceId:e,query:t,oidFields:i,spatialReference:o?.clone()??void 0,geometryType:s};return new r(n)}};var _;(0,o._)([(0,p.J)({queryTable:"query-table"})],v.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"query",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"oidFields",void 0),(0,o._)([(0,a.Cb)({type:b.Z,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o._)([(0,p.J)(w.M)],v.prototype,"geometryType",void 0),v=r=(0,o._)([(0,d.j)("esri.layers.support.source.QueryTableDataSource")],v);let S=_=class extends n.wq{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new _({workspaceId:e,dataSourceName:t})}};var g;(0,o._)([(0,p.J)({raster:"raster"})],S.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],S.prototype,"dataSourceName",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],S.prototype,"workspaceId",void 0),S=_=(0,o._)([(0,d.j)("esri.layers.support.source.RasterDataSource")],S);let C=g=class extends n.wq{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:i}=this;return new g({workspaceId:e,gdbVersion:t,dataSourceName:i})}};var f,j;(0,o._)([(0,p.J)({table:"table"})],C.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"gdbVersion",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"dataSourceName",void 0),C=g=(0,o._)([(0,d.j)("esri.layers.support.source.TableDataSource")],C);const T=(0,s.w)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let F=f=class extends n.wq{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,i){return x()(e,t,i)}castLeftTableSource(e){return(0,c.N7)(M(),e)}readRightTableSource(e,t,i){return x()(e,t,i)}castRightTableSource(e){return(0,c.N7)(M(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:i,rightTableSource:r,joinType:o}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:i?.clone()??void 0,rightTableSource:r?.clone()??void 0,joinType:o};return new f(s)}};(0,o._)([(0,p.J)({joinTable:"join-table"})],F.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],F.prototype,"leftTableKey",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],F.prototype,"rightTableKey",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],F.prototype,"leftTableSource",void 0),(0,o._)([(0,u.r)("leftTableSource")],F.prototype,"readLeftTableSource",null),(0,o._)([(0,l.p)("leftTableSource")],F.prototype,"castLeftTableSource",null),(0,o._)([(0,a.Cb)({json:{write:!0}})],F.prototype,"rightTableSource",void 0),(0,o._)([(0,u.r)("rightTableSource")],F.prototype,"readRightTableSource",null),(0,o._)([(0,l.p)("rightTableSource")],F.prototype,"castRightTableSource",null),(0,o._)([(0,p.J)(T)],F.prototype,"joinType",void 0),F=f=(0,o._)([(0,d.j)("esri.layers.support.source.JoinTableDataSource")],F);let R=null;function x(){return R||(R=(0,y.d)({types:M()})),R}let P=null;function M(){return P||(P={key:"type",base:null,typeMap:{"data-layer":D,"map-layer":m.R}}),P}const q={key:"type",base:null,typeMap:{"join-table":F,"query-table":v,raster:S,table:C}};let D=j=class extends n.wq{constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new j({fields:e,dataSource:t})}};(0,o._)([(0,p.J)({dataLayer:"data-layer"})],D.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:[h.Z],json:{write:!0}})],D.prototype,"fields",void 0),(0,o._)([(0,a.Cb)({types:q,json:{write:!0}})],D.prototype,"dataSource",void 0),D=j=(0,o._)([(0,d.j)("esri.layers.support.source.DataLayerSource")],D),D.from=(0,c.se)(D)},42843:(e,t,i)=>{i.d(t,{R:()=>u});var r,o=i(43697),s=i(96674),n=i(5600),a=i(75215),l=(i(67676),i(36030)),p=i(52011);let u=r=class extends s.wq{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new r({mapLayerId:e,gdbVersion:t})}};(0,o._)([(0,l.J)({mapLayer:"map-layer"})],u.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"mapLayerId",void 0),(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"gdbVersion",void 0),u=r=(0,o._)([(0,p.j)("esri.layers.support.source.MapLayerSource")],u)},6388:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=(i(66577),i(35454)),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(6570);const d=new s.X({upperLeft:"upper-left",lowerLeft:"lower-left"});let c=r=class extends n.wq{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new r((0,a.d9)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o._)([(0,l.Cb)({type:u.Z,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"extent",void 0),(0,o._)([(0,l.Cb)({type:["view","edit"],json:{write:!0}})],c.prototype,"mode",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:d.read,write:d.write}})],c.prototype,"originPosition",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"tolerance",void 0),c=r=(0,o._)([(0,p.j)("esri.rest.support.QuantizationParameters")],c);const y=c},14165:(e,t,i)=>{i.d(t,{Z:()=>P});var r=i(43697),o=i(66577),s=i(92835),n=i(35454),a=i(96674),l=i(22974),p=i(70586),u=i(5600),d=i(90578),c=i(36030),y=i(52011),h=i(30556),m=i(75215),b=i(33955),w=i(10158),v=i(2368);i(67676);let _=class extends((0,v.J)(a.wq)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,r._)([(0,u.Cb)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.onFields)&&this.onFields.length>0}}}}})],_.prototype,"onFields",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],_.prototype,"operator",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],_.prototype,"searchTerm",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],_.prototype,"searchType",void 0),_=(0,r._)([(0,y.j)("esri.rest.support.FullTextSearch")],_);const S=_;var g,C=i(6388),f=i(58539),j=i(82971),T=i(94139);const F=new n.X({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),R=new n.X({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let x=g=class extends a.wq{static from(e){return(0,m.TJ)(g,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const i={};for(const t in e){const r=e[t];Array.isArray(r)?i[t]=r.map((e=>e instanceof Date?e.getTime():e)):r instanceof Date?i[t]=r.getTime():i[t]=r}t.parameterValues=i}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new g((0,l.d9)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:(0,p.pC)(this.historicMoment)?new Date(this.historicMoment.getTime()):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}};x.MAX_MAX_RECORD_COUNT_FACTOR=5,(0,r._)([(0,u.Cb)({json:{write:!0}})],x.prototype,"aggregateIds",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{write:!0}})],x.prototype,"cacheHint",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"compactGeometryEnabled",void 0),(0,r._)([(0,u.Cb)({json:{write:!0}})],x.prototype,"datumTransformation",void 0),(0,r._)([(0,d.p)("datumTransformation")],x.prototype,"castDatumTransformation",null),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"defaultSpatialReferenceEnabled",void 0),(0,r._)([(0,u.Cb)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],x.prototype,"distance",void 0),(0,r._)([(0,u.Cb)({type:w.n,json:{write:!0}})],x.prototype,"dynamicDataSource",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"formatOf3DObjects",void 0),(0,r._)([(0,u.Cb)({type:[S],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.fullText)&&this.fullText.length>0}}}}})],x.prototype,"fullText",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"gdbVersion",void 0),(0,r._)([(0,u.Cb)({types:o.qM,json:{read:b.im,write:!0}})],x.prototype,"geometry",void 0),(0,r._)([(0,u.Cb)({type:Number,json:{write:!0}})],x.prototype,"geometryPrecision",void 0),(0,r._)([(0,u.Cb)({type:[String],json:{write:!0}})],x.prototype,"groupByFieldsForStatistics",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"having",void 0),(0,r._)([(0,u.Cb)({type:Date})],x.prototype,"historicMoment",void 0),(0,r._)([(0,h.c)("historicMoment")],x.prototype,"writeHistoricMoment",null),(0,r._)([(0,u.Cb)({type:Number,json:{write:!0}})],x.prototype,"maxAllowableOffset",void 0),(0,r._)([(0,u.Cb)({type:Number,cast:e=>e<1?1:e>g.MAX_MAX_RECORD_COUNT_FACTOR?g.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],x.prototype,"maxRecordCountFactor",void 0),(0,r._)([(0,u.Cb)({type:["xyFootprint"],json:{write:!0}})],x.prototype,"multipatchOption",void 0),(0,r._)([(0,u.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],x.prototype,"num",void 0),(0,r._)([(0,u.Cb)({json:{write:!0}})],x.prototype,"objectIds",void 0),(0,r._)([(0,u.Cb)({type:[String],json:{write:!0}})],x.prototype,"orderByFields",void 0),(0,r._)([(0,u.Cb)({type:[String],json:{write:!0}})],x.prototype,"outFields",void 0),(0,r._)([(0,u.Cb)({type:j.Z,json:{name:"outSR",write:!0}})],x.prototype,"outSpatialReference",void 0),(0,r._)([(0,u.Cb)({type:[f.Z],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.outStatistics)&&this.outStatistics.length>0}}}}})],x.prototype,"outStatistics",void 0),(0,r._)([(0,u.Cb)({json:{write:!0}})],x.prototype,"parameterValues",void 0),(0,r._)([(0,h.c)("parameterValues")],x.prototype,"writeParameterValues",null),(0,r._)([(0,u.Cb)({type:T.Z,json:{write:!0}})],x.prototype,"pixelSize",void 0),(0,r._)([(0,u.Cb)({type:C.Z,json:{write:!0}})],x.prototype,"quantizationParameters",void 0),(0,r._)([(0,u.Cb)({type:[Object],json:{write:!0}})],x.prototype,"rangeValues",void 0),(0,r._)([(0,u.Cb)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],x.prototype,"relationParameter",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"resultType",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"returnCentroid",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"returnDistinctValues",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!0,write:!0}})],x.prototype,"returnExceededLimitFeatures",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{write:!0}})],x.prototype,"returnGeometry",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"returnQueryGeometry",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"returnM",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"returnZ",void 0),(0,r._)([(0,u.Cb)({type:j.Z,json:{write:!0}})],x.prototype,"sourceSpatialReference",void 0),(0,r._)([(0,c.J)(F,{ignoreUnknown:!1,name:"spatialRel"})],x.prototype,"spatialRelationship",void 0),(0,r._)([(0,u.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],x.prototype,"start",void 0),(0,r._)([(0,h.c)("start"),(0,h.c)("num")],x.prototype,"writeStart",null),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"sqlFormat",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:!0}})],x.prototype,"text",void 0),(0,r._)([(0,u.Cb)({type:s.Z,json:{write:!0}})],x.prototype,"timeExtent",void 0),(0,r._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],x.prototype,"timeReferenceUnknownClient",void 0),(0,r._)([(0,c.J)(R,{ignoreUnknown:!1}),(0,u.Cb)({json:{write:{overridePolicy(e){return{enabled:!!e&&null!=this.distance&&this.distance>0}}}}})],x.prototype,"units",void 0),(0,r._)([(0,u.Cb)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],x.prototype,"where",void 0),(0,r._)([(0,h.c)("where")],x.prototype,"writeWhere",null),x=g=(0,r._)([(0,y.j)("esri.rest.support.Query")],x);const P=x},58539:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=i(35454),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(30556);const d=new s.X({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let c=r=class extends n.wq{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.d9)(e))}clone(){return new r({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.d9)(this.statisticParameters)})}};(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxPointCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxRecordCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxVertexCount",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"onStatisticField",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"outStatisticFieldName",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:{source:"statisticType",reader:d.read},write:{target:"statisticType",writer:d.write}}})],c.prototype,"statisticType",void 0),(0,o._)([(0,l.Cb)({type:Object})],c.prototype,"statisticParameters",void 0),(0,o._)([(0,u.c)("statisticParameters")],c.prototype,"writeStatisticParameters",null),c=r=(0,o._)([(0,p.j)("esri.rest.support.StatisticDefinition")],c);const y=c}}]);