@arcgis/core 4.23.0-next.20220118 → 4.23.0-next.20220126

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 (359) hide show
  1. package/Graphic.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/00c5bb5eecb0e89266df.js +1 -0
  4. package/assets/esri/core/workers/chunks/021a37e2b191298e80b7.js +1 -0
  5. package/assets/esri/core/workers/chunks/1370c92c40fd6271553c.js +1 -0
  6. package/assets/esri/core/workers/chunks/199670a3a564ebe3bd79.js +1 -0
  7. package/assets/esri/core/workers/chunks/1e4d37c2b9dc83d20a11.js +1 -0
  8. package/assets/esri/core/workers/chunks/1fbcc8424452d0256bd6.js +1 -0
  9. package/assets/esri/core/workers/chunks/{7c9d2638693d5f798b23.js → 23b15e7c2f96d260e16c.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{b2ae5fc4f787ea568b88.js → 2460f3b6ada6ae900dec.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{99f0d896c17dd09cd285.js → 2629adf79e7fd9f25f07.js} +1 -1
  12. package/assets/esri/core/workers/chunks/2792ca40f1e92849247c.js +1 -0
  13. package/assets/esri/core/workers/chunks/2a96f1bba9ce6883e5e0.js +1 -0
  14. package/assets/esri/core/workers/chunks/2e899ef5881b4ec6fa55.js +1 -0
  15. package/assets/esri/core/workers/chunks/3231ee3e090bb4cac3fc.js +1 -0
  16. package/assets/esri/core/workers/chunks/{0c3e3a5baf54bd5e210c.js → 36e250278b5622ccf068.js} +1 -1
  17. package/assets/esri/core/workers/chunks/395ba088d4864588ff66.js +1 -0
  18. package/assets/esri/core/workers/chunks/3cc77692b2eee27b9c9e.js +1 -0
  19. package/assets/esri/core/workers/chunks/3f343f792fd9f44d6f25.js +1 -0
  20. package/assets/esri/core/workers/chunks/{8a250ec51097f16feb66.js → 40a1e713f63ec77110c0.js} +1 -1
  21. package/assets/esri/core/workers/chunks/422537fc3df707bb62c9.js +1 -0
  22. package/assets/esri/core/workers/chunks/{ba6fdaed6c315dc13981.js → 434b16731c6a81f868ef.js} +1 -1
  23. package/assets/esri/core/workers/chunks/4385a268c2a64281d1c1.js +1 -0
  24. package/assets/esri/core/workers/chunks/{44b01d42d4ec72913229.js → 438f0b5ae5c53ae4f06a.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{4d539878bfbd7c549e60.js → 46b4bb66a54bbd8e2e57.js} +1 -1
  26. package/assets/esri/core/workers/chunks/4c76146014dc15143ba3.js +1 -0
  27. package/assets/esri/core/workers/chunks/5a4a5585ec8027079f32.js +1 -0
  28. package/assets/esri/core/workers/chunks/5d991b74d958005c26c4.js +1 -0
  29. package/assets/esri/core/workers/chunks/5dfe1f8d520025e2118b.js +1 -0
  30. package/assets/esri/core/workers/chunks/601e697dc7414bda128a.js +1 -0
  31. package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +1 -0
  32. package/assets/esri/core/workers/chunks/68a59ce98177d8513337.js +1 -0
  33. package/assets/esri/core/workers/chunks/{9cdaba126ac7fa5f33f0.js → 6cd5e4380d29b9a3c344.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{a7b1b75643ed31489495.js → 6f50a9647f026a8d4729.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{47395d225229d237f0ac.js → 7bc5cc5dbf1b7b70ddac.js} +1 -1
  36. package/assets/esri/core/workers/chunks/7d661129a0d8c466eeec.js +1 -0
  37. package/assets/esri/core/workers/chunks/{64276aacaafa4c8a15bd.js → 7dcf52d3db3903c8eb9f.js} +1 -1
  38. package/assets/esri/core/workers/chunks/8070972c0efb78523b68.js +1 -0
  39. package/assets/esri/core/workers/chunks/8fa0a14165d43ffe87a5.js +1 -0
  40. package/assets/esri/core/workers/chunks/94515fb3ef38067eeadd.js +1 -0
  41. package/assets/esri/core/workers/chunks/94b8dbf859df71858d1c.js +1 -0
  42. package/assets/esri/core/workers/chunks/97a28641b3b2fd31bea2.js +1 -0
  43. package/assets/esri/core/workers/chunks/{d1454155ee1b8a421cbb.js → 97ec9eef0048760fa260.js} +1 -1
  44. package/assets/esri/core/workers/chunks/98986e6601b0366376b4.js +1 -0
  45. package/assets/esri/core/workers/chunks/9cdcf9309d6feda70185.js +1 -0
  46. package/assets/esri/core/workers/chunks/a78757b9c7e8cbea08fa.js +1 -0
  47. package/assets/esri/core/workers/chunks/aa04b90b82bf70caaae4.js +1 -0
  48. package/assets/esri/core/workers/chunks/{b10fcbe1393c812fc219.js → aa861b8eae6c85f3dad4.js} +1 -1
  49. package/assets/esri/core/workers/chunks/aace7e1fef256bb961c9.js +1 -0
  50. package/assets/esri/core/workers/chunks/{ed0297fc61014e848c18.js → af5694b4d278cf1db2d9.js} +1 -1
  51. package/assets/esri/core/workers/chunks/afbb4f802ca5774f0326.js +1 -0
  52. package/assets/esri/core/workers/chunks/b0b036ad3ad3cd956747.js +1 -0
  53. package/assets/esri/core/workers/chunks/b2c5f92e3d7606297ca9.js +1 -0
  54. package/assets/esri/core/workers/chunks/b2d2de935487257c568b.js +1 -0
  55. package/assets/esri/core/workers/chunks/b2ebe4f6d100e15b512d.js +1 -0
  56. package/assets/esri/core/workers/chunks/b8316c6469a543029bc6.js +1 -0
  57. package/assets/esri/core/workers/chunks/{4b69129c0557852d9b3d.js → ba5eb394f098968c22d2.js} +1 -1
  58. package/assets/esri/core/workers/chunks/bf0a65b4be31959f921d.js +1 -0
  59. package/assets/esri/core/workers/chunks/bf6dda4a2af14c4b7716.js +1 -0
  60. package/assets/esri/core/workers/chunks/c890c7fca27170e3341f.js +1 -0
  61. package/assets/esri/core/workers/chunks/{573dc3064e84ca86844d.js → c959e0d1cf7dce0421b9.js} +1 -1
  62. package/assets/esri/core/workers/chunks/c976785f2391c77d8a30.js +1 -0
  63. package/assets/esri/core/workers/chunks/{1fd48459afb58a6cf14f.js → ca2f5faa01d99c21ec14.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{7aa543a97f055cddea99.js → cc146c57bbdac8029fd8.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{d39b7983b68d6e5b404d.js → cdbc005eebec1503b99d.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{7e596478507466953e65.js → cef4af64860ebbfc1c47.js} +1 -1
  67. package/assets/esri/core/workers/chunks/d72488db62fcf39447b6.js +1 -0
  68. package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +981 -0
  69. package/assets/esri/core/workers/chunks/e4b84ca8ddfd48dd79b1.js +1 -0
  70. package/assets/esri/core/workers/chunks/e4e2036373166c1d5cf5.js +1 -0
  71. package/assets/esri/core/workers/chunks/e4f93c55eaefab4192b5.js +1 -0
  72. package/assets/esri/core/workers/chunks/e6165e17fbb07bfc40a1.js +1 -0
  73. package/assets/esri/core/workers/chunks/e9e5196b44b6923be1a3.js +1 -0
  74. package/assets/esri/core/workers/chunks/{f678293de9a6d8f5b5db.js → ec89466f76d0ba22525e.js} +1 -1
  75. package/assets/esri/core/workers/chunks/ee45618c45806ab654cb.js +1 -0
  76. package/assets/esri/core/workers/chunks/f4baa5ea2e42b1317941.js +1 -0
  77. package/assets/esri/core/workers/chunks/f760a3e030b0f358a92a.js +1 -0
  78. package/assets/esri/core/workers/chunks/face43cf5abcd2f5bd9d.js +1 -0
  79. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  80. package/assets/esri/themes/base/_mixins.scss +4 -1
  81. package/assets/esri/themes/base/icons/style.scss +11 -2
  82. package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +13 -10
  83. package/assets/esri/themes/base/widgets/_CoordinateConversion.scss +4 -2
  84. package/assets/esri/themes/base/widgets/_Directions.scss +5 -3
  85. package/assets/esri/themes/base/widgets/_Editor.scss +5 -2
  86. package/assets/esri/themes/base/widgets/_ElevationProfile.scss +6 -4
  87. package/assets/esri/themes/base/widgets/_FeatureTable.scss +6 -0
  88. package/assets/esri/themes/base/widgets/_ItemList.scss +1 -1
  89. package/assets/esri/themes/base/widgets/_LayerList.scss +13 -9
  90. package/assets/esri/themes/base/widgets/_Popup.scss +4 -2
  91. package/assets/esri/themes/base/widgets/_Print.scss +24 -11
  92. package/assets/esri/themes/base/widgets/_Search.scss +4 -2
  93. package/assets/esri/themes/base/widgets/_TableList.scss +9 -7
  94. package/assets/esri/themes/base/widgets/_Weather.scss +12 -0
  95. package/assets/esri/themes/base/widgets/_Widget.scss +18 -9
  96. package/assets/esri/themes/dark/main.css +1 -1
  97. package/assets/esri/themes/dark-blue/main.css +1 -1
  98. package/assets/esri/themes/dark-green/main.css +1 -1
  99. package/assets/esri/themes/dark-purple/main.css +1 -1
  100. package/assets/esri/themes/dark-red/main.css +1 -1
  101. package/assets/esri/themes/light/main.css +1 -1
  102. package/assets/esri/themes/light/view.css +1 -1
  103. package/assets/esri/themes/light-blue/main.css +1 -1
  104. package/assets/esri/themes/light-green/main.css +1 -1
  105. package/assets/esri/themes/light-purple/main.css +1 -1
  106. package/assets/esri/themes/light-red/main.css +1 -1
  107. package/assets/esri/widgets/Weather/t9n/Weather.json +1 -1
  108. package/assets/esri/widgets/Weather/t9n/Weather_en.json +1 -1
  109. package/chunks/CloudsComposition.glsl.js +4 -4
  110. package/chunks/ComponentShader.glsl.js +19 -19
  111. package/chunks/DefaultMaterial.glsl.js +2 -2
  112. package/chunks/Terrain.glsl.js +11 -11
  113. package/chunks/WaterSurface.glsl.js +21 -21
  114. package/chunks/pe.js +1 -1
  115. package/chunks/vec3.js +1 -1
  116. package/chunks/vxlLayer.js +1 -1
  117. package/core/accessorSupport/ensureType.js +1 -1
  118. package/core/accessorSupport/get.js +1 -1
  119. package/core/accessorSupport/read.js +1 -1
  120. package/core/accessorSupport/set.js +1 -1
  121. package/core/accessorSupport/write.js +1 -1
  122. package/core/has.js +1 -1
  123. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  124. package/core/typedArrayUtil.js +1 -1
  125. package/core/workers/workerFactory.js +1 -1
  126. package/geometry/pe.js +1 -1
  127. package/geometry/support/axisAngleDegrees.js +1 -1
  128. package/geometry/support/heightModelInfoUtils.js +1 -1
  129. package/interfaces.d.ts +315 -78
  130. package/layers/RouteLayer.js +1 -1
  131. package/layers/VoxelLayer.js +1 -1
  132. package/layers/VoxelWasmPerScene.js +1 -1
  133. package/layers/mixins/OperationalLayer.js +1 -1
  134. package/layers/support/RasterWorker.js +1 -1
  135. package/layers/support/rasterDatasets/BaseRaster.js +1 -1
  136. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  137. package/libs/vxl/enums.js +1 -1
  138. package/package.json +2 -2
  139. package/popup/content/AttachmentsContent.js +1 -1
  140. package/popup/content/support/mediaInfoTypes.js +1 -1
  141. package/portal/schemas/buildingSceneLayerItem.js +1 -1
  142. package/portal/schemas/definitions.js +1 -1
  143. package/portal/schemas/integratedMeshLayerItem.js +1 -1
  144. package/portal/schemas/pointCloudLayerItem.js +1 -1
  145. package/portal/schemas/sceneLayerItem.js +1 -1
  146. package/portal/schemas/webScene.js +1 -1
  147. package/rasterRenderers.js +1 -1
  148. package/rest/find.js +1 -1
  149. package/rest/geometryService/generalize.js +1 -1
  150. package/rest/geometryService/lengths.js +1 -1
  151. package/rest/geometryService/offset.js +1 -1
  152. package/rest/geometryService/relation.js +1 -1
  153. package/rest/geometryService/trimExtend.js +1 -1
  154. package/rest/identify.js +1 -1
  155. package/{tasks → rest}/operations/find.js +0 -0
  156. package/{tasks → rest}/operations/generalize.js +0 -0
  157. package/rest/operations/identify.js +5 -0
  158. package/{tasks → rest}/operations/lengths.js +0 -0
  159. package/{tasks → rest}/operations/offset.js +0 -0
  160. package/{tasks → rest}/operations/relation.js +0 -0
  161. package/{tasks → rest}/operations/trimExtend.js +0 -0
  162. package/{tasks → rest}/operations/urlUtils.js +0 -0
  163. package/rest/print.js +1 -1
  164. package/rest/query/operations/query.js +1 -1
  165. package/rest/query/operations/queryAttachments.js +1 -1
  166. package/rest/query/operations/queryRelatedRecords.js +1 -1
  167. package/rest/query/operations/queryTopFeatures.js +1 -1
  168. package/rest/route/utils.js +1 -1
  169. package/rest/support/NetworkServiceDescription.js +1 -1
  170. package/rest/support/RouteInfo.js +1 -1
  171. package/rest/support/RouteParameters.js +1 -1
  172. package/rest/support/RouteSettings.js +5 -0
  173. package/rest/support/Stop.js +1 -1
  174. package/rest/support/networkEnums.js +1 -1
  175. package/support/revision.js +1 -1
  176. package/symbols/Font.js +1 -1
  177. package/symbols/LabelSymbol3D.js +1 -1
  178. package/symbols/PointSymbol3D.js +1 -1
  179. package/symbols/TextSymbol.js +1 -1
  180. package/symbols/TextSymbol3DLayer.js +1 -1
  181. package/symbols/cim/CIMSymbolHelper.js +1 -1
  182. package/symbols/cim/CIMSymbolRasterizer.js +1 -1
  183. package/symbols/cim/cimAnalyzer.js +1 -1
  184. package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
  185. package/symbols/support/Symbol3DVerticalOffset.js +1 -1
  186. package/symbols/support/cimSymbolUtils.js +1 -1
  187. package/symbols/support/previewCIMSymbol.js +1 -1
  188. package/symbols/support/previewSymbol2D.js +1 -1
  189. package/symbols/support/previewSymbol3D.js +1 -1
  190. package/symbols/support/previewWebStyleSymbol.js +1 -1
  191. package/symbols/support/svgUtils.js +1 -1
  192. package/symbols/support/textUtils.js +5 -0
  193. package/symbols.js +1 -1
  194. package/views/2d/engine/vectorTiles/style/VectorTilesRequestManager.js +1 -1
  195. package/views/2d/engine/webgl/brushes/raster/BrushRasterBitmap.js +1 -1
  196. package/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js +1 -1
  197. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  198. package/views/2d/layers/features/sources/BaseFeatureSource.js +1 -1
  199. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  200. package/views/2d/support/engineHelpers.js +1 -1
  201. package/views/3d/environment/CloudsComposition.glsl.js +1 -1
  202. package/views/3d/environment/CloudsComposition.js +1 -1
  203. package/views/3d/environment/CloudsGenerator.js +1 -1
  204. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  205. package/views/3d/environment/Fog.js +1 -1
  206. package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
  207. package/views/3d/environment/weather.js +1 -1
  208. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
  209. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  210. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  211. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  212. package/views/3d/layers/GraphicsView3D.js +1 -1
  213. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  214. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  215. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  216. package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
  217. package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
  218. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +5 -0
  219. package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
  220. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  221. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  222. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  223. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  224. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  225. package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
  226. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  227. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  228. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  229. package/views/3d/layers/graphics/{Graphics3DGraphicLikeLayerView.js → GraphicsProcessor.js} +1 -1
  230. package/views/3d/layers/graphics/QueryEngine.js +1 -1
  231. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  232. package/views/3d/terrain/OverlayRenderer.js +1 -1
  233. package/views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js +7 -1
  234. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +28 -24
  235. package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +21 -13
  236. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
  237. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +12 -14
  238. package/views/3d/webgl-engine/lib/OffscreenRendering.js +1 -1
  239. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  240. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  241. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  242. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  243. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  244. package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
  245. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  246. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  247. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  248. package/views/3d/webgl-engine/parts/Model.js +1 -1
  249. package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
  250. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  251. package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
  252. package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
  253. package/views/SceneView.js +1 -1
  254. package/views/interactive/dragEventPipeline.js +1 -1
  255. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  256. package/views/support/DefaultsFromMap.js +1 -1
  257. package/views/webgl/ContextState.js +1 -1
  258. package/views/webgl/FramebufferObject.js +1 -1
  259. package/views/webgl/Renderbuffer.js +1 -1
  260. package/views/webgl/RenderingContext.js +1 -1
  261. package/views/webgl/Texture.js +1 -1
  262. package/views/webgl/Util.js +1 -1
  263. package/views/webgl/enums.js +1 -1
  264. package/views/webgl/rasterUtils.js +1 -1
  265. package/views/webgl/testFloatBufferBlend.js +1 -1
  266. package/widgets/Attachments.js +1 -1
  267. package/widgets/Editor/workflowUtils.js +1 -1
  268. package/widgets/Feature/FeatureExpression.js +1 -1
  269. package/widgets/Feature/FeatureMedia/FeatureMediaViewModel.js +1 -1
  270. package/widgets/Feature/FeatureMedia.js +1 -1
  271. package/widgets/Feature/FeatureViewModel.js +1 -1
  272. package/widgets/FeatureForm/InputField.js +1 -1
  273. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  274. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  275. package/widgets/FeatureTable.js +1 -1
  276. package/widgets/LayerList/LayerListViewModel.js +1 -1
  277. package/widgets/Popup/PopupViewModel.js +1 -1
  278. package/widgets/Popup/actionUtils.js +1 -1
  279. package/widgets/Slice/SliceViewModel.js +1 -1
  280. package/widgets/Slider/SliderViewModel.js +1 -1
  281. package/widgets/Slider.js +1 -1
  282. package/widgets/Weather/WeatherViewModel.js +1 -1
  283. package/widgets/Weather/css.js +1 -1
  284. package/widgets/Weather.js +1 -1
  285. package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
  286. package/widgets/support/InteractiveToolViewModel.js +1 -1
  287. package/widgets/support/geolocationUtils.js +1 -1
  288. package/assets/components/assets/calcite-icon/checkSquareF16.json +0 -1
  289. package/assets/components/assets/calcite-icon/checkSquareF24.json +0 -1
  290. package/assets/components/assets/calcite-icon/checkSquareF32.json +0 -1
  291. package/assets/components/assets/calcite-icon/lineSolid4.json +0 -1
  292. package/assets/components/assets/calcite-icon/squareF16.json +0 -1
  293. package/assets/components/assets/calcite-icon/squareF24.json +0 -1
  294. package/assets/components/assets/calcite-icon/squareF32.json +0 -1
  295. package/assets/components/assets/calcite-icon/xHexagon16.json +0 -1
  296. package/assets/components/assets/calcite-icon/xHexagon24.json +0 -1
  297. package/assets/components/assets/calcite-icon/xHexagon32.json +0 -1
  298. package/assets/components/assets/calcite-icon/xHexagonF16.json +0 -1
  299. package/assets/components/assets/calcite-icon/xHexagonF24.json +0 -1
  300. package/assets/components/assets/calcite-icon/xHexagonF32.json +0 -1
  301. package/assets/components/assets/calcite-icon/xOctagonF16.json +0 -1
  302. package/assets/components/assets/calcite-icon/xOctagonF24.json +0 -1
  303. package/assets/components/assets/calcite-icon/xOctagonF32.json +0 -1
  304. package/assets/esri/core/workers/chunks/01ef8de7f76a8c61b464.js +0 -1
  305. package/assets/esri/core/workers/chunks/09da224052976e290828.js +0 -1
  306. package/assets/esri/core/workers/chunks/0f254c3e91e8fee55f28.js +0 -1
  307. package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +0 -1
  308. package/assets/esri/core/workers/chunks/21a77eed1a4ef5b0ff08.js +0 -1
  309. package/assets/esri/core/workers/chunks/23745a5ab47c840dc452.js +0 -1
  310. package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +0 -1
  311. package/assets/esri/core/workers/chunks/2d947080a27db6ce0d75.js +0 -1
  312. package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +0 -1
  313. package/assets/esri/core/workers/chunks/32f8c4af7e70ebdcb19e.js +0 -1
  314. package/assets/esri/core/workers/chunks/3564e14010953def6df9.js +0 -1
  315. package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +0 -1
  316. package/assets/esri/core/workers/chunks/3a9740dccda6a733313c.js +0 -1
  317. package/assets/esri/core/workers/chunks/403c7d64f12f00330d88.js +0 -1
  318. package/assets/esri/core/workers/chunks/4409d77c9734de4e82a7.js +0 -1
  319. package/assets/esri/core/workers/chunks/4c301ca9c493b96df746.js +0 -1
  320. package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +0 -1
  321. package/assets/esri/core/workers/chunks/615aa2d3ecafe30c80c0.js +0 -1
  322. package/assets/esri/core/workers/chunks/631c5b514bb73782c570.js +0 -1
  323. package/assets/esri/core/workers/chunks/6c1e92ff4c732dfda756.js +0 -1
  324. package/assets/esri/core/workers/chunks/722a10c65456844d72b9.js +0 -1
  325. package/assets/esri/core/workers/chunks/75d53b28afe732c459b2.js +0 -1
  326. package/assets/esri/core/workers/chunks/85b34d91cf07567d6873.js +0 -1
  327. package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +0 -1
  328. package/assets/esri/core/workers/chunks/89de05207744149fb58b.js +0 -1
  329. package/assets/esri/core/workers/chunks/8fdd5bca3716816d359b.js +0 -1
  330. package/assets/esri/core/workers/chunks/987182b3a578fc7de251.js +0 -1
  331. package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +0 -1
  332. package/assets/esri/core/workers/chunks/9d9dffc8884d66a258e4.js +0 -1
  333. package/assets/esri/core/workers/chunks/a28b53c61bddefb6616e.js +0 -1
  334. package/assets/esri/core/workers/chunks/a6ff3db3493543df81bc.js +0 -1
  335. package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +0 -1
  336. package/assets/esri/core/workers/chunks/a960074644c3722be71e.js +0 -1
  337. package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +0 -1
  338. package/assets/esri/core/workers/chunks/b99e69302ea701fff0ea.js +0 -971
  339. package/assets/esri/core/workers/chunks/b9de831ac379cf1d2969.js +0 -1
  340. package/assets/esri/core/workers/chunks/bc790b2f964144d10abe.js +0 -1
  341. package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +0 -1
  342. package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +0 -1
  343. package/assets/esri/core/workers/chunks/c3eca92d02958732e141.js +0 -1
  344. package/assets/esri/core/workers/chunks/c6bd943fe8fd13bb4806.js +0 -1
  345. package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +0 -1
  346. package/assets/esri/core/workers/chunks/cb68db7169b9dfd1c3ff.js +0 -1
  347. package/assets/esri/core/workers/chunks/cc96608b2802fbfe7a08.js +0 -1
  348. package/assets/esri/core/workers/chunks/cd02fe27eb07681cb366.js +0 -1
  349. package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +0 -1
  350. package/assets/esri/core/workers/chunks/da1c2873bdbc0956dca0.js +0 -1
  351. package/assets/esri/core/workers/chunks/dd433c160f7a0c120b82.js +0 -1
  352. package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +0 -1
  353. package/assets/esri/core/workers/chunks/e2d68bcd2f99a65387bf.js +0 -1
  354. package/assets/esri/core/workers/chunks/ef8b75b92cf549e0507e.js +0 -1
  355. package/assets/esri/core/workers/chunks/f7fc4c993536e62f7f3e.js +0 -1
  356. package/assets/esri/core/workers/chunks/fd3e5d823dc7917f4b8f.js +0 -1
  357. package/symbols/support/constants.js +0 -5
  358. package/tasks/operations/identify.js +0 -5
  359. package/views/3d/layers/graphics/Graphics3DFeatureLikeLayerView.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7319],{6352:(t,e,o)=>{o.d(e,{a:()=>d});var r,s=o(43697),i=o(22303),l=o(96674),n=o(22974),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=r=class extends l.wq{constructor(){super(...arguments),this.color=new i.Z("white")}clone(){return new r({color:(0,n.d9)(this.color)})}};(0,s._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),h=r=(0,s._)([(0,p.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const d=h;Object.freeze({__proto__:null,get LineCallout3DBorder(){return h},default:d})},10699:(t,e,o)=>{o.d(e,{I:()=>l});var r=o(43697),s=o(52011);let i=0;const l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+i++})}};return e=(0,r._)([(0,s.j)("esri.core.Identifiable")],e),e};let n=class extends(l(class{})){};n=(0,r._)([(0,s.j)("esri.core.Identifiable")],n)},70921:(t,e,o)=>{o.d(e,{R:()=>i,Z:()=>s});var r=o(80539);function s(t,e,o=r.Z){return e||(e=new o),e===t||(e.removeAll(),(s=t)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?e.addMany(t):t&&e.add(t)),e;var s}function i(t){return t}},78223:(t,e,o)=>{o.d(e,{se:()=>H,cT:()=>P,dU:()=>A,S9:()=>W,LB:()=>J,AH:()=>T,yK:()=>U,S6:()=>I,QT:()=>q,f_:()=>F});var r,s=o(75215),i=o(63213),l=o(17386),n=(o(38445),o(21218)),a=o(95191),p=(o(72253),o(50575),o(20825)),y=o(98587),h=(o(67129),o(40908),o(43697)),d=o(80539),c=o(22974),u=o(5600),b=o(36030),m=o(52011),w=o(87223);const v=d.Z.ofType({base:null,key:"type",typeMap:{fill:a.Z}});let f=r=class extends w.Z{constructor(t){super(t),this.symbolLayers=new v,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,c.d9)(this.styleOrigin),symbolLayers:(0,c.d9)(this.symbolLayers),thumbnail:(0,c.d9)(this.thumbnail)})}};(0,h._)([(0,u.Cb)({type:v})],f.prototype,"symbolLayers",void 0),(0,h._)([(0,b.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,h._)([(0,m.j)("esri.symbols.MeshSymbol3D")],f);const g=f;o(17143),o(96742);var _,C=o(62357),S=o(94075);let Z=_=class extends n.Z{constructor(...t){super(...t),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t&&null==t.imageData)return t;const s={};return t&&(s.url=t),e&&(s.outline=e),null!=o&&(s.width=(0,C.t_)(o)),null!=r&&(s.height=(0,C.t_)(r)),s}clone(){const t=new _({color:(0,c.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return t._set("source",(0,c.d9)(this.source)),t}hash(){var t;return`${super.hash()}.${null==(t=this.color)?void 0:t.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,b.J)({esriPFS:"picture-fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,h._)([(0,u.Cb)(S.KA)],Z.prototype,"url",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],Z.prototype,"xscale",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],Z.prototype,"yscale",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"width",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"height",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"xoffset",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"yoffset",void 0),(0,h._)([(0,u.Cb)(S.Ds)],Z.prototype,"source",void 0),Z=_=(0,h._)([(0,m.j)("esri.symbols.PictureFillSymbol")],Z);const j=Z;var x=o(37898),L=o(42143),z=o(86114),D=o(20256),O=o(4095),k=o(77987),N=o(89164),M=(o(95868),o(78724)),$=(o(78757),o(44398),o(59390));function P(t){if(!t)return!1;switch(t.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function A(t){if(!t)return!1;switch(t.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}o(69496),o(6352),o(7413);const J={base:N.Z,key:"type",typeMap:{"simple-fill":D.Z,"picture-fill":j,"picture-marker":x.Z,"simple-line":O.Z,"simple-marker":k.Z,text:M.Z,"label-3d":p.Z,"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},T={base:N.Z,key:"type",typeMap:{"picture-marker":x.Z,"simple-marker":k.Z,text:M.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},W=(0,i.d)({types:J}),q={base:N.Z,key:"type",typeMap:{"simple-fill":D.Z,"picture-fill":j,"picture-marker":x.Z,"simple-line":O.Z,"simple-marker":k.Z,text:M.Z,"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},U={base:N.Z,key:"type",typeMap:{text:M.Z,"label-3d":p.Z},errorContext:"symbol"},F=(N.Z,p.Z,y.Z,L.Z,z.Z,$.Z,{base:N.Z,key:"type",typeMap:{"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"}),I={base:N.Z,key:"type",typeMap:{"label-3d":p.Z},errorContext:"symbol"},H=(0,s.N7)(J)},17386:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(22974),l=o(19153),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(30556),d=o(35671),c=o(89164);let u=r=class extends c.Z{constructor(t){super(t),this.data=null,this.type="cim"}readData(t,e){return e}writeData(t,e){if(t)for(const o in t)e[o]=t[o]}async collectRequiredFields(t,e){if("CIMSymbolReference"===this.data.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return(0,d.io)(t,e,r.expression)}));await Promise.all(r)}}}clone(){return new r({data:(0,i.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.Cb)({json:{write:!1}})],u.prototype,"color",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"data",void 0),(0,s._)([(0,p.r)("data",["symbol"])],u.prototype,"readData",null),(0,s._)([(0,h.c)("data",{})],u.prototype,"writeData",null),(0,s._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s._)([(0,y.j)("esri.symbols.CIMSymbol")],u);const b=u},38445:(t,e,o)=>{o.d(e,{Z:()=>c});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(52879);let d=r=class extends p.Z{constructor(t){super(t),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,n.J)({Extrude:"extrude"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],d.prototype,"size",void 0),(0,s._)([(0,l.Cb)({type:h.b,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)(y.Z)],d.prototype,"edges",void 0),d=r=(0,s._)([(0,a.j)("esri.symbols.ExtrudeSymbol3DLayer")],d);const c=d},21218:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(5600),i=(o(67676),o(80442),o(75215),o(52011)),l=o(4095),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,r._)([(0,s.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,r._)([(0,s.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,i.j)("esri.symbols.FillSymbol")],a);const p=a},95191:(t,e,o)=>{o.d(e,{Z:()=>L});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(4618),d=o(74721),c=o(17495),u=o(50178),b=(o(92604),o(37697),o(52879));let m=r=class extends b.b{constructor(t){super(t),this.colorMixMode=null}clone(){const t={color:(0,i.pC)(this.color)?this.color.clone():null,colorMixMode:this.colorMixMode};return new r(t)}};(0,s._)([(0,n.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var w,v=o(22303),f=o(96674),g=o(62357),_=o(37308),C=o(45119);let S=w=class extends f.wq{constructor(t){super(t),this.color=new v.Z([0,0,0,1]),this.size=(0,g.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const t={color:(0,i.pC)(this.color)?this.color.clone():null,size:this.size,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,patternCap:this.patternCap};return new w(t)}};(0,s._)([(0,l.Cb)(_.a)],S.prototype,"color",void 0),(0,s._)([(0,l.Cb)(_.y)],S.prototype,"size",void 0),(0,s._)([(0,l.Cb)(c.D)],S.prototype,"pattern",void 0),(0,s._)([(0,l.Cb)({type:C.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:(0,i.pC)(this.pattern)}}}}})],S.prototype,"patternCap",void 0),S=w=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DOutline")],S);const Z=S;var j;let x=j=class extends p.Z{constructor(t){super(t),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const t={edges:(0,i.pC)(this.edges)?this.edges.clone():null,enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null,castShadows:this.castShadows,outline:(0,i.pC)(this.outline)?this.outline.clone():null};return new j(t)}static fromSimpleFillSymbol(t){var e,o,r,s,i,l;const n=t.outline&&t.outline.style&&"inside-frame"!==t.outline.style&&"solid"!==t.outline.style?new h.Z({style:t.outline.style}):null,a={size:null!=(e=null==(o=t.outline)?void 0:o.width)?e:0,color:(null!=(r=null==(s=t.outline)?void 0:s.color)?r:u.ix).clone(),pattern:n};return n&&null!=(i=t.outline)&&i.cap&&(a.patternCap=t.outline.cap),new j({material:new m({color:(null!=(l=t.color)?l:u.l9).clone()}),pattern:t.style&&"solid"!==t.style?new d.Z({style:t.style}):null,outline:a})}};(0,s._)([(0,n.J)({Fill:"fill"},{readOnly:!0})],x.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:m,json:{write:!0}})],x.prototype,"material",void 0),(0,s._)([(0,l.Cb)(c.q)],x.prototype,"pattern",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],x.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)({type:Z,json:{write:!0}})],x.prototype,"outline",void 0),(0,s._)([(0,l.Cb)(y.Z)],x.prototype,"edges",void 0),x=j=(0,s._)([(0,a.j)("esri.symbols.FillSymbol3DLayer")],x);const L=x},72253:(t,e,o)=>{o.d(e,{Z:()=>h});var r,s=o(43697),i=o(96674),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(90578)),p=o(52011);let y=r=class extends i.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,l.t_)(t)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,s._)([(0,n.Cb)({type:["none","underline","line-through"],json:{default:"none",write:!0}})],y.prototype,"decoration",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],y.prototype,"family",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(t,e,o)=>({enabled:!o||!o.textSymbol3D})}}})],y.prototype,"size",void 0),(0,s._)([(0,a.p)("size")],y.prototype,"castSize",null),(0,s._)([(0,n.Cb)({type:["normal","italic","oblique"],json:{default:"normal",write:!0}})],y.prototype,"style",void 0),(0,s._)([(0,n.Cb)({type:["normal","lighter","bold","bolder"],json:{default:"normal",write:!0}})],y.prototype,"weight",void 0),y=r=(0,s._)([(0,p.j)("esri.symbols.Font")],y);const h=y},50575:(t,e,o)=>{o.d(e,{Z:()=>T});var r,s=o(43697),i=o(92604),l=o(70586),n=o(17452),a=o(5600),p=(o(67676),o(80442),o(75215),o(36030)),y=o(52011),h=o(95868),d=o(50178),c=o(35454),u=o(96674),b=o(71715),m=o(30556),w=o(25929);const v=(0,c.wY)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let f=r=class extends u.wq{constructor(t){super(t)}readHref(t,e,o){return t?(0,w.f)(t,o):e.dataURI}writeHref(t,e,o,r){t&&((0,n.HK)(t)?e.dataURI=t:(e.href=(0,w.t)(t,r),(0,n.YP)(e.href)&&(e.href=(0,n.Fv)(e.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,a.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],f.prototype,"href",void 0),(0,s._)([(0,b.r)("href")],f.prototype,"readHref",null),(0,s._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],f.prototype,"writeHref",null),(0,s._)([(0,p.J)(v)],f.prototype,"primitive",void 0),f=r=(0,s._)([(0,y.j)("esri.symbols.support.IconSymbol3DLayerResource")],f);const g=f;var _,C=o(37308),S=o(15923);let Z=_=class extends S.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new _({x:this.x,y:this.y})}};(0,s._)([(0,a.Cb)({type:Number})],Z.prototype,"x",void 0),(0,s._)([(0,a.Cb)({type:Number})],Z.prototype,"y",void 0),Z=_=(0,s._)([(0,y.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);var j,x=o(22303),L=o(62357);let z=j=class extends u.wq{constructor(t){super(t),this.color=new x.Z([0,0,0,1]),this.size=(0,L.Wz)(1)}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null,size:this.size};return new j(t)}};(0,s._)([(0,a.Cb)(C.a)],z.prototype,"color",void 0),(0,s._)([(0,a.Cb)(C.y)],z.prototype,"size",void 0),z=j=(0,s._)([(0,y.j)("esri.symbols.support.Symbol3DIconOutline")],z);const D=z;var O,k=o(52879);const N=i.Z.getLogger("esri.symbols.IconSymbol3DLayer");let M=O=class extends h.Z{constructor(t){super(t),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=void 0,this.outline=void 0}clone(){return new O({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:(0,l.pC)(this.material)?this.material.clone():null,outline:(0,l.pC)(this.outline)?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(t){const e=t.color||d.ix,o=$(t),r=t.outline&&t.outline.width>0?{size:t.outline.width,color:(t.outline.color||d.ix).clone()}:null;return new O({size:t.size,resource:{primitive:J(t.style)},material:{color:e},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(t){const e=!t.color||(0,d.rx)(t.color)?d.ix:t.color,o=$(t);return new O({size:t.width<=t.height?t.height:t.width,resource:{href:t.url},material:{color:e.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(t){return new O({resource:{href:(0,n._l)({mediaType:"application/json",data:JSON.stringify(t.data)})}})}};function $(t){const e="width"in t?t.width:t.size,o="height"in t?t.height:t.size,r=P(t.xoffset),s=P(t.yoffset);return(r||s)&&e&&o?{x:-r/e,y:s/o}:null}function P(t){return isFinite(t)?t:0}(0,s._)([(0,a.Cb)({type:k.b,json:{write:!0}})],M.prototype,"material",void 0),(0,s._)([(0,a.Cb)({type:g,json:{write:!0}})],M.prototype,"resource",void 0),(0,s._)([(0,p.J)({Icon:"icon"},{readOnly:!0})],M.prototype,"type",void 0),(0,s._)([(0,a.Cb)(C.y)],M.prototype,"size",void 0),(0,s._)([(0,p.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,a.Cb)({json:{default:"center"}})],M.prototype,"anchor",void 0),(0,s._)([(0,a.Cb)({type:Z,json:{type:[Number],read:{reader:t=>new Z({x:t[0],y:t[1]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],M.prototype,"anchorPosition",void 0),(0,s._)([(0,a.Cb)({type:D,json:{write:!0}})],M.prototype,"outline",void 0),M=O=(0,s._)([(0,y.j)("esri.symbols.IconSymbol3DLayer")],M);const A={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function J(t){return A[t]||(N.warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const T=M},20825:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(87223),h=o(78757),d=o(84275),c=o(7413);const u=i.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let b=r=class extends y.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new u,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,d.gv)(this)}hasVisibleVerticalOffset(){return(0,d.Uy)(this)}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(t){return new r({symbolLayers:[h.Z.fromTextSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:c.Z,json:{write:!0}})],b.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(d.Y2)],b.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({json:{read:!1,write:!1}})],b.prototype,"styleOrigin",void 0),(0,s._)([(0,n.Cb)({type:u})],b.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,s._)([(0,p.j)("esri.symbols.LabelSymbol3D")],b);const m=b},98587:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(67129),h=o(96742),d=o(87223);const c=i.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}}),u=i.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}});let b=r=class extends d.Z{constructor(t){super(t),this.symbolLayers=new c,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleLineSymbol(t)]})}};(0,s._)([(0,n.Cb)({type:c,json:{type:u}})],b.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,s._)([(0,p.j)("esri.symbols.LineSymbol3D")],b);const m=b},67129:(t,e,o)=>{o.d(e,{Z:()=>v});var r,s=o(43697),i=o(70586),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(95868),h=o(4618),d=o(17495),c=o(50178),u=o(37308),b=o(52879),m=o(45119);let w=r=class extends y.Z{constructor(t){super(t),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,l.Wz)(1),this.pattern=null}clone(){const t={enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:(0,i.pC)(this.pattern)?this.pattern.clone():null};return new r(t)}static fromSimpleLineSymbol(t){var e;const o={enabled:!0,size:null!=(e=t.width)?e:(0,l.Wz)(1),cap:t.cap||"butt",join:t.join||"miter",pattern:t.style&&"inside-frame"!==t.style?new h.Z({style:t.style}):null,material:new b.b({color:(t.color||c.ix).clone()})};return new r(o)}};(0,s._)([(0,n.Cb)({type:b.b,json:{write:!0}})],w.prototype,"material",void 0),(0,s._)([(0,a.J)({Line:"line"},{readOnly:!0})],w.prototype,"type",void 0),(0,s._)([(0,n.Cb)({type:m.w2,json:{write:!0,default:"miter"}})],w.prototype,"join",void 0),(0,s._)([(0,n.Cb)({type:m.Hc,json:{write:!0,default:"butt"}})],w.prototype,"cap",void 0),(0,s._)([(0,n.Cb)(u.y)],w.prototype,"size",void 0),(0,s._)([(0,n.Cb)(d.D)],w.prototype,"pattern",void 0),w=r=(0,s._)([(0,p.j)("esri.symbols.LineSymbol3DLayer")],w);const v=w},40908:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(62357),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r._)([(0,i.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],a.prototype,"angle",void 0),(0,r._)([(0,i.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,r._)([(0,i.Cb)({type:Number,cast:t=>"auto"===t?t:(0,s.t_)(t),json:{write:!0}})],a.prototype,"size",void 0),a=(0,r._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const p=a},17143:(t,e,o)=>{o.d(e,{Z:()=>C});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(35454),h=o(96674),d=o(25929);const c=(0,y.wY)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends h.wq{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s._)([(0,l.Cb)({type:String,json:{read:d.r,write:d.w}})],u.prototype,"href",void 0),(0,s._)([(0,n.J)(c)],u.prototype,"primitive",void 0),u=r=(0,s._)([(0,a.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const b=u;var m,w=o(15923);let v=m=class extends w.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new m({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,l.Cb)({type:Number})],v.prototype,"x",void 0),(0,s._)([(0,l.Cb)({type:Number})],v.prototype,"y",void 0),(0,s._)([(0,l.Cb)({type:Number})],v.prototype,"z",void 0),v=m=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],v);var f,g=o(52879);let _=f=class extends p.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new f({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,l.Cb)({type:g.b,json:{write:!0}})],_.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],_.prototype,"castShadows",void 0),(0,s._)([(0,l.Cb)({type:b,json:{write:!0}})],_.prototype,"resource",void 0),(0,s._)([(0,n.J)({Object:"object"},{readOnly:!0})],_.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"width",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"height",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"depth",void 0),(0,s._)([(0,n.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,l.Cb)({json:{default:"origin"}})],_.prototype,"anchor",void 0),(0,s._)([(0,l.Cb)({type:v,json:{type:[Number],read:{reader:t=>new v({x:t[0],y:t[1],z:t[2]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y,t.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],_.prototype,"anchorPosition",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"heading",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"tilt",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"roll",void 0),(0,s._)([(0,l.Cb)({readOnly:!0})],_.prototype,"isPrimitive",null),_=f=(0,s._)([(0,a.j)("esri.symbols.ObjectSymbol3DLayer")],_);const C=_},96742:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(71715),p=o(52011),y=o(95868),h=o(52879),d=o(45119);let c=r=class extends y.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(t,e){return null!=t?t:null==e.height&&null!=e.size?e.size:void 0}readHeight(t,e){return null!=t?t:null==e.width&&null!=e.size?e.size:void 0}clone(){return new r({enabled:this.enabled,material:(0,i.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s._)([(0,l.Cb)({type:h.b,json:{write:!0}})],c.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s._)([(0,n.J)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,l.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s._)([(0,l.Cb)({type:d.w2,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s._)([(0,l.Cb)({type:d.KW,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s._)([(0,a.r)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s._)([(0,a.r)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s._)([(0,l.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s._)([(0,l.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s._)([(0,p.j)("esri.symbols.PathSymbol3DLayer")],c);const u=c},37898:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(40908),d=o(94075);let c=r=class extends h.Z{constructor(...t){super(...t),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t&&null==t.imageData)return t;const r={};return t&&(r.url=t),null!=e&&(r.width=(0,l.t_)(e)),null!=o&&(r.height=(0,l.t_)(o)),r}readHeight(t,e){return e.size||t}readWidth(t,e){return e.size||t}clone(){const t=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return t._set("source",(0,i.d9)(this.source)),t}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,n.Cb)(d.KA)],c.prototype,"url",void 0),(0,s._)([(0,n.Cb)(d.Ds)],c.prototype,"source",void 0),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],c.prototype,"height",void 0),(0,s._)([(0,p.r)("height",["height","size"])],c.prototype,"readHeight",null),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],c.prototype,"width",void 0),(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"size",void 0),c=r=(0,s._)([(0,y.j)("esri.symbols.PictureMarkerSymbol")],c);const u=c},42143:(t,e,o)=>{o.d(e,{Z:()=>_});var r,s=o(43697),i=o(80539),l=o(20102),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(30556),d=o(50575),c=o(17143),u=o(87223),b=o(78757),m=o(84275),w=o(7413);const v=i.Z.ofType({base:null,key:"type",typeMap:{icon:d.Z,object:c.Z,text:b.Z}}),f=i.Z.ofType({base:null,key:"type",typeMap:{icon:d.Z,object:c.Z}});let g=r=class extends u.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.symbolLayers=new v,this.type="point-3d"}writeSymbolLayers(t,e,o,r){const s=t.filter((t=>"text"!==t.type));if(r&&r.messages&&s.length<t.length){const e=t.find((t=>"text"===t.type));r.messages.push(new l.Z("symbol-layer:unsupported","Symbol layers of type 'text' cannot be persisted in PointSymbol3D",{symbolLayer:e}))}e[o]=s.map((t=>t.write({},r))).toArray()}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const t of this.symbolLayers.items)switch(t.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.gv)(this)}hasVisibleVerticalOffset(){return(0,m.Uy)(this)}clone(){return new r({verticalOffset:(0,n.d9)(this.verticalOffset),callout:(0,n.d9)(this.callout),styleOrigin:(0,n.d9)(this.styleOrigin),symbolLayers:(0,n.d9)(this.symbolLayers),thumbnail:(0,n.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(t){return new r({symbolLayers:[d.Z.fromSimpleMarkerSymbol(t)]})}static fromPictureMarkerSymbol(t){return new r({symbolLayers:[d.Z.fromPictureMarkerSymbol(t)]})}static fromCIMSymbol(t){var e,o;return"CIMPointSymbol"!==(null==(e=t.data)||null==(o=e.symbol)?void 0:o.type)?null:t.data.symbol.callout?new r({symbolLayers:[d.Z.fromCIMSymbol(t)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}):new r({symbolLayers:[d.Z.fromCIMSymbol(t)]})}static fromTextSymbol(t){return new r({symbolLayers:[b.Z.fromTextSymbol(t)]})}};(0,s._)([(0,a.Cb)({type:w.Z,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,s._)([(0,a.Cb)(m.Y2)],g.prototype,"callout",void 0),(0,s._)([(0,a.Cb)({type:v,json:{type:f,origins:{"web-scene":{type:f}}}})],g.prototype,"symbolLayers",void 0),(0,s._)([(0,h.c)("web-scene","symbolLayers")],g.prototype,"writeSymbolLayers",null),(0,s._)([(0,p.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,s._)([(0,y.j)("esri.symbols.PointSymbol3D")],g);const _=g},86114:(t,e,o)=>{o.d(e,{Z:()=>Z});var r,s=o(43697),i=o(80539),l=o(20102),n=o(22974),a=o(70586),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(30556),c=o(38445),u=o(95191),b=o(50575),m=o(67129),w=o(17143),v=o(87223),f=o(78757),g=o(44398);const _=i.Z.ofType({base:null,key:"type",typeMap:{extrude:c.Z,fill:u.Z,icon:b.Z,line:m.Z,object:w.Z,text:f.Z,water:g.Z}}),C=i.Z.ofType({base:null,key:"type",typeMap:{extrude:c.Z,fill:u.Z,icon:b.Z,line:m.Z,object:w.Z,water:g.Z}});let S=r=class extends v.Z{constructor(t){super(t),this.symbolLayers=new _,this.type="polygon-3d"}writeSymbolLayers(t,e,o,r){const s=t.filter((t=>"text"!==t.type));if(r&&r.messages&&s.length<t.length){const e=t.find((t=>"text"===t.type));r.messages.push(new l.Z("symbol-layer:unsupported","Symbol layers of type 'text' cannot be persisted in PolygonSymbol3D",{symbolLayer:e}))}e[o]=s.map((t=>t.write({},r))).toArray()}clone(){return new r({styleOrigin:(0,n.d9)(this.styleOrigin),symbolLayers:(0,n.d9)(this.symbolLayers),thumbnail:(0,n.d9)(this.thumbnail)})}static fromJSON(t){const e=new r;if(e.read(t),2===e.symbolLayers.length&&"fill"===e.symbolLayers.getItemAt(0).type&&"line"===e.symbolLayers.getItemAt(1).type){const o=e.symbolLayers.getItemAt(0),r=e.symbolLayers.getItemAt(1);!r.enabled||t.symbolLayers&&t.symbolLayers[1]&&!1===t.symbolLayers[1].enable||(o.outline={size:r.size,color:(0,a.pC)(r.material)?r.material.color:null}),e.symbolLayers.removeAt(1)}return e}static fromSimpleFillSymbol(t){return new r({symbolLayers:[u.Z.fromSimpleFillSymbol(t)]})}};(0,s._)([(0,p.Cb)({type:_,json:{type:C}})],S.prototype,"symbolLayers",void 0),(0,s._)([(0,d.c)("web-scene","symbolLayers")],S.prototype,"writeSymbolLayers",null),(0,s._)([(0,y.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],S.prototype,"type",void 0),S=r=(0,s._)([(0,h.j)("esri.symbols.PolygonSymbol3D")],S);const Z=S},20256:(t,e,o)=>{o.d(e,{Z:()=>b});var r,s=o(43697),i=o(22303),l=o(35454),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(21218),d=o(4095);const c=new l.Xn({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends h.Z{constructor(...t){super(...t),this.color=new i.Z([0,0,0,.25]),this.outline=new d.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),e&&(r.outline=e),o&&(r.color=o),r}clone(){return new r({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,s._)([(0,a.Cb)()],u.prototype,"color",void 0),(0,s._)([(0,a.Cb)()],u.prototype,"outline",void 0),(0,s._)([(0,p.J)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:c.apiValues,json:{read:c.read,write:c.write}})],u.prototype,"style",void 0),u=r=(0,s._)([(0,y.j)("esri.symbols.SimpleFillSymbol")],u);const b=u},4095:(t,e,o)=>{o.d(e,{Z:()=>S});var r=o(43697),s=o(35454),i=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=(o(67676),o(80442),o(89164));let h=class extends y.Z{constructor(t){super(t),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,r._)([(0,p.j)("esri.symbols.LineSymbol")],h);const d=h;var c,u=o(22303),b=o(96674),m=o(71715),w=o(30556);let v=c=class extends b.wq{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,o,r){"web-map"===(null==r?void 0:r.origin)?e[o]="arrow":e[o]=t}set color(t){this._set("color",t)}readColor(t){return t&&null!=t[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,o,r){"web-map"===(null==r?void 0:r.origin)||(e[o]=t)}clone(){return new c({color:(0,i.d9)(this.color),placement:this.placement,style:this.style})}hash(){var t;return`${this.placement}.${null==(t=this.color)?void 0:t.hash()}.${this.style}`}};(0,r._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],v.prototype,"placement",void 0),(0,r._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],v.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:["arrow","circle","square","diamond","cross","x"]})],v.prototype,"style",void 0),(0,r._)([(0,w.c)("style")],v.prototype,"writeStyle",null),(0,r._)([(0,n.Cb)({type:u.Z,value:null,json:{write:{allowNull:!0}}})],v.prototype,"color",null),(0,r._)([(0,m.r)("color")],v.prototype,"readColor",null),(0,r._)([(0,w.c)("color")],v.prototype,"writeColor",null),v=c=(0,r._)([(0,p.j)("esri.symbols.LineSymbolMarker")],v);const f=v;var g;const _=new s.Xn({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let C=g=class extends d{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,o,r,s,i){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=o&&(n.width=(0,l.t_)(o)),null!=r&&(n.cap=r),null!=s&&(n.join=s),null!=i&&(n.miterLimit=(0,l.t_)(i)),n}clone(){var t;return new g({color:(0,i.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:null==(t=this.marker)?void 0:t.clone()})}hash(){var t,e;return`${super.hash()}.${null==(t=this.color)?void 0:t.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${null==(e=this.marker)?void 0:e.hash()}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:_.apiValues,json:{read:_.read,write:_.write}})],C.prototype,"style",void 0),(0,r._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],C.prototype,"cap",void 0),(0,r._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],C.prototype,"join",void 0),(0,r._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":f}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"marker",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],C.prototype,"miterLimit",void 0),C=g=(0,r._)([(0,p.j)("esri.symbols.SimpleLineSymbol")],C);const S=C},77987:(t,e,o)=>{o.d(e,{Z:()=>w});var r,s=o(43697),i=o(22303),l=o(35454),n=o(22974),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(30556),c=o(40908),u=o(4095);const b=new l.Xn({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let m=r=class extends c.Z{constructor(...t){super(...t),this.color=new i.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new u.Z}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.style=t),null!=e&&(s.size=(0,a.t_)(e)),o&&(s.outline=o),r&&(s.color=r),s}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}set path(t){this.style="path",this._set("path",t)}clone(){return new r({angle:this.angle,color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){var t;return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${null==(t=this.outline)?void 0:t.hash()}`}};(0,s._)([(0,p.Cb)()],m.prototype,"color",void 0),(0,s._)([(0,d.c)("color")],m.prototype,"writeColor",null),(0,s._)([(0,y.J)({esriSMS:"simple-marker"},{readOnly:!0})],m.prototype,"type",void 0),(0,s._)([(0,p.Cb)()],m.prototype,"size",void 0),(0,s._)([(0,p.Cb)({type:b.apiValues,json:{read:b.read,write:b.write}})],m.prototype,"style",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],m.prototype,"path",null),(0,s._)([(0,p.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.Z}},json:{default:null,write:!0}})],m.prototype,"outline",void 0),m=r=(0,s._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],m);const w=m},87223:(t,e,o)=>{o.d(e,{Z:()=>N});var r=o(43697),s=o(80539),i=o(70921),l=o(92604),n=o(17452),a=o(20941),p=o(5600),y=(o(67676),o(80442),o(90578)),h=o(71715),d=o(52011),c=o(30556),u=o(65587),b=o(25929),m=o(38445),w=o(95191),v=o(50575),f=o(67129),g=o(17143),_=o(96742),C=o(89164),S=o(95868),Z=o(78757),j=o(44398),x=o(71144),L=o(23203);const z={icon:v.Z,object:g.Z,line:f.Z,path:_.Z,fill:w.Z,extrude:m.Z,text:Z.Z,water:j.Z},D=s.Z.ofType({base:S.Z,key:"type",typeMap:z,errorContext:"symbol-layer"}),O=l.Z.getLogger("esri.symbols.Symbol3D");let k=class extends C.Z{constructor(t){super(t),this.styleOrigin=null,this.thumbnail=null,this.type=null;const e=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,o=e&&e.type||s.Z;this._set("symbolLayers",new o)}get color(){return null}set color(t){this.initialized&&O.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(t){(0,i.Z)(t,this._get("symbolLayers"))}readStyleOrigin(t,e,o){if(t.styleUrl&&t.name){const e=(0,b.f)(t.styleUrl,o);return new x.Z({styleUrl:e,name:t.name})}if(t.styleName&&t.name)return new x.Z({portal:o&&o.portal||u.Z.getDefault(),styleName:t.styleName,name:t.name});o&&o.messages&&o.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:t}))}writeStyleOrigin(t,e,o,r){if(t.styleUrl&&t.name){let o=(0,b.t)(t.styleUrl,r);(0,n.YP)(o)&&(o=(0,n.Fv)(o)),e.styleOrigin={styleUrl:o,name:t.name}}else t.styleName&&t.name&&(t.portal&&r&&r.portal&&!(0,n.tm)(t.portal.restUrl,r.portal.restUrl)?r&&r.messages&&r.messages.push(new a.Z("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):e.styleOrigin={styleName:t.styleName,name:t.name})}normalizeCtorArgs(t){return t instanceof S.Z||t&&z[t.type]?{symbolLayers:[t]}:Array.isArray(t)?{symbolLayers:t}:t}};(0,r._)([(0,p.Cb)({json:{read:!1,write:!1}})],k.prototype,"color",null),(0,r._)([(0,p.Cb)({type:D,nonNullable:!0,json:{write:!0}}),(0,y.p)(i.R)],k.prototype,"symbolLayers",null),(0,r._)([(0,p.Cb)({type:x.Z})],k.prototype,"styleOrigin",void 0),(0,r._)([(0,h.r)("styleOrigin")],k.prototype,"readStyleOrigin",null),(0,r._)([(0,c.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],k.prototype,"writeStyleOrigin",null),(0,r._)([(0,p.Cb)({type:L.Z,json:{read:!1}})],k.prototype,"thumbnail",void 0),(0,r._)([(0,p.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],k.prototype,"type",void 0),k=(0,r._)([(0,d.j)("esri.symbols.Symbol3D")],k);const N=k},95868:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(30556);let a=class extends s.wq{constructor(t){super(t),this.enabled=!0,this.type=null}writeEnabled(t,e,o){t||(e[o]=t)}};(0,r._)([(0,i.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,i.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const p=a},78724:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(22303),l=o(22974),n=o(62357),a=o(5600),p=o(90578),y=o(36030),h=o(52011),d=o(30556),c=o(72253),u=o(89164);let b=r=class extends u.Z{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new c.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.text=t),e&&(r.font=e),o&&(r.color=o),r}writeLineWidth(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}castLineWidth(t){return(0,n.t_)(t)}writeLineHeight(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}clone(){return new r({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"backgroundColor",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"borderLineColor",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],b.prototype,"borderLineSize",void 0),(0,s._)([(0,a.Cb)({type:c.Z,json:{write:!0}})],b.prototype,"font",void 0),(0,s._)([(0,a.Cb)({type:["left","right","center","justify"],json:{write:!0}})],b.prototype,"horizontalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"kerning",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"haloColor",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"haloSize",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rightToLeft",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rotated",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"text",void 0),(0,s._)([(0,y.J)({esriTS:"text"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:["baseline","top","middle","bottom"],json:{write:!0}})],b.prototype,"verticalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"xoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"yoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],b.prototype,"angle",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],b.prototype,"width",void 0),(0,s._)([(0,a.Cb)({type:Number})],b.prototype,"lineWidth",void 0),(0,s._)([(0,d.c)("lineWidth")],b.prototype,"writeLineWidth",null),(0,s._)([(0,p.p)("lineWidth")],b.prototype,"castLineWidth",null),(0,s._)([(0,a.Cb)({type:Number})],b.prototype,"lineHeight",void 0),(0,s._)([(0,d.c)("lineHeight")],b.prototype,"writeLineHeight",null),b=r=(0,s._)([(0,h.j)("esri.symbols.TextSymbol")],b);const m=b},78757:(t,e,o)=>{o.d(e,{Z:()=>_});var r,s=o(43697),i=o(22974),l=o(70586),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(30556),h=o(72253),d=o(95868),c=o(37308),u=o(22303),b=o(96674);let m=r=class extends b.wq{constructor(){super(...arguments),this.color=new u.Z([0,0,0,1]),this.size=0}clone(){return new r({color:(0,i.d9)(this.color),size:this.size})}};(0,s._)([(0,n.Cb)(c.a)],m.prototype,"color",void 0),(0,s._)([(0,n.Cb)(c.y)],m.prototype,"size",void 0),m=r=(0,s._)([(0,p.j)("esri.symbols.support.Symbol3DHalo")],m);var w,v=o(52879);let f=w=class extends d.Z{constructor(t){super(t),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.material=null,this.text=null,this.type="text",this.verticalAlignment="middle"}get font(){return this._get("font")||null}set font(t){(0,l.pC)(t)&&(0,l.pC)(this._userSize)&&(t.size=this._userSize),this._set("font",t)}writeFont(t,e,o,r){const s={...r,textSymbol3D:!0};e.font=t.write({},s),delete e.font.size}get size(){return(0,l.pC)(this._userSize)?this._userSize:(0,l.pC)(this.font)&&null!=this.font.size?this.font.size:9}set size(t){this._userSize=t,(0,l.pC)(this.font)&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){return new w({enabled:this.enabled,font:this.font&&(0,i.d9)(this.font),halo:this.halo&&(0,i.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,material:(0,l.pC)(this.material)?this.material.clone():null,size:this.size,text:this.text,verticalAlignment:this.verticalAlignment})}static fromTextSymbol(t){return new w({font:(0,l.pC)(t.font)?t.font.clone():new h.Z,halo:g(t.haloColor,t.haloSize),horizontalAlignment:t.horizontalAlignment,material:t.color?{color:t.color.clone()}:null,text:t.text,verticalAlignment:t.verticalAlignment})}};function g(t,e){return t&&e>0?{color:(0,i.d9)(t),size:e}:null}(0,s._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],f.prototype,"font",null),(0,s._)([(0,y.c)("font")],f.prototype,"writeFont",null),(0,s._)([(0,n.Cb)({type:m,json:{write:!0}})],f.prototype,"halo",void 0),(0,s._)([(0,n.Cb)()],f.prototype,"horizontalAlignment",void 0),(0,s._)([(0,n.Cb)({type:v.b,json:{write:!0}})],f.prototype,"material",void 0),(0,s._)([(0,n.Cb)(c.y)],f.prototype,"size",null),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],f.prototype,"text",void 0),(0,s._)([(0,a.J)({Text:"text"},{readOnly:!0})],f.prototype,"type",void 0),(0,s._)([(0,n.Cb)()],f.prototype,"verticalAlignment",void 0),f=w=(0,s._)([(0,p.j)("esri.symbols.TextSymbol3DLayer")],f);const _=f},44398:(t,e,o)=>{o.d(e,{Z:()=>u});var r,s=o(43697),i=o(22303),l=o(22974),n=o(5600),a=o(75215),p=o(36030),y=o(52011),h=o(95868);let d=r=class extends h.Z{constructor(t){super(t),this.color=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,n.Cb)({type:i.Z,nonNullable:!0,json:{type:[a.z8],write:(t,e,o)=>e[o]=t.toArray(i.Z.AlphaMode.UNLESS_OPAQUE),default:()=>c.clone(),defaultEquals:t=>t.toCss(!0)===c.toCss(!0)}})],d.prototype,"color",void 0),(0,s._)([(0,p.J)({Water:"water"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],d.prototype,"waterbodySize",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],d.prototype,"waveDirection",void 0),(0,s._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],d.prototype,"waveStrength",void 0),d=r=(0,s._)([(0,y.j)("esri.symbols.WaterSymbol3DLayer")],d);const c=new i.Z([0,119,190]),u=d},59390:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(92604),l=o(95330),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(65587),h=o(25929),d=o(89164),c=o(23203);const u=i.Z.getLogger("esri.symbols.WebStyleSymbol");let b=r=class extends d.Z{constructor(t){super(t),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}read(t,e){this.portal=e?e.portal:void 0,super.read(t,e)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(t){return this._fetchSymbol("webRef",t)}fetchCIMSymbol(t){return this._fetchSymbol("cimRef",t)}async _fetchSymbol(t,e){const r=await Promise.all([o.e(102),o.e(4499)]).then(o.bind(o,74499));(0,l.k_)(e);const s=r.resolveWebStyleSymbol(this,{portal:this.portal},t,e);return s.catch((t=>{u.error("#fetchSymbol()","Failed to create symbol from style",t)})),s}};(0,s._)([(0,n.Cb)({json:{write:!1}})],b.prototype,"color",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,s._)([(0,n.Cb)({type:y.Z,json:{write:!1}})],b.prototype,"portal",void 0),(0,s._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],b.prototype,"styleUrl",void 0),(0,s._)([(0,n.Cb)({type:c.Z,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,s._)([(0,p.j)("esri.symbols.WebStyleSymbol")],b);const m=b},27539:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t),this.visible=!0}clone(){}};(0,r._)([(0,i.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,i.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(t,e,o)=>{o.d(e,{Z:()=>m});var r,s=o(43697),i=o(22303),l=o(22974),n=o(70586),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(27539),c=o(6352),u=o(37308);let b=r=class extends d.Z{constructor(t){super(t),this.type="line",this.color=new i.Z([0,0,0,1]),this.size=(0,a.Wz)(1),this.border=null}get visible(){return this.size>0&&(0,n.pC)(this.color)&&this.color.a>0}clone(){return new r({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,s._)([(0,y.J)({line:"line"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,p.Cb)(u.a)],b.prototype,"color",void 0),(0,s._)([(0,p.Cb)(u.y)],b.prototype,"size",void 0),(0,s._)([(0,p.Cb)({type:c.a,json:{write:!0}})],b.prototype,"border",void 0),(0,s._)([(0,p.Cb)({readOnly:!0})],b.prototype,"visible",null),b=r=(0,s._)([(0,h.j)("esri.symbols.callouts.LineCallout3D")],b);const m=b},84275:(t,e,o)=>{o.d(e,{Y2:()=>n,gv:()=>l,Uy:()=>i});var r=o(27539),s=o(69496);function i(t){if(!t)return!1;const e=t.verticalOffset;return!!e&&!(e.screenLength<=0||e.maxWorldLength<=0)}function l(t){if(!t)return!1;if(!t.supportsCallout||!t.supportsCallout())return!1;const e=t.callout;return!!e&&!!e.visible&&!!i(t)}const n={types:{key:"type",base:r.Z,typeMap:{line:s.Z}},json:{write:!0}}},56332:(t,e,o)=>{o.d(e,{Z:()=>f});var r=o(43697),s=o(22303),i=o(96674),l=o(22974),n=o(62357),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=class extends i.wq{constructor(t){super(t),this.color=new s.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,r._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),(0,r._)([(0,a.Cb)({...y.y,json:{write:{overridePolicy:t=>({enabled:!!t})}}})],h.prototype,"extensionLength",void 0),(0,r._)([(0,a.Cb)(y.y)],h.prototype,"size",void 0),h=(0,r._)([(0,p.j)("esri.symbols.edges.Edges3D")],h);const d=h;o(92604),o(67676),o(80442),o(37697);var c,u=o(36030);let b=c=class extends d{constructor(t){super(t),this.type="sketch"}clone(){return new c(this.cloneProperties())}};(0,r._)([(0,u.J)({sketch:"sketch"},{readOnly:!0})],b.prototype,"type",void 0),b=c=(0,r._)([(0,p.j)("esri.symbols.edges.SketchEdges3D")],b);const m=b;var w;let v=w=class extends d{constructor(t){super(t),this.type="solid"}clone(){return new w(this.cloneProperties())}};(0,r._)([(0,u.J)({solid:"solid"},{readOnly:!0})],v.prototype,"type",void 0),v=w=(0,r._)([(0,p.j)("esri.symbols.support.SolidEdges3D")],v);const f={types:{key:"type",base:d,typeMap:{solid:v,sketch:m}},json:{write:!0}}},32626:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(t,e,o)=>{o.d(e,{Z:()=>d});var r,s=o(43697),i=o(35454),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(32626);const y=(0,i.wY)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let h=r=class extends p.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,s._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,s._)([(0,n.J)(y),(0,l.Cb)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"]})],h.prototype,"style",void 0),h=r=(0,s._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const d=h},41776:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),s=o(96674),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends s.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(t,e,o)=>{o.d(e,{Z:()=>p});var r,s=o(43697),i=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(41776);let a=r=class extends n.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,s._)([(0,i.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=r=(0,s._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const p=a},17495:(t,e,o)=>{o.d(e,{D:()=>a,q:()=>n});var r=o(32626),s=o(4618),i=o(41776),l=o(74721);const n={types:{key:"type",base:i.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:r.Z,typeMap:{style:s.Z}},json:{write:!0}}},71144:(t,e,o)=>{o.d(e,{Z:()=>y});var r,s=o(43697),i=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(65587);let p=r=class extends i.Z{constructor(){super(...arguments),this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.Cb)({type:String})],p.prototype,"name",void 0),(0,s._)([(0,l.Cb)({type:String})],p.prototype,"styleUrl",void 0),(0,s._)([(0,l.Cb)({type:String})],p.prototype,"styleName",void 0),(0,s._)([(0,l.Cb)({type:a.Z})],p.prototype,"portal",void 0),p=r=(0,s._)([(0,n.j)("esri.symbols.support.StyleOrigin")],p);const y=p},52879:(t,e,o)=>{o.d(e,{b:()=>y});var r,s=o(43697),i=o(96674),l=o(70586),n=o(5600),a=(o(67676),o(80442),o(75215),o(52011)),p=o(37308);let y=r=class extends i.wq{constructor(t){super(t),this.color=null}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null};return new r(t)}};(0,s._)([(0,n.Cb)(p.a)],y.prototype,"color",void 0),y=r=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DMaterial")],y)},7413:(t,e,o)=>{o.d(e,{Z:()=>y});var r,s=o(43697),i=o(96674),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(37308);let p=r=class extends i.wq{constructor(){super(...arguments),this.screenLength=0,this.minWorldLength=0}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.Cb)(a.y)],p.prototype,"screenLength",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0,default:0}})],p.prototype,"minWorldLength",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],p.prototype,"maxWorldLength",void 0),p=r=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],p);const y=p},23203:(t,e,o)=>{o.d(e,{Z:()=>p});var r,s=o(43697),i=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011));let a=r=class extends i.Z{clone(){return new r({url:this.url})}};(0,s._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=r=(0,s._)([(0,n.j)("esri.symbols.support.Thumbnail")],a);const p=a},50178:(t,e,o)=>{o.d(e,{rx:()=>l,l9:()=>i,ix:()=>s});var r=o(22303);const s=new r.Z("white"),i=(new r.Z("black"),new r.Z([255,255,255,0]));function l(t){return 0===t.r&&0===t.g&&0===t.b}},37308:(t,e,o)=>{o.d(e,{a:()=>n,y:()=>a});var r=o(22303),s=o(62357),i=o(75215),l=o(65242);const n={type:r.Z,json:{type:[i.z8],default:null,read:{source:["color","transparency"],reader:function(t,e){const o=null!=e.transparency?(0,l.b)(e.transparency):1,s=e.color;return s&&Array.isArray(s)?new r.Z([s[0]||0,s[1]||0,s[2]||0,o]):null}},write:{target:{color:{type:[i.z8]},transparency:{type:i.z8}},writer:function(t,e){e.color=t.toJSON().slice(0,3);const o=(0,l.a)(t.a);0!==o&&(e.transparency=o)}}}},a={type:Number,cast:s.t_,json:{write:!0}}},45119:(t,e,o)=>{o.d(e,{Hc:()=>y,w2:()=>d,Uz:()=>p,$K:()=>i,KW:()=>h}),o(80442);var r=o(65617),s=o(60437);function i(t,{isPrimitive:e,width:o,depth:s,height:i}){const l=e?10:1;if(null==o&&null==i&&null==s)return[l*t[0],l*t[1],l*t[2]];const n=(0,r.f)(o,s,i);let a;for(let e=0;e<3;e++){const o=n[e];if(null!=o){a=o/t[e];break}}for(let e=0;e<3;e++)null==n[e]&&(n[e]=t[e]*a);return n}const l=(0,s.al)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.al)(-.5,-.5,0,.5,.5,1),a=(0,s.al)(-.5,-.5,0,.5,.5,.5);function p(t){switch(t){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const y=["butt","square","round"],h=[...y,"none"],d=["miter","bevel","round"]},94075:(t,e,o)=>{o.d(e,{Ds:()=>n,KA:()=>l});var r=o(17452),s=o(25929);function i(t,e){return function(t){return t&&("service"===t.origin||"portal-item"===t.origin)&&t.layer&&("feature"===t.layer.type||"stream"===t.layer.type)}(e)&&!(0,r.YP)(t)&&e.layer.parsedUrl?(0,r.v_)(e.layer.parsedUrl.path,"images",t):(0,s.f)(t,e)}const l={json:{read:{source:["imageData","url"],reader:function(t,e,o){return e.imageData?(0,r._l)({mediaType:e.contentType||"image/png",isBase64:!0,data:e.imageData}):i(e.url,o)}},write:{writer(t,e,o,i){!function(t,e,o,i){if((0,r.HK)(t)){const l=(0,r.sJ)(t);e.contentType=l.mediaType,e.imageData=l.data,o&&o.imageData===e.imageData&&o.url&&(0,s.w)(o.url,e,"url",i)}else(0,s.w)(t,e,"url",i)}(t,e,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(t,e,o){const r={};return e.imageData&&(r.imageData=e.imageData),e.contentType&&(r.contentType=e.contentType),e.url&&(r.url=i(e.url,o)),r}}}}},65242:(t,e,o)=>{o.d(e,{a:()=>s,b:()=>i});var r=o(75215);function s(t){const e=(0,r.vU)(100*(1-t));return Math.max(0,Math.min(e,100))}function i(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2785],{43697:(t,e,r)=>{function n(t,e,r,n){var s,i=arguments.length,o=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}r.d(e,{_:()=>n})},15923:(t,e,r)=>{r.d(e,{Z:()=>j});var n=r(60235),s=r(92604),i=r(67723),o=r(97831),a=r(7628),l=(r(80442),r(22974)),c=r(71143),u=r(31263),h=r(58971),f=r(44550),d=r(39020);class p{constructor(t,e,r){this.properties=t,this.propertyName=e,this.metadata=r,this._observers=null,this._accessed=null,this._handles=null,this.flags=f.v.Dirty|(r.nonNullable?f.v.NonNullable:0)|(r.hasOwnProperty("value")?f.v.HasDefaultValue:0)|(void 0===r.get?f.v.DepTrackingInitialized:0)|(void 0===r.dependsOn?f.v.AutoTracked:0)}destroy(){this._accessed=null,this._observers=null,this._clearObservationHandles()}getComputed(){(0,h.it)(this);const t=this.properties.store,e=this.propertyName,r=this.flags,n=t.get(e);if(r&f.v.Computing)return n;if(~r&f.v.Dirty&&t.has(e))return n;this.flags|=f.v.Computing;const s=this.properties.host;let i;r&f.v.AutoTracked?i=(0,h.LJ)(this,this.metadata.get,s):((0,h.GF)(s,this),i=this.metadata.get.call(s)),t.set(e,i,u.s3.COMPUTED);const o=t.get(e);return o===n?this.flags&=~f.v.Dirty:(0,h.gb)(this.commit,this),this.flags&=~f.v.Computing,o}onObservableAccessed(t){t!==this&&(null===this._accessed&&(this._accessed=[]),this._accessed.includes(t)||this._accessed.push(t))}onTrackingEnd(){this._clearObservationHandles(),this.flags|=f.v.DepTrackingInitialized;const t=this._accessed;if(null===t)return;let e=this._handles;null===e&&(e=this._handles=[]);for(let r=0;r<t.length;++r)e.push(t[r].observe(this));t.length=0}observe(t){return null===this._observers&&(this._observers=[]),this._observers.includes(t)||this._observers.push(t),new d.X(this._observers,t)}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}onInvalidated(){~this.flags&f.v.Overriden&&(this.flags|=f.v.Dirty);const t=this._observers;if(null!==t)for(let e=0;e<t.length;++e)t[e].onInvalidated()}commit(){this.flags&=~f.v.Dirty,this.onCommitted()}onCommitted(){if(null===this._observers)return;const t=this._observers.slice();for(let e=0;e<t.length;++e)t[e].onCommitted()}_clearObservationHandles(){const t=this._handles;if(null!==t){for(let e=0;e<t.length;++e)t[e].remove();t.length=0}}}class g{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new g;return this._values.forEach(((r,n)=>{t&&t.has(n)||e.set(n,(0,l.d9)(r))})),e}get(t){return this._values.get(t)}originOf(){return u.s3.USER}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)}forEach(t){this._values.forEach(t)}}var y=r(1153);function v(t,e,r){return void 0!==t}function _(t,e,r,n){return!(void 0===t||null==r&&t.flags&f.v.NonNullable&&(n.lifecycle,o.F.INITIALIZING,1))}function m(t){return t&&"function"==typeof t.destroy}s.Z.getLogger("esri.core.accessorSupport.Properties");class w{constructor(t){this.host=t,this.properties=new Map,this.ctorArgs=null,this.destroyed=!1,this.lifecycle=o.F.INITIALIZING,this.store=new g,this._origin=u.s3.USER;const e=this.host.constructor.__accessorMetadata__,r=e.properties;for(const t in r){const e=new p(this,t,r[t]);this.properties.set(t,e)}this.metadatas=r,this._autoDestroy=e.autoDestroy}initialize(){this.lifecycle=o.F.CONSTRUCTING}constructed(){this.lifecycle=o.F.CONSTRUCTED}destroy(){if(this.destroyed=!0,this._autoDestroy)for(const[t,e]of this.properties){const r=this.internalGet(t);r&&m(r)&&(r.destroy(),~e.flags&f.v.NonNullable&&this._internalSet(e,null)),e.destroy()}else for(const[t,e]of this.properties)e.destroy()}get initialized(){return this.lifecycle!==o.F.INITIALIZING}get(t){const e=this.properties.get(t);if(e.metadata.get)return e.getComputed();(0,h.it)(e);const r=this.store;return r.has(t)?r.get(t):e.metadata.value}originOf(t){const e=this.store.originOf(t);if(void 0===e){const e=this.properties.get(t);if(void 0!==e&&e.flags&f.v.HasDefaultValue)return"defaults"}return(0,u.x3)(e)}has(t){return!!this.properties.has(t)&&this.store.has(t)}keys(){return[...this.properties.keys()]}internalGet(t){const e=this.properties.get(t);if(v(e))return this.store.has(t)?this.store.get(t):e.metadata.value}internalSet(t,e){const r=this.properties.get(t);v(r)&&this._internalSet(r,e)}getDependsInfo(t,e,r){const n=this.properties.get(e);if(!v(n))return"";const s=new Set,i=(0,h.LJ)({onObservableAccessed:t=>s.add(t),onTrackingEnd:()=>{}},(()=>{var e;return null==(e=n.metadata.get)?void 0:e.call(t)}));let o=`${r}${t.declaredClass.split(".").pop()}.${e}: ${i}\n`;if(0===s.size)return o;r+=" ";for(const t of s){if(!(t instanceof p))continue;const e=t.properties.host,n=t.propertyName,s=(0,y.vw)(e);o+=s?s.getDependsInfo(e,n,r):`${r}${n}: undefined\n`}return o}setAtOrigin(t,e,r){const n=this.properties.get(t);if(v(n))return this._setAtOrigin(n,e,r)}isOverridden(t){const e=this.properties.get(t);return void 0!==e&&!!(e.flags&f.v.Overriden)}clearOverride(t){const e=this.properties.get(t);void 0!==e&&e.flags&f.v.Overriden&&(e.flags&=~f.v.Overriden,e.notifyChange())}override(t,e){const r=this.properties.get(t);if(!_(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(b.release(t),!r)return;e=s}r.flags|=f.v.Overriden,this._internalSet(r,e)}set(t,e){const r=this.properties.get(t);if(!_(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(b.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,u.M9)(t)}getDefaultOrigin(){return(0,u.x3)(this._origin)}notifyChange(t){const e=this.properties.get(t);void 0!==e&&e.notifyChange()}invalidate(t){const e=this.properties.get(t);void 0!==e&&e.invalidate()}commit(t){const e=this.properties.get(t);void 0!==e&&e.commit()}_internalSet(t,e){const r=this.lifecycle!==o.F.INITIALIZING?this._origin:u.s3.DEFAULTS;this._setAtOrigin(t,e,r)}_setAtOrigin(t,e,r){const n=this.store,s=t.propertyName;n.has(s,r)&&(0,l.fS)(e,n.get(s))&&~t.flags&f.v.Overriden&&r===n.originOf(s)||(t.invalidate(),n.set(s,e,r),t.commit(),(0,h.mS)(this.host,t))}_cast(t,e){const r=b.acquire();return r.valid=!0,r.value=e,t&&(r.value=t.call(this.host,e,r)),r}}const b=new c.Z(class{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}});var A=r(37697),O=r(26258),S=r(5600),T=r(52011);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&&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}}class j{constructor(...t){if(this.constructor===j)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");Object.defineProperty(this,"__accessor__",{enumerable:!1,value:new w(this)}),t.length>0&&this.normalizeCtorArgs&&(this.__accessor__.ctorArgs=this.normalizeCtorArgs.apply(this,t))}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,a.JT)(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,S.Cb)(r)(i.prototype,t)}return(0,T.j)(r)(i)}postscript(t){const e=this.__accessor__,r=e.ctorArgs||t;e.initialize(),r&&(this.set(r),e.ctorArgs=null),e.constructed(),this.initialize()}initialize(){}destroy(){this.destroyed||((0,O.BT)(this),this.__accessor__.destroy())}get initialized(){return this.__accessor__&&this.__accessor__.initialized||!1}get constructed(){return this.__accessor__&&this.__accessor__.lifecycle===o.F.CONSTRUCTED||!1}get destroyed(){return this.__accessor__&&this.__accessor__.destroyed||!1}commitProperty(t){this.get(t)}get(t){return(0,i.U2)(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}isInstanceOf(t){return(0,n.XV)(s.Z.getLogger(this.declaredClass),"isInstanceOf",{replacement:"Use instanceof directly",version:"4.16"}),this instanceof t}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,e){return(0,A.t)(this,t,e),this}watch(t,e,r){return(0,O.YP)(this,t,e,r)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_override(t,e){return 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}}},3894:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(71143);function s(t){t.length=0}class i{constructor(t=50,e=50){this._pool=new n.Z(Array,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)},96674:(t,e,r)=>{r.d(e,{wq:()=>v,eC:()=>g});var n=r(43697),s=r(15923),i=r(70586),o=r(22974),a=r(31263);class l{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new l;return this._values.forEach(((r,n)=>{t&&t.has(n)||e.set(n,(0,o.d9)(r.value),r.origin)})),e}get(t,e){e=this._normalizeOrigin(e);const r=this._values.get(t);return null==e||(null==r?void 0:r.origin)===e?null==r?void 0:r.value:void 0}originOf(t){var e,r;return null!=(e=null==(r=this._values.get(t))?void 0:r.origin)?e:a.s3.USER}keys(t){t=this._normalizeOrigin(t);const e=[...this._values.keys()];return null==t?e:e.filter((e=>{var r;return(null==(r=this._values.get(e))?void 0:r.origin)===t}))}set(t,e,r){if((r=this._normalizeOrigin(r))===a.s3.DEFAULTS){const e=this._values.get(t);if(e&&null!=e.origin&&e.origin>r)return}this._values.set(t,new c(e,r))}delete(t,e){var r;null!=(e=this._normalizeOrigin(e))&&(null==(r=this._values.get(t))?void 0:r.origin)!==e||this._values.delete(t)}has(t,e){var r;return null!=(e=this._normalizeOrigin(e))?(null==(r=this._values.get(t))?void 0:r.origin)===e:this._values.has(t)}forEach(t){this._values.forEach((({value:e},r)=>t(e,r)))}_normalizeOrigin(t){if(null!=t)return t===a.s3.DEFAULTS?t:a.s3.USER}}class c{constructor(t,e){this.value=t,this.origin=e}}var u=r(41103),h=r(50549),f=r(1153),d=r(76169),p=r(52011);const g=t=>{let e=class extends t{constructor(...t){super(...t);const e=(0,i.j0)((0,f.vw)(this)),r=e.store,n=new l;e.store=n,(0,u.M)(e,r,n)}read(t,e){(0,h.ij)(this,t,e)}write(t={},e){return(0,d.cW)(this,t,e)}toJSON(t){return this.write({},t)}static fromJSON(t,e){return y.call(this,t,e)}};return e=(0,n._)([(0,p.j)("esri.core.JSONSupport")],e),e.prototype.toJSON.isDefaultToJSON=!0,e};function y(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}let v=class extends(g(s.Z)){};v=(0,n._)([(0,p.j)("esri.core.JSONSupport")],v)},30175:(t,e,r)=>{function n(t,e,r){const n=t.get(e);if(void 0!==n)return n;const s=r();return t.set(e,s),s}r.d(e,{s1:()=>n})},71143:(t,e,r)=>{r.d(e,{Z:()=>n});class n{constructor(t,e,r,n=1,s=0){if(this.ctor=t,this.acquireFunction=e,this.releaseFunction=r,this.allocationSize=n,this._pool=new Array(s),this._initialSize=s,this.ctor)for(let t=0;t<s;t++)this._pool[t]=new this.ctor;this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){let e;if(n.test.disabled)e=new this.ctor;else{if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=new this.ctor}e=this._pool.pop()}return this.acquireFunction?this.acquireFunction(e,...t):function(t){return t&&t.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&!n.test.disabled&&(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()}}n.test={disabled:!1}},54790:(t,e,r)=>{r.d(e,{Z:()=>n});class n{constructor(t,e=29){this.name=t,this._counter=0,this._items=new Array(e)}record(t){this._items[++this._counter%this._items.length]=t}get median(){return this._items.slice().sort(((t,e)=>t-e))[Math.floor(this._items.length/2)]}get average(){return this._items.reduce(((t,e)=>t+e),0)/this._items.length}get last(){return this._items[this._counter%this._items.length]}}},44553:(t,e,r)=>{r.d(e,{Z:()=>o});var n,s=r(67676);!function(t){const e=(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},r=(t,e)=>t<e?-1:t>e?1:0;t.sort=function(t,n,s,i){void 0===n&&(n=0),void 0===s&&(s=t.length),void 0===i&&(i=r);for(let r=s>>>1;r>n;r--)e(t,r,s,i);const o=n+1;for(let r=s-1;r>n;r--){const s=t[n];t[n]=t[r],t[r]=s,e(t,o,r,i)}},t.iterableSort=function*(t,n,s,i){void 0===n&&(n=0),void 0===s&&(s=t.length),void 0===i&&(i=r);for(let r=s>>>1;r>n;r--)e(t,r,s,i),yield;const o=n+1;for(let r=s-1;r>n;r--){const s=t[n];t[n]=t[r],t[r]=s,e(t,o,r,i),yield}}}(n||(n={}));const i=n;class o{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new s.SO,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=()=>a(this)))}toArray(){return this.data.slice(0,this.length)}getItemAt(t){if(!(t<0||t>=this._length))return this.data[t]}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]}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++,a(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,s.cq)(this.data,t,this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){const e=(0,s.e$)(this.data,t,this.length,this._hint);return void 0!==e&&(this.length=this.length-1),this._shrink(),e}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,s.FY)(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){t>=this.length||e>=this.length||t===e||([this.data[t],this.data[e]]=[this.data[e],this.data[t]])}sort(t){i.sort(this.data,0,this.length,t)}iterableSort(t){return i.iterableSort(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}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 r=this.length,n=this.data;for(let s=0;s<r;++s)t.call(e,n[s],s,n)}forEach(t,e){for(let r=0;r<this.length;++r)t.call(e,this.data[r],r,this.data)}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}}function a(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},20941:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(58896);class s extends n.Z{constructor(t,e,r){if(super(t,e,r),!(this instanceof s))return new s(t,e,r)}}s.prototype.type="warning"},31263:(t,e,r)=>{r.d(e,{s3:()=>n,kk:()=>o,x3:()=>l,Wm:()=>c,M9:()=>a});var n,s,i=r(70586);(s=n||(n={}))[s.DEFAULTS=0]="DEFAULTS",s[s.COMPUTED=1]="COMPUTED",s[s.SERVICE=2]="SERVICE",s[s.PORTAL_ITEM=3]="PORTAL_ITEM",s[s.WEB_SCENE=4]="WEB_SCENE",s[s.WEB_MAP=5]="WEB_MAP",s[s.USER=6]="USER";const o=n.USER+1;function a(t){switch(t){case"defaults":return n.DEFAULTS;case"service":return n.SERVICE;case"portal-item":return n.PORTAL_ITEM;case"web-scene":return n.WEB_SCENE;case"web-map":return n.WEB_MAP;case"user":return n.USER}}function l(t){switch(t){case n.DEFAULTS:return"defaults";case n.SERVICE:return"service";case n.PORTAL_ITEM:return"portal-item";case n.WEB_SCENE:return"web-scene";case n.WEB_MAP:return"web-map";case n.USER:return"user"}return(0,i.j0)(void 0)}function c(t){return l(t)}},90578:(t,e,r)=>{r.d(e,{p:()=>l});var n=r(75215),s=r(7628);const i=Object.prototype.toString;function o(t){const e="__accessorMetadata__"in t?(0,n.se)(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.VZ)(t,e).cast=n}function l(...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 function(e,r){(0,s.VZ)(e,t).cast=e[r]}}(t[0]):void 0}},5600:(t,e,r)=>{r.d(e,{Eg:()=>u,Cb:()=>l,CJ:()=>c});var n=r(92604),s=r(75215),i=r(67723),o=r(7628),a=r(37697);function l(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 l=Object.getOwnPropertyDescriptor(e,r),c=(0,o.VZ)(e,r);l&&(l.get||l.set?(c.get=l.get||c.get,c.set=l.set||c.set):"value"in l&&("value"in t&&n.Z.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),c.value=t.value=l.value)),null!=t.readOnly&&(c.readOnly=t.readOnly);const h=t.aliasOf;if(h){const t="string"==typeof h?h:h.source,e="string"==typeof h?null:!0===h.overridable;let n;c.dependsOn=[t],c.get=function(){let e=(0,i.U2)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.U2)(this,n);r&&(e=e.bind(r))}return e},c.readOnly||(c.set=e?function(t){void 0!==t?this._override(r,t):this._clearOverride(r)}:function(e){(0,a.t)(this,t,e)})}const f=t.type,d=t.types;c.cast||(f?c.cast=function(t){let e=0,r=t;if((0,s.AY)(t))return(0,s.sY)(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.gB)(n))return 0===e?(0,s.i$)(n):(0,s.Iu)((0,s.i$)(n),e);if(1===e)return(0,s.rY)(n);if(e>1)return(0,s.di)(n,e);const i=t;return i.from?i.from:(0,s.se)(i)}(f):d&&(Array.isArray(d)?c.cast=(0,s.Ls)((0,s.N7)(d[0])):c.cast=(0,s.N7)(d))),t.range&&(c.cast=u(c.cast,t.range)),(0,o.tz)(c,t)}}function c(t,e,r){const n=(0,o.VZ)(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}function u(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}}},52011:(t,e,r)=>{r.d(e,{j:()=>c}),r(80442);var n=r(97831),s=r(7628),i=r(58971),o=r(53906);const a=new Set,l=new Set;function c(t){return e=>{e.prototype.declaredClass=t,h(e);const r=[],n=[];let i=e.prototype;for(;i;)i.hasOwnProperty("initialize")&&!a.has(i.initialize)&&(a.add(i.initialize),r.push(i.initialize)),i.hasOwnProperty("destroy")&&!l.has(i.destroy)&&(l.add(i.destroy),n.push(i.destroy)),i=Object.getPrototypeOf(i);a.clear(),l.clear();class o extends e{constructor(...t){if(super(...t),this.constructor===o&&"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;Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){t=!0;for(let t=0;t<n.length;t++)n[t].call(this)}}})}this.postscript(...t)}}}return o.__accessorMetadata__=(0,s.JT)(e.prototype),o.prototype.declaredClass=t,o}}function u(t,e){return null==e.get?function(){const e=this.__accessor__.properties.get(t);if(void 0===e)return;(0,i.it)(e);const r=this.__accessor__.store;return r.has(t)?r.get(t):e.metadata.value}:function(){const e=this.__accessor__.properties.get(t);if(void 0!==e)return e.getComputed()}}function h(t){const e=t.prototype,r=(0,s.JT)(e).properties,i={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];(0,o.OM)(e),i[t]={enumerable:!0,configurable:!0,get:u(t,e),set(r){const s=this.__accessor__;if(void 0!==s){if(!Object.isFrozen(this)){if(s.initialized&&e.readOnly)throw new TypeError(`[accessor] cannot assign to read-only property '${t}' of ${this.declaredClass}`);if(s.lifecycle===n.F.CONSTRUCTED&&e.constructOnly)throw new TypeError(`[accessor] cannot assign to construct-only property '${t}' of ${this.declaredClass}`);s.set(t,r)}}else Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}}}Object.defineProperties(t.prototype,i)}},41103:(t,e,r)=>{r.d(e,{M:()=>s});var n=r(31263);function s(t,e,r){e.keys().forEach((t=>{r.set(t,e.get(t),n.s3.DEFAULTS)}));const s=t.metadatas;Object.keys(s).forEach((e=>{t.internalGet(e)&&r.set(e,t.internalGet(e),n.s3.DEFAULTS)}))}},75215:(t,e,r)=>{r.d(e,{z8:()=>k,rY:()=>A,Ls:()=>b,TJ:()=>y,vU:()=>u,sY:()=>D,di:()=>T,Iu:()=>S,q9:()=>c,i$:()=>j,N7:()=>N,Zs:()=>l,se:()=>w,AY:()=>I,gB:()=>E,V5:()=>C}),r(80442);var n=r(92604),s=r(30175);const i=n.Z.getLogger("esri.core.Accessor");function o(t){return null==t?t:new Date(t)}function a(t){return null==t?t:!!t}function l(t){return null==t?t:t.toString()}function c(t){return null==t?t:(t=parseFloat(t),isNaN(t)?0:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function h(t){return t&&t.constructor&&void 0!==t.constructor.__accessorMetadata__}function f(t,e){return null!=e&&t&&!(e instanceof t)}function d(t){return t&&"isCollection"in t}function p(t){return t&&t.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function g(t,e){return!!h(e)&&(i.error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+v(t)+"'"),!0)}function y(t,e){return null==e?e:d(t)?function(t,e){if(!e||!e.constructor||!d(e.constructor))return g(t,e)?e:new t(e);const r=p(t.prototype.itemType),n=p(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(g(t,e),e):new t(e):e}(t,e):f(t,e)?g(t,e)?e:new t(e):e}function v(t){return t&&t.prototype&&t.prototype.declaredClass||"unknown"}const _=new WeakMap;function m(t){switch(t){case Number:return c;case k:return u;case Boolean:return a;case String:return l;case Date:return o;default:return(0,s.s1)(_,t,(()=>y.bind(null,t)))}}function w(t,e){const r=m(t);return 1===arguments.length?r:r(e)}function b(t,e,r){return 1===arguments.length?b.bind(null,t):e?Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]:e}function A(t,e){return 1===arguments.length?b(w.bind(null,t)):b(w.bind(null,t),e)}function O(t,e,r){return 0!==e&&Array.isArray(r)?r.map((r=>O(t,e-1,r))):t(r)}function S(t,e,r){if(2===arguments.length)return S.bind(null,t,e);if(!r)return r;let n=e,s=r=O(t,e,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?S(w.bind(null,t),e):S(w.bind(null,t),e,r)}function E(t){return!!Array.isArray(t)&&!t.some((e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)}))}function j(t,e){if(2===arguments.length)return j(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 l=typeof t,c="string"===l||"number"===l;return c&&(r.has(t)||s.some((t=>"string"===l&&t===String||"number"===l&&t===Number)))||"object"===l&&s.some((e=>!f(t,e)))?t:(c&&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=>v(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 N(t,e){if(2===arguments.length)return N(t).call(null,e);const r={},n=[],s=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=w(i),n.push(v(i)),s.push(e)}const o=()=>`'${n.join("', '")}'`,a=()=>`'${s.join("', '")}'`,l="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!f(t.base,e))return e;if(null==e)return e;const n=l(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(!f(t.typeMap[n],e))return e;if("string"==typeof t.key&&!h(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return s(r)}return s(e)}}class k{}const C={native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})};function I(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function D(t){switch(t.type){case"native":return w(t.value);case"array":return b(D(t.value));case"one-of":return function(t){let e=null;return(r,n)=>U(r,t)?r:(null==e&&(e=M(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 M(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case k:return"integer";case Date:return"date";default:return v(t.value)}case"array":return`array of ${M(t.value)}`;case"one-of":{const e=t.values.map((t=>M(t)));return`one of ${e.slice(0,e.length-1)} or ${e[e.length-1]}`}}return"unknown"}function U(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case k:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some((t=>!U(t,e.value)));case"one-of":return e.values.some((e=>U(t,e)))}}},53906:(t,e,r)=>{r.d(e,{hk:()=>f,HS:()=>u,Ah:()=>h,OM:()=>y});var n=r(75215),s=r(63213);function i(t){if(t.json||(t.json={}),a(t.json),l(t.json),o(t.json),t.json.origins)for(const e in t.json.origins)a(t.json.origins[e]),l(t.json.origins[e]),o(t.json.origins[e]);return!0}function o(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 a(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 l(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 c=r(827);function u(t,e){return f(t,"read",e)}function h(t,e){return f(t,"write",e)}function f(t,e,r){let n=t&&t.json;if(t&&t.json&&t.json.origins&&r){const s=t.json.origins[r.origin];s&&("any"===e||e in s)&&(n=s)}return n}function d(t){return t.type?p(t):g(t)}function p(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,n.gB)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function g(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 y(t){i(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?g(t.json):t.type?p(t):g(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],i=n.types?d(n):e;(0,s.U)(i,n,!1),n.types&&!n.write&&t.json.write&&t.json.write.enabled&&(n.write={...t.json.write}),(0,c.U)(i,n)}(0,s.U)(e,t.json,!0),(0,c.U)(e,t.json)}(t))}},63213:(t,e,r)=>{r.d(e,{U:()=>c,d:()=>u});var n=r(92604),s=r(78286),i=r(20941),o=r(7628),a=r(14062);const l=n.Z.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(t,e,r){var n,i;t&&(!r&&!e.read||null!=(n=e.read)&&n.reader||!1===(null==(i=e.read)?void 0:i.enabled)||function(t){return"types"in t?y(t.types):g(t.type)}(t)&&(0,s.RB)("read.reader",u(t),e))}function u(t){var e;const r=null!=(e=t.ndimArray)?e:0;if(r>1)return function(t){var e;const r=h(t),n=f.bind(null,r),s=null!=(e=t.ndimArray)?e:0;return(t,e,r)=>{if(null==t)return t;t=n(t,r,s);let i=s,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===r)return d(t);if("type"in t&&p(t.type)){var n,s;const e=null==(n=t.type.prototype)||null==(s=n.itemType)?void 0:s.Type,r=d("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 h(t)}function h(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){var e;let r=null;const n=null!=(e=t.errorContext)?e:"type";return(e,s,a)=>{if(null==e)return e;const c=typeof e;if("object"!==c)return void l.error(`Expected JSON value of type 'object' to deserialize, but got '${c}'`);r||(r=function(t){const e={};for(const s in t.typeMap){var r,n;const i=t.typeMap[s],a=(0,o.JT)(i.prototype);if("function"==typeof t.key)continue;const l=a.properties[t.key];if(!l)continue;null!=(r=l.json)&&r.type&&Array.isArray(l.json.type)&&1===l.json.type.length&&"string"==typeof l.json.type[0]&&(e[l.json.type[0]]=i);const c=null==(n=l.json)?void 0:n.write;if(!c||!c.writer){e[s]=i;continue}const u=c.target,h="string"==typeof u?u:t.key,f={};c.writer(s,f,h),f[h]&&(e[f[h]]=i)}return e}(t));const u=t.key;if("string"!=typeof u)return;const h=e[u],f=h?r[h]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!f){const t=`Type '${h||"unknown"}' is not supported`;return a&&a.messages&&e&&a.messages.push(new i.Z(`${n}:unsupported`,t,{definition:e,context:a})),void l.error(t)}const d=new f;return d.read(e,a),d}}(t.types)}function f(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map((e=>f(t,e,r,n-1))):t(e,void 0,r)}function d(t){const e=h(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 p(t){if(!(0,a.u)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):y(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||p(t))}function y(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},14062:(t,e,r)=>{function n(t){return!!t&&t.prototype&&t.prototype.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{u:()=>n})},827:(t,e,r)=>{r.d(e,{U:()=>l,k:()=>f});var n=r(20102),s=r(92604),i=r(78286),o=r(14062);const a=s.Z.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer");function l(t,e){var r;if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const n=null!=(r=null==t?void 0:t.ndimArray)?r:0;t&&(1===n||"type"in t&&(0,o.u)(t.type))?e.write.writer=d:n>1?e.write.writer=function(t){return function(e,r,n,s){let o;if(null===e)o=null;else{o=p(e,s,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,i.RB)(n,o,r)}}(n):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,s)=>e&&Array.isArray(e)?u(e.filter((e=>c(e,t,s))),r,n,s):u(e,r,n,s)}(e.types[0]):e.write.writer=function(t){return(e,r,n,s)=>e?c(e,t,s)?u(e,r,n,s):void 0:u(e,r,n,s)}(e.types):e.write.writer=u}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(null!=r&&r.messages){var s,i;const o=null!=(s=e.errorContext)?s:"type",l=`Values of type '${null!=(i="function"!=typeof e.key?t[e.key]:t.declaredClass)?i:"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new n.Z(`${o}:unsupported`,l,{definition:t,context:r})),a.error(l)}return!1}function u(t,e,r,n){(0,i.RB)(r,h(t,n),e)}function h(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?f(t):t}function f(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function d(t,e,r,n){let s;null===t?s=null:t&&"function"==typeof t.map?(s=t.map((t=>h(t,n))),"function"==typeof s.toArray&&(s=s.toArray())):s=[h(t,n)],(0,i.RB)(r,s,e)}function p(t,e,r){return 0!==r&&Array.isArray(t)?t.map((t=>p(t,e,r-1))):h(t,e)}},67723:(t,e,r)=>{r.d(e,{Gg:()=>l,U2:()=>a,$z:()=>o});var n=r(1153);function s(t,e){const r="?"===t[t.length-1]?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.getItemAt(t)}const s=(0,n.vw)(e);return(0,n.b6)(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&&-1===e.indexOf(".")?s(e,t):i(t,(0,n.NI)(e),r)}function a(t,e){return o(t,e)}function l(t,e){return void 0!==o(e,t)}},97831:(t,e,r)=>{var n;r.d(e,{F:()=>n}),function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED"}(n||(n={}))},7628:(t,e,r)=>{r.d(e,{JT:()=>a,VZ:()=>l,tz:()=>c});var n=r(22974),s=r(70586),i=r(1153);class o{constructor(t){this.autoDestroy=!1,this.properties=t}}function a(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){const r=Object.create(e.properties),s=e.autoDestroy;for(const t in r)r[t]=(0,n.d9)(r[t]);e=new o(r),e.autoDestroy=s,Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e=new o({}),Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return(0,s.j0)(t.constructor.__accessorMetadata__)}function l(t,e){const r=function(t){return a(t).properties}(t);let n=r[e];return n||(n=r[e]={}),n}function c(t,e){return(0,i.TS)(t,e,h)}const u=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function h(t){return u.test(t)?"replace":"merge"}},50549:(t,e,r)=>{r.d(e,{ij:()=>u,$Z:()=>h});var n=r(67723),s=r(1153),i=r(53906);function o(t,e,r){if(!t||!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.indexOf(".")>-1&&0===s.indexOf(e)&&(0,n.Gg)(s,r))return!0}else for(const t of s){if(t===e)return!0;if(t.indexOf(".")>-1&&0===t.indexOf(e)&&(0,n.Gg)(t,r))return!0}return!1}function a(t,e,r,n,s){let a=(0,i.HS)(e[r],s);(function(t){return t&&(!t.read||!1!==t.read.enabled&&!t.read.source)})(a)&&(t[r]=!0);for(const l of Object.getOwnPropertyNames(e))a=(0,i.HS)(e[l],s),o(a,r,n)&&(t[l]=!0)}function l(t,e,r,n){const s=r.metadatas,o=(0,i.hk)(s[e],"any",n),a=o&&o.default;if(void 0===a)return;const l="function"==typeof a?a.call(t,e,n):a;void 0!==l&&r.set(e,l)}const c={origin:"service"};function u(t,e,r=c){if(!e||"object"!=typeof e)return;const o=(0,s.vw)(t),u=o.metadatas,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.HS)(u[s],r).read,l=a&&a.source;let c;c=l&&"string"==typeof l?(0,n.$z)(e,l):e[s],a&&a.reader&&(c=a.reader.call(t,c,e,r)),void 0!==c&&o.set(s,c)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const e of Object.getOwnPropertyNames(u))h[e]||l(t,e,o,r)}o.setDefaultOrigin("user")}function h(t,e,r,n=c){var s;const i={...n,messages:[]};r(i),null==(s=i.messages)||s.forEach((e=>{"warning"!==e.type||t.loaded?n&&n.messages&&n.messages.push(e):t.loadWarnings.push(e)}))}},37697:(t,e,r)=>{r.d(e,{t:()=>a});var n=r(20102),s=r(80442),i=r(92604),o=r(67723);function a(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))a(t,r,e[r]);else{if(-1!==e.indexOf(".")){const n=e.split("."),s=n.splice(n.length-1,1)[0];return void a((0,o.U2)(t,n),s,r)}const i=t.__accessor__;null!=i&&function(t,e){if((0,s.Z)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadatas[t]}(t,e))throw new n.Z("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,i),t[e]=r}}i.Z.getLogger("esri.core.accessorSupport.set")},58971:(t,e,r)=>{r.d(e,{mS:()=>v,LJ:()=>f,gb:()=>d,it:()=>c,GF:()=>m}),r(80442);var n=r(92604),s=r(1153),i=r(44550);let o,a=[];const l=n.Z.getLogger("esri.core.Accessor");function c(t){void 0!==o&&o.onObservableAccessed(t)}let u=!1,h=!1;function f(t,e,r){if(u)return p(t,e,r);g(t);const n=e.call(r);return y(),n}function d(t,e){return f(void 0,t,e)}function p(t,e,r){const n=u;u=!0,g(t);let s=null;try{s=e.call(r)}catch(t){h&&l.error(t)}return y(),u=n,s}function g(t){o=t,a.push(t)}function y(){const t=a.pop();o=a.length>0?a[a.length-1]:void 0,void 0!==t&&t.onTrackingEnd()}function v(t,e){if(e.flags&i.v.DepTrackingInitialized)return;const r=h;h=!1,e.flags&i.v.AutoTracked?p(e,e.metadata.get,t):m(t,e),h=r}const _=[];function m(t,e){e.flags&i.v.ExplicitlyTracking||(e.flags|=i.v.ExplicitlyTracking,p(e,(()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"==typeof e&&-1===e.indexOf("."))w(t,e,!1);else{const r=(0,s.NI)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=w(n,r[e],e!==r.length-1)}})),e.flags&=~i.v.ExplicitlyTracking)}function w(t,e,r){const n="?"===e[e.length-1]?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.getItemAt(e)}const i=(0,s.vw)(t),o=null==i?void 0:i.properties.get(n);return o&&(c(o),v(t,o)),r?t[n]:void 0}},87538:(t,e,r)=>{r.d(e,{EH:()=>c,U5:()=>a,Xz:()=>l});var n=r(58971),s=r(38805);let i=!1;const o=[];function a(t,e){let r=new s.M((function s(){if(!r||a)return;if(i)return void u(s);const l=o;r.clear(),i=!0,a=!0,o=(0,n.LJ)(r,t),a=!1,i=!1,e(o,l),h()})),o=null,a=!1;return a=!0,o=(0,n.LJ)(r,t),a=!1,{remove:function(){r&&(r.destroy(),r=null,o=null)}}}function l(t,e){let r=new s.M((function(){e(i,o)})),i=null;function o(){return r?(r.clear(),i=(0,n.LJ)(r,t),i):null}return o(),{remove:function(){r&&(r.destroy(),r=null),i=null}}}function c(t){let e=new s.M((function s(){e&&!r&&(i?u(s):(e.clear(),i=!0,r=!0,(0,n.LJ)(e,t),r=!1,i=!1,h()))})),r=!1;return r=!0,(0,n.LJ)(e,t),r=!1,{remove:function(){e&&(e.destroy(),e=null)}}}function u(t){o.includes(t)||o.unshift(t)}function h(){for(;o.length;)o.pop()()}},44550:(t,e,r)=>{var n;r.d(e,{v:()=>n}),function(t){t[t.Dirty=1]="Dirty",t[t.Overriden=2]="Overriden",t[t.Computing=4]="Computing",t[t.NonNullable=8]="NonNullable",t[t.HasDefaultValue=16]="HasDefaultValue",t[t.DepTrackingInitialized=32]="DepTrackingInitialized",t[t.AutoTracked=64]="AutoTracked",t[t.ExplicitlyTracking=128]="ExplicitlyTracking"}(n||(n={}))},39020:(t,e,r)=>{r.d(e,{X:()=>s});var n=r(67676);class s{constructor(t,e){this._observers=t,this._observer=e}remove(){(0,n.Od)(this._observers,this._observer)}}},38805:(t,e,r)=>{r.d(e,{M:()=>n});class n{constructor(t){this._notify=t,this._accessed=[],this._handles=[],this._invalidCount=0}destroy(){this._accessed.length=0,this.clear()}onInvalidated(){this._invalidCount++}onCommitted(){const t=this._invalidCount;if(1===t)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}onObservableAccessed(t){this._accessed.includes(t)||this._accessed.push(t)}onTrackingEnd(){const t=this._handles,e=this._accessed;for(let r=0;r<e.length;++r)t.push(e[r].observe(this));e.length=0}clear(){const t=this._handles;for(let e=0;e<t.length;++e)t[e].remove();t.length=0}}},1153:(t,e,r)=>{r.d(e,{vw:()=>o,b6:()=>a,TS:()=>l,IH:()=>d,Qc:()=>f,NI:()=>u});var n=r(50758),s=r(22974),i=r(70586);function o(t){return t?t.__accessor__?t.__accessor__:t.propertyInvalidated?t:null:null}function a(t,e){return null!=t&&t.metadatas&&null!=t.metadatas[e]}function l(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((function(t,n){let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${n}`:n,a=r.policy(o)),"replace"===a)return t[n]=e[n],t;if(void 0===t[n])return t[n]=(0,s.d9)(e[n]),t;let l=t[n],u=e[n];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[n]=l.concat():t[n]=[l]:t[n]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach((t=>{-1===l.indexOf(t)&&l.push(t)})));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=(0,i.j0)(o),t[n]=c(l,u,r),r.path=e}else t[n]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[n]=u);return t}),t||{}):t}function u(t){return Array.isArray(t)?t:t.split(".")}function h(t){return t.indexOf(",")>-1?t.split(",").map((t=>t.trim())):[t.trim()]}function f(t,e,r,s){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...h(r));return e}return h(t)}(e);if(1!==i.length){const e=i.map((e=>s(t,e,r)));return(0,n.AL)(e)}return s(t,i[0],r)}function d(t){let e=!1;return()=>{e||(e=!0,t())}}},26258:(t,e,r)=>{r.d(e,{BT:()=>b,YP:()=>T,aQ:()=>E});var n=r(3894),s=r(22974),i=r(70586),o=r(71143);class a extends o.Z{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=(0,i.Bd)(this._set)}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 l,c,u=r(1654),h=r(99001),f=r(67723),d=r(87538),p=r(1153);(c=l||(l={}))[c.Untracked=0]="Untracked",c[c.Tracked=1]="Tracked";class g{constructor(){this.uid=(0,h.D)(),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 acquireUntracked(t,e,r,n,i){return this.pool.acquire(l.Untracked,t,e,r,n,i,s.fS)}static acquireTracked(t,e,r,n){return this.pool.acquire(l.Tracked,t,e,r,null,null,n)}notify(t,e){this.type===l.Untracked?this.callback.call(this.target,t,e,this.path,this.target):this.callback.call(null,t,e)}acquire(t,e,r,n,s,i,o){this.uid=(0,h.D)(),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,h.D)(),this.removed=!0}}g.pool=new a(g);const y=new n.Z,v=new Set;let _;function m(t){v.delete(t),v.add(t),_||(_=(0,u.Os)(A))}function w(t){if(t.removed)return;const e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function b(t){for(const e of v.values())e.target===t&&(e.removed=!0)}function A(){let t=10;for(;_&&t--;){_=null;const t=O(),e=y.acquire();for(const r of t){const t=r.uid;w(r),t===r.uid&&r.removed&&e.push(r)}for(const t of v)t.removed&&(e.push(t),v.delete(t));for(const t of e)g.pool.release(t);y.release(e),y.release(t),S.forEach((t=>t()))}}function O(){const t=y.acquire();t.length=v.size;let e=0;for(const r of v)t[e]=r,++e;return v.clear(),t}const S=new Set;function T(t,e,r,n=!1){return!t.__accessor__||t.__accessor__.destroyed?{remove(){}}:n?function(t,e,r){const n=(0,p.Qc)(t,e,r,((t,e,r)=>{let i=!1;return(0,d.U5)((()=>(0,f.$z)(t,e)),((o,a)=>{t.__accessor__.destroyed?n.remove():i||(i=!0,(0,s.fS)(a,o)||r.call(t,o,a,e,t),i=!1)}))}));return n}(t,e,r):function(t,e,r){let n=(0,p.Qc)(t,e,r,((t,e,r)=>{let s,i,o=(0,d.Xz)((()=>(0,f.$z)(t,e)),((o,a)=>{t.__accessor__.destroyed||s&&s.uid!==i?n.remove():(s||(s=g.acquireUntracked(o,r,a,t,e),i=s.uid),m(s))}));return{remove:(0,p.IH)((()=>{o.remove(),s&&(s.uid!==i||s.removed||(s.removed=!0,m(s)),s=null),n=o=null}))}}));return n}(t,e,r)}function E(t,e,r=!1,n=s.fS){return r?function(t,e,r){let n=!1;return(0,d.U5)(t,((t,s)=>{n||(n=!0,r(s,t)||e(t,s),n=!1)}))}(t,e,n):function(t,e,r){let n,s,i=(0,d.Xz)(t,((t,o)=>{n&&n.uid!==s?i.remove():(n||(n=g.acquireTracked(t,e,o,r),s=n.uid),m(n))}));return{remove:(0,p.IH)((()=>{i.remove(),n&&(n.uid!==s||n.removed||(n.removed=!0,m(n)),n=null),i=null}))}}(t,e,n)}},76169:(t,e,r)=>{r.d(e,{df:()=>f,cW:()=>d});var n=r(67676),s=r(20102),i=r(92604),o=r(31263),a=r(1153),l=r(53906);const c=i.Z.getLogger("esri.core.accessorSupport.write");function u(t,e,r,n,s){var i,o;const a={};return null==(i=e.write)||null==(o=i.writer)||o.call(t,n,a,r,s),a}function h(t,e,r,i,a,l){if(!i||!i.write)return!1;const u=t.get(r);if(!a&&i.write.overridePolicy){const e=i.write.overridePolicy.call(t,u,r,l);void 0!==e&&(a=e)}if(a||(a=i.write),!a||!1===a.enabled)return!1;if((null===u&&!a.allowNull&&!a.writerEnsuresNonNull||void 0===u)&&a.isRequired){const e=new s.Z("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return e&&l&&l.messages?l.messages.push(e):e&&!l&&c.error(e.name,e.message),!1}return!(void 0===u||null===u&&!a.allowNull&&!a.writerEnsuresNonNull||(!e.store.multipleOriginsSupported||e.store.originOf(r)===o.s3.DEFAULTS)&&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);return(0,n.fS)(s,i)}return!1}return o===i}(t,r,l,i,u)||!a.ignoreOrigin&&l&&l.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<(0,o.M9)(l.origin))}function f(t,e,r,n){const s=(0,a.vw)(t),i=s.metadatas,o=(0,l.Ah)(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,a.TS)(e,t.toJSON());const n=(0,a.vw)(t),s=n.metadatas;for(const f in s){const d=(0,l.Ah)(s[f],r);if(!h(t,n,f,d,void 0,r))continue;const p=t.get(f),g=u(t,d,d.write&&"string"==typeof d.write.target?d.write.target:f,p,r);var i,c;Object.keys(g).length>0&&(e=(0,a.TS)(e,g),null!=r&&null!=(i=r.resources)&&null!=(c=i.pendingOperations)&&c.length&&Promise.all(r.resources.pendingOperations).then((()=>(0,a.TS)(e,g))),r&&r.writtenProperties&&r.writtenProperties.push({target:t,propName:f,oldOrigin:(0,o.Wm)(n.store.originOf(f)),newOrigin:r.origin}))}return e}},60235:(t,e,r)=>{r.d(e,{x9:()=>l,XV:()=>o,Mr:()=>a});var n=r(80442);const s=new Set;function i(t,e,r=!1){r&&s.has(e)||(r&&s.add(e),t.warn(`🛑 DEPRECATED - ${e}`))}function o(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;l(t,"Function: "+(n?n+"::":"")+e+"()",r)}}function a(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;l(t,"Property: "+(n?n+"::":"")+e,r)}}function l(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{replacement:n,version:s,see:o,warnOnce:a}=r;let l=e;n&&(l+=`\n\t🛠️ Replacement: ${n}`),s&&(l+=`\n\t⚙️ Version: ${s}`),o&&(l+=`\n\t🔗 See ${o} for more details.`),i(t,l,a)}}},50758:(t,e,r)=>{r.d(e,{AL:()=>s,kB:()=>i});var n=r(70586);function s(t){return i((()=>t.forEach((t=>(0,n.pC)(t)&&t.remove()))))}function i(t){return{remove:()=>{t&&(t(),t=void 0)}}}},41213:(t,e,r)=>{r.d(e,{Y:()=>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()}))}},1654:(t,e,r)=>{r.d(e,{Os:()=>y,MU:()=>w});var n=r(70586),s=r(41213),i=r(54790),o=r(44553),a=r(95330),l=r(76882);class c{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let u=0;const h={time:(0,l.HA)(0),deltaTime:(0,l.HA)(0),elapsedFrameTime:(0,l.HA)(0),frameDuration:(0,l.HA)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.Z,g={frameTasks:p,willDispatch:!1,clearFrameTasks:function(t=!1){p.forAll((t=>{t.removed=!0})),t&&_()},dispatch:m,executeFrameTasks:function(t){const e=(0,l.HA)(t-u);u=t;const r=1e3/60,n=Math.max(0,e-r);for(let s=0;s<f.length;s++){const i=performance.now(),o=f[s];p.forAll((i=>{var a;i.paused||i.removed||(0===s&&i.ticks++,i.phases[o]&&(h.time=t,h.deltaTime=0===i.ticks?(0,l.HA)(0):e,h.elapsedFrameTime=(0,l.HA)(performance.now()-t),h.frameDuration=(0,l.HA)(r-n),null==(a=i.phases[o])||a.call(i,h)))})),b[s].record(performance.now()-i)}_(),A.record(performance.now()-t)}};function y(t){const e=new c(t);return d.push(e),g.willDispatch||(g.willDispatch=!0,(0,s.Y)(m)),e}const v=new o.Z;function _(){p.forAll((t=>{t.removed&&v.push(t)})),p.removeUnorderedMany(v.data,v.length),v.clear()}function m(){for(;d.length;){const t=(0,n.j0)(d.shift());t.isActive&&t.callback()}g.willDispatch=!1}function w(t=1,e){const r=(0,a.hh)(),n=()=>{(0,a.Hc)(e)?r.reject((0,a.zE)()):0===t?r():(--t,(0,s.Y)((()=>n())))};return n(),r.promise}const b=f.map((t=>new i.Z(t))),A=new i.Z("total")},76882:(t,e,r)=>{function n(t){return t}r.d(e,{HA:()=>n})},99001:(t,e,r)=>{r.d(e,{D:()=>s});let n=0;function s(){return++n}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8216],{1692:(e,t,s)=>{s.d(t,{Z:()=>w});var r=s(43697),o=s(66577),i=s(51773),n=s(78223),a=s(15923),l=(s(80442),s(22974)),u=s(92604),p=s(70586),c=s(31263),d=s(1153),h=s(52011);u.Z.getLogger("esri.core.Clonable");const y=e=>{let t=class extends e{clone(){const e=(0,p.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,s=e.store,r={},o=new Map;for(const e in t){const i=t[e],n=null==s?void 0:s.originOf(e);if(i.readOnly||!1===i.clonable||n!==c.s3.USER&&n!==c.s3.DEFAULTS)continue;const a=this[e];let u=null;const p=i.clonable;u="function"==typeof p?p(a):"reference"===p?a:(0,l.Vo)(a),null!=a&&null==u||(n===c.s3.DEFAULTS?o.set(e,u):r[e]=u)}const i=new(0,Object.getPrototypeOf(this).constructor)(r);if(o.size){var n;const e=null==(n=(0,d.vw)(i))?void 0:n.store;if(e)for(const[t,s]of o)e.set(t,s,c.s3.DEFAULTS)}return i}};return t=(0,r._)([(0,h.j)("esri.core.Clonable")],t),t};let m=class extends(y(a.Z)){};m=(0,r._)([(0,h.j)("esri.core.Clonable")],m);var f=s(96674),g=s(99001),b=s(5600),v=(s(67676),s(75215),s(33955));let _=class extends(y(f.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,g.D)(),configurable:!0})}normalizeCtorArgs(e,t,s,r){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:s,popupTemplate:r}}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),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,p.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const s=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",s,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}_notifyLayer(e,t,s,r){if(!this.layer||!("graphicChanged"in this.layer))return;const o={graphic:this,property:e,oldValue:t,newValue:s};"attributes"===e&&(o.attributeName=r),this.layer.graphicChanged(o)}};(0,r._)([(0,b.Cb)({value:null})],_.prototype,"attributes",null),(0,r._)([(0,b.Cb)({value:null,types:o.qM,json:{read:v.im}})],_.prototype,"geometry",null),(0,r._)([(0,b.Cb)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,r._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"layer",void 0),(0,r._)([(0,b.Cb)({type:i.Z})],_.prototype,"popupTemplate",void 0),(0,r._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,r._)([(0,b.Cb)({value:null,types:n.LB})],_.prototype,"symbol",null),(0,r._)([(0,b.Cb)({type:Boolean,value:!0})],_.prototype,"visible",null),_=(0,r._)([(0,h.j)("esri.Graphic")],_),(_||(_={})).generateUID=g.D;const w=_},99880:(e,t,s)=>{s.d(t,{V:()=>l});var r=s(68773),o=(s(3172),s(20102)),i=s(92604),n=s(17452);const a=i.Z.getLogger("esri.assets");function l(e){if(!r.Z.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new o.Z("assets:path-not-set","config.assetsPath is not set");return(0,n.v_)(r.Z.assetsPath,e)}},3920:(e,t,s)=>{s.d(t,{r:()=>p,p:()=>u});var r=s(43697),o=s(15923),i=s(61247),n=s(5600),a=s(52011),l=s(89749);const u=e=>{let t=class extends e{destroy(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new l.t}};return(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,r._)([(0,a.j)("esri.core.HandleOwner")],t),t};let p=class extends(u(o.Z)){};p=(0,r._)([(0,a.j)("esri.core.HandleOwner")],p)},36030:(e,t,s)=>{s.d(t,{J:()=>i});var r=s(35454),o=s(5600);function i(e,t={}){var s;const i=e instanceof r.Xn?e:new r.Xn(e,t),n={type:null==(s=null==t?void 0:t.ignoreUnknown)||s?i.apiValues:String,json:{type:i.jsonValues,read:(null==t||!t.readOnly)&&{reader:i.read},write:{writer:i.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(n.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(n.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(n.json.name=t.name),(0,o.Cb)(n)}},74085:(e,t,s)=>{function r(e){}s.d(t,{Bg:()=>r}),s(80442)},80903:(e,t,s)=>{s.d(t,{Z:()=>l});var r=s(50758),o=s(92604),i=s(95330),n=s(25045);const a=o.Z.getLogger("esri.core.workers.Connection");class l{constructor(){this._clients=new Array,this._clientPromises=new Array,this._clientIdx=0}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((s,r)=>{let o=!0;const a=e=>{(0,i.k_)(t.signal),o&&(o=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let o=0;o<e.length;++o){const l=e[o];(0,i.y8)(l)?this._clientPromises[o]=l.then((e=>(this._clients[o]=new n.default(e,t),a(s),this._clients[o])),(()=>(a(r),null))):(this._clients[o]=new n.default(l,t),this._clientPromises[o]=Promise.resolve(this._clients[o]),a(s))}}))}broadcast(e,t,s){const r=new Array(this._clientPromises.length);for(let o=0;o<this._clientPromises.length;++o){const i=this._clientPromises[o];r[o]=i.then((r=>r.invoke(e,t,s)))}return r}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const s=this._clients[t];if(s){if(!s.isBusy())return Promise.resolve(s)}else e=e||[],e.push(this._clientPromises[t])}return e?Promise.race(e):(this._clientIdx=(this._clientIdx+1)%this._clients.length,Promise.resolve(this._clients[this._clientIdx]))}invoke(e,t,s){let r=null;return Array.isArray(s)?(a.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),r={transferList:s}):r=s,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((s=>s.invoke(e,t,r)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,r.AL)(this._clients.map((s=>s.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let s=t.length;for(let r=0;r<this._clientPromises.length;++r)this._clientPromises[r].then((o=>{t[r]=o.openPort(),0==--s&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},25045:(e,t,s)=>{s.r(t),s.d(t,{default:()=>b});var r=s(40330),o=s(20102),i=s(91460),n=s(70586),a=s(95330),l=s(94362),u=s(17202);const p={statsWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(6841)]).then(s.bind(s,36841)),geometryEngineWorker:()=>Promise.all([s.e(5837),s.e(8227)]).then(s.bind(s,48227)),CSVSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(966)]).then(s.bind(s,27793)),EdgeProcessingWorker:()=>Promise.all([s.e(6481),s.e(8936)]).then(s.bind(s,18936)),ElevationSamplerWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(411),s.e(2781),s.e(6481),s.e(6459),s.e(3553)]).then(s.bind(s,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4588),s.e(411),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(5404)]).then(s.bind(s,2255)),GeoJSONSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(7845)]).then(s.bind(s,97845)),LercWorker:()=>s.e(3027).then(s.bind(s,23027)),MemorySourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(639)]).then(s.bind(s,30639)),PBFDecoderWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(8961),s.e(147)]).then(s.bind(s,61916)),Pipeline:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(5638),s.e(4588),s.e(411),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(4325),s.e(2730),s.e(7783)]).then(s.bind(s,97783)),PointCloudWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(411),s.e(9294),s.e(9474)]).then(s.bind(s,16583)),RasterWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(411),s.e(176),s.e(8034)]).then(s.bind(s,61576)),SceneLayerWorker:()=>s.e(1412).then(s.bind(s,31412)),WFSSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(411),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(4556),s.e(3230)]).then(s.bind(s,43230)),WorkerTileHandler:()=>Promise.all([s.e(2303),s.e(4325),s.e(1785),s.e(6810),s.e(9872)]).then(s.bind(s,56456))},{CLOSE:c,ABORT:d,INVOKE:h,RESPONSE:y,OPEN_PORT:m,ON:f}=l.Cs;class g{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===l.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class b{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new g((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let s;s="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const r=new b(t.port1,{channel:t,client:s});return"object"==typeof s&&"remoteClient"in s&&(s.remoteClient=r),b.clients.set(r,s),t.port2}static loadWorker(e){const t=p[e];return t?t():Promise.resolve(null)}close(){this._post({type:c}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,s){const r=s&&s.signal,i=s&&s.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const n=(0,l.jt)();return new Promise(((s,o)=>{const l=(0,a.$F)(r,(()=>{var e;const t=this._outJobs.get(n);t&&(this._outJobs.delete(n),null==(e=t.abortHandle)||e.remove(),this._post({type:d,jobId:n}),o((0,a.zE)()))})),u={resolve:s,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(n,u),this._post({type:h,jobId:n,methodName:e,abortable:null!=r},t,i)}))}on(e,t){const s=new MessageChannel;function r(e){t(e.data)}return this._port.postMessage({type:l.Cs.ON,eventType:e,port:s.port2},[s.port2]),s.port1.addEventListener("message",r),s.port1.start(),{remove(){s.port1.postMessage({type:l.Cs.CLOSE}),s.port1.close(),s.port1.removeEventListener("message",r)}}}openPort(){const e=new MessageChannel;return this._post({type:m,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,n.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,l.QM)(e);if(t)switch(t.type){case y:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case c:this._onCloseMessage();break;case m:this._onOpenPortMessage(t);break;case f:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,s=e.jobId,r=t.get(s);this._invokeQueue.push(e),r&&(r.controller&&r.controller.abort(),t.delete(s))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&b.clients.get(this)===e&&e.destroy(),b.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:s,data:r,abortable:o}=e,i=o?new AbortController:null,n=this._inJobs;let u,p=this._client,c=p[t];try{if(!c&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)p=p[e[t]],c=p[e[t+1]]}if("function"!=typeof c)throw new TypeError(`${t} is not a function`);u=c.call(p,r,{client:this,signal:i?i.signal:null})}catch(e){return void this._post({type:y,jobId:s,error:(0,l.AB)(e)})}(0,a.y8)(u)?(n.set(s,{controller:i,promise:u}),u.then((e=>{n.has(s)&&(n.delete(s),this._post({type:y,jobId:s},e))}),(e=>{n.has(s)&&(n.delete(s),(0,a.D_)(e)||this._post({type:y,jobId:s,error:(0,l.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:y,jobId:s},u)}_onOpenPortMessage(e){new b(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,s=this._client.on(e.eventType,(e=>{t.postMessage(e)})),r=(0,i.on)(e.port,"message",(e=>{(0,l.QM)(e).type===l.Cs.CLOSE&&(r.remove(),s.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:s,error:r,data:i}=e,n=this._outJobs;if(!n.has(s))return;const a=n.get(s);n.delete(s),null==(t=a.abortHandle)||t.remove(),r?a.reject(o.Z.fromJSON(JSON.parse(r))):a.resolve(i)}_post(e,t,s){return(0,l.oi)(this._port,e,t,s)}}b.kernelInfo={revision:u.$,version:r.i8,buildDate:u.r},b.clients=new Map},94362:(e,t,s)=>{s.d(t,{Cs:()=>r,jt:()=>a,oi:()=>u,QM:()=>p,AB:()=>l});var r,o,i=s(80442);(o=r||(r={}))[o.HANDSHAKE=0]="HANDSHAKE",o[o.OPEN=1]="OPEN",o[o.OPENED=2]="OPENED",o[o.RESPONSE=3]="RESPONSE",o[o.INVOKE=4]="INVOKE",o[o.ABORT=5]="ABORT",o[o.CLOSE=6]="CLOSE",o[o.OPEN_PORT=7]="OPEN_PORT",o[o.ON=8]="ON";let n=0;function a(){return n++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function u(e,t,s,o){if(t.type===r.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==r.INVOKE&&t.type!==r.RESPONSE)return void e.postMessage(t);let i;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(s)?(i=c(o),t.data=s):(i=c(s.transferList),t.data=s.result),i?e.postMessage(t,i):e.postMessage(t)}function p(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function c(e){if(!e||!e.length)return null;if((0,i.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},69285:(e,t,s)=>{s.d(t,{k:()=>n});var r=s(70586),o=s(67900),i=s(8744);function n(e,t,s){if((0,r.Wi)(t)||(0,r.Wi)(s)||s.vcsWkid||(0,i.fS)(t,s))return null;const n=(0,o._R)(t)/(0,o._R)(s);if(1===n)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const s of e.paths)for(const e of s)e.length>2&&(e[2]*=t)}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const s of e.rings)for(const e of s)e.length>2&&(e[2]*=t)}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const s of e.points)s.length>2&&(s[2]*=t)}(e,n);case"extent":case"esriGeometryExtent":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return null}}},70082:(e,t,s)=>{s.d(t,{Z:()=>p});var r=s(43697),o=s(35454),i=s(96674),n=s(5600),a=(s(67676),s(80442),s(75215),s(52011));const l=new o.Xn({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends i.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,r._)([(0,n.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const p=u},16451:(e,t,s)=>{s.d(t,{Z:()=>d});var r=s(43697),o=s(96674),i=s(5600),n=(s(67676),s(80442),s(75215),s(71715)),a=s(52011),l=s(30556),u=s(72729),p=s(70082);let c=class extends o.wq{constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const s of Object.keys(e))t[s]=(0,u.im)(e[s]);return t}writeDomains(e,t){const s={};for(const t of Object.keys(e)){var r;e[t]&&(s[t]=null==(r=e[t])?void 0:r.toJSON())}t.domains=s}};(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"id",void 0),(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"domains",void 0),(0,r._)([(0,n.r)("domains")],c.prototype,"readDomains",null),(0,r._)([(0,l.c)("domains")],c.prototype,"writeDomains",null),(0,r._)([(0,i.Cb)({type:[p.Z],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,r._)([(0,a.j)("esri.layers.support.FeatureType")],c);const d=c},14147:(e,t,s)=>{s.d(t,{W:()=>p});var r=s(40330),o=s(3172),i=s(70586),n=s(95330),a=s(67284),l=s(65587),u=s(15235);class p{constructor(e,t,s,r){this.parsedUrl=e,this.portalItem=t,this.apiKey=s,this.signal=r,this.rootDocument=null;const o=this.parsedUrl.path.match(/^(.*)\/SceneServer\/layers\/([\d]*)\/?$/i);o&&(this.urlParts={root:o[1],layerId:parseInt(o[2],10)})}async fetch(){var e;if(!this.urlParts)return null;const t=null!=(e=this.portalItem)?e:await this._portalItemFromServiceItemId();if((0,i.Wi)(t))return this._loadFromUrl();const s=await this._findAndLoadRelatedPortalItem(t);return(0,i.Wi)(s)?null:this._loadFeatureLayerFromPortalItem(s)}async fetchPortalItem(){var e;if(!this.urlParts)return null;const t=null!=(e=this.portalItem)?e:await this._portalItemFromServiceItemId();return(0,i.Wi)(t)?null:this._findAndLoadRelatedPortalItem(t)}async _fetchRootDocument(){if((0,i.pC)(this.rootDocument))return this.rootDocument;if((0,i.Wi)(this.urlParts))return this.rootDocument={},{};const e={query:{f:"json",token:this.apiKey},responseType:"json",signal:this.signal},t=`${this.urlParts.root}/SceneServer`;try{const s=await(0,o.default)(t,e);this.rootDocument=s.data}catch{this.rootDocument={}}return this.rootDocument}async _fetchServiceOwningPortalUrl(){var e;const t=null==(e=r.id)?void 0:e.findServerInfo(this.parsedUrl.path);if(null!=t&&t.owningSystemUrl)return t.owningSystemUrl;const s=this.parsedUrl.path.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const e=(await(0,o.default)(s,{query:{f:"json"},responseType:"json",signal:this.signal})).data.owningSystemUrl;if(e)return e}catch(e){(0,n.r9)(e)}return null}async _findAndLoadRelatedPortalItem(e){try{return(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:this.signal})).find((e=>"Feature Service"===e.type))||null}catch(e){return(0,n.r9)(e),null}}async _loadFeatureLayerFromPortalItem(e){await e.load({signal:this.signal});const t=await this._findMatchingAssociatedSublayerUrl(e.url);return new a.default({url:t,portalItem:e}).load({signal:this.signal})}async _loadFromUrl(){const e=await this._findMatchingAssociatedSublayerUrl(`${this.urlParts.root}/FeatureServer`);return new a.default({url:e}).load({signal:this.signal})}async _findMatchingAssociatedSublayerUrl(e){const t=e.replace(/^(.*FeatureServer)(\/[\d]*\/?)?$/i,"$1"),s={query:{f:"json"},responseType:"json",authMode:"no-prompt",signal:this.signal},r=this.urlParts.layerId,i=this._fetchRootDocument(),n=(0,o.default)(t,s),[a,l]=await Promise.all([n,i]),u=l&&l.layers,p=a.data&&a.data.layers;if(!Array.isArray(p))throw new Error("expected layers array");if(Array.isArray(u)){for(let e=0;e<Math.min(u.length,p.length);e++)if(u[e].id===r)return`${t}/${p[e].id}`}else if(r<p.length)return`${t}/${p[r].id}`;throw new Error("could not find matching associated sublayer")}async _portalItemFromServiceItemId(){const e=(await this._fetchRootDocument()).serviceItemId;if(!e)return null;const t=new u.default({id:e,apiKey:this.apiKey}),s=await this._fetchServiceOwningPortalUrl();(0,i.pC)(s)&&(t.portal=new l.Z({url:s}));try{return t.load({signal:this.signal})}catch(e){return(0,n.r9)(e),null}}}},1231:(e,t,s)=>{s.d(t,{Z:()=>f});var r,o=s(43697),i=s(35454),n=s(96674),a=s(5600),l=(s(67676),s(80442),s(75215)),u=s(36030),p=s(71715),c=s(52011),d=s(72729),h=s(86719);const y=new i.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=r=class extends n.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let s;try{s=JSON.parse(t)}catch(e){}return s?s.value:null}readValueType(e,{description:t}){let s;try{s=JSON.parse(t)}catch(e){}return s?y.fromJSON(s.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,o._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,o._)([(0,a.Cb)()],m.prototype,"description",void 0),(0,o._)([(0,p.r)("description")],m.prototype,"readDescription",null),(0,o._)([(0,a.Cb)({types:d.V5,json:{read:{reader:d.im},write:!0}})],m.prototype,"domain",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,o._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"length",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,o._)([(0,u.J)(h.v)],m.prototype,"type",void 0),(0,o._)([(0,a.Cb)()],m.prototype,"valueType",void 0),(0,o._)([(0,p.r)("valueType",["description"])],m.prototype,"readValueType",null),m=r=(0,o._)([(0,c.j)("esri.layers.support.Field")],m);const f=m},51161:(e,t,s)=>{s.d(t,{H3:()=>g,QI:()=>c,U4:()=>l,Yh:()=>h});var r=s(43697),o=s(96674),i=s(5600),n=(s(67676),s(80442),s(75215),s(36030)),a=s(52011);let l=class extends o.wq{constructor(){super(...arguments),this.nodesPerPage=null,this.rootIndex=0,this.lodSelectionMetricType=null}};(0,r._)([(0,i.Cb)({type:Number})],l.prototype,"nodesPerPage",void 0),(0,r._)([(0,i.Cb)({type:Number})],l.prototype,"rootIndex",void 0),(0,r._)([(0,i.Cb)({type:String})],l.prototype,"lodSelectionMetricType",void 0),l=(0,r._)([(0,a.j)("esri.layer.support.I3SNodePageDefinition")],l);let u=class extends o.wq{constructor(){super(...arguments),this.factor=1}};(0,r._)([(0,i.Cb)({type:Number,json:{read:{source:"textureSetDefinitionId"}}})],u.prototype,"id",void 0),(0,r._)([(0,i.Cb)({type:Number})],u.prototype,"factor",void 0),u=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialTexture")],u);let p=class extends o.wq{constructor(){super(...arguments),this.baseColorFactor=[1,1,1,1],this.baseColorTexture=null,this.metallicRoughnessTexture=null,this.metallicFactor=1,this.roughnessFactor=1}};(0,r._)([(0,i.Cb)({type:[Number]})],p.prototype,"baseColorFactor",void 0),(0,r._)([(0,i.Cb)({type:u})],p.prototype,"baseColorTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],p.prototype,"metallicRoughnessTexture",void 0),(0,r._)([(0,i.Cb)({type:Number})],p.prototype,"metallicFactor",void 0),(0,r._)([(0,i.Cb)({type:Number})],p.prototype,"roughnessFactor",void 0),p=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialPBRMetallicRoughness")],p);let c=class extends o.wq{constructor(){super(...arguments),this.alphaMode="opaque",this.alphaCutoff=.25,this.doubleSided=!1,this.cullFace="none",this.normalTexture=null,this.occlusionTexture=null,this.emissiveTexture=null,this.emissiveFactor=null,this.pbrMetallicRoughness=null}};(0,r._)([(0,n.J)({opaque:"opaque",mask:"mask",blend:"blend"})],c.prototype,"alphaMode",void 0),(0,r._)([(0,i.Cb)({type:Number})],c.prototype,"alphaCutoff",void 0),(0,r._)([(0,i.Cb)({type:Boolean})],c.prototype,"doubleSided",void 0),(0,r._)([(0,n.J)({none:"none",back:"back",front:"front"})],c.prototype,"cullFace",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"normalTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"occlusionTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"emissiveTexture",void 0),(0,r._)([(0,i.Cb)({type:[Number]})],c.prototype,"emissiveFactor",void 0),(0,r._)([(0,i.Cb)({type:p})],c.prototype,"pbrMetallicRoughness",void 0),c=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialDefinition")],c);let d=class extends o.wq{};(0,r._)([(0,i.Cb)({type:String,json:{read:{source:["name","index"],reader:(e,t)=>null!=e?e:`${t.index}`}}})],d.prototype,"name",void 0),(0,r._)([(0,n.J)({jpg:"jpg",png:"png",dds:"dds","ktx-etc2":"ktx-etc2",ktx2:"ktx2",basis:"basis"})],d.prototype,"format",void 0),d=(0,r._)([(0,a.j)("esri.layer.support.I3STextureFormat")],d);let h=class extends o.wq{constructor(){super(...arguments),this.atlas=!1}};(0,r._)([(0,i.Cb)({type:[d]})],h.prototype,"formats",void 0),(0,r._)([(0,i.Cb)({type:Boolean})],h.prototype,"atlas",void 0),h=(0,r._)([(0,a.j)("esri.layer.support.I3STextureSetDefinition")],h);let y=class extends o.wq{};(0,r._)([(0,n.J)({Float32:"Float32",UInt64:"UInt64",UInt32:"UInt32",UInt16:"UInt16",UInt8:"UInt8"})],y.prototype,"type",void 0),(0,r._)([(0,i.Cb)({type:Number})],y.prototype,"component",void 0),y=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryAttribute")],y);let m=class extends o.wq{};(0,r._)([(0,n.J)({draco:"draco"})],m.prototype,"encoding",void 0),(0,r._)([(0,i.Cb)({type:[String]})],m.prototype,"attributes",void 0),m=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryCompressedAttributes")],m);let f=class extends o.wq{constructor(){super(...arguments),this.offset=0}};(0,r._)([(0,i.Cb)({type:Number})],f.prototype,"offset",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"position",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"normal",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"uv0",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"color",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"uvRegion",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"featureId",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"faceRange",void 0),(0,r._)([(0,i.Cb)({type:m})],f.prototype,"compressedAttributes",void 0),f=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryBuffer")],f);let g=class extends o.wq{};(0,r._)([(0,n.J)({triangle:"triangle"})],g.prototype,"topology",void 0),(0,r._)([(0,i.Cb)()],g.prototype,"geometryBuffers",void 0),g=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryDefinition")],g)},56765:(e,t,s)=>{s.d(t,{Z:()=>p});var r,o=s(43697),i=s(80539),n=s(96674),a=s(5600),l=(s(67676),s(80442),s(75215),s(52011));let u=r=class extends n.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new i.Z}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"floorField",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=r=(0,o._)([(0,l.j)("esri.layers.support.LayerFloorInfo")],u);const p=u},15506:(e,t,s)=>{s.d(t,{C:()=>r});const r={attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1},data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1},query:{maxRecordCount:0,maxRecordCountFactor:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},72729:(e,t,s)=>{s.d(t,{im:()=>x,V5:()=>P}),s(80442);var r,o=s(43697),i=s(22974),n=s(5600),a=(s(75215),s(36030)),l=s(52011),u=s(96674);s(67676);let p=r=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,o._)([(0,n.Cb)({type:[String,Number],json:{write:!0}})],p.prototype,"code",void 0),p=r=(0,o._)([(0,l.j)("esri.layers.support.CodedValue")],p);const c=p,d=new(s(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,o._)([(0,a.J)(d)],h.prototype,"type",void 0),h=(0,o._)([(0,l.j)("esri.layers.support.Domain")],h);const y=h;var m;let f=m=class extends y{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const s=String(e);this.codedValues.some((e=>(String(e.code)===s&&(t=e.name),!!t)))}return t}clone(){return new m({codedValues:(0,i.d9)(this.codedValues),name:this.name})}};(0,o._)([(0,n.Cb)({type:[c],json:{write:!0}})],f.prototype,"codedValues",void 0),(0,o._)([(0,a.J)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=m=(0,o._)([(0,l.j)("esri.layers.support.CodedValueDomain")],f);const g=f;var b;s(92604),s(37697);let v=b=class extends y{constructor(e){super(e),this.type="inherited"}clone(){return new b}};(0,o._)([(0,a.J)({inherited:"inherited"})],v.prototype,"type",void 0),v=b=(0,o._)([(0,l.j)("esri.layers.support.InheritedDomain")],v);const _=v;var w;let S=w=class extends y{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new w({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,s){t[s]=[this.minValue||0,e]}}}})],S.prototype,"maxValue",void 0),(0,o._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,s){t[s]=[e,this.maxValue||0]}}}})],S.prototype,"minValue",void 0),(0,o._)([(0,a.J)({range:"range"})],S.prototype,"type",void 0),S=w=(0,o._)([(0,l.j)("esri.layers.support.RangeDomain")],S);const C=S,P={key:"type",base:y,typeMap:{range:S,"coded-value":g,inherited:_}};function x(e){if(!e||!e.type)return null;switch(e.type){case"range":return C.fromJSON(e);case"codedValue":return g.fromJSON(e);case"inherited":return _.fromJSON(e)}return null}},86719:(e,t,s)=>{s.d(t,{v:()=>r});const r=new(s(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},51706:(e,t,s)=>{var r,o;function i(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function l(e,t){const s=t||a(e),i=e.valueUnit||"unknown";return s===r.Unknown?o.Constant:e.stops?o.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?o.ClampedLinear:"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?o.Proportional:o.Additive:o.Identity:o.RealWorldSize}s.d(t,{RY:()=>r,hL:()=>o,PS:()=>a,QW:()=>l,iY:()=>i,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(o||(o={}))},28101:(e,t,s)=>{s.d(t,{PR:()=>S,Lq:()=>y,Km:()=>m,cM:()=>f,ap:()=>g,V3:()=>_,B3:()=>h});var r=s(22303),o=s(1692),i=s(74085),n=s(92604),a=s(70586),l=s(99282),u=s(51706);const p=n.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),c=new o.Z,d=Math.PI,h=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function y(e,t,s){const o="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!o)return;if("esri.renderers.visualVariables.ColorVariable"!==o.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const i="number"==typeof t,n=i?null:t,l=n&&n.attributes;let u=i?t:null;const c=o.field,{ipData:d,hasExpression:h}=o.cache;let y=o.cache.compiledFunc;if(!c&&!h){const e=o.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(h){if(!(0,a.pC)(s)||!(0,a.pC)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,r=t.getViewInfo(e),i=t.createExecContext(n,r);if(!y){const e=t.createSyntaxTree(o.valueExpression);y=t.createFunction(e),o.cache.compiledFunc=y}u=t.executeFunction(y,i)}else l&&(u=l[c]);const m=o.normalizationField,f=l?parseFloat(l[m]):void 0;if(null!=u&&(!m||i||!isNaN(f)&&0!==f)){isNaN(f)||i||(u/=f);const e=w(u,d);if(e){const t=e[0],i=e[1],n=t===i?o.stops[t].color:r.Z.blendColors(o.stops[t].color,o.stops[i].color,e[2],(0,a.pC)(s)?s.color:void 0);return new r.Z(n)}}}function m(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.OpacityVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const o="number"==typeof t,i=o?null:t,n=i&&i.attributes;let l=o?t:null;const u=r.field,{ipData:c,hasExpression:d}=r.cache;let h=r.cache.compiledFunc;if(!u&&!d){const e=r.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(d){if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,o=t.getViewInfo(e),n=t.createExecContext(i,o);if(!h){const e=t.createSyntaxTree(r.valueExpression);h=t.createFunction(e),r.cache.compiledFunc=h}l=t.executeFunction(h,n)}else n&&(l=n[u]);const y=r.normalizationField,m=n?parseFloat(n[y]):void 0;if(null!=l&&(!y||o||!isNaN(m)&&0!==m)){isNaN(m)||o||(l/=m);const e=w(l,c);if(e){const t=e[0],s=e[1];if(t===s)return r.stops[t].opacity;{const o=r.stops[t].opacity;return o+(r.stops[s].opacity-o)*e[2]}}}}function f(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.RotationVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const o=r.axis||"heading",i="heading"===o&&"arithmetic"===r.rotationType?90:0,n="heading"===o&&"arithmetic"===r.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,c=r.field,{hasExpression:d}=r.cache;let h=r.cache.compiledFunc,y=0;if(!c&&!d)return y;if(d){if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,o=t.getViewInfo(e),i=t.createExecContext(l,o);if(!h){const e=t.createSyntaxTree(r.valueExpression);h=t.createFunction(e),r.cache.compiledFunc=h}y=t.executeFunction(h,i)}else u&&(y=u[c]||0);return y="number"!=typeof y||isNaN(y)?null:i+n*y,y}function g(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.SizeVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const o=function(e,t,s,r,o){switch(t.transformationType){case u.hL.Additive:return function(e,t,s,r){return e+(b(t.minSize,s,r)||t.minDataValue)}(e,t,s,r);case u.hL.Constant:return function(e,t,s){const r=e.stops;let o=r&&r.length&&r[0].size;return null==o&&(o=e.minSize),b(o,t,s)}(t,s,r);case u.hL.ClampedLinear:return function(e,t,s,r){const o=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),i=b(t.minSize,s,r),n=b(t.maxSize,s,r),l=(0,a.pC)(r)?r.shape:void 0;if(e<=t.minDataValue)return i;if(e>=t.maxDataValue)return n;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?d*(i/2)**2:i*i,s=t+o*((e?d*(n/2)**2:n*n)-t);return e?2*Math.sqrt(s/d):Math.sqrt(s)}return i+o*(n-i)}(e,t,s,r);case u.hL.Proportional:return function(e,t,s,r){const o=(0,a.pC)(r)?r.shape:void 0,i=e/t.minDataValue,n=b(t.minSize,s,r),l=b(t.maxSize,s,r);let u=null;return u="circle"===o?2*Math.sqrt(i*(n/2)**2):"square"===o||"diamond"===o||"image"===o?Math.sqrt(i*n**2):i*n,v(u,n,l)}(e,t,s,r);case u.hL.Stops:return function(e,t,s,r,o){const[i,n,a]=w(e,o);if(i===n)return b(t.stops[i].size,s,r);{const e=b(t.stops[i].size,s,r);return e+(b(t.stops[n].size,s,r)-e)*a}}(e,t,s,r,o);case u.hL.RealWorldSize:return function(e,t,s,r){const o=((0,a.pC)(r)&&r.resolution?r.resolution:1)*l.a[t.valueUnit],i=b(t.minSize,s,r),n=b(t.maxSize,s,r),{valueRepresentation:u}=t;let p=null;return p="area"===u?2*Math.sqrt(e/d)/o:"radius"===u||"distance"===u?2*e/o:e/o,v(p,i,n)}(e,t,s,r);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,s){const r="number"==typeof t,o=r?null:t,i=o&&o.attributes;let n=r?t:null;const{isScaleDriven:l}=e.cache;let c=e.cache.compiledFunc;if(l){const t=(0,a.pC)(s)?s.scale:void 0,r=(0,a.pC)(s)?s.view:void 0;n=null==t||"3d"===r?function(e){let t=null,s=null;const r=e.stops;return r?(t=r[0].value,s=r[r.length-1].value):(t=e.minDataValue||0,s=e.maxDataValue||0),(t+s)/2}(e):t}else if(!r)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const t={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},r=s.arcade.arcadeUtils,i=r.getViewInfo(t),l=r.createExecContext(o,i);if(!c){const t=r.createSyntaxTree(e.valueExpression);c=r.createFunction(t),e.cache.compiledFunc=c}n=r.executeFunction(c,l);break}case u.RY.Field:i&&(n=i[e.field]);break;case u.RY.Unknown:n=null}if(!(0,u.qh)(n))return null;if(r||!e.normalizationField)return n;const d=i?parseFloat(i[e.normalizationField]):null;return(0,u.qh)(d)&&0!==d?n/d:null}(r,t,s),r,t,s,r.cache.ipData);return null==o||isNaN(o)?0:o}function b(e,t,s){return null==e?null:(0,u.iY)(e)?g(e,t,s):(0,u.qh)(e)?e:null}function v(e,t,s){return(0,u.qh)(s)&&e>s?s:(0,u.qh)(t)&&e<t?t:e}function _(e,t,s){const{isScaleDriven:r}=e.cache;if(!(r&&"3d"===s||t))return null;const o={scale:t,view:s};let i=b(e.minSize,c,o),n=b(e.maxSize,c,o);if(null!=i||null!=n){if(i>n){const e=n;n=i,i=e}return{minSize:i,maxSize:n}}}function w(e,t){if(!t)return;let s=0,r=t.length-1;return t.some(((t,o)=>e<t?(r=o,!0):(s=o,!1))),[s,r,(e-t[s])/(t[r]-t[s])]}function S(e,t,s){const r=["proportional","proportional","proportional"];for(const o of e){const e=o.useSymbolValue?"symbol-value":g(o,t,s);switch(o.axis){case"width":r[0]=e;break;case"depth":r[1]=e;break;case"height":r[2]=e;break;case"width-and-depth":r[0]=e,r[1]=e;break;case"all":case void 0:case null:r[0]=e,r[1]=e,r[2]=e;break;default:(0,i.Bg)(o.axis)}}return r}},28694:(e,t,s)=>{s.d(t,{p:()=>i});var r=s(70586),o=s(69285);function i(e,t,s){if(!s||!s.features||!s.hasZ)return;const i=(0,o.k)(s.geometryType,t,e.outSpatialReference);if(!(0,r.Wi)(i))for(const e of s.features)i(e.geometry)}},58333:(e,t,s)=>{s.d(t,{I4:()=>o,lF:()=>n,ET:()=>i,qP:()=>a,eG:()=>l,lj:()=>p,wW:()=>u});const r=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},i={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},n={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={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},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},p={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},89749:(e,t,s)=>{s.d(t,{t:()=>c});var r=s(43697),o=s(15923),i=s(61247),n=s(70586),a=s(17445),l=s(1654),u=s(5600),p=s(52011);let c=class extends o.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new i.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,s={}){const r=++this.handleId;s.sync||this._installSyncUpdatingWatch(e,r);const o=(0,a.YP)(e,t,s);return this.handles.add(o,r),{remove:()=>this.handles.remove(r)}}addOnCollectionChange(e,t,{initial:s=!1}={}){const r=++this.handleId;return this.handles.add([(0,a.on)(e,"after-changes",this._createSyncUpdatingCallback(),a.Z_),(0,a.on)(e,"change",t,{onListenerAdd:s?e=>t({added:e.items,removed:[],moved:[],target:e}):void 0})],r),{remove:()=>this.handles.remove(r)}}addPromise(e){if((0,n.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(d)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const s=()=>this.handles.remove(t);return e.then(s,s),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}_installSyncUpdatingWatch(e,t){const s=this._createSyncUpdatingCallback(),r=(0,a.YP)(e,s,{sync:!0,equals:()=>!1});return this.handles.add(r,t),r}_createSyncUpdatingCallback(){return()=>{this.handles.remove(d),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,l.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(d))})),d)}}};(0,r._)([(0,u.Cb)({readOnly:!0})],c.prototype,"updating",void 0),c=(0,r._)([(0,p.j)("esri.views.support.WatchUpdatingTracking")],c);const d=-42;var h,y;(y=h||(h={}))[y.NONE=0]="NONE",y[y.SYNC=1]="SYNC",y[y.INIT=2]="INIT"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[368,4889],{28263:(e,t,r)=>{r.d(t,{E:()=>s});class i{constructor(e={}){this._options=e}toQueryParams(e){if(!e)return null;const t=e.toJSON(),r={};return Object.keys(t).forEach((e=>{const i=this._options[e];if(i){const s="boolean"!=typeof i&&i.name?i.name:e,o="boolean"!=typeof i&&i.getter?i.getter(t):t[e];null!=o&&(r[s]=(e=>{if(!Array.isArray(e))return!1;const[t]=e;return"number"==typeof t||"string"==typeof t})(o)?o.join(","):"object"==typeof o?JSON.stringify(o):o)}else r[e]=t[e]}),this),r}}function s(e){return new i(e)}},93924:(e,t,r)=>{r.d(t,{et:()=>h,ef:()=>v,bI:()=>w,Wf:()=>g});var i=r(3172),s=r(20102),o=r(70586),n=r(78286),a=r(17452),l=r(11282),u=r(43697),p=r(96674),c=r(5600),d=(r(67676),r(80442),r(75215),r(52011)),m=r(49827);let y=class extends p.wq{constructor(e){super(e),this.currentVersion=null,this.defaultTravelMode=null,this.directionsLanguage=null,this.directionsSupportedLanguages=null,this.directionsTimeAttribute=null,this.hasZ=null,this.impedance=null,this.networkDataset=null,this.supportedTravelModes=null}};(0,u._)([(0,c.Cb)()],y.prototype,"currentVersion",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"defaultTravelMode",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"directionsLanguage",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"directionsSupportedLanguages",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"directionsTimeAttribute",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"hasZ",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"impedance",void 0),(0,u._)([(0,c.Cb)()],y.prototype,"networkDataset",void 0),(0,u._)([(0,c.Cb)({type:[m.Z]})],y.prototype,"supportedTravelModes",void 0),y=(0,u._)([(0,d.j)("esri.rest.support.NetworkServiceDescription")],y);const f=y;function h(e,t,r,i){i[r]=[t.length,t.length+e.length],e.forEach((e=>{t.push(e.geometry)}))}function v(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)e.z=void 0}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")}function g(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)if((0,o.pC)(e)&&e.hasZ)return!0}return!1}async function w(e,t,r){if(!e)throw new s.Z("network-service:missing-url","Url to Network service is missing");const o=(0,l.lA)({f:"json",token:t},r),{data:u}=await(0,i.default)(e,o);u.supportedTravelModes||(u.supportedTravelModes=[]);for(let e=0;e<u.supportedTravelModes.length;e++)u.supportedTravelModes[e].id||(u.supportedTravelModes[e].id=u.supportedTravelModes[e].itemId);const p=u.currentVersion>=10.4?async function(e,t,r){try{const s=(0,l.lA)({f:"json",token:t},r),o=(0,a.Qj)(e)+"/retrieveTravelModes",{data:{supportedTravelModes:n,defaultTravelMode:u}}=await(0,i.default)(o,s);return{supportedTravelModes:n,defaultTravelMode:u}}catch(e){throw new s.Z("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:e})}}(e,t,r):async function(e,t){var r,s;const o=(0,l.lA)({f:"json"},t),{data:u}=await(0,i.default)(e.replace(/\/rest\/.*$/i,"/info"),o);if(!u||!u.owningSystemUrl)return{supportedTravelModes:[],defaultTravelMode:null};const{owningSystemUrl:p}=u,c=(0,a.Qj)(p)+"/sharing/rest/portals/self",{data:d}=await(0,i.default)(c,o),m=(0,n.hS)("helperServices.routingUtilities.url",d);if(!m)return{supportedTravelModes:[],defaultTravelMode:null};const y=(0,l.en)(p),f=/\/solve$/i.test(y.path)?"Route":/\/solveclosestfacility$/i.test(y.path)?"ClosestFacility":"ServiceAreas",h=(0,l.lA)({f:"json",serviceName:f},t),v=(0,a.Qj)(m)+"/GetTravelModes/execute",g=await(0,i.default)(v,h),w=[];let b=null;if(null!=g&&null!=(r=g.data)&&null!=(s=r.results)&&s.length){const e=g.data.results;for(const t of e){var T;if("supportedTravelModes"===t.paramName){if(null!=(T=t.value)&&T.features)for(const{attributes:e}of t.value.features)if(e){const t=JSON.parse(e.TravelMode);w.push(t)}}else"defaultTravelMode"===t.paramName&&(b=t.value)}}return{supportedTravelModes:w,defaultTravelMode:b}}(e,r),{defaultTravelMode:c,supportedTravelModes:d}=await p;return u.defaultTravelMode=c,u.supportedTravelModes=d,f.fromJSON(u)}},95642:(e,t,r)=>{r.d(t,{Z:()=>v});var i=r(43697),s=(r(66577),r(70586)),o=r(5600),n=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(1692);let u=class extends l.Z{};(0,i._)([(0,o.Cb)()],u.prototype,"events",void 0),(0,i._)([(0,o.Cb)()],u.prototype,"strings",void 0),u=(0,i._)([(0,a.j)("esri.rest.support.DirectionsFeature")],u);const p=u;var c=r(74889),d=r(6570),m=r(82971),y=r(58901),f=r(13473);let h=class extends c.default{constructor(e){super(e),this.extent=null,this.features=null,this.geometryType="polyline",this.routeId=null,this.routeName=null,this.totalDriveTime=null,this.totalLength=null,this.totalTime=null}readFeatures(e,t){var r;if(!e)return[];const i=null!=(r=t.summary.envelope.spatialReference)?r:t.spatialReference,s=i&&m.Z.fromJSON(i);return e.map((e=>{var t,r;const i=this._decompressGeometry(e.compressedGeometry),o=new y.Z({...i,spatialReference:s}),n=null!=(t=null==(r=e.events)?void 0:r.map((e=>{const{arriveTimeUTC:t,ETA:r,point:{x:i,y:o,z:n},strings:a}=e;return new p({geometry:new f.Z({x:i,y:o,z:n,hasZ:void 0!==n,spatialReference:s}),attributes:{ETA:r,arriveTimeUTC:t},strings:a})})))?t:[];return new p({attributes:e.attributes,events:n,geometry:o,strings:e.strings})}))}get mergedGeometry(){if(!this.features)return null;const e=this.features.map((({geometry:e})=>(0,s.Wg)(e))),t=this.get("extent.spatialReference");return this._mergePolylinesToSinglePath(e,t)}get strings(){return this.features.map((({strings:e})=>e))}_decompressGeometry(e){let t=0,r=0,i=0,s=0;const o=[];let n,a,l,u,p,c,d,m,y=0,f=0,h=0;if(p=e.match(/((\+|\-)[^\+\-\|]+|\|)/g),p||(p=[]),0===parseInt(p[y],32)){y=2;const e=parseInt(p[y],32);y++,c=parseInt(p[y],32),y++,1&e&&(f=p.indexOf("|")+1,d=parseInt(p[f],32),f++),2&e&&(h=p.indexOf("|",f)+1,m=parseInt(p[h],32),h++)}else c=parseInt(p[y],32),y++;for(;y<p.length&&"|"!==p[y];){n=parseInt(p[y],32)+t,y++,t=n,a=parseInt(p[y],32)+r,y++,r=a;const e=[n/c,a/c];f&&(u=parseInt(p[f],32)+i,f++,i=u,e.push(u/d)),h&&(l=parseInt(p[h],32)+s,h++,s=l,e.push(l/m)),o.push(e)}return{paths:[o],hasZ:f>0,hasM:h>0}}_mergePolylinesToSinglePath(e,t){if(0===e.length)return new y.Z({spatialReference:t});const r=[];for(const t of e)for(const e of t.paths)r.push(...e);const i=[];r.forEach(((e,t)=>{0!==t&&e[0]===r[t-1][0]&&e[1]===r[t-1][1]||i.push(e)}));const{hasM:s,hasZ:o}=e[0];return new y.Z({hasM:s,hasZ:o,paths:[i],spatialReference:t})}};(0,i._)([(0,o.Cb)({type:d.Z,json:{read:{source:"summary.envelope"}}})],h.prototype,"extent",void 0),(0,i._)([(0,o.Cb)()],h.prototype,"features",void 0),(0,i._)([(0,n.r)("features")],h.prototype,"readFeatures",null),(0,i._)([(0,o.Cb)()],h.prototype,"geometryType",void 0),(0,i._)([(0,o.Cb)({readOnly:!0})],h.prototype,"mergedGeometry",null),(0,i._)([(0,o.Cb)()],h.prototype,"routeId",void 0),(0,i._)([(0,o.Cb)()],h.prototype,"routeName",void 0),(0,i._)([(0,o.Cb)({value:null,readOnly:!0})],h.prototype,"strings",null),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalDriveTime"}}})],h.prototype,"totalDriveTime",void 0),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalLength"}}})],h.prototype,"totalLength",void 0),(0,i._)([(0,o.Cb)({json:{read:{source:"summary.totalTime"}}})],h.prototype,"totalTime",void 0),h=(0,i._)([(0,a.j)("esri.rest.support.DirectionsFeatureSet")],h);const v=h},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var i,s=r(43697),o=r(66577),n=r(1692),a=r(35454),l=r(96674),u=r(22974),p=r(70586),c=r(5600),d=(r(75215),r(71715)),m=r(52011),y=r(30556),f=r(82971),h=r(33955),v=r(1231);const g=new a.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=i=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=f.Z.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=n.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,p.pC)(o.geometry)&&!a&&(o.geometry.spatialReference=r),i.push(o)}return i}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)if(e&&(0,p.pC)(e.geometry))return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,h.im)(e);return!r&&t.spatialReference&&(i.spatialReference=f.Z.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,p.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,u.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e&&e[r];i.geometry=t&&t.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=o.length;e<t;e++)n((0,p.Wg)(o[e].geometry))||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,n]}=r,a=this._getHydrationFunction(e,(e=>e*o+i),(e=>s-e*n));for(const{geometry:e}of t)(0,p.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let i,s;const o=[];for(let n=0,a=e.length;n<a;n++){const a=e[n];if(n>0){const e=t(a[0]),n=r(a[1]);e===i&&n===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(a[0]),s=r(a[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,h.oU)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,h.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const i=(0,h.oU)(e)?e.rings:e.paths;let s,o;for(let e=0,n=i.length;e<n;e++){const n=i[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],o+=i[1]):(s=i[0],o=i[1]),i[0]=t(s),i[1]=r(o)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const i=e.points;let s,o;for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(s+=n[0],o+=n[1]):(s=n[0],o=n[1]),n[0]=t(s),n[1]=r(o)}}:void 0}};(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,c.Cb)({type:[n.Z],json:{write:!0}})],w.prototype,"features",void 0),(0,s._)([(0,d.r)("features")],w.prototype,"readFeatures",null),(0,s._)([(0,c.Cb)({type:[v.Z],json:{write:!0}})],w.prototype,"fields",void 0),(0,s._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,s._)([(0,y.c)("geometryType")],w.prototype,"writeGeometryType",null),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,s._)([(0,c.Cb)({types:o.qM,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,s._)([(0,d.r)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,s._)([(0,c.Cb)({type:f.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,s._)([(0,y.c)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,s._)([(0,c.Cb)({json:{write:!0}})],w.prototype,"transform",void 0),w=i=(0,s._)([(0,m.j)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const b=w},79166:(e,t,r)=>{r.d(t,{Z:()=>p});var i=r(43697),s=r(35454),o=r(5600),n=(r(67676),r(80442),r(75215),r(52011)),a=r(51623);const l=new s.Xn({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});let u=class extends a.Z{constructor(e){super(e),this.type=null}};(0,i._)([(0,o.Cb)({type:String,json:{read:l.read,write:l.write}})],u.prototype,"type",void 0),u=(0,i._)([(0,n.j)("esri.rest.support.NAMessage")],u);const p=u},49827:(e,t,r)=>{r.d(t,{Z:()=>d});var i,s=r(43697),o=r(96674),n=r(22974),a=r(5600),l=(r(75215),r(36030)),u=r(52011),p=r(49352);let c=i=class extends o.wq{constructor(e){super(e),this.attributeParameterValues=null,this.description=null,this.distanceAttributeName=null,this.id=null,this.impedanceAttributeName=null,this.name=null,this.restrictionAttributeNames=null,this.simplificationTolerance=null,this.simplificationToleranceUnits=null,this.timeAttributeName=null,this.type=null,this.useHierarchy=null,this.uturnAtJunctions=null}clone(){return new i((0,n.d9)({attributeParameterValues:this.attributeParameterValues,description:this.description,distanceAttributeName:this.distanceAttributeName,id:this.id,impedanceAttributeName:this.impedanceAttributeName,name:this.name,restrictionAttributeNames:this.restrictionAttributeNames,simplificationTolerance:this.simplificationTolerance,simplificationToleranceUnits:this.simplificationToleranceUnits,timeAttributeName:this.timeAttributeName,type:this.type,useHierarchy:this.useHierarchy,uturnAtJunctions:this.uturnAtJunctions}))}};(0,s._)([(0,a.Cb)({type:[Object],json:{write:!0}})],c.prototype,"attributeParameterValues",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"distanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"id",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"impedanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],c.prototype,"restrictionAttributeNames",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],c.prototype,"simplificationTolerance",void 0),(0,s._)([(0,l.J)(p.q$)],c.prototype,"simplificationToleranceUnits",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"timeAttributeName",void 0),(0,s._)([(0,l.J)(p.DJ)],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"useHierarchy",void 0),(0,s._)([(0,l.J)(p.ip)],c.prototype,"uturnAtJunctions",void 0),c=i=(0,s._)([(0,u.j)("esri.rest.support.TravelMode")],c);const d=c},49352:(e,t,r)=>{r.d(t,{oi:()=>y,W7:()=>p,td:()=>v,cW:()=>h,GX:()=>o,$7:()=>n,Dd:()=>f,q$:()=>s,yP:()=>c,no:()=>a,ip:()=>l,BW:()=>m,SS:()=>d,DJ:()=>u});var i=r(35454);const s=(0,i.wY)()({esriCentimeters:"centimeters",esriDecimalDegrees:"decimal-degrees",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriPoints:"points",esriYards:"yards"}),o=(0,i.wY)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards"}),n=(0,i.wY)()({esriDOTComplete:"complete",esriDOTCompleteNoEvents:"complete-no-events",esriDOTFeatureSets:"featuresets",esriDOTInstructionsOnly:"instructions-only",esriDOTStandard:"standard",esriDOTSummaryOnly:"summary-only"}),a=(0,i.wY)()({esriNAOutputLineNone:"none",esriNAOutputLineStraight:"straight",esriNAOutputLineTrueShape:"true-shape",esriNAOutputLineTrueShapeWithMeasure:"true-shape-with-measure"}),l=((0,i.wY)()({esriNAOutputPolygonNone:"none",esriNAOutputPolygonSimplified:"simplified",esriNAOutputPolygonDetailed:"detailed"}),(0,i.wY)()({esriNFSBAllowBacktrack:"allow-backtrack",esriNFSBAtDeadEndsOnly:"at-dead-ends-only",esriNFSBNoBacktrack:"no-backtrack",esriNFSBAtDeadEndsAndIntersections:"at-dead-ends-and-intersections"})),u=((0,i.wY)()({esriNATravelDirectionFromFacility:"from-facility",esriNATravelDirectionToFacility:"to-facility"}),(0,i.wY)()({esriNATimeOfDayNotUsed:"not-used",esriNATimeOfDayUseAsStartTime:"start",esriNATimeOfDayUseAsEndTime:"end"}),(0,i.wY)()({AUTOMOBILE:"automobile",TRUCK:"truck",WALK:"walk",OTHER:"other"})),p=(0,i.wY)()({0:"either-side-of-vehicle",1:"right-side-of-vehicle",2:"left-side-of-vehicle",3:"no-u-turn"},{useNumericKeys:!0}),c=(0,i.wY)()({0:"stop",1:"waypoint",2:"break"},{useNumericKeys:!0}),d=(0,i.wY)()({0:"ok",1:"not-located",2:"network-element-not-located",3:"element-not-traversable",4:"invalid-field-values",5:"not-reached",6:"time-window-violation",7:"not-located-on-closest"},{useNumericKeys:!0}),m=(0,i.wY)()({1:"right",2:"left"},{useNumericKeys:!0}),y=(0,i.wY)()({0:"restriction",1:"added-cost"},{useNumericKeys:!0}),f=(0,i.wY)()({0:"permit",1:"restrict"},{useNumericKeys:!0}),h=(0,i.wY)()({1:"header",50:"arrive",51:"depart",52:"straight",100:"on-ferry",101:"off-ferry",102:"central-fork",103:"roundabout",104:"u-turn",150:"door",151:"stairs",152:"elevator",153:"escalator",154:"pedestrian-ramp",200:"left-fork",201:"left-ramp",202:"clockwise-roundabout",203:"left-handed-u-turn",204:"bear-left",205:"left-turn",206:"sharp-left",207:"left-turn-and-immediate-left-turn",208:"left-turn-and-immediate-right-turn",300:"right-fork",301:"right-ramp",302:"counter-clockwise-roundabout",303:"right-handed-u-turn",304:"bear-right",305:"right-turn",306:"sharp-right",307:"right-turn-and-immediate-left-turn",308:"right-turn-and-immediate-right-turn",400:"up-elevator",401:"up-escalator",402:"up-stairs",500:"down-elevator",501:"down-escalator",502:"down-stairs",1e3:"general-event",1001:"landmark",1002:"time-zone-change",1003:"traffic-event",1004:"scaled-cost-barrier-event",1005:"boundary-crossing",1006:"restriction-violation"},{useNumericKeys:!0}),v=(0,i.wY)()({0:"unknown",1:"segment",2:"maneuver-segment",3:"restriction-violation",4:"scaled-cost-barrier",5:"heavy-traffic",6:"slow-traffic",7:"moderate-traffic"},{useNumericKeys:!0})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3136],{28263:(e,t,r)=>{r.d(t,{E:()=>s});class i{constructor(e={}){this._options=e}toQueryParams(e){if(!e)return null;const t=e.toJSON(),r={};return Object.keys(t).forEach((e=>{const i=this._options[e];if(i){const s="boolean"!=typeof i&&i.name?i.name:e,o="boolean"!=typeof i&&i.getter?i.getter(t):t[e];null!=o&&(r[s]=(e=>{if(!Array.isArray(e))return!1;const[t]=e;return"number"==typeof t||"string"==typeof t})(o)?o.join(","):"object"==typeof o?JSON.stringify(o):o)}else r[e]=t[e]}),this),r}}function s(e){return new i(e)}},93924:(e,t,r)=>{r.d(t,{et:()=>h,ef:()=>v,bI:()=>b,Wf:()=>g});var i=r(3172),s=r(20102),o=r(70586),n=r(78286),a=r(17452),l=r(11282),u=r(43697),p=r(96674),c=r(5600),d=(r(67676),r(80442),r(75215),r(52011)),y=r(49827);let m=class extends p.wq{constructor(e){super(e),this.currentVersion=null,this.defaultTravelMode=null,this.directionsLanguage=null,this.directionsSupportedLanguages=null,this.directionsTimeAttribute=null,this.hasZ=null,this.impedance=null,this.networkDataset=null,this.supportedTravelModes=null}};(0,u._)([(0,c.Cb)()],m.prototype,"currentVersion",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"defaultTravelMode",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"directionsLanguage",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"directionsSupportedLanguages",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"directionsTimeAttribute",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"hasZ",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"impedance",void 0),(0,u._)([(0,c.Cb)()],m.prototype,"networkDataset",void 0),(0,u._)([(0,c.Cb)({type:[y.Z]})],m.prototype,"supportedTravelModes",void 0),m=(0,u._)([(0,d.j)("esri.rest.support.NetworkServiceDescription")],m);const f=m;function h(e,t,r,i){i[r]=[t.length,t.length+e.length],e.forEach((e=>{t.push(e.geometry)}))}function v(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)e.z=void 0}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")}function g(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)if((0,o.pC)(e)&&e.hasZ)return!0}return!1}async function b(e,t,r){if(!e)throw new s.Z("network-service:missing-url","Url to Network service is missing");const o=(0,l.lA)({f:"json",token:t},r),{data:u}=await(0,i.default)(e,o);u.supportedTravelModes||(u.supportedTravelModes=[]);for(let e=0;e<u.supportedTravelModes.length;e++)u.supportedTravelModes[e].id||(u.supportedTravelModes[e].id=u.supportedTravelModes[e].itemId);const p=u.currentVersion>=10.4?async function(e,t,r){try{const s=(0,l.lA)({f:"json",token:t},r),o=(0,a.Qj)(e)+"/retrieveTravelModes",{data:{supportedTravelModes:n,defaultTravelMode:u}}=await(0,i.default)(o,s);return{supportedTravelModes:n,defaultTravelMode:u}}catch(e){throw new s.Z("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:e})}}(e,t,r):async function(e,t){var r,s;const o=(0,l.lA)({f:"json"},t),{data:u}=await(0,i.default)(e.replace(/\/rest\/.*$/i,"/info"),o);if(!u||!u.owningSystemUrl)return{supportedTravelModes:[],defaultTravelMode:null};const{owningSystemUrl:p}=u,c=(0,a.Qj)(p)+"/sharing/rest/portals/self",{data:d}=await(0,i.default)(c,o),y=(0,n.hS)("helperServices.routingUtilities.url",d);if(!y)return{supportedTravelModes:[],defaultTravelMode:null};const m=(0,l.en)(p),f=/\/solve$/i.test(m.path)?"Route":/\/solveclosestfacility$/i.test(m.path)?"ClosestFacility":"ServiceAreas",h=(0,l.lA)({f:"json",serviceName:f},t),v=(0,a.Qj)(y)+"/GetTravelModes/execute",g=await(0,i.default)(v,h),b=[];let w=null;if(null!=g&&null!=(r=g.data)&&null!=(s=r.results)&&s.length){const e=g.data.results;for(const t of e){var N;if("supportedTravelModes"===t.paramName){if(null!=(N=t.value)&&N.features)for(const{attributes:e}of t.value.features)if(e){const t=JSON.parse(e.TravelMode);b.push(t)}}else"defaultTravelMode"===t.paramName&&(w=t.value)}}return{supportedTravelModes:b,defaultTravelMode:w}}(e,r),{defaultTravelMode:c,supportedTravelModes:d}=await p;return u.defaultTravelMode=c,u.supportedTravelModes=d,f.fromJSON(u)}},79166:(e,t,r)=>{r.d(t,{Z:()=>p});var i=r(43697),s=r(35454),o=r(5600),n=(r(67676),r(80442),r(75215),r(52011)),a=r(51623);const l=new s.Xn({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});let u=class extends a.Z{constructor(e){super(e),this.type=null}};(0,i._)([(0,o.Cb)({type:String,json:{read:l.read,write:l.write}})],u.prototype,"type",void 0),u=(0,i._)([(0,n.j)("esri.rest.support.NAMessage")],u);const p=u},49827:(e,t,r)=>{r.d(t,{Z:()=>d});var i,s=r(43697),o=r(96674),n=r(22974),a=r(5600),l=(r(75215),r(36030)),u=r(52011),p=r(49352);let c=i=class extends o.wq{constructor(e){super(e),this.attributeParameterValues=null,this.description=null,this.distanceAttributeName=null,this.id=null,this.impedanceAttributeName=null,this.name=null,this.restrictionAttributeNames=null,this.simplificationTolerance=null,this.simplificationToleranceUnits=null,this.timeAttributeName=null,this.type=null,this.useHierarchy=null,this.uturnAtJunctions=null}clone(){return new i((0,n.d9)({attributeParameterValues:this.attributeParameterValues,description:this.description,distanceAttributeName:this.distanceAttributeName,id:this.id,impedanceAttributeName:this.impedanceAttributeName,name:this.name,restrictionAttributeNames:this.restrictionAttributeNames,simplificationTolerance:this.simplificationTolerance,simplificationToleranceUnits:this.simplificationToleranceUnits,timeAttributeName:this.timeAttributeName,type:this.type,useHierarchy:this.useHierarchy,uturnAtJunctions:this.uturnAtJunctions}))}};(0,s._)([(0,a.Cb)({type:[Object],json:{write:!0}})],c.prototype,"attributeParameterValues",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"distanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"id",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"impedanceAttributeName",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],c.prototype,"restrictionAttributeNames",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],c.prototype,"simplificationTolerance",void 0),(0,s._)([(0,l.J)(p.q$)],c.prototype,"simplificationToleranceUnits",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],c.prototype,"timeAttributeName",void 0),(0,s._)([(0,l.J)(p.DJ)],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"useHierarchy",void 0),(0,s._)([(0,l.J)(p.ip)],c.prototype,"uturnAtJunctions",void 0),c=i=(0,s._)([(0,u.j)("esri.rest.support.TravelMode")],c);const d=c},49352:(e,t,r)=>{r.d(t,{oi:()=>m,W7:()=>p,td:()=>v,cW:()=>h,GX:()=>o,$7:()=>n,Dd:()=>f,q$:()=>s,yP:()=>c,no:()=>a,ip:()=>l,BW:()=>y,SS:()=>d,DJ:()=>u});var i=r(35454);const s=(0,i.wY)()({esriCentimeters:"centimeters",esriDecimalDegrees:"decimal-degrees",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriPoints:"points",esriYards:"yards"}),o=(0,i.wY)()({esriNAUCentimeters:"centimeters",esriNAUDecimalDegrees:"decimal-degrees",esriNAUDecimeters:"decimeters",esriNAUFeet:"feet",esriNAUInches:"inches",esriNAUKilometers:"kilometers",esriNAUMeters:"meters",esriNAUMiles:"miles",esriNAUMillimeters:"millimeters",esriNAUNauticalMiles:"nautical-miles",esriNAUPoints:"points",esriNAUYards:"yards"}),n=(0,i.wY)()({esriDOTComplete:"complete",esriDOTCompleteNoEvents:"complete-no-events",esriDOTFeatureSets:"featuresets",esriDOTInstructionsOnly:"instructions-only",esriDOTStandard:"standard",esriDOTSummaryOnly:"summary-only"}),a=(0,i.wY)()({esriNAOutputLineNone:"none",esriNAOutputLineStraight:"straight",esriNAOutputLineTrueShape:"true-shape",esriNAOutputLineTrueShapeWithMeasure:"true-shape-with-measure"}),l=((0,i.wY)()({esriNAOutputPolygonNone:"none",esriNAOutputPolygonSimplified:"simplified",esriNAOutputPolygonDetailed:"detailed"}),(0,i.wY)()({esriNFSBAllowBacktrack:"allow-backtrack",esriNFSBAtDeadEndsOnly:"at-dead-ends-only",esriNFSBNoBacktrack:"no-backtrack",esriNFSBAtDeadEndsAndIntersections:"at-dead-ends-and-intersections"})),u=((0,i.wY)()({esriNATravelDirectionFromFacility:"from-facility",esriNATravelDirectionToFacility:"to-facility"}),(0,i.wY)()({esriNATimeOfDayNotUsed:"not-used",esriNATimeOfDayUseAsStartTime:"start",esriNATimeOfDayUseAsEndTime:"end"}),(0,i.wY)()({AUTOMOBILE:"automobile",TRUCK:"truck",WALK:"walk",OTHER:"other"})),p=(0,i.wY)()({0:"either-side-of-vehicle",1:"right-side-of-vehicle",2:"left-side-of-vehicle",3:"no-u-turn"},{useNumericKeys:!0}),c=(0,i.wY)()({0:"stop",1:"waypoint",2:"break"},{useNumericKeys:!0}),d=(0,i.wY)()({0:"ok",1:"not-located",2:"network-element-not-located",3:"element-not-traversable",4:"invalid-field-values",5:"not-reached",6:"time-window-violation",7:"not-located-on-closest"},{useNumericKeys:!0}),y=(0,i.wY)()({1:"right",2:"left"},{useNumericKeys:!0}),m=(0,i.wY)()({0:"restriction",1:"added-cost"},{useNumericKeys:!0}),f=(0,i.wY)()({0:"permit",1:"restrict"},{useNumericKeys:!0}),h=(0,i.wY)()({1:"header",50:"arrive",51:"depart",52:"straight",100:"on-ferry",101:"off-ferry",102:"central-fork",103:"roundabout",104:"u-turn",150:"door",151:"stairs",152:"elevator",153:"escalator",154:"pedestrian-ramp",200:"left-fork",201:"left-ramp",202:"clockwise-roundabout",203:"left-handed-u-turn",204:"bear-left",205:"left-turn",206:"sharp-left",207:"left-turn-and-immediate-left-turn",208:"left-turn-and-immediate-right-turn",300:"right-fork",301:"right-ramp",302:"counter-clockwise-roundabout",303:"right-handed-u-turn",304:"bear-right",305:"right-turn",306:"sharp-right",307:"right-turn-and-immediate-left-turn",308:"right-turn-and-immediate-right-turn",400:"up-elevator",401:"up-escalator",402:"up-stairs",500:"down-elevator",501:"down-escalator",502:"down-stairs",1e3:"general-event",1001:"landmark",1002:"time-zone-change",1003:"traffic-event",1004:"scaled-cost-barrier-event",1005:"boundary-crossing",1006:"restriction-violation"},{useNumericKeys:!0}),v=(0,i.wY)()({0:"unknown",1:"segment",2:"maneuver-segment",3:"restriction-violation",4:"scaled-cost-barrier",5:"heavy-traffic",6:"slow-traffic",7:"moderate-traffic"},{useNumericKeys:!0})},89164:(e,t,r)=>{r.d(t,{Z:()=>y});var i=r(43697),s=r(22303),o=r(35454),n=r(96674),a=r(5600),l=(r(67676),r(80442),r(75215),r(71715)),u=r(52011);const p=new o.Xn({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,d=class extends n.wq{constructor(e){super(e),this.id="sym"+c++,this.type=null,this.color=new s.Z([0,0,0,1])}readColor(e){return e&&null!=e[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i._)([(0,a.Cb)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write}}})],d.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:{allowNull:!0}}})],d.prototype,"color",void 0),(0,i._)([(0,l.r)("color")],d.prototype,"readColor",null),d=(0,i._)([(0,u.j)("esri.symbols.Symbol")],d);const y=d},57039:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var i=r(43697),s=r(5600),o=(r(67676),r(80442),r(75215),r(52011)),n=r(3172),a=r(28263),l=r(38581),u=r(93924),p=r(11282),c=(r(66577),r(1692)),d=r(96674),y=r(70586),m=r(71715),f=r(82971),h=r(79166),v=r(13473),g=r(58901),b=r(17332),w=r(33955);function N(e){return e.features.map((t=>{const r=f.Z.fromJSON(e.spatialReference),i=c.Z.fromJSON(t);return(0,y.Wg)(i.geometry).spatialReference=r,i}))}function A(e){return(0,y.lV)(e.features.map((t=>((0,y.pC)(t.geometry)&&(t.geometry.spatialReference=e.spatialReference),(0,w.im)(t.geometry)))))}let S=class extends d.wq{constructor(e){super(e),this.facilities=null,this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.serviceAreaPolylines=null,this.serviceAreaPolygons=null}readFacilities(e){return A(e)}readPointBarriers(e,t){return A(t.barriers)}readPolylineBarriers(e){return A(e)}readPolygonBarriers(e){return A(e)}readIncidents(e,t){return N(t.saPolylines)}readServiceAreaPolygons(e,t){return N(t.saPolygons)}};(0,i._)([(0,s.Cb)({type:[v.Z]})],S.prototype,"facilities",void 0),(0,i._)([(0,m.r)("facilities")],S.prototype,"readFacilities",null),(0,i._)([(0,s.Cb)({type:[h.Z]})],S.prototype,"messages",void 0),(0,i._)([(0,s.Cb)({type:[v.Z]})],S.prototype,"pointBarriers",void 0),(0,i._)([(0,m.r)("pointBarriers",["barriers"])],S.prototype,"readPointBarriers",null),(0,i._)([(0,s.Cb)({type:[g.Z]})],S.prototype,"polylineBarriers",void 0),(0,i._)([(0,m.r)("polylineBarriers")],S.prototype,"readPolylineBarriers",null),(0,i._)([(0,s.Cb)({type:[b.Z]})],S.prototype,"polygonBarriers",void 0),(0,i._)([(0,m.r)("polygonBarriers")],S.prototype,"readPolygonBarriers",null),(0,i._)([(0,s.Cb)({type:[c.Z]})],S.prototype,"serviceAreaPolylines",void 0),(0,i._)([(0,m.r)("serviceAreaPolylines",["saPolylines"])],S.prototype,"readIncidents",null),(0,i._)([(0,s.Cb)({type:[c.Z]})],S.prototype,"serviceAreaPolygons",void 0),(0,i._)([(0,m.r)("serviceAreaPolygons",["saPolygons"])],S.prototype,"readServiceAreaPolygons",null),S=(0,i._)([(0,o.j)("esri.rest.support.ServiceAreaSolveResult")],S);const T=S,_=(0,a.E)({accumulateAttributes:{name:"accumulateAttributeNames"},attributeParameterValues:!0,defaultBreaks:!0,facilities:!0,outSpatialReference:{name:"outSR",getter:e=>e.outSpatialReference.wkid},pointBarriers:{name:"barriers"},polylineBarriers:!0,polygonBarriers:!0,restrictionAttributes:{name:"restrictionAttributeNames"},returnPointBarriers:{name:"returnBarriers"},travelMode:!0});var C=r(59633);let M=class extends C.Z{constructor(e){super(e),this.url=null}solve(e,t){return async function(e,t,r){const i=[],s=[],o={},a={},c=(0,p.en)(e),{path:d}=c;t.facilities&&t.facilities.features&&(0,u.et)(t.facilities.features,s,"facilities.features",o),t.pointBarriers&&t.pointBarriers.features&&(0,u.et)(t.pointBarriers.features,s,"pointBarriers.features",o),t.polylineBarriers&&t.polylineBarriers.features&&(0,u.et)(t.polylineBarriers.features,s,"polylineBarriers.features",o),t.polygonBarriers&&t.polygonBarriers.features&&(0,u.et)(t.polygonBarriers.features,s,"polygonBarriers.features",o);const y=await(0,l.aX)(s);for(const e in o){const t=o[e];i.push(e),a[e]=y.slice(t[0],t[1])}if((0,u.Wf)(a,i)){let e=null;try{e=await(0,u.bI)(d,t.apiKey,r)}catch{}e&&!e.hasZ&&(0,u.ef)(a,i)}for(const e in a)a[e].forEach(((r,i)=>{t.get(e)[i].geometry=r}));const m={...r,query:{...c.query,..._.toQueryParams(t),f:"json"}},{data:f}=await(0,n.default)(`${d}/solveServiceArea`,m);return T.fromJSON(f)}(this.url,e,t)}};(0,i._)([(0,s.Cb)()],M.prototype,"url",void 0),M=(0,i._)([(0,o.j)("esri.tasks.ServiceAreaTask")],M);const k=M},59633:(e,t,r)=>{r.d(t,{Z:()=>u});var i=r(43697),s=r(15923),o=r(17452),n=r(5600),a=(r(67676),r(80442),r(75215),r(52011));let l=class extends s.Z{constructor(...e){super(...e),this.requestOptions=null,this.url=null}normalizeCtorArgs(e,t){return"string"!=typeof e?e:{url:e,...t}}get parsedUrl(){return this._parseUrl(this.url)}_parseUrl(e){return e?(0,o.mN)(e):null}_encode(e,t,r){const i={};for(const s in e){if("declaredClass"===s)continue;const o=e[s];if(null!=o&&"function"!=typeof o)if(Array.isArray(o)){i[s]=[];for(let e=0;e<o.length;e++)i[s][e]=this._encode(o[e])}else if("object"==typeof o)if(o.toJSON){const e=o.toJSON(r&&r[s]);i[s]=t?e:JSON.stringify(e)}else i[s]=t?o:JSON.stringify(o);else i[s]=o}return i}};(0,i._)([(0,n.Cb)({readOnly:!0})],l.prototype,"parsedUrl",null),(0,i._)([(0,n.Cb)()],l.prototype,"requestOptions",void 0),(0,i._)([(0,n.Cb)({type:String})],l.prototype,"url",void 0),l=(0,i._)([(0,a.j)("esri.tasks.Task")],l);const u=l}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9101,4889],{78346:(e,t,r)=>{r.d(t,{bA:()=>T});var o=r(20102),s=r(80442),i=r(95330),n=r(80903),a=r(25045),l=r(40330),d=r(92604),u=r(94362),c=r(99880),p=r(68773),h=(r(2587),r(17452));const y={};function f(e){var t;const r={async:e.async,isDebug:e.isDebug,locale:e.locale,baseUrl:e.baseUrl,has:{...e.has},map:{...e.map},packages:e.packages&&e.packages.concat()||[],paths:{...e.paths}};return e.hasOwnProperty("async")||(r.async=!0),e.hasOwnProperty("isDebug")||(r.isDebug=!1),e.baseUrl||(r.baseUrl=y.baseUrl),null==(t=y.packages)||t.forEach((e=>{!function(e,t){for(const r of e)if(r.name===t.name)return;e.push(t)}(r.packages,e)})),r}var m=r(41213);class g{constructor(){const e=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((t=>{this[t]=(...r)=>e[t](...r)}))}}class w{constructor(){this._dispatcher=new g,this._workerPostMessage({type:u.Cs.HANDSHAKE})}terminate(){}get onmessage(){return this._onmessageHandler}set onmessage(e){this._onmessageHandler&&this.removeEventListener("message",this._onmessageHandler),this._onmessageHandler=e,e&&this.addEventListener("message",e)}get onmessageerror(){return this._onmessageerrorHandler}set onmessageerror(e){this._onmessageerrorHandler&&this.removeEventListener("messageerror",this._onmessageerrorHandler),this._onmessageerrorHandler=e,e&&this.addEventListener("messageerror",e)}get onerror(){return this._onerrorHandler}set onerror(e){this._onerrorHandler&&this.removeEventListener("error",this._onerrorHandler),this._onerrorHandler=e,e&&this.addEventListener("error",e)}postMessage(e){(0,m.Y)((()=>{this._workerMessageHandler(new MessageEvent("message",{data:e}))}))}dispatchEvent(e){return this._dispatcher.dispatchEvent(e)}addEventListener(e,t,r){this._dispatcher.addEventListener(e,t,r)}removeEventListener(e,t,r){this._dispatcher.removeEventListener(e,t,r)}_workerPostMessage(e){(0,m.Y)((()=>{this.dispatchEvent(new MessageEvent("message",{data:e}))}))}async _workerMessageHandler(e){const t=(0,u.QM)(e);if(t&&t.type===u.Cs.OPEN){const{modulePath:e,jobId:r}=t;let o=await a.default.loadWorker(e);o||(o=await import(e));const s=a.default.connect(o);this._workerPostMessage({type:u.Cs.OPENED,jobId:r,data:s})}}}var b=r(70171),v=r(17202);const _=d.Z.getLogger("esri.core.workers"),{HANDSHAKE:C}=u.Cs;let j,k;const S="Failed to create Worker. Fallback to execute module in main thread";async function R(e){return new Promise((t=>{function r(s){const i=(0,u.QM)(s);i&&i.type===C&&(e.removeEventListener("message",r),e.removeEventListener("error",o),t(e))}function o(t){t.preventDefault(),e.removeEventListener("message",r),e.removeEventListener("error",o),_.warn("Failed to create Worker. Fallback to execute module in main thread",t),(e=new w).addEventListener("message",r),e.addEventListener("error",o)}e.addEventListener("message",r),e.addEventListener("error",o)}))}let E=0;const M=d.Z.getLogger("esri.core.workers"),{ABORT:N,INVOKE:P,OPEN:x,OPENED:O,RESPONSE:Z}=u.Cs;class I{constructor(e,t){this._outJobs=new Map,this._inJobs=new Map,this.worker=e,this.id=t,e.addEventListener("message",this._onMessage.bind(this)),e.addEventListener("error",(e=>{e.preventDefault(),M.error(e)}))}static async create(e){const t=await async function(){if(!(0,s.Z)("esri-workers"))return R(new w);if(!j&&!k)try{const e='let globalId=0;const outgoing=new Map,configuration=JSON.parse("{CONFIGURATION}");self.esriConfig=configuration.esriConfig;const workerPath=self.esriConfig.workers.workerPath,HANDSHAKE=0,OPEN=1,OPENED=2,RESPONSE=3,INVOKE=4,ABORT=5;function createAbortError(){const e=new Error("Aborted");return e.name="AbortError",e}function receiveMessage(e){return e&&e.data?"string"==typeof e.data?JSON.parse(e.data):e.data:null}function invokeStaticMessage(e,o,r){const t=r&&r.signal,n=globalId++;return new Promise(((r,i)=>{if(t){if(t.aborted)return i(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:5,jobId:n}),i(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:i}),self.postMessage({type:4,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,buildDate:r,version:t}=configuration.kernelInfo,{revision:n,buildDate:i,version:s}=e.kernelInfo;o!==n&&console.warn(`[esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:\nAPI version: ${t} [Date: ${r}, Revision: ${o.slice(0,8)}]\nAssets version: ${s} [Date: ${i}, Revision: ${n.slice(0,8)}]`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case 1:let e;function t(o){const t=e.connect(o);self.postMessage({type:2,jobId:r,data:t},[t])}"function"==typeof define&&define.amd?require([workerPath],(r=>{e=r.default||r,checkWorkerRevision(e),e.loadWorker(o.modulePath).then((e=>e||new Promise((e=>{require([o.modulePath],e)})))).then(t)})):"System"in self&&"function"==typeof System.import?System.import(workerPath).then((r=>(e=r.default,checkWorkerRevision(e),e.loadWorker(o.modulePath)))).then((e=>e||System.import(o.modulePath))).then(t):(self.RemoteClient||importScripts(workerPath),e=self.RemoteClient.default||self.RemoteClient,checkWorkerRevision(e),e.loadWorker(o.modulePath).then(t));break;case 3:if(outgoing.has(r)){const e=outgoing.get(r);outgoing.delete(r),o.error?e.reject(JSON.parse(o.error)):e.resolve(o.data)}}}self.dojoConfig=configuration.loaderConfig,esriConfig.workers.loaderUrl&&(self.importScripts(esriConfig.workers.loaderUrl),"function"==typeof require&&"function"==typeof require.config&&require.config(configuration.loaderConfig)),self.addEventListener("message",messageHandler),self.postMessage({type:0});'.replace('"{CONFIGURATION}"',`'${function(){let e;if(null!=p.Z.default){const t={...p.Z};delete t.default,e=JSON.parse(JSON.stringify(t))}else e=JSON.parse(JSON.stringify(p.Z));e.assetsPath=(0,h.hF)(e.assetsPath),e.request.interceptors=[],e.log.interceptors=[],e.locale=(0,b.Kd)(),e.has={"esri-csp-restrictions":(0,s.Z)("esri-csp-restrictions"),"esri-2d-debug":!1,"esri-2d-update-debug":(0,s.Z)("esri-2d-update-debug"),"esri-2d-query-centroid-enabled":(0,s.Z)("esri-2d-query-centroid-enabled"),"featurelayer-pbf":(0,s.Z)("featurelayer-pbf"),"featurelayer-simplify-thresholds":(0,s.Z)("featurelayer-simplify-thresholds"),"featurelayer-simplify-payload-size-factors":(0,s.Z)("featurelayer-simplify-payload-size-factors"),"featurelayer-simplify-mobile-factor":(0,s.Z)("featurelayer-simplify-mobile-factor"),"esri-atomics":(0,s.Z)("esri-atomics"),"esri-shared-array-buffer":(0,s.Z)("esri-shared-array-buffer"),"esri-tiles-debug":(0,s.Z)("esri-tiles-debug"),"esri-workers-arraybuffer-transfer":(0,s.Z)("esri-workers-arraybuffer-transfer"),"host-webworker":1},e.workers.loaderUrl&&(e.workers.loaderUrl=(0,h.hF)(e.workers.loaderUrl)),e.workers.workerPath?e.workers.workerPath=(0,h.hF)(e.workers.workerPath):e.workers.workerPath=(0,h.hF)((0,c.V)("esri/core/workers/RemoteClient.js"));const t=p.Z.workers.loaderConfig,r=f({baseUrl:null==t?void 0:t.baseUrl,locale:(0,b.Kd)(),has:{"csp-restrictions":1,"dojo-test-sniff":0,"host-webworker":1,...null==t?void 0:t.has},map:{...null==t?void 0:t.map},paths:{...null==t?void 0:t.paths},packages:(null==t?void 0:t.packages)||[]}),o={version:l.i8,buildDate:v.r,revision:v.$};return JSON.stringify({esriConfig:e,loaderConfig:r,kernelInfo:o})}()}'`);j=URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}catch(e){k=e||{}}let e;if(j)try{e=new Worker(j,{name:"esri-worker-"+E++})}catch(t){_.warn(S,k),e=new w}else _.warn(S,k),e=new w;return R(e)}();return new I(t,e)}terminate(){this.worker.terminate()}async open(e,t={}){const{signal:r}=t,o=(0,u.jt)();return new Promise(((t,s)=>{const n={resolve:t,reject:s,abortHandle:(0,i.$F)(r,(()=>{this._outJobs.delete(o),this._post({type:N,jobId:o})}))};this._outJobs.set(o,n),this._post({type:x,jobId:o,modulePath:e})}))}_onMessage(e){const t=(0,u.QM)(e);if(t)switch(t.type){case O:this._onOpenedMessage(t);break;case Z:this._onResponseMessage(t);break;case N:this._onAbortMessage(t);break;case P:this._onInvokeMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,o=t.get(r);o&&(o.controller&&o.controller.abort(),t.delete(r))}_onInvokeMessage(e){const{methodName:t,jobId:r,data:o,abortable:s}=e,n=s?new AbortController:null,a=this._inJobs,d=l.Nv[t];let c;try{if("function"!=typeof d)throw new TypeError(`${t} is not a function`);c=d.call(null,o,{signal:n?n.signal:null})}catch(e){return void this._post({type:Z,jobId:r,error:(0,u.AB)(e)})}(0,i.y8)(c)?(a.set(r,{controller:n,promise:c}),c.then((e=>{a.has(r)&&(a.delete(r),this._post({type:Z,jobId:r},e))}),(e=>{a.has(r)&&(a.delete(r),e||(e={message:"Error encountered at method"+t}),(0,i.D_)(e)||this._post({type:Z,jobId:r,error:(0,u.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:Z,jobId:r},c)}_onOpenedMessage(e){var t;const{jobId:r,data:o}=e,s=this._outJobs.get(r);s&&(this._outJobs.delete(r),null==(t=s.abortHandle)||t.remove(),s.resolve(o))}_onResponseMessage(e){var t;const{jobId:r,error:s,data:i}=e,n=this._outJobs.get(r);n&&(this._outJobs.delete(r),null==(t=n.abortHandle)||t.remove(),s?n.reject(o.Z.fromJSON(JSON.parse(s))):n.resolve(i))}_post(e,t,r){return(0,u.oi)(this.worker,e,t,r)}}let F=(0,s.Z)("esri-workers-debug")?1:(0,s.Z)("host-browser")?navigator.hardwareConcurrency-1:0;F||(F=(0,s.Z)("safari")&&(0,s.Z)("mac")||(0,s.Z)("trident")?7:2);let A=0;const L=[];async function B(e,t){const r=new n.Z;return await r.open(e,t),r}async function T(e,t={}){if("string"!=typeof e)throw new o.Z("workers:undefined-module","modulePath is missing");let r=t.strategy||"distributed";if((0,s.Z)("host-webworker")&&!(0,s.Z)("esri-workers")&&(r="local"),"local"===r){let r=await a.default.loadWorker(e);r||(r=await import(e)),(0,i.k_)(t.signal);const o=t.client||r;return B([a.default.connect(r)],{...t,client:o})}if(await async function(){if(U)return U;H=new AbortController;const e=[];for(let t=0;t<F;t++){const r=I.create(t).then((e=>(L[t]=e,e)));e.push(r)}return U=Promise.all(e),U}(),(0,i.k_)(t.signal),"dedicated"===r){const r=A++%F;return B([await L[r].open(e,t)],t)}if(t.maxNumWorkers&&t.maxNumWorkers>0){const r=Math.min(t.maxNumWorkers,F);if(r<F){const o=new Array(r);for(let s=0;s<r;++s){const r=A++%F;o[s]=L[r].open(e,t)}return B(o,t)}}return B(L.map((r=>r.open(e,t))),t)}let H,U=null},2587:(e,t,r)=>{r(90344),r(18848),r(940),r(70171);var o=r(94443),s=r(3172),i=r(20102),n=r(70586);async function a(e){if((0,n.pC)(l.fetchBundleAsset))return l.fetchBundleAsset(e);const t=await(0,s.default)(e,{responseType:"text"});return JSON.parse(t.data)}const l={};var d,u=r(99880);(0,o.tz)((d={pattern:"esri/",location:u.V},new class{constructor({base:e="",pattern:t,location:r=new URL(window.location.href)}){let o;o="string"==typeof r?e=>new URL(e,new URL(r,window.location.href)).href:r instanceof URL?e=>new URL(e,r).href:r,this.pattern="string"==typeof t?new RegExp(`^${t}`):t,this.getAssetUrl=o,e=e?e.endsWith("/")?e:e+"/":"",this.matcher=new RegExp(`^${e}(?:(.*)/)?(.*)$`)}fetchMessageBundle(e,t){return async function(e,t,r,s){const n=t.exec(r);if(!n)throw new i.Z("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);const l=n[1]?`${n[1]}/`:"",d=n[2],u=(0,o.Su)(s),c=`${l}${d}.json`,p=u?`${l}${d}_${u}.json`:c;let h;try{h=await a(e(p))}catch(t){if(p===c)throw new i.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:t});try{h=await a(e(c))}catch(e){throw new i.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:e})}}return h}(this.getAssetUrl,this.matcher,e,t)}}(d)))},94443:(e,t,r)=>{r.d(t,{ME:()=>h,Su:()=>y,tz:()=>p});var o=r(20102),s=r(95330),i=r(70171);const n=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,a={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:!0,nl:!0,pl:!0,"pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,"zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function l(e){var t;return null!=(t=a[e])&&t}const d=[],u=new Map;function c(e){for(const t of u.keys())f(e.pattern,t)&&u.delete(t)}function p(e){return d.includes(e)||(c(e),d.unshift(e)),{remove(){const t=d.indexOf(e);t>-1&&(d.splice(t,1),c(e))}}}async function h(e){const t=(0,i.Kd)();u.has(e)||u.set(e,async function(e,t){const r=[];for(const o of d)if(f(o.pattern,e))try{return await o.fetchMessageBundle(e,t)}catch(e){r.push(e)}if(r.length)throw new o.Z("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:r});throw new o.Z("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const r=u.get(e);return await m.add(r),r}function y(e){if(!n.test(e))return null;const[,t,r]=n.exec(e),o=t+(r?"-"+r.toUpperCase():"");return l(o)?o:l(t)?t:null}function f(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,i.Ze)((()=>{u.clear()}));const m=new class{constructor(){this._numLoading=0}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,s.dD)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},940:(e,t,r)=>{r.d(t,{n:()=>d});var o=r(92604),s=r(78286),i=r(19153),n=r(90344),a=r(18848);const l=o.Z.getLogger("esri.intl");function d(e,t,r={}){const{format:o={}}=r;return(0,i.gx)(e,(e=>function(e,t,r){let o,i;const n=e.indexOf(":");if(-1===n?o=e.trim():(o=e.slice(0,n).trim(),i=e.slice(n+1).trim()),!o)return"";const a=(0,s.hS)(o,t);if(null==a)return"";const l=r[i]||r[o];return l?u(a,l):i?c(a,i):p(a)}(e,t,o)))}function u(e,t){switch(t.type){case"date":return(0,n.p6)(e,t.intlOptions);case"number":return(0,a.uf)(e,t.intlOptions);default:return l.warn("missing format descriptor for key {key}"),p(e)}}function c(e,t){switch(t.toLowerCase()){case"dateformat":return(0,n.p6)(e);case"numberformat":return(0,a.uf)(e);default:return l.warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?(0,n.p6)(e):/^numberformat/i.test(t)?(0,a.uf)(e):p(e)}}function p(e){switch(typeof e){case"string":return e;case"number":return(0,a.uf)(e);case"boolean":return""+e;default:return e instanceof Date?(0,n.p6)(e):""}}},56545:(e,t,r)=>{r.d(t,{Z:()=>p});var o,s=r(43697),i=r(96674),n=r(22974),a=r(5600),l=r(75215),d=r(52011),u=r(30556);let c=o=class extends i.wq{constructor(e){super(e),this.attachmentTypes=null,this.attachmentsWhere=null,this.keywords=null,this.globalIds=null,this.name=null,this.num=null,this.objectIds=null,this.returnMetadata=!1,this.size=null,this.start=null,this.where=null}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new o((0,n.d9)({attachmentTypes:this.attachmentTypes,attachmentsWhere:this.attachmentsWhere,keywords:this.keywords,where:this.where,globalIds:this.globalIds,name:this.name,num:this.num,objectIds:this.objectIds,returnMetadata:this.returnMetadata,size:this.size,start:this.start}))}};(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],c.prototype,"attachmentTypes",void 0),(0,s._)([(0,a.Cb)({type:String,json:{read:{source:"attachmentsDefinitionExpression"},write:{target:"attachmentsDefinitionExpression"}}})],c.prototype,"attachmentsWhere",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],c.prototype,"keywords",void 0),(0,s._)([(0,a.Cb)({type:[Number],json:{write:!0}})],c.prototype,"globalIds",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],c.prototype,"num",void 0),(0,s._)([(0,a.Cb)({type:[Number],json:{write:!0}})],c.prototype,"objectIds",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{default:!1,write:!0}})],c.prototype,"returnMetadata",void 0),(0,s._)([(0,a.Cb)({type:[Number],json:{write:!0}})],c.prototype,"size",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],c.prototype,"start",void 0),(0,s._)([(0,u.c)("start"),(0,u.c)("num")],c.prototype,"writeStart",null),(0,s._)([(0,a.Cb)({type:String,json:{read:{source:"definitionExpression"},write:{target:"definitionExpression"}}})],c.prototype,"where",void 0),c=o=(0,s._)([(0,d.j)("esri.rest.support.AttachmentQuery")],c),c.from=(0,l.se)(c);const p=c},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var o,s=r(43697),i=r(66577),n=r(1692),a=r(35454),l=r(96674),d=r(22974),u=r(70586),c=r(5600),p=(r(75215),r(71715)),h=r(52011),y=r(30556),f=r(82971),m=r(33955),g=r(1231);const w=new a.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=o=class extends l.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=f.Z.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,u.pC)(i.geometry)&&!a&&(i.geometry.spatialReference=r),o.push(i)}return o}writeGeometryType(e,t,r,o){if(e)return void w.write(e,t,r,o);const{features:s}=this;if(s)for(const e of s)if(e&&(0,u.pC)(e.geometry))return void w.write(e.geometry.type,t,r,o)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,o=(0,m.im)(e);return!r&&t.spatialReference&&(o.spatialReference=f.Z.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,u.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new o(this.cloneProperties())}cloneProperties(){return(0,d.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const o=t.features[r];if(o.geometry){const t=e&&e[r];o.geometry=t&&t.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,r],translate:[o,s]}=e,i=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-o)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=i.length;e<t;e++)n((0,u.Wg)(i[e].geometry))||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[o,s],scale:[i,n]}=r,a=this._getHydrationFunction(e,(e=>e*i+o),(e=>s-e*n));for(const{geometry:e}of t)(0,u.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let o,s;const i=[];for(let n=0,a=e.length;n<a;n++){const a=e[n];if(n>0){const e=t(a[0]),n=r(a[1]);e===o&&n===s||(i.push([e-o,n-s]),o=e,s=n)}else o=t(a[0]),s=r(a[1]),i.push([o,s])}return i.length>0?i:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,m.oU)(e)?e.rings:e.paths,s=[];for(let e=0,i=o.length;e<i;e++){const i=o[e],n=this._quantizePoints(i,t,r);n&&s.push(n)}return s.length>0?((0,m.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,r);return o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const o=(0,m.oU)(e)?e.rings:e.paths;let s,i;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],i+=o[1]):(s=o[0],i=o[1]),o[0]=t(s),o[1]=r(i)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const o=e.points;let s,i;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],i+=n[1]):(s=n[0],i=n[1]),n[0]=t(s),n[1]=r(i)}}:void 0}};(0,s._)([(0,c.Cb)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,c.Cb)({type:[n.Z],json:{write:!0}})],b.prototype,"features",void 0),(0,s._)([(0,p.r)("features")],b.prototype,"readFeatures",null),(0,s._)([(0,c.Cb)({type:[g.Z],json:{write:!0}})],b.prototype,"fields",void 0),(0,s._)([(0,c.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:w.read}}})],b.prototype,"geometryType",void 0),(0,s._)([(0,y.c)("geometryType")],b.prototype,"writeGeometryType",null),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,s._)([(0,c.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,s._)([(0,c.Cb)({types:i.qM,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,s._)([(0,p.r)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,s._)([(0,c.Cb)({type:f.Z,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,s._)([(0,y.c)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,s._)([(0,c.Cb)({json:{write:!0}})],b.prototype,"transform",void 0),b=o=(0,s._)([(0,h.j)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0;const v=b},75935:(e,t,r)=>{r.d(t,{Z:()=>y});var o,s=r(43697),i=(r(66577),r(96674)),n=r(22974),a=r(5600),l=r(75215),d=r(52011),u=r(30556),c=r(10158),p=r(82971);let h=o=class extends i.wq{constructor(e){super(e),this.dynamicDataSource=void 0,this.gdbVersion=null,this.geometryPrecision=void 0,this.historicMoment=null,this.maxAllowableOffset=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.relationshipId=void 0,this.start=void 0,this.num=void 0,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.where=null}_writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,this.start>0&&null==this.where&&(t.definitionExpression="1=1")}clone(){return new o((0,n.d9)({dynamicDataSource:this.dynamicDataSource,gdbVersion:this.gdbVersion,geometryPrecision:this.geometryPrecision,historicMoment:this.historicMoment&&new Date(this.historicMoment.getTime()),maxAllowableOffset:this.maxAllowableOffset,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,relationshipId:this.relationshipId,start:this.start,num:this.num,returnGeometry:this.returnGeometry,where:this.where,returnZ:this.returnZ,returnM:this.returnM}))}};(0,s._)([(0,a.Cb)({type:c.n,json:{write:!0}})],h.prototype,"dynamicDataSource",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],h.prototype,"gdbVersion",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],h.prototype,"geometryPrecision",void 0),(0,s._)([(0,a.Cb)({type:Date})],h.prototype,"historicMoment",void 0),(0,s._)([(0,u.c)("historicMoment")],h.prototype,"_writeHistoricMoment",null),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],h.prototype,"maxAllowableOffset",void 0),(0,s._)([(0,a.Cb)({type:[Number],json:{write:!0}})],h.prototype,"objectIds",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],h.prototype,"orderByFields",void 0),(0,s._)([(0,a.Cb)({type:[String],json:{write:!0}})],h.prototype,"outFields",void 0),(0,s._)([(0,a.Cb)({type:p.Z,json:{read:{source:"outSR"},write:{target:"outSR"}}})],h.prototype,"outSpatialReference",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],h.prototype,"relationshipId",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],h.prototype,"start",void 0),(0,s._)([(0,u.c)("start"),(0,u.c)("num")],h.prototype,"writeStart",null),(0,s._)([(0,a.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],h.prototype,"num",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],h.prototype,"returnGeometry",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],h.prototype,"returnM",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],h.prototype,"returnZ",void 0),(0,s._)([(0,a.Cb)({type:String,json:{read:{source:"definitionExpression"},write:{target:"definitionExpression"}}})],h.prototype,"where",void 0),h=o=(0,s._)([(0,d.j)("esri.rest.support.RelationshipQuery")],h),h.from=(0,l.se)(h);const y=h},28141:(e,t,r)=>{r.d(t,{Z:()=>C});var o,s=r(43697),i=r(66577),n=r(92835),a=r(35454),l=r(96674),d=r(22974),u=r(5600),c=r(75215),p=r(52011),h=r(30556),y=r(33955);r(67676),r(80442);let f=o=class extends l.wq{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new o({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,s._)([(0,u.Cb)({type:[String],json:{write:!0}})],f.prototype,"groupByFields",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{write:!0}})],f.prototype,"topCount",void 0),(0,s._)([(0,u.Cb)({type:[String],json:{write:!0}})],f.prototype,"orderByFields",void 0),f=o=(0,s._)([(0,p.j)("esri.rest.support.TopFilter")],f);const m=f;var g,w=r(82971);const b=new a.Xn({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),v=new a.Xn({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let _=g=class extends l.wq{constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new g((0,d.d9)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,s._)([(0,u.Cb)({type:Boolean,json:{write:!0}})],_.prototype,"cacheHint",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],_.prototype,"distance",void 0),(0,s._)([(0,u.Cb)({types:i.qM,json:{read:y.im,write:!0}})],_.prototype,"geometry",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{write:!0}})],_.prototype,"geometryPrecision",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{write:!0}})],_.prototype,"maxAllowableOffset",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],_.prototype,"num",void 0),(0,s._)([(0,u.Cb)({json:{write:!0}})],_.prototype,"objectIds",void 0),(0,s._)([(0,u.Cb)({type:[String],json:{write:!0}})],_.prototype,"orderByFields",void 0),(0,s._)([(0,u.Cb)({type:[String],json:{write:!0}})],_.prototype,"outFields",void 0),(0,s._)([(0,u.Cb)({type:w.Z,json:{read:{source:"outSR"},write:{target:"outSR"}}})],_.prototype,"outSpatialReference",void 0),(0,s._)([(0,u.Cb)({type:String,json:{write:!0}})],_.prototype,"resultType",void 0),(0,s._)([(0,u.Cb)({json:{write:!0}})],_.prototype,"returnGeometry",void 0),(0,s._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"returnM",void 0),(0,s._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"returnZ",void 0),(0,s._)([(0,u.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],_.prototype,"start",void 0),(0,s._)([(0,h.c)("start"),(0,h.c)("num")],_.prototype,"writeStart",null),(0,s._)([(0,u.Cb)({type:String,json:{read:{source:"spatialRel",reader:b.read},write:{target:"spatialRel",writer:b.write}}})],_.prototype,"spatialRelationship",void 0),(0,s._)([(0,u.Cb)({type:n.Z,json:{write:!0}})],_.prototype,"timeExtent",void 0),(0,s._)([(0,u.Cb)({type:m,json:{write:!0}})],_.prototype,"topFilter",void 0),(0,s._)([(0,u.Cb)({type:String,json:{read:v.read,write:{writer:v.write,overridePolicy(e){return{enabled:e&&this.distance>0}}}}})],_.prototype,"units",void 0),(0,s._)([(0,u.Cb)({type:String,json:{write:!0}})],_.prototype,"where",void 0),_=g=(0,s._)([(0,p.j)("esri.rest.support.TopFeaturesQuery")],_),_.from=(0,c.se)(_);const C=_}}]);