@arcgis/core 4.27.0-rc.0 → 4.27.0-rc.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 (207) hide show
  1. package/README.md +2 -2
  2. package/arcade/featureSetUtils.js +1 -1
  3. package/arcade/featureset/actions/GroupBy.js +1 -1
  4. package/arcade/featureset/actions/OrderBy.js +1 -1
  5. package/arcade/functions/featuresetbase.js +1 -1
  6. package/arcade/functions/featuresetstring.js +1 -1
  7. package/arcade/languageUtils.js +1 -1
  8. package/arcade/treeAnalysis.js +1 -1
  9. package/assets/esri/core/workers/RemoteClient.js +1 -1
  10. package/assets/esri/core/workers/chunks/0407bf97ad621c89a734.js +1 -0
  11. package/assets/esri/core/workers/chunks/0610691a0c0d9fbbd6d2.js +1 -0
  12. package/assets/esri/core/workers/chunks/0a86c458916e83d6c523.js +1 -0
  13. package/assets/esri/core/workers/chunks/14145959a3dab1437818.js +1 -0
  14. package/assets/esri/core/workers/chunks/16db0bc87d87a7313dc4.js +1 -0
  15. package/assets/esri/core/workers/chunks/183e2e0cb86c1c640d94.js +1 -0
  16. package/assets/esri/core/workers/chunks/19d329b9d4ec2eff1d13.js +1 -0
  17. package/assets/esri/core/workers/chunks/1b8074269800b384ecf6.js +1 -0
  18. package/assets/esri/core/workers/chunks/1f69fb9687de9ebfcf90.js +1 -0
  19. package/assets/esri/core/workers/chunks/2154d395f405be3cd3ba.js +1 -0
  20. package/assets/esri/core/workers/chunks/{33dbba3b7fc648437e50.js → 21e1f3b11e7d363b727a.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{31a158c73994603c169d.js → 2446e336b1f7256d4fde.js} +1 -1
  22. package/assets/esri/core/workers/chunks/29290a44fd3b183c24e3.js +1 -0
  23. package/assets/esri/core/workers/chunks/2b55295590b4a0503749.js +1 -0
  24. package/assets/esri/core/workers/chunks/{f498c4d4831141125781.js → 2f5639886f577baedbca.js} +1 -1
  25. package/assets/esri/core/workers/chunks/33901eb1574e46abd9af.js +1 -0
  26. package/assets/esri/core/workers/chunks/{9c78ad5ab57e0d47ac43.js → 3ba2fcb9110230f8790c.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3e239bfad611985e50fb.js +1 -0
  28. package/assets/esri/core/workers/chunks/42f3421740a5479559dc.js +1 -0
  29. package/assets/esri/core/workers/chunks/471f6eba213412b82840.js +1 -0
  30. package/assets/esri/core/workers/chunks/53ad34bf32f5f3d4fe18.js +1 -0
  31. package/assets/esri/core/workers/chunks/{97cdbec7532cfcdf9ad2.js → 595a2baa04d92de59558.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{2e627c94e57c924e5917.js → 5e6471dd2a08e66b47d0.js} +79 -81
  33. package/assets/esri/core/workers/chunks/624521961fe1f2c4f2c5.js +1 -0
  34. package/assets/esri/core/workers/chunks/{212d59764c275c763941.js → 659b7bad7281c0e2aed3.js} +1 -1
  35. package/assets/esri/core/workers/chunks/6a3d611e8842afbb50ab.js.LICENSE.txt +1 -1
  36. package/assets/esri/core/workers/chunks/6cd248d065f6d1616294.js +1 -0
  37. package/assets/esri/core/workers/chunks/6e562fa57c0347091154.js +1 -0
  38. package/assets/esri/core/workers/chunks/6f510f28526c73ab453c.js +1 -0
  39. package/assets/esri/core/workers/chunks/7479dc0c790337af7597.js +1 -0
  40. package/assets/esri/core/workers/chunks/{e88cff2537be52da6531.js → 74fd2059ddda9083cbcc.js} +1 -1
  41. package/assets/esri/core/workers/chunks/7dc6774c77c822b68c99.js +1 -0
  42. package/assets/esri/core/workers/chunks/82a103a8b5382300889d.js +1 -0
  43. package/assets/esri/core/workers/chunks/83e3d104886b48f00397.js +1 -0
  44. package/assets/esri/core/workers/chunks/{9849f64793f2ad39366b.js → 9290b0d330f02233d803.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{3c5a64a545272f148e93.js → 9621b7d8d951aa881686.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{36df72362b38759b895b.js → 9648a8f2b24f1ca3d637.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{ad18fb7bb54a0c4bdb38.js → a20361b4d3bdd7d196ca.js} +1 -1
  48. package/assets/esri/core/workers/chunks/a7fd2a95fde197c06828.js +1 -0
  49. package/assets/esri/core/workers/chunks/b0cda39b53ecd6c44cd0.js +1 -0
  50. package/assets/esri/core/workers/chunks/b2a423d9ce8bb784267c.js +1 -0
  51. package/assets/esri/core/workers/chunks/{b6e173eddaad4244cb5f.js → b31974524932e638df8c.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{df0453cdfe685d6436cc.js → b6dc41fce601b9d3480e.js} +1 -1
  53. package/assets/esri/core/workers/chunks/b8e6c64792a512df4c4d.js +1 -0
  54. package/assets/esri/core/workers/chunks/c6617a937440701c0180.js +1 -0
  55. package/assets/esri/core/workers/chunks/d8607326a199dd994844.js +1 -0
  56. package/assets/esri/core/workers/chunks/da57eba2fe25495ea217.js +1 -0
  57. package/assets/esri/core/workers/chunks/dabd889e064c4e7807fa.js +1 -0
  58. package/assets/esri/core/workers/chunks/{39e473586579d11d6732.js → e2432871f1329f47465d.js} +1 -1
  59. package/assets/esri/core/workers/chunks/ee5ee03dd2c7dc940272.js +1 -0
  60. package/assets/esri/core/workers/chunks/{c83669cf08391a62fb72.js → f1da7b29eecad0e9efae.js} +1 -1
  61. package/assets/esri/core/workers/chunks/f35895e03c036d67b3ed.js +1 -0
  62. package/assets/esri/core/workers/chunks/f505ebd4bd3bfb6c790d.js +1 -0
  63. package/assets/esri/core/workers/chunks/f6e68befe2812b90b40d.js +1 -0
  64. package/assets/esri/core/workers/chunks/{3c6c082157c916f8ddba.js → ffe61d5a6a9b34bee9d4.js} +1 -1
  65. package/assets/esri/themes/base/widgets/_Bookmarks.scss +5 -0
  66. package/assets/esri/themes/base/widgets/_Feature.scss +4 -0
  67. package/assets/esri/themes/base/widgets/_FeatureContent.scss +9 -2
  68. package/assets/esri/themes/base/widgets/_Features.scss +5 -7
  69. package/assets/esri/themes/base/widgets/_Popup.scss +3 -3
  70. package/assets/esri/themes/base/widgets/_ScaleRangeSlider.scss +1 -0
  71. package/assets/esri/themes/base/widgets/_Swipe.scss +11 -0
  72. package/assets/esri/themes/dark/main.css +1 -1
  73. package/assets/esri/themes/light/main.css +1 -1
  74. package/assets/esri/themes/light/view.css +1 -1
  75. package/chunks/DefaultMaterial.glsl.js +3 -2
  76. package/chunks/SSAO.glsl.js +1 -1
  77. package/chunks/ShadowCastAccumulate.glsl.js +1 -1
  78. package/chunks/languageUtils.js +1 -1
  79. package/core/timeUtils.js +1 -1
  80. package/geometry/Mesh.js +1 -1
  81. package/geometry/support/DoubleArray.js +1 -1
  82. package/geometry/support/meshUtils/bounds.js +5 -0
  83. package/geometry/support/meshUtils/georeference.js +1 -1
  84. package/geometry/support/meshVertexSpaceUtils.js +5 -0
  85. package/interfaces.d.ts +181 -33
  86. package/kernel.js +1 -1
  87. package/layers/FeatureLayer.js +1 -1
  88. package/layers/StreamLayer.js +1 -1
  89. package/layers/VideoLayer.js +1 -1
  90. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  91. package/layers/graphics/controllers/StreamController.js +1 -1
  92. package/layers/graphics/data/QueryEngine.js +1 -1
  93. package/layers/graphics/data/attributeSupport.js +1 -1
  94. package/layers/graphics/editingSupport.js +1 -1
  95. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  96. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  97. package/layers/support/FeatureReductionBinning.js +1 -1
  98. package/layers/support/FeatureReductionCluster.js +1 -1
  99. package/layers/support/featureLayerUtils.js +1 -1
  100. package/layers/support/rasterFunctions/colormaps.js +1 -1
  101. package/layers/video/VideoController.js +1 -1
  102. package/layers/video/videoUtils.js +5 -0
  103. package/package.json +2 -2
  104. package/renderers/support/utils.js +1 -1
  105. package/rest/support/meshFeatureSet.js +1 -1
  106. package/smartMapping/symbology/flow.js +1 -1
  107. package/statistics/utils.js +1 -1
  108. package/support/arcadeUtils.js +1 -1
  109. package/support/revision.js +1 -1
  110. package/symbols/cim/CIMSymbolHelper.js +1 -1
  111. package/symbols/cim/effects/EffectBuffer.js +1 -1
  112. package/symbols/cim/effects/EffectDonut.js +1 -1
  113. package/symbols/cim/effects/EffectOffset.js +1 -1
  114. package/views/2d/layers/StreamLayerView2D.js +1 -1
  115. package/views/2d/layers/features/Store2D.js +1 -1
  116. package/views/2d/layers/features/sources/StreamSource.js +1 -1
  117. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  118. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  119. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  120. package/views/3d/layers/I3SMeshView3D.js +1 -1
  121. package/views/3d/layers/II3SMeshView3D.js +1 -1
  122. package/views/3d/layers/SceneLayerView3D.js +1 -1
  123. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  124. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  125. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  126. package/views/3d/layers/graphics/webStyleUtils.js +1 -1
  127. package/views/3d/layers/i3s/I3SClientNodeLoader.js +1 -1
  128. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  129. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  130. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  131. package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
  132. package/views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js +3 -9
  133. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +12 -9
  134. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +10 -10
  135. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +2 -2
  136. package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js +2 -2
  137. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +8 -8
  138. package/views/3d/webgl-engine/core/shaderModules/Matrix4sDrawUniform.js +1 -1
  139. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  140. package/views/3d/webgl-engine/lib/ShadowHighlight.js +1 -1
  141. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  142. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  143. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  144. package/views/3d/webgl-engine/materials/pbrUtils.js +5 -0
  145. package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
  146. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  147. package/views/3d/webgl-engine/shaders/ShadowHighlightTechnique.js +1 -1
  148. package/views/draw/DrawGraphicTool.js +1 -1
  149. package/views/layers/GroupLayerView.js +1 -1
  150. package/webdoc/support/writeUtils.js +1 -1
  151. package/widgets/Bookmarks/css.js +1 -1
  152. package/widgets/Bookmarks.js +1 -1
  153. package/widgets/Daylight/DaylightViewModel.js +1 -1
  154. package/widgets/Editor/EditorViewModel.js +1 -1
  155. package/widgets/Editor/UpdateWorkflow.js +1 -1
  156. package/widgets/Editor/Workflow.js +1 -1
  157. package/widgets/Editor/workflowUtils.js +1 -1
  158. package/widgets/Editor.js +1 -1
  159. package/widgets/Feature/FeatureRelationship/FeatureRelationshipViewModel.js +1 -1
  160. package/widgets/Feature/FeatureRelationship.js +1 -1
  161. package/widgets/FeatureForm/EditableInput.d.ts +2 -2
  162. package/widgets/FeatureTable/FieldColumn.js +1 -1
  163. package/widgets/Features.js +1 -1
  164. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  165. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  166. package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
  167. package/widgets/UtilityNetworkTrace.js +1 -1
  168. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
  169. package/widgets/UtilityNetworkValidateTopology.js +1 -1
  170. package/widgets/ValuePicker/ValuePickerBaseComponent.js +1 -1
  171. package/widgets/ValuePicker.js +1 -1
  172. package/assets/esri/core/workers/chunks/0b03165dbf289797cefa.js +0 -1
  173. package/assets/esri/core/workers/chunks/0c1c0024879f944f44c4.js +0 -1
  174. package/assets/esri/core/workers/chunks/13a48796905613bc1679.js +0 -1
  175. package/assets/esri/core/workers/chunks/1ea1104651ab15f9a13c.js +0 -1
  176. package/assets/esri/core/workers/chunks/2108cfc7921430f0b805.js +0 -1
  177. package/assets/esri/core/workers/chunks/2eacca322737aafd8f0c.js +0 -1
  178. package/assets/esri/core/workers/chunks/39577683e334eb4d904c.js +0 -1
  179. package/assets/esri/core/workers/chunks/39714837f9d3708e3806.js +0 -1
  180. package/assets/esri/core/workers/chunks/3fe357df92afa1bee70a.js +0 -1
  181. package/assets/esri/core/workers/chunks/4d3deeb0ebd0ce8c1215.js +0 -1
  182. package/assets/esri/core/workers/chunks/576bddc3fa7d91a7e5bd.js +0 -1
  183. package/assets/esri/core/workers/chunks/623d6710a4f800c622ce.js +0 -1
  184. package/assets/esri/core/workers/chunks/6782cc3feb713676d544.js +0 -1
  185. package/assets/esri/core/workers/chunks/6e7178de0b2c3d2f7e6b.js +0 -1
  186. package/assets/esri/core/workers/chunks/785a6c925f29bc962992.js +0 -1
  187. package/assets/esri/core/workers/chunks/78ce0b1af62435d8ebf4.js +0 -1
  188. package/assets/esri/core/workers/chunks/79d2baf392589588ef9b.js +0 -1
  189. package/assets/esri/core/workers/chunks/7bbdba52157da13a01fc.js +0 -1
  190. package/assets/esri/core/workers/chunks/7ec6be2bc0f354011e46.js +0 -1
  191. package/assets/esri/core/workers/chunks/84860b535a70ec448cfe.js +0 -1
  192. package/assets/esri/core/workers/chunks/9035d9e09a4e7cb94d37.js +0 -1
  193. package/assets/esri/core/workers/chunks/956b0fef7bc849415354.js +0 -1
  194. package/assets/esri/core/workers/chunks/9ab98321a4a7eaeeb018.js +0 -1
  195. package/assets/esri/core/workers/chunks/9cb7a68ff46e5c43e1d2.js +0 -1
  196. package/assets/esri/core/workers/chunks/a0f7f7f578521970c714.js +0 -1
  197. package/assets/esri/core/workers/chunks/a60eac45d3c65bd0216f.js +0 -1
  198. package/assets/esri/core/workers/chunks/aca5260f6984952a6e3d.js +0 -1
  199. package/assets/esri/core/workers/chunks/b05be356743fa5d24573.js +0 -1
  200. package/assets/esri/core/workers/chunks/ba6024465308c248170b.js +0 -1
  201. package/assets/esri/core/workers/chunks/d0983f808008920514f2.js +0 -1
  202. package/assets/esri/core/workers/chunks/dab832799bc06b0fec34.js +0 -1
  203. package/assets/esri/core/workers/chunks/e45d36aef2bc69ee9132.js +0 -1
  204. package/assets/esri/core/workers/chunks/e5bbd4cc5edbf7ab3624.js +0 -1
  205. package/assets/esri/core/workers/chunks/e700cf4d1f99291a4396.js +0 -1
  206. package/assets/esri/core/workers/chunks/f398a5cf33c3fd2522a5.js +0 -1
  207. package/assets/esri/core/workers/chunks/f4ee94a6cde4ea8837f1.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6326],{84552:(e,t,i)=>{i.d(t,{Z:()=>p});var r=i(43697),n=i(2368),a=i(96674),o=i(35463),s=i(5600),l=(i(75215),i(67676),i(80442),i(36030)),u=i(52011),c=i(78981);let d=class extends((0,n.J)(a.wq)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.rJ)(this.value,this.unit,"milliseconds")}};(0,r._)([(0,l.J)(c.v,{nonNullable:!0})],d.prototype,"unit",void 0),(0,r._)([(0,s.Cb)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,r._)([(0,u.j)("esri.TimeInterval")],d);const p=d},17287:(e,t,i)=>{i.d(t,{Y:()=>l});var r=i(43697),n=i(92604),a=i(5600),o=(i(75215),i(67676),i(80442),i(52011)),s=i(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,s.Qc)(this.url);if(null!=e&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,s.Nm)(e,n.Z.getLogger(this)))}};return(0,r._)([(0,a.Cb)()],t.prototype,"title",null),(0,r._)([(0,a.Cb)({type:String})],t.prototype,"url",null),t=(0,r._)([(0,o.j)("esri.layers.mixins.ArcGISService")],t),t}},17017:(e,t,i)=>{i.d(t,{N:()=>o});var r=i(43697),n=i(5600),a=(i(75215),i(67676),i(80442),i(52011));const o=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,r._)([(0,n.Cb)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,r._)([(0,a.j)("esri.layers.mixins.CustomParametersMixin")],t),t}},16859:(e,t,i)=>{i.d(t,{I:()=>v});var r=i(43697),n=i(68773),a=i(40330),o=i(3172),s=i(66643),l=i(20102),u=i(92604),c=i(70586),d=i(95330),p=i(81271),m=i(5600),y=(i(75215),i(67676),i(80442),i(71715)),g=i(52011),h=i(30556),M=i(84230),w=i(48522),f=i(15235),I=i(86082),b=i(14661);const v=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new f.default({id:t.itemId,portal:i&&i.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const{load:r}=await i.e(8062).then(i.bind(i,18062));return(0,d.k_)(t),await r({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap},t)}catch(e){throw(0,d.D_)(e)||u.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,d.r9)(e),!0))))}async _setUserPrivileges(e,t){if(!n.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:i,fullEdit:r},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,d.r9)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=e===i.id;if(r&&i.portal.user)return(0,b.Ss)(i);let n,o;if(r)n=i.portal.url;else try{n=await(0,M.oP)(this.url,t)}catch(e){(0,d.r9)(e)}if(!n||!(0,p.Zo)(n,i.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(a.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.r9)(e)}if(!o)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(r?await i.reload():(i=new f.default({id:e,portal:{url:n}}),await i.load(t)),i.portal.user)return(0,b.Ss)(i)}catch(e){(0,d.r9)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.r9)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?a.id?.findCredential(this.url):null;if(!t)return!0;const i=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.user=i,null==i||null==i.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=a.id.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const r=`${i.owningSystemUrl}/sharing/rest`,n=w.Z.getDefault();if(n&&n.loaded&&(0,p.Fv)(n.restUrl)===(0,p.Fv)(r))return n.user;const l=`${r}/community/self`,u=null!=e?e.signal:null,c=await(0,s.q6)((0,o.default)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?I.default.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t&&t.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||w.Z.getDefault());return i&&r&&!(0,p.tm)(r.restUrl,i.restUrl)?(t.messages&&t.messages.push(new l.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r._)([(0,m.Cb)({type:f.default})],t.prototype,"portalItem",null),(0,r._)([(0,y.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,r._)([(0,h.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,r._)([(0,m.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,r._)([(0,g.j)("esri.layers.mixins.PortalLayer")],t),t},C={credential:null,user:null}},34760:(e,t,i)=>{i.d(t,{Q:()=>M});var r=i(43697),n=i(92604),a=i(95330),o=i(5600),s=(i(75215),i(67676),i(80442),i(52011)),l=i(46791),u=(i(20102),i(26258),i(87538));const c=new l.Z,d=new WeakMap;function p(e){return null!=e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e}function m(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:m(t,e%t):0}let y=0,g=0;function h(){const e=Date.now();for(const t of c)t.refreshInterval&&e-(d.get(t)??0)+5>=6e4*t.refreshInterval&&(d.set(t,e),t.refresh(e))}(0,u.EH)((()=>{const e=Date.now();let t=0;for(const i of c)t=m(Math.round(6e4*i.refreshInterval),t),i.refreshInterval?d.get(i)||d.set(i,e):d.delete(i);if(t!==g){if(g=t,clearInterval(y),0===g)return void(y=0);y=setInterval(h,g)}}));const M=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,a.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{this.destroyed||function(e){p(e)&&c.push(e)}(this)}),(()=>{}))}destroy(){var e;p(e=this)&&c.includes(e)&&c.remove(e)}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,a.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{n.Z.getLogger(this).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}};return(0,r._)([(0,o.Cb)({type:Number,cast:e=>e>=.1?e:e<=0?0:.1,json:{write:!0}})],t.prototype,"refreshInterval",void 0),(0,r._)([(0,o.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,r._)([(0,o.Cb)()],t.prototype,"refreshParameters",null),t=(0,r._)([(0,s.j)("esri.layers.mixins.RefreshableLayer")],t),t}},28294:(e,t,i)=>{i.d(t,{n:()=>p});var r=i(43697),n=i(92835),a=i(84552),o=i(5600),s=(i(75215),i(67676),i(80442),i(71715)),l=i(52011),u=i(35671),c=i(76259),d=i(78981);const p=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const r=i.timeOffset,n=d.v.fromJSON(i.timeOffsetUnits);return r&&n?new a.Z({value:r,unit:n}):null}set timeInfo(e){(0,u.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r._)([(0,o.Cb)({type:n.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,r._)([(0,o.Cb)({type:a.Z})],t.prototype,"timeOffset",void 0),(0,r._)([(0,s.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,r._)([(0,o.Cb)({value:null,type:c.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,r._)([(0,o.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,r._)([(0,l.j)("esri.layers.mixins.TemporalLayer")],t),t}},35956:(e,t,i)=>{i.d(t,{Z:()=>d});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=i(75215),u=i(52011);let c=r=class extends a.wq{constructor(e){super(e),this.variableName=null,this.dimensionName=null,this.values=[],this.isSlice=!1}clone(){return new r({variableName:this.variableName,dimensionName:this.dimensionName,values:(0,o.d9)(this.values),isSlice:this.isSlice})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"variableName",void 0),(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"dimensionName",void 0),(0,n._)([(0,s.Cb)({type:l.V5.array(l.V5.oneOf([l.V5.native(Number),l.V5.array(l.V5.native(Number))])),json:{write:!0}})],c.prototype,"values",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"isSlice",void 0),c=r=(0,n._)([(0,u.j)("esri.layers.support.DimensionalDefinition")],c);const d=c},98974:(e,t,i)=>{i.d(t,{Z:()=>v});var r,n=i(43697),a=i(60235),o=i(35454),s=i(96674),l=i(22974),u=i(92604),c=i(5600),d=i(90578),p=i(71715),m=i(52011),y=i(30556),g=i(75215),h=i(94139),M=i(35956),w=i(45663);const f=(0,o.w)()({MT_FIRST:"first",MT_LAST:"last",MT_MIN:"min",MT_MAX:"max",MT_MEAN:"mean",MT_BLEND:"blend",MT_SUM:"sum"}),I=(0,o.w)()({esriMosaicNone:"none",esriMosaicCenter:"center",esriMosaicNadir:"nadir",esriMosaicViewpoint:"viewpoint",esriMosaicAttribute:"attribute",esriMosaicLockRaster:"lock-raster",esriMosaicNorthwest:"northwest",esriMosaicSeamline:"seamline"});let b=r=class extends s.wq{constructor(e){super(e),this.ascending=!0,this.itemRasterFunction=null,this.lockRasterIds=null,this.method=null,this.multidimensionalDefinition=null,this.objectIds=null,this.operation=null,this.sortField=null,this.sortValue=null,this.viewpoint=null,this.where=null}readAscending(e,t){return null!=t.ascending?t.ascending:null==t.sortAscending||t.sortAscending}get itemRenderingRule(){return(0,a.Mr)(u.Z.getLogger(this),"itemRenderingRule",{replacement:"itemRasterFunction",version:"4.27",warnOnce:!0}),this._get("itemRasterFunction")}set itemRenderingRule(e){(0,a.Mr)(u.Z.getLogger(this),"itemRenderingRule",{replacement:"itemRasterFunction",version:"4.27",warnOnce:!0}),this._set("itemRasterFunction",e)}readMethod(e,t){return function(e){let t;switch(e?e.toLowerCase().replace("esrimosaic",""):""){case"byattribute":case"attribute":t="esriMosaicAttribute";break;case"lockraster":t="esriMosaicLockRaster";break;case"center":t="esriMosaicCenter";break;case"northwest":t="esriMosaicNorthwest";break;case"nadir":t="esriMosaicNadir";break;case"viewpoint":t="esriMosaicViewpoint";break;case"seamline":t="esriMosaicSeamline";break;default:t="esriMosaicNone"}return I.fromJSON(t)}(t.mosaicMethod||t.defaultMosaicMethod)}writeMultidimensionalDefinition(e,t,i){null!=e&&(e=e.filter((({variableName:e,dimensionName:t})=>e&&"*"!==e||t))).length&&(t[i]=e.map((e=>e.toJSON())))}readOperation(e,t){const i=t.mosaicOperation,r=t.mosaicOperator&&t.mosaicOperator.toLowerCase(),n=i||(r?f.toJSON(r):null);return f.fromJSON(n)||"first"}castSortValue(e){return null==e||"string"==typeof e||"number"==typeof e?e:`${e}`}clone(){return new r({ascending:this.ascending,itemRasterFunction:(0,l.d9)(this.itemRasterFunction),lockRasterIds:(0,l.d9)(this.lockRasterIds),method:this.method,multidimensionalDefinition:(0,l.d9)(this.multidimensionalDefinition),objectIds:(0,l.d9)(this.objectIds),operation:this.operation,sortField:this.sortField,sortValue:this.sortValue,viewpoint:(0,l.d9)(this.viewpoint),where:this.where})}};(0,n._)([(0,c.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"ascending",void 0),(0,n._)([(0,p.r)("ascending",["ascending","sortAscending"])],b.prototype,"readAscending",null),(0,n._)([(0,c.Cb)({type:w.Z,json:{name:"itemRenderingRule",write:!0}})],b.prototype,"itemRasterFunction",void 0),(0,n._)([(0,c.Cb)({type:w.Z})],b.prototype,"itemRenderingRule",null),(0,n._)([(0,c.Cb)({type:[g.z8],json:{write:{overridePolicy(){return{enabled:"lock-raster"===this.method}}}}})],b.prototype,"lockRasterIds",void 0),(0,n._)([(0,c.Cb)({type:String,json:{type:I.jsonValues,write:{target:"mosaicMethod",writer:I.write}}})],b.prototype,"method",void 0),(0,n._)([(0,p.r)("method",["mosaicMethod","defaultMosaicMethod"])],b.prototype,"readMethod",null),(0,n._)([(0,c.Cb)({type:[M.Z],json:{write:!0}})],b.prototype,"multidimensionalDefinition",void 0),(0,n._)([(0,y.c)("multidimensionalDefinition")],b.prototype,"writeMultidimensionalDefinition",null),(0,n._)([(0,c.Cb)({type:[g.z8],json:{name:"fids",write:!0}})],b.prototype,"objectIds",void 0),(0,n._)([(0,c.Cb)({json:{type:f.jsonValues,read:{reader:f.read},write:{target:"mosaicOperation",writer:f.write}}})],b.prototype,"operation",void 0),(0,n._)([(0,p.r)("operation",["mosaicOperation","mosaicOperator"])],b.prototype,"readOperation",null),(0,n._)([(0,c.Cb)({type:String,json:{write:{overridePolicy(){return{enabled:"attribute"===this.method}}}}})],b.prototype,"sortField",void 0),(0,n._)([(0,c.Cb)({type:[String,Number],json:{write:{allowNull:!0,overridePolicy(){return{enabled:"attribute"===this.method,allowNull:!0}}}}})],b.prototype,"sortValue",void 0),(0,n._)([(0,d.p)("sortValue")],b.prototype,"castSortValue",null),(0,n._)([(0,c.Cb)({type:h.Z,json:{write:!0}})],b.prototype,"viewpoint",void 0),(0,n._)([(0,c.Cb)({type:String,json:{write:!0}})],b.prototype,"where",void 0),b=r=(0,n._)([(0,m.j)("esri.layers.support.MosaicRule")],b);const v=b},29876:(e,t,i)=>{i.d(t,{Z:()=>y});var r,n=i(43697),a=(i(66577),i(96674)),o=i(5600),s=(i(75215),i(67676),i(80442),i(52011)),l=i(6570),u=i(38913),c=i(33955),d=i(35956);const p={base:i(9361).Z,key:"type",typeMap:{extent:l.Z,polygon:u.Z}};let m=r=class extends a.wq{constructor(e){super(e),this.areaOfInterest=null,this.subsetDefinitions=null}get dimensions(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Map;e.forEach((e=>{if(!e.dimensionName)return;let i,r;if(Array.isArray(e.values[0])){const t=e.values;i=t[0][0],r=t[e.values.length-1][1]}else{const t=e.values;i=t[0],r=t[e.values.length-1]}if(t.has(e.dimensionName)){const n=t.get(e.dimensionName);n[0]=Math.min(i,n[0]),n[1]=Math.max(r,n[1])}else t.set(e.dimensionName,[i,r])}));const i=[];for(const e of t)i.push({name:e[0],extent:e[1]});return i}get variables(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Set;return e.forEach((e=>{e.variableName&&t.add(e.variableName)})),[...t]}clone(){const e=this.subsetDefinitions?.map((e=>e.clone())),t=this.areaOfInterest?this.areaOfInterest.clone():this.areaOfInterest;return new r({areaOfInterest:t,subsetDefinitions:e})}};(0,n._)([(0,o.Cb)({types:p,json:{read:c.im,write:!0}})],m.prototype,"areaOfInterest",void 0),(0,n._)([(0,o.Cb)({readOnly:!0})],m.prototype,"dimensions",null),(0,n._)([(0,o.Cb)({readOnly:!0})],m.prototype,"variables",null),(0,n._)([(0,o.Cb)({type:[d.Z],json:{write:!0}})],m.prototype,"subsetDefinitions",void 0),m=r=(0,n._)([(0,s.j)("esri.layers.support.MultidimensionalSubset")],m);const y=m},45663:(e,t,i)=>{i.d(t,{Z:()=>Z});var r=i(43697),n=i(96674),a=i(22974),o=i(5600),s=i(75215),l=i(36030),u=i(71715),c=i(52011),d=i(30556),p=i(35454),m=(i(67676),i(80442),i(69608));let y=class extends n.wq{constructor(){super(...arguments),this.pixelType="unknown"}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,r._)([(0,o.Cb)({type:s.z8,json:{type:s.z8,write:!0,name:"_object_id"}})],y.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{type:m.sM.jsonValues,read:m.sM.read,write:m.sM.write}})],y.prototype,"pixelType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"type",void 0),y=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionInfo")],y);const g=y;let h=class extends n.wq{constructor(){super(...arguments),this.isDataset=!1,this.isPublic=!1,this.type="RasterFunctionVariable"}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],h.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"isDataset",void 0),(0,r._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"isPublic",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],h.prototype,"value",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"type",void 0),h=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionVariable")],h);const M={key:"type",base:null,typeMap:{RasterFunctionVariable:h}};let w=class extends n.wq{};(0,r._)([(0,o.Cb)({types:M,json:{types:M,name:"MatchVariable"}})],w.prototype,"matchVariable",void 0),(0,r._)([(0,o.Cb)({types:M,json:{types:M,name:"UnionDimension"}})],w.prototype,"unionDimension",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],w.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],w.prototype,"type",void 0),w=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionProperties")],w);const f=w,I=new p.X({0:"mosaic",1:"item",2:"item-group"},{useNumericKeys:!0});let b=class extends n.wq{constructor(){super(...arguments),this.functionType="mosaic",this.type="RasterFunctionTemplate"}};(0,r._)([(0,o.Cb)({type:[String],json:{write:!0}})],b.prototype,"aliases",void 0),(0,r._)([(0,o.Cb)({type:Object,json:{write:!0}})],b.prototype,"arguments",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"description",void 0),(0,r._)([(0,o.Cb)({type:g,json:{write:!0,name:"function"}})],b.prototype,"functionInfo",void 0),(0,r._)([(0,o.Cb)({type:I.apiValues,json:{type:[0,1,2],read:I.read,write:I.write}})],b.prototype,"functionType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"group",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"help",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],b.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0,name:"definition"}})],b.prototype,"queryDefinition",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"tag",void 0),(0,r._)([(0,o.Cb)({type:f,json:{write:!0}})],b.prototype,"properties",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"thumbnail",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"thumbnailEx",void 0),(0,r._)([(0,o.Cb)({json:{type:["RasterFunctionTemplate"],write:!0}})],b.prototype,"type",void 0),b=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionTemplate")],b);const v=b;var C;const A=new Set(["raster","raster2","dem","fillraster"]),D=new Set(["rasters"]),T=e=>e&&e.rasterFunction?x.fromJSON(e):e,j=e=>e&&e instanceof x?e.toJSON():e,S=e=>e?.functionName&&!e.declaredClass,N=e=>S(e)?new x(e):e,L={types:{key:"type",base:null,typeMap:{RasterFunctionTemplate:v}},json:{write:!0,name:"rasterFunctionDefinition"}};let x=C=class extends n.wq{constructor(e){super(e),this.functionName=null,this.outputPixelType="unknown",this.variableName=null,this.functionDefinition=null}set functionArguments(e){if(e){const t=Object.keys(e);if(t.some((t=>A.has(t.toLowerCase())&&S(e[t])))||t.some((t=>D.has(t.toLowerCase())&&Array.isArray(e[t])&&e[t].some((e=>S(e)))))){e=(0,a.d9)(e);for(const i of t)A.has(i.toLowerCase())?e[i]=N(e[i]):D.has(i.toLowerCase())&&Array.isArray(e[i])&&(e[i]=e[i].map((e=>N(e))))}}this._set("functionArguments",e)}readFunctionArguments(e){return(e=>{if(null==e)return null;e=(0,a.d9)(e);const t={};for(const i of Object.keys(e))A.has(i.toLowerCase())?t[i]=T(e[i]):D.has(i.toLowerCase())&&Array.isArray(e[i])?t[i]=e[i].map(T):t[i]=e[i];return t})(e)}writeFunctionArguments(e,t,i){const r={};for(const t of Object.keys(e))A.has(t.toLowerCase())?r[t]=j(e[t]):D.has(t.toLowerCase())&&Array.isArray(e[t])?r[t]=e[t].map(j):r[t]=j(e[t]);t[i]=r}readFunctionName(e,t){const i=t.rasterFunctionInfos;return t.name||(i&&i.length&&"None"!==i[0].name?i[0].name:t.rasterFunctionDefinition?t.rasterFunctionDefinition.name:t.rasterFunction)}get rasterFunctionDefinition(){return this.functionDefinition?.toJSON()}set rasterFunctionDefinition(e){this.functionDefinition=e?v.fromJSON(e):null}clone(){return new C({functionName:this.functionName,functionArguments:(0,a.d9)(this.functionArguments),outputPixelType:this.outputPixelType,variableName:this.variableName,rasterFunctionDefinition:(0,a.d9)(this.rasterFunctionDefinition)})}};(0,r._)([(0,o.Cb)({json:{type:Object,name:"rasterFunctionArguments"}})],x.prototype,"functionArguments",null),(0,r._)([(0,u.r)("functionArguments")],x.prototype,"readFunctionArguments",null),(0,r._)([(0,d.c)("functionArguments")],x.prototype,"writeFunctionArguments",null),(0,r._)([(0,o.Cb)({json:{type:String,write:{target:"rasterFunction"}}})],x.prototype,"functionName",void 0),(0,r._)([(0,u.r)("functionName",["rasterFunction","rasterFunctionInfos","rasterFunctionDefinition"])],x.prototype,"readFunctionName",null),(0,r._)([(0,l.J)({C128:"c128",C64:"c64",F32:"f32",F64:"f64",S16:"s16",S32:"s32",S8:"s8",U1:"u1",U16:"u16",U2:"u2",U32:"u32",U4:"u4",U8:"u8",UNKNOWN:"unknown"},{ignoreUnknown:!1}),(0,o.Cb)({json:{default:"unknown"}})],x.prototype,"outputPixelType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{read:!0,write:!0}})],x.prototype,"variableName",void 0),(0,r._)([(0,o.Cb)()],x.prototype,"rasterFunctionDefinition",null),(0,r._)([(0,o.Cb)(L)],x.prototype,"functionDefinition",void 0),x=C=(0,r._)([(0,c.j)("esri.layers.support.RasterFunction")],x);const Z=x},88281:(e,t,i)=>{i.d(t,{Z:()=>o});var r=i(20102),n=i(78346),a=i(5847);class o{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await(0,n.bA)("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:e.pixelBlock.toJSON(),type:e.dataType},t);return i?new a.Z(i):null}computeStatisticsHistograms(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");return this._workerThread.invoke("computeStatisticsHistograms",{pixelBlock:e.pixelBlock.toJSON()},t)}async decode(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("decode",e,t);return i?new a.Z(i):null}async symbolize(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i={extent:e.extent&&e.extent.toJSON(),pixelBlock:null!=e.pixelBlock&&e.pixelBlock.toJSON(),simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},n=await this._workerThread.invoke("symbolize",i,t);return n?new a.Z(n):null}async updateSymbolizer(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:i},t))}async updateRasterFunction(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},t))}async process(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelSizes:e.primaryPixelSizes?.map((e=>null!=e?e.toJSON():null)),primaryPixelBlocks:e.primaryPixelBlocks.map((e=>null!=e?e.toJSON():null)),primaryRasterIds:e.primaryRasterIds},t);return i?new a.Z(i):null}async stretch(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),stretchParams:e.stretchParams},n=await this._workerThread.invoke("stretch",i,t);return n?new a.Z(n):null}async split(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel},n=await this._workerThread.invoke("split",i,t);return n&&n.forEach(((e,t)=>{n.set(t,e?a.Z.fromJSON(e):null)})),n}async estimateStatisticsHistograms(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON()};return await this._workerThread.invoke("estimateStatisticsHistograms",i,t)}async mosaicAndTransform(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.srcPixelBlocks?.length)return{pixelBlock:null};const i={...e,srcPixelBlocks:e.srcPixelBlocks.map((e=>null!=e?e.toJSON():null))},n=await this._workerThread.invoke("mosaicAndTransform",i,t);return{pixelBlock:n.pixelBlock?new a.Z(n.pixelBlock):null,localNorthDirections:n.localNorthDirections}}async createFlowMesh(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:n,simulationSettings:a}=e,o=await this._workerThread.invoke("createFlowMesh",{meshType:n,flowData:i,simulationSettings:a},{...t,transferList:[i.buffer,i.maskBuffer]});return{vertexData:new Float32Array(o.vertexBuffer),indexData:new Uint32Array(o.indexBuffer)}}getProjectionOffsetGrid(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=null!=e.datumTransformation?e.datumTransformation.steps.map((e=>({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse}))):null,n=null!=e.rasterTransform?e.rasterTransform.toJSON():null,a={projectedExtent:e.projectedExtent.toJSON(),srcBufferExtent:e.srcBufferExtent.toJSON(),pixelSize:e.pixelSize,hasWrapAround:e.hasWrapAround,spacing:e.spacing,datumTransformationSteps:i,rasterTransform:n,isAdaptive:e.isAdaptive,includeGCSGrid:e.includeGCSGrid};return this._workerThread.invoke("getProjectionOffsetGrid",a,t)}}},76259:(e,t,i)=>{i.d(t,{Z:()=>g});var r=i(43697),n=i(92835),a=i(84552),o=i(2368),s=i(96674),l=i(5600),u=(i(75215),i(67676),i(80442),i(71715)),c=i(52011),d=i(30556),p=i(80216);function m(e,t){return a.Z.fromJSON({value:e,unit:t})}let y=class extends((0,o.J)(s.wq)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const i=new Date(t.timeExtent[0]),r=new Date(t.timeExtent[1]);return new n.Z({start:i,end:r})}writeFullTimeExtent(e,t){e&&null!=e.start&&null!=e.end?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?m(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?m(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r._)([(0,l.Cb)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],y.prototype,"cumulative",void 0),(0,r._)([(0,l.Cb)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"endField",void 0),(0,r._)([(0,l.Cb)({type:n.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"fullTimeExtent",void 0),(0,r._)([(0,u.r)("fullTimeExtent",["timeExtent"])],y.prototype,"readFullTimeExtent",null),(0,r._)([(0,d.c)("fullTimeExtent")],y.prototype,"writeFullTimeExtent",null),(0,r._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"hasLiveData",void 0),(0,r._)([(0,l.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"interval",void 0),(0,r._)([(0,u.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],y.prototype,"readInterval",null),(0,r._)([(0,d.c)("interval")],y.prototype,"writeInterval",null),(0,r._)([(0,l.Cb)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"startField",void 0),(0,r._)([(0,l.Cb)({type:p.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"timeReference",void 0),(0,r._)([(0,l.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"trackIdField",void 0),(0,r._)([(0,l.Cb)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],y.prototype,"useTime",void 0),y=(0,r._)([(0,c.j)("esri.layers.support.TimeInfo")],y);const g=y},99815:(e,t,i)=>{i.d(t,{MO:()=>o,Tj:()=>g,Ur:()=>s,W2:()=>m,WU:()=>h,WY:()=>y,gk:()=>I,jj:()=>M,nb:()=>p});var r=i(67676),n=i(35956);function a(e,t,i){const r=t.shift();if(0===i.length){const e=[];i.push({sliceId:-1,multidimensionalDefinition:e})}const n=i.length;for(let t=0;t<n;t++){const t=i.shift().multidimensionalDefinition;r.values?.forEach((n=>{i.push({sliceId:-1,multidimensionalDefinition:[...t,{variableName:e,dimensionName:r.name,values:[n]}]})}))}t.length&&a(e,t,i)}function o(e,t){const i=[];let r=0;return(t?e.variables.filter((e=>e.name.toLowerCase()===t.toLowerCase())):[...e.variables].sort(((e,t)=>e.name>t.name?1:-1))).forEach((e=>{const t=[],n=[...e.dimensions].sort(((e,t)=>e.name>t.name?-1:1));a(e.name,n,t),t.forEach((e=>{i.push({...e,sliceId:r++})}))})),i}function s(e,t,i){let r=e;if(t&&(t=[...t].sort(((e,t)=>e.dimensionName<t.dimensionName?-1:1))).forEach((({dimensionName:e,values:t,isSlice:i})=>{t.length&&(r=r.filter((r=>{const n=r.multidimensionalDefinition.find((t=>t.dimensionName===e));if(null==n)return!1;const a=n.values[0];return"number"==typeof a?"number"==typeof t[0]?t.includes(a):t.some((e=>e[0]<=a&&e[1]>=a)):"number"==typeof t[0]?t.some((e=>a[0]<=e&&a[1]>=e)):i?t.some((e=>e[0]===a[0]&&e[0]===a[1])):t.some((e=>e[0]>=a[0]&&e[0]<=a[1]||e[1]>=a[0]&&e[1]<=a[1]||e[0]<a[0]&&e[1]>a[1]))})))})),r.length&&i&&null!=i.start&&null!=i.end){const e=i.start.getTime(),t=i.end.getTime(),n=r[0].multidimensionalDefinition.findIndex((e=>"StdTime"===e.dimensionName));n>-1&&(r=r.filter((i=>{const r=i.multidimensionalDefinition[n].values[0];return e<=r&&t>=r})))}return r.map((e=>e.sliceId))}function l(e,t){return Array.isArray(e)?t[0]===t[1]?e[0]===t[0]||e[1]===t[0]:e[0]>=t[0]&&e[0]<=t[1]&&e[1]>=t[0]&&e[1]<=t[1]:e>=t[0]&&e<=t[1]}function u(e,t){return e[0]<=t[0]&&e[1]>=t[0]||e[0]<=t[1]&&e[1]>=t[1]||e[0]>=t[0]&&e[1]<=t[1]}function c(e){return 1===e.length?[e[0],e[0]]:[e[0],e[e.length-1]]}function d(e,t,i){if(!t?.subsetDefinitions?.length)return e;let r;if(i){const{variables:n}=t;if(n.length&&!n.includes(i))return null;const a=t.subsetDefinitions.find((t=>t.dimensionName===e.name&&t.variableName===i));if(!a?.values?.length)return e;r=c(a.values)}else{const i=t.dimensions.find((({name:t})=>t===e.name));r=i?.extent}const n=r;if(!n||!n?.length)return e;const a=e.values.filter((e=>l(e,n)));return{...e,extent:[...n],values:a}}function p(e,t,i){if(!t?.subsetDefinitions?.length)return!1;const{variables:r}=t;if(r.length&&e.some((({variableName:e})=>e&&!r.includes(e))))return!0;for(let r=0;r<e.length;r++){const n=e[r],a=t.subsetDefinitions.find((e=>(""===n.variableName||e.variableName===n.variableName)&&e.dimensionName===n.dimensionName));if(a?.values.length){const e=c(a.values);if(n.isSlice||2!==n.values.length||Array.isArray(n.values[0])||n.values[0]===n.values[1]||!i){if(n.values.some((t=>!l(t,e))))return!0}else if(!u(n.values,e))return!0}}return!1}function m(e,t){if(null==e)return{isOutside:!1};const{geometry:i,timeExtent:r,multidimensionalDefinition:a}=t;let o=null;if(null!=r&&(o=function(e,t){const i=e.dimensions.find((({name:e})=>"StdTime"===e));if(null==i||null==t.start&&null==t.end)return t;t=t.clone();const{start:r,end:a}=t.toJSON(),o=r===a?[r]:null!=r&&null!=a?[r,a]:[r??a];return 2===o.length&&i?.extent.length&&(o[0]=Math.max(o[0],i.extent[0]),o[1]=Math.min(o[1],i.extent[1]??i.extent[0]),o[1]<o[0])||p([new n.Z({variableName:"",dimensionName:"StdTime",isSlice:1===o.length,values:o})],e,!0)?null:(t.start=new Date(o[0]),t.end=new Date(o[1]??o[0]),t)}(e,r),null==o))return{isOutside:!0};const{areaOfInterest:s}=e;if(s&&i){const e="point"===i.type?i:"extent"===i.type?i.center:"polygon"===i.type?i.centroid:null;if(e&&!s.contains(e))return{isOutside:!0}}return null!=a&&a.length&&p(a,e,!0)?{isOutside:!0}:{isOutside:!1,intersection:{geometry:i,timeExtent:o,multidimensionalDefinition:a}}}function y(e,t={}){const{multidimensionalInfo:i,keyProperties:r}=e;if(null==i)return null;const{variableName:n,multidimensionalSubset:a,multidimensionalDefinition:o}=t,s=null!=o?o[0]?.variableName:null,l=n||s||r?.DefaultVariable;let{variables:u}=i;return a?.variables?.length&&(u=u.filter((({name:e})=>a.variables.includes(e)))),l?u.find((({name:e})=>e===l))??u[0]:u[0]}function g(e,t={}){const i=y(e,t);if(!i)return null;const r=[],{dimensions:a,name:o}=i;if(0===a.length)return[new n.Z({variableName:o,dimensionName:"",values:[],isSlice:!0})];for(let e=0;e<a.length;e++){const i=d(a[e],t.multidimensionalSubset,o);if(!i)return null;const{values:s,extent:l}=i;let u=s?.[0]??l[0];"stdz"===i.name.toLowerCase()&&!i.hasRanges&&Math.abs(l[1])<=Math.abs(l[0])&&(u=s?.length?s[s.length-1]:l[1]),r.push(new n.Z({variableName:o,dimensionName:i.name,values:[u],isSlice:!t.useRangeForRangedDimensionInfo||!!i.hasRanges}))}return r}function h(e){return!(null==e||!e.length)&&e.some((e=>{if(null==e.values)return!0;const t=e.values.length;return 0===t||t>1||!e.isSlice&&Array.isArray(e.values[0])}))}function M(e,t){if(null==t||null==e)return null;let i=t.variables.map((e=>({...e})));return e?.variables?.length&&(i=i.filter((({name:t})=>e.variables.includes(t))),i.forEach((t=>{t.dimensions=t.dimensions.map((i=>d(i,e,t.name))).filter(r.pC)}))),i}function w(e,t){const{values:i}=t;if(i?.length){const t=Array.isArray(i[0]),r=Array.isArray(e);return t!==r?-1:t&&r?i.findIndex((t=>t[0]===e[0]&&t[1]===e[1])):i.indexOf(e)}const{extent:r}=t;if(Array.isArray(e)||e<r[0]||e>r[1])return-1;const n=t.interval||1;if("ISO8601"!==t.unit)return Math.round((e-r[0])/n);const a=r[0];let o=-1;switch(t.intervalUnit?.toLowerCase()||"seconds"){case"seconds":o=Math.round((e-a)/1e3/n);break;case"minutes":o=Math.round((e-a)/6e4/n);break;case"hours":o=Math.round((e-a)/36e5/n);break;case"days":o=Math.round((e-a)/864e5/n);break;case"months":{const t=new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear(),i=new Date(a).getUTCMonth(),r=new Date(e).getUTCMonth();o=0===t?r-i:r+11-i+12*(t-1)}break;case"years":o=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/n);break;case"decades":o=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/10/n)}return o}function f(e){let t=e.values?.length;if(t)return t;const{extent:i,unit:r}=e,n=e.interval||1,a=i?i[1]-i[0]:0;if("ISO8601"!==r)return Math.round(a/n);switch(e.intervalUnit?.toLowerCase()??"seconds"){case"seconds":t=Math.round(a/1e3/n);break;case"minutes":t=Math.round(a/6e4/n);break;case"hours":t=Math.round(a/36e5/n);break;case"days":t=Math.round(a/864e5/n);break;case"months":{const e=new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear(),r=new Date(i[0]).getUTCMonth(),n=new Date(i[1]).getUTCMonth();t=0===e?n-r+1:n+11-r+12*(e-1)+1}break;case"years":t=Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/n);break;case"decades":t=Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/10/n);break;default:t=0}return t}function I(e,t){let i=0;const r=e[0].variableName,n=[...t.variables].sort(((e,t)=>e.name>t.name?1:-1));for(let t=0;t<n.length;t++){const a=n[t],o=[...a.dimensions].sort(((e,t)=>e.name>t.name?-1:1));if(a.name!==r){i+=o.map((e=>f(e))).reduce(((e,t)=>e*t));continue}const s=o.map((e=>f(e))),l=o.length;for(let t=0;t<l;t++){const r=e.find((e=>e.dimensionName===o[t].name));if(null==r)return null;const n=w(r.values[0],o[t]);if(-1===n)return null;s.shift(),i+=t===l-1?n:n*s.reduce(((e,t)=>e*t))}break}return i}},69608:(e,t,i)=>{i.d(t,{cl:()=>n,kQ:()=>a,sM:()=>o});var r=i(35454);const n=(0,r.w)()({RSP_NearestNeighbor:"nearest",RSP_BilinearInterpolation:"bilinear",RSP_CubicConvolution:"cubic",RSP_Majority:"majority"}),a=(0,r.w)()({esriNoDataMatchAny:"any",esriNoDataMatchAll:"all"}),o=(0,r.w)()({U1:"u1",U2:"u2",U4:"u4",U8:"u8",S8:"s8",U16:"u16",S16:"s16",U32:"u32",S32:"s32",F32:"f32",F64:"f64",C64:"c64",C128:"c128",UNKNOWN:"unknown"})},78981:(e,t,i)=>{i.d(t,{v:()=>r});const r=(0,i(35454).w)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},30030:(e,t,i)=>{i.d(t,{FK:()=>p,dr:()=>d,ij:()=>y});var r=i(20941),n=i(16050),a=i(24705),o=i(28092),s=i(73622),l=i(60849),u=i(81571),c=i(3943);const d={key:"type",base:null,typeMap:{"unique-value":u.Z,"class-breaks":n.Z,"raster-colormap":o.Z,"raster-stretch":l.Z,"vector-field":c.Z,"raster-shaded-relief":s.Z,flow:a.Z}},p={...d,typeMap:{...d.typeMap}};delete p.typeMap["vector-field"],delete p.typeMap.flow;const m={uniqueValue:u.Z,classBreaks:n.Z,rasterStretch:l.Z,rasterColormap:o.Z,vectorField:c.Z,rasterShadedRelief:s.Z,flowRenderer:a.Z};function y(e,t){if(!e)return null;if("classBreaks"===e.type&&e.classificationMethod){const t=e.authoringInfo||{classificationMethod:""};t.classificationMethod=e.classificationMethod,e.authoringInfo=t}"vectorField"===e.type&&e.visualVariables&&!Array.isArray(e.visualVariables)&&(e.visualVariables=[e.visualVariables]);const i=(n=e)&&m[n.type]||null;var n;if(i){const r=new i;return r.read(e,t),r}return t&&t.messages&&e&&t.messages.push(new r.Z("renderer:unsupported","Renderers of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:t})),null}},24705:(e,t,i)=>{i.d(t,{Z:()=>M});var r,n=i(43697),a=i(22303),o=i(35454),s=i(96674),l=i(62357),u=i(5600),c=(i(75215),i(67676),i(80442),i(36030)),d=i(52011),p=i(41733),m=i(69237),y=i(66338);const g=new o.X({flow_from:"flow-from",flow_to:"flow-to"});let h=r=class extends((0,p.W)(s.wq)){constructor(e){super(e),this.density=.8,this.color=new a.Z([255,255,255,1]),this.maxPathLength=200,this.trailWidth=1.5,this.flowSpeed=10,this.trailLength=100,this.smoothing=0,this.flowRepresentation="flow-from",this.type="flow",this.authoringInfo=null,this.legendOptions=null,this.trailCap="butt",this.background="none"}clone(){const{density:e,maxPathLength:t,trailWidth:i,flowSpeed:n,trailLength:a,smoothing:o,flowRepresentation:s,trailCap:l,background:u}=this,c=this.color.clone(),d=(this.visualVariables||[]).map((e=>e.clone())),p=this.authoringInfo?.clone(),m=this.legendOptions?.clone();return new r({density:e,color:c,maxPathLength:t,trailWidth:i,flowSpeed:n,trailLength:a,trailCap:l,background:u,smoothing:o,flowRepresentation:s,visualVariables:d,authoringInfo:p,legendOptions:m})}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}};(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"density",void 0),(0,n._)([(0,u.Cb)({type:a.Z,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"maxPathLength",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"trailWidth",void 0),(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"flowSpeed",void 0),(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"trailLength",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!1}})],h.prototype,"smoothing",void 0),(0,n._)([(0,u.Cb)({type:g.apiValues,json:{type:g.jsonValues,read:{reader:g.read},write:{writer:g.write}}})],h.prototype,"flowRepresentation",void 0),(0,n._)([(0,c.J)({flowRenderer:"flow"})],h.prototype,"type",void 0),(0,n._)([(0,u.Cb)({type:m.Z,json:{write:!0}})],h.prototype,"authoringInfo",void 0),(0,n._)([(0,u.Cb)({type:y.I,json:{write:!0}})],h.prototype,"legendOptions",void 0),(0,n._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"trailCap",void 0),(0,n._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"background",void 0),h=r=(0,n._)([(0,d.j)("esri.renderers.FlowRenderer")],h);const M=h},28092:(e,t,i)=>{i.d(t,{Z:()=>g});var r=i(43697),n=i(96674),a=i(5600),o=i(75215),s=(i(67676),i(80442),i(36030)),l=i(52011),u=i(22303);let c=class extends n.wq{constructor(){super(...arguments),this.value=null,this.label=null,this.color=null}};(0,r._)([(0,a.Cb)({type:Number,json:{write:!0}})],c.prototype,"value",void 0),(0,r._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,r._)([(0,a.Cb)({type:u.Z,json:{type:[o.z8],write:!0}})],c.prototype,"color",void 0),c=(0,r._)([(0,l.j)("esri.renderers.support.ColormapInfo")],c);const d=c;var p,m=i(93010);let y=p=class extends n.wq{constructor(e){super(e),this.colormapInfos=null,this.type="raster-colormap"}static createFromColormap(e,t){if(!e)return null;const i=5===e[0].length,r=[...e].sort(((e,t)=>e[0]-t[0])).map((e=>d.fromJSON({value:e[0],color:i?e.slice(1,5):e.slice(1,4).concat([255]),label:t?t[e[0]]??"":e[0]})));return new p({colormapInfos:r})}static createFromColorramp(e){const t=(0,m.Jw)(e);return p.createFromColormap(t)}clone(){return new p({colormapInfos:this.colormapInfos.map((e=>e.toJSON()))})}extractColormap(){return this.colormapInfos.map((({value:e,color:t})=>[e,t.r,t.g,t.b,t.a>1?t.a:255*t.a&255])).sort(((e,t)=>e[0]-t[0]))}};(0,r._)([(0,a.Cb)({type:[d],json:{write:!0}})],y.prototype,"colormapInfos",void 0),(0,r._)([(0,s.J)({rasterColormap:"raster-colormap"})],y.prototype,"type",void 0),y=p=(0,r._)([(0,l.j)("esri.renderers.RasterColormapRenderer")],y);const g=y},73622:(e,t,i)=>{i.d(t,{Z:()=>m});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=(i(75215),i(36030)),u=i(71715),c=i(52011),d=i(94593);let p=r=class extends a.wq{constructor(e){super(e),this.altitude=45,this.azimuth=315,this.colorRamp=null,this.hillshadeType="traditional",this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.scalingType="none",this.type="raster-shaded-relief",this.zFactor=1}readColorRamp(e){return(0,d.i)(e)}clone(){return new r({hillshadeType:this.hillshadeType,altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,scalingType:this.scalingType,pixelSizeFactor:this.pixelSizeFactor,pixelSizePower:this.pixelSizePower,colorRamp:(0,o.d9)(this.colorRamp)})}};(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"altitude",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"azimuth",void 0),(0,n._)([(0,s.Cb)({types:d.V,json:{write:!0}})],p.prototype,"colorRamp",void 0),(0,n._)([(0,u.r)("colorRamp")],p.prototype,"readColorRamp",null),(0,n._)([(0,s.Cb)({type:["traditional","multi-directional"],json:{write:!0}})],p.prototype,"hillshadeType",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"pixelSizePower",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"pixelSizeFactor",void 0),(0,n._)([(0,s.Cb)({type:["none","adjusted"],json:{write:!0}})],p.prototype,"scalingType",void 0),(0,n._)([(0,l.J)({rasterShadedRelief:"raster-shaded-relief"})],p.prototype,"type",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"zFactor",void 0),p=r=(0,n._)([(0,c.j)("esri.renderers.RasterShadedReliefRenderer")],p);const m=p},60849:(e,t,i)=>{i.d(t,{Z:()=>g});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=(i(75215),i(36030)),u=i(71715),c=i(52011),d=i(30556),p=i(75509),m=i(94593);let y=r=class extends a.wq{constructor(e){super(e),this.colorRamp=null,this.computeGamma=!1,this.dynamicRangeAdjustment=!1,this.gamma=[],this.maxPercent=null,this.minPercent=null,this.numberOfStandardDeviations=null,this.outputMax=null,this.outputMin=null,this.sigmoidStrengthLevel=null,this.statistics=[],this.histograms=null,this.useGamma=!1,this.stretchType="none",this.type="raster-stretch"}readColorRamp(e){if(e)return(0,m.i)(e)}writeStatistics(e,t,i){e?.length&&(Array.isArray(e[0])||(e=e.map((e=>[e.min,e.max,e.avg,e.stddev]))),t[i]=e)}readStretchType(e,t){let i=t.stretchType;return"number"==typeof i&&(i=p.J[i]),p.v.read(i)}clone(){return new r({stretchType:this.stretchType,outputMin:this.outputMin,outputMax:this.outputMax,useGamma:this.useGamma,computeGamma:this.computeGamma,statistics:(0,o.d9)(this.statistics),gamma:(0,o.d9)(this.gamma),sigmoidStrengthLevel:this.sigmoidStrengthLevel,numberOfStandardDeviations:this.numberOfStandardDeviations,minPercent:this.minPercent,maxPercent:this.maxPercent,colorRamp:(0,o.d9)(this.colorRamp),histograms:(0,o.d9)(this.histograms),dynamicRangeAdjustment:this.dynamicRangeAdjustment})}};(0,n._)([(0,s.Cb)({types:m.V,json:{write:!0}})],y.prototype,"colorRamp",void 0),(0,n._)([(0,u.r)("colorRamp")],y.prototype,"readColorRamp",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"computeGamma",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:{target:"dra"},read:{source:"dra"}}})],y.prototype,"dynamicRangeAdjustment",void 0),(0,n._)([(0,s.Cb)({type:[Number],json:{write:!0}})],y.prototype,"gamma",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"maxPercent",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"minPercent",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"numberOfStandardDeviations",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"max"},write:{target:"max"}}})],y.prototype,"outputMax",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"min"},write:{target:"min"}}})],y.prototype,"outputMin",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"sigmoidStrengthLevel",void 0),(0,n._)([(0,s.Cb)({json:{type:[[Number]],write:!0}})],y.prototype,"statistics",void 0),(0,n._)([(0,s.Cb)()],y.prototype,"histograms",void 0),(0,n._)([(0,d.c)("statistics")],y.prototype,"writeStatistics",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"useGamma",void 0),(0,n._)([(0,s.Cb)({type:p.v.apiValues,json:{type:p.v.jsonValues,write:p.v.write}})],y.prototype,"stretchType",void 0),(0,n._)([(0,u.r)("stretchType",["stretchType"])],y.prototype,"readStretchType",null),(0,n._)([(0,l.J)({rasterStretch:"raster-stretch"})],y.prototype,"type",void 0),y=r=(0,n._)([(0,c.j)("esri.renderers.RasterStretchRenderer")],y);const g=y},3943:(e,t,i)=>{i.d(t,{Z:()=>k});var r=i(43697),n=i(22303),a=(i(66577),i(38171)),o=i(9790),s=i(35454),l=i(96674),u=i(22974),c=i(5600),d=(i(75215),i(36030)),p=i(71715),m=i(52011),y=i(16306),g=i(80676),h=i(16050),M=i(41733),w=i(32984),f=i(89513),I=i(23847),b=i(28101),v=i(4095),C=i(77987),A=i(66643),D=(i(80442),i(65617));function T(e){for(const t of e)if("number"==typeof t)return t;return null}function j(e,t,i){for(let r=0;r<3;r++){const n=e[r];switch(n){case"symbol-value":{const e=i[r];return null!=e?e/t[r]:1}case"proportional":break;default:if(n&&t[r])return n/t[r]}}return 1}function S(e,t,i,r){switch(e){case"proportional":return i*r;case"symbol-value":return null!=t?t:i;default:return e}}async function N(e,t){if(e&&t)return(0,o.dU)(e)?async function(e,t){const r=e.symbolLayers;r&&await(0,A.Ed)(r,(async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){e.size="number"==typeof t[2]?t[2]:0}(e,t);break;case"icon":case"line":case"text":!function(e,t){const i=T(t);null!=i&&(e.size=i)}(e,t);break;case"path":!function(e,t){const i=j(t,D.O,[e.width,void 0,e.height]);e.width=S(t[0],e.width,1,i),e.height=S(t[2],e.height,1,i)}(e,t);break;case"object":await async function(e,t){const{resourceSize:r,symbolSize:n}=await async function(e){const{computeObjectLayerResourceSize:t}=await i.e(2134).then(i.bind(i,42134)),r=await t(e,10),{width:n,height:a,depth:o}=e,s=[n,o,a];let l=1;for(let e=0;e<3;e++){const t=s[e];if(null!=t){l=t/r[e];break}}for(let e=0;e<3;e++)null==s[e]&&(s[e]=r[e]*l);return{resourceSize:r,symbolSize:s}}(e),a=j(t,r,n);e.width=S(t[0],n[0],r[0],a),e.depth=S(t[1],n[1],r[1],a),e.height=S(t[2],n[2],r[2],a)}(e,t)}}(e,t)))}(e,t):void((0,o.cT)(e)&&function(e,t){const i=T(t);if(null!=i)switch(e.type){case"simple-marker":e.size=i;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=i,e.height=i*t):(e.width=i*t,e.height=i);break}case"simple-line":e.width=i;break;case"text":e.font.size=i}}(e,t))}i(67760),i(99880),i(3172),new(i(13867).z)(1e3),new n.Z([128,128,128]),i(52879),new n.Z("white");var L,x=i(94139),Z=i(37898);const U=new Set(["esriMetersPerSecond","esriKilometersPerHour","esriKnots","esriFeetPerSecond","esriMilesPerHour"]),_=new s.X({beaufort_ft:"beaufort-ft",beaufort_km:"beaufort-km",beaufort_kn:"beaufort-kn",beaufort_m:"beaufort-m",beaufort_mi:"beaufort-mi",classified_arrow:"classified-arrow",ocean_current_kn:"ocean-current-kn",ocean_current_m:"ocean-current-m",simple_scalar:"simple-scalar",single_arrow:"single-arrow",wind_speed:"wind-barb"}),z=new s.X({flow_from:"flow-from",flow_to:"flow-to"});let B=L=class extends((0,M.W)(l.wq)){constructor(e){super(e),this.attributeField="Magnitude",this.flowRepresentation="flow-from",this.rotationType="arithmetic",this.style="single-arrow",this.symbolTileSize=50,this.type="vector-field"}readInputUnit(e,t){return U.has(e)?g.NL.fromJSON(e):null}readOutputUnit(e,t){return U.has(e)?g.NL.fromJSON(e):null}get styleRenderer(){const e=this.style,t=this.attributeField,i=this._createStyleRenderer(e);return i.field=t,i}get sizeVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"size"===t.type&&e.push(t);if(0===e.length){const t=new I.Z({field:"Magnitude",minSize:.2*this.symbolTileSize,maxSize:.8*this.symbolTileSize});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}get rotationVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"rotation"===t.type&&e.push(t);if(0===e.length){const t=new f.Z({field:"Direction",rotationType:this.rotationType});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}clone(){return new L({attributeField:this.attributeField,flowRepresentation:this.flowRepresentation,rotationType:this.rotationType,symbolTileSize:this.symbolTileSize,style:this.style,visualVariables:(0,u.d9)(this.visualVariables),inputUnit:this.inputUnit,outputUnit:this.outputUnit})}async getGraphicsFromPixelData(e,t=!1,i=[]){const r=new Array,n=(0,g.Yx)(this.inputUnit,this.outputUnit),o=this.rotationVariables[0]?.rotationType||this.rotationType,s=t?(0,g.KC)(e.pixelBlock,"vector-uv",o,n):(0,g.QI)(e.pixelBlock,"vector-magdir",n);if(null==s)return r;const l=e.extent,u=null!=s.mask&&s.mask.length>0;let c=0;const d=(l.xmax-l.xmin)/s.width,p=(l.ymax-l.ymin)/s.height;for(let e=0;e<s.height;e++)for(let t=0;t<s.width;t++,c++){let n=new x.Z({x:l.xmin+t*d+d/2,y:l.ymax-e*p-p/2,spatialReference:l.spatialReference});n=(await(0,y.aX)(n))[0];const o=i.some((e=>e.intersects(n)));if((!u||s.mask[c])&&!o){const e={Magnitude:s.pixels[0][c],Direction:s.pixels[1][c]},t=new a.Z({geometry:{type:"point",x:n.x,y:n.y,spatialReference:l.spatialReference},attributes:e});t.symbol=this._getVisualVariablesAppliedSymbol(t),r.push(t)}}return r}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getClassBreakInfos(){return this.styleRenderer?.classBreakInfos}getDefaultSymbol(){return this.styleRenderer?.defaultSymbol}_getDefaultSymbol(e){return new C.Z({path:"M14,32 14,18 9,23 16,3 22,23 17,18 17,32 z",outline:new v.Z({width:0}),size:20,color:e||new n.Z([0,92,230])})}_getVisualVariablesAppliedSymbol(e){if(!e)return;const t=this.styleRenderer?.getSymbol(e)?.clone(),i=this.sizeVariables,r=this.rotationVariables;if(i&&i.length&&this.sizeVariables.forEach((i=>N(t,(0,b.PR)([i],e)))),r&&r.length){const i="flow-to"===this.flowRepresentation==("ocean-current-kn"===this.style||"ocean-current-m"===this.style)?0:180;e.attributes.Direction=e.attributes.Direction+i,this.rotationVariables.forEach((i=>function(e,t,i){if(e&&null!=t)if((0,o.dU)(e)){const r=e.symbolLayers;r&&r.forEach((e=>{if(e&&"object"===e.type)switch(i){case"tilt":e.tilt=t;break;case"roll":e.roll=t;break;default:e.heading=t}}))}else(0,o.cT)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle=t))}(t,(0,b.cM)(i,e),i.axis)))}return t}_createStyleRenderer(e){let t={defaultSymbol:this._getDefaultSymbol(),classBreakInfos:[]};switch(e){case"single-arrow":t=this._createSingleArrowRenderer();break;case"beaufort-kn":t=this._createBeaufortKnotsRenderer();break;case"beaufort-m":t=this._createBeaufortMeterRenderer();break;case"beaufort-ft":t=this._createBeaufortFeetRenderer();break;case"beaufort-mi":t=this._createBeaufortMilesRenderer();break;case"beaufort-km":t=this._createBeaufortKilometersRenderer();break;case"ocean-current-m":t=this._createCurrentMeterRenderer();break;case"ocean-current-kn":t=this._createCurrentKnotsRenderer();break;case"simple-scalar":t=this._createSimpleScalarRenderer();break;case"wind-barb":t=this._createWindBarbsRenderer();break;case"classified-arrow":t=this._createClassifiedArrowRenderer()}return new h.Z(t)}_createSingleArrowRenderer(){return{defaultSymbol:this._getDefaultSymbol()}}_createBeaufortKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,1,3,6,10,16,21,27,33,40,47,55,63],[[40,146,199],[89,162,186],[129,179,171],[160,194,155],[191,212,138],[218,230,119],[250,250,100],[252,213,83],[252,179,102],[250,141,52],[247,110,42],[240,71,29]])}}_createBeaufortMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7],[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortFeetRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.28084*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortMilesRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>2.23694*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortKilometersRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.6*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createCurrentMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.5,1,1.5,2],[[78,26,153],[179,27,26],[202,128,26],[177,177,177]])}}_createCurrentKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.25,.5,1,1.5,2,2.5,3,3.5,4],[[0,0,0],[0,37,100],[78,26,153],[151,0,100],[179,27,26],[177,78,26],[202,128,26],[177,179,52],[177,177,177]])}}_createClassifiedArrowRenderer(){const e=this._getDefaultSymbol(new n.Z([56,168,0]));let t=[0,1e-6,3.5,7,10.5,14];if(this.sizeVariables?.length){const e=this.sizeVariables[0].minDataValue,i=this.sizeVariables[0].maxDataValue;if(e&&i){const r=(i-e)/5;t=Array.from(Array(6).keys()).map((t=>e+r*t))}}return{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[56,168,0],[139,309,0],[255,255,0],[255,128,0],[255,0,0]])}}_createSimpleScalarRenderer(){return{defaultSymbol:Z.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAQAAABLVLlLAAAABGdBTUEAAYagMeiWXwAAAAJiS0dEAACqjSMyAAAACXBIWXMAAABIAAAASABGyWs+AAAC3ElEQVRIx9XXvW4cVRQH8N982btpsIREJECyiCXsxX4DKh6AliqGKCBBE2SlwlHgAbBD/AKmyEYUeQ1KahPZSZQvBCkQLTHZ7KGY8Xodz4w3a1NwbzVzz/znfJ//zbStVC5q3icKak9GAs2QIdDx3PtW/S011NW3p+M5Eomh11ipTIKe6+4LQzHaQ+G+63pIZNJJQXMpljwTwj1brpgx5w1zZlyx5Z4QnllEIm2xeeSUHBf0hV0bejo1Uh09G3aFvgXk7cCJFBc9EdaRVuHJJaOdKyTV2TVhYLMduNR0Q9gxL5GaaTDw8GzejrDRBpxWoGsySRW0dttKuattwNkIlFw2YXgzOdYq4Ox49PlM+JrKd5OusjTWhBuVxUfMX/KXXZ3WEmkuqa67wspR4BTbwtKr/5u4fFgStse/T7EifFPnnYl9zPq4vmUOPrRndgoHjDti1gOPqlyXoifcRNGQzUd31lDyfHmob1Gp35vSr+P6vilcQ5Egtyd8YF/ySg9NhPM+9M/IOaHwp5+PSZayXTvCogEUwlatC3J8LLwYtcWB8EuDXQVuCkV5/B4eNHb7wGBs87LBDS+xjdVSn09wq1G8dFM+9tSUhIGneLvUdniKxKpTYljCpu3j7rVWlHj/P23v4NPGUEyeCQnexe9lJjzEQqMjJs+EzNAX6B98dBZVRmroJx95x/A/6gln18EyfCUsl+qdXb/tjvfbw+mwforpUOBz4XLVoBwAn3aWnfeH246NyBXhrq7TTN5lNSP9RkU+puUJm3W2Tsdq0nZWM07srk7MwQrZSRysjjGWBLRJNsNbfj2JMR4AbxpU1XLAb9Mxfpsq5EjMuuiR8L0JiHOOBX3hiUvOmavN0nMueSzcceFk0BK4pMqLo7vDD1Z0qrtDx7Itt4Xwm9UqbMmk8S0Dtuzb2pvOU99Z1nLTOfleNmvfZfP2pYZmPfajwosKdDBNpacNpVGGsWX9CyDI8Xq/Sj6QAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTExLTEwVDAzOjE3OjU4LTA1OjAwF+tHyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMS0xMFQwMzoxNzo1OC0wNTowMGa2/3UAAAAASUVORK5CYII=",height:20,width:20,type:"esriPMS",angle:0})}}_createWindBarbsRenderer(){const e=Array.from(Array(31).keys()).map((e=>5*e)),t=[{range:"0-5",path:"M20 20 M5 20 A15 15 0 1 0 35 20 A15 15 0 1 0 5 20 M20 20 M10 20 A10 10 0 1 0 30 20 A10 10 0 1 0 10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTIwIDIwIE01IDIwIEExNSAxNSAwIDEgMCAzNSAyMCBBMTUgMTUgMCAxIDAgNSAyMCBNMjAgMjAgTTEwIDIwIEExMCAxMCAwIDEgMCAzMCAyMCBBMTAgMTAgMCAxIDAgMTAgMjAiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"5-10",path:"M25 0 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"10-15",path:"M25 0 L25 40 L10 45 L25 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"15-20",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjEyIDAgMTUgNDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"20-25",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"25-30",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIEwyNSAzNSBNMjUgMzAgTDE3LjUgMzIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"30-35",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"35-40",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"40-45",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"45-50",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"50-55",path:"M25 0 L25 40 L10 40 L25 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"55-60",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxNy41IDMyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"60-65",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"65-70",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"70-75",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"75-80",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"80-85",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"85-90",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxNy41IDE3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"90-95",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"95-100",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20 L25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCBMMjUgMTUgTTI1IDEwIEwxNy41IDEyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"100-105",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"105-110",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDE3LjUgMjcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"110-115",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"115-120",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDE3LjUgMjIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"120-125",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"125-130",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDE3LjUgMTcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"130-135",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"135-140",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDE3LjUgMTIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"140-145",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"145-150",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IE0yNSAxMCBNMjUgNSBMMTcuNSA3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="}],i=Z.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAQAAADtq6NDAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAEY0lEQVRIx5XXWWxWRRQH8N+d+31tUdGAVjGglYJABFEBY91jfDAg7piYaFTccA++uMQEFRcSXlATtxiXqMQt4G4iisYl0ai4sIQYtVFZ1KIFKdTS0l4f7vRCS5fPebozc+bM/2z/Mzcx0AgSiUxXnKfIdMn875FIhX53U2n/B/s+kKM4UINTjTBZImixxnrv+9a2iL6zEoUBXcoudrWj/OtHm3wt02lfU9Qao9OnHvIhgmww84MEl1qnxfNmGrqHxAizLdPpC6chGcAxKGGcL+30gOERf1BSpUqVslQSV8d5ReZFe8VQ9avufJn31cWwlJV7iafKStGOE/1qvfH9qUxxu8ydUdmuSKbGO8YUdT2inKLG69pM70tliktl5qIkCAJGmusDG7Vqsc0WjZa4UBlBiA5YZIcjYzB7qDtH5kaUJFLs7RGZTZ42W4PRRmtwvbdt1+wGiaS4drEtDttdZYIDNVuAclR3vA3+dI3qHqmVSy7U6Tv1MScCPvPR7nIpFlsdCy3FdTLPGhK92e2CUITjMJ9ocwKxnsZqc3O3JwMma3d6UVLnyVxB4aXemZqvPqLdpJhW3KVVbY4yYImPo6M5Urv50fj+0z/FG9YaEiENs8UtMfXUaTeTePNHlhXfA1UU+2lyD1Il3Gtt9+adfpNG7dNlpg2U/T3KYLZ2dUWFdTgp3/rQ4sK973qnInV5TIf40x3dhvrJPBiqyWUo4wAtLqhQYS71qK+QKOFRywmGK/kpikzV6WMKhh58vGWs4TIJNjiEYLIuP8Tt4/zmLyqk+AyrJSbF+Qq1DgqRUPMxyl+9q3IQhX/rMCJ6tEunriDs1oSyQZKlr9AkhT2ZIARbJfaJS1vtVbHB+Rgi0RK/y1q1BWsEEyLoz40xtGKcARPVWB1BTPO7f4LNtpkUl1aoMbViLyZo0GRjPD3BxnxjqXeLYlvhqYrzMMG3HoyJXa3JjfnGlbYYFlP7Jh3qKsKY4hQ7TY0nG+xwRL61n63mxHtqNHosigyMLmClNwvuecFnOZB88nNBDzNkzhxEZaKMBVoKapggMzvHHXBEpNSSFAvtcFRsVn0bW8LlMmcXs+c0Kne3gRR32+zg4uXwjC6zit6Wt4a8LXVfcp/MtQXHn2ynGbuCmb8GvvFeJLEE82ReU9/n6+dkq2x3buG9Wn94smcgAw631RPR7BTH+kbmHReZoEpOdEe7zWqZl40s0JWs9Hmv7hjBHqPDwsjGKVJnWWqjbdZp1KhJi0aPmxYZsIRhlttgeF+Jlke41QcOQKoqilSb6HJzSvNG3G/UoWnxwsmt+sVaYwd63dRbqdnMyCPVeyRPvpYgdavM22oGKoMUVRbJfOWMwidJ8Zzb1UvmWK/VVUXzHaTjjrVYh1897HT7xxYEVUaa5SWb/WO+YUWa9SrwvigzM8YlzlYv2GSdVCYxxlBtVnnFq5olwp5/BEk/OLsf5LUmG2+inRJdVvjZ97ZH9/zP34ug1O91pf4p+D+JYBpvrKxfbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0xMS0xMFQwMzoxMjowOS0wNTowMB9ViV0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMTEtMTBUMDM6MTI6MDktMDU6MDBuCDHhAAAAAElFTkSuQmCC",height:20,width:20,type:"esriPMS",angle:0}),r=e.map(((r,n)=>{let a;if(n!==e.length-1)if(0===n)a={minValue:r,maxValue:e[n+1],symbol:i};else{const i=Z.Z.fromJSON({type:"esriPMS",imageData:t[n].imageData,contentType:"image/svg+xml",height:32,width:32,angle:0});a={minValue:r,maxValue:e[n+1],symbol:i}}return new w.Z(a)}));return{defaultSymbol:i,classBreakInfos:r}}_getClassBreaks(e,t){return t.map(((t,i)=>new w.Z({minValue:e[i],maxValue:e[i+1],symbol:this._getDefaultSymbol(new n.Z(t))})))}};(0,r._)([(0,c.Cb)({type:String,json:{write:!0}})],B.prototype,"attributeField",void 0),(0,r._)([(0,c.Cb)({type:z.apiValues,json:{type:z.jsonValues,read:{reader:z.read},write:{writer:z.write}}})],B.prototype,"flowRepresentation",void 0),(0,r._)([(0,c.Cb)({type:["geographic","arithmetic"],json:{write:!0}})],B.prototype,"rotationType",void 0),(0,r._)([(0,c.Cb)({type:_.apiValues,json:{type:_.jsonValues,read:{reader:_.read},write:{writer:_.write}}})],B.prototype,"style",void 0),(0,r._)([(0,c.Cb)({json:{write:!0}})],B.prototype,"symbolTileSize",void 0),(0,r._)([(0,c.Cb)({type:g.NL.apiValues,json:{type:g.NL.jsonValues,write:{writer:g.NL.write}}})],B.prototype,"inputUnit",void 0),(0,r._)([(0,p.r)("inputUnit")],B.prototype,"readInputUnit",null),(0,r._)([(0,c.Cb)({type:g.NL.apiValues,json:{type:g.NL.jsonValues,read:{reader:g.NL.read},write:{writer:g.NL.write}}})],B.prototype,"outputUnit",void 0),(0,r._)([(0,p.r)("outputUnit")],B.prototype,"readOutputUnit",null),(0,r._)([(0,d.J)({vectorField:"vector-field"})],B.prototype,"type",void 0),(0,r._)([(0,c.Cb)({type:h.Z})],B.prototype,"styleRenderer",null),(0,r._)([(0,c.Cb)({type:I.Z})],B.prototype,"sizeVariables",null),(0,r._)([(0,c.Cb)({type:f.Z})],B.prototype,"rotationVariables",null),B=L=(0,r._)([(0,m.j)("esri.renderers.VectorFieldRenderer")],B);const k=B},67058:(e,t,i)=>{i.d(t,{FI:()=>v,In:()=>b,Ob:()=>f,U0:()=>I,YD:()=>C,ol:()=>S});var r=i(22303),n=(i(30030),i(67900),i(1231)),a=i(25972),o=(i(24705),i(69237)),s=(i(32984),i(93010)),l=i(12163),u=i(44262),c=(i(10278),i(622),i(1515)),d=i(60849),p=i(81571),m=i(28092),y=(i(73622),i(16050),i(3943));const g=.25,h=c.Z.fromJSON({type:"multipart",colorRamps:[{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]}),M=c.Z.fromJSON(s.Ms[0]),w=new Set(["scientific","standard-time","vector-uv","vector-magdir","vector-u","vector-v","vector-magnitude","vector-direction"]);function f(e,t){const{attributeTable:i,colormap:n}=e;if((0,l.LV)(e)){const t=function(e){if(!(0,l.LV)(e))return null;let t;if(null!=e.statistics&&e.statistics.length&&("vector-magdir"===e.dataType||"vector-uv"===e.dataType)){const{minMagnitude:i,maxMagnitude:r}=function(e,t){let i,r;if("vector-magdir"===e)i=t[0].min,r=t[0].max;else{const e=t[0].min,n=t[0].max,a=t[1].min,o=t[1].max;i=0,r=Math.max(Math.abs(e),Math.abs(a),Math.abs(n),Math.abs(o))}return{minMagnitude:i,maxMagnitude:r}}(e.dataType,e.statistics);t=[{type:"size",field:"Magnitude",minSize:10,maxSize:40,minDataValue:i,maxDataValue:r}]}const i=null!=e.multidimensionalInfo?T.get(e.multidimensionalInfo.variables[0].unit):null,r=new y.Z({visualVariables:t,inputUnit:i,rotationType:"geographic"});return r.visualVariables=[...r.sizeVariables,...r.rotationVariables],r}(e);if(null!=t)return t}if(null!=n){const t=function(e){if(!(0,l.mO)(e))return null;let t;const{attributeTable:i,colormap:r}=e;if(null!=i){const e=D(i,"value"),r=A(i,null,!0);"string"===r.type&&(t={},i.features.forEach((i=>{const n=i.attributes;t[n[e.name]]=r?n[r.name]:n[e.name]})))}return m.Z.createFromColormap(r,t)}(e);if(null!=t)return t}if(null!=i){const t=function(e,t,i,n){if(!(0,l.MG)(e,t))return null;const{attributeTable:a,statistics:c}=e,d=A(a,t),m=D(a,"red"),y=D(a,"green"),g=D(a,"blue"),h=new o.Z,w=[],f=new Set,I=!!(m&&y&&g);if(null!=a)a.features.forEach((e=>{const t=e.attributes[d.name];if(!f.has(e.attributes[d.name])&&null!=t){f.add(t);const i=I&&("single"===m.type||"double"===m.type)&&("single"===y.type||"double"===y.type)&&("single"===g.type||"double"===g.type)&&!a.features.some((e=>e.attributes[m.name]>1||e.attributes[y.name]>1||e.attributes[g.name]>1)),n=i?255:1;w.push(new u.Z({value:e.attributes[d.name],label:e.attributes[d.name]+"",symbol:{type:"simple-fill",style:"solid",outline:null,color:new r.Z(I?[e.attributes[m.name]*n,e.attributes[y.name]*n,e.attributes[g.name]*n,1]:[0,0,0,0])}}))}}));else if(c?.[0])for(let e=c[0].min;e<=c[0].max;e++)w.push(new u.Z({value:e,label:e.toString(),symbol:{type:"simple-fill",style:"solid",outline:null,color:new r.Z([0,0,0,0])}}));if(w.sort(((e,t)=>e.value&&"string"==typeof e.value.valueOf()?0:e.value>t.value?1:-1)),!I){const e=(0,s.Jw)(M,{numColors:w.length});w.forEach(((t,i)=>t.symbol.color=new r.Z(e[i].slice(1,4)))),h.colorRamp=M}return new p.Z({field:d.name,uniqueValueInfos:w,authoringInfo:h})}(e);if(null!=t)return t}return function(e,t){e=v(e,t?.variableName);const{bandCount:i}=e;let{bandIds:r,stretchType:n}=t||{};r?.some((e=>e>=i))&&(r=null);let a=e.statistics,o=e.histograms;i>1?(r=r?.length?r:C(e),a=null==a?null:r?.map((e=>a[e])),o=null==o?null:r?.map((e=>o[e]))):r=[0],null==n&&(n=function(e){let t="percent-clip";const{pixelType:i,dataType:r,histograms:n,statistics:a,multidimensionalInfo:o}=e,s=w.has(r)||"generic"===r&&null!=o;return"u8"!==i||"processed"!==r&&null!=n&&null!=a?"u8"===i||"elevation"===r||s?t="min-max":null!=n?t="percent-clip":null!=a&&(t="min-max"):t="none",t}(e));let s=!1;switch(n){case"none":s=!1;break;case"percent-clip":s=!o?.length;break;default:s=!a?.length}const{dataType:l}=e,u=1===r?.length&&w.has(l)?h:null,c=new d.Z({stretchType:n,dynamicRangeAdjustment:s,colorRamp:u,outputMin:0,outputMax:255,gamma:1===r?.length?[1]:[1,1,1],useGamma:!1});return"percent-clip"===n?c.maxPercent=c.minPercent=g:"standard-deviation"===n&&(c.numberOfStandardDeviations=2),s||null==e.multidimensionalInfo&&!t?.includeStatisticsInStretch||("percent-clip"===n?c.histograms=o:"min-max"!==n&&"standard-deviation"!==n||(c.statistics=a)),c}(e,t)}function I(e,t=!1){const i=["raster-stretch"];return(0,l.mO)(e,t)&&i.push("raster-colormap"),(0,l.MG)(e)&&i.push("unique-value"),(0,l.fI)(e,t)&&i.push("class-breaks"),(0,l.jX)(e)&&i.push("raster-shaded-relief"),(0,l.LV)(e)&&i.push("vector-field"),(0,l.aG)(e)&&i.push("flow"),i}function b(e,t,i){const r=["nearest","bilinear","cubic","majority"].find((e=>e===i?.toLowerCase()));return"Map"===t?r??"bilinear":"standard-time"===e.dataType?r??"nearest":"thematic"===e.dataType||e.attributeTable||e.colormap?"nearest"===r||"majority"===r?r:"nearest":r??"bilinear"}function v(e,t){if(!t)return e;let i=e.statistics,r=e.histograms;const{multidimensionalInfo:n}=e;if(t&&null!=n){const e=n.variables.find((e=>e.name===t));if(e){const{statistics:t,histograms:n}=e;t?.length&&(i=t),n?.length&&(r=n)}}return a.Z.fromJSON({...e.toJSON(),statistics:i,histograms:r})}function C(e){const t=e.bandCount;if(1===t)return null;if(2===t)return[0];const{bandInfos:i}=e;let r;if(i.length===t){const{red:e,green:t,blue:n,nir:a}=function(e){const t={};for(let i=0;i<e.length;i++){const r=e[i],n=r.name.toLowerCase();if("red"===n)t.red=i;else if("green"===n)t.green=i;else if("blue"===n)t.blue=i;else if("nearinfrared"===n||"nearinfrared_1"===n||"nir"===n)t.nir=i;else if(r.maxWavelength&&r.minWavelength){const e=r.minWavelength,n=r.maxWavelength;null==t.blue&&e>=410&&e<=480&&n>=480&&n<=540?t.blue=i:null==t.green&&e>=490&&e<=560&&n>=560&&n<=610?t.green=i:null==t.red&&e>=595&&e<=670&&n>=660&&n<=730?t.red=i:null==t.nir&&e>=700&&e<=860&&n>=800&&n<=950&&(t.nir=i)}}return t}(i);null!=e&&null!=t&&null!=n?r=[e,t,n]:null!=a&&null!=e&&null!=t&&(r=[a,e,t])}return!r&&t>=3&&(r=[0,1,2]),r}function A(e,t,i){let r;return null!=e?(r=t?e.fields.find((e=>t.toLowerCase()===e.name.toLowerCase())):function(e){let t;for(let i=0;i<e.length;i++){const r=e[i].name.toLowerCase();if("string"===e[i].type){if(r.startsWith("class")){t=e[i];break}null==t&&(r.endsWith("name")||r.endsWith("type"))&&(t=e[i])}}return t}(e.fields),r||(i||(r=e.fields.find((e=>"string"===e.type))),r||(r=D(e,"value")))):r=new n.Z({name:"value"}),r}function D(e,t){return null==e?null:e.fields.find((e=>e.name.toLowerCase()===t))}const T=new Map([["m/s","meter-per-second"],["km/h","kilometer-per-hour"],["knots","knots"],["ft/s","feet-per-second"],["mph","mile-per-hour"]]);function j(e){return{color:e.symbolLayers[0].material?.color,type:"esriSFS",style:"esriSFSSolid"}}function S(e){if("uniqueValue"===e.type){const t=e.uniqueValueInfos,i=t?.[0].symbol;return i?.symbolLayers?.length&&(e.uniqueValueInfos=t?.map((e=>({value:e.value,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}if("classBreaks"===e.type){const t=e.classBreakInfos,i=t[0].symbol;return i?.symbolLayers?.length&&(e.classBreakInfos=t.map((e=>({classMinValue:e.classMinValue,classMaxValue:e.classMaxValue,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}return e}},51706:(e,t,i)=>{var r,n;function a(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?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function l(e,t){const i=t||s(e),a=e.valueUnit||"unknown";return i===r.Unknown?n.Constant:e.stops?n.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?n.ClampedLinear:"unknown"===a?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?n.Proportional:n.Additive:n.Identity:n.RealWorldSize}i.d(t,{PS:()=>s,QW:()=>l,RY:()=>r,hL:()=>n,iY:()=>a,qh:()=>o}),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"}(n||(n={}))},26059:(e,t,i)=>{i.d(t,{N:()=>p,g:()=>d});var r=i(3172),n=i(6570),a=i(94139),o=i(82971),s=i(25972),l=i(11282),u=i(74889);async function c(e,t,i){const c=(0,l.en)(e),{rasterFunction:d,sourceJSON:p}=t||{},m=d?JSON.stringify(d.rasterFunctionDefinition||d):null,y=(0,l.cv)({...c.query,renderingRule:m,f:"json"}),g=(0,l.lA)(y,i);e=c.path;const h=p||await(0,r.default)(e,g).then((e=>e.data)),M=h.hasRasterAttributeTable?(0,r.default)(`${e}/rasterAttributeTable`,g):null,w=h.hasColormap?(0,r.default)(`${e}/colormap`,g):null,f=h.hasHistograms?(0,r.default)(`${e}/histograms`,g):null,I=h.currentVersion>=10.3?(0,r.default)(`${e}/keyProperties`,g):null,b=h.hasMultidimensions?(0,r.default)(`${e}/multidimensionalInfo`,g):null,v=await Promise.allSettled([M,w,f,I,b]);let C=null;if(h.minValues&&h.minValues.length===h.bandCount){C=[];for(let e=0;e<h.minValues.length;e++)C.push({min:h.minValues[e],max:h.maxValues[e],avg:h.meanValues[e],stddev:h.stdvValues[e]})}const A=n.Z.fromJSON(h.extent),D=Math.ceil(A.width/h.pixelSizeX-.1),T=Math.ceil(A.height/h.pixelSizeY-.1),j=o.Z.fromJSON(h.spatialReference||h.extent.spatialReference),S="fulfilled"===v[0].status&&v[0].value?u.Z.fromJSON(v[0].value.data):null,N="fulfilled"===v[1].status?v[1].value?.data.colormap:null,L="fulfilled"===v[2].status?v[2].value?.data.histograms:null,x="fulfilled"===v[3].status?v[3].value?.data??{}:{},Z="fulfilled"===v[4].status?v[4].value?.data.multidimensionalInfo:null;Z?.variables?.length&&Z.variables.forEach((e=>{e.statistics?.length&&e.statistics.forEach((e=>{e.avg=e.mean,e.stddev=e.standardDeviation}))}));const{defaultVariable:U,serviceDataType:_}=h;U&&U!==x.DefaultVariable&&(x.DefaultVariable=U),_&&_.includes("esriImageServiceDataTypeVector")&&!_.includes(x.DataType)&&(x.DataType=_.replace("esriImageServiceDataType",""));let z=h.noDataValue;return h.noDataValues?.length&&h.noDataValues.some((e=>e!==z))&&(z=h.noDataValues),new s.Z({width:D,height:T,bandCount:h.bandCount,extent:n.Z.fromJSON(h.extent),spatialReference:j,pixelSize:new a.Z({x:h.pixelSizeX,y:h.pixelSizeY,spatialReference:j}),pixelType:h.pixelType.toLowerCase(),statistics:C,attributeTable:S,colormap:N,histograms:L,keyProperties:x,noDataValue:z,multidimensionalInfo:Z})}function d(e,t,i){return c(e,{sourceJSON:t},i)}function p(e,t,i){return c(e,{rasterFunction:t},i)}},74889:(e,t,i)=>{i.d(t,{Z:()=>f});var r,n=i(43697),a=i(66577),o=i(38171),s=i(35454),l=i(96674),u=i(22974),c=i(5600),d=(i(75215),i(71715)),p=i(52011),m=i(30556),y=i(82971),g=i(33955),h=i(1231);const M=new s.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends l.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 i=y.Z.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const n=e[t],a=o.Z.fromJSON(n),s=n.geometry&&n.geometry.spatialReference;null==a.geometry||s||(a.geometry.spatialReference=i);const l=n.aggregateGeometries,u=a.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}r.push(a)}return r}writeGeometryType(e,t,i,r){if(e)return void M.write(e,t,i,r);const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry)return void M.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,g.im)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=y.Z.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,u.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 i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e&&e[i];r.geometry=t&&t.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,n]}=e,a=this.features,o=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((n-e)/i)));for(let e=0,t=a.length;e<t;e++)o?.(a[e].geometry)||(a.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,n],scale:[a,o]}=i;let s=null,l=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;s=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;l=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,(e=>e*a+r),(e=>n-e*o),s,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}_quantizePoints(e,t,i){let r,n;const a=[];for(let o=0,s=e.length;o<s;o++){const s=e[o];if(o>0){const e=t(s[0]),o=i(s[1]);e===r&&o===n||(a.push([e-r,o-n]),r=e,n=o)}else r=t(s[0]),n=i(s[1]),a.push([r,n])}return a.length>0?a:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,g.oU)(e)?e.rings:e.paths,n=[];for(let e=0,a=r.length;e<a;e++){const a=r[e],o=this._quantizePoints(a,t,i);o&&n.push(o)}return n.length>0?((0,g.oU)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,n){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const a=(0,g.oU)(e)?e.rings:e.paths;let o,s;for(let e=0,r=a.length;e<r;e++){const r=a[e];for(let e=0,n=r.length;e<n;e++){const n=r[e];e>0?(o+=n[0],s+=n[1]):(o=n[0],s=n[1]),n[0]=t(o),n[1]=i(s)}}if(r&&n)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=n(i[3])}}else if(r)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(n)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const a=e.points;let o,s;for(let e=0,r=a.length;e<r;e++){const r=a[e];e>0?(o+=r[0],s+=r[1]):(o=r[0],s=r[1]),r[0]=t(o),r[1]=i(s)}if(r&&n)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=r(t[2]),t[3]=n(t[3])}else if(r)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=r(t[2])}else if(n)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=n(t[2])}}:null}};(0,n._)([(0,c.Cb)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,n._)([(0,c.Cb)({type:[o.Z],json:{write:!0}})],w.prototype,"features",void 0),(0,n._)([(0,d.r)("features")],w.prototype,"readFeatures",null),(0,n._)([(0,c.Cb)({type:[h.Z],json:{write:!0}})],w.prototype,"fields",void 0),(0,n._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:M.read}}})],w.prototype,"geometryType",void 0),(0,n._)([(0,m.c)("geometryType")],w.prototype,"writeGeometryType",null),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,n._)([(0,c.Cb)({types:a.qM,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,n._)([(0,d.r)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,n._)([(0,c.Cb)({type:y.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,n._)([(0,m.c)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,n._)([(0,c.Cb)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,n._)([(0,p.j)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const f=w},79681:(e,t,i)=>{i.d(t,{Z:()=>f});var r,n=i(43697),a=i(66577),o=i(92835),s=i(60235),l=i(96674),u=i(22974),c=i(92604),d=i(5600),p=(i(75215),i(52011)),m=i(30556),y=i(33955),g=i(98974),h=i(45663),M=i(94139);let w=r=class extends l.wq{constructor(){super(...arguments),this.geometry=null,this.mosaicRule=null,this.rasterFunction=null,this.pixelSize=null,this.raster=void 0,this.timeExtent=null}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,y.Ji)(e),t[i]=e.toJSON())}get renderingRule(){return(0,s.Mr)(c.Z.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0}),this._get("rasterFunction")}set renderingRule(e){(0,s.Mr)(c.Z.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0}),this._set("rasterFunction",e)}clone(){return new r((0,u.d9)({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,pixelSize:this.pixelSize,raster:this.raster,timeExtent:this.timeExtent}))}};(0,n._)([(0,d.Cb)({types:a.qM,json:{read:y.im}})],w.prototype,"geometry",void 0),(0,n._)([(0,m.c)("geometry")],w.prototype,"writeGeometry",null),(0,n._)([(0,d.Cb)({type:g.Z,json:{write:!0}})],w.prototype,"mosaicRule",void 0),(0,n._)([(0,d.Cb)({type:h.Z})],w.prototype,"renderingRule",null),(0,n._)([(0,d.Cb)({type:h.Z,json:{write:!0,name:"renderingRule"}})],w.prototype,"rasterFunction",void 0),(0,n._)([(0,d.Cb)({type:M.Z,json:{write:!0}})],w.prototype,"pixelSize",void 0),(0,n._)([(0,d.Cb)({json:{write:!0}})],w.prototype,"raster",void 0),(0,n._)([(0,d.Cb)({type:o.Z,json:{read:{source:"time"},write:{target:"time"}}})],w.prototype,"timeExtent",void 0),w=r=(0,n._)([(0,p.j)("esri.rest.support.ImageHistogramParameters")],w);const f=w},32163:(e,t,i)=>{i.d(t,{eZ:()=>u});var r=i(51773),n=i(35671),a=i(84649),o=(i(63801),i(48074),i(38745),i(9190)),s=(i(10214),i(71423),i(44951),i(422)),l=i(29986);function u({displayField:e,editFieldsInfo:t,fields:i,objectIdField:l,title:u},m){if(!i)return null;const g=function(e,t){const i=t?.visibleFieldNames;return function(e,t){const i=e;return t&&(e=e.filter((e=>!t.includes(e.type)))),e===i&&(e=e.slice()),e.sort(d),e}(e.fields??[],t?.ignoreFieldTypes||y).map((t=>new s.Z({fieldName:t.name,isEditable:(0,n.Hp)(t,e),label:t.alias,format:p(t),visible:c(t,{...e,visibleFieldNames:i})})))}({editFieldsInfo:t,fields:i,objectIdField:l},m);if(!g.length)return null;const h=function(e){const t=(0,n.O5)(e),{titleBase:i}=e;return t?`${i}: {${t.trim()}}`:i??""}({titleBase:u,fields:i,displayField:e}),M=[new o.Z,new a.Z];return new r.Z({title:h,content:M,fieldInfos:g})}const c=(e,t)=>t.visibleFieldNames?t.visibleFieldNames.has(e.name):(0,n.Fv)(e,t);function d(e,t){return"oid"===e.type?-1:"oid"===t.type?1:m(e)?-1:m(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function p(e){switch(e.type){case"small-integer":case"integer":case"single":return new l.Z({digitSeparator:!0,places:0});case"double":return new l.Z({digitSeparator:!0,places:2});case"date":return new l.Z({dateFormat:"long-month-day-year"});default:return"string"===e.type&&(0,n.Ec)(e.name)?new l.Z({digitSeparator:!0,places:0}):null}}function m(e){return"name"===(e.name&&e.name.toLowerCase())||"name"===(e.alias&&e.alias.toLowerCase())}const y=["geometry","blob","raster","guid","xml"]}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6885],{84552:(e,t,i)=>{i.d(t,{Z:()=>p});var r=i(43697),n=i(2368),a=i(96674),o=i(35463),s=i(5600),l=(i(75215),i(67676),i(80442),i(36030)),u=i(52011),c=i(78981);let d=class extends((0,n.J)(a.wq)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.rJ)(this.value,this.unit,"milliseconds")}};(0,r._)([(0,l.J)(c.v,{nonNullable:!0})],d.prototype,"unit",void 0),(0,r._)([(0,s.Cb)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,r._)([(0,u.j)("esri.TimeInterval")],d);const p=d},17287:(e,t,i)=>{i.d(t,{Y:()=>l});var r=i(43697),n=i(92604),a=i(5600),o=(i(75215),i(67676),i(80442),i(52011)),s=i(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,s.Qc)(this.url);if(null!=e&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,s.Nm)(e,n.Z.getLogger(this)))}};return(0,r._)([(0,a.Cb)()],t.prototype,"title",null),(0,r._)([(0,a.Cb)({type:String})],t.prototype,"url",null),t=(0,r._)([(0,o.j)("esri.layers.mixins.ArcGISService")],t),t}},17017:(e,t,i)=>{i.d(t,{N:()=>o});var r=i(43697),n=i(5600),a=(i(75215),i(67676),i(80442),i(52011));const o=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,r._)([(0,n.Cb)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,r._)([(0,a.j)("esri.layers.mixins.CustomParametersMixin")],t),t}},16859:(e,t,i)=>{i.d(t,{I:()=>v});var r=i(43697),n=i(68773),a=i(40330),o=i(3172),s=i(66643),l=i(20102),u=i(92604),c=i(70586),d=i(95330),p=i(81271),m=i(5600),y=(i(75215),i(67676),i(80442),i(71715)),g=i(52011),h=i(30556),M=i(84230),w=i(48522),f=i(15235),I=i(86082),b=i(14661);const v=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new f.default({id:t.itemId,portal:i&&i.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const{load:r}=await i.e(8062).then(i.bind(i,18062));return(0,d.k_)(t),await r({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap},t)}catch(e){throw(0,d.D_)(e)||u.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,d.r9)(e),!0))))}async _setUserPrivileges(e,t){if(!n.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:i,fullEdit:r},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,d.r9)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=e===i.id;if(r&&i.portal.user)return(0,b.Ss)(i);let n,o;if(r)n=i.portal.url;else try{n=await(0,M.oP)(this.url,t)}catch(e){(0,d.r9)(e)}if(!n||!(0,p.Zo)(n,i.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(a.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.r9)(e)}if(!o)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(r?await i.reload():(i=new f.default({id:e,portal:{url:n}}),await i.load(t)),i.portal.user)return(0,b.Ss)(i)}catch(e){(0,d.r9)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.r9)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?a.id?.findCredential(this.url):null;if(!t)return!0;const i=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.user=i,null==i||null==i.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=a.id.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const r=`${i.owningSystemUrl}/sharing/rest`,n=w.Z.getDefault();if(n&&n.loaded&&(0,p.Fv)(n.restUrl)===(0,p.Fv)(r))return n.user;const l=`${r}/community/self`,u=null!=e?e.signal:null,c=await(0,s.q6)((0,o.default)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?I.default.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t&&t.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||w.Z.getDefault());return i&&r&&!(0,p.tm)(r.restUrl,i.restUrl)?(t.messages&&t.messages.push(new l.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r._)([(0,m.Cb)({type:f.default})],t.prototype,"portalItem",null),(0,r._)([(0,y.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,r._)([(0,h.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,r._)([(0,m.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,r._)([(0,m.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,r._)([(0,g.j)("esri.layers.mixins.PortalLayer")],t),t},C={credential:null,user:null}},34760:(e,t,i)=>{i.d(t,{Q:()=>M});var r=i(43697),n=i(92604),a=i(95330),o=i(5600),s=(i(75215),i(67676),i(80442),i(52011)),l=i(46791),u=(i(20102),i(26258),i(87538));const c=new l.Z,d=new WeakMap;function p(e){return null!=e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e}function m(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:m(t,e%t):0}let y=0,g=0;function h(){const e=Date.now();for(const t of c)t.refreshInterval&&e-(d.get(t)??0)+5>=6e4*t.refreshInterval&&(d.set(t,e),t.refresh(e))}(0,u.EH)((()=>{const e=Date.now();let t=0;for(const i of c)t=m(Math.round(6e4*i.refreshInterval),t),i.refreshInterval?d.get(i)||d.set(i,e):d.delete(i);if(t!==g){if(g=t,clearInterval(y),0===g)return void(y=0);y=setInterval(h,g)}}));const M=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,a.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{this.destroyed||function(e){p(e)&&c.push(e)}(this)}),(()=>{}))}destroy(){var e;p(e=this)&&c.includes(e)&&c.remove(e)}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,a.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{n.Z.getLogger(this).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}};return(0,r._)([(0,o.Cb)({type:Number,cast:e=>e>=.1?e:e<=0?0:.1,json:{write:!0}})],t.prototype,"refreshInterval",void 0),(0,r._)([(0,o.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,r._)([(0,o.Cb)()],t.prototype,"refreshParameters",null),t=(0,r._)([(0,s.j)("esri.layers.mixins.RefreshableLayer")],t),t}},28294:(e,t,i)=>{i.d(t,{n:()=>p});var r=i(43697),n=i(92835),a=i(84552),o=i(5600),s=(i(75215),i(67676),i(80442),i(71715)),l=i(52011),u=i(35671),c=i(76259),d=i(78981);const p=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const r=i.timeOffset,n=d.v.fromJSON(i.timeOffsetUnits);return r&&n?new a.Z({value:r,unit:n}):null}set timeInfo(e){(0,u.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r._)([(0,o.Cb)({type:n.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,r._)([(0,o.Cb)({type:a.Z})],t.prototype,"timeOffset",void 0),(0,r._)([(0,s.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,r._)([(0,o.Cb)({value:null,type:c.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,r._)([(0,o.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,r._)([(0,l.j)("esri.layers.mixins.TemporalLayer")],t),t}},35956:(e,t,i)=>{i.d(t,{Z:()=>d});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=i(75215),u=i(52011);let c=r=class extends a.wq{constructor(e){super(e),this.variableName=null,this.dimensionName=null,this.values=[],this.isSlice=!1}clone(){return new r({variableName:this.variableName,dimensionName:this.dimensionName,values:(0,o.d9)(this.values),isSlice:this.isSlice})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"variableName",void 0),(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"dimensionName",void 0),(0,n._)([(0,s.Cb)({type:l.V5.array(l.V5.oneOf([l.V5.native(Number),l.V5.array(l.V5.native(Number))])),json:{write:!0}})],c.prototype,"values",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"isSlice",void 0),c=r=(0,n._)([(0,u.j)("esri.layers.support.DimensionalDefinition")],c);const d=c},98974:(e,t,i)=>{i.d(t,{Z:()=>v});var r,n=i(43697),a=i(60235),o=i(35454),s=i(96674),l=i(22974),u=i(92604),c=i(5600),d=i(90578),p=i(71715),m=i(52011),y=i(30556),g=i(75215),h=i(94139),M=i(35956),w=i(45663);const f=(0,o.w)()({MT_FIRST:"first",MT_LAST:"last",MT_MIN:"min",MT_MAX:"max",MT_MEAN:"mean",MT_BLEND:"blend",MT_SUM:"sum"}),I=(0,o.w)()({esriMosaicNone:"none",esriMosaicCenter:"center",esriMosaicNadir:"nadir",esriMosaicViewpoint:"viewpoint",esriMosaicAttribute:"attribute",esriMosaicLockRaster:"lock-raster",esriMosaicNorthwest:"northwest",esriMosaicSeamline:"seamline"});let b=r=class extends s.wq{constructor(e){super(e),this.ascending=!0,this.itemRasterFunction=null,this.lockRasterIds=null,this.method=null,this.multidimensionalDefinition=null,this.objectIds=null,this.operation=null,this.sortField=null,this.sortValue=null,this.viewpoint=null,this.where=null}readAscending(e,t){return null!=t.ascending?t.ascending:null==t.sortAscending||t.sortAscending}get itemRenderingRule(){return(0,a.Mr)(u.Z.getLogger(this),"itemRenderingRule",{replacement:"itemRasterFunction",version:"4.27",warnOnce:!0}),this._get("itemRasterFunction")}set itemRenderingRule(e){(0,a.Mr)(u.Z.getLogger(this),"itemRenderingRule",{replacement:"itemRasterFunction",version:"4.27",warnOnce:!0}),this._set("itemRasterFunction",e)}readMethod(e,t){return function(e){let t;switch(e?e.toLowerCase().replace("esrimosaic",""):""){case"byattribute":case"attribute":t="esriMosaicAttribute";break;case"lockraster":t="esriMosaicLockRaster";break;case"center":t="esriMosaicCenter";break;case"northwest":t="esriMosaicNorthwest";break;case"nadir":t="esriMosaicNadir";break;case"viewpoint":t="esriMosaicViewpoint";break;case"seamline":t="esriMosaicSeamline";break;default:t="esriMosaicNone"}return I.fromJSON(t)}(t.mosaicMethod||t.defaultMosaicMethod)}writeMultidimensionalDefinition(e,t,i){null!=e&&(e=e.filter((({variableName:e,dimensionName:t})=>e&&"*"!==e||t))).length&&(t[i]=e.map((e=>e.toJSON())))}readOperation(e,t){const i=t.mosaicOperation,r=t.mosaicOperator&&t.mosaicOperator.toLowerCase(),n=i||(r?f.toJSON(r):null);return f.fromJSON(n)||"first"}castSortValue(e){return null==e||"string"==typeof e||"number"==typeof e?e:`${e}`}clone(){return new r({ascending:this.ascending,itemRasterFunction:(0,l.d9)(this.itemRasterFunction),lockRasterIds:(0,l.d9)(this.lockRasterIds),method:this.method,multidimensionalDefinition:(0,l.d9)(this.multidimensionalDefinition),objectIds:(0,l.d9)(this.objectIds),operation:this.operation,sortField:this.sortField,sortValue:this.sortValue,viewpoint:(0,l.d9)(this.viewpoint),where:this.where})}};(0,n._)([(0,c.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"ascending",void 0),(0,n._)([(0,p.r)("ascending",["ascending","sortAscending"])],b.prototype,"readAscending",null),(0,n._)([(0,c.Cb)({type:w.Z,json:{name:"itemRenderingRule",write:!0}})],b.prototype,"itemRasterFunction",void 0),(0,n._)([(0,c.Cb)({type:w.Z})],b.prototype,"itemRenderingRule",null),(0,n._)([(0,c.Cb)({type:[g.z8],json:{write:{overridePolicy(){return{enabled:"lock-raster"===this.method}}}}})],b.prototype,"lockRasterIds",void 0),(0,n._)([(0,c.Cb)({type:String,json:{type:I.jsonValues,write:{target:"mosaicMethod",writer:I.write}}})],b.prototype,"method",void 0),(0,n._)([(0,p.r)("method",["mosaicMethod","defaultMosaicMethod"])],b.prototype,"readMethod",null),(0,n._)([(0,c.Cb)({type:[M.Z],json:{write:!0}})],b.prototype,"multidimensionalDefinition",void 0),(0,n._)([(0,y.c)("multidimensionalDefinition")],b.prototype,"writeMultidimensionalDefinition",null),(0,n._)([(0,c.Cb)({type:[g.z8],json:{name:"fids",write:!0}})],b.prototype,"objectIds",void 0),(0,n._)([(0,c.Cb)({json:{type:f.jsonValues,read:{reader:f.read},write:{target:"mosaicOperation",writer:f.write}}})],b.prototype,"operation",void 0),(0,n._)([(0,p.r)("operation",["mosaicOperation","mosaicOperator"])],b.prototype,"readOperation",null),(0,n._)([(0,c.Cb)({type:String,json:{write:{overridePolicy(){return{enabled:"attribute"===this.method}}}}})],b.prototype,"sortField",void 0),(0,n._)([(0,c.Cb)({type:[String,Number],json:{write:{allowNull:!0,overridePolicy(){return{enabled:"attribute"===this.method,allowNull:!0}}}}})],b.prototype,"sortValue",void 0),(0,n._)([(0,d.p)("sortValue")],b.prototype,"castSortValue",null),(0,n._)([(0,c.Cb)({type:h.Z,json:{write:!0}})],b.prototype,"viewpoint",void 0),(0,n._)([(0,c.Cb)({type:String,json:{write:!0}})],b.prototype,"where",void 0),b=r=(0,n._)([(0,m.j)("esri.layers.support.MosaicRule")],b);const v=b},29876:(e,t,i)=>{i.d(t,{Z:()=>y});var r,n=i(43697),a=(i(66577),i(96674)),o=i(5600),s=(i(75215),i(67676),i(80442),i(52011)),l=i(6570),u=i(38913),c=i(33955),d=i(35956);const p={base:i(9361).Z,key:"type",typeMap:{extent:l.Z,polygon:u.Z}};let m=r=class extends a.wq{constructor(e){super(e),this.areaOfInterest=null,this.subsetDefinitions=null}get dimensions(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Map;e.forEach((e=>{if(!e.dimensionName)return;let i,r;if(Array.isArray(e.values[0])){const t=e.values;i=t[0][0],r=t[e.values.length-1][1]}else{const t=e.values;i=t[0],r=t[e.values.length-1]}if(t.has(e.dimensionName)){const n=t.get(e.dimensionName);n[0]=Math.min(i,n[0]),n[1]=Math.max(r,n[1])}else t.set(e.dimensionName,[i,r])}));const i=[];for(const e of t)i.push({name:e[0],extent:e[1]});return i}get variables(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Set;return e.forEach((e=>{e.variableName&&t.add(e.variableName)})),[...t]}clone(){const e=this.subsetDefinitions?.map((e=>e.clone())),t=this.areaOfInterest?this.areaOfInterest.clone():this.areaOfInterest;return new r({areaOfInterest:t,subsetDefinitions:e})}};(0,n._)([(0,o.Cb)({types:p,json:{read:c.im,write:!0}})],m.prototype,"areaOfInterest",void 0),(0,n._)([(0,o.Cb)({readOnly:!0})],m.prototype,"dimensions",null),(0,n._)([(0,o.Cb)({readOnly:!0})],m.prototype,"variables",null),(0,n._)([(0,o.Cb)({type:[d.Z],json:{write:!0}})],m.prototype,"subsetDefinitions",void 0),m=r=(0,n._)([(0,s.j)("esri.layers.support.MultidimensionalSubset")],m);const y=m},45663:(e,t,i)=>{i.d(t,{Z:()=>x});var r=i(43697),n=i(96674),a=i(22974),o=i(5600),s=i(75215),l=i(36030),u=i(71715),c=i(52011),d=i(30556),p=i(35454),m=(i(67676),i(80442),i(69608));let y=class extends n.wq{constructor(){super(...arguments),this.pixelType="unknown"}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"description",void 0),(0,r._)([(0,o.Cb)({type:s.z8,json:{type:s.z8,write:!0,name:"_object_id"}})],y.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{type:m.sM.jsonValues,read:m.sM.read,write:m.sM.write}})],y.prototype,"pixelType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],y.prototype,"type",void 0),y=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionInfo")],y);const g=y;let h=class extends n.wq{constructor(){super(...arguments),this.isDataset=!1,this.isPublic=!1,this.type="RasterFunctionVariable"}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],h.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"isDataset",void 0),(0,r._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"isPublic",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],h.prototype,"value",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"type",void 0),h=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionVariable")],h);const M={key:"type",base:null,typeMap:{RasterFunctionVariable:h}};let w=class extends n.wq{};(0,r._)([(0,o.Cb)({types:M,json:{types:M,name:"MatchVariable"}})],w.prototype,"matchVariable",void 0),(0,r._)([(0,o.Cb)({types:M,json:{types:M,name:"UnionDimension"}})],w.prototype,"unionDimension",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],w.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],w.prototype,"type",void 0),w=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionProperties")],w);const f=w,I=new p.X({0:"mosaic",1:"item",2:"item-group"},{useNumericKeys:!0});let b=class extends n.wq{constructor(){super(...arguments),this.functionType="mosaic",this.type="RasterFunctionTemplate"}};(0,r._)([(0,o.Cb)({type:[String],json:{write:!0}})],b.prototype,"aliases",void 0),(0,r._)([(0,o.Cb)({type:Object,json:{write:!0}})],b.prototype,"arguments",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"description",void 0),(0,r._)([(0,o.Cb)({type:g,json:{write:!0,name:"function"}})],b.prototype,"functionInfo",void 0),(0,r._)([(0,o.Cb)({type:I.apiValues,json:{type:[0,1,2],read:I.read,write:I.write}})],b.prototype,"functionType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"group",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"help",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{type:s.z8,write:!0,name:"_object_id"}})],b.prototype,"id",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0,name:"definition"}})],b.prototype,"queryDefinition",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"tag",void 0),(0,r._)([(0,o.Cb)({type:f,json:{write:!0}})],b.prototype,"properties",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"thumbnail",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],b.prototype,"thumbnailEx",void 0),(0,r._)([(0,o.Cb)({json:{type:["RasterFunctionTemplate"],write:!0}})],b.prototype,"type",void 0),b=(0,r._)([(0,c.j)("esri.layers.support.RasterFunctionTemplate")],b);const v=b;var C;const A=new Set(["raster","raster2","dem","fillraster"]),D=new Set(["rasters"]),T=e=>e&&e.rasterFunction?Z.fromJSON(e):e,j=e=>e&&e instanceof Z?e.toJSON():e,N=e=>e?.functionName&&!e.declaredClass,S=e=>N(e)?new Z(e):e,L={types:{key:"type",base:null,typeMap:{RasterFunctionTemplate:v}},json:{write:!0,name:"rasterFunctionDefinition"}};let Z=C=class extends n.wq{constructor(e){super(e),this.functionName=null,this.outputPixelType="unknown",this.variableName=null,this.functionDefinition=null}set functionArguments(e){if(e){const t=Object.keys(e);if(t.some((t=>A.has(t.toLowerCase())&&N(e[t])))||t.some((t=>D.has(t.toLowerCase())&&Array.isArray(e[t])&&e[t].some((e=>N(e)))))){e=(0,a.d9)(e);for(const i of t)A.has(i.toLowerCase())?e[i]=S(e[i]):D.has(i.toLowerCase())&&Array.isArray(e[i])&&(e[i]=e[i].map((e=>S(e))))}}this._set("functionArguments",e)}readFunctionArguments(e){return(e=>{if(null==e)return null;e=(0,a.d9)(e);const t={};for(const i of Object.keys(e))A.has(i.toLowerCase())?t[i]=T(e[i]):D.has(i.toLowerCase())&&Array.isArray(e[i])?t[i]=e[i].map(T):t[i]=e[i];return t})(e)}writeFunctionArguments(e,t,i){const r={};for(const t of Object.keys(e))A.has(t.toLowerCase())?r[t]=j(e[t]):D.has(t.toLowerCase())&&Array.isArray(e[t])?r[t]=e[t].map(j):r[t]=j(e[t]);t[i]=r}readFunctionName(e,t){const i=t.rasterFunctionInfos;return t.name||(i&&i.length&&"None"!==i[0].name?i[0].name:t.rasterFunctionDefinition?t.rasterFunctionDefinition.name:t.rasterFunction)}get rasterFunctionDefinition(){return this.functionDefinition?.toJSON()}set rasterFunctionDefinition(e){this.functionDefinition=e?v.fromJSON(e):null}clone(){return new C({functionName:this.functionName,functionArguments:(0,a.d9)(this.functionArguments),outputPixelType:this.outputPixelType,variableName:this.variableName,rasterFunctionDefinition:(0,a.d9)(this.rasterFunctionDefinition)})}};(0,r._)([(0,o.Cb)({json:{type:Object,name:"rasterFunctionArguments"}})],Z.prototype,"functionArguments",null),(0,r._)([(0,u.r)("functionArguments")],Z.prototype,"readFunctionArguments",null),(0,r._)([(0,d.c)("functionArguments")],Z.prototype,"writeFunctionArguments",null),(0,r._)([(0,o.Cb)({json:{type:String,write:{target:"rasterFunction"}}})],Z.prototype,"functionName",void 0),(0,r._)([(0,u.r)("functionName",["rasterFunction","rasterFunctionInfos","rasterFunctionDefinition"])],Z.prototype,"readFunctionName",null),(0,r._)([(0,l.J)({C128:"c128",C64:"c64",F32:"f32",F64:"f64",S16:"s16",S32:"s32",S8:"s8",U1:"u1",U16:"u16",U2:"u2",U32:"u32",U4:"u4",U8:"u8",UNKNOWN:"unknown"},{ignoreUnknown:!1}),(0,o.Cb)({json:{default:"unknown"}})],Z.prototype,"outputPixelType",void 0),(0,r._)([(0,o.Cb)({type:String,json:{read:!0,write:!0}})],Z.prototype,"variableName",void 0),(0,r._)([(0,o.Cb)()],Z.prototype,"rasterFunctionDefinition",null),(0,r._)([(0,o.Cb)(L)],Z.prototype,"functionDefinition",void 0),Z=C=(0,r._)([(0,c.j)("esri.layers.support.RasterFunction")],Z);const x=Z},88281:(e,t,i)=>{i.d(t,{Z:()=>o});var r=i(20102),n=i(78346),a=i(5847);class o{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await(0,n.bA)("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:e.pixelBlock.toJSON(),type:e.dataType},t);return i?new a.Z(i):null}computeStatisticsHistograms(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");return this._workerThread.invoke("computeStatisticsHistograms",{pixelBlock:e.pixelBlock.toJSON()},t)}async decode(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("decode",e,t);return i?new a.Z(i):null}async symbolize(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i={extent:e.extent&&e.extent.toJSON(),pixelBlock:null!=e.pixelBlock&&e.pixelBlock.toJSON(),simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},n=await this._workerThread.invoke("symbolize",i,t);return n?new a.Z(n):null}async updateSymbolizer(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:i},t))}async updateRasterFunction(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},t))}async process(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelSizes:e.primaryPixelSizes?.map((e=>null!=e?e.toJSON():null)),primaryPixelBlocks:e.primaryPixelBlocks.map((e=>null!=e?e.toJSON():null)),primaryRasterIds:e.primaryRasterIds},t);return i?new a.Z(i):null}async stretch(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),stretchParams:e.stretchParams},n=await this._workerThread.invoke("stretch",i,t);return n?new a.Z(n):null}async split(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON(),tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel},n=await this._workerThread.invoke("split",i,t);return n&&n.forEach(((e,t)=>{n.set(t,e?a.Z.fromJSON(e):null)})),n}async estimateStatisticsHistograms(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.toJSON()};return await this._workerThread.invoke("estimateStatisticsHistograms",i,t)}async mosaicAndTransform(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.srcPixelBlocks?.length)return{pixelBlock:null};const i={...e,srcPixelBlocks:e.srcPixelBlocks.map((e=>null!=e?e.toJSON():null))},n=await this._workerThread.invoke("mosaicAndTransform",i,t);return{pixelBlock:n.pixelBlock?new a.Z(n.pixelBlock):null,localNorthDirections:n.localNorthDirections}}async createFlowMesh(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:n,simulationSettings:a}=e,o=await this._workerThread.invoke("createFlowMesh",{meshType:n,flowData:i,simulationSettings:a},{...t,transferList:[i.buffer,i.maskBuffer]});return{vertexData:new Float32Array(o.vertexBuffer),indexData:new Uint32Array(o.indexBuffer)}}getProjectionOffsetGrid(e,t){if(!this._workerThread)throw new r.Z("raster-jobhandler:no-connection","no available worker connection");const i=null!=e.datumTransformation?e.datumTransformation.steps.map((e=>({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse}))):null,n=null!=e.rasterTransform?e.rasterTransform.toJSON():null,a={projectedExtent:e.projectedExtent.toJSON(),srcBufferExtent:e.srcBufferExtent.toJSON(),pixelSize:e.pixelSize,hasWrapAround:e.hasWrapAround,spacing:e.spacing,datumTransformationSteps:i,rasterTransform:n,isAdaptive:e.isAdaptive,includeGCSGrid:e.includeGCSGrid};return this._workerThread.invoke("getProjectionOffsetGrid",a,t)}}},76259:(e,t,i)=>{i.d(t,{Z:()=>g});var r=i(43697),n=i(92835),a=i(84552),o=i(2368),s=i(96674),l=i(5600),u=(i(75215),i(67676),i(80442),i(71715)),c=i(52011),d=i(30556),p=i(80216);function m(e,t){return a.Z.fromJSON({value:e,unit:t})}let y=class extends((0,o.J)(s.wq)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const i=new Date(t.timeExtent[0]),r=new Date(t.timeExtent[1]);return new n.Z({start:i,end:r})}writeFullTimeExtent(e,t){e&&null!=e.start&&null!=e.end?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?m(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?m(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,r._)([(0,l.Cb)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],y.prototype,"cumulative",void 0),(0,r._)([(0,l.Cb)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"endField",void 0),(0,r._)([(0,l.Cb)({type:n.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"fullTimeExtent",void 0),(0,r._)([(0,u.r)("fullTimeExtent",["timeExtent"])],y.prototype,"readFullTimeExtent",null),(0,r._)([(0,d.c)("fullTimeExtent")],y.prototype,"writeFullTimeExtent",null),(0,r._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"hasLiveData",void 0),(0,r._)([(0,l.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"interval",void 0),(0,r._)([(0,u.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],y.prototype,"readInterval",null),(0,r._)([(0,d.c)("interval")],y.prototype,"writeInterval",null),(0,r._)([(0,l.Cb)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"startField",void 0),(0,r._)([(0,l.Cb)({type:p.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"timeReference",void 0),(0,r._)([(0,l.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"trackIdField",void 0),(0,r._)([(0,l.Cb)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],y.prototype,"useTime",void 0),y=(0,r._)([(0,c.j)("esri.layers.support.TimeInfo")],y);const g=y},99815:(e,t,i)=>{i.d(t,{MO:()=>o,Tj:()=>g,Ur:()=>s,W2:()=>m,WU:()=>h,WY:()=>y,gk:()=>I,jj:()=>M,nb:()=>p});var r=i(67676),n=i(35956);function a(e,t,i){const r=t.shift();if(0===i.length){const e=[];i.push({sliceId:-1,multidimensionalDefinition:e})}const n=i.length;for(let t=0;t<n;t++){const t=i.shift().multidimensionalDefinition;r.values?.forEach((n=>{i.push({sliceId:-1,multidimensionalDefinition:[...t,{variableName:e,dimensionName:r.name,values:[n]}]})}))}t.length&&a(e,t,i)}function o(e,t){const i=[];let r=0;return(t?e.variables.filter((e=>e.name.toLowerCase()===t.toLowerCase())):[...e.variables].sort(((e,t)=>e.name>t.name?1:-1))).forEach((e=>{const t=[],n=[...e.dimensions].sort(((e,t)=>e.name>t.name?-1:1));a(e.name,n,t),t.forEach((e=>{i.push({...e,sliceId:r++})}))})),i}function s(e,t,i){let r=e;if(t&&(t=[...t].sort(((e,t)=>e.dimensionName<t.dimensionName?-1:1))).forEach((({dimensionName:e,values:t,isSlice:i})=>{t.length&&(r=r.filter((r=>{const n=r.multidimensionalDefinition.find((t=>t.dimensionName===e));if(null==n)return!1;const a=n.values[0];return"number"==typeof a?"number"==typeof t[0]?t.includes(a):t.some((e=>e[0]<=a&&e[1]>=a)):"number"==typeof t[0]?t.some((e=>a[0]<=e&&a[1]>=e)):i?t.some((e=>e[0]===a[0]&&e[0]===a[1])):t.some((e=>e[0]>=a[0]&&e[0]<=a[1]||e[1]>=a[0]&&e[1]<=a[1]||e[0]<a[0]&&e[1]>a[1]))})))})),r.length&&i&&null!=i.start&&null!=i.end){const e=i.start.getTime(),t=i.end.getTime(),n=r[0].multidimensionalDefinition.findIndex((e=>"StdTime"===e.dimensionName));n>-1&&(r=r.filter((i=>{const r=i.multidimensionalDefinition[n].values[0];return e<=r&&t>=r})))}return r.map((e=>e.sliceId))}function l(e,t){return Array.isArray(e)?t[0]===t[1]?e[0]===t[0]||e[1]===t[0]:e[0]>=t[0]&&e[0]<=t[1]&&e[1]>=t[0]&&e[1]<=t[1]:e>=t[0]&&e<=t[1]}function u(e,t){return e[0]<=t[0]&&e[1]>=t[0]||e[0]<=t[1]&&e[1]>=t[1]||e[0]>=t[0]&&e[1]<=t[1]}function c(e){return 1===e.length?[e[0],e[0]]:[e[0],e[e.length-1]]}function d(e,t,i){if(!t?.subsetDefinitions?.length)return e;let r;if(i){const{variables:n}=t;if(n.length&&!n.includes(i))return null;const a=t.subsetDefinitions.find((t=>t.dimensionName===e.name&&t.variableName===i));if(!a?.values?.length)return e;r=c(a.values)}else{const i=t.dimensions.find((({name:t})=>t===e.name));r=i?.extent}const n=r;if(!n||!n?.length)return e;const a=e.values.filter((e=>l(e,n)));return{...e,extent:[...n],values:a}}function p(e,t,i){if(!t?.subsetDefinitions?.length)return!1;const{variables:r}=t;if(r.length&&e.some((({variableName:e})=>e&&!r.includes(e))))return!0;for(let r=0;r<e.length;r++){const n=e[r],a=t.subsetDefinitions.find((e=>(""===n.variableName||e.variableName===n.variableName)&&e.dimensionName===n.dimensionName));if(a?.values.length){const e=c(a.values);if(n.isSlice||2!==n.values.length||Array.isArray(n.values[0])||n.values[0]===n.values[1]||!i){if(n.values.some((t=>!l(t,e))))return!0}else if(!u(n.values,e))return!0}}return!1}function m(e,t){if(null==e)return{isOutside:!1};const{geometry:i,timeExtent:r,multidimensionalDefinition:a}=t;let o=null;if(null!=r&&(o=function(e,t){const i=e.dimensions.find((({name:e})=>"StdTime"===e));if(null==i||null==t.start&&null==t.end)return t;t=t.clone();const{start:r,end:a}=t.toJSON(),o=r===a?[r]:null!=r&&null!=a?[r,a]:[r??a];return 2===o.length&&i?.extent.length&&(o[0]=Math.max(o[0],i.extent[0]),o[1]=Math.min(o[1],i.extent[1]??i.extent[0]),o[1]<o[0])||p([new n.Z({variableName:"",dimensionName:"StdTime",isSlice:1===o.length,values:o})],e,!0)?null:(t.start=new Date(o[0]),t.end=new Date(o[1]??o[0]),t)}(e,r),null==o))return{isOutside:!0};const{areaOfInterest:s}=e;if(s&&i){const e="point"===i.type?i:"extent"===i.type?i.center:"polygon"===i.type?i.centroid:null;if(e&&!s.contains(e))return{isOutside:!0}}return null!=a&&a.length&&p(a,e,!0)?{isOutside:!0}:{isOutside:!1,intersection:{geometry:i,timeExtent:o,multidimensionalDefinition:a}}}function y(e,t={}){const{multidimensionalInfo:i,keyProperties:r}=e;if(null==i)return null;const{variableName:n,multidimensionalSubset:a,multidimensionalDefinition:o}=t,s=null!=o?o[0]?.variableName:null,l=n||s||r?.DefaultVariable;let{variables:u}=i;return a?.variables?.length&&(u=u.filter((({name:e})=>a.variables.includes(e)))),l?u.find((({name:e})=>e===l))??u[0]:u[0]}function g(e,t={}){const i=y(e,t);if(!i)return null;const r=[],{dimensions:a,name:o}=i;if(0===a.length)return[new n.Z({variableName:o,dimensionName:"",values:[],isSlice:!0})];for(let e=0;e<a.length;e++){const i=d(a[e],t.multidimensionalSubset,o);if(!i)return null;const{values:s,extent:l}=i;let u=s?.[0]??l[0];"stdz"===i.name.toLowerCase()&&!i.hasRanges&&Math.abs(l[1])<=Math.abs(l[0])&&(u=s?.length?s[s.length-1]:l[1]),r.push(new n.Z({variableName:o,dimensionName:i.name,values:[u],isSlice:!t.useRangeForRangedDimensionInfo||!!i.hasRanges}))}return r}function h(e){return!(null==e||!e.length)&&e.some((e=>{if(null==e.values)return!0;const t=e.values.length;return 0===t||t>1||!e.isSlice&&Array.isArray(e.values[0])}))}function M(e,t){if(null==t||null==e)return null;let i=t.variables.map((e=>({...e})));return e?.variables?.length&&(i=i.filter((({name:t})=>e.variables.includes(t))),i.forEach((t=>{t.dimensions=t.dimensions.map((i=>d(i,e,t.name))).filter(r.pC)}))),i}function w(e,t){const{values:i}=t;if(i?.length){const t=Array.isArray(i[0]),r=Array.isArray(e);return t!==r?-1:t&&r?i.findIndex((t=>t[0]===e[0]&&t[1]===e[1])):i.indexOf(e)}const{extent:r}=t;if(Array.isArray(e)||e<r[0]||e>r[1])return-1;const n=t.interval||1;if("ISO8601"!==t.unit)return Math.round((e-r[0])/n);const a=r[0];let o=-1;switch(t.intervalUnit?.toLowerCase()||"seconds"){case"seconds":o=Math.round((e-a)/1e3/n);break;case"minutes":o=Math.round((e-a)/6e4/n);break;case"hours":o=Math.round((e-a)/36e5/n);break;case"days":o=Math.round((e-a)/864e5/n);break;case"months":{const t=new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear(),i=new Date(a).getUTCMonth(),r=new Date(e).getUTCMonth();o=0===t?r-i:r+11-i+12*(t-1)}break;case"years":o=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/n);break;case"decades":o=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/10/n)}return o}function f(e){let t=e.values?.length;if(t)return t;const{extent:i,unit:r}=e,n=e.interval||1,a=i?i[1]-i[0]:0;if("ISO8601"!==r)return Math.round(a/n);switch(e.intervalUnit?.toLowerCase()??"seconds"){case"seconds":t=Math.round(a/1e3/n);break;case"minutes":t=Math.round(a/6e4/n);break;case"hours":t=Math.round(a/36e5/n);break;case"days":t=Math.round(a/864e5/n);break;case"months":{const e=new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear(),r=new Date(i[0]).getUTCMonth(),n=new Date(i[1]).getUTCMonth();t=0===e?n-r+1:n+11-r+12*(e-1)+1}break;case"years":t=Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/n);break;case"decades":t=Math.round((new Date(i[1]).getUTCFullYear()-new Date(i[0]).getUTCFullYear())/10/n);break;default:t=0}return t}function I(e,t){let i=0;const r=e[0].variableName,n=[...t.variables].sort(((e,t)=>e.name>t.name?1:-1));for(let t=0;t<n.length;t++){const a=n[t],o=[...a.dimensions].sort(((e,t)=>e.name>t.name?-1:1));if(a.name!==r){i+=o.map((e=>f(e))).reduce(((e,t)=>e*t));continue}const s=o.map((e=>f(e))),l=o.length;for(let t=0;t<l;t++){const r=e.find((e=>e.dimensionName===o[t].name));if(null==r)return null;const n=w(r.values[0],o[t]);if(-1===n)return null;s.shift(),i+=t===l-1?n:n*s.reduce(((e,t)=>e*t))}break}return i}},69608:(e,t,i)=>{i.d(t,{cl:()=>n,kQ:()=>a,sM:()=>o});var r=i(35454);const n=(0,r.w)()({RSP_NearestNeighbor:"nearest",RSP_BilinearInterpolation:"bilinear",RSP_CubicConvolution:"cubic",RSP_Majority:"majority"}),a=(0,r.w)()({esriNoDataMatchAny:"any",esriNoDataMatchAll:"all"}),o=(0,r.w)()({U1:"u1",U2:"u2",U4:"u4",U8:"u8",S8:"s8",U16:"u16",S16:"s16",U32:"u32",S32:"s32",F32:"f32",F64:"f64",C64:"c64",C128:"c128",UNKNOWN:"unknown"})},78981:(e,t,i)=>{i.d(t,{v:()=>r});const r=(0,i(35454).w)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},30030:(e,t,i)=>{i.d(t,{FK:()=>p,dr:()=>d,ij:()=>y});var r=i(20941),n=i(16050),a=i(24705),o=i(28092),s=i(73622),l=i(60849),u=i(81571),c=i(3943);const d={key:"type",base:null,typeMap:{"unique-value":u.Z,"class-breaks":n.Z,"raster-colormap":o.Z,"raster-stretch":l.Z,"vector-field":c.Z,"raster-shaded-relief":s.Z,flow:a.Z}},p={...d,typeMap:{...d.typeMap}};delete p.typeMap["vector-field"],delete p.typeMap.flow;const m={uniqueValue:u.Z,classBreaks:n.Z,rasterStretch:l.Z,rasterColormap:o.Z,vectorField:c.Z,rasterShadedRelief:s.Z,flowRenderer:a.Z};function y(e,t){if(!e)return null;if("classBreaks"===e.type&&e.classificationMethod){const t=e.authoringInfo||{classificationMethod:""};t.classificationMethod=e.classificationMethod,e.authoringInfo=t}"vectorField"===e.type&&e.visualVariables&&!Array.isArray(e.visualVariables)&&(e.visualVariables=[e.visualVariables]);const i=(n=e)&&m[n.type]||null;var n;if(i){const r=new i;return r.read(e,t),r}return t&&t.messages&&e&&t.messages.push(new r.Z("renderer:unsupported","Renderers of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:t})),null}},24705:(e,t,i)=>{i.d(t,{Z:()=>M});var r,n=i(43697),a=i(22303),o=i(35454),s=i(96674),l=i(62357),u=i(5600),c=(i(75215),i(67676),i(80442),i(36030)),d=i(52011),p=i(41733),m=i(69237),y=i(66338);const g=new o.X({flow_from:"flow-from",flow_to:"flow-to"});let h=r=class extends((0,p.W)(s.wq)){constructor(e){super(e),this.density=.8,this.color=new a.Z([255,255,255,1]),this.maxPathLength=200,this.trailWidth=1.5,this.flowSpeed=10,this.trailLength=100,this.smoothing=0,this.flowRepresentation="flow-from",this.type="flow",this.authoringInfo=null,this.legendOptions=null,this.trailCap="butt",this.background="none"}clone(){const{density:e,maxPathLength:t,trailWidth:i,flowSpeed:n,trailLength:a,smoothing:o,flowRepresentation:s,trailCap:l,background:u}=this,c=this.color.clone(),d=(this.visualVariables||[]).map((e=>e.clone())),p=this.authoringInfo?.clone(),m=this.legendOptions?.clone();return new r({density:e,color:c,maxPathLength:t,trailWidth:i,flowSpeed:n,trailLength:a,trailCap:l,background:u,smoothing:o,flowRepresentation:s,visualVariables:d,authoringInfo:p,legendOptions:m})}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}};(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"density",void 0),(0,n._)([(0,u.Cb)({type:a.Z,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"maxPathLength",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"trailWidth",void 0),(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"flowSpeed",void 0),(0,n._)([(0,u.Cb)({type:Number,json:{write:!0}})],h.prototype,"trailLength",void 0),(0,n._)([(0,u.Cb)({type:Number,cast:l.t_,json:{write:!1}})],h.prototype,"smoothing",void 0),(0,n._)([(0,u.Cb)({type:g.apiValues,json:{type:g.jsonValues,read:{reader:g.read},write:{writer:g.write}}})],h.prototype,"flowRepresentation",void 0),(0,n._)([(0,c.J)({flowRenderer:"flow"})],h.prototype,"type",void 0),(0,n._)([(0,u.Cb)({type:m.Z,json:{write:!0}})],h.prototype,"authoringInfo",void 0),(0,n._)([(0,u.Cb)({type:y.I,json:{write:!0}})],h.prototype,"legendOptions",void 0),(0,n._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"trailCap",void 0),(0,n._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"background",void 0),h=r=(0,n._)([(0,d.j)("esri.renderers.FlowRenderer")],h);const M=h},28092:(e,t,i)=>{i.d(t,{Z:()=>g});var r=i(43697),n=i(96674),a=i(5600),o=i(75215),s=(i(67676),i(80442),i(36030)),l=i(52011),u=i(22303);let c=class extends n.wq{constructor(){super(...arguments),this.value=null,this.label=null,this.color=null}};(0,r._)([(0,a.Cb)({type:Number,json:{write:!0}})],c.prototype,"value",void 0),(0,r._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,r._)([(0,a.Cb)({type:u.Z,json:{type:[o.z8],write:!0}})],c.prototype,"color",void 0),c=(0,r._)([(0,l.j)("esri.renderers.support.ColormapInfo")],c);const d=c;var p,m=i(93010);let y=p=class extends n.wq{constructor(e){super(e),this.colormapInfos=null,this.type="raster-colormap"}static createFromColormap(e,t){if(!e)return null;const i=5===e[0].length,r=[...e].sort(((e,t)=>e[0]-t[0])).map((e=>d.fromJSON({value:e[0],color:i?e.slice(1,5):e.slice(1,4).concat([255]),label:t?t[e[0]]??"":e[0]})));return new p({colormapInfos:r})}static createFromColorramp(e){const t=(0,m.Jw)(e);return p.createFromColormap(t)}clone(){return new p({colormapInfos:this.colormapInfos.map((e=>e.toJSON()))})}extractColormap(){return this.colormapInfos.map((({value:e,color:t})=>[e,t.r,t.g,t.b,t.a>1?t.a:255*t.a&255])).sort(((e,t)=>e[0]-t[0]))}};(0,r._)([(0,a.Cb)({type:[d],json:{write:!0}})],y.prototype,"colormapInfos",void 0),(0,r._)([(0,s.J)({rasterColormap:"raster-colormap"})],y.prototype,"type",void 0),y=p=(0,r._)([(0,l.j)("esri.renderers.RasterColormapRenderer")],y);const g=y},73622:(e,t,i)=>{i.d(t,{Z:()=>m});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=(i(75215),i(36030)),u=i(71715),c=i(52011),d=i(94593);let p=r=class extends a.wq{constructor(e){super(e),this.altitude=45,this.azimuth=315,this.colorRamp=null,this.hillshadeType="traditional",this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.scalingType="none",this.type="raster-shaded-relief",this.zFactor=1}readColorRamp(e){return(0,d.i)(e)}clone(){return new r({hillshadeType:this.hillshadeType,altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,scalingType:this.scalingType,pixelSizeFactor:this.pixelSizeFactor,pixelSizePower:this.pixelSizePower,colorRamp:(0,o.d9)(this.colorRamp)})}};(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"altitude",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"azimuth",void 0),(0,n._)([(0,s.Cb)({types:d.V,json:{write:!0}})],p.prototype,"colorRamp",void 0),(0,n._)([(0,u.r)("colorRamp")],p.prototype,"readColorRamp",null),(0,n._)([(0,s.Cb)({type:["traditional","multi-directional"],json:{write:!0}})],p.prototype,"hillshadeType",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"pixelSizePower",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"pixelSizeFactor",void 0),(0,n._)([(0,s.Cb)({type:["none","adjusted"],json:{write:!0}})],p.prototype,"scalingType",void 0),(0,n._)([(0,l.J)({rasterShadedRelief:"raster-shaded-relief"})],p.prototype,"type",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],p.prototype,"zFactor",void 0),p=r=(0,n._)([(0,c.j)("esri.renderers.RasterShadedReliefRenderer")],p);const m=p},60849:(e,t,i)=>{i.d(t,{Z:()=>g});var r,n=i(43697),a=i(96674),o=i(22974),s=i(5600),l=(i(75215),i(36030)),u=i(71715),c=i(52011),d=i(30556),p=i(75509),m=i(94593);let y=r=class extends a.wq{constructor(e){super(e),this.colorRamp=null,this.computeGamma=!1,this.dynamicRangeAdjustment=!1,this.gamma=[],this.maxPercent=null,this.minPercent=null,this.numberOfStandardDeviations=null,this.outputMax=null,this.outputMin=null,this.sigmoidStrengthLevel=null,this.statistics=[],this.histograms=null,this.useGamma=!1,this.stretchType="none",this.type="raster-stretch"}readColorRamp(e){if(e)return(0,m.i)(e)}writeStatistics(e,t,i){e?.length&&(Array.isArray(e[0])||(e=e.map((e=>[e.min,e.max,e.avg,e.stddev]))),t[i]=e)}readStretchType(e,t){let i=t.stretchType;return"number"==typeof i&&(i=p.J[i]),p.v.read(i)}clone(){return new r({stretchType:this.stretchType,outputMin:this.outputMin,outputMax:this.outputMax,useGamma:this.useGamma,computeGamma:this.computeGamma,statistics:(0,o.d9)(this.statistics),gamma:(0,o.d9)(this.gamma),sigmoidStrengthLevel:this.sigmoidStrengthLevel,numberOfStandardDeviations:this.numberOfStandardDeviations,minPercent:this.minPercent,maxPercent:this.maxPercent,colorRamp:(0,o.d9)(this.colorRamp),histograms:(0,o.d9)(this.histograms),dynamicRangeAdjustment:this.dynamicRangeAdjustment})}};(0,n._)([(0,s.Cb)({types:m.V,json:{write:!0}})],y.prototype,"colorRamp",void 0),(0,n._)([(0,u.r)("colorRamp")],y.prototype,"readColorRamp",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"computeGamma",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:{target:"dra"},read:{source:"dra"}}})],y.prototype,"dynamicRangeAdjustment",void 0),(0,n._)([(0,s.Cb)({type:[Number],json:{write:!0}})],y.prototype,"gamma",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"maxPercent",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"minPercent",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"numberOfStandardDeviations",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"max"},write:{target:"max"}}})],y.prototype,"outputMax",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"min"},write:{target:"min"}}})],y.prototype,"outputMin",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],y.prototype,"sigmoidStrengthLevel",void 0),(0,n._)([(0,s.Cb)({json:{type:[[Number]],write:!0}})],y.prototype,"statistics",void 0),(0,n._)([(0,s.Cb)()],y.prototype,"histograms",void 0),(0,n._)([(0,d.c)("statistics")],y.prototype,"writeStatistics",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"useGamma",void 0),(0,n._)([(0,s.Cb)({type:p.v.apiValues,json:{type:p.v.jsonValues,write:p.v.write}})],y.prototype,"stretchType",void 0),(0,n._)([(0,u.r)("stretchType",["stretchType"])],y.prototype,"readStretchType",null),(0,n._)([(0,l.J)({rasterStretch:"raster-stretch"})],y.prototype,"type",void 0),y=r=(0,n._)([(0,c.j)("esri.renderers.RasterStretchRenderer")],y);const g=y},3943:(e,t,i)=>{i.d(t,{Z:()=>k});var r=i(43697),n=i(22303),a=(i(66577),i(38171)),o=i(9790),s=i(35454),l=i(96674),u=i(22974),c=i(5600),d=(i(75215),i(36030)),p=i(71715),m=i(52011),y=i(16306),g=i(80676),h=i(16050),M=i(41733),w=i(32984),f=i(89513),I=i(23847),b=i(28101),v=i(4095),C=i(77987),A=i(66643),D=(i(80442),i(65617));function T(e){for(const t of e)if("number"==typeof t)return t;return null}function j(e,t,i){for(let r=0;r<3;r++){const n=e[r];switch(n){case"symbol-value":{const e=i[r];return null!=e?e/t[r]:1}case"proportional":break;default:if(n&&t[r])return n/t[r]}}return 1}function N(e,t,i,r){switch(e){case"proportional":return i*r;case"symbol-value":return null!=t?t:i;default:return e}}async function S(e,t){if(e&&t)return(0,o.dU)(e)?async function(e,t){const r=e.symbolLayers;r&&await(0,A.Ed)(r,(async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){e.size="number"==typeof t[2]?t[2]:0}(e,t);break;case"icon":case"line":case"text":!function(e,t){const i=T(t);null!=i&&(e.size=i)}(e,t);break;case"path":!function(e,t){const i=j(t,D.O,[e.width,void 0,e.height]);e.width=N(t[0],e.width,1,i),e.height=N(t[2],e.height,1,i)}(e,t);break;case"object":await async function(e,t){const{resourceSize:r,symbolSize:n}=await async function(e){const{computeObjectLayerResourceSize:t}=await i.e(2134).then(i.bind(i,42134)),r=await t(e,10),{width:n,height:a,depth:o}=e,s=[n,o,a];let l=1;for(let e=0;e<3;e++){const t=s[e];if(null!=t){l=t/r[e];break}}for(let e=0;e<3;e++)null==s[e]&&(s[e]=r[e]*l);return{resourceSize:r,symbolSize:s}}(e),a=j(t,r,n);e.width=N(t[0],n[0],r[0],a),e.depth=N(t[1],n[1],r[1],a),e.height=N(t[2],n[2],r[2],a)}(e,t)}}(e,t)))}(e,t):void((0,o.cT)(e)&&function(e,t){const i=T(t);if(null!=i)switch(e.type){case"simple-marker":e.size=i;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=i,e.height=i*t):(e.width=i*t,e.height=i);break}case"simple-line":e.width=i;break;case"text":e.font.size=i}}(e,t))}i(67760),i(99880),i(3172),new(i(13867).z)(1e3),new n.Z([128,128,128]),i(52879),new n.Z("white");var L,Z=i(94139),x=i(37898);const U=new Set(["esriMetersPerSecond","esriKilometersPerHour","esriKnots","esriFeetPerSecond","esriMilesPerHour"]),_=new s.X({beaufort_ft:"beaufort-ft",beaufort_km:"beaufort-km",beaufort_kn:"beaufort-kn",beaufort_m:"beaufort-m",beaufort_mi:"beaufort-mi",classified_arrow:"classified-arrow",ocean_current_kn:"ocean-current-kn",ocean_current_m:"ocean-current-m",simple_scalar:"simple-scalar",single_arrow:"single-arrow",wind_speed:"wind-barb"}),z=new s.X({flow_from:"flow-from",flow_to:"flow-to"});let B=L=class extends((0,M.W)(l.wq)){constructor(e){super(e),this.attributeField="Magnitude",this.flowRepresentation="flow-from",this.rotationType="arithmetic",this.style="single-arrow",this.symbolTileSize=50,this.type="vector-field"}readInputUnit(e,t){return U.has(e)?g.NL.fromJSON(e):null}readOutputUnit(e,t){return U.has(e)?g.NL.fromJSON(e):null}get styleRenderer(){const e=this.style,t=this.attributeField,i=this._createStyleRenderer(e);return i.field=t,i}get sizeVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"size"===t.type&&e.push(t);if(0===e.length){const t=new I.Z({field:"Magnitude",minSize:.2*this.symbolTileSize,maxSize:.8*this.symbolTileSize});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}get rotationVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"rotation"===t.type&&e.push(t);if(0===e.length){const t=new f.Z({field:"Direction",rotationType:this.rotationType});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}clone(){return new L({attributeField:this.attributeField,flowRepresentation:this.flowRepresentation,rotationType:this.rotationType,symbolTileSize:this.symbolTileSize,style:this.style,visualVariables:(0,u.d9)(this.visualVariables),inputUnit:this.inputUnit,outputUnit:this.outputUnit})}async getGraphicsFromPixelData(e,t=!1,i=[]){const r=new Array,n=(0,g.Yx)(this.inputUnit,this.outputUnit),o=this.rotationVariables[0]?.rotationType||this.rotationType,s=t?(0,g.KC)(e.pixelBlock,"vector-uv",o,n):(0,g.QI)(e.pixelBlock,"vector-magdir",n);if(null==s)return r;const l=e.extent,u=null!=s.mask&&s.mask.length>0;let c=0;const d=(l.xmax-l.xmin)/s.width,p=(l.ymax-l.ymin)/s.height;for(let e=0;e<s.height;e++)for(let t=0;t<s.width;t++,c++){let n=new Z.Z({x:l.xmin+t*d+d/2,y:l.ymax-e*p-p/2,spatialReference:l.spatialReference});n=(await(0,y.aX)(n))[0];const o=i.some((e=>e.intersects(n)));if((!u||s.mask[c])&&!o){const e={Magnitude:s.pixels[0][c],Direction:s.pixels[1][c]},t=new a.Z({geometry:{type:"point",x:n.x,y:n.y,spatialReference:l.spatialReference},attributes:e});t.symbol=this._getVisualVariablesAppliedSymbol(t),r.push(t)}}return r}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getClassBreakInfos(){return this.styleRenderer?.classBreakInfos}getDefaultSymbol(){return this.styleRenderer?.defaultSymbol}_getDefaultSymbol(e){return new C.Z({path:"M14,32 14,18 9,23 16,3 22,23 17,18 17,32 z",outline:new v.Z({width:0}),size:20,color:e||new n.Z([0,92,230])})}_getVisualVariablesAppliedSymbol(e){if(!e)return;const t=this.styleRenderer?.getSymbol(e)?.clone(),i=this.sizeVariables,r=this.rotationVariables;if(i&&i.length&&this.sizeVariables.forEach((i=>S(t,(0,b.PR)([i],e)))),r&&r.length){const i="flow-to"===this.flowRepresentation==("ocean-current-kn"===this.style||"ocean-current-m"===this.style)?0:180;e.attributes.Direction=e.attributes.Direction+i,this.rotationVariables.forEach((i=>function(e,t,i){if(e&&null!=t)if((0,o.dU)(e)){const r=e.symbolLayers;r&&r.forEach((e=>{if(e&&"object"===e.type)switch(i){case"tilt":e.tilt=t;break;case"roll":e.roll=t;break;default:e.heading=t}}))}else(0,o.cT)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle=t))}(t,(0,b.cM)(i,e),i.axis)))}return t}_createStyleRenderer(e){let t={defaultSymbol:this._getDefaultSymbol(),classBreakInfos:[]};switch(e){case"single-arrow":t=this._createSingleArrowRenderer();break;case"beaufort-kn":t=this._createBeaufortKnotsRenderer();break;case"beaufort-m":t=this._createBeaufortMeterRenderer();break;case"beaufort-ft":t=this._createBeaufortFeetRenderer();break;case"beaufort-mi":t=this._createBeaufortMilesRenderer();break;case"beaufort-km":t=this._createBeaufortKilometersRenderer();break;case"ocean-current-m":t=this._createCurrentMeterRenderer();break;case"ocean-current-kn":t=this._createCurrentKnotsRenderer();break;case"simple-scalar":t=this._createSimpleScalarRenderer();break;case"wind-barb":t=this._createWindBarbsRenderer();break;case"classified-arrow":t=this._createClassifiedArrowRenderer()}return new h.Z(t)}_createSingleArrowRenderer(){return{defaultSymbol:this._getDefaultSymbol()}}_createBeaufortKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,1,3,6,10,16,21,27,33,40,47,55,63],[[40,146,199],[89,162,186],[129,179,171],[160,194,155],[191,212,138],[218,230,119],[250,250,100],[252,213,83],[252,179,102],[250,141,52],[247,110,42],[240,71,29]])}}_createBeaufortMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7],[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortFeetRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.28084*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortMilesRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>2.23694*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortKilometersRenderer(){const e=this._getDefaultSymbol(new n.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.6*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createCurrentMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.5,1,1.5,2],[[78,26,153],[179,27,26],[202,128,26],[177,177,177]])}}_createCurrentKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new n.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.25,.5,1,1.5,2,2.5,3,3.5,4],[[0,0,0],[0,37,100],[78,26,153],[151,0,100],[179,27,26],[177,78,26],[202,128,26],[177,179,52],[177,177,177]])}}_createClassifiedArrowRenderer(){const e=this._getDefaultSymbol(new n.Z([56,168,0]));let t=[0,1e-6,3.5,7,10.5,14];if(this.sizeVariables?.length){const e=this.sizeVariables[0].minDataValue,i=this.sizeVariables[0].maxDataValue;if(e&&i){const r=(i-e)/5;t=Array.from(Array(6).keys()).map((t=>e+r*t))}}return{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[56,168,0],[139,309,0],[255,255,0],[255,128,0],[255,0,0]])}}_createSimpleScalarRenderer(){return{defaultSymbol:x.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAQAAABLVLlLAAAABGdBTUEAAYagMeiWXwAAAAJiS0dEAACqjSMyAAAACXBIWXMAAABIAAAASABGyWs+AAAC3ElEQVRIx9XXvW4cVRQH8N982btpsIREJECyiCXsxX4DKh6AliqGKCBBE2SlwlHgAbBD/AKmyEYUeQ1KahPZSZQvBCkQLTHZ7KGY8Xodz4w3a1NwbzVzz/znfJ//zbStVC5q3icKak9GAs2QIdDx3PtW/S011NW3p+M5Eomh11ipTIKe6+4LQzHaQ+G+63pIZNJJQXMpljwTwj1brpgx5w1zZlyx5Z4QnllEIm2xeeSUHBf0hV0bejo1Uh09G3aFvgXk7cCJFBc9EdaRVuHJJaOdKyTV2TVhYLMduNR0Q9gxL5GaaTDw8GzejrDRBpxWoGsySRW0dttKuattwNkIlFw2YXgzOdYq4Ox49PlM+JrKd5OusjTWhBuVxUfMX/KXXZ3WEmkuqa67wspR4BTbwtKr/5u4fFgStse/T7EifFPnnYl9zPq4vmUOPrRndgoHjDti1gOPqlyXoifcRNGQzUd31lDyfHmob1Gp35vSr+P6vilcQ5Egtyd8YF/ySg9NhPM+9M/IOaHwp5+PSZayXTvCogEUwlatC3J8LLwYtcWB8EuDXQVuCkV5/B4eNHb7wGBs87LBDS+xjdVSn09wq1G8dFM+9tSUhIGneLvUdniKxKpTYljCpu3j7rVWlHj/P23v4NPGUEyeCQnexe9lJjzEQqMjJs+EzNAX6B98dBZVRmroJx95x/A/6gln18EyfCUsl+qdXb/tjvfbw+mwforpUOBz4XLVoBwAn3aWnfeH246NyBXhrq7TTN5lNSP9RkU+puUJm3W2Tsdq0nZWM07srk7MwQrZSRysjjGWBLRJNsNbfj2JMR4AbxpU1XLAb9Mxfpsq5EjMuuiR8L0JiHOOBX3hiUvOmavN0nMueSzcceFk0BK4pMqLo7vDD1Z0qrtDx7Itt4Xwm9UqbMmk8S0Dtuzb2pvOU99Z1nLTOfleNmvfZfP2pYZmPfajwosKdDBNpacNpVGGsWX9CyDI8Xq/Sj6QAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTExLTEwVDAzOjE3OjU4LTA1OjAwF+tHyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMS0xMFQwMzoxNzo1OC0wNTowMGa2/3UAAAAASUVORK5CYII=",height:20,width:20,type:"esriPMS",angle:0})}}_createWindBarbsRenderer(){const e=Array.from(Array(31).keys()).map((e=>5*e)),t=[{range:"0-5",path:"M20 20 M5 20 A15 15 0 1 0 35 20 A15 15 0 1 0 5 20 M20 20 M10 20 A10 10 0 1 0 30 20 A10 10 0 1 0 10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTIwIDIwIE01IDIwIEExNSAxNSAwIDEgMCAzNSAyMCBBMTUgMTUgMCAxIDAgNSAyMCBNMjAgMjAgTTEwIDIwIEExMCAxMCAwIDEgMCAzMCAyMCBBMTAgMTAgMCAxIDAgMTAgMjAiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"5-10",path:"M25 0 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"10-15",path:"M25 0 L25 40 L10 45 L25 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"15-20",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjEyIDAgMTUgNDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"20-25",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"25-30",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIEwyNSAzNSBNMjUgMzAgTDE3LjUgMzIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"30-35",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"35-40",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"40-45",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"45-50",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"50-55",path:"M25 0 L25 40 L10 40 L25 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"55-60",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxNy41IDMyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"60-65",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"65-70",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"70-75",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"75-80",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"80-85",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"85-90",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxNy41IDE3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"90-95",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"95-100",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20 L25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCBMMjUgMTUgTTI1IDEwIEwxNy41IDEyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"100-105",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"105-110",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDE3LjUgMjcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"110-115",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"115-120",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDE3LjUgMjIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"120-125",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"125-130",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDE3LjUgMTcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"130-135",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"135-140",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDE3LjUgMTIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"140-145",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"145-150",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IE0yNSAxMCBNMjUgNSBMMTcuNSA3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="}],i=x.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAQAAADtq6NDAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAEY0lEQVRIx5XXWWxWRRQH8N+d+31tUdGAVjGglYJABFEBY91jfDAg7piYaFTccA++uMQEFRcSXlATtxiXqMQt4G4iisYl0ai4sIQYtVFZ1KIFKdTS0l4f7vRCS5fPebozc+bM/2z/Mzcx0AgSiUxXnKfIdMn875FIhX53U2n/B/s+kKM4UINTjTBZImixxnrv+9a2iL6zEoUBXcoudrWj/OtHm3wt02lfU9Qao9OnHvIhgmww84MEl1qnxfNmGrqHxAizLdPpC6chGcAxKGGcL+30gOERf1BSpUqVslQSV8d5ReZFe8VQ9avufJn31cWwlJV7iafKStGOE/1qvfH9qUxxu8ydUdmuSKbGO8YUdT2inKLG69pM70tliktl5qIkCAJGmusDG7Vqsc0WjZa4UBlBiA5YZIcjYzB7qDtH5kaUJFLs7RGZTZ42W4PRRmtwvbdt1+wGiaS4drEtDttdZYIDNVuAclR3vA3+dI3qHqmVSy7U6Tv1MScCPvPR7nIpFlsdCy3FdTLPGhK92e2CUITjMJ9ocwKxnsZqc3O3JwMma3d6UVLnyVxB4aXemZqvPqLdpJhW3KVVbY4yYImPo6M5Urv50fj+0z/FG9YaEiENs8UtMfXUaTeTePNHlhXfA1UU+2lyD1Il3Gtt9+adfpNG7dNlpg2U/T3KYLZ2dUWFdTgp3/rQ4sK973qnInV5TIf40x3dhvrJPBiqyWUo4wAtLqhQYS71qK+QKOFRywmGK/kpikzV6WMKhh58vGWs4TIJNjiEYLIuP8Tt4/zmLyqk+AyrJSbF+Qq1DgqRUPMxyl+9q3IQhX/rMCJ6tEunriDs1oSyQZKlr9AkhT2ZIARbJfaJS1vtVbHB+Rgi0RK/y1q1BWsEEyLoz40xtGKcARPVWB1BTPO7f4LNtpkUl1aoMbViLyZo0GRjPD3BxnxjqXeLYlvhqYrzMMG3HoyJXa3JjfnGlbYYFlP7Jh3qKsKY4hQ7TY0nG+xwRL61n63mxHtqNHosigyMLmClNwvuecFnOZB88nNBDzNkzhxEZaKMBVoKapggMzvHHXBEpNSSFAvtcFRsVn0bW8LlMmcXs+c0Kne3gRR32+zg4uXwjC6zit6Wt4a8LXVfcp/MtQXHn2ynGbuCmb8GvvFeJLEE82ReU9/n6+dkq2x3buG9Wn94smcgAw631RPR7BTH+kbmHReZoEpOdEe7zWqZl40s0JWs9Hmv7hjBHqPDwsjGKVJnWWqjbdZp1KhJi0aPmxYZsIRhlttgeF+Jlke41QcOQKoqilSb6HJzSvNG3G/UoWnxwsmt+sVaYwd63dRbqdnMyCPVeyRPvpYgdavM22oGKoMUVRbJfOWMwidJ8Zzb1UvmWK/VVUXzHaTjjrVYh1897HT7xxYEVUaa5SWb/WO+YUWa9SrwvigzM8YlzlYv2GSdVCYxxlBtVnnFq5olwp5/BEk/OLsf5LUmG2+inRJdVvjZ97ZH9/zP34ug1O91pf4p+D+JYBpvrKxfbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0xMS0xMFQwMzoxMjowOS0wNTowMB9ViV0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMTEtMTBUMDM6MTI6MDktMDU6MDBuCDHhAAAAAElFTkSuQmCC",height:20,width:20,type:"esriPMS",angle:0}),r=e.map(((r,n)=>{let a;if(n!==e.length-1)if(0===n)a={minValue:r,maxValue:e[n+1],symbol:i};else{const i=x.Z.fromJSON({type:"esriPMS",imageData:t[n].imageData,contentType:"image/svg+xml",height:32,width:32,angle:0});a={minValue:r,maxValue:e[n+1],symbol:i}}return new w.Z(a)}));return{defaultSymbol:i,classBreakInfos:r}}_getClassBreaks(e,t){return t.map(((t,i)=>new w.Z({minValue:e[i],maxValue:e[i+1],symbol:this._getDefaultSymbol(new n.Z(t))})))}};(0,r._)([(0,c.Cb)({type:String,json:{write:!0}})],B.prototype,"attributeField",void 0),(0,r._)([(0,c.Cb)({type:z.apiValues,json:{type:z.jsonValues,read:{reader:z.read},write:{writer:z.write}}})],B.prototype,"flowRepresentation",void 0),(0,r._)([(0,c.Cb)({type:["geographic","arithmetic"],json:{write:!0}})],B.prototype,"rotationType",void 0),(0,r._)([(0,c.Cb)({type:_.apiValues,json:{type:_.jsonValues,read:{reader:_.read},write:{writer:_.write}}})],B.prototype,"style",void 0),(0,r._)([(0,c.Cb)({json:{write:!0}})],B.prototype,"symbolTileSize",void 0),(0,r._)([(0,c.Cb)({type:g.NL.apiValues,json:{type:g.NL.jsonValues,write:{writer:g.NL.write}}})],B.prototype,"inputUnit",void 0),(0,r._)([(0,p.r)("inputUnit")],B.prototype,"readInputUnit",null),(0,r._)([(0,c.Cb)({type:g.NL.apiValues,json:{type:g.NL.jsonValues,read:{reader:g.NL.read},write:{writer:g.NL.write}}})],B.prototype,"outputUnit",void 0),(0,r._)([(0,p.r)("outputUnit")],B.prototype,"readOutputUnit",null),(0,r._)([(0,d.J)({vectorField:"vector-field"})],B.prototype,"type",void 0),(0,r._)([(0,c.Cb)({type:h.Z})],B.prototype,"styleRenderer",null),(0,r._)([(0,c.Cb)({type:I.Z})],B.prototype,"sizeVariables",null),(0,r._)([(0,c.Cb)({type:f.Z})],B.prototype,"rotationVariables",null),B=L=(0,r._)([(0,m.j)("esri.renderers.VectorFieldRenderer")],B);const k=B},67058:(e,t,i)=>{i.d(t,{FI:()=>v,In:()=>b,Ob:()=>f,U0:()=>I,YD:()=>C,ol:()=>N});var r=i(22303),n=(i(30030),i(67900),i(1231)),a=i(25972),o=(i(24705),i(69237)),s=(i(32984),i(93010)),l=i(12163),u=i(44262),c=(i(10278),i(622),i(1515)),d=i(60849),p=i(81571),m=i(28092),y=(i(73622),i(16050),i(3943));const g=.25,h=c.Z.fromJSON({type:"multipart",colorRamps:[{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]}),M=c.Z.fromJSON(s.Ms[0]),w=new Set(["scientific","standard-time","vector-uv","vector-magdir","vector-u","vector-v","vector-magnitude","vector-direction"]);function f(e,t){const{attributeTable:i,colormap:n}=e;if((0,l.LV)(e)){const t=function(e){if(!(0,l.LV)(e))return null;let t;if(null!=e.statistics&&e.statistics.length&&("vector-magdir"===e.dataType||"vector-uv"===e.dataType)){const{minMagnitude:i,maxMagnitude:r}=function(e,t){let i,r;if("vector-magdir"===e)i=t[0].min,r=t[0].max;else{const e=t[0].min,n=t[0].max,a=t[1].min,o=t[1].max;i=0,r=Math.max(Math.abs(e),Math.abs(a),Math.abs(n),Math.abs(o))}return{minMagnitude:i,maxMagnitude:r}}(e.dataType,e.statistics);t=[{type:"size",field:"Magnitude",minSize:10,maxSize:40,minDataValue:i,maxDataValue:r}]}const i=null!=e.multidimensionalInfo?T.get(e.multidimensionalInfo.variables[0].unit):null,r=new y.Z({visualVariables:t,inputUnit:i,rotationType:"geographic"});return r.visualVariables=[...r.sizeVariables,...r.rotationVariables],r}(e);if(null!=t)return t}if(null!=n){const t=function(e){if(!(0,l.mO)(e))return null;let t;const{attributeTable:i,colormap:r}=e;if(null!=i){const e=D(i,"value"),r=A(i,null,!0);"string"===r.type&&(t={},i.features.forEach((i=>{const n=i.attributes;t[n[e.name]]=r?n[r.name]:n[e.name]})))}return m.Z.createFromColormap(r,t)}(e);if(null!=t)return t}if(null!=i){const t=function(e,t,i,n){if(!(0,l.MG)(e,t))return null;const{attributeTable:a,statistics:c}=e,d=A(a,t),m=D(a,"red"),y=D(a,"green"),g=D(a,"blue"),h=new o.Z,w=[],f=new Set,I=!!(m&&y&&g);if(null!=a)a.features.forEach((e=>{const t=e.attributes[d.name];if(!f.has(e.attributes[d.name])&&null!=t){f.add(t);const i=I&&("single"===m.type||"double"===m.type)&&("single"===y.type||"double"===y.type)&&("single"===g.type||"double"===g.type)&&!a.features.some((e=>e.attributes[m.name]>1||e.attributes[y.name]>1||e.attributes[g.name]>1)),n=i?255:1;w.push(new u.Z({value:e.attributes[d.name],label:e.attributes[d.name]+"",symbol:{type:"simple-fill",style:"solid",outline:null,color:new r.Z(I?[e.attributes[m.name]*n,e.attributes[y.name]*n,e.attributes[g.name]*n,1]:[0,0,0,0])}}))}}));else if(c?.[0])for(let e=c[0].min;e<=c[0].max;e++)w.push(new u.Z({value:e,label:e.toString(),symbol:{type:"simple-fill",style:"solid",outline:null,color:new r.Z([0,0,0,0])}}));if(w.sort(((e,t)=>e.value&&"string"==typeof e.value.valueOf()?0:e.value>t.value?1:-1)),!I){const e=(0,s.Jw)(M,{numColors:w.length});w.forEach(((t,i)=>t.symbol.color=new r.Z(e[i].slice(1,4)))),h.colorRamp=M}return new p.Z({field:d.name,uniqueValueInfos:w,authoringInfo:h})}(e);if(null!=t)return t}return function(e,t){e=v(e,t?.variableName);const{bandCount:i}=e;let{bandIds:r,stretchType:n}=t||{};r?.some((e=>e>=i))&&(r=null);let a=e.statistics,o=e.histograms;i>1?(r=r?.length?r:C(e),a=null==a?null:r?.map((e=>a[e])),o=null==o?null:r?.map((e=>o[e]))):r=[0],null==n&&(n=function(e){let t="percent-clip";const{pixelType:i,dataType:r,histograms:n,statistics:a,multidimensionalInfo:o}=e,s=w.has(r)||"generic"===r&&null!=o;return"u8"!==i||"processed"!==r&&null!=n&&null!=a?"u8"===i||"elevation"===r||s?t="min-max":null!=n?t="percent-clip":null!=a&&(t="min-max"):t="none",t}(e));let s=!1;switch(n){case"none":s=!1;break;case"percent-clip":s=!o?.length;break;default:s=!a?.length}const{dataType:l}=e,u=1===r?.length&&w.has(l)?h:null,c=new d.Z({stretchType:n,dynamicRangeAdjustment:s,colorRamp:u,outputMin:0,outputMax:255,gamma:1===r?.length?[1]:[1,1,1],useGamma:!1});return"percent-clip"===n?c.maxPercent=c.minPercent=g:"standard-deviation"===n&&(c.numberOfStandardDeviations=2),s||null==e.multidimensionalInfo&&!t?.includeStatisticsInStretch||("percent-clip"===n?c.histograms=o:"min-max"!==n&&"standard-deviation"!==n||(c.statistics=a)),c}(e,t)}function I(e,t=!1){const i=["raster-stretch"];return(0,l.mO)(e,t)&&i.push("raster-colormap"),(0,l.MG)(e)&&i.push("unique-value"),(0,l.fI)(e,t)&&i.push("class-breaks"),(0,l.jX)(e)&&i.push("raster-shaded-relief"),(0,l.LV)(e)&&i.push("vector-field"),(0,l.aG)(e)&&i.push("flow"),i}function b(e,t,i){const r=["nearest","bilinear","cubic","majority"].find((e=>e===i?.toLowerCase()));return"Map"===t?r??"bilinear":"standard-time"===e.dataType?r??"nearest":"thematic"===e.dataType||e.attributeTable||e.colormap?"nearest"===r||"majority"===r?r:"nearest":r??"bilinear"}function v(e,t){if(!t)return e;let i=e.statistics,r=e.histograms;const{multidimensionalInfo:n}=e;if(t&&null!=n){const e=n.variables.find((e=>e.name===t));if(e){const{statistics:t,histograms:n}=e;t?.length&&(i=t),n?.length&&(r=n)}}return a.Z.fromJSON({...e.toJSON(),statistics:i,histograms:r})}function C(e){const t=e.bandCount;if(1===t)return null;if(2===t)return[0];const{bandInfos:i}=e;let r;if(i.length===t){const{red:e,green:t,blue:n,nir:a}=function(e){const t={};for(let i=0;i<e.length;i++){const r=e[i],n=r.name.toLowerCase();if("red"===n)t.red=i;else if("green"===n)t.green=i;else if("blue"===n)t.blue=i;else if("nearinfrared"===n||"nearinfrared_1"===n||"nir"===n)t.nir=i;else if(r.maxWavelength&&r.minWavelength){const e=r.minWavelength,n=r.maxWavelength;null==t.blue&&e>=410&&e<=480&&n>=480&&n<=540?t.blue=i:null==t.green&&e>=490&&e<=560&&n>=560&&n<=610?t.green=i:null==t.red&&e>=595&&e<=670&&n>=660&&n<=730?t.red=i:null==t.nir&&e>=700&&e<=860&&n>=800&&n<=950&&(t.nir=i)}}return t}(i);null!=e&&null!=t&&null!=n?r=[e,t,n]:null!=a&&null!=e&&null!=t&&(r=[a,e,t])}return!r&&t>=3&&(r=[0,1,2]),r}function A(e,t,i){let r;return null!=e?(r=t?e.fields.find((e=>t.toLowerCase()===e.name.toLowerCase())):function(e){let t;for(let i=0;i<e.length;i++){const r=e[i].name.toLowerCase();if("string"===e[i].type){if(r.startsWith("class")){t=e[i];break}null==t&&(r.endsWith("name")||r.endsWith("type"))&&(t=e[i])}}return t}(e.fields),r||(i||(r=e.fields.find((e=>"string"===e.type))),r||(r=D(e,"value")))):r=new n.Z({name:"value"}),r}function D(e,t){return null==e?null:e.fields.find((e=>e.name.toLowerCase()===t))}const T=new Map([["m/s","meter-per-second"],["km/h","kilometer-per-hour"],["knots","knots"],["ft/s","feet-per-second"],["mph","mile-per-hour"]]);function j(e){return{color:e.symbolLayers[0].material?.color,type:"esriSFS",style:"esriSFSSolid"}}function N(e){if("uniqueValue"===e.type){const t=e.uniqueValueInfos,i=t?.[0].symbol;return i?.symbolLayers?.length&&(e.uniqueValueInfos=t?.map((e=>({value:e.value,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}if("classBreaks"===e.type){const t=e.classBreakInfos,i=t[0].symbol;return i?.symbolLayers?.length&&(e.classBreakInfos=t.map((e=>({classMinValue:e.classMinValue,classMaxValue:e.classMaxValue,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}return e}},26059:(e,t,i)=>{i.d(t,{N:()=>p,g:()=>d});var r=i(3172),n=i(6570),a=i(94139),o=i(82971),s=i(25972),l=i(11282),u=i(74889);async function c(e,t,i){const c=(0,l.en)(e),{rasterFunction:d,sourceJSON:p}=t||{},m=d?JSON.stringify(d.rasterFunctionDefinition||d):null,y=(0,l.cv)({...c.query,renderingRule:m,f:"json"}),g=(0,l.lA)(y,i);e=c.path;const h=p||await(0,r.default)(e,g).then((e=>e.data)),M=h.hasRasterAttributeTable?(0,r.default)(`${e}/rasterAttributeTable`,g):null,w=h.hasColormap?(0,r.default)(`${e}/colormap`,g):null,f=h.hasHistograms?(0,r.default)(`${e}/histograms`,g):null,I=h.currentVersion>=10.3?(0,r.default)(`${e}/keyProperties`,g):null,b=h.hasMultidimensions?(0,r.default)(`${e}/multidimensionalInfo`,g):null,v=await Promise.allSettled([M,w,f,I,b]);let C=null;if(h.minValues&&h.minValues.length===h.bandCount){C=[];for(let e=0;e<h.minValues.length;e++)C.push({min:h.minValues[e],max:h.maxValues[e],avg:h.meanValues[e],stddev:h.stdvValues[e]})}const A=n.Z.fromJSON(h.extent),D=Math.ceil(A.width/h.pixelSizeX-.1),T=Math.ceil(A.height/h.pixelSizeY-.1),j=o.Z.fromJSON(h.spatialReference||h.extent.spatialReference),N="fulfilled"===v[0].status&&v[0].value?u.Z.fromJSON(v[0].value.data):null,S="fulfilled"===v[1].status?v[1].value?.data.colormap:null,L="fulfilled"===v[2].status?v[2].value?.data.histograms:null,Z="fulfilled"===v[3].status?v[3].value?.data??{}:{},x="fulfilled"===v[4].status?v[4].value?.data.multidimensionalInfo:null;x?.variables?.length&&x.variables.forEach((e=>{e.statistics?.length&&e.statistics.forEach((e=>{e.avg=e.mean,e.stddev=e.standardDeviation}))}));const{defaultVariable:U,serviceDataType:_}=h;U&&U!==Z.DefaultVariable&&(Z.DefaultVariable=U),_&&_.includes("esriImageServiceDataTypeVector")&&!_.includes(Z.DataType)&&(Z.DataType=_.replace("esriImageServiceDataType",""));let z=h.noDataValue;return h.noDataValues?.length&&h.noDataValues.some((e=>e!==z))&&(z=h.noDataValues),new s.Z({width:D,height:T,bandCount:h.bandCount,extent:n.Z.fromJSON(h.extent),spatialReference:j,pixelSize:new a.Z({x:h.pixelSizeX,y:h.pixelSizeY,spatialReference:j}),pixelType:h.pixelType.toLowerCase(),statistics:C,attributeTable:N,colormap:S,histograms:L,keyProperties:Z,noDataValue:z,multidimensionalInfo:x})}function d(e,t,i){return c(e,{sourceJSON:t},i)}function p(e,t,i){return c(e,{rasterFunction:t},i)}},74889:(e,t,i)=>{i.d(t,{Z:()=>f});var r,n=i(43697),a=i(66577),o=i(38171),s=i(35454),l=i(96674),u=i(22974),c=i(5600),d=(i(75215),i(71715)),p=i(52011),m=i(30556),y=i(82971),g=i(33955),h=i(1231);const M=new s.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends l.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 i=y.Z.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const n=e[t],a=o.Z.fromJSON(n),s=n.geometry&&n.geometry.spatialReference;null==a.geometry||s||(a.geometry.spatialReference=i);const l=n.aggregateGeometries,u=a.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}r.push(a)}return r}writeGeometryType(e,t,i,r){if(e)return void M.write(e,t,i,r);const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry)return void M.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,g.im)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=y.Z.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,u.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 i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e&&e[i];r.geometry=t&&t.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,n]}=e,a=this.features,o=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-r)/t)),(e=>Math.round((n-e)/i)));for(let e=0,t=a.length;e<t;e++)o?.(a[e].geometry)||(a.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,n],scale:[a,o]}=i;let s=null,l=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;s=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;l=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,(e=>e*a+r),(e=>n-e*o),s,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}_quantizePoints(e,t,i){let r,n;const a=[];for(let o=0,s=e.length;o<s;o++){const s=e[o];if(o>0){const e=t(s[0]),o=i(s[1]);e===r&&o===n||(a.push([e-r,o-n]),r=e,n=o)}else r=t(s[0]),n=i(s[1]),a.push([r,n])}return a.length>0?a:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,g.oU)(e)?e.rings:e.paths,n=[];for(let e=0,a=r.length;e<a;e++){const a=r[e],o=this._quantizePoints(a,t,i);o&&n.push(o)}return n.length>0?((0,g.oU)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,n){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const a=(0,g.oU)(e)?e.rings:e.paths;let o,s;for(let e=0,r=a.length;e<r;e++){const r=a[e];for(let e=0,n=r.length;e<n;e++){const n=r[e];e>0?(o+=n[0],s+=n[1]):(o=n[0],s=n[1]),n[0]=t(o),n[1]=i(s)}}if(r&&n)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=n(i[3])}}else if(r)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(n)for(let e=0,t=a.length;e<t;e++){const t=a[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=n(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const a=e.points;let o,s;for(let e=0,r=a.length;e<r;e++){const r=a[e];e>0?(o+=r[0],s+=r[1]):(o=r[0],s=r[1]),r[0]=t(o),r[1]=i(s)}if(r&&n)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=r(t[2]),t[3]=n(t[3])}else if(r)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=r(t[2])}else if(n)for(let e=0,t=a.length;e<t;e++){const t=a[e];t[2]=n(t[2])}}:null}};(0,n._)([(0,c.Cb)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,n._)([(0,c.Cb)({type:[o.Z],json:{write:!0}})],w.prototype,"features",void 0),(0,n._)([(0,d.r)("features")],w.prototype,"readFeatures",null),(0,n._)([(0,c.Cb)({type:[h.Z],json:{write:!0}})],w.prototype,"fields",void 0),(0,n._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:M.read}}})],w.prototype,"geometryType",void 0),(0,n._)([(0,m.c)("geometryType")],w.prototype,"writeGeometryType",null),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,n._)([(0,c.Cb)({types:a.qM,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,n._)([(0,d.r)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,n._)([(0,c.Cb)({type:y.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,n._)([(0,m.c)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,n._)([(0,c.Cb)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,n._)([(0,p.j)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const f=w},79681:(e,t,i)=>{i.d(t,{Z:()=>f});var r,n=i(43697),a=i(66577),o=i(92835),s=i(60235),l=i(96674),u=i(22974),c=i(92604),d=i(5600),p=(i(75215),i(52011)),m=i(30556),y=i(33955),g=i(98974),h=i(45663),M=i(94139);let w=r=class extends l.wq{constructor(){super(...arguments),this.geometry=null,this.mosaicRule=null,this.rasterFunction=null,this.pixelSize=null,this.raster=void 0,this.timeExtent=null}writeGeometry(e,t,i){null!=e&&(t.geometryType=(0,y.Ji)(e),t[i]=e.toJSON())}get renderingRule(){return(0,s.Mr)(c.Z.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0}),this._get("rasterFunction")}set renderingRule(e){(0,s.Mr)(c.Z.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0}),this._set("rasterFunction",e)}clone(){return new r((0,u.d9)({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,pixelSize:this.pixelSize,raster:this.raster,timeExtent:this.timeExtent}))}};(0,n._)([(0,d.Cb)({types:a.qM,json:{read:y.im}})],w.prototype,"geometry",void 0),(0,n._)([(0,m.c)("geometry")],w.prototype,"writeGeometry",null),(0,n._)([(0,d.Cb)({type:g.Z,json:{write:!0}})],w.prototype,"mosaicRule",void 0),(0,n._)([(0,d.Cb)({type:h.Z})],w.prototype,"renderingRule",null),(0,n._)([(0,d.Cb)({type:h.Z,json:{write:!0,name:"renderingRule"}})],w.prototype,"rasterFunction",void 0),(0,n._)([(0,d.Cb)({type:M.Z,json:{write:!0}})],w.prototype,"pixelSize",void 0),(0,n._)([(0,d.Cb)({json:{write:!0}})],w.prototype,"raster",void 0),(0,n._)([(0,d.Cb)({type:o.Z,json:{read:{source:"time"},write:{target:"time"}}})],w.prototype,"timeExtent",void 0),w=r=(0,n._)([(0,p.j)("esri.rest.support.ImageHistogramParameters")],w);const f=w},32163:(e,t,i)=>{i.d(t,{eZ:()=>u});var r=i(51773),n=i(35671),a=i(84649),o=(i(63801),i(48074),i(38745),i(9190)),s=(i(10214),i(71423),i(44951),i(422)),l=i(29986);function u({displayField:e,editFieldsInfo:t,fields:i,objectIdField:l,title:u},m){if(!i)return null;const g=function(e,t){const i=t?.visibleFieldNames;return function(e,t){const i=e;return t&&(e=e.filter((e=>!t.includes(e.type)))),e===i&&(e=e.slice()),e.sort(d),e}(e.fields??[],t?.ignoreFieldTypes||y).map((t=>new s.Z({fieldName:t.name,isEditable:(0,n.Hp)(t,e),label:t.alias,format:p(t),visible:c(t,{...e,visibleFieldNames:i})})))}({editFieldsInfo:t,fields:i,objectIdField:l},m);if(!g.length)return null;const h=function(e){const t=(0,n.O5)(e),{titleBase:i}=e;return t?`${i}: {${t.trim()}}`:i??""}({titleBase:u,fields:i,displayField:e}),M=[new o.Z,new a.Z];return new r.Z({title:h,content:M,fieldInfos:g})}const c=(e,t)=>t.visibleFieldNames?t.visibleFieldNames.has(e.name):(0,n.Fv)(e,t);function d(e,t){return"oid"===e.type?-1:"oid"===t.type?1:m(e)?-1:m(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function p(e){switch(e.type){case"small-integer":case"integer":case"single":return new l.Z({digitSeparator:!0,places:0});case"double":return new l.Z({digitSeparator:!0,places:2});case"date":return new l.Z({dateFormat:"long-month-day-year"});default:return"string"===e.type&&(0,n.Ec)(e.name)?new l.Z({digitSeparator:!0,places:0}):null}}function m(e){return"name"===(e.name&&e.name.toLowerCase())||"name"===(e.alias&&e.alias.toLowerCase())}const y=["geometry","blob","raster","guid","xml"]}}]);