@arcgis/core 5.2.0-next.47 → 5.2.0-next.49

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 (317) hide show
  1. package/applications/Components/OrientedImageryViewer/PanoramicViewer/utils.d.ts +33 -0
  2. package/applications/Components/OrientedImageryViewer/PanoramicViewer/utils.js +2 -0
  3. package/arcgisGlobal.d.ts +2 -0
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/003a87b16f8a4b476e14.js +1 -0
  6. package/assets/esri/core/workers/chunks/031ccf2e1583beebdf24.js +1 -0
  7. package/assets/esri/core/workers/chunks/0474af7687466d8befd2.js +1 -0
  8. package/assets/esri/core/workers/chunks/{2a4868acd546312aa6d8.js → 05f6887805d92da03122.js} +1 -1
  9. package/assets/esri/core/workers/chunks/069b6d8bdb34ee88d437.js +1 -0
  10. package/assets/esri/core/workers/chunks/{f9b2727b41943d83d4ca.js → 0a413d917f3d19440fc1.js} +1 -1
  11. package/assets/esri/core/workers/chunks/0b2ca406761c63529a6a.js +1 -0
  12. package/assets/esri/core/workers/chunks/{68f7eaa3122de7c00adb.js → 0ea374f7b16745b9bbc7.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{c369d4266f38e9ea6592.js → 1119a33245138e7b3914.js} +1 -1
  14. package/assets/esri/core/workers/chunks/12e0c5b7cc5c3f9e6f0f.js +1 -0
  15. package/assets/esri/core/workers/chunks/172571397c66f992d08c.js +1 -0
  16. package/assets/esri/core/workers/chunks/18edf2846d7546285e5e.js +1 -0
  17. package/assets/esri/core/workers/chunks/1b0557fcb058fc450230.js +1 -0
  18. package/assets/esri/core/workers/chunks/{98f575c038da74ced2a6.js → 1bc45872d22d61dbd7d1.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{835643f716f7058a2722.js → 1cf8fb704c48ac3d3b15.js} +1 -1
  20. package/assets/esri/core/workers/chunks/25cb56c3b538d00e7693.js +1 -0
  21. package/assets/esri/core/workers/chunks/{4d4710d57c72ec75cccc.js → 26f1fd3f2be5102aae1d.js} +1 -1
  22. package/assets/esri/core/workers/chunks/285a5bd708f0fe1c620c.js +1 -0
  23. package/assets/esri/core/workers/chunks/{7777a79f26a06a6c5240.js → 304a22c580ce103480cb.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{383392c63202ac044b6c.js → 33bd9785bd0b6ccef21b.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{2c0d92c0e3511775401a.js → 35cbf00f0c37a86517af.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{0f19bc532be24ca64755.js → 36fe6adf6517d8f80125.js} +1 -1
  27. package/assets/esri/core/workers/chunks/382d9491c2a56c1925fe.js +1 -0
  28. package/assets/esri/core/workers/chunks/3af2b9d6d5466cb2b957.js +256 -0
  29. package/assets/esri/core/workers/chunks/{b3cd17daf5a297b96705.js → 3bc2943035391b44d4cf.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{d36f17d32c654b1ac7fa.js → 3f1a7f8a9ead64bf0b7b.js} +1 -1
  31. package/assets/esri/core/workers/chunks/40f7bb0ebd918d76f078.js +1 -0
  32. package/assets/esri/core/workers/chunks/43b39abd49c4a8ce891f.js +1 -0
  33. package/assets/esri/core/workers/chunks/{821176ee3be724621bb0.js → 461c2de938bf4c9b1442.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{cc637aec16918052548e.js → 47af3525396f890f2a6b.js} +1 -1
  35. package/assets/esri/core/workers/chunks/4ee7232ea41fa41c5ed4.js +29 -0
  36. package/assets/esri/core/workers/chunks/4ee900e5dbb130fa0c7b.js +1 -0
  37. package/assets/esri/core/workers/chunks/50674ba5f24129d61d89.js +1 -0
  38. package/assets/esri/core/workers/chunks/547a2fe53139f705f95e.js +1 -0
  39. package/assets/esri/core/workers/chunks/5ce09c4d06e98b1e9251.js +1 -0
  40. package/assets/esri/core/workers/chunks/5dbd28fce73751d2d1aa.js +1 -0
  41. package/assets/esri/core/workers/chunks/5ec8b02e097cf6718462.js +1 -0
  42. package/assets/esri/core/workers/chunks/5f54d927dc77e92cf145.js +1 -0
  43. package/assets/esri/core/workers/chunks/63e3d338751240479335.js +1 -0
  44. package/assets/esri/core/workers/chunks/69b9a327f23e052fced7.js +1 -0
  45. package/assets/esri/core/workers/chunks/6c2b5087a9df65267f4e.js +1 -0
  46. package/assets/esri/core/workers/chunks/6ccd5fa5e35dc70fcd5d.js +1 -0
  47. package/assets/esri/core/workers/chunks/6e520ef645c5edcd499a.js +1 -0
  48. package/assets/esri/core/workers/chunks/7659391f952d134164cf.js +1 -0
  49. package/assets/esri/core/workers/chunks/78add8e6b54b51eaa299.js +1 -0
  50. package/assets/esri/core/workers/chunks/{2b669473aa2c7cfb63c7.js → 7b0ed52363704cfce129.js} +1 -1
  51. package/assets/esri/core/workers/chunks/7b61f56d0f766421eaef.js +1 -0
  52. package/assets/esri/core/workers/chunks/7f2f2a92dce3f68e579b.js +1 -0
  53. package/assets/esri/core/workers/chunks/801a664f21e0218bc705.js +1 -0
  54. package/assets/esri/core/workers/chunks/{8f9fb4e8a7d73db41664.js → 851bcc75acac4a2f199b.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{6010b7be978698a642d0.js → 8977c85aecc7e08ab13c.js} +1 -1
  56. package/assets/esri/core/workers/chunks/8c5726c7ce40a92901e6.js +1 -0
  57. package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +1 -0
  58. package/assets/esri/core/workers/chunks/9008090a5d8431ddfa22.js +1 -0
  59. package/assets/esri/core/workers/chunks/{f2adf1227a795604d3b8.js → 90ae80b797642bff0efa.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{71ce1009dadcae8f8094.js → 95b3b8fe45ef4ac6b277.js} +1 -1
  61. package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +1 -0
  62. package/assets/esri/core/workers/chunks/99eccf9ce53582cfa5b5.js +1 -0
  63. package/assets/esri/core/workers/chunks/9b7cb96acea388d86fa4.js +1 -0
  64. package/assets/esri/core/workers/chunks/{dee4019338a79c1ecd26.js → 9d0a9d465ec3a8ba1ed2.js} +1 -1
  65. package/assets/esri/core/workers/chunks/9e474465d069cb9e94f5.js +1 -0
  66. package/assets/esri/core/workers/chunks/aa3abc07de2921ef6ca1.js +1 -0
  67. package/assets/esri/core/workers/chunks/{ae9f9e975d7a9d442fa5.js → ab5aa4280ed0cb7fcbe9.js} +1 -1
  68. package/assets/esri/core/workers/chunks/b03f09ee2224f0cc526a.js +1 -0
  69. package/assets/esri/core/workers/chunks/{ee58f4bbc0a1f7d03df0.js → b32ede7805c7c6644e4c.js} +1 -1
  70. package/assets/esri/core/workers/chunks/b49952541d189b4b9f7e.js +1 -0
  71. package/assets/esri/core/workers/chunks/b8bdacebd4d24ba90f3f.js +1 -0
  72. package/assets/esri/core/workers/chunks/{85cd0cd721b27c497b18.js → baac90da0703891d59c4.js} +1 -1
  73. package/assets/esri/core/workers/chunks/bb552089b34d6811fb03.js +1 -0
  74. package/assets/esri/core/workers/chunks/cd1f1a72483b7c80bd9a.js +1 -0
  75. package/assets/esri/core/workers/chunks/{744f34e379484e63277c.js → cdb331b58e22f8c1c988.js} +2 -2
  76. package/assets/esri/core/workers/chunks/{b23d1e10fc4161d1f3eb.js → d021775cf747556660a5.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{728ea88e7d4733230e1f.js → d1af0bd611a3dc549858.js} +85 -81
  78. package/assets/esri/core/workers/chunks/d2cb3d5ef0a9285afb78.js +1 -0
  79. package/assets/esri/core/workers/chunks/d49e42f36bc3dc256b9f.js +1 -0
  80. package/assets/esri/core/workers/chunks/d560ed96dde5ca3a5583.js +1 -0
  81. package/assets/esri/core/workers/chunks/dc1787d88b11ed985159.js +1 -0
  82. package/assets/esri/core/workers/chunks/{399e23d777a043efa9f1.js → dd95f50dac3f33cdb6d2.js} +1 -1
  83. package/assets/esri/core/workers/chunks/ddb92c815d17c67a45e6.js +1 -0
  84. package/assets/esri/core/workers/chunks/{7c2784ebbe17d79f669c.js → de50a19944617cd426b8.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{52efa4ded11c1e71f04f.js → e2e2162adbfb9b46bede.js} +1 -1
  86. package/assets/esri/core/workers/chunks/e4353f0792f45aa6a62f.js +1 -0
  87. package/assets/esri/core/workers/chunks/eac8cae89da9ce2f4946.js +1 -0
  88. package/assets/esri/core/workers/chunks/edf87407dd20685c82ab.js +1 -0
  89. package/assets/esri/core/workers/chunks/ee7c8a7f384ea6393487.js +705 -0
  90. package/assets/esri/core/workers/chunks/f1299b4fc760ccca1518.js +1 -0
  91. package/assets/esri/core/workers/chunks/f244632f7934a4b72c91.js +1 -0
  92. package/assets/esri/core/workers/chunks/fc639c730115e07a4a1a.js +1 -0
  93. package/assets/esri/libs/basisu/basis_encoder.wasm +0 -0
  94. package/assets/esri/libs/basisu/basis_transcoder.wasm +0 -0
  95. package/assets/esri/libs/dxtEncoder/dxt_encoder.wasm +0 -0
  96. package/chunks/Component.glsl.js +104 -67
  97. package/chunks/DefaultMaterial.glsl.js +1 -1
  98. package/chunks/LineMarker.glsl.js +31 -31
  99. package/chunks/RibbonLine.glsl.js +60 -49
  100. package/chunks/basis_encoder.js +1 -1
  101. package/chunks/basis_transcoder.js +1 -1
  102. package/chunks/dxt_encoder.js +1 -1
  103. package/chunks/vec3.js +1 -1
  104. package/config.js +1 -1
  105. package/core/has.js +1 -1
  106. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  107. package/core/promiseUtils.js +1 -1
  108. package/core/workers/workerFactory.js +1 -1
  109. package/geometry/Mesh.d.ts +4 -4
  110. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +13 -1
  111. package/geometry/support/MeshMaterialMetallicRoughness.js +1 -1
  112. package/geometry/support/aaBoundingBox.js +1 -1
  113. package/geometry/support/buffer/math/vec3.js +1 -1
  114. package/geometry/support/frustum.js +1 -1
  115. package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
  116. package/geometry/support/meshUtils/extent.js +1 -1
  117. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  118. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  119. package/geometry/support/meshUtils.d.ts +33 -5
  120. package/geometry/support/plane.js +1 -1
  121. package/kernel.js +1 -1
  122. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  123. package/layers/orientedImagery/transformations/utils.js +1 -1
  124. package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
  125. package/layers/raster/formats/JpgPlus.js +1 -1
  126. package/layers/raster/formats/RasterCodec.js +1 -1
  127. package/layers/raster/formats/TiffDecoder.js +1 -1
  128. package/layers/raster/formats/Zlib.js +2 -0
  129. package/package.json +2 -2
  130. package/rest/featureService/FeatureService.d.ts +74 -1
  131. package/rest/featureService/FeatureService.js +1 -1
  132. package/support/revision.js +1 -1
  133. package/symbols/ObjectSymbol3DLayer.d.ts +10 -8
  134. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  135. package/symbols/cim/CIMSymbolHelper.js +1 -1
  136. package/symbols/cim/TextRasterizer.js +1 -1
  137. package/symbols/cim/cimAnalyzer.js +1 -1
  138. package/symbols/cim/richTextUtils.js +2 -0
  139. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +9 -4
  140. package/views/2d/analysis/AreaMeasurement/AreaMeasurementAreaVisualization.js +1 -1
  141. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  142. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementTool.js +1 -1
  143. package/views/2d/engine/webgl/TextureManager.js +1 -1
  144. package/views/2d/engine/webgl/definitions.js +1 -1
  145. package/views/2d/engine/webgl/mesh/MultiTileMeshData.js +1 -1
  146. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  147. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
  148. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  149. package/views/2d/engine/webgl/util/DimensionMatcher.js +1 -1
  150. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  151. package/views/2d/layers/features/Processor.js +1 -1
  152. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  153. package/views/2d/layers/features/processor/AggregateStrategy.js +2 -0
  154. package/views/2d/layers/features/processor/bins/BinAdapter.js +2 -0
  155. package/views/2d/layers/features/processor/bins/BinLevelState.js +2 -0
  156. package/views/2d/layers/features/processor/bins/BinState.js +2 -0
  157. package/views/2d/layers/features/processor/bins/createBinningStrategy.js +2 -0
  158. package/views/2d/layers/features/processor/clusters/ClusterAdapter.js +2 -0
  159. package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +2 -0
  160. package/views/2d/layers/features/processor/clusters/ClusterSendState.js +2 -0
  161. package/views/2d/layers/features/processor/clusters/createClusterStrategy.js +2 -0
  162. package/views/2d/layers/features/processor/createAggregateStrategy.js +2 -0
  163. package/views/2d/layers/features/processor/tracks/Track.js +2 -0
  164. package/views/2d/layers/features/processor/tracks/TrackAdapter.js +2 -0
  165. package/views/2d/layers/features/processor/tracks/TrackLevelState.js +2 -0
  166. package/views/2d/layers/features/processor/tracks/TrackSendState.js +2 -0
  167. package/views/2d/layers/features/processor/tracks/createTrackStrategy.js +2 -0
  168. package/views/2d/layers/features/schema/processor/symbols/SymbolSchema.js +1 -1
  169. package/views/2d/layers/features/support/FeatureSetReaderIndirect.js +1 -1
  170. package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
  171. package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
  172. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
  173. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  174. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  175. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  176. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  177. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  178. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  179. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  180. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  181. package/views/3d/focusAreaUtils.js +1 -1
  182. package/views/3d/glTF/LoaderResult.js +1 -1
  183. package/views/3d/glTF/internal/Resource.js +1 -1
  184. package/views/3d/glTF/loader.js +1 -1
  185. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  186. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  187. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  188. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  189. package/views/3d/layers/graphics/wosrLoader.js +1 -1
  190. package/views/3d/layers/i3s/meshUtils.js +1 -1
  191. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  192. package/views/3d/webgl/RenderCamera.js +1 -1
  193. package/views/3d/webgl/RenderNode.js +1 -1
  194. package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
  195. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  196. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
  197. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
  198. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +36 -25
  199. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +19 -20
  200. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +17 -10
  201. package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
  202. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  203. package/views/3d/webgl-engine/lib/NavigationDepthCache.js +1 -1
  204. package/views/3d/webgl-engine/lib/NavigationDepthCacheStore.js +2 -0
  205. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  206. package/views/3d/webgl-engine/lib/PolygonIntersections2D.js +1 -1
  207. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  208. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  209. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  210. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  211. package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
  212. package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
  213. package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
  214. package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
  215. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  216. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  217. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  218. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  219. package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +8 -5
  220. package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
  221. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  222. package/views/3d/webgl-engine/shaders/RibbonLineLayouts.js +1 -1
  223. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  224. package/views/3d/webgl-engine/shaders/RibbonLineTextureBuffer.glsl.js +1 -1
  225. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  226. package/views/PopupView.js +1 -1
  227. package/views/SceneView.js +1 -1
  228. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  229. package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
  230. package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
  231. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorkerHandle.js +1 -1
  232. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  233. package/views/selection/SelectionOperation.js +1 -1
  234. package/views/support/AnalysisViewManager.js +1 -1
  235. package/views/support/DefaultsFromMap.js +1 -1
  236. package/views/support/LayerViewManager.js +1 -1
  237. package/views/support/TextureCompressionWorker.js +1 -1
  238. package/views/webgl/RenderingContext.js +1 -1
  239. package/widgets/Editor.js +1 -1
  240. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  241. package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
  242. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  243. package/widgets/PanoramicViewer/support/PanoramicTileNode.d.ts +63 -0
  244. package/widgets/PanoramicViewer/support/PanoramicTileNode.js +1 -1
  245. package/widgets/PanoramicViewer/support/PanoramicTilePyramid.d.ts +66 -0
  246. package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +1 -1
  247. package/widgets/PanoramicViewer/utils.js +1 -1
  248. package/widgets/Sketch/VisibleElements.d.ts +0 -10
  249. package/widgets/Sketch.js +1 -1
  250. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  251. package/widgets/support/SelectionToolbar.js +1 -1
  252. package/widgets/support/Selector3D/selectorUtils.js +2 -0
  253. package/assets/esri/core/workers/chunks/0115681a3de6df0aebdf.js +0 -1
  254. package/assets/esri/core/workers/chunks/025caafc70ac26f0a4ed.js +0 -1
  255. package/assets/esri/core/workers/chunks/08e18fb12533fc76e49c.js +0 -1
  256. package/assets/esri/core/workers/chunks/0e64e20fedfe01a1985f.js +0 -1
  257. package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +0 -1
  258. package/assets/esri/core/workers/chunks/15351354afcbf840a23d.js +0 -29
  259. package/assets/esri/core/workers/chunks/176c5eaaa23a479c88e0.js +0 -1
  260. package/assets/esri/core/workers/chunks/1d1f5578c7d8619f7a46.js +0 -1
  261. package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +0 -1
  262. package/assets/esri/core/workers/chunks/2015f4def2ef201bdab8.js +0 -1
  263. package/assets/esri/core/workers/chunks/268637fd6c50264acfc3.js +0 -1
  264. package/assets/esri/core/workers/chunks/272c8ab189217240d05f.js +0 -1
  265. package/assets/esri/core/workers/chunks/296fa9fb80e521c30cb1.js +0 -1
  266. package/assets/esri/core/workers/chunks/354199a41de44902de84.js +0 -1
  267. package/assets/esri/core/workers/chunks/384b619854ef8a3f6e94.js +0 -1
  268. package/assets/esri/core/workers/chunks/3af923abeb6e65c4468f.js +0 -1
  269. package/assets/esri/core/workers/chunks/46d3ddf62fa7a76dd57d.js +0 -1
  270. package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +0 -1
  271. package/assets/esri/core/workers/chunks/4f09f208ece2ec1db727.js +0 -1
  272. package/assets/esri/core/workers/chunks/57374213084bef59b776.js +0 -1
  273. package/assets/esri/core/workers/chunks/5f9c4dad6952c4c58ebf.js +0 -1
  274. package/assets/esri/core/workers/chunks/706230b70a36d2e038f7.js +0 -1
  275. package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +0 -1
  276. package/assets/esri/core/workers/chunks/8026cc0065f6520c4161.js +0 -1
  277. package/assets/esri/core/workers/chunks/804ab5f614efa12a131b.js +0 -1
  278. package/assets/esri/core/workers/chunks/81d55594cee124040565.js +0 -1
  279. package/assets/esri/core/workers/chunks/8d21f3d6edbcd7b335d0.js +0 -1
  280. package/assets/esri/core/workers/chunks/8d90bef1091204fba0f1.js +0 -1
  281. package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +0 -1
  282. package/assets/esri/core/workers/chunks/9114a575b78a7ea18d0f.js +0 -1
  283. package/assets/esri/core/workers/chunks/93e705c1147cc8ceca02.js +0 -1
  284. package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +0 -1
  285. package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +0 -1
  286. package/assets/esri/core/workers/chunks/a8033e606b2db1ee332d.js +0 -1
  287. package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +0 -1
  288. package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +0 -1
  289. package/assets/esri/core/workers/chunks/ad5c2b0de6713d0a93a4.js +0 -680
  290. package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +0 -1
  291. package/assets/esri/core/workers/chunks/aea247138617e12b699b.js +0 -1
  292. package/assets/esri/core/workers/chunks/b03dcf3d55266745f3d1.js +0 -1
  293. package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +0 -1
  294. package/assets/esri/core/workers/chunks/bf287f0e2ecb4532dc00.js +0 -1
  295. package/assets/esri/core/workers/chunks/c01a121ebe571a848452.js +0 -1
  296. package/assets/esri/core/workers/chunks/c3cd38ca8690286d40d7.js +0 -1
  297. package/assets/esri/core/workers/chunks/c4b13124a9cfc78c42a6.js +0 -261
  298. package/assets/esri/core/workers/chunks/c5e36544b2d1792e4c5f.js +0 -1
  299. package/assets/esri/core/workers/chunks/c6042825f61cd70d54d8.js +0 -1
  300. package/assets/esri/core/workers/chunks/cba3316910ff088f4d77.js +0 -1
  301. package/assets/esri/core/workers/chunks/d8b67ca02cdc1e8191e3.js +0 -1
  302. package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +0 -1
  303. package/assets/esri/core/workers/chunks/db416ba3132034e20642.js +0 -1
  304. package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +0 -1
  305. package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +0 -1
  306. package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +0 -1
  307. package/assets/esri/core/workers/chunks/e9c48630757bea465b7e.js +0 -1
  308. package/assets/esri/core/workers/chunks/f2c8122d31aedc2604ee.js +0 -1
  309. package/assets/esri/core/workers/chunks/f8f0de841be17cd05c8f.js +0 -1
  310. package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +0 -1
  311. package/chunks/Zlib.js +0 -2
  312. package/views/2d/layers/features/processor/AAggregateStrategy.js +0 -2
  313. package/views/2d/layers/features/processor/BinningStrategy.js +0 -2
  314. package/views/2d/layers/features/processor/ClusterStrategy.js +0 -2
  315. package/views/2d/layers/features/processor/TrackStrategy.js +0 -2
  316. package/views/3d/analysis/Viewshed/ViewshedTool2.js +0 -2
  317. /package/assets/esri/core/workers/chunks/{744f34e379484e63277c.js.LICENSE.txt → cdb331b58e22f8c1c988.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6977],{69622(t,e,r){r.d(e,{A:()=>I});var n=r(51447),s=r(71511),i=r(53966),o=r(97768),a=r(56454),c=r(16649),l=r(85537),u=r(96156),h=(r(44208),r(4718)),f=r(93687),d=r(11406),p=r(62788),y=r(47328),g=r(67867);class _ extends d.T{constructor(t,e){super(),this.propertyName=t,this.metadata=e,this.trackingTarget=new g.R(this),this.flags=0,this.flags=y.i.Dirty|(e.nonNullable?y.i.NonNullable:0)|(e.hasOwnProperty("value")?y.i.HasDefaultValue:0)|(void 0===e.get?y.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?y.i.AutoTracked:0)}destroy(){this.flags&y.i.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(t,e){t.mutable&&(0,p.gc)(this);const r=t.store,n=this.propertyName,s=this.flags,i=r.get(n);if(s&y.i.Computing)return i;if(!(s&y.i.Dirty)&&r.has(n))return i;let o;this.flags|=y.i.Computing;const{host:a}=t;s&y.i.AutoTracked?o=(0,p.a)(this.trackingTarget,e,a):((0,p.Xr)(a,this),o=e.call(a)),this.flags|=y.i.DepTrackingInitialized,r.set(n,o,1);const c=r.get(n);return c===i?this.flags&=~y.i.Dirty:(0,p.F_)(this.commit,this),this.flags&=~y.i.Computing,c}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~y.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&y.i.Overridden&&(this.flags|=y.i.Dirty);const t=this._observers;if(t&&t.length>0)for(const e of t)e.onInvalidated()}onCommitted(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new m;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,h.o8)(r))}),e}get(t){return this._values.get(t)}originOf(){return 7}keys(){return[...this._values.keys()]}set(t,e){this._values.set(t,e)}delete(t){this._values.delete(t)}has(t){return this._values.has(t)}isAtOrigin(t,e){return this.has(t)}isBelowOrigin(t,e){return!this.has(t)}forEach(t){this._values.forEach(t)}}function w(t,e,r){return void 0!==t}function b(t,e,r,n){return!(void 0===t||null==r&&t.flags&y.i.NonNullable&&(n.lifecycle,l.v.INITIALIZING,1))}class A{constructor(t){this.host=t,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=l.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;const e=this.host.constructor.__accessorMetadata__;for(const t in e){const r=new _(t,e[t]);this.propertiesByName.set(t,r)}this.metadata=e}initialize(){this.lifecycle=l.v.CONSTRUCTING}constructed(){this.lifecycle=l.v.CONSTRUCTED}destroy(){this.lifecycle=l.v.DESTROYED,this.propertiesByName.forEach(t=>t.destroy())}get initialized(){return this.lifecycle!==l.v.INITIALIZING}get(t){const e=this.propertiesByName.get(t);if(!w(e))return;const r=e.metadata.get;if(r)return e.getComputed(this,r);this.mutable&&(0,p.gc)(e);const n=this.store;return n.has(t)?n.get(t):e.metadata.value}originOf(t){const e=this.store.originOf(t);if(void 0===e){const e=this.propertiesByName.get(t);if(void 0!==e&&e.flags&y.i.HasDefaultValue)return"defaults"}return(0,v.OL)(e)}has(t){return this.propertiesByName.has(t)&&this.store.has(t)}keys(){return[...this.propertiesByName.keys()]}internalGet(t){const e=this.propertiesByName.get(t);if(w(e))return this.store.has(t)?this.store.get(t):e.metadata.value}internalSet(t,e){const r=this.propertiesByName.get(t);w(r)&&this._internalSet(r,e)}getDependsInfo(t,e,r){const n=this.propertiesByName.get(e);if(!w(n))return"";const s=new g.R,i=(0,p.a)(s,()=>n.metadata.get?.call(t));let o=`${r}${t.declaredClass.split(".").pop()}.${e}: ${i}\n`;const a=s.accessed??new Set;if(0===a.size)return o;r+=" ";for(const t of a)t instanceof _&&(o+=`${r}${t.propertyName}: undefined\n`);return o}setAtOrigin(t,e,r){const n=this.propertiesByName.get(t);if(w(n))return this._setAtOrigin(n,e,r)}isOverridden(t){const e=this.propertiesByName.get(t);return void 0!==e&&!!(e.flags&y.i.Overridden)}clearOrigin(t,e){const r=this.store,n=this.propertiesByName.get(t);if(!w(n))return;const s=r.isAtOrigin(t,e)&&!(n.flags&y.i.Overridden);r.delete(t,e),s&&n.notifyChange()}clearOverride(t){const e=this.propertiesByName.get(t);e&&e.flags&y.i.Overridden&&(e.flags&=~y.i.Overridden,e.notifyChange())}override(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}r.flags|=y.i.Overridden,this._internalSet(r,e)}set(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}const s=r.metadata.set;s?s.call(this.host,e):this._internalSet(r,e)}setDefaultOrigin(t){this._origin=(0,v.aB)(t)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(t){this.propertiesByName.get(t)?.notifyChange()}invalidate(t){this.propertiesByName.get(t)?.invalidate()}commit(t){this.propertiesByName.get(t)?.commit()}_internalSet(t,e){const r=this.lifecycle!==l.v.INITIALIZING?this._origin:0;this._setAtOrigin(t,e,r)}_setAtOrigin(t,e,r){const n=this.store,s=t.propertyName,i=n.isAtOrigin(s,r);if(i&&~t.flags&y.i.Overridden&&(0,h.aI)(e,n.get(s)))return;const o=n.isBelowOrigin(s,r)||i;o&&t.invalidate(),n.set(s,e,r),o&&t.commit(),(0,p.fE)(this.host,t)}_cast(t,e){const r=N.acquire();return r.valid=!0,r.value=e,t&&(r.value=t.call(this.host,e,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new f.A(()=>new O);var k=r(47821);var S,j,T=r(14012),C=r(10107),D=r(64108);function E(t){if(null==t)return{value:t};if(Array.isArray(t))return{type:[t[0]],value:null};switch(typeof t){case"object":return t.constructor?.__accessorMetadata__||t instanceof Date?{type:t.constructor,value:t}:t;case"boolean":return{type:Boolean,value:t};case"string":return{type:String,value:t};case"number":return{type:Number,value:t};case"function":return{type:t,value:null};default:return}}const $=Symbol("Accessor-Handles"),M=Symbol("Accessor-Initialized");class I{static{S=$,j=M}static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");const{properties:e,declaredClass:r,constructor:n}=t;delete t.declaredClass,delete t.properties,delete t.constructor;const s=this;class i extends s{constructor(...t){super(...t),this.inherited=null,n&&n.apply(this,t)}}(0,u.tD)(i.prototype);for(const e in t){const r=t[e];i.prototype[e]="function"==typeof r?function(...t){const n=this.inherited;let i;this.inherited=function(...t){if(s.prototype[e])return s.prototype[e].apply(this,t)};try{i=r.apply(this,t)}catch(t){throw this.inherited=n,t}return this.inherited=n,i}:t[e]}for(const t in e){const r=E(e[t]);(0,C.MZ)(r)(i.prototype,t)}return(0,D.$)(r)(i)}static freeze(t){return t instanceof I?t.__accessor__.mutable=!1:Object.freeze(t),t}static isFrozen(t){return t instanceof I?!t.__accessor__.mutable:Object.isFrozen(t)}constructor(...t){if(this[S]=null,this[j]=!1,this.constructor===I)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");const e=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:e}),t.length>0&&(e.ctorArgs=this.normalizeCtorArgs?.apply(this,t)??t[0])}postscript(){const t=this.__accessor__,e=t.ctorArgs;t.initialize(),e&&(this.set(e),t.ctorArgs=null),t.constructed(),this.initialize(),this[M]=!0}initialize(){}[a.G](){this[$]=(0,o.pR)(this[$])}destroy(){this.destroyed||((0,T.iS)(this),this.__accessor__.destroy())}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[M]}get destroyed(){return this.__accessor__?.lifecycle===l.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===l.v.DESTROYING||!1}commitProperty(t){(0,c.Jt)(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,e){return(0,k.h)(this,t,e),this}watch(t,e,r){return(0,n.eO)(i.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,T.wB)(this,t,e,r)}addHandles(t,e){if(this.destroyed){const e=Array.isArray(t)?t:[t];for(const t of e)t.remove();return}(this[$]??=new s.A).add(t,e)}removeHandles(t){this[$]?.remove(t)}removeAllHandles(){this[$]?.removeAll()}removeHandlesReference(t){this[$]?.removeReference(t)}hasHandles(t){return!0===this[$]?.has(t)}_override(t,e){void 0===e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_overrideIfSome(t,e){null==e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,e){return this.__accessor__.internalSet(t,e),this}}},98291(t,e,r){r.d(e,{A:()=>i});var n=r(93687);function s(t){t.length=0}class i{constructor(t=50,e=50){this._pool=new n.A(()=>[],void 0,s,e,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(t){return o.release(t)}static prune(){o.prune()}}const o=new i(100)},71511(t,e,r){r.d(e,{A:()=>s});var n=r(5479);class s{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let t=0;return this._groups.forEach(e=>{t+=e.length}),t}add(t,e){if((0,n.xZ)(t)){const r=this._getOrCreateGroup(e);for(const e of t)a(e)&&r.push(e)}else a(t)&&this._getOrCreateGroup(e).push(t);return this}forEach(t,e){if("function"==typeof t)this._groups.forEach(e=>e.forEach(t));else{const r=this._getGroup(t);r&&e&&r.forEach(e)}}has(t){return this._groups.has(i(t))}remove(t){if("string"!=typeof t&&(0,n.xZ)(t)){for(const e of t)this.remove(e);return this}return this.has(t)?(o(this._getGroup(t)),this._groups.delete(i(t)),this):this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(t){return this._groups.delete(t),this}_getOrCreateGroup(t){if(this.has(t))return this._getGroup(t);const e=[];return this._groups.set(i(t),e),e}_getGroup(t){return this._groups.get(i(t))}}function i(t){return t||"_default_"}function o(t){for(const e of t)e instanceof s?e.removeAll():e.remove()}function a(t){return null!=t&&(!!t.remove||t instanceof s)}},25482(t,e,r){r.d(e,{o:()=>y,T:()=>d});var n=r(5482),s=r(69622),i=r(4718);class o{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new o;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,i.o8)(r.value),r.origin)}),e}get(t,e){e=this._normalizeOrigin(e);const r=this._values.get(t);return null==e||r?.origin===e?r?.value:void 0}originOf(t){return this._values.get(t)?.origin??7}keys(t){t=this._normalizeOrigin(t);const e=[...this._values.keys()];return null==t?e:e.filter(e=>this._values.get(e)?.origin===t)}set(t,e,r){if(0===(r=this._normalizeOrigin(r))){const e=this._values.get(t);if(null!=e?.origin&&e.origin>r)return}this._values.set(t,new a(e,r))}delete(t,e){null!=(e=this._normalizeOrigin(e))&&this._values.get(t)?.origin!==e||this._values.delete(t)}has(t,e){return null!=(e=this._normalizeOrigin(e))?this._values.get(t)?.origin===e:this._values.has(t)}isAtOrigin(t,e){return e=this._normalizeOrigin(e),this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return e=this._normalizeOrigin(e),!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(({value:e},r)=>t(e,r))}_normalizeOrigin(t){if(null!=t)return 0===t?t:7}}class a{constructor(t,e){this.value=t,this.origin=e}}var c=r(76953),l=r(45917),u=r(88620),h=r(49422),f=r(64108);const d=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,u.oY)(this),r=e.store,n=new o;e.store=n,(0,c.k)(e,r,n)}read(t,e){(0,l.L)(this,t,e)}write(t,e){return(0,h.M)(this,t??{},e)}toJSON(t){return this.write({},t)}static fromJSON(t,e){return p.call(this,t,e)}};return r=(0,n.Cg)([(0,f.$)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(t,e){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const r=new this;return r.read(t,e),r}const y=d(s.A)},93687(t,e,r){r.d(e,{A:()=>n});class n{constructor(t,e,r,n=1,s=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(s),this._initialSize=s;for(let t=0;t<s;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}const e=this._pool.pop();return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}},15142(t,e,r){r.d(e,{A:()=>l});var n=r(4576),s=r(21818);const i=(t,e,r,n)=>{let s=e,i=e;const o=r>>>1,a=t[s-1];for(;i<=o;){i=s<<1,i<r&&n(t[i-1],t[i])<0&&++i;const e=t[i-1];if(n(e,a)<=0)break;t[s-1]=e,s=i}t[s-1]=a},o=(t,e)=>t<e?-1:t>e?1:0;function a(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n);const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n)}}function*c(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n),yield;const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n),yield}}class l{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new n.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>u(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let r=0;r<this._length;r++){const n=this.data[r];t(n)&&e.push(n)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const r=this.data.indexOf(t,e);return-1!==r&&r<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,u(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,n.mW)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const r=this.data[t];this.data[t]=this.data[e],this.data[e]=r}sort(t){a(this.data,0,this.length,t)}iterableSort(t){return c(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}find(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)if(t.call(e,r[s]))return r[s]}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const s=this.data[n];t.call(e,s,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=s,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)t.call(e,r[s],s,r)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let r=0;r<e;++r)yield t[r]}}function u(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},67076(t,e,r){r.d(e,{A:()=>s});var n=r(799);class s{constructor(t,e,r){this.name=t,this.details=r,this.type="warning",this.message=e?(0,n.V2)(e,r):""}toString(){const{name:t,message:e}=this;return`[${t}]: ${e}`}}},85537(t,e,r){r.d(e,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},11406(t,e,r){r.d(e,{T:()=>i});var n=r(36563);class s{constructor(t,e){this._observers=t,this._observer=e}remove(){const{_observers:t,_observer:e}=this;if(t[t.length-1]===e)return void t.pop();const r=t.indexOf(this._observer);-1!==r&&t.splice(r,1)}}class i{constructor(){this._observers=null,this.destroyed=!1}observe(t){if(this.destroyed||t.destroyed)return o;null==this._observers&&(this._observers=[]);const e=this._observers;let r=!1,n=!1;for(const s of e)if(s.destroyed)n=!0;else if(s===t){r=!0;break}return r||(e.push(t),n&&this._removeDestroyedObservers()),new s(e,t)}_removeDestroyedObservers(){const t=this._observers;if(!t)return;const e=t.length;if(0===e)return;let r=0;for(let n=0;n<e;++n){for(;n+r<e&&t[n+r].destroyed;)++r;if(r>0){if(!(n+r<e))break;t[n]=t[n+r]}}t.length=e-r}destroy(){if(this.destroyed)return;this.destroyed=!0;const t=this._observers;if(null!=t){for(const e of t)e.onCommitted();this._observers=null}}}const o=(0,n.hA)()},35666(t,e,r){function n(t){switch(t){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function s(t){switch(t){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function i(t){return s(t)}r.d(e,{OL:()=>s,aB:()=>n,in:()=>i})},56454(t,e,r){const n=Symbol("Accessor-beforeDestroy");r.d(e,["G",0,n])},91429(t,e,r){r.d(e,{wg:()=>c,MZ:()=>o,$K:()=>a});var n=r(10107),s=r(79901),i=r(64108);r(93223),r(36005),r(43937);const o=n.MZ,a=i.$;function c(...t){return(0,s.w)(...t)}},79901(t,e,r){r.d(e,{w:()=>c});var n=r(56507),s=r(96156);const i=Object.prototype.toString;function o(t){const e="__accessorMetadata__"in t?(0,n.dp)(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,t)}}function a(t,e,r,n){(0,s.z4)(t,e).cast=n}function c(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===i.call(t[0])?o(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,r)=>{(0,s.z4)(e,t).cast=e[r]}}(t[0]):void 0}},93223(t,e,r){r.d(e,{e:()=>i});var n=r(66552),s=r(10107);function i(t,e={}){const r=t instanceof n.J?t:new n.J(t,e),{alwaysWriteDefaults:i,default:o,ignoreUnknown:a=!0,name:c,nonNullable:l,readOnly:u=!1}=e;return(0,s.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:c,read:!u&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:i}},nonNullable:l,readOnly:u})}},10107(t,e,r){r.d(e,{MZ:()=>c,rM:()=>l});var n=r(53966),s=r(56507),i=r(16649),o=r(96156),a=r(47821);function c(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);const c=Object.getOwnPropertyDescriptor(e,r),l=(0,o.z4)(e,r);c&&(c.get||c.set?(l.get=c.get||l.get,l.set=c.set||l.set):"value"in c&&("value"in t&&n.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),l.value=t.value=c.value)),null!=t.readOnly&&(l.readOnly=t.readOnly);const u=t.aliasOf;if(u){const t="string"==typeof u?u:u.source,e="string"==typeof u?null:!0===u.overridable;let n;l.dependsOn=[t],l.get=function(){let e=(0,i.Jt)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.Jt)(this,n);r&&(e=e.bind(r))}return e},l.readOnly||(l.set=e?function(t){this._override(r,t)}:function(e){(0,a.h)(this,t,e)})}const h=t.type,f=t.types;if(!l.cast){let e;h&&!1!==t.useTypeForAutocast?e=function(t){let e=0,r=t;if((0,s.Zu)(t))return(0,s.Nd)(t);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],e++;const n=r;if((0,s.EK)(n))return 0===e?(0,s.MB)(n):(0,s._e)((0,s.MB)(n),e);if(1===e)return(0,s.eC)(n);if(e>1)return(0,s.e6)(n,e);const i=t;return i.from?i.from:(0,s.dp)(i)}(h):f&&(e=Array.isArray(f)?(0,s.wB)((0,s.aq)(f[0])):(0,s.aq)(f)),t.cast=function(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}(t.cast,e)}(0,o.CX)(l,t),t.range&&(l.cast=(0,s.Qp)(l.cast,t.range))}}function l(t,e,r){const n=(0,o.z4)(t,r);n.json||(n.json={});let s=n.json;return void 0!==e&&(s.origins||(s.origins={}),s.origins[e]||(s.origins[e]={}),s=s.origins[e]),s}},36005(t,e,r){r.d(e,{w:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e||Array.isArray(e)?(i=t,r=e,s=[void 0]):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;s.forEach(s=>{const a=(0,n.rM)(t,s,i);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[e],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(t,e,r){r.d(e,{$:()=>b}),r(44208);var n=r(53966),s=r(56454),i=r(85537),o=r(96156),a=r(62788),c=r(56507),l=r(90360);function u(t){if(t.json||(t.json={}),f(t.json),d(t.json),h(t.json),t.json.origins)for(const e in t.json.origins)f(t.json.origins[e]),d(t.json.origins[e]),h(t.json.origins[e]);return!0}function h(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function f(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function d(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var p=r(67124);function y(t){return t.type?g(t):_(t)}function g(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,c.EK)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function _(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function v(t){u(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach(t=>{e[t]=n}),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?_(t.json):t.type?g(t):_(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],s=n.types?y(n):e;(0,l.v)(s,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),(0,p.v)(s,n)}(0,l.v)(e,t.json,!0),(0,p.v)(e,t.json)}(t))}const m=new Set,w=new Set;function b(t){return e=>{t??="esri.core.Accessor",e.prototype.declaredClass=t,k(e);const r=[],n=[];let a=e.prototype;for(;a;)a.hasOwnProperty("initialize")&&!m.has(a.initialize)&&(m.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!w.has(a.destroy)&&(w.add(a.destroy),n.push(a.destroy)),a=Object.getPrototypeOf(a);m.clear(),w.clear();const c=class extends e{constructor(...t){if(super(...t),this.constructor===c&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;const e=this[s.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){this.__accessor__.lifecycle=i.v.DESTROYING,t=!0,e.call(this);for(let t=0;t<n.length;t++)n[t].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};c.__accessorMetadata__=(0,o.tD)(e.prototype),c.prototype.declaredClass=t;const l=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(c.prototype,Symbol.toStringTag,{value:l,configurable:!0,writable:!0,enumerable:!1}),c}}function A(t,{get:e,value:r}){return null==e?function(){const e=this.__accessor__,n=e.propertiesByName.get(t);if(void 0===n)return;e.mutable&&(0,a.gc)(n);const s=e.store;return s.has(t)?s.get(t):r}:function(){const r=this.__accessor__;return r.propertiesByName.get(t)?.getComputed(r,e)}}function O(t,e,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(t,e){return e.readOnly&&e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:e.readOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):void n.set(t,r)}else O(this,t,r)}:e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:function(e){const r=this.__accessor__;r?r.mutable&&r.set(t,e):O(this,t,e)}}function k(t){const e=t.prototype,r=(0,o.tD)(e),n={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];v(e),n[t]={enumerable:!0,configurable:!0,get:A(t,e),set:N(t,e)}}Object.defineProperties(t.prototype,n)}const S=(t,e)=>{n.A.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}},43937(t,e,r){r.d(e,{K:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e?(i=t,s=[void 0]):"string"!=typeof e?(i=t,s=[void 0],r=e):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;for(const a of s){const s=(0,n.rM)(t,a,i);s.write&&"object"==typeof s.write||(s.write={}),r&&(s.write.target=r),s.write.writer=o[e]}}}},76953(t,e,r){function n(t,e,r){e.keys().forEach(t=>{r.set(t,e.get(t),0)});const n=t.metadata;Object.keys(n).forEach(e=>{t.internalGet(e)&&r.set(e,t.internalGet(e),0)})}r.d(e,{k:()=>n})},56507(t,e,r){r.d(e,{EK:()=>C,GB:()=>l,GX:()=>c,MB:()=>D,Nd:()=>z,PZ:()=>v,Qp:()=>f,Uv:()=>M,Vr:()=>u,Zu:()=>I,_e:()=>j,aq:()=>E,dp:()=>A,e6:()=>T,eC:()=>k,jz:()=>$,qf:()=>O,wB:()=>N});var n=r(53966),s=r(91869);const i=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(i().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function a(t){return null==t?t:!!t}function c(t){return null==t?t:t.toString()}function l(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function h(t){return null}function f(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function d(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function p(t,e){return null!=e&&t&&!(e instanceof t)}function y(t){return t&&"isCollection"in t}function g(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function _(t,e){return!!d(e)&&(i().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+m(t)+"'"),!0)}function v(t,e){return null==e?e:y(t)?function(t,e){if(!e?.constructor||!y(e.constructor))return _(t,e)?e:new t(e);const r=g(t.prototype.itemType),n=g(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(_(t,e),e):new t(e):e}(t,e):p(t,e)?_(t,e)?e:new t(e):e}function m(t){return t?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(t){switch(t){case Number:return t=>l(t);case $:return u;case Boolean:return a;case String:return c;case Date:return o;case M:return h;default:return(0,s.tE)(w,t,()=>v.bind(null,t))}}function A(t,e){const r=b(t);return 1===arguments.length?r:r(e)}function O(t){const e=b(t);return t=>e(t)}function N(t,e,r){return 1===arguments.length?N.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function k(t,e){return 1===arguments.length?N(e=>A(t,e)):N(e=>A(t,e),e)}function S(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>S(t,e-1,r)):t(r)}function j(t,e,r){if(2===arguments.length)return r=>j(t,e,r);if(!r)return r;r=S(t,e,r);let n=e,s=r;for(;n>0&&Array.isArray(s);)n--,s=s[0];if(void 0!==s)for(let t=0;t<n;t++)r=[r];return r}function T(t,e,r){return 2===arguments.length?j(e=>A(t,e),e):j(e=>A(t,e),e,r)}function C(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function D(t,e){if(2===arguments.length)return D(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),s=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let o=null,a=null;return(t,e)=>{if(null==t)return t;const c=typeof t,l="string"===c||"number"===c;return l&&(r.has(t)||s.some(t=>"string"===c&&t===String||"number"===c&&t===Number))||"object"===c&&s.some(e=>!p(e,t))?t:(l&&n.length?(o||(o=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof t&&s.length?(a||(a=s.map(t=>m(t)).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):i().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function E(t,e){if(2===arguments.length)return E(t).call(null,e);const r={},n=[],s=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=A(i),n.push(m(i)),s.push(e)}const o=()=>`'${n.join("', '")}'`,a=()=>`'${s.join("', '")}'`,c="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!p(t.base,e))return e;if(null==e)return e;const n=c(e)||t.defaultKeyValue,s=r[n];if(!s)return i().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(t.typeMap[n],e))return e;if("string"==typeof t.key&&!d(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return s(r)}return s(e)}}class ${}class M{}function I(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function z(t){switch(t.type){case"native":return A(t.value);case"array":return N(z(t.value));case"one-of":return function(t){let e=null;return(r,n)=>q(r,t)?r:(null==e&&(e=P(t)),i().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function P(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case M:return"null";default:return m(t.value)}case"array":return`array of ${P(t.value)}`;case"one-of":{const e=t.values.map(t=>P(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function q(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case $:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case M:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!q(t,e.value));case"one-of":return e.values.some(e=>q(t,e))}}r.d(e,["gK",0,{native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}])},90360(t,e,r){r.d(e,{C:()=>h,v:()=>u});var n=r(53966),s=r(93637),i=r(96156),o=r(15903),a=r(7142),c=r(59923);const l=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function u(t,e,r){t&&(!r&&!e.read||e.read?.reader||!1===e.read?.enabled||function(t){return"types"in t?_(t.types):g(t.type)}(t)&&(0,s.sM)("read.reader",h(t),e))}function h(t){const e=t.ndimArray??0;if(e>1)return function(t){const e=f(t),r=d.bind(null,e),n=t.ndimArray??0;return(t,e,s)=>{if(null==t)return t;t=r(t,s,n);let i=n,o=t;for(;i>0&&Array.isArray(o);)i--,o=o[0];if(void 0!==o)for(let e=0;e<i;e++)t=[t];return t}}(t);if(1===e)return p(t);if("type"in t&&y(t.type)){const e=t.type.prototype?.itemType?.Type,r=p("function"==typeof e?{type:e}:{types:e});return(e,n,s)=>{const i=r(e,n,s);return i?new t.type(i):i}}return f(t)}function f(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const s=typeof e;if("object"!==s)return void l().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${s}'`);const i=new t;return i.read(e,n),i}:t.fromJSON}(t.type):function(t){let e=null;const r=t.errorContext??"type",n=t.validate;return(s,o,u)=>{if(null==s)return s;const h=typeof s;if("object"!==h)return void l().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);e||(e=function(t){const e={};for(const r in t.typeMap){const n=t.typeMap[r],s=(0,i.tD)(n.prototype);if("function"==typeof t.key)continue;const o=s[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&1===o.json.type.length&&"string"==typeof o.json.type[0]){e[o.json.type[0]]=n;continue}const a=o.json?.write;if(!a?.writer){e[r]=n;continue}const c=a.target,l="string"==typeof c?c:t.key,u={};a.writer(r,u,l),u[l]&&(e[u[l]]=n)}return e}(t));const f=t.key;if("string"!=typeof f)return;const d=s[function(t,e,r){const n=Object.values(e)[0],s=(0,i.tD)(n.prototype)[t],o=(0,a.N5)(s,r),c=o?.read?.source;return c&&"string"==typeof c?c:t}(f,e,u)],p=d?e[d]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!p){const t=`Type '${d||"unknown"}' is not supported`;return u?.messages&&s&&(0,c.Yc)(u,"warning",r,t,{definition:s,context:u}),void l().error(t)}const y=new p;return y.read(s,u),n?n(y):y}}(t.types)}function d(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map(e=>d(t,e,r,n-1)):t(e,void 0,r)}function p(t){const e=f(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const s of t){const t=e(s,void 0,n);void 0!==t&&r.push(t)}return r}const s=e(t,void 0,n);return void 0!==s?[s]:void 0}}function y(t){if(!(0,o.P)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):_(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&("object"==typeof t||"function"==typeof t)&&t.prototype&&("read"in t.prototype||"fromJSON"in t||y(t))}function _(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},15903(t,e,r){function n(t){return!!t&&t.prototype?.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{P:()=>n})},7142(t,e,r){function n(t,e){return o(t,"any",e?.origin)}function s(t,e){return o(t,"read",e?.origin)}function i(t,e){return o(t,"write",e?.origin)}function o(t,e,r){let n=t?.json;if(n?.origins&&r){let t;t="link-chart"===r?n.origins[r]&&("any"===e||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],t&&("any"===e||e in t)&&(n=t)}return n}r.d(e,{N5:()=>s,k4:()=>i,xF:()=>n})},67124(t,e,r){r.d(e,{B:()=>h,v:()=>a});var n=r(53966),s=r(93637),i=r(15903),o=r(59923);function a(t,e){if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const r=t?.ndimArray??0;t&&(1===r||"type"in t&&(0,i.P)(t.type))?e.write.writer=f:r>1?e.write.writer=function(t){return(e,r,n,i)=>{let o;if(null===e)o=null;else{o=d(e,i,t);let r=t,n=o;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)o=[o]}(0,s.sM)(n,o,r)}}(r):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,s)=>e&&Array.isArray(e)?l(e.filter(e=>c(e,t,s)),r,n,s):l(e,r,n,s)}(e.types[0]):e.write.writer=function(t){return(e,r,n,s)=>e?c(e,t,s)?l(e,r,n,s):void 0:l(e,r,n,s)}(e.types):e.write.writer=l}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(r?.messages){const s=e.errorContext??"type",i=`Values of type '${("function"!=typeof e.key?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&(0,o.Yc)(r,"error",s,i,{definition:t,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(i)}return!1}function l(t,e,r,n){(0,s.sM)(r,u(t,n),e)}function u(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?h(t):t}function h(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function f(t,e,r,n){let i;null===t?i=null:t&&"function"==typeof t.map?(i=t.map(t=>u(t,n)),"function"==typeof i.toArray&&(i=i.toArray())):i=[u(t,n)],(0,s.sM)(r,i,e)}function d(t,e,r){return 0!==r&&Array.isArray(t)?t.map(t=>d(t,e,r-1)):u(t,e)}},16649(t,e,r){r.d(e,{Jt:()=>a,RP:()=>o,t2:()=>c});var n=r(88620);function s(t,e){const r=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}const s=(0,n.oY)(e);return(0,n.yh)(s,r)?s.get(r):e[r]}function i(t,e,r){if(null==t)return t;const n=s(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:i(n,e,r+1)}function o(t,e,r=0){return"string"!=typeof e||e.includes(".")?i(t,(0,n.AH)(e),r):s(e,t)}function a(t,e){return o(t,e)}function c(t,e){return void 0!==o(e,t)}},96156(t,e,r){r.d(e,{CX:()=>a,tD:()=>i,z4:()=>o});var n=r(4718),s=r(88620);function i(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(const t in e)e[t]=(0,n.o8)(e[t]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function o(t,e){const r=i(t);let n=r[e];return n||(n=r[e]={}),n}function a(t,e){return(0,s.h1)(t,e,l)}const c=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function l(t){return c.test(t)?"replace":"merge"}},45917(t,e,r){r.d(e,{L:()=>u,t:()=>h});var n=r(16649),s=r(88620),i=r(7142);function o(t,e,r){if(!t?.read||!1===t.read.enabled||!t.read.source)return!1;const s=t.read.source;if("string"==typeof s){if(s===e)return!0;if(s.includes(".")&&s.startsWith(e)&&(0,n.t2)(s,r))return!0}else for(const t of s){if(t===e)return!0;if(t.includes(".")&&t.startsWith(e)&&(0,n.t2)(t,r))return!0}return!1}function a(t,e,r,n,s){let a=(0,i.N5)(e[r],s);(function(t){return t&&(!t.read||!1!==t.read.enabled&&!t.read.source)})(a)&&(t[r]=!0);for(const c of Object.getOwnPropertyNames(e))a=(0,i.N5)(e[c],s),o(a,r,n)&&(t[c]=!0)}function c(t,e,r,n){const s=r.metadata,o=(0,i.xF)(s[e],n),a=o?.default;if(void 0===a)return;const c="function"==typeof a?a.call(t,e,n):a;void 0!==c&&r.set(e,c)}const l={origin:"service"};function u(t,e,r=l){if(!e||"object"!=typeof e)return;const o=(0,s.oY)(t),u=o.metadata,h={};for(const t of Object.getOwnPropertyNames(e))a(h,u,t,e,r);o.setDefaultOrigin(r.origin);for(const s of Object.getOwnPropertyNames(h)){const a=(0,i.N5)(u[s],r).read,c=a?.source;let l;l=c&&"string"==typeof c?(0,n.RP)(e,c):e[s],a?.reader&&(l=a.reader.call(t,l,e,r)),void 0!==l&&o.set(s,l)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const e of Object.getOwnPropertyNames(u))h[e]||c(t,e,o,r)}o.setDefaultOrigin("user")}function h(t,e,r,n=l){const s={...n,messages:[]};r(s),s.messages?.forEach(e=>{"warning"!==e.type||t.loaded?n?.messages&&n.messages.push(e):t.loadWarnings.push(e)})}},47821(t,e,r){r.d(e,{h:()=>o});var n=r(49186),s=r(44208),i=(r(53966),r(16649));function o(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))o(t,r,e[r]);else{if(e.includes(".")){const n=e.split("."),s=n.splice(-1,1)[0];return void o((0,i.Jt)(t,n),s,r)}const a=t.__accessor__;null!=a&&function(t,e){if((0,s.A)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadata[t]}(t,e))throw new n.A("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,a),t[e]=r}}},62788(t,e,r){r.d(e,{F_:()=>d,Xr:()=>v,a:()=>f,fE:()=>g,gc:()=>l}),r(44208);var n=r(53966),s=r(88620),i=r(47328);const o=new(r(67867).R),a=[];let c=o;function l(t){c.onAccessed(t)}let u=!1,h=!1;function f(t,e,r){if(u)return p(t,e,r);let s;if(h){c=t,a.push(t);try{s=e.call(r)}catch(t){throw n.A.getLogger("esri.core.accessorSupport.tracking").error(t),t}finally{y()}}else{c=t,a.push(t);try{s=e.call(r)}finally{y()}}return s}function d(t,e){return f(o,t,e)}function p(t,e,r){const s=u;let i;u=!0,c=t,a.push(t);try{i=e.call(r)}catch(t){h&&n.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return y(),u=s,i}function y(){const t=a.length;if(t>1){const e=a.pop();c=a[t-2],e.onTrackingEnd()}else if(1===t){const t=a.pop();c=o,t.onTrackingEnd()}else c=o}function g(t,e){if(e.flags&i.i.DepTrackingInitialized)return;e.flags|=i.i.DepTrackingInitialized;const r=h;h=!1,e.flags&i.i.AutoTracked?p(e.trackingTarget,e.metadata.get,t):v(t,e),h=r}const _=[];function v(t,e){e.flags&i.i.ExplicitlyTracking||(e.flags|=i.i.ExplicitlyTracking,p(e.trackingTarget,()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"!=typeof e||e.includes(".")){const r=(0,s.AH)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=m(n,r[e],e!==r.length-1)}else m(t,e,!1)}),e.flags&=~i.i.ExplicitlyTracking)}function m(t,e,r){const n=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const i=(0,s.oY)(t);if(i){const e=i.propertiesByName.get(n);e&&(l(e),g(t,e))}return r?t[n]:void 0}},47328(t,e,r){r.d(e,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},71429(t,e,r){r.d(e,{r:()=>s});var n=r(67867);class s extends n.R{constructor(t){super(new i(t)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&o.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}}class i{constructor(t){this._notify=t,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;const t=this._invalidCount;if(1===t)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(t=>{t.deref()?.destroy()});function a(){}},67867(t,e,r){r.d(e,{R:()=>n});class n{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(t){null!=this._observer&&t!==this._observer&&(null==this.accessed&&(this.accessed=new Set),this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(null==this._handles&&(this._handles=[]),this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},80559(t,e,r){r.d(e,{Df:()=>l,fm:()=>u,mJ:()=>c});var n=r(36563),s=r(62788),i=r(71429);let o=!1;const a=[];function c(t,e){let r=new i.r(function n(){if(!r||c)return;if(o)return void h(n);const i=a;r.clear(),o=!0,c=!0,a=(0,s.a)(r,t),c=!1,o=!1,e(a,i),f()}),a=null,c=!1;return c=!0,a=(0,s.a)(r,t),c=!1,(0,n.hA)(function(){r&&(r.destroy(),r=null,a=null)})}function l(t,e){let r=new i.r(function(){e(o,a)}),o=null;function a(){return r?(r.clear(),o=(0,s.a)(r,t),o):null}return a(),(0,n.hA)(function(){r&&(r.destroy(),r=null),o=null})}function u(t,e){let r=!1,a=!1;const c=!!e?.sync;let l=new i.r(()=>{r||a||(a=!0,c?u():queueMicrotask(u))});function u(){a=!1,l&&!r&&(o?h(u):(l.clear(),o=!0,r=!0,(0,s.a)(l,t),r=!1,o=!1,f()))}return r=!0,(0,s.a)(l,t),r=!1,(0,n.hA)(function(){l&&(l.destroy(),l=null)})}function h(t){a.includes(t)||a.unshift(t)}function f(){for(;a.length;)a.pop()()}},88620(t,e,r){r.d(e,{AH:()=>l,h1:()=>a,oY:()=>i,qg:()=>h,yh:()=>o});var n=r(36563),s=r(4718);function i(t){return t.__accessor__??null}function o(t,e){return null!=t?.metadata?.[e]}function a(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((t,n)=>{const i=n;if("__proto__"===i)return t;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${n}`:n,a=r.policy(o)),"replace"===a)return t[i]=e[i],t;if("replace-arrays"===a&&Array.isArray(t[i]))return t[i]=e[i],t;if(void 0===t[i])return t[i]=(0,s.o8)(e[i]),t;let l=t[i],u=e[i];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[i]=l.slice():t[i]=[l]:t[i]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(t=>{l.includes(t)||l.push(t)}));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=o,t[i]=c(l,u,r),r.path=e}else t[i]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[i]=u);return t},t||{}):t}function l(t){return Array.isArray(t)?t:t.split(".")}function u(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function h(t,e,r,s){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...u(r));return e}return u(t)}(e);if(1!==i.length){const e=i.map(e=>s(t,e,r));return(0,n.vE)(e)}return s(t,i[0],r)}},14012(t,e,r){r.d(e,{iS:()=>w,wB:()=>N,Cn:()=>k});var n=r(98291),s=r(36563),i=r(4718),o=r(93687);class a extends o.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...t){const e=super.acquire(...t);return this._set.delete(e),e}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}var c=r(76030),l=r(24326),u=r(16649),h=r(85537),f=r(80559),d=r(88620);class p{constructor(){this.uid=(0,l.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new a(()=>new p)}static acquireUntracked(t,e,r,n,s){return this.pool.acquire(0,t,e,r,n,s,i.aI)}static acquireTracked(t,e,r,n){return this.pool.acquire(1,t,e,r,null,null,n)}notify(t,e){0===this.type?this.callback.call(this.target,t,e,this.path,this.target):this.callback.call(null,t,e,void 0,void 0)}acquire(t,e,r,n,s,i,o){this.uid=(0,l.c)(),this.removed=!1,this.type=t,this.oldValue=e,this.callback=r,this.getValue=n,this.target=s,this.path=i,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,l.c)(),this.removed=!0}}const y=new n.A,g=new Set;let _;function v(t){g.delete(t),g.add(t),_||(_=(0,c._)(b))}function m(t){if(t.removed)return;const e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function w(t){for(const e of g.values())e.target===t&&(e.removed=!0)}function b(){let t=10;for(;_&&t--;){_=null;const t=A(),e=y.acquire();for(const r of t){const t=r.uid;m(r),t===r.uid&&r.removed&&e.push(r)}for(const t of g)t.removed&&(e.push(t),g.delete(t));for(const t of e)p.pool.release(t);y.release(e),y.release(t),O.forEach(t=>t())}}function A(){const t=y.acquire();t.length=g.size;let e=0;for(const r of g)t[e]=r,++e;return g.clear(),t}const O=new Set;function N(t,e,r,n=!1){return t.__accessor__&&t.__accessor__.lifecycle!==h.v.DESTROYED?n?function(t,e,r){const n=(0,d.qg)(t,e,r,(t,e,r)=>{let s=!1;return(0,f.mJ)(()=>(0,u.RP)(t,e),(o,a)=>{t.__accessor__.lifecycle!==h.v.DESTROYED?s||(s=!0,(0,i.aI)(a,o)||r.call(t,o,a,e,t),s=!1):n.remove()})});return n}(t,e,r):function(t,e,r){let n=(0,d.qg)(t,e,r,(t,e,r)=>{let i,o,a=(0,f.Df)(()=>(0,u.RP)(t,e),(s,a)=>{t.__accessor__?.lifecycle===h.v.DESTROYED||i&&i.uid!==o?n.remove():(i||(i=p.acquireUntracked(s,r,a,t,e),o=i.uid),v(i))});return(0,s.hA)(()=>{a.remove(),i&&(i.uid!==o||i.removed||(i.removed=!0,v(i)),i=null),n=a=null})});return n}(t,e,r):(0,s.hA)()}function k(t,e,r=!1,n=i.gh){return r?function(t,e,r){let n=!1;return(0,f.mJ)(t,(t,s)=>{n||(n=!0,r(s,t)||e(t,s),n=!1)})}(t,e,n):function(t,e,r){let n,i,o=(0,f.Df)(t,(t,s)=>{n&&n.uid!==i?o.remove():(n||(n=p.acquireTracked(t,e,s,r),i=n.uid),v(n))});return(0,s.hA)(()=>{o.remove(),n&&(n.uid!==i||n.removed||(n.removed=!0,v(n)),n=null),o=null})}(t,e,n)}},49422(t,e,r){r.d(e,{M:()=>d,R:()=>f});var n=r(4576),s=r(49186),i=r(53966),o=r(16649),a=r(35666),c=r(88620),l=r(7142);function u(t,e,r,n,s){const i={};return e.write?.writer?.call(t,n,i,r,s),i}function h(t,e,r,c,l,u){if(!c?.write)return!1;const h=(0,o.Jt)(t,r);if(!l&&c.write.overridePolicy){const e=c.write.overridePolicy.call(t,h,r,u??void 0);void 0!==e&&(l=e)}if(l||(l=c.write),!l||!1===l.enabled)return!1;if(l.layerContainerTypes&&u?.layerContainerType&&!l.layerContainerTypes.includes(u.layerContainerType))return!1;if((null===h&&!l.allowNull&&!l.writerEnsuresNonNull||void 0===h)&&l.isRequired){const e=new s.A("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return e&&u?.messages?u.messages.push(e):e&&!u&&i.A.getLogger("esri.core.accessorSupport.write").error(e.name,e.message),!1}return!(void 0===h||null===h&&!l.allowNull&&!l.writerEnsuresNonNull||!(l.alwaysWriteDefaults||e.store.multipleOriginsSupported&&0!==e.store.originOf(r))&&function(t,e,r,s,i){const o=s.default;if(void 0===o)return!1;if(null!=s.defaultEquals)return s.defaultEquals(i);if("function"==typeof o){if(Array.isArray(i)){const s=o.call(t,e,r??void 0);return(0,n.aI)(s,i)}return!1}return o===i}(t,r,u,c,h)||!l.ignoreOrigin&&u?.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<(0,a.aB)(u.origin))}function f(t,e,r,n){const s=(0,c.oY)(t),i=s.metadata,o=(0,l.k4)(i[e],n);return!!o&&h(t,s,e,o,r,n)}function d(t,e,r){if(t&&"function"==typeof t.toJSON&&(!t.toJSON.isDefaultToJSON||!t.write))return(0,c.h1)(e,t.toJSON(r));const n=(0,c.oY)(t),s=n.metadata;for(const i in s){const f=(0,l.k4)(s[i],r);if(!h(t,n,i,f,void 0,r))continue;const d=(0,o.Jt)(t,i),p=u(t,f,f.write&&"string"==typeof f.write.target?f.write.target:i,d,r);Object.keys(p).length>0&&(e=(0,c.h1)(e,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,c.h1)(e,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:t,propName:i,oldOrigin:(0,a.in)(n.store.originOf(i)),newOrigin:r.origin}))}return e}},5479(t,e,r){function n(t){const e=[];return function*(){yield*e;let r,n=e.length;for(;!(r=t.next()).done;)for(e.push(r.value),yield r.value;++n<e.length;)yield e[n]}}r.d(e,{I6:()=>o,N5:()=>i,PP:()=>n,xZ:()=>c,zN:()=>a});const s=Object.freeze({done:!0,value:void 0});function i(t){const e=[];let r=null,n=null,i=!1;async function o(){if(i)return s;if(null!=n)return n;n=t.next();try{const t=await n;return n=null,t.done?(i=!0,s):(e.push(t.value),t)}catch(t){throw i=!0,n=null,r=t,t}}return async function*(){yield*e;let t,n=e.length;for(;!(t=await o()).done;)for(yield t.value;++n<e.length;)yield e[n];if(null!=r)throw r}}function o(t,e){for(const r of t)if(null!=r&&e(r))return r}function a(t,e){for(const r of t)if(e(r))return!0;return!1}function c(t){return null!=t&&"function"==typeof t[Symbol.iterator]}},66552(t,e,r){r.d(e,{J:()=>s,O:()=>o});var n=r(93637);class s{constructor(t,e={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=e,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(t){const e={};for(const r in t)e[t[r]]=r;return e}(t),this.apiValues=i(this._apiToJSON),this.jsonValues=i(this._jsonToAPI),this.read=t=>this.fromJSON(t),this.write=(t,e,r)=>{const s=this.toJSON(t);void 0!==s&&(0,n.sM)(r,s,e)},this.write.isJSONMapWriter=!0}toJSON(t){if(null==t)return null;if(this._apiToJSON.hasOwnProperty(t)){const e=this._apiToJSON[t];return this._options.useNumericKeys?+e:e}return this._options.ignoreUnknown?null:t}fromJSON(t){return null!=t&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}function i(t){const e=[];for(const r in t)e.push(r);return e.sort(),e}function o(){return function(t,e){return new s(t,{ignoreUnknown:!0,...e})}}},26390(t,e,r){r.d(e,{d:()=>s});const n=[];function s(t){n.push(t),1===n.length&&queueMicrotask(()=>{const t=n.slice();n.length=0;for(const e of t)e()})}},76030(t,e,r){r.d(e,{_:()=>g,$m:()=>O,md:()=>A});var n=r(26390);function s(t,e,r,n,s){console.timeStamp(t,e,r,s,n)}class i{constructor(t,e=30){this.name=t,this._counter=0,this._samples=new Array(e)}push(t){null!=t&&(this._samples[++this._counter%this._samples.length]=t)}set(t){null!=t&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,e)=>t-e)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,e)=>t+e,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),c=r(78659);class l{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let u=0;const h={time:(0,c.l5)(0),deltaTime:(0,c.l5)(0),elapsedFrameTime:(0,c.l5)(0),frameDuration:(0,c.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(t=!1){p.forAll(t=>{t.removed=!0}),t&&w()},dispatch:b,executeFrameTasks:function(t){const e=(0,c.l5)(t-u);u=t;const r=1e3/60,n=Math.max(0,e-r);h.time=t,h.frameDuration=(0,c.l5)(r-n);for(let r=0;r<f.length;r++){const n=performance.now(),i=f[r];p.forAll(n=>{n.paused||n.removed||(0===r&&n.ticks++,n.phases[i]&&(h.elapsedFrameTime=(0,c.l5)(performance.now()-t),h.deltaTime=0===n.ticks?(0,c.l5)(0):e,n.phases[i]?.call(n,h)))});const o=performance.now();N[r].push(o-n),s(i,n,o,"Maps SDK","Scheduling")}w();const i=performance.now();k.push(i-t),s("Animation Frame",t,i,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(t){const e=new l(t);return d.push(e),y.willDispatch||(y.willDispatch=!0,(0,n.d)(b)),e}let _=null;function v(){const t=performance.now();_=null;const e=p.some(t=>!t.paused&&!t.removed);_=e?requestAnimationFrame(v):null,y.executeFrameTasks(t)}const m=new o.A;function w(){p.forAll(t=>{t.removed&&m.push(t)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){const t=d.shift();t.isActive&&t.callback()}y.willDispatch=!1}function A(t=1,e){const r=Promise.withResolvers(),s=()=>{(0,a.G4)(e)?r.reject((0,a.NK)()):0===t?r.resolve():(--t,(0,n.d)(()=>s()))};return s(),r.promise}async function O(t){await function(t){return A(1,t)}(t),await new Promise(e=>requestAnimationFrame(()=>{t?.aborted||e()}))}const N=f.map(t=>new i(t)),k=new i("total")},78659(t,e,r){function n(t){return t}function s(t){return 1e3*t}function i(t){return t}function o(t){return.001*t}r.d(e,{Kp:()=>i,gr:()=>s,l5:()=>n,y:()=>o})},24326(t,e,r){r.d(e,{c:()=>s});let n=0;function s(){return++n}},59923(t,e,r){r.d(e,{GL:()=>h,U4:()=>a,Yc:()=>u,bA:()=>l,qt:()=>c});var n=r(49186),s=r(67076);const i=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format"].map(t=>`${t}:unsupported`),o=new Set(i);function a(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("layer",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,{layer:e}))}function c(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("property",`Property '${e}' is not supported in the context of '${n}'${r?`: ${r}`:""}`))}function l(t,e,r,n){if(!t)return;const s=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("symbol",`Symbol '${e.declaredClass}' is not supported in the context of '${s}'${r?`: ${r}`:""}`,n))}function u(t,e,r,i,o){t&&t?.messages?.push(f("warning"===e?s.A:n.A,r,i,o))}function h(t,e,r){return f(n.A,t,e,r)}function f(t,e,r,n){return new t(`${e}:unsupported`,r,n)}r.d(e,["MG",0,o])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[318],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),o=n(34727),s=n(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,o=`#${l(this.r,r)}${l(this.g,r)}${l(this.b,r)}${i?l(Math.round(255*this.a),r):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),n=a(this.g),r=a(this.b);return 0===e||1!==this.a?[t,n,r,a(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>w});var r,i,o=n(5482),s=n(37838),a=n(69540),l=n(51447),u=n(25482),c=n(53966),f=n(36708),h=n(24326),d=n(91429),p=n(12195),m=n(65864),g=n(50498),y=n(55156),M=n(60950),b=n(54339),I=n(94128),C=n(33910);function v(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let w=class extends((0,a.OU)(u.o)){static{r=I.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:v(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,p.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,f.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,f.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,m.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],w.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,d.MZ)({value:null})],w.prototype,"attributes",null),(0,o.Cg)([(0,d.MZ)({value:null,types:g.yR,json:{read:m.rS}})],w.prototype,"geometry",null),(0,o.Cg)([(0,d.MZ)()],w.prototype,"distance",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean})],w.prototype,"isAggregate",void 0),(0,o.Cg)([(0,d.MZ)({clonable:!1})],w.prototype,"layer",void 0),(0,o.Cg)([(0,d.MZ)({clonable:"reference"})],w.prototype,"origin",void 0),(0,o.Cg)([(0,d.MZ)({type:s.A,value:null})],w.prototype,"popupTemplate",null),(0,o.Cg)([(0,d.MZ)({clonable:"reference"})],w.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,d.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],w.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,d.MZ)({value:null,types:C.Es})],w.prototype,"symbol",null),(0,o.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],w.prototype,"_version",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean,value:!0})],w.prototype,"visible",null),w=i=(0,o.Cg)([(0,d.$K)("esri.Graphic")],w)},40876(e,t,n){n.d(t,{Eq:()=>d,G1:()=>m,TS:()=>o,V6:()=>i,Vm:()=>p,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>b});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!r[e]||!!r[e.toLowerCase()]}function o(e){return r[e]??r[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const i=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&r,s>>=n,a[3]=i*l/255),l=s&r,s>>=n,a[2]=i*l,l=s&r,s>>=n,a[1]=i*l,l=s&r,s>>=n,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function f(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(e[3]):1,e}function d(e){let t=i(e)?o(e):null;return t??=f(e),t??=c(e),t}function p(e){const t=d(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const M=1/2.2;function b(e){return e**M}n.d(t,["iw",0,M])},66344(e,t,n){n.d(t,{q:()=>a});const r=!!(0,n(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class i{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const n=this._db.get(e.id+t);return n?.size??0}put(e,t,n,i,s){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==n&&this._notifyRemove(t,a.entry,a.size,0)),i>this._maxSize)return void this._notifyRemove(t,n,i,0);if(void 0===n)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return r||console.warn(`Refusing to cache entry with size ${i} for key ${t}`),void this._notifyRemove(t,n,0,0);const l=1+Math.max(s,-4)- -3;this._db.set(t,new o(n,i,l)),this._size+=i,e.size+=i,this._checkSize()}updateSize(e,t){t=e.id+t;const n=this._db.get(t);if(!n)return;this._size-=n.size,e.size-=n.size;let r=n.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,n.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}n.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const n=this._db.get(t);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(t),++this._hit,n.entry;++this._miss}get(e,t){t=e.id+t;const n=this._db.get(t);if(void 0!==n)return this._db.delete(t),n.lives=n.lifetime,this._db.set(t,n),++this._hit,n.entry;++this._miss}peek(e,t){const n=this._db.get(e.id+t);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},n=new Array;this._db.forEach((e,r)=>{const i=e.lifetime;n[i]=(n[i]||0)+e.size,this._clients.forEach(n=>{const{id:i,name:o}=n;if(r.startsWith(i)){const n=t[o]||0;t[o]=n+e.size}})});const r={};this._clients.forEach(e=>{const n=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const i=t[n]||0;t[n]=i,r[n]=Math.round(100*e.hitRate)+"%"}else r[n]="0%"});const i=Object.keys(t);i.sort((e,n)=>t[n]-t[e]),i.forEach(n=>e[n]=Math.round(t[n]/2**20)+"MB / "+r[n]);for(let t=n.length-1;t>=0;--t){const r=n[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,n)=>{n.startsWith(t)&&(this._size-=e.size,this._db.delete(n),this._notifyRemove(n,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,n]of this._db)t.startsWith(e.id)&&(yield n.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,n,r){const i=this._clients.get(e.split(s)[0])?.removeFunc,o=i?.(t,r,n);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const n=t??this;if(n.size<=e)return;const r=t?.id;let i=!0;for(;i;){i=!1;for(const[o,a]of this._db)if(0===a.lifetime&&(!r||o.startsWith(r))){const r=t??this._clients.get(o.split(s)[0]);if(this._purgeItem(o,a,r),n.size<=.9*e)return;i||=this._db.has(o)}}for(const[i,o]of this._db)if(!r||i.startsWith(r)){const r=t??this._clients.get(i.split(s)[0]);if(this._purgeItem(i,o,r),n.size<=.9*e)return}}_purgeItem(e,t,n){if(this._db.delete(e),t.lives<=1){this._size-=t.size,n&&(n.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,n&&(n.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new i(0);class o{constructor(e,t,n){this.entry=e,this.size=t,this.lifetime=n,this.lives=n}}const s=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new i(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,n=1){this._storage.put(this,e,t,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,n){n.d(t,{Ui:()=>h});var r=n(69622),i=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof r.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function f(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=l(e),i=l(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),h=r.filter(e=>!i.includes(e)),d=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,h).sort(),p=c(e);if(p&&s.has(p)&&d.length)return{type:"complete",oldValue:e,newValue:t};let m;const g=a(e)&&a(t);for(const r of d){const i=u(e,r),o=u(t,r);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?f(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=m?m.diff[r]=s:m={type:"partial",diff:{[r]:s}})}}return m}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:f(e,t)}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,s,a,l,u,c,f,h,d,p,m){return[e,t,n,r,i,o,s,a,l,u,c,f,h,d,p,m]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["zK",0,o])},91829(e,t,n){function r(){return[0,0,0,0]}function i(e,t,n,r){return[e,t,n,r]}function o(e,t,n,r){return[e,t,n,r]}function s(){return i(1,1,1,1)}function a(){return i(1,0,0,0)}function l(){return i(0,1,0,0)}function u(){return i(0,0,1,0)}function c(){return i(0,0,0,1)}n.d(t,{CN:()=>o,_Y:()=>c,fA:()=>i,vt:()=>r});const f=[0,0,0,0],h=s(),d=a(),p=l(),m=u(),g=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:g,UNIT_X:d,UNIT_Y:p,UNIT_Z:m,ZEROS:f,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:r,freeze:o,fromArray:function(e,t=[0,0,0,0]){const n=Math.min(4,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t},fromValues:i,ones:s,unitW:c,unitX:a,unitY:l,unitZ:u,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["Un",0,h,"uY",0,f])},35522(e,t,n){n.d(t,{$A:()=>_,Bw:()=>o,C:()=>s,Cc:()=>x,DI:()=>v,Io:()=>M,Ln:()=>y,Om:()=>S,Qr:()=>f,Re:()=>u,S8:()=>w,T9:()=>m,WQ:()=>l,Z0:()=>z,_S:()=>d,aI:()=>L,ei:()=>k,fw:()=>R,g7:()=>T,gL:()=>A,hG:()=>b,hZ:()=>a,hs:()=>g,jk:()=>p,lw:()=>c,m3:()=>I,oW:()=>E,t2:()=>P,tn:()=>h,ze:()=>C});var r=n(51850),i=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function f(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function d(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function I(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function C(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function v(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],i=t[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function _(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2];return e[0]=i*l-o*a,e[1]=o*s-r*l,e[2]=r*a-i*s,e}function x(e,t,n,r){const i=t[0],o=t[1],s=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e}function z(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12],e[1]=n[1]*r+n[5]*i+n[9]*o+n[13],e[2]=n[2]*r+n[6]*i+n[10]*o+n[14],e}function k(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function A(e,t,n){return R(e,t,n[0],n[1],n[2],n[3])}function R(e,t,n,r,i,o){const s=t[0],a=t[1],l=t[2],u=r*l-i*a,c=i*s-n*l,f=n*a-r*s,h=r*f-i*c,d=i*u-n*f,p=n*c-r*u,m=2*o;return e[0]=s+u*m+2*h,e[1]=a+c*m+2*d,e[2]=l+f*m+2*p,e}function T(e,t){w(F,e),w(j,t);const n=S(F,j);return n>1?0:n<-1?Math.PI:Math.acos(n)}const F=(0,r.vt)(),j=(0,r.vt)();function P(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function L(e,t){if(e===t)return!0;const n=e[0],r=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function E(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],o=n[2]-t[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=r*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const O=u,N=c,G=f,Z=M,q=b,V=o,D=I;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:T,bezier:function(e,t,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,f=3*l*s,h=l*o;return e[0]=t[0]*u+n[0]*c+r[0]*f+i[0]*h,e[1]=t[1]*u+n[1]*c+r[1]*f+i[1]*h,e[2]=t[2]*u+n[2]*c+r[2]*f+i[2]*h,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:s,cross:_,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,f=r*a-i*s,h=Math.sqrt(u*u+c*c+f*f);return e[0]=u/h,e[1]=c/h,e[2]=f/h,e},direction:E,dist:Z,distance:M,div:G,divide:f,dot:S,equals:L,exactEquals:P,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+n[0]*l+r[0]*u+i[0]*c,e[1]=t[1]*a+n[1]*l+r[1]*u+i[1]*c,e[2]=t[2]*a+n[2]*l+r[2]*u+i[2]*c,e},inverse:v,len:V,length:o,lerp:x,max:m,min:p,mul:N,multiply:c,negate:C,normalize:w,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*s,e[1]=Math.sin(r)*s,e[2]=o*t,e},rotateX:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:a,sign:d,sqrDist:q,sqrLen:D,squaredDistance:b,squaredLength:I,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:O,subtract:u,transformMat3:k,transformMat4:z,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:A,transformQuatValues:R},Symbol.toStringTag,{value:"Module"})),n.d(t,["Il",0,V,"jb",0,O,"lo",0,q,"uE",0,D,"xg",0,Z])},78955(e,t,n){n.d(t,{Bw:()=>g,C:()=>i,Cc:()=>I,LI:()=>h,Om:()=>b,S8:()=>M,T9:()=>f,WQ:()=>s,Z0:()=>C,aI:()=>w,hG:()=>m,hZ:()=>o,hs:()=>d,jk:()=>c,m3:()=>y,t2:()=>v});var r=n(34304);function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function a(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e}function f(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function h(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function d(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function p(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.sqrt(n*n+r*r+i*i+o*o)}function m(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return n*n+r*r+i*i+o*o}function g(e){const t=e[0],n=e[1],r=e[2],i=e[3];return Math.sqrt(t*t+n*n+r*r+i*i)}function y(e){const t=e[0],n=e[1],r=e[2],i=e[3];return t*t+n*n+r*r+i*i}function M(e,t){const n=t[0],r=t[1],i=t[2],o=t[3];let s=n*n+r*r+i*i+o*o;return s>0&&(s=1/Math.sqrt(s),e[0]=n*s,e[1]=r*s,e[2]=i*s,e[3]=o*s),e}function b(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function I(e,t,n,r){const i=t[0],o=t[1],s=t[2],a=t[3];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e[3]=a+r*(n[3]-a),e}function C(e,t,n){const r=t[0],i=t[1],o=t[2],s=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*s,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*s,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*s,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*s,e}function v(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function w(e,t){const n=e[0],i=e[1],o=e[2],s=e[3],a=t[0],l=t[1],u=t[2],c=t[3],f=(0,r.FD)();return Math.abs(n-a)<=f*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-l)<=f*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(o-u)<=f*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))}const S=a,_=l,x=u,z=p,k=m,A=g,R=y;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:i,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:z,distance:p,div:x,divide:u,dot:b,equals:w,exactEquals:v,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:A,length:g,lerp:I,max:f,min:c,mul:_,multiply:l,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:M,random:function(e,t=1){const n=r.Ov;let i,o,s,a,l,u;do{i=2*n()-1,o=2*n()-1,l=i*i+o*o}while(l>=1);do{s=2*n()-1,a=2*n()-1,u=s*s+a*a}while(u>=1);const c=Math.sqrt((1-l)/u);return e[0]=t*i,e[1]=t*o,e[2]=t*s*c,e[3]=t*a*c,e},round:h,scale:d,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},set:o,sqrDist:k,sqrLen:R,squaredDistance:m,squaredLength:y,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:S,subtract:a,transformMat4:C,transformQuat:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2],u=n[3],c=u*r+a*o-l*i,f=u*i+l*r-s*o,h=u*o+s*i-a*r,d=-s*r-a*i-l*o;return e[0]=c*u+d*-s+f*-l-h*-a,e[1]=f*u+d*-a+h*-s-c*-l,e[2]=h*u+d*-l+c*-a-f*-s,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},90629(e,t,n){n.d(t,{Lz:()=>i,PN:()=>o,cr:()=>s,gs:()=>l,r_:()=>u,tc:()=>a}),n(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function o(e){return e?72*e/96:0}function s(e){if("string"==typeof e){const t=e.match(r);if(t){const n=Number(t[1]),r=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),s="px"===r?o(n):n;return i?-s:s}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function a(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429);let l=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,s,a=Math.floor(e.length/3)){const l=(0,r.jd)(t,o);if(null==l)return!1;if(l===r.pO){if(e===i&&n===s)return!0;const t=n+3*a;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*a;for(let t=n,r=s;t<u;t+=3,r+=3)l(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>f,jd:()=>c,pO:()=>d});var r=n(34727),i=n(86211),o=n(73941),s=n(79258),a=n(34403),l=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:C,6:null,8:null,0:null,3:m,11:g,2:d,4:x},5:{5:d,7:null,9:null,10:d,1:C,6:null,8:null,0:null,3:m,11:g,2:d,4:x},7:{5:null,7:d,9:null,10:d,1:null,6:I,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const i=e[t]/F,o=T-2*Math.atan(Math.exp(-e[t+1]/F)),s=F+(e[t+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:d,11:function(e,t,n,r){p(e,t,n,r),g(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),x(n,r,n,r)}},4:{5:z,7:null,9:null,10:z,1:function(e,t,n,r){z(e,t,n,r),C(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){z(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){z(e,t,n,r),g(n,r,n,r)},2:z,4:d},1:{5:_,7:null,9:null,10:_,1:d,6:null,8:null,0:null,3:function(e,t,n,r){_(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){_(e,t,n,r),g(n,r,n,r)},2:_,4:function(e,t,n,r){_(e,t,n,r),x(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:C,6:I,8:b,0:null,3:m,11:g,2:d,4:x},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),C(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),m(n,r,n,r)},11:d,2:y,4:function(e,t,n,r){y(e,t,n,r),x(n,r,n,r)}}};function c(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===t)return k;const n=h(e,k.source),r=h(t,k.dest);return 0===n&&0===r?(0,l.aI)(e,t)?k.projector=d:k.projector=null:k.projector=u[n][r],k}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function d(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=R*(e[t]/F),n[r+1]=R*(T-2*Math.atan(Math.exp(-e[t+1]/F))),n[r+2]=e[t+2]??0}function m(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(A*e[t+1],-s,s),l=Math.sin(a);n[i++]=A*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function g(e,t,n,r){n[r]=e[t]*j,n[r+1]=e[t+1]*j,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const o=i+(e[t+2]??0),s=A*e[t],a=A*e[t+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function b(e,t,n,r){M(e,t,n,r,s.Sw.radius)}function I(e,t,n,r){M(e,t,n,r,s.sH.radius)}function C(e,t,n,r){M(e,t,n,r,s.$O.radius)}function v(e,t,n,i,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),f=Math.atan2(a,s);n[i++]=R*f,n[i++]=R*c,n[i]=u-o}function w(e,t,n,r){v(e,t,n,r,s.Sw.radius)}function S(e,t,n,r){v(e,t,n,r,s.sH.radius)}function _(e,t,n,r){v(e,t,n,r,s.$O.radius)}function x(e,t,n,r){!function(e,t,n,r,i){const o=A*e[t],s=A*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,n,r,s.$O)}function z(e,t,n,r){const i=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,f,h,d,p,m,g,y,M,b,I,C,v,w,S,_,x,z,k,A,T;c=Math.abs(u),f=o*o+l*l,h=Math.sqrt(f),d=f+u*u,p=Math.sqrt(d),A=Math.atan2(l,o),m=u*u/d,g=f/d,w=i.a2/p,S=i.a3-i.a4/p,g>.3?(y=c/p*(1+g*(i.a1+w+m*S)/p),k=Math.asin(y),b=y*y,M=Math.sqrt(1-b)):(M=h/p*(1-m*(i.a5-w-g*S)/p),k=Math.acos(M),b=1-M*M,y=Math.sqrt(b)),I=1-s.$O.eccentricitySquared*b,C=s.$O.radius/Math.sqrt(I),v=i.a6*C,w=h-C*M,S=c-v*y,x=M*w+y*S,_=M*S-y*w,z=_/(v/I+x),k+=z,T=x+_*z/2,u<0&&(k=-k),n[r++]=R*A,n[r++]=R*k,n[r]=T}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},A=(0,r.kU)(1),R=(0,r.KJ)(1),T=.5*Math.PI,F=s.$O.radius,j=F*Math.PI/180,P=180/(F*Math.PI);n.d(t,["w5",0,u])},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>B,isEqualBaseGCS:()=>H,isLoaded:()=>F,isLoadedOrLoad:()=>j,isLoadedOrLoadFor:()=>P,load:()=>E,project:()=>O,projectAsync:()=>U,projectExtent:()=>ie,projectMany:()=>N,projectMultipoint:()=>X,projectOrLoad:()=>Z,projectOrLoadMany:()=>q,projectPoint:()=>J,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>L,test:()=>$,tryProject:()=>G,unload:()=>D});var r=n(49186),i=n(17676),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),d=n(86738),p=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),b=n(9762),I=n(49208);function C(e,t,n,r,i,o){return v[0]=e,v[1]=t,v[2]=n,(0,b.projectBuffer)(v,r,0,i,o,0)}const v=(0,a.vt)();var w=n(60408),S=n(21325),_=n(52006);let x=null,z=null,k=null,A=null,R={};const T=new s.I;function F(){return!!(z?.isLoaded()&&k?.isLoaded()&&A?.isLoaded())}function j(){return!!F()||((0,o.gc)(T),E(),!1)}function P(e,t){return!e||!t||W(e,t)||j()}function L(e,t){return!W(e,t)&&!F()}async function E(e){null==x&&(x=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(z=e,z.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(k=e,k.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(A=e,A.load()))])),await x,(0,i.Te)(e),T.notify()}function O(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),N(e,e[0].spatialReference,t,n)):((0,l.f)(e),N([e],e.spatialReference,t,n)[0])}function N(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>K(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return N(e,t,g.A.WGS84).map(e=>K(e,g.A.WGS84,n));if(!F())throw new V;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:A.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=R[e];i||(i=A.getTransformation(t,n)||new M.A,R[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?z.executeMany(e,n,r):k.executeMany(e,n,r)}function G(e,t,n){try{return O(e,t,n)}catch(e){return null}}function Z(e,t){const n=q([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(e,t,n){if(!F())for(const n of e)if(null!=n&&!(0,S.aI)(n.spatialReference,t)&&(0,S.fn)(n.spatialReference)&&(0,S.fn)(t)&&!W(n.spatialReference,t))return(0,o.gc)(T),{pending:E(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?O(e,t,n):null)}}class V extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){x=null,z=null,k=null,A=null,R={}}const $={get loadPromise(){return x}};async function U(e,t,n){if((0,i.Te)(n),!e)return e;const r=q(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),U(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,I.jd)(e,t))}function H(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const n=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),r=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return n&&r}async function B(e,t,n,r){if(F())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!W(t,n,i))return E(r)}else if(e&&t&&!W(e,t,n))return E(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,w.fT)(e)?Y(e,t,new d.A,n,0):(0,w.ZC)(e)?oe(e,t,new c.A,n,0):(0,w.Bi)(e)?re(e,t,new p.A,n,0):(0,w.Rg)(e)?te(e,t,new m.A,n,0):(0,w.U9)(e)?Q(e,t,new h.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,i){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const f=le(s,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];f&&a?l.push([n,r,c[t+2],o[e][3]]):f?l.push([n,r,c[t+2]]):a?l.push([n,r,o[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,n.curvePaths=[],r,i):se(s,a??!1,l??!1,t,n.paths,r,i)))return null;const u=le(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,n.curveRings=[],r,i):se(s,a??!1,l??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=le(a,r),n.hasM=l,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!C(o,s,u?e.zmin:i,t,ue,r))return null;const f=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],f&&(n.zmin=ue[2]),C(a,l,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],f&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n){if((0,_.FG)(e))return!1;if((0,_.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s);continue}if((0,_.n1)(e)){const[n,r,i]=e.b;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s,i[0],i[1],s);continue}const n=e;a.push(n[0],n[1],t?n[2]:s)}if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,_.yP)(r)[u]),(0,_.FG)(r))return!1;if((0,_.aO)(r)){const n=a[l++],r=a[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,_.n1)(r)){const n=a[l++],r=a[l++];++l;const i=a[l++],o=a[l++];++l,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,S.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,n){n.d(t,{lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=f.get(e);if(t)return t;let n=s;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=a:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?n=a:e===d&&(n=l)}}}return f.set(e,n),n}const f=new Map,h=a.wkt.toUpperCase(),d=l.wkt.toUpperCase();n.d(t,["GD",0,s,"Y0",0,u])},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var r=n(34275),i=n(9093);function o(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const n=o(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function u(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>k,C:()=>s,DC:()=>h,Dg:()=>p,Ej:()=>I,Ie:()=>x,Jt:()=>z,Lu:()=>v,Ne:()=>w,RF:()=>f,TF:()=>M,VL:()=>m,aI:()=>R,fA:()=>a,gE:()=>u,gX:()=>b,hZ:()=>_,iT:()=>d,is:()=>A,pg:()=>C,uJ:()=>y,vI:()=>S,vY:()=>l,vt:()=>o,w1:()=>c,yr:()=>g}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=F){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t){for(let n=0;n<6;n++)e[n]=t[n];return e}function a(e,t,n,r,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=s,a}function l(e,t=o()){return function(e,t,n,r=o()){return _(r,T),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),l=Math.max(l,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[n,r,o,s,a,l]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=n,t[7]=a,t[8]=o,t[9]=n,t[10]=a,t[11]=l,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function c(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function f(e,t,n=e){n[0]=Math.min(e[0],t[0]),n[1]=Math.min(e[1],t[1]),n[2]=Math.min(e[2],t[2]),n[3]=Math.max(e[3],t[3]),n[4]=Math.max(e[4],t[4]),n[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,[t,n,r]){p(e,t,n,r)}function p(e,t,n,r){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],n),e[2]=Math.min(e[2],r),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],n),e[5]=Math.max(e[5],r)}function m(e){return e[0]>=e[3]?0:e[3]-e[0]}function g(e){return e[1]>=e[4]?0:e[4]-e[1]}function y(e){return e[2]>=e[5]?0:e[5]-e[2]}function M(e){const t=m(e),n=y(e),r=g(e);return t*t+n*n+r*r}function b(e,t=[0,0,0]){return t[0]=e[0]+m(e)/2,t[1]=e[1]+g(e)/2,t[2]=e[2]+y(e)/2,t}function I(e,t=[0,0,0]){return t[0]=m(e),t[1]=g(e),t[2]=y(e),t}function C(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function v(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function w(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function S(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function _(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function x(e){return e?_(e,T):o(T)}function z(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function k(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function A(e){return 6===e.length}function R(e,t,n){if(null==e||null==t)return e===t;if(!A(e)||!A(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const T=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];o(),n.d(t,["qv",0,T,"v_",0,F])},34403(e,t,n){var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(t,["TP",0,s])},50498(e,t,n){var r=n(66552),i=n(5443),o=n(91075),s=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),f=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},d=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});n.d(t,["Ye",0,f,"gy",0,c,"iI",0,d,"yR",0,h])},55156(e,t,n){n.d(t,{I:()=>i});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}n.d(t,["e",0,r])},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},52136(e,t,n){var r=n(5482),i=n(91429);n.d(t,["p",0,e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}])},47685(e,t,n){n.d(t,{Mk:()=>d,Zk:()=>f});var r=n(5482),i=n(65529),o=n(4718),s=n(91429),a=n(20816);const l=new i.bk;function u(e){return l.on("apply-edits",new WeakRef(e))}function c(e){return l.on("update-moment",new WeakRef(e))}function f(e,t,n=null,r=!1){const i=Promise.withResolvers();return r=null==t||r,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:n,mayReceiveServiceEdits:r,result:i.promise}),i}const h=Symbol();function d(e){return null!=e&&"object"==typeof e&&h in e}function p(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function m(e,t,n){const r=new URL(e).host,i=a.Z3.get(r),o=e=>!e||e===i;return o(t)&&o(n)||t===n}n.d(t,["w6",0,e=>{var t;const n=e;let i=class extends n{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:n,gdbVersion:r,mayReceiveServiceEdits:i,result:s}=e,a=t===this.url,l=null!=n&&null!=this.layerId&&n===this.layerId,u=null!=n&&this.relationships?.some(e=>e.relatedTableId===n),c=p(this),f=p(this)&&m(t,r,this.gdbVersion);if(!a||c&&!f||!l&&!u&&!i)return;const h=s.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,o.o8)(e)),e;const n=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(n){const{adds:t,updates:r,deletes:i}=n.editedFeatures,s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:i?i.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:r?r.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return this.emit("edits",s),s}const i={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,i.historicMoment)&&this.emit("edits",i),i}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));h.catch(()=>{}),this.emit("apply-edits",{result:h})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:n,moment:r}=e,i=t===this.url,o=p(this),s=p(this)&&m(t,n,this.gdbVersion),a=p(this)&&!m(t,this.gdbVersion,null);i&&o&&s&&a&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,n){return"historicMoment"in this&&this.historicMoment!==n&&(0,a.w5)(e,t)}};return(0,r.Cg)([(0,s.MZ)()],i.prototype,"lastEditsEventDate",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.EditBusLayer")],i),i}])},28032(e,t,n){n.d(t,{A:()=>l});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),a=n(56400);let l=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,s.MZ)()],l.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],l.prototype,"timeZone",void 0),l=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],l)},37352(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(7762),s=n(25482),a=n(91429);let l=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),a=n(91429);const l=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},41560(e,t,n){n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],f(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=f(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),f(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=c(e),n=c(n),t=f(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function f(e){return e||0}},32730(e,t,n){n.d(t,{BI:()=>d,D3:()=>f,XJ:()=>h,lc:()=>c,mX:()=>m,rU:()=>p,tH:()=>I,zA:()=>v});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function f(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function h(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function d(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return m(t.expression);case"arcade":return t.expression}return null}function p(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return I(t.expression)}return null}function m(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(a,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function I(e){if(!e)return null;let t=y.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const C=Symbol("LabelClassInstance");function v(e){return null!=e&&"object"==typeof e&&C in e}n.d(t,["vK",0,C])},5757(e,t,n){n.d(t,{B:()=>i});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}n.d(t,["P",0,r])},98205(e,t,n){n.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>i});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const n=t||s(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}n.d(t,["uY",0,r])},41366(e,t,n){var r=n(5482),i=n(66552),o=n(53966),s=n(91429),a=n(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field";n.d(t,["K",0,e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n},"Q",0,l])},28076(e,t,n){var r=n(13337);const i={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}};n.d(t,["D",0,i])},13337(e,t,n){n.d(t,["h",0,{Relative:0,Absolute:1}])},93397(e,t,n){n.d(t,{Bu:()=>_,DW:()=>C,FH:()=>R,FM:()=>a,Kn:()=>b,Kq:()=>V,MM:()=>f,Nl:()=>x,O2:()=>z,YC:()=>F,YF:()=>k,_1:()=>w,_d:()=>I,_h:()=>s,bs:()=>T,e6:()=>u,gQ:()=>o,jn:()=>d,lW:()=>c,ll:()=>E,mA:()=>h,oI:()=>D,pM:()=>v,pV:()=>M,pk:()=>P,rB:()=>L,xo:()=>S,yX:()=>q,z9:()=>y,zb:()=>A,zr:()=>p});var r=n(28076);function i(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function o(e,t){const n=[];let r=0,o=-1;do{if(o=e.indexOf("[",r),o>=r){if(o>r){const t=e.slice(r,o);n.push([t,null,i(t)])}if(r=o+1,o=e.indexOf("]",r),o>=r){if(o>r){const i=t[e.slice(r,o)];i&&n.push([null,i,!1])}r=o+1}}}while(-1!==o);if(r<e.length){const t=e.slice(r);n.push([t,null,i(t)])}return n}function s(e,t,n){let r="",i=null;for(const n of t){const[t,o,s]=n;if(null!=t&&""!==t)s?i=t:(null!=i&&(r+=i,i=null),r+=t);else{const t=e.readAttribute(o);null!=t&&""!==t&&(null!==i&&(r+=i,i=null),r+=t)}}return l(r,n)}function a(e,t,n,r){let i="",o=null;for(const r of t){const[t,s,a]=r;if(null!=t&&""!==t)a?o=t:(null!=o&&(i+=o,o=null),i+=t);else{let t=s;null!=n&&(t=j(s,n));const r=e.attributes[t];null!=r&&""!==r&&(null!=o&&(i+=o,o=null),i+=r)}}return l(i,r)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function f(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function h(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function d(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function p(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class g{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function y(e){return new g(e)}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function I(e){let t="normal",n="normal";if(e){const r=e.toLowerCase();r.includes("italic")?t="italic":r.includes("oblique")&&(t="oblique"),r.includes("bold")?n="bold":r.includes("light")&&(n="lighter")}return{style:t,weight:n}}function C(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function v(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=v(t);if(null!=e)return e}break;case"CIMTextSymbol":return v(e.symbol);case"CIMSolidFill":return e.color}return null}function w(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=w(e);if(null!=t)return t}break}case"CIMTextSymbol":return w(e.symbol);case"CIMSolidStroke":return e.color}}function S(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=S(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return S(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function _(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function x(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function z(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}function k(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function A(e,t,n,r,i,o,s=!0){const{infos:a}=o;let l=1,u=0,c=0,f=0,h=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:n,rotation:r,size:i,frameHeight:o,rotateClockWise:d,scaleSymbolsProportionally:p}of a)h=e?1:l,c=G(t,n,u,h,c),f=N(t,n,u,h,f),o&&(p||s)&&(l*=i/o),u=Z(r,d,u);const d=G(r,i,u,h,c),p=N(r,i,u,h,f);return{size:e*l,rotation:Z(t,n,u),offsetX:d,offsetY:p}}function R(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function T(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return T(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return T(e.symbol)}}return"Normal"}function F(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=n.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(n.markerPlacement&&p(n.markerPlacement)){const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=n.height;null!=e&&e>t&&(t=e)}}return t}}}function j(e,t){if(null!==t){const n=t.get(e);return n?n.name:e}return e}function P(e){return e.map(e=>({...e,propertyName:k(e.propertyName)}))}function L(e){const t={};for(const n in e){const r=e[n];t[k(n)]=r}return t}function E(e){if(!e)return 0;let t=0;for(const n of e)t+=O(n);return t}function O(e){if(!e)return 0;if(V(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function N(e,t,n,r,i){const o=n*Math.PI/180;if(o){const n=Math.cos(o);return(Math.sin(o)*e+n*t)*r+i}return t*r+i}function G(e,t,n,r,i){const o=n*Math.PI/180;return o?(Math.cos(o)*e-Math.sin(o)*t)*r+i:e*r+i}function Z(e,t,n){return t?n-e:n+e}function q(e,t){return Math.max(Math.min((e??t)/100,1),0)}function V(e){return e.type.startsWith("Private")}function D(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}n.d(t,["$w",0,m,"UE",0,e=>e.includes("data:image/svg+xml")])},93470(e,t,n){const r=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};n.d(t,["Cb",0,i,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,o])},20816(e,t,n){n.d(t,{We:()=>a,ZJ:()=>l,w5:()=>u});var r=n(11254);const i=(0,n(13069).vD)(),o=new Map,s=new Map;async function a(e,t,n){if(!e||!n)return!1;if(!t)return!0;const i=new URL(e).host;let s=o.get(i);if(!s){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");s=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return s===t}async function l(e,t,r=!1){if(!e||!t)return!0;const o=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=s.get(o)?.entries();if(a)for(const[e,s]of a)if(s.name===t){const t=!s.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([n.e(2186).then(n.bind(n,32186)),n.e(2558).then(n.bind(n,32558))]),a=await t(o,e,new r({sessionId:i,moment:s.moment}));return a.success&&s.stack?.clearForwardEdits(),a.success}return t}return!0}function u(e,t){if(!e)return!1;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=s.get(n)?.entries();if(r)for(const[e,n]of r)if(n.name===t)return"edit"===n.lockType;return!1}new Map,n.d(t,["TA",0,i,"Z3",0,o])}}]);