@arcgis/core 4.27.0-next.20230521 → 4.27.0-next.20230523

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 (268) hide show
  1. package/Graphic.js +1 -1
  2. package/WebMap.js +1 -1
  3. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  5. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  6. package/arcade/featureset/sources/FeatureLayerRelated.js +1 -1
  7. package/arcade/functions/featuresetbase.js +1 -1
  8. package/assets/esri/core/workers/RemoteClient.js +1 -1
  9. package/assets/esri/core/workers/chunks/030b43764f945cb1f8b0.js +1 -0
  10. package/assets/esri/core/workers/chunks/0d02856e55d20b99fc8b.js +1 -0
  11. package/assets/esri/core/workers/chunks/{69242c66492717c7388c.js → 0fcb8d408696075338e2.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{b91c155de9a89e4e6971.js → 187c3b971ed0fc4363ef.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{85c6ce93aa41e6b65997.js → 18db07d739a713cc0465.js} +1 -1
  14. package/assets/esri/core/workers/chunks/1b6177e23327be645c8c.js +1 -0
  15. package/assets/esri/core/workers/chunks/28286014a575042619ee.js +1 -0
  16. package/assets/esri/core/workers/chunks/{692dfeb2e255fdc0ade2.js → 39288fa69561d21f04f8.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{2b9d3e60977934a6d471.js → 3bc6b5f0643364749ef8.js} +1 -1
  18. package/assets/esri/core/workers/chunks/45e5ad704d18dd0857ce.js +1 -0
  19. package/assets/esri/core/workers/chunks/4d24efa01d1accc5a5f0.js +1 -0
  20. package/assets/esri/core/workers/chunks/{6312783626bacf52df7a.js → 55486c644e8b01326a0d.js} +1 -1
  21. package/assets/esri/core/workers/chunks/5576858f56314afcb4d5.js +1 -0
  22. package/assets/esri/core/workers/chunks/{62d9d15f0d00a75da42c.js → 571dac507622948ac03e.js} +1 -1
  23. package/assets/esri/core/workers/chunks/59063d6abf70f6598425.js +1 -0
  24. package/assets/esri/core/workers/chunks/5a4c04bf4f57e74457c5.js +1 -0
  25. package/assets/esri/core/workers/chunks/5bf04c32e0ac89dcbf9f.js +1 -0
  26. package/assets/esri/core/workers/chunks/6a3d611e8842afbb50ab.js +2 -0
  27. package/assets/esri/core/workers/chunks/{55ca6ba8b40921025181.js.LICENSE.txt → 6a3d611e8842afbb50ab.js.LICENSE.txt} +1 -1
  28. package/assets/esri/core/workers/chunks/70d6e5edf05ef7079fa8.js +1 -0
  29. package/assets/esri/core/workers/chunks/71bdf8f10aee0077f681.js +1 -0
  30. package/assets/esri/core/workers/chunks/72b2c3c8e76da699690c.js +1 -0
  31. package/assets/esri/core/workers/chunks/78ce0b1af62435d8ebf4.js +1 -0
  32. package/assets/esri/core/workers/chunks/791f529e90135398b3d5.js +1 -0
  33. package/assets/esri/core/workers/chunks/8d3abfe6fdc5ac8d6cb7.js +1 -0
  34. package/assets/esri/core/workers/chunks/{1edc5c06874cb12c5478.js → 924e4a18d8403d1caea3.js} +1 -1
  35. package/assets/esri/core/workers/chunks/96d339abcd917f1f0ae1.js +1 -0
  36. package/assets/esri/core/workers/chunks/97cdbec7532cfcdf9ad2.js +1 -0
  37. package/assets/esri/core/workers/chunks/{f3f6035a17f7dcd19675.js → 9ab400a89dd701778d2c.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{1488b3d48232844b8bb4.js → 9fe349f43d5ff5a4ac2d.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{22396dd3717d17a5d235.js → a1c31bb8c12831539328.js} +1 -1
  40. package/assets/esri/core/workers/chunks/b0571b9e602218cdc7aa.js +1 -0
  41. package/assets/esri/core/workers/chunks/b1d88f8e528bf7092f35.js +1 -0
  42. package/assets/esri/core/workers/chunks/b4e2dc6b3d06b426e596.js +1 -0
  43. package/assets/esri/core/workers/chunks/{48abcb2d88f22e6e9fde.js → c2cb9fa18c77f0c5104e.js} +1 -1
  44. package/assets/esri/core/workers/chunks/cad7a2092ea7f51dbd8b.js +1 -0
  45. package/assets/esri/core/workers/chunks/d08800a30b1227591986.js +1 -0
  46. package/assets/esri/core/workers/chunks/d725dbbdeb05322e6d88.js +1 -0
  47. package/assets/esri/core/workers/chunks/df3e497d12ed77bae168.js +1 -0
  48. package/assets/esri/core/workers/chunks/fb080339bfaf32731ca6.js +1 -0
  49. package/assets/esri/core/workers/chunks/{56fc7924b4fb30239c19.js → fdf58386a67e54c09bfb.js} +1 -1
  50. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  51. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  52. package/assets/esri/themes/base/_core.scss +2 -0
  53. package/assets/esri/themes/base/widgets/_BasemapGallery.scss +86 -96
  54. package/assets/esri/themes/base/widgets/_FloorFilter.scss +6 -0
  55. package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +40 -0
  56. package/assets/esri/themes/dark/main.css +1 -1
  57. package/assets/esri/themes/light/main.css +1 -1
  58. package/assets/esri/themes/light/view.css +1 -1
  59. package/assets/esri/views/interactive/tooltip/t9n/Tooltip.json +1 -1
  60. package/assets/esri/views/interactive/tooltip/t9n/Tooltip_en.json +1 -1
  61. package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
  62. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  63. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  64. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  65. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  66. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  67. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  68. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  69. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  70. package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
  71. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  72. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  73. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  74. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  75. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  76. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  77. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  78. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  79. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  80. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  81. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  82. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  83. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  84. package/assets/esri/widgets/Editor/t9n/Editor_nb.json +1 -1
  85. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  86. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  87. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  88. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  89. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  90. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  91. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  92. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  93. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  94. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  95. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  96. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  97. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  98. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  99. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  100. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  101. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  102. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology.json +1 -1
  103. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ar.json +1 -1
  104. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bg.json +1 -1
  105. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_bs.json +1 -1
  106. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ca.json +1 -1
  107. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_cs.json +1 -1
  108. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_da.json +1 -1
  109. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_de.json +1 -1
  110. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_el.json +1 -1
  111. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_en.json +1 -1
  112. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_es.json +1 -1
  113. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_et.json +1 -1
  114. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fi.json +1 -1
  115. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_fr.json +1 -1
  116. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_he.json +1 -1
  117. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hr.json +1 -1
  118. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_hu.json +1 -1
  119. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_id.json +1 -1
  120. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_it.json +1 -1
  121. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ja.json +1 -1
  122. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ko.json +1 -1
  123. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lt.json +1 -1
  124. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_lv.json +1 -1
  125. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nb.json +1 -1
  126. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_nl.json +1 -1
  127. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pl.json +1 -1
  128. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-BR.json +1 -1
  129. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_pt-PT.json +1 -1
  130. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ro.json +1 -1
  131. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_ru.json +1 -1
  132. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sk.json +1 -1
  133. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sl.json +1 -1
  134. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sr.json +1 -1
  135. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_sv.json +1 -1
  136. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_th.json +1 -1
  137. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_tr.json +1 -1
  138. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_uk.json +1 -1
  139. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_vi.json +1 -1
  140. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-CN.json +1 -1
  141. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-HK.json +1 -1
  142. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_zh-TW.json +1 -1
  143. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  144. package/chunks/arcgis-knowledge-client-core.js +1 -1
  145. package/chunks/mat4.js +1 -1
  146. package/core/accessorSupport/write.js +1 -1
  147. package/core/fontUtils.js +1 -1
  148. package/core/libs/gl-matrix-2/math/mat4.js +1 -1
  149. package/geometry/Mesh.js +1 -1
  150. package/geometry/support/MeshGeoreferencedRelativeVertexSpace.d.ts +4 -0
  151. package/geometry/support/MeshGeoreferencedRelativeVertexSpace.js +5 -0
  152. package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +4 -0
  153. package/geometry/support/MeshGeoreferencedVertexSpace.js +5 -0
  154. package/geometry/support/MeshLocalVertexSpace.d.ts +4 -0
  155. package/geometry/support/MeshLocalVertexSpace.js +5 -0
  156. package/geometry/support/MeshTransform.d.ts +4 -0
  157. package/geometry/support/MeshTransform.js +1 -1
  158. package/geometry/support/meshUtils/ElevationSamplerWorker.js +1 -1
  159. package/geometry/support/meshUtils/centerAt.js +1 -1
  160. package/geometry/support/meshUtils/exporters/gltf/geometry.js +1 -1
  161. package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
  162. package/geometry/support/meshUtils/geographicUtils.js +1 -1
  163. package/geometry/support/meshUtils/georeference.js +1 -1
  164. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  165. package/geometry/support/meshUtils/merge.js +1 -1
  166. package/geometry/support/meshUtils/offset.js +1 -1
  167. package/geometry/support/meshUtils/primitives.js +1 -1
  168. package/geometry/support/meshUtils/rotate.js +1 -1
  169. package/geometry/support/meshUtils/scale.js +1 -1
  170. package/interfaces.d.ts +227 -25
  171. package/layers/LinkChartLayer.js +1 -1
  172. package/layers/VoxelWasmPerSceneView.js +1 -1
  173. package/layers/graphics/data/attributeSupport.js +1 -1
  174. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  175. package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
  176. package/layers/knowledgeGraph/SessionMemoryStorage.js +1 -1
  177. package/layers/support/SubtypeSublayer.js +1 -1
  178. package/layers/support/rasterFunctions/BandArithmeticFunction.js +1 -1
  179. package/layers/support/rasterFunctions/BaseRasterFunction.js +1 -1
  180. package/layers/support/rasterFunctions/CompositeBandFunction.js +1 -1
  181. package/layers/support/rasterFunctions/ExtractBandFunction.js +1 -1
  182. package/layers/support/rasterFunctions/ExtractBandFunctionArguments.js +1 -1
  183. package/layers/support/rasterFunctions/NDVIFunction.js +1 -1
  184. package/networks/support/TopologyValidationJobInfo.js +1 -1
  185. package/package.json +2 -2
  186. package/popup/FieldInfo.js +1 -1
  187. package/portal/Portal.js +1 -1
  188. package/rest/support/FeatureSet.js +1 -1
  189. package/rest/support/meshFeatureSet.js +1 -1
  190. package/smartMapping/symbology/color.js +1 -1
  191. package/smartMapping/symbology/support/colors.js +1 -1
  192. package/support/revision.js +1 -1
  193. package/symbols/cim/cimAnalyzer.js +1 -1
  194. package/symbols/support/utils.js +1 -1
  195. package/views/2d/layers/StreamLayerView2D.js +1 -1
  196. package/views/2d/layers/features/controllers/FeatureController2D.js +1 -1
  197. package/views/2d/layers/features/support/FeatureSetReaderJSON.js +1 -1
  198. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  199. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  200. package/views/3d/interactive/editingTools/meshFastUpdateUtils.js +1 -1
  201. package/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js +1 -1
  202. package/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +1 -1
  203. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
  204. package/views/3d/interactive/editingTools/transformGraphic/undoRecords.js +1 -1
  205. package/views/3d/layers/StreamLayerView3D.js +1 -1
  206. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  207. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  208. package/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +1 -1
  209. package/views/3d/layers/graphics/symbolComplexity.js +1 -1
  210. package/views/3d/layers/i3s/I3SClientNodeLoader.js +1 -1
  211. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  212. package/views/3d/state/utils/navigationUtils.js +1 -1
  213. package/views/3d/support/DisplayQualityProfile.js +1 -1
  214. package/views/3d/support/QualitySettings.js +1 -1
  215. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  216. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  217. package/views/3d/webgl-engine/lib/RenderPluginManager.js +1 -1
  218. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  219. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  220. package/views/draw/DrawOperation.js +1 -1
  221. package/views/draw/support/helpMessageUtils.js +1 -1
  222. package/views/interactive/dragEventPipeline.js +1 -1
  223. package/views/layers/StreamLayerView.js +1 -1
  224. package/widgets/BasemapGallery/css.js +1 -1
  225. package/widgets/BasemapGallery/support/PortalBasemapsSource.js +1 -1
  226. package/widgets/BasemapGallery.js +1 -1
  227. package/widgets/CoordinateConversion.js +1 -1
  228. package/widgets/Editor/EditorViewModel.js +1 -1
  229. package/widgets/Editor/Edits.js +1 -1
  230. package/widgets/Editor/Upload.js +1 -1
  231. package/widgets/Editor/workflowUtils.js +1 -1
  232. package/widgets/Editor.js +1 -1
  233. package/widgets/Feature/support/featureUtils.js +1 -1
  234. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  235. package/widgets/FeatureTable/FieldColumn.js +1 -1
  236. package/widgets/LayerList.js +1 -1
  237. package/widgets/Locate.js +1 -1
  238. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  239. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +5 -0
  240. package/widgets/UtilityNetworkValidateTopology.js +5 -0
  241. package/widgets/support/widgetUtils.js +1 -1
  242. package/assets/esri/core/workers/chunks/163bf2e13abbdd298374.js +0 -1
  243. package/assets/esri/core/workers/chunks/23f73f81aea461c0c6e6.js +0 -1
  244. package/assets/esri/core/workers/chunks/2640204c4655aa535ccb.js +0 -1
  245. package/assets/esri/core/workers/chunks/2bf42d060f877566b989.js +0 -1
  246. package/assets/esri/core/workers/chunks/34ec9623a1bece86a82b.js +0 -1
  247. package/assets/esri/core/workers/chunks/3bf52139340827794c3b.js +0 -1
  248. package/assets/esri/core/workers/chunks/3cebdd77a8401495097f.js +0 -1
  249. package/assets/esri/core/workers/chunks/48cb634255e39711a720.js +0 -1
  250. package/assets/esri/core/workers/chunks/4d5f71d84c85f45c97ea.js +0 -1
  251. package/assets/esri/core/workers/chunks/52d02021e858820bc4fa.js +0 -1
  252. package/assets/esri/core/workers/chunks/55ca6ba8b40921025181.js +0 -2
  253. package/assets/esri/core/workers/chunks/64b8f65e2ef6cbf08380.js +0 -1
  254. package/assets/esri/core/workers/chunks/662e479c370c11bcb8a7.js +0 -1
  255. package/assets/esri/core/workers/chunks/78aede1e114deefacb54.js +0 -1
  256. package/assets/esri/core/workers/chunks/7ef100158ca28631fcaf.js +0 -1
  257. package/assets/esri/core/workers/chunks/93ad67930aa7d4a4b0ac.js +0 -1
  258. package/assets/esri/core/workers/chunks/964795dfb57f0d0635d0.js +0 -1
  259. package/assets/esri/core/workers/chunks/99ce0a202dcd3d7dc290.js +0 -1
  260. package/assets/esri/core/workers/chunks/abe6c99a1a719543dbe8.js +0 -1
  261. package/assets/esri/core/workers/chunks/c3bf44146fddfe8990f7.js +0 -1
  262. package/assets/esri/core/workers/chunks/cbe817e966b57599bafd.js +0 -1
  263. package/assets/esri/core/workers/chunks/e15b5d7e46a834eacc57.js +0 -1
  264. package/assets/esri/core/workers/chunks/e1e0b3580e2c3098c9f4.js +0 -1
  265. package/assets/esri/core/workers/chunks/e305d20e4424451cab5b.js +0 -1
  266. package/assets/esri/core/workers/chunks/e6836c84470fb6bd25bf.js +0 -1
  267. package/assets/esri/core/workers/chunks/f924732902703233655e.js +0 -1
  268. package/assets/esri/core/workers/chunks/ff1c005eede0cf964332.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1916],{74085:(e,t,r)=>{function s(e){}r.d(t,{Bg:()=>s}),r(80442)},45091:(e,t,r)=>{r.d(t,{Z:()=>c});var s,n,i=r(80442),o=r(71143);(n=s||(s={}))[n.varint=0]="varint",n[n.fixed64=1]="fixed64",n[n.delimited=2]="delimited",n[n.fixed32=5]="fixed32",n[n.unknown=99]="unknown";const a=4294967296,l=new TextDecoder("utf-8"),u=(0,i.Z)("safari")||(0,i.Z)("ios")?6:(0,i.Z)("ff")?12:32;class c{constructor(e,t,r=0,n=(e?e.byteLength:0)){this._tag=0,this._dataType=s.unknown,this._init(e,t,r,n)}_init(e,t,r,s){this._data=e,this._dataView=t,this._pos=r,this._end=s}asUnsafe(){return this}clone(){return new c(this._data,this._dataView,this._pos,this._end)}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;return e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128?e:(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128?e:(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128?e:(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128?e:(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128?e:void 0))))}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();if(void 0!==e)return e>>>1^-(1&e)|0}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*a;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*a;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,s){const n=this.getMessage(),i=e(n,t,r,s);return n.release(),i}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=c.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){c.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case s.varint:this._decodeVarint();break;case s.fixed64:this._skip(8);break;case s.delimited:this._skip(this._getLength());break;case s.fixed32:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,s=0;if(this._end-t>=10)do{if(s=e[t++],r|=127&s,0==(128&s))break;if(s=e[t++],r|=(127&s)<<7,0==(128&s))break;if(s=e[t++],r|=(127&s)<<14,0==(128&s))break;if(s=e[t++],r|=(127&s)<<21,0==(128&s))break;if(s=e[t++],r+=268435456*(127&s),0==(128&s))break;if(s=e[t++],r+=34359738368*(127&s),0==(128&s))break;if(s=e[t++],r+=4398046511104*(127&s),0==(128&s))break;if(s=e[t++],r+=562949953421312*(127&s),0==(128&s))break;if(s=e[t++],r+=72057594037927940*(127&s),0==(128&s))break;if(s=e[t++],r+=0x8000000000000000*(127&s),0==(128&s))break;throw new Error("Varint too long!")}while(0);else{let n=1;for(;t!==this._end&&(s=e[t],0!=(128&s));)++t,r+=(127&s)*n,n*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=s*n}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t=this._pos,r=0,s=0;const n=1&e[t];if(this._end-t>=10)do{if(s=e[t++],r|=127&s,0==(128&s))break;if(s=e[t++],r|=(127&s)<<7,0==(128&s))break;if(s=e[t++],r|=(127&s)<<14,0==(128&s))break;if(s=e[t++],r|=(127&s)<<21,0==(128&s))break;if(s=e[t++],r+=268435456*(127&s),0==(128&s))break;if(s=e[t++],r+=34359738368*(127&s),0==(128&s))break;if(s=e[t++],r+=4398046511104*(127&s),0==(128&s))break;if(s=e[t++],r+=562949953421312*(127&s),0==(128&s))break;if(s=e[t++],r+=72057594037927940*(127&s),0==(128&s))break;if(s=e[t++],r+=0x8000000000000000*(127&s),0==(128&s))break;throw new Error("Varint too long!")}while(0);else{let n=1;for(;t!==this._end&&(s=e[t],0!=(128&s));)++t,r+=(127&s)*n,n*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=s*n}return this._pos=t,n?-(r+1)/2:r/2}_getLength(){if(this._dataType!==s.delimited)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>u){const s=e.subarray(t,r);return l.decode(s)}let s="",n="";for(let i=t;i<r;++i){const t=e[i];128&t?n+="%"+t.toString(16):(s+=decodeURIComponent(n)+String.fromCharCode(t),n="")}return n.length&&(s+=decodeURIComponent(n)),s}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}}c.pool=new o.Z(c,void 0,(e=>{e._data=null,e._dataView=null}))},33955:(e,t,r)=>{r.d(t,{Ji:()=>f,YX:()=>u,aW:()=>c,im:()=>y,l9:()=>p,oU:()=>h,q9:()=>m,wp:()=>d});var s=r(6570),n=r(9361),i=r(65091),o=r(94139),a=r(38913),l=r(58901);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function c(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function p(e){return void 0!==e.paths}function h(e){return void 0!==e.rings}function y(e){return null==e?null:e instanceof n.Z?e:d(e)?o.Z.fromJSON(e):p(e)?l.Z.fromJSON(e):h(e)?a.Z.fromJSON(e):c(e)?i.Z.fromJSON(e):u(e)?s.Z.fromJSON(e):null}function f(e){return e?d(e)?"esriGeometryPoint":p(e)?"esriGeometryPolyline":h(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":c(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:o.Z,esriGeometryPolyline:l.Z,esriGeometryPolygon:a.Z,esriGeometryEnvelope:s.Z,esriGeometryMultipoint:i.Z};function m(e){return e&&g[e]||null}},82397:(e,t,r)=>{r.d(t,{G6:()=>f,Ie:()=>y,J9:()=>p,RF:()=>d,U1:()=>h,vY:()=>o}),r(33955);const s=(e,t,r)=>[t,r],n=(e,t,r)=>[t,r,e[2]],i=(e,t,r)=>[t,r,e[2],e[3]];function o(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance]:[1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax]:[0,0]}:null}function a({scale:e,translate:t},r){return r*e[0]+t[0]}function l({scale:e,translate:t},r){return t[1]-r*e[1]}function u(e,t,r){const s=new Array(r.length);if(!r.length)return s;const[n,i]=e.scale;let o=a(e,r[0][0]),u=l(e,r[0][1]);s[0]=t(r[0],o,u);for(let e=1;e<r.length;e++){const a=r[e];o+=a[0]*n,u-=a[1]*i,s[e]=t(a,o,u)}return s}function c(e,t,r){const s=new Array(r.length);for(let n=0;n<r.length;n++)s[n]=u(e,t,r[n]);return s}function d(e,t,r,s,n){return t.x=function({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}(e,r.x),t.y=function({scale:e,translate:t},r){return Math.round((t[1]-r)/e[1])}(e,r.y),t!==r&&(s&&(t.z=r.z),n&&(t.m=r.m)),t}function p(e,t,r,o,a){return null!=r&&(t.points=function(e,t,r,o){return u(e,r?o?i:n:o?n:s,t)}(e,r.points,o,a)),t}function h(e,t,r,s,n){return null==r||(t.x=a(e,r.x),t.y=l(e,r.y),t!==r&&(s&&(t.z=r.z),n&&(t.m=r.m))),t}function y(e,t,r,o,a){return null!=r&&(t.rings=function(e,t,r,o){return c(e,r?o?i:n:o?n:s,t)}(e,r.rings,o,a)),t}function f(e,t,r,o,a){return null!=r&&(t.paths=function(e,t,r,o){return c(e,r?o?i:n:o?n:s,t)}(e,r.paths,o,a)),t}},86973:(e,t,r)=>{r.d(t,{M:()=>n,P:()=>i});var s=r(35454);const n=(0,s.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,s.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},69285:(e,t,r)=>{r.d(t,{k:()=>i});var s=r(67900),n=r(8744);function i(e,t,r){if(null==t||null==r||r.vcsWkid||(0,n.fS)(t,r))return null;const i=(0,s._R)(t)/(0,s._R)(r);if(1===i)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return null}}},1231:(e,t,r)=>{r.d(t,{Z:()=>g});var s,n=r(43697),i=r(35454),o=r(96674),a=r(5600),l=r(75215),u=(r(67676),r(80442),r(36030)),c=r(71715),d=r(52011),p=r(72729),h=r(86719);const y=new i.X({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 f=s=class extends o.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,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?y.fromJSON(r.fieldValueType):null}clone(){return new s({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,visible:this.visible})}};(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,n._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,n._)([(0,a.Cb)()],f.prototype,"description",void 0),(0,n._)([(0,c.r)("description")],f.prototype,"readDescription",null),(0,n._)([(0,a.Cb)({types:p.V5,json:{read:{reader:p.im},write:!0}})],f.prototype,"domain",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,n._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],f.prototype,"length",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,n._)([(0,u.J)(h.v)],f.prototype,"type",void 0),(0,n._)([(0,a.Cb)()],f.prototype,"valueType",void 0),(0,n._)([(0,c.r)("valueType",["description"])],f.prototype,"readValueType",null),(0,n._)([(0,a.Cb)({type:Boolean,json:{read:!1}})],f.prototype,"visible",void 0),f=s=(0,n._)([(0,d.j)("esri.layers.support.Field")],f);const g=f},72729:(e,t,r)=>{r.d(t,{im:()=>x,V5:()=>v}),r(80442);var s,n=r(43697),i=r(22974),o=r(5600),a=(r(75215),r(36030)),l=r(52011),u=r(96674);r(67676);let c=s=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,n._)([(0,o.Cb)({type:[String,Number],json:{write:!0}})],c.prototype,"code",void 0),c=s=(0,n._)([(0,l.j)("esri.layers.support.CodedValue")],c);const d=new(r(35454).X)({inherited:"inherited",codedValue:"coded-value",range:"range"});let p=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,n._)([(0,a.J)(d)],p.prototype,"type",void 0),p=(0,n._)([(0,l.j)("esri.layers.support.Domain")],p);const h=p;var y;let f=y=class extends h{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some((e=>(String(e.code)===r&&(t=e.name),!!t)))}return t}clone(){return new y({codedValues:(0,i.d9)(this.codedValues),name:this.name})}};(0,n._)([(0,o.Cb)({type:[c],json:{write:!0}})],f.prototype,"codedValues",void 0),(0,n._)([(0,a.J)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=y=(0,n._)([(0,l.j)("esri.layers.support.CodedValueDomain")],f);const g=f;var m;r(92604),r(20102);let _=m=class extends h{constructor(e){super(e),this.type="inherited"}clone(){return new m}};(0,n._)([(0,a.J)({inherited:"inherited"})],_.prototype,"type",void 0),_=m=(0,n._)([(0,l.j)("esri.layers.support.InheritedDomain")],_);const b=_;var k;let T=k=class extends h{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new k({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,n._)([(0,o.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,r){t[r]=[this.minValue||0,e]}}}})],T.prototype,"maxValue",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]}}}})],T.prototype,"minValue",void 0),(0,n._)([(0,a.J)({range:"range"})],T.prototype,"type",void 0),T=k=(0,n._)([(0,l.j)("esri.layers.support.RangeDomain")],T);const w=T,v={key:"type",base:h,typeMap:{range:T,"coded-value":g,inherited:b}};function x(e){if(!e||!e.type)return null;switch(e.type){case"range":return w.fromJSON(e);case"codedValue":return g.fromJSON(e);case"inherited":return b.fromJSON(e)}return null}},86719:(e,t,r)=>{r.d(t,{v:()=>s});const s=new(r(35454).X)({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",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},77863:(e,t,r)=>{r.d(t,{G$:()=>v,K9:()=>P,wn:()=>_});var s=r(20102),n=r(45091),i=r(5428),o=r(78760);const a=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],l=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],u=["upperLeft","lowerLeft"];function c(e){return e>=a.length?null:a[e]}function d(e){return e>=l.length?null:l[e]}function p(e){return e>=u.length?null:u[e]}function h(e,t){return t>=e.geometryTypes.length?null:e.geometryTypes[t]}function y(e,t,r){const s=e.asUnsafe(),n=t.createPointGeometry(r);for(;s.next();)switch(s.tag()){case 3:{const e=s.getUInt32(),r=s.pos()+e;let i=0;for(;s.pos()<r;)t.addCoordinatePoint(n,s.getSInt64(),i++);break}default:s.skip()}return n}function f(e,t,r){const s=e.asUnsafe(),n=t.createGeometry(r),i=2+(r.hasZ?1:0)+(r.hasM?1:0);for(;s.next();)switch(s.tag()){case 2:{const e=s.getUInt32(),r=s.pos()+e;let i=0;for(;s.pos()<r;)t.addLength(n,s.getUInt32(),i++);break}case 3:{const e=s.getUInt32(),r=s.pos()+e;let o=0;for(t.allocateCoordinates(n);s.pos()<r;)t.addCoordinate(n,s.getSInt64(),o),o++,o===i&&(o=0);break}default:s.skip()}return n}function g(e){const t=e.asUnsafe(),r=new i.Z;let s="esriGeometryPoint";for(;t.next();)switch(t.tag()){case 2:{const e=t.getUInt32(),s=t.pos()+e;for(;t.pos()<s;)r.lengths.push(t.getUInt32());break}case 3:{const e=t.getUInt32(),s=t.pos()+e;for(;t.pos()<s;)r.coords.push(t.getSInt64());break}case 1:s=o.A[t.getEnum()];break;default:t.skip()}return{queryGeometry:r,queryGeometryType:s}}function m(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function _(e){const t=e.asUnsafe(),r={type:c(0)};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=c(t.getEnum());break;case 3:r.alias=t.getString();break;case 4:r.sqlType=d(t.getEnum());break;case 5:default:t.skip();break;case 6:r.defaultValue=t.getString()}return r}function b(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.name=r.getString();break;case 2:t.isSystemMaintained=r.getBool();break;default:r.skip()}return t}function k(e,t,r,s){const n=t.createFeature(r);let i=0;for(;e.next();)switch(e.tag()){case 1:{const t=s[i++].name;n.attributes[t]=e.processMessage(m);break}case 2:n.geometry=e.processMessageWithArgs(f,t,r);break;case 4:n.centroid=e.processMessageWithArgs(y,t,r);break;default:e.skip()}return n}function T(e){const t=[1,1,1,1],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function w(e){const t=[0,0,0,0],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function v(e){const t={originPosition:p(0)},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.originPosition=p(r.getEnum());break;case 2:t.scale=r.processMessage(T);break;case 3:t.translate=r.processMessage(w);break;default:r.skip()}return t}function x(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.shapeAreaFieldName=r.getString();break;case 2:t.shapeLengthFieldName=r.getString();break;case 3:t.units=r.getString();break;default:r.skip()}return t}function F(e,t){const r=t.createSpatialReference();for(;e.next();)switch(e.tag()){case 1:r.wkid=e.getUInt32();break;case 5:r.wkt=e.getString();break;case 2:r.latestWkid=e.getUInt32();break;case 3:r.vcsWkid=e.getUInt32();break;case 4:r.latestVcsWkid=e.getUInt32();break;default:e.skip()}return r}function G(e,t){const r=t.createFeatureResult(),s=e.asUnsafe();r.geometryType=h(t,0);let n=!1;for(;s.next();)switch(s.tag()){case 1:r.objectIdFieldName=s.getString();break;case 3:r.globalIdFieldName=s.getString();break;case 4:r.geohashFieldName=s.getString();break;case 5:r.geometryProperties=s.processMessage(x);break;case 7:r.geometryType=h(t,s.getEnum());break;case 8:r.spatialReference=s.processMessageWithArgs(F,t);break;case 10:r.hasZ=s.getBool();break;case 11:r.hasM=s.getBool();break;case 12:r.transform=s.processMessage(v);break;case 9:{const e=s.getBool();r.exceededTransferLimit=e;break}case 13:t.addField(r,s.processMessage(_));break;case 15:n||(t.prepareFeatures(r),n=!0),t.addFeature(r,s.processMessageWithArgs(k,t,r,r.fields));break;case 2:r.uniqueIdField=s.processMessage(b);break;default:s.skip()}return t.finishFeatureResult(r),r}function S(e,t){const r={};let s=null;for(;e.next();)switch(e.tag()){case 4:s=e.processMessageWithArgs(g);break;case 1:r.featureResult=e.processMessageWithArgs(G,t);break;default:e.skip()}return null!=s&&r.featureResult&&t.addQueryGeometry(r,s),r}function P(e,t){try{const r=2,s=new n.Z(new Uint8Array(e),new DataView(e)),i={};for(;s.next();)s.tag()===r?i.queryResult=s.processMessageWithArgs(S,t):s.skip();return i}catch(e){throw new s.Z("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}},78760:(e,t,r)=>{r.d(t,{A:()=>l,J:()=>u});var s=r(67900),n=r(8744),i=r(70272),o=r(44876),a=r(5428);const l=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"];class u{constructor(e){this._options=e,this.geometryTypes=l,this._coordinatePtr=0,this._vertexDimension=0}createFeatureResult(){return new o.Z}prepareFeatures(e){this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++}finishFeatureResult(e){if(!e||!e.features||!e.hasZ||!this._options.sourceSpatialReference||!e.spatialReference||(0,n.fS)(e.spatialReference,this._options.sourceSpatialReference)||e.spatialReference.vcsWkid)return;const t=(0,s._R)(this._options.sourceSpatialReference)/(0,s._R)(e.spatialReference);if(1!==t)for(const r of e.features){if(!(0,i.S6)(r))continue;const e=r.geometry.coords;for(let r=2;r<e.length;r+=3)e[r]*=t}}addFeature(e,t){e.features.push(t)}createFeature(){return new i.u_}createSpatialReference(){return{wkid:0}}createGeometry(){return new a.Z}addField(e,t){e.fields.push(t)}allocateCoordinates(e){e.coords.length=e.lengths.reduce(((e,t)=>e+t),0)*this._vertexDimension,this._coordinatePtr=0}addCoordinate(e,t){e.coords[this._coordinatePtr++]=t}addCoordinatePoint(e,t){e.coords.push(t)}addLength(e,t){e.lengths.push(t)}addQueryGeometry(e,t){e.queryGeometry=t.queryGeometry,e.queryGeometryType=t.queryGeometryType}createPointGeometry(){return new a.Z}}},45178:(e,t,r)=>{r.d(t,{C:()=>n});var s=r(77863);function n(e,t){const r=(0,s.K9)(e,t),n=r.queryResult.featureResult,i=r.queryResult.queryGeometry,o=r.queryResult.queryGeometryType;if(n&&n.features&&n.features.length&&n.objectIdFieldName){const e=n.objectIdFieldName;for(const t of n.features)t.attributes&&(t.objectId=t.attributes[e])}return n&&(n.queryGeometry=i,n.queryGeometryType=o),n}},61916:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var s=r(74085),n=r(99001),i=r(82971),o=r(69285),a=(r(80442),r(1533),r(60437),r(24470),r(82397),r(86973),r(1231));r(8744);class l{constructor(e,t,r){this.uid=e,this.geometry=t,this.attributes=r,this.visible=!0,this.objectId=null,this.centroid=null}}class u{constructor(){this.exceededTransferLimit=!1,this.features=[],this.fields=[],this.hasM=!1,this.hasZ=!1,this.geometryType=null,this.objectIdFieldName=null,this.globalIdFieldName=null,this.geometryProperties=null,this.geohashFieldName=null,this.spatialReference=null,this.transform=null}}var c=r(98732);function d(e,t){return t}function p(e,t,r,s){switch(r){case 0:return g(e,t+s,0);case 1:return"lowerLeft"===e.originPosition?g(e,t+s,1):function({translate:e,scale:t},r,s){return e[s]-r*t[s]}(e,t+s,1)}}function h(e,t,r,s){return 2===r?g(e,t,2):p(e,t,r,s)}function y(e,t,r,s){return 2===r?g(e,t,3):p(e,t,r,s)}function f(e,t,r,s){return 3===r?g(e,t,3):h(e,t,r,s)}function g({translate:e,scale:t},r,s){return e[s]+r*t[s]}class m{constructor(e){this._options=e,this.geometryTypes=["point","multipoint","polyline","polygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=d,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{}}createFeatureResult(){return new u}finishFeatureResult(e){if(this._options.applyTransform&&(e.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!e.hasZ)return;const t=(0,o.k)(e.geometryType,this._options.sourceSpatialReference,e.spatialReference);if(null!=t)for(const r of e.features)t(r.geometry)}createSpatialReference(){return new i.Z}addField(e,t){e.fields.push(a.Z.fromJSON(t));const r=e.fields.map((e=>e.name));this._attributesConstructor=function(){for(const e of r)this[e]=null}}addFeature(e,t){const r=this._options.maxStringAttributeLength??0;if(r>0)for(const e in t.attributes){const s=t.attributes[e];"string"==typeof s&&s.length>r&&(t.attributes[e]="")}e.features.push(t)}addQueryGeometry(e,t){const{queryGeometry:r,queryGeometryType:s}=t,n=(0,c.$g)(r.clone(),r,!1,!1,this._transform),i=(0,c.di)(n,s,!1,!1);let o=null;switch(s){case"esriGeometryPoint":o="point";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryMultipoint":o="multipoint"}i.type=o,e.queryGeometryType=s,e.queryGeometry=i}prepareFeatures(e){switch(this._transform=e.transform??null,this._options.applyTransform&&e.transform&&(this._applyTransform=this._deriveApplyTransform(e)),this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++,e.geometryType){case"point":this.addCoordinate=(e,t,r)=>this.addCoordinatePoint(e,t,r),this.createGeometry=e=>this.createPointGeometry(e);break;case"polygon":this.addCoordinate=(e,t,r)=>this._addCoordinatePolygon(e,t,r),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"polyline":this.addCoordinate=(e,t,r)=>this._addCoordinatePolyline(e,t,r),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"multipoint":this.addCoordinate=(e,t,r)=>this._addCoordinateMultipoint(e,t,r),this.createGeometry=e=>this._createMultipointGeometry(e);break;case"mesh":case"extent":break;default:(0,s.Bg)(e.geometryType)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,new l((0,n.D)(),null,new this._attributesConstructor)}allocateCoordinates(){const e=this._lengths.reduce(((e,t)=>e+t),0);this._coordinateBuffer=new Float64Array(e*this._vertexDimension),this._coordinateBufferPtr=0}addLength(e,t){0===this._lengths.length&&(this._toAddInCurrentPath=t),this._lengths.push(t)}createPointGeometry(e){const t={type:"point",x:0,y:0,spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM};return t.hasZ&&(t.z=0),t.hasM&&(t.m=0),t}addCoordinatePoint(e,t,r){const s=this._transform?this._applyTransform(this._transform,t,r,0):t;if(null!=s)switch(r){case 0:e.x=s;break;case 1:e.y=s;break;case 2:e.hasZ?e.z=s:e.m=s;break;case 3:e.m=s}}_transformPathLikeValue(e,t){let r=0;return t<=1&&(r=this._previousCoordinate[t],this._previousCoordinate[t]+=e),this._transform?this._applyTransform(this._transform,e,t,r):e}_addCoordinatePolyline(e,t,r){this._dehydratedAddPointsCoordinate(e.paths,t,r)}_addCoordinatePolygon(e,t,r){this._dehydratedAddPointsCoordinate(e.rings,t,r)}_addCoordinateMultipoint(e,t,r){0===r&&e.points.push([]);const s=this._transformPathLikeValue(t,r);e.points[e.points.length-1].push(s)}_createPolygonGeometry(e){return{type:"polygon",rings:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createPolylineGeometry(e){return{type:"polyline",paths:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createMultipointGeometry(e){return{type:"multipoint",points:[],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_dehydratedAddPointsCoordinate(e,t,r){0===r&&0==this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const s=this._transformPathLikeValue(t,r),n=e[e.length-1],i=this._coordinateBuffer;if(i){if(0===r){const e=this._coordinateBufferPtr*Float64Array.BYTES_PER_ELEMENT;n.push(new Float64Array(i.buffer,e,this._vertexDimension))}i[this._coordinateBufferPtr++]=s}}_deriveApplyTransform(e){const{hasZ:t,hasM:r}=e;return t&&r?f:t?h:r?y:p}}var _=r(45178);class b{_parseFeatureQuery(e){const t=(0,_.C)(e.buffer,new m(e.options)),r={...t,spatialReference:t.spatialReference?.toJSON(),fields:t.fields?t.fields.map((e=>e.toJSON())):void 0};return Promise.resolve(r)}}function k(){return new b}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5389],{35389:(n,t,e)=>{e.r(t),e.d(t,{a:()=>f});var r,a,i,o=e(5732),u={exports:{}};r=u,a="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,i=function(n){var t,e,r;n=n||{},t||(t=void 0!==n?n:{}),t.ready=new Promise((function(n,t){e=n,r=t}));var i=Object.assign({},t),u="./this.program",c="";"undefined"!=typeof document&&document.currentScript&&(c=document.currentScript.src),a&&(c=a),c=0!==c.indexOf("blob:")?c.substr(0,c.replace(/[?#].*/,"").lastIndexOf("/")+1):"";var f,s=t.print||console.log.bind(console),l=t.printErr||console.warn.bind(console);Object.assign(t,i),i=null,t.thisProgram&&(u=t.thisProgram),t.wasmBinary&&(f=t.wasmBinary),t.noExitRuntime,"object"!=typeof WebAssembly&&I("no native wasm support detected");var h,p,v,d,g,y,m,b,w,A,T,C,P=!1,_="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function k(n,t,e){var r=t+e;for(e=t;n[e]&&!(e>=r);)++e;if(16<e-t&&n.buffer&&_)return _.decode(n.subarray(t,e));for(r="";t<e;){var a=n[t++];if(128&a){var i=63&n[t++];if(192==(224&a))r+=String.fromCharCode((31&a)<<6|i);else{var o=63&n[t++];65536>(a=224==(240&a)?(15&a)<<12|i<<6|o:(7&a)<<18|i<<12|o<<6|63&n[t++])?r+=String.fromCharCode(a):(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a))}}else r+=String.fromCharCode(a)}return r}function $(n,t,e,r){if(0<r){r=e+r-1;for(var a=0;a<n.length;++a){var i=n.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&n.charCodeAt(++a)),127>=i){if(e>=r)break;t[e++]=i}else{if(2047>=i){if(e+1>=r)break;t[e++]=192|i>>6}else{if(65535>=i){if(e+2>=r)break;t[e++]=224|i>>12}else{if(e+3>=r)break;t[e++]=240|i>>18,t[e++]=128|i>>12&63}t[e++]=128|i>>6&63}t[e++]=128|63&i}}t[e]=0}}function W(n){for(var t=0,e=0;e<n.length;++e){var r=n.charCodeAt(e);127>=r?t++:2047>=r?t+=2:55296<=r&&57343>=r?(t+=4,++e):t+=3}return t}function E(){var n=h.buffer;p=n,t.HEAP8=v=new Int8Array(n),t.HEAP16=g=new Int16Array(n),t.HEAP32=m=new Int32Array(n),t.HEAPU8=d=new Uint8Array(n),t.HEAPU16=y=new Uint16Array(n),t.HEAPU32=b=new Uint32Array(n),t.HEAPF32=w=new Float32Array(n),t.HEAPF64=C=new Float64Array(n),t.HEAP64=A=new BigInt64Array(n),t.HEAPU64=T=new BigUint64Array(n)}var O,j=[],F=[],S=[];function D(){var n=t.preRun.shift();j.unshift(n)}var M,R=0,U=null;function I(n){throw t.onAbort&&t.onAbort(n),l(n="Aborted("+n+")"),P=!0,n=new WebAssembly.RuntimeError(n+". Build with -sASSERTIONS for more info."),r(n),n}function x(){return M.startsWith("data:application/octet-stream;base64,")}if(M="arcgis-knowledge-client-core-simd.wasm",!x()){var H=M;M=t.locateFile?t.locateFile(H,c):c+H}function Y(){var n=M;try{if(n==M&&f)return new Uint8Array(f);throw"both async and sync fetching of the wasm failed"}catch(n){I(n)}}function V(n){for(;0<n.length;)n.shift()(t)}function B(n){this.ga=n-24,this.Za=function(n){b[this.ga+4>>2]=n},this.Ua=function(n){b[this.ga+8>>2]=n},this.Va=function(){m[this.ga>>2]=0},this.Oa=function(){v[this.ga+12>>0]=0},this.Ya=function(){v[this.ga+13>>0]=0},this.La=function(n,t){this.Ma(),this.Za(n),this.Ua(t),this.Va(),this.Oa(),this.Ya()},this.Ma=function(){b[this.ga+16>>2]=0}}var z={};function q(n){for(;n.length;){var t=n.pop();n.pop()(t)}}function N(n){return this.fromWireType(m[n>>2])}var L={},G={},J={};function Z(n){if(void 0===n)return"_unknown";var t=(n=n.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?"_"+n:n}function X(n,t){return n=Z(n),function(){return t.apply(this,arguments)}}function K(n){var t=Error,e=X(n,(function(t){this.name=n,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},e}var Q=void 0;function nn(n){throw new Q(n)}function tn(n,t,e){function r(t){(t=e(t)).length!==n.length&&nn("Mismatched type converter count");for(var r=0;r<n.length;++r)cn(n[r],t[r])}n.forEach((function(n){J[n]=t}));var a=Array(t.length),i=[],o=0;t.forEach(((n,t)=>{G.hasOwnProperty(n)?a[t]=G[n]:(i.push(n),L.hasOwnProperty(n)||(L[n]=[]),L[n].push((()=>{a[t]=G[n],++o===i.length&&r(a)})))})),0===i.length&&r(a)}function en(n){if(null===n)return"null";var t=typeof n;return"object"===t||"array"===t||"function"===t?n.toString():""+n}var rn=void 0;function an(n){for(var t="";d[n];)t+=rn[d[n++]];return t}var on=void 0;function un(n){throw new on(n)}function cn(n,t,e={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var r=t.name;if(n||un('type "'+r+'" must have a positive integer typeid pointer'),G.hasOwnProperty(n)){if(e.Wa)return;un("Cannot register type '"+r+"' twice")}G[n]=t,delete J[n],L.hasOwnProperty(n)&&(t=L[n],delete L[n],t.forEach((n=>n())))}function fn(n,t,e){switch(t){case 0:return e?function(n){return v[n]}:function(n){return d[n]};case 1:return e?function(n){return g[n>>1]}:function(n){return y[n>>1]};case 2:return e?function(n){return m[n>>2]}:function(n){return b[n>>2]};case 3:return e?function(n){return A[n>>3]}:function(n){return T[n>>3]};default:throw new TypeError("Unknown integer type: "+n)}}function sn(n){switch(n){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+n)}}function ln(n){un(n.ea.ha.fa.name+" instance already deleted")}var hn=!1;function pn(){}function vn(n){--n.count.value,0===n.count.value&&(n.ja?n.la.oa(n.ja):n.ha.fa.oa(n.ga))}function dn(n,t,e){return t===e?n:void 0===e.ma||null===(n=dn(n,t,e.ma))?null:e.Ka(n)}var gn={},yn=[];function mn(){for(;yn.length;){var n=yn.pop();n.ea.ua=!1,n.delete()}}var bn=void 0,wn={};function An(n,t){return t.ha&&t.ga||nn("makeClassHandle requires ptr and ptrType"),!!t.la!=!!t.ja&&nn("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Tn(Object.create(n,{ea:{value:t}}))}function Tn(n){return"undefined"==typeof FinalizationRegistry?(Tn=n=>n,n):(hn=new FinalizationRegistry((n=>{vn(n.ea)})),pn=n=>{hn.unregister(n)},(Tn=n=>{var t=n.ea;return t.ja&&hn.register(n,{ea:t},n),n})(n))}function Cn(){}function Pn(n,t,e){if(void 0===n[t].ia){var r=n[t];n[t]=function(){return n[t].ia.hasOwnProperty(arguments.length)||un("Function '"+e+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+n[t].ia+")!"),n[t].ia[arguments.length].apply(this,arguments)},n[t].ia=[],n[t].ia[r.ta]=r}}function _n(n,e,r){t.hasOwnProperty(n)?((void 0===r||void 0!==t[n].ia&&void 0!==t[n].ia[r])&&un("Cannot register public name '"+n+"' twice"),Pn(t,n,n),t.hasOwnProperty(r)&&un("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),t[n].ia[r]=e):(t[n]=e,void 0!==r&&(t[n].lb=r))}function kn(n,t,e,r,a,i,o,u){this.name=n,this.constructor=t,this.pa=e,this.oa=r,this.ma=a,this.Pa=i,this.wa=o,this.Ka=u,this.ab=[]}function $n(n,t,e){for(;t!==e;)t.wa||un("Expected null or instance of "+e.name+", got an instance of "+t.name),n=t.wa(n),t=t.ma;return n}function Wn(n,t){return null===t?(this.Ba&&un("null is not a valid "+this.name),0):(t.ea||un('Cannot pass "'+en(t)+'" as a '+this.name),t.ea.ga||un("Cannot pass deleted object as a pointer of type "+this.name),$n(t.ea.ga,t.ea.ha.fa,this.fa))}function En(n,t){if(null===t){if(this.Ba&&un("null is not a valid "+this.name),this.ya){var e=this.Ca();return null!==n&&n.push(this.oa,e),e}return 0}if(t.ea||un('Cannot pass "'+en(t)+'" as a '+this.name),t.ea.ga||un("Cannot pass deleted object as a pointer of type "+this.name),!this.xa&&t.ea.ha.xa&&un("Cannot convert argument of type "+(t.ea.la?t.ea.la.name:t.ea.ha.name)+" to parameter type "+this.name),e=$n(t.ea.ga,t.ea.ha.fa,this.fa),this.ya)switch(void 0===t.ea.ja&&un("Passing raw pointer to smart pointer is illegal"),this.gb){case 0:t.ea.la===this?e=t.ea.ja:un("Cannot convert argument of type "+(t.ea.la?t.ea.la.name:t.ea.ha.name)+" to parameter type "+this.name);break;case 1:e=t.ea.ja;break;case 2:if(t.ea.la===this)e=t.ea.ja;else{var r=t.clone();e=this.bb(e,qn((function(){r.delete()}))),null!==n&&n.push(this.oa,e)}break;default:un("Unsupporting sharing policy")}return e}function On(n,t){return null===t?(this.Ba&&un("null is not a valid "+this.name),0):(t.ea||un('Cannot pass "'+en(t)+'" as a '+this.name),t.ea.ga||un("Cannot pass deleted object as a pointer of type "+this.name),t.ea.ha.xa&&un("Cannot convert argument of type "+t.ea.ha.name+" to parameter type "+this.name),$n(t.ea.ga,t.ea.ha.fa,this.fa))}function jn(n,t,e,r,a,i,o,u,c,f,s){this.name=n,this.fa=t,this.Ba=e,this.xa=r,this.ya=a,this.$a=i,this.gb=o,this.Ha=u,this.Ca=c,this.bb=f,this.oa=s,a||void 0!==t.ma?this.toWireType=En:(this.toWireType=r?Wn:On,this.ka=null)}function Fn(n,e,r){t.hasOwnProperty(n)||nn("Replacing nonexistant public symbol"),void 0!==t[n].ia&&void 0!==r?t[n].ia[r]=e:(t[n]=e,t[n].ta=r)}var Sn=[];function Dn(n,t){n=an(n);var e=Sn[t];return e||(t>=Sn.length&&(Sn.length=t+1),Sn[t]=e=O.get(t)),"function"!=typeof e&&un("unknown function pointer with signature "+n+": "+t),e}var Mn=void 0;function Rn(n){var t=an(n=Tt(n));return At(n),t}function Un(n,t){var e=[],r={};throw t.forEach((function n(t){r[t]||G[t]||(J[t]?J[t].forEach(n):(e.push(t),r[t]=!0))})),new Mn(n+": "+e.map(Rn).join([", "]))}function In(n,t,e,r,a){var i=t.length;2>i&&un("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==t[1]&&null!==e,u=!1;for(e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].ka){u=!0;break}var c="void"!==t[0].name,f=i-2,s=Array(f),l=[],h=[];return function(){if(arguments.length!==f&&un("function "+n+" called with "+arguments.length+" arguments, expected "+f+" args!"),h.length=0,l.length=o?2:1,l[0]=a,o){var e=t[1].toWireType(h,this);l[1]=e}for(var i=0;i<f;++i)s[i]=t[i+2].toWireType(h,arguments[i]),l.push(s[i]);if(i=r.apply(null,l),u)q(h);else for(var p=o?1:2;p<t.length;p++){var v=1===p?e:s[p-2];null!==t[p].ka&&t[p].ka(v)}return c?t[0].fromWireType(i):void 0}}function xn(n,t){for(var e=[],r=0;r<n;r++)e.push(b[t+4*r>>2]);return e}function Hn(n,t,e){return n instanceof Object||un(e+' with invalid "this": '+n),n instanceof t.fa.constructor||un(e+' incompatible with "this" of type '+n.constructor.name),n.ea.ga||un("cannot call emscripten binding method "+e+" on deleted object"),$n(n.ea.ga,n.ea.ha.fa,t.fa)}var Yn=[],Vn=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Bn(n){4<n&&0==--Vn[n].Da&&(Vn[n]=void 0,Yn.push(n))}var zn=n=>(n||un("Cannot use deleted val. handle = "+n),Vn[n].value),qn=n=>{switch(n){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=Yn.length?Yn.pop():Vn.length;return Vn[t]={Da:1,value:n},t}};function Nn(n,t,e){switch(t){case 0:return function(n){return this.fromWireType((e?v:d)[n])};case 1:return function(n){return this.fromWireType((e?g:y)[n>>1])};case 2:return function(n){return this.fromWireType((e?m:b)[n>>2])};default:throw new TypeError("Unknown integer type: "+n)}}function Ln(n,t){var e=G[n];return void 0===e&&un(t+" has unknown type "+Rn(n)),e}function Gn(n,t){switch(t){case 2:return function(n){return this.fromWireType(w[n>>2])};case 3:return function(n){return this.fromWireType(C[n>>3])};default:throw new TypeError("Unknown float type: "+n)}}var Jn="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function Zn(n,t){for(var e=n>>1,r=e+t/2;!(e>=r)&&y[e];)++e;if(32<(e<<=1)-n&&Jn)return Jn.decode(d.subarray(n,e));for(e="",r=0;!(r>=t/2);++r){var a=g[n+2*r>>1];if(0==a)break;e+=String.fromCharCode(a)}return e}function Xn(n,t,e){if(void 0===e&&(e=2147483647),2>e)return 0;var r=t;e=(e-=2)<2*n.length?e/2:n.length;for(var a=0;a<e;++a)g[t>>1]=n.charCodeAt(a),t+=2;return g[t>>1]=0,t-r}function Kn(n){return 2*n.length}function Qn(n,t){for(var e=0,r="";!(e>=t/4);){var a=m[n+4*e>>2];if(0==a)break;++e,65536<=a?(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a)):r+=String.fromCharCode(a)}return r}function nt(n,t,e){if(void 0===e&&(e=2147483647),4>e)return 0;var r=t;e=r+e-4;for(var a=0;a<n.length;++a){var i=n.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&n.charCodeAt(++a)),m[t>>2]=i,(t+=4)+4>e)break}return m[t>>2]=0,t-r}function tt(n){for(var t=0,e=0;e<n.length;++e){var r=n.charCodeAt(e);55296<=r&&57343>=r&&++e,t+=4}return t}function et(n,t){for(var e=Array(n),r=0;r<n;++r)e[r]=Ln(b[t+4*r>>2],"parameter "+r);return e}var rt={};function at(n){var t=rt[n];return void 0===t?an(n):t}var it=[];function ot(){function n(n){n.$$$embind_global$$$=n;var t="object"==typeof $$$embind_global$$$&&n.$$$embind_global$$$==n;return t||delete n.$$$embind_global$$$,t}if("object"==typeof globalThis)return globalThis;if("object"==typeof $$$embind_global$$$)return $$$embind_global$$$;if("object"==typeof o.c&&n(o.c)?$$$embind_global$$$=o.c:"object"==typeof self&&n(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$)return $$$embind_global$$$;throw Error("unable to get global object.")}var ut=[],ct={},ft={};function st(){if(!lt){var n,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u||"./this.program"};for(n in ft)void 0===ft[n]?delete t[n]:t[n]=ft[n];var e=[];for(n in t)e.push(n+"="+t[n]);lt=e}return lt}var lt,ht=[null,[],[]];function pt(n){return 0==n%4&&(0!=n%100||0==n%400)}var vt=[31,29,31,30,31,30,31,31,30,31,30,31],dt=[31,28,31,30,31,30,31,31,30,31,30,31];Q=t.InternalError=K("InternalError");for(var gt=Array(256),yt=0;256>yt;++yt)gt[yt]=String.fromCharCode(yt);rn=gt,on=t.BindingError=K("BindingError"),Cn.prototype.isAliasOf=function(n){if(!(this instanceof Cn&&n instanceof Cn))return!1;var t=this.ea.ha.fa,e=this.ea.ga,r=n.ea.ha.fa;for(n=n.ea.ga;t.ma;)e=t.wa(e),t=t.ma;for(;r.ma;)n=r.wa(n),r=r.ma;return t===r&&e===n},Cn.prototype.clone=function(){if(this.ea.ga||ln(this),this.ea.va)return this.ea.count.value+=1,this;var n=Tn,t=Object,e=t.create,r=Object.getPrototypeOf(this),a=this.ea;return(n=n(e.call(t,r,{ea:{value:{count:a.count,ua:a.ua,va:a.va,ga:a.ga,ha:a.ha,ja:a.ja,la:a.la}}}))).ea.count.value+=1,n.ea.ua=!1,n},Cn.prototype.delete=function(){this.ea.ga||ln(this),this.ea.ua&&!this.ea.va&&un("Object already scheduled for deletion"),pn(this),vn(this.ea),this.ea.va||(this.ea.ja=void 0,this.ea.ga=void 0)},Cn.prototype.isDeleted=function(){return!this.ea.ga},Cn.prototype.deleteLater=function(){return this.ea.ga||ln(this),this.ea.ua&&!this.ea.va&&un("Object already scheduled for deletion"),yn.push(this),1===yn.length&&bn&&bn(mn),this.ea.ua=!0,this},t.getInheritedInstanceCount=function(){return Object.keys(wn).length},t.getLiveInheritedInstances=function(){var n,t=[];for(n in wn)wn.hasOwnProperty(n)&&t.push(wn[n]);return t},t.flushPendingDeletes=mn,t.setDelayFunction=function(n){bn=n,yn.length&&bn&&bn(mn)},jn.prototype.Qa=function(n){return this.Ha&&(n=this.Ha(n)),n},jn.prototype.Fa=function(n){this.oa&&this.oa(n)},jn.prototype.argPackAdvance=8,jn.prototype.readValueFromPointer=N,jn.prototype.deleteObject=function(n){null!==n&&n.delete()},jn.prototype.fromWireType=function(n){function t(){return this.ya?An(this.fa.pa,{ha:this.$a,ga:e,la:this,ja:n}):An(this.fa.pa,{ha:this,ga:n})}var e=this.Qa(n);if(!e)return this.Fa(n),null;var r=function(n,t){for(void 0===t&&un("ptr should not be undefined");n.ma;)t=n.wa(t),n=n.ma;return wn[t]}(this.fa,e);if(void 0!==r)return 0===r.ea.count.value?(r.ea.ga=e,r.ea.ja=n,r.clone()):(r=r.clone(),this.Fa(n),r);if(r=this.fa.Pa(e),!(r=gn[r]))return t.call(this);r=this.xa?r.Ia:r.pointerType;var a=dn(e,this.fa,r.fa);return null===a?t.call(this):this.ya?An(r.fa.pa,{ha:r,ga:a,la:this,ja:n}):An(r.fa.pa,{ha:r,ga:a})},Mn=t.UnboundTypeError=K("UnboundTypeError"),t.count_emval_handles=function(){for(var n=0,t=5;t<Vn.length;++t)void 0!==Vn[t]&&++n;return n},t.get_first_emval=function(){for(var n=5;n<Vn.length;++n)if(void 0!==Vn[n])return Vn[n];return null};var mt={j:function(n){return wt(n+24)+24},i:function(n,t,e){throw new B(n).La(t,e),n},t:function(n){var t=z[n];delete z[n];var e=t.Ca,r=t.oa,a=t.Ga;tn([n],a.map((n=>n.Ta)).concat(a.map((n=>n.eb))),(n=>{var i={};return a.forEach(((t,e)=>{var r=n[e],o=t.Ra,u=t.Sa,c=n[e+a.length],f=t.cb,s=t.fb;i[t.Na]={read:n=>r.fromWireType(o(u,n)),write:(n,t)=>{var e=[];f(s,n,c.toWireType(e,t)),q(e)}}})),[{name:t.name,fromWireType:function(n){var t,e={};for(t in i)e[t]=i[t].read(n);return r(n),e},toWireType:function(n,t){for(var a in i)if(!(a in t))throw new TypeError('Missing field: "'+a+'"');var o=e();for(a in i)i[a].write(o,t[a]);return null!==n&&n.push(r,o),o},argPackAdvance:8,readValueFromPointer:N,ka:r}]}))},A:function(n,t,e,r,a){t=an(t),e=sn(e);var i=-1!=t.indexOf("u");i&&(a=(1n<<64n)-1n),cn(n,{name:t,fromWireType:function(n){return n},toWireType:function(n,e){if("bigint"!=typeof e&&"number"!=typeof e)throw new TypeError('Cannot convert "'+en(e)+'" to '+this.name);if(e<r||e>a)throw new TypeError('Passing a number "'+en(e)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+r+", "+a+"]!");return e},argPackAdvance:8,readValueFromPointer:fn(t,e,!i),ka:null})},R:function(n,t,e,r,a){var i=sn(e);cn(n,{name:t=an(t),fromWireType:function(n){return!!n},toWireType:function(n,t){return t?r:a},argPackAdvance:8,readValueFromPointer:function(n){if(1===e)var r=v;else if(2===e)r=g;else{if(4!==e)throw new TypeError("Unknown boolean type size: "+t);r=m}return this.fromWireType(r[n>>i])},ka:null})},f:function(n,t,e,r,a,i,o,u,c,f,s,l,h){s=an(s),i=Dn(a,i),u&&(u=Dn(o,u)),f&&(f=Dn(c,f)),h=Dn(l,h);var p=Z(s);_n(p,(function(){Un("Cannot construct "+s+" due to unbound types",[r])})),tn([n,t,e],r?[r]:[],(function(t){if(t=t[0],r)var e=t.fa,a=e.pa;else a=Cn.prototype;t=X(p,(function(){if(Object.getPrototypeOf(this)!==o)throw new on("Use 'new' to construct "+s);if(void 0===c.qa)throw new on(s+" has no accessible constructor");var n=c.qa[arguments.length];if(void 0===n)throw new on("Tried to invoke ctor of "+s+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(c.qa).toString()+") parameters instead!");return n.apply(this,arguments)}));var o=Object.create(a,{constructor:{value:t}});t.prototype=o;var c=new kn(s,t,o,h,e,i,u,f);e=new jn(s,c,!0,!1,!1),a=new jn(s+"*",c,!1,!1,!1);var l=new jn(s+" const*",c,!1,!0,!1);return gn[n]={pointerType:a,Ia:l},Fn(p,t),[e,a,l]}))},D:function(n,t,e,r,a,i,o){var u=xn(e,r);t=an(t),i=Dn(a,i),tn([],[n],(function(n){function r(){Un("Cannot call "+a+" due to unbound types",u)}var a=(n=n[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var c=n.fa.constructor;return void 0===c[t]?(r.ta=e-1,c[t]=r):(Pn(c,t,a),c[t].ia[e-1]=r),tn([],u,(function(n){return n=In(a,[n[0],null].concat(n.slice(1)),null,i,o),void 0===c[t].ia?(n.ta=e-1,c[t]=n):c[t].ia[e-1]=n,[]})),[]}))},o:function(n,t,e,r,a,i){0<t||I();var o=xn(t,e);a=Dn(r,a),tn([],[n],(function(n){var e="constructor "+(n=n[0]).name;if(void 0===n.fa.qa&&(n.fa.qa=[]),void 0!==n.fa.qa[t-1])throw new on("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+n.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return n.fa.qa[t-1]=()=>{Un("Cannot construct "+n.name+" due to unbound types",o)},tn([],o,(function(r){return r.splice(1,0,null),n.fa.qa[t-1]=In(e,r,null,a,i),[]})),[]}))},b:function(n,t,e,r,a,i,o,u){var c=xn(e,r);t=an(t),i=Dn(a,i),tn([],[n],(function(n){function r(){Un("Cannot call "+a+" due to unbound types",c)}var a=(n=n[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),u&&n.fa.ab.push(t);var f=n.fa.pa,s=f[t];return void 0===s||void 0===s.ia&&s.className!==n.name&&s.ta===e-2?(r.ta=e-2,r.className=n.name,f[t]=r):(Pn(f,t,a),f[t].ia[e-2]=r),tn([],c,(function(r){return r=In(a,r,n,i,o),void 0===f[t].ia?(r.ta=e-2,f[t]=r):f[t].ia[e-2]=r,[]})),[]}))},c:function(n,t,e,r,a,i,o,u,c,f){t=an(t),a=Dn(r,a),tn([],[n],(function(n){var r=(n=n[0]).name+"."+t,s={get:function(){Un("Cannot access "+r+" due to unbound types",[e,o])},enumerable:!0,configurable:!0};return s.set=c?()=>{Un("Cannot access "+r+" due to unbound types",[e,o])}:()=>{un(r+" is a read-only property")},Object.defineProperty(n.fa.pa,t,s),tn([],c?[e,o]:[e],(function(e){var o=e[0],s={get:function(){var t=Hn(this,n,r+" getter");return o.fromWireType(a(i,t))},enumerable:!0};if(c){c=Dn(u,c);var l=e[1];s.set=function(t){var e=Hn(this,n,r+" setter"),a=[];c(f,e,l.toWireType(a,t)),q(a)}}return Object.defineProperty(n.fa.pa,t,s),[]})),[]}))},Q:function(n,t){cn(n,{name:t=an(t),fromWireType:function(n){var t=zn(n);return Bn(n),t},toWireType:function(n,t){return qn(t)},argPackAdvance:8,readValueFromPointer:N,ka:null})},q:function(n,t,e,r){function a(){}e=sn(e),t=an(t),a.values={},cn(n,{name:t,constructor:a,fromWireType:function(n){return this.constructor.values[n]},toWireType:function(n,t){return t.value},argPackAdvance:8,readValueFromPointer:Nn(t,e,r),ka:null}),_n(t,a)},e:function(n,t,e){var r=Ln(n,"enum");t=an(t),n=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:e},constructor:{value:X(r.name+"_"+t,(function(){}))}}),n.values[e]=r,n[t]=r},z:function(n,t,e){e=sn(e),cn(n,{name:t=an(t),fromWireType:function(n){return n},toWireType:function(n,t){return t},argPackAdvance:8,readValueFromPointer:Gn(t,e),ka:null})},V:function(n,t,e,r,a,i){var o=xn(t,e);n=an(n),a=Dn(r,a),_n(n,(function(){Un("Cannot call "+n+" due to unbound types",o)}),t-1),tn([],o,(function(e){return Fn(n,In(n,[e[0],null].concat(e.slice(1)),null,a,i),t-1),[]}))},r:function(n,t,e,r,a){t=an(t),-1===a&&(a=4294967295),a=sn(e);var i=n=>n;if(0===r){var o=32-8*e;i=n=>n<<o>>>o}e=t.includes("unsigned")?function(n,t){return t>>>0}:function(n,t){return t},cn(n,{name:t,fromWireType:i,toWireType:e,argPackAdvance:8,readValueFromPointer:fn(t,a,0!==r),ka:null})},l:function(n,t,e){function r(n){var t=b;return new a(p,t[1+(n>>=2)],t[n])}var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][t];cn(n,{name:e=an(e),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{Wa:!0})},k:function(n,t,e,r,a,i,o,u,c,f,s,l){e=an(e),i=Dn(a,i),u=Dn(o,u),f=Dn(c,f),l=Dn(s,l),tn([n],[t],(function(n){return n=n[0],[new jn(e,n.fa,!1,!1,!0,n,r,i,u,f,l)]}))},B:function(n,t){var e="std::string"===(t=an(t));cn(n,{name:t,fromWireType:function(n){var t=b[n>>2],r=n+4;if(e)for(var a=r,i=0;i<=t;++i){var o=r+i;if(i==t||0==d[o]){if(a=a?k(d,a,o-a):"",void 0===u)var u=a;else u+=String.fromCharCode(0),u+=a;a=o+1}}else{for(u=Array(t),i=0;i<t;++i)u[i]=String.fromCharCode(d[r+i]);u=u.join("")}return At(n),u},toWireType:function(n,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||un("Cannot pass non-string to std::string");var a=e&&r?W(t):t.length,i=wt(4+a+1),o=i+4;if(b[i>>2]=a,e&&r)$(t,d,o,a+1);else if(r)for(r=0;r<a;++r){var u=t.charCodeAt(r);255<u&&(At(o),un("String has UTF-16 code units that do not fit in 8 bits")),d[o+r]=u}else for(r=0;r<a;++r)d[o+r]=t[r];return null!==n&&n.push(At,i),i},argPackAdvance:8,readValueFromPointer:N,ka:function(n){At(n)}})},v:function(n,t,e){if(e=an(e),2===t)var r=Zn,a=Xn,i=Kn,o=()=>y,u=1;else 4===t&&(r=Qn,a=nt,i=tt,o=()=>b,u=2);cn(n,{name:e,fromWireType:function(n){for(var e,a=b[n>>2],i=o(),c=n+4,f=0;f<=a;++f){var s=n+4+f*t;f!=a&&0!=i[s>>u]||(c=r(c,s-c),void 0===e?e=c:(e+=String.fromCharCode(0),e+=c),c=s+t)}return At(n),e},toWireType:function(n,r){"string"!=typeof r&&un("Cannot pass non-string to C++ string type "+e);var o=i(r),c=wt(4+o+t);return b[c>>2]=o>>u,a(r,c+4,o+t),null!==n&&n.push(At,c),c},argPackAdvance:8,readValueFromPointer:N,ka:function(n){At(n)}})},u:function(n,t,e,r,a,i){z[n]={name:an(t),Ca:Dn(e,r),oa:Dn(a,i),Ga:[]}},h:function(n,t,e,r,a,i,o,u,c,f){z[n].Ga.push({Na:an(t),Ta:e,Ra:Dn(r,a),Sa:i,eb:o,cb:Dn(u,c),fb:f})},S:function(n,t){cn(n,{Xa:!0,name:t=an(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},n:function(n,t,e){n=zn(n),t=Ln(t,"emval::as");var r=[],a=qn(r);return b[e>>2]=a,t.toWireType(r,n)},E:function(n,t){return n=zn(n),(t=Ln(t,"emval::as")).toWireType(null,n)},X:function(n,t,e,r){n=zn(n),e=et(t,e);for(var a=Array(t),i=0;i<t;++i){var o=e[i];a[i]=o.readValueFromPointer(r),r+=o.argPackAdvance}return n=n.apply(void 0,a),qn(n)},U:function(n,t,e,r,a){n=it[n],t=zn(t),e=at(e);var i=[];return b[r>>2]=qn(i),n(t,e,i,a)},C:function(n,t,e,r){(n=it[n])(t=zn(t),e=at(e),null,r)},a:Bn,x:function(n){return 0===n?qn(ot()):(n=at(n),qn(ot()[n]))},w:function(n,t){var e=et(n,t),r=e[0];t=r.name+"_$"+e.slice(1).map((function(n){return n.name})).join("_")+"$";var a=ut[t];if(void 0!==a)return a;var i=Array(n-1);return a=function(n){var t=it.length;return it.push(n),t}(((t,a,o,u)=>{for(var c=0,f=0;f<n-1;++f)i[f]=e[f+1].readValueFromPointer(u+c),c+=e[f+1].argPackAdvance;for(t=t[a].apply(t,i),f=0;f<n-1;++f)e[f+1].Ja&&e[f+1].Ja(i[f]);if(!r.Xa)return r.toWireType(o,t)})),ut[t]=a},s:function(n,t){return n=zn(n),t=zn(t),qn(n[t])},g:function(n){4<n&&(Vn[n].Da+=1)},G:function(n,t){return(n=zn(n))instanceof zn(t)},P:function(n){return"number"==typeof(n=zn(n))},T:function(n){return"string"==typeof(n=zn(n))},W:function(n,t,e,r){n=zn(n);var a=ct[t];return a||(a=function(n){var t=Array(n+1);return function(e,r,a){t[0]=e;for(var i=0;i<n;++i){var o=Ln(b[r+4*i>>2],"parameter "+i);t[i+1]=o.readValueFromPointer(a),a+=o.argPackAdvance}return e=new(e.bind.apply(e,t)),qn(e)}}(t),ct[t]=a),a(n,e,r)},p:function(n){return qn(at(n))},m:function(n){q(zn(n)),Bn(n)},d:function(n,t){return n=(n=Ln(n,"_emval_take_value")).readValueFromPointer(t),qn(n)},F:function(n){return n=zn(n),qn(typeof n)},y:function(){I("")},L:function(n,t,e){d.copyWithin(n,t,t+e)},K:function(n){var t=d.length;if(2147483648<(n>>>=0))return!1;for(var e=1;4>=e;e*=2){var r=t*(1+.2/e);r=Math.min(r,n+100663296);var a=Math;r=Math.max(n,r),a=a.min.call(a,2147483648,r+(65536-r%65536)%65536);n:{try{h.grow(a-p.byteLength+65535>>>16),E();var i=1;break n}catch(n){}i=void 0}if(i)return!0}return!1},I:function(n,t){var e=0;return st().forEach((function(r,a){var i=t+e;for(a=b[n+4*a>>2]=i,i=0;i<r.length;++i)v[a++>>0]=r.charCodeAt(i);v[a>>0]=0,e+=r.length+1})),0},J:function(n,t){var e=st();b[n>>2]=e.length;var r=0;return e.forEach((function(n){r+=n.length+1})),b[t>>2]=r,0},O:function(){return 52},N:function(){return 70},M:function(n,t,e,r){for(var a=0,i=0;i<e;i++){var o=b[t>>2],u=b[t+4>>2];t+=8;for(var c=0;c<u;c++){var f=d[o+c],h=ht[n];0===f||10===f?((1===n?s:l)(k(h,0)),h.length=0):h.push(f)}a+=u}return b[r>>2]=a,0},H:function(n,t,e,r){return function(n,t,e,r){function a(n,t,e){for(n="number"==typeof n?n.toString():n||"";n.length<t;)n=e[0]+n;return n}function i(n,t){return a(n,t,"0")}function o(n,t){function e(n){return 0>n?-1:0<n?1:0}var r;return 0===(r=e(n.getFullYear()-t.getFullYear()))&&0===(r=e(n.getMonth()-t.getMonth()))&&(r=e(n.getDate()-t.getDate())),r}function u(n){switch(n.getDay()){case 0:return new Date(n.getFullYear()-1,11,29);case 1:return n;case 2:return new Date(n.getFullYear(),0,3);case 3:return new Date(n.getFullYear(),0,2);case 4:return new Date(n.getFullYear(),0,1);case 5:return new Date(n.getFullYear()-1,11,31);case 6:return new Date(n.getFullYear()-1,11,30)}}function c(n){var t=n.ra;for(n=new Date(new Date(n.sa+1900,0,1).getTime());0<t;){var e=n.getMonth(),r=(pt(n.getFullYear())?vt:dt)[e];if(!(t>r-n.getDate())){n.setDate(n.getDate()+t);break}t-=r-n.getDate()+1,n.setDate(1),11>e?n.setMonth(e+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return e=new Date(n.getFullYear()+1,0,4),t=u(new Date(n.getFullYear(),0,4)),e=u(e),0>=o(t,n)?0>=o(e,n)?n.getFullYear()+1:n.getFullYear():n.getFullYear()-1}var f=m[r+40>>2];for(var s in r={jb:m[r>>2],ib:m[r+4>>2],za:m[r+8>>2],Ea:m[r+12>>2],Aa:m[r+16>>2],sa:m[r+20>>2],na:m[r+24>>2],ra:m[r+28>>2],mb:m[r+32>>2],hb:m[r+36>>2],kb:f&&f?k(d,f):""},e=e?k(d,e):"",f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})e=e.replace(new RegExp(s,"g"),f[s]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(s in f={"%a":function(n){return l[n.na].substring(0,3)},"%A":function(n){return l[n.na]},"%b":function(n){return h[n.Aa].substring(0,3)},"%B":function(n){return h[n.Aa]},"%C":function(n){return i((n.sa+1900)/100|0,2)},"%d":function(n){return i(n.Ea,2)},"%e":function(n){return a(n.Ea,2," ")},"%g":function(n){return c(n).toString().substring(2)},"%G":function(n){return c(n)},"%H":function(n){return i(n.za,2)},"%I":function(n){return 0==(n=n.za)?n=12:12<n&&(n-=12),i(n,2)},"%j":function(n){for(var t=0,e=0;e<=n.Aa-1;t+=(pt(n.sa+1900)?vt:dt)[e++]);return i(n.Ea+t,3)},"%m":function(n){return i(n.Aa+1,2)},"%M":function(n){return i(n.ib,2)},"%n":function(){return"\n"},"%p":function(n){return 0<=n.za&&12>n.za?"AM":"PM"},"%S":function(n){return i(n.jb,2)},"%t":function(){return"\t"},"%u":function(n){return n.na||7},"%U":function(n){return i(Math.floor((n.ra+7-n.na)/7),2)},"%V":function(n){var t=Math.floor((n.ra+7-(n.na+6)%7)/7);if(2>=(n.na+371-n.ra-2)%7&&t++,t)53==t&&(4==(e=(n.na+371-n.ra)%7)||3==e&&pt(n.sa)||(t=1));else{t=52;var e=(n.na+7-n.ra-1)%7;(4==e||5==e&&pt(n.sa%400-1))&&t++}return i(t,2)},"%w":function(n){return n.na},"%W":function(n){return i(Math.floor((n.ra+7-(n.na+6)%7)/7),2)},"%y":function(n){return(n.sa+1900).toString().substring(2)},"%Y":function(n){return n.sa+1900},"%z":function(n){var t=0<=(n=n.hb);return n=Math.abs(n)/60,(t?"+":"-")+String("0000"+(n/60*100+n%60)).slice(-4)},"%Z":function(n){return n.kb},"%%":function(){return"%"}},e=e.replace(/%%/g,"\0\0"),f)e.includes(s)&&(e=e.replace(new RegExp(s,"g"),f[s](r)));return(s=function(n){var t=Array(W(n)+1);return $(n,t,0,t.length),t}(e=e.replace(/\0\0/g,"%"))).length>t?0:(v.set(s,n),s.length-1)}(n,t,e,r)}};!function(){function n(n){t.asm=n.exports,h=t.asm.Y,E(),O=t.asm.ca,F.unshift(t.asm.Z),R--,t.monitorRunDependencies&&t.monitorRunDependencies(R),0==R&&U&&(n=U,U=null,n())}function e(t){n(t.instance)}function a(n){return(f||"function"!=typeof fetch?Promise.resolve().then((function(){return Y()})):fetch(M,{credentials:"same-origin"}).then((function(n){if(!n.ok)throw"failed to load wasm binary file at '"+M+"'";return n.arrayBuffer()})).catch((function(){return Y()}))).then((function(n){return WebAssembly.instantiate(n,i)})).then((function(n){return n})).then(n,(function(n){l("failed to asynchronously prepare wasm: "+n),I(n)}))}var i={a:mt};if(R++,t.monitorRunDependencies&&t.monitorRunDependencies(R),t.instantiateWasm)try{return t.instantiateWasm(i,n)}catch(n){l("Module.instantiateWasm callback failed with error: "+n),r(n)}(f||"function"!=typeof WebAssembly.instantiateStreaming||x()||"function"!=typeof fetch?a(e):fetch(M,{credentials:"same-origin"}).then((function(n){return WebAssembly.instantiateStreaming(n,i).then(e,(function(n){return l("wasm streaming compile failed: "+n),l("falling back to ArrayBuffer instantiation"),a(e)}))}))).catch(r)}(),t.___wasm_call_ctors=function(){return(t.___wasm_call_ctors=t.asm.Z).apply(null,arguments)};var bt,wt=t._malloc=function(){return(wt=t._malloc=t.asm._).apply(null,arguments)},At=t._free=function(){return(At=t._free=t.asm.$).apply(null,arguments)},Tt=t.___getTypeName=function(){return(Tt=t.___getTypeName=t.asm.aa).apply(null,arguments)};function Ct(){function n(){if(!bt&&(bt=!0,t.calledRun=!0,!P)){if(V(F),e(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;){var n=t.postRun.shift();S.unshift(n)}V(S)}}if(!(0<R)){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)D();V(j),0<R||(t.setStatus?(t.setStatus("Running..."),setTimeout((function(){setTimeout((function(){t.setStatus("")}),1),n()}),1)):n())}}if(t.__embind_initialize_bindings=function(){return(t.__embind_initialize_bindings=t.asm.ba).apply(null,arguments)},t.___cxa_is_pointer_type=function(){return(t.___cxa_is_pointer_type=t.asm.da).apply(null,arguments)},U=function n(){bt||Ct(),bt||(U=n)},t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();return Ct(),n.ready},r.exports=i;var c=u.exports;const f=function(n,t){for(var e=0;e<t.length;e++){const r=t[e];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in n)){const e=Object.getOwnPropertyDescriptor(r,t);e&&Object.defineProperty(n,t,e.get?e:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:(0,o.g)(c)},[c])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[574,3172,9880],{22303:(e,t,r)=>{r.d(t,{Z:()=>d});var o,n,i=r(35270),s=r(22021),a=r(75215);function l(e){return(0,s.uZ)((0,a.vU)(e),0,255)}function u(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}class c{static blendColors(e,t,r,o=new c){return o.r=Math.round(e.r+(t.r-e.r)*r),o.g=Math.round(e.g+(t.g-e.g)*r),o.b=Math.round(e.b+(t.b-e.b)*r),o.a=e.a+(t.a-e.a)*r,o._sanitize()}static fromRgb(e,t){const r=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const e=r[2].split(/\s*,\s*/),o=r[1];if("rgb"===o&&3===e.length||"rgba"===o&&4===e.length){const r=e[0];if("%"===r.charAt(r.length-1)){const r=e.map((e=>2.56*parseFloat(e)));return 4===e.length&&(r[3]=parseFloat(e[3])),c.fromArray(r,t)}return c.fromArray(e.map((e=>parseFloat(e))),t)}if("hsl"===o&&3===e.length||"hsla"===o&&4===e.length)return c.fromArray((0,i.B7)(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])),t)}return null}static fromHex(e,t=new c){if(4!==e.length&&7!==e.length||"#"!==e[0])return null;const r=4===e.length?4:8,o=(1<<r)-1;let n=Number("0x"+e.substr(1));return isNaN(n)?null:(["b","g","r"].forEach((e=>{const i=n&o;n>>=r,t[e]=4===r?17*i:i})),t.a=1,t)}static fromArray(e,t=new c){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.St)(e)?(0,i.h$)(e):null;return r&&c.fromArray(r,t)||c.fromRgb(e,t)||c.fromHex(e,t)}static fromJSON(e){return e&&new c([e[0],e[1],e[2],e[3]/255])}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return null!=e?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?c.fromString(e,this):Array.isArray(e)?c.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof c||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(){const e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return`#${e.length<2?"0"+e:e}${t.length<2?"0"+t:t}${r.length<2?"0"+r:r}`}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=c.AlphaMode.ALWAYS){const t=l(this.r),r=l(this.g),o=l(this.b);return e===c.AlphaMode.ALWAYS||1!==this.a?[t,r,o,l(255*this.a)]:[t,r,o]}clone(){return new c(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=Math.round(u(this.r,0,255)),this.g=Math.round(u(this.g,0,255)),this.b=Math.round(u(this.b,0,255)),this.a=u(this.a,0,1),this}_set(e,t,r,o){this.r=e,this.g=t,this.b=r,this.a=o}}c.prototype.declaredClass="esri.Color",o=c||(c={}),(n=o.AlphaMode||(o.AlphaMode={}))[n.ALWAYS=0]="ALWAYS",n[n.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const d=c},99880:(e,t,r)=>{r.d(t,{V:()=>l});var o=r(68773),n=(r(3172),r(20102)),i=r(92604),s=r(81271);const a=i.Z.getLogger("esri.assets");function l(e){if(!o.default.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.Z("assets:path-not-set","config.assetsPath is not set");return(0,s.v_)(o.default.assetsPath,e)}},46521:(e,t,r)=>{function o(){return[1,0,0,0,1,0,0,0,1]}function n(e,t,r,o,n,i,s,a,l){return[e,t,r,o,n,i,s,a,l]}function i(e,t){return new Float64Array(e,t,9)}r.d(t,{a:()=>i,c:()=>o,f:()=>n}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]},create:o,createView:i,fromValues:n},Symbol.toStringTag,{value:"Module"}))},51305:(e,t,r)=>{r.d(t,{c:()=>p,g:()=>c,j:()=>E,k:()=>b,m:()=>d,s:()=>u});var o=r(46521),n=r(94961),i=r(65617),s=r(46851),a=r(17896),l=r(98766);function u(e,t,r){r*=.5;const o=Math.sin(r);return e[0]=o*t[0],e[1]=o*t[1],e[2]=o*t[2],e[3]=Math.cos(r),e}function c(e,t){const r=2*Math.acos(t[3]),o=Math.sin(r/2);return o>(0,s.g)()?(e[0]=t[0]/o,e[1]=t[1]/o,e[2]=t[2]/o):(e[0]=1,e[1]=0,e[2]=0),r}function d(e,t,r){const o=t[0],n=t[1],i=t[2],s=t[3],a=r[0],l=r[1],u=r[2],c=r[3];return e[0]=o*c+s*a+n*u-i*l,e[1]=n*c+s*l+i*a-o*u,e[2]=i*c+s*u+o*l-n*a,e[3]=s*c-o*a-n*l-i*u,e}function f(e,t,r,o){const n=t[0],i=t[1],a=t[2],l=t[3];let u,c,d,f,p,h=r[0],b=r[1],y=r[2],g=r[3];return c=n*h+i*b+a*y+l*g,c<0&&(c=-c,h=-h,b=-b,y=-y,g=-g),1-c>(0,s.g)()?(u=Math.acos(c),d=Math.sin(u),f=Math.sin((1-o)*u)/d,p=Math.sin(o*u)/d):(f=1-o,p=o),e[0]=f*n+p*h,e[1]=f*i+p*b,e[2]=f*a+p*y,e[3]=f*l+p*g,e}function p(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e}function h(e,t){const r=t[0]+t[4]+t[8];let o;if(r>0)o=Math.sqrt(r+1),e[3]=.5*o,o=.5/o,e[0]=(t[5]-t[7])*o,e[1]=(t[6]-t[2])*o,e[2]=(t[1]-t[3])*o;else{let r=0;t[4]>t[0]&&(r=1),t[8]>t[3*r+r]&&(r=2);const n=(r+1)%3,i=(r+2)%3;o=Math.sqrt(t[3*r+r]-t[3*n+n]-t[3*i+i]+1),e[r]=.5*o,o=.5/o,e[3]=(t[3*n+i]-t[3*i+n])*o,e[n]=(t[3*n+r]+t[3*r+n])*o,e[i]=(t[3*i+r]+t[3*r+i])*o}return e}function b(e,t,r,o){const n=.5*Math.PI/180;t*=n,r*=n,o*=n;const i=Math.sin(t),s=Math.cos(t),a=Math.sin(r),l=Math.cos(r),u=Math.sin(o),c=Math.cos(o);return e[0]=i*l*c-s*a*u,e[1]=s*a*c+i*l*u,e[2]=s*l*u-i*a*c,e[3]=s*l*c+i*a*u,e}const y=l.c,g=l.s,m=l.a,w=d,C=l.b,v=l.d,T=l.l,O=l.e,A=O,S=l.f,I=S,M=l.n,E=l.g,U=l.h,L=(0,i.c)(),k=(0,i.f)(1,0,0),N=(0,i.f)(0,1,0),_=(0,n.a)(),R=(0,n.a)(),q=(0,o.c)();Object.freeze(Object.defineProperty({__proto__:null,add:m,calculateW:function(e,t){const r=t[0],o=t[1],n=t[2];return e[0]=r,e[1]=o,e[2]=n,e[3]=Math.sqrt(Math.abs(1-r*r-o*o-n*n)),e},conjugate:p,copy:y,dot:v,equals:U,exactEquals:E,fromEuler:b,fromMat3:h,getAxisAngle:c,identity:function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},invert:function(e,t){const r=t[0],o=t[1],n=t[2],i=t[3],s=r*r+o*o+n*n+i*i,a=s?1/s:0;return e[0]=-r*a,e[1]=-o*a,e[2]=-n*a,e[3]=i*a,e},len:A,length:O,lerp:T,mul:w,multiply:d,normalize:M,random:function(e){const t=s.R,r=t(),o=t(),n=t(),i=Math.sqrt(1-r),a=Math.sqrt(r);return e[0]=i*Math.sin(2*Math.PI*o),e[1]=i*Math.cos(2*Math.PI*o),e[2]=a*Math.sin(2*Math.PI*n),e[3]=a*Math.cos(2*Math.PI*n),e},rotateX:function(e,t,r){r*=.5;const o=t[0],n=t[1],i=t[2],s=t[3],a=Math.sin(r),l=Math.cos(r);return e[0]=o*l+s*a,e[1]=n*l+i*a,e[2]=i*l-n*a,e[3]=s*l-o*a,e},rotateY:function(e,t,r){r*=.5;const o=t[0],n=t[1],i=t[2],s=t[3],a=Math.sin(r),l=Math.cos(r);return e[0]=o*l-i*a,e[1]=n*l+s*a,e[2]=i*l+o*a,e[3]=s*l-n*a,e},rotateZ:function(e,t,r){r*=.5;const o=t[0],n=t[1],i=t[2],s=t[3],a=Math.sin(r),l=Math.cos(r);return e[0]=o*l+n*a,e[1]=n*l-o*a,e[2]=i*l+s*a,e[3]=s*l-i*a,e},rotationTo:function(e,t,r){const o=(0,a.e)(t,r);return o<-.999999?((0,a.f)(L,k,t),(0,a.u)(L)<1e-6&&(0,a.f)(L,N,t),(0,a.n)(L,L),u(e,L,Math.PI),e):o>.999999?(e[0]=0,e[1]=0,e[2]=0,e[3]=1,e):((0,a.f)(L,t,r),e[0]=L[0],e[1]=L[1],e[2]=L[2],e[3]=1+o,M(e,e))},scale:C,set:g,setAxes:function(e,t,r,o){const n=q;return n[0]=r[0],n[3]=r[1],n[6]=r[2],n[1]=o[0],n[4]=o[1],n[7]=o[2],n[2]=-t[0],n[5]=-t[1],n[8]=-t[2],M(e,h(e,n))},setAxisAngle:u,slerp:f,sqlerp:function(e,t,r,o,n,i){return f(_,t,n,i),f(R,r,o,i),f(e,_,R,2*i*(1-i)),e},sqrLen:I,squaredLength:S,str:function(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}},Symbol.toStringTag,{value:"Module"}))},37140:(e,t,r)=>{function o(){const e=new Float32Array(4);return e[3]=1,e}function n(e){const t=new Float32Array(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}r.d(t,{b:()=>n,c:()=>o}),Object.freeze(Object.defineProperty({__proto__:null,clone:n,create:o,createView:function(e,t){return new Float32Array(e,t,4)},fromValues:function(e,t,r,o){const n=new Float32Array(4);return n[0]=e,n[1]=t,n[2]=r,n[3]=o,n}},Symbol.toStringTag,{value:"Module"}))},94961:(e,t,r)=>{function o(){return[0,0,0,1]}function n(e){return[e[0],e[1],e[2],e[3]]}function i(e,t){return new Float64Array(e,t,4)}r.d(t,{I:()=>s,a:()=>o,b:()=>n,c:()=>i});const s=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:n,create:o,createView:i,fromValues:function(e,t,r,o){return[e,t,r,o]}},Symbol.toStringTag,{value:"Module"}))},72119:(e,t,r)=>{function o(){return new Float32Array(3)}function n(e){const t=new Float32Array(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(e,t,r){const o=new Float32Array(3);return o[0]=e,o[1]=t,o[2]=r,o}function s(){return o()}function a(){return i(1,1,1)}function l(){return i(1,0,0)}function u(){return i(0,1,0)}function c(){return i(0,0,1)}r.d(t,{b:()=>n,c:()=>o,f:()=>i});const d=s(),f=a(),p=l(),h=u(),b=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:p,UNIT_Y:h,UNIT_Z:b,ZEROS:d,clone:n,create:o,createView:function(e,t){return new Float32Array(e,t,3)},fromValues:i,ones:a,unitX:l,unitY:u,unitZ:c,zeros:s},Symbol.toStringTag,{value:"Module"}))},35270:(e,t,r)=>{r.d(t,{B7:()=>l,St:()=>n,VL:()=>s,h$:()=>i,rW:()=>u});const o={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!o[e]||!!o[e.toLowerCase()]}function i(e){return o[e]??o[e.toLowerCase()]}function s(e){return[...i(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const o=6*r;return o<1?e+(t-e)*o:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,o=1){const n=(e%360+360)%360/360,i=r<=.5?r*(t+1):r+t-r*t,s=2*r-i;return[Math.round(255*a(s,i,n+1/3)),Math.round(255*a(s,i,n)),Math.round(255*a(s,i,n-1/3)),o]}function u(e){const t=e.length>5,r=t?8:4,o=(1<<r)-1,n=t?1:17,i=t?9===e.length:5===e.length;let s=Number("0x"+e.substr(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return i&&(l=s&o,s>>=r,a[3]=n*l/255),l=s&o,s>>=r,a[2]=n*l,l=s&o,s>>=r,a[1]=n*l,l=s&o,s>>=r,a[0]=n*l,a}},10661:(e,t,r)=>{r.d(t,{s:()=>n});var o=r(42100);class n extends o.s{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},23030:(e,t,r)=>{r.d(t,{Z:()=>m});var o,n=r(43697),i=r(22974),s=r(5600),a=r(75215),l=r(36030),u=r(52011),c=r(25848),d=r(66338),f=r(22303),p=r(96674);let h=o=class extends p.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new o({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:(0,i.d9)(this.color)})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],h.prototype,"description",void 0),(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],h.prototype,"minValue",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],h.prototype,"maxValue",void 0),(0,n._)([(0,s.Cb)({type:f.Z,json:{type:[a.z8],write:!0}})],h.prototype,"color",void 0),h=o=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],h);const b=h;var y;let g=y=class extends c.Z{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new y({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:(0,i.d9)(this.colorClassBreakInfos),legendOptions:(0,i.d9)(this.legendOptions)})}};(0,n._)([(0,l.J)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],g.prototype,"type",void 0),(0,n._)([(0,s.Cb)({json:{write:!0},type:String})],g.prototype,"field",void 0),(0,n._)([(0,s.Cb)({type:d.I,json:{write:!0}})],g.prototype,"legendOptions",void 0),(0,n._)([(0,s.Cb)({type:c.Z.fieldTransformTypeKebabDict.apiValues,json:{type:c.Z.fieldTransformTypeKebabDict.jsonValues,read:c.Z.fieldTransformTypeKebabDict.read,write:c.Z.fieldTransformTypeKebabDict.write}})],g.prototype,"fieldTransformType",void 0),(0,n._)([(0,s.Cb)({type:[b],json:{write:!0}})],g.prototype,"colorClassBreakInfos",void 0),g=y=(0,n._)([(0,u.j)("esri.renderers.PointCloudClassBreaksRenderer")],g);const m=g},25848:(e,t,r)=>{r.d(t,{Z:()=>A});var o,n=r(43697),i=r(35454),s=r(96674),a=r(22974),l=r(5600),u=(r(75215),r(52011));r(67676),r(80442);let c=o=class extends s.wq{constructor(){super(...arguments),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new o({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};(0,n._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,n._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],c.prototype,"minValue",void 0),(0,n._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],c.prototype,"maxValue",void 0),c=o=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.ColorModulation")],c);const d=c,f=new i.X({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let p=class extends s.wq{};(0,n._)([(0,l.Cb)({type:f.apiValues,readOnly:!0,nonNullable:!0,json:{type:f.jsonValues,read:!1,write:f.write}})],p.prototype,"type",void 0),p=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],p);const h=p;var b,y=r(36030);let g=b=class extends h{constructor(){super(...arguments),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new b({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};(0,n._)([(0,y.J)({pointCloudFixedSizeAlgorithm:"fixed-size"})],g.prototype,"type",void 0),(0,n._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],g.prototype,"size",void 0),(0,n._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],g.prototype,"useRealWorldSymbolSizes",void 0),g=b=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],g);const m=g;var w;let C=w=class extends h{constructor(){super(...arguments),this.type="splat",this.scaleFactor=1}clone(){return new w({scaleFactor:this.scaleFactor})}};(0,n._)([(0,y.J)({pointCloudSplatAlgorithm:"splat"})],C.prototype,"type",void 0),(0,n._)([(0,l.Cb)({type:Number,value:1,nonNullable:!0,json:{write:!0}})],C.prototype,"scaleFactor",void 0),C=w=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],C);const v={key:"type",base:h,typeMap:{"fixed-size":m,splat:C}},T=(0,i.w)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let O=class extends s.wq{constructor(e){super(e),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:(0,a.d9)(this.pointSizeAlgorithm),colorModulation:(0,a.d9)(this.colorModulation),pointsPerInch:(0,a.d9)(this.pointsPerInch)}}};(0,n._)([(0,l.Cb)({type:T.apiValues,readOnly:!0,nonNullable:!0,json:{type:T.jsonValues,read:!1,write:T.write}})],O.prototype,"type",void 0),(0,n._)([(0,l.Cb)({types:v,json:{write:!0}})],O.prototype,"pointSizeAlgorithm",void 0),(0,n._)([(0,l.Cb)({type:d,json:{write:!0}})],O.prototype,"colorModulation",void 0),(0,n._)([(0,l.Cb)({json:{write:!0},nonNullable:!0,type:Number})],O.prototype,"pointsPerInch",void 0),O=(0,n._)([(0,u.j)("esri.renderers.PointCloudRenderer")],O),(O||(O={})).fieldTransformTypeKebabDict=new i.X({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"});const A=O},14008:(e,t,r)=>{r.d(t,{Z:()=>p});var o,n=r(43697),i=r(22974),s=r(5600),a=(r(75215),r(36030)),l=r(52011),u=r(25848),c=r(66338),d=r(21849);let f=o=class extends u.Z{constructor(e){super(e),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new o({...this.cloneProperties(),field:(0,i.d9)(this.field),fieldTransformType:(0,i.d9)(this.fieldTransformType),stops:(0,i.d9)(this.stops),legendOptions:(0,i.d9)(this.legendOptions)})}};(0,n._)([(0,a.J)({pointCloudStretchRenderer:"point-cloud-stretch"})],f.prototype,"type",void 0),(0,n._)([(0,s.Cb)({json:{write:!0},type:String})],f.prototype,"field",void 0),(0,n._)([(0,s.Cb)({type:c.I,json:{write:!0}})],f.prototype,"legendOptions",void 0),(0,n._)([(0,s.Cb)({type:u.Z.fieldTransformTypeKebabDict.apiValues,json:{type:u.Z.fieldTransformTypeKebabDict.jsonValues,read:u.Z.fieldTransformTypeKebabDict.read,write:u.Z.fieldTransformTypeKebabDict.write}})],f.prototype,"fieldTransformType",void 0),(0,n._)([(0,s.Cb)({type:[d.Z],json:{write:!0}})],f.prototype,"stops",void 0),f=o=(0,n._)([(0,l.j)("esri.renderers.PointCloudStretchRenderer")],f);const p=f},46329:(e,t,r)=>{r.d(t,{Z:()=>m});var o,n=r(43697),i=r(22974),s=r(5600),a=r(75215),l=r(36030),u=r(52011),c=r(25848),d=r(66338),f=r(22303),p=r(96674);let h=o=class extends p.wq{constructor(){super(...arguments),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new o({description:this.description,label:this.label,values:(0,i.d9)(this.values),color:(0,i.d9)(this.color)})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],h.prototype,"description",void 0),(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,n._)([(0,s.Cb)({type:[String],json:{write:!0}})],h.prototype,"values",void 0),(0,n._)([(0,s.Cb)({type:f.Z,json:{type:[a.z8],write:!0}})],h.prototype,"color",void 0),h=o=(0,n._)([(0,u.j)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],h);const b=h;var y;let g=y=class extends c.Z{constructor(e){super(e),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new y({...this.cloneProperties(),field:(0,i.d9)(this.field),fieldTransformType:(0,i.d9)(this.fieldTransformType),colorUniqueValueInfos:(0,i.d9)(this.colorUniqueValueInfos),legendOptions:(0,i.d9)(this.legendOptions)})}};(0,n._)([(0,l.J)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],g.prototype,"type",void 0),(0,n._)([(0,s.Cb)({json:{write:!0},type:String})],g.prototype,"field",void 0),(0,n._)([(0,s.Cb)({type:c.Z.fieldTransformTypeKebabDict.apiValues,json:{type:c.Z.fieldTransformTypeKebabDict.jsonValues,read:c.Z.fieldTransformTypeKebabDict.read,write:c.Z.fieldTransformTypeKebabDict.write}})],g.prototype,"fieldTransformType",void 0),(0,n._)([(0,s.Cb)({type:[b],json:{write:!0}})],g.prototype,"colorUniqueValueInfos",void 0),(0,n._)([(0,s.Cb)({type:d.I,json:{write:!0}})],g.prototype,"legendOptions",void 0),g=y=(0,n._)([(0,u.j)("esri.renderers.PointCloudUniqueValueRenderer")],g);const m=g},66338:(e,t,r)=>{r.d(t,{I:()=>l});var o,n=r(43697),i=r(96674),s=r(5600),a=(r(75215),r(67676),r(80442),r(52011));let l=o=class extends i.wq{constructor(){super(...arguments),this.title=null}clone(){return new o({title:this.title})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],l.prototype,"title",void 0),l=o=(0,n._)([(0,a.j)("esri.renderers.support.LegendOptions")],l)},21849:(e,t,r)=>{r.d(t,{Z:()=>f});var o,n=r(43697),i=r(22303),s=r(96674),a=r(5600),l=r(75215),u=(r(67676),r(80442),r(52011)),c=r(30556);let d=o=class extends s.wq{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,r){t[r]=e??0}clone(){return new o({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,n._)([(0,a.Cb)({type:i.Z,json:{type:[l.z8],write:!0}})],d.prototype,"color",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,n._)([(0,a.Cb)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],d.prototype,"value",void 0),(0,n._)([(0,c.c)("value")],d.prototype,"writeValue",null),d=o=(0,n._)([(0,u.j)("esri.renderers.visualVariables.support.ColorStop")],d);const f=d},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var o=r(68773),n=r(40330),i=r(20102),s=r(80442),a=r(22974),l=r(95330),u=r(81271),c=r(19745),d=r(71058),f=r(85958);async function p(e,t){e instanceof URL&&(e=e.toString()),t?.query instanceof URLSearchParams&&(t.query=(0,u.u0)(t.query.toString().replaceAll("+"," ")));const a=(0,u.HK)(e),c=(0,u.jc)(e);c||a||(e=(0,u.Fv)(e));const g={url:e,requestOptions:{...t}};let m=(0,u.oh)(e);if(m){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,o;try{o=await e.before(t)}catch(e){r=O("request:interceptor",e,t)}if((o instanceof Error||o instanceof i.Z)&&(r=O("request:interceptor",o,t)),r)throw e.error&&e.error(r),r;return o}}(m,g);if(null!=e)return{data:e,getHeader:C,httpStatus:200,requestOptions:g.requestOptions,url:g.url};m.after||m.error||(m=null)}if(e=g.url,"image"===(t=g.requestOptions).responseType&&((0,s.Z)("host-webworker")||(0,s.Z)("host-node")))throw O("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),g);if("head"===t.method){if(t.body)throw O("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),g);if(a||c)throw O("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),g)}if(await async function(){(0,s.Z)("host-webworker")?h||(h=await r.e(9884).then(r.bind(r,29884))):p._abortableFetch||(p._abortableFetch=globalThis.fetch.bind(globalThis))}(),h)return h.execute(e,t);const w=new AbortController;(0,l.fu)(t,(()=>w.abort()));const v={controller:w,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:m,params:g,redoRequest:!1,useIdentity:b.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},T=await async function(e){let t,r;await async function(e){const t=e.params.url,r=e.params.requestOptions,i=e.controller.signal,s=r.body;let a=null,u=null;if(y&&"HTMLFormElement"in globalThis&&(s instanceof FormData?a=s:s instanceof HTMLFormElement&&(a=new FormData(s))),"string"==typeof s&&(u=s),e.fetchOptions={cache:r.cacheBust&&!("polyfill"in p._abortableFetch)?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",priority:b.priority,redirect:"follow",signal:i},(a||u)&&(e.fetchOptions.body=a||u),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query?.token||a?.get("token")),!e.hasToken&&o.default.apiKey&&(0,d.r)(t)&&(r.query||(r.query={}),r.query.token=o.default.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!S(t)&&!(0,l.Hc)(i)){let o;"immediate"===r.authMode?(await A(),o=await n.id.getCredential(t,{signal:i}),e.credential=o):"no-prompt"===r.authMode?(await A(),o=await n.id.getCredential(t,{prompt:!1,signal:i}).catch((()=>{})),e.credential=o):n.id&&(o=n.id.findCredential(t)),o&&(e.credentialToken=o.token,e.useSSL=!!o.ssl)}}(e);try{do{[t,r]=await I(e)}while(!await E(e,t,r))}catch(r){const o=O("request:server",r,e.params,t);throw o.details.ssl=e.useSSL,e.interceptor?.error&&e.interceptor.error(o),o}const i=e.params.url;if(r&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(i)){if(!e.hasToken&&!e.credentialToken&&r.user?.username&&!(0,u.kl)(i)){const e=(0,u.P$)(i,!0);e&&b.trustedServers.push(e)}Array.isArray(r.authorizedCrossOriginNoCorsDomains)&&(0,f.Hu)(r.authorizedCrossOriginNoCorsDomains)}const s=e.credential;if(s&&n.id){const e=n.id.findServerInfo(s.server);let t=e?.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=n.id.findCredential(t,s.userId);e&&-1===n.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:r,getHeader:t?e=>t?.headers.get(e):C,httpStatus:t?.status??200,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(v);return m?.after?.(T),T}let h;const b=o.default.request,y="FormData"in globalThis,g=[499,498,403,401],m=["COM_0056","COM_0057","SB_0008"],w=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],C=()=>null,v=Symbol();function T(e){const t=(0,u.P$)(e);return!t||t.endsWith(".arcgis.com")||p._corsServers.includes(t)||(0,u.kl)(t)}function O(e,t,r,o){let n="Error";const s={url:r.url,requestOptions:r.requestOptions,getHeader:C,ssl:!1};if(t instanceof i.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=s,t;if(t){const e=o&&(e=>o.headers.get(e)),r=o?.status,i=t.message;i&&(n=i),e&&(s.getHeader=e),s.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,s.subCode=t.subcode,s.messageCode=t.messageCode,"string"==typeof t.details?s.messages=[t.details]:s.messages=t.details,s.raw=v in t?t[v]:t}return(0,l.D_)(t)?(0,l.zE)():new i.Z(e,n,s)}async function A(){n.id||await Promise.all([r.e(7126),r.e(6261),r.e(9255),r.e(1400),r.e(450)]).then(r.bind(r,73660))}function S(e){return w.some((t=>t.test(e)))}async function I(e){let t=e.params.url;const r=e.params.requestOptions,o=e.fetchOptions??{},i=(0,u.jc)(t)||(0,u.HK)(t),a=r.responseType||"json",d=i?0:null!=r.timeout?r.timeout:b.timeout;let h=!1;if(!i){e.useSSL&&(t=(0,u.hO)(t)),r.cacheBust&&"default"===o.cache&&(t=(0,u.ZN)(t,"request.preventCache",Date.now()));let i={...r.query};e.credentialToken&&(i.token=e.credentialToken);let a=(0,u.B7)(i);(0,s.Z)("esri-url-encodes-apostrophe")&&(a=a.replaceAll("'","%27"));const l=t.length+1+a.length;let d;h="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||l>b.maxUrlLength;const p=r.useProxy||!!(0,u.ed)(t);if(p){const e=(0,u.b7)(t);d=e.path,!h&&d.length+1+l>b.maxUrlLength&&(h=!0),e.query&&(i={...e.query,...i})}if("HEAD"===o.method&&(h||p)){if(h){if(l>b.maxUrlLength)throw O("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw O("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(p)throw O("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(h?(o.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,u.fl)(t,i):(o.body=(0,u.B7)(i),o.headers||(o.headers={}),o.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,u.fl)(t,i),p&&(e.useProxy=!0,t=`${d}?${t}`),i.token&&y&&o.body instanceof FormData&&!(0,c.P)(t)&&o.body.set("token",i.token),r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,u.D6)(t,(0,u.TI)()))if((0,u.kl)(t))e.withCredentials=!0;else if(n.id){const r=n.id.findServerInfo(t);r?.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(o.credentials="include",(0,f.jH)(t)&&await(0,f.jz)(h?(0,u.fl)(t,i):t))}let g,m,w=0,C=!1;d>0&&(w=setTimeout((()=>{C=!0,e.controller.abort()}),d));try{if("native-request-init"===r.responseType)m=o,m.url=t;else if("image"!==r.responseType||"default"!==o.cache||"GET"!==o.method||h||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!i&&!e.useProxy&&b.proxyUrl&&!T(t)){if(g=await p._abortableFetch(t,o),e.useProxy||function(e){const t=(0,u.P$)(e);t&&!p._corsServers.includes(t)&&p._corsServers.push(t)}(t),"native"===r.responseType)m=g;else if("HEAD"!==o.method)if(g.ok){switch(a){case"array-buffer":m=await g.arrayBuffer();break;case"blob":case"image":m=await g.blob();break;default:m=await g.text()}if(w&&(clearTimeout(w),w=0),"json"===a||"xml"===a||"document"===a)if(m)switch(a){case"json":m=JSON.parse(m);break;case"xml":m=M(m,"application/xml");break;case"document":m=M(m,"text/html")}else m=null;if(m){if("array-buffer"===a||"blob"===a){const e=g.headers.get("Content-Type");if(e&&/application\/json|text\/plain/i.test(e)&&m["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(m).json();e.error&&(m=e)}catch{}}"image"===a&&m instanceof Blob&&(m=await U(URL.createObjectURL(m),e,!0))}}else{m=await g.text();try{m=JSON.parse(m)}catch{}}}else m=await U(t,e)}catch(o){if("AbortError"===o.name){if(C)throw new Error("Timeout exceeded");throw(0,l.zE)("Request canceled")}if(!(!g&&o instanceof TypeError&&b.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||T(t))throw o;e.redoRequest=!0,(0,u.tD)({proxyUrl:b.proxyUrl,urlPrefix:(0,u.P$)(t)??""})}finally{w&&clearTimeout(w)}return[g,m]}function M(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function E(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const o=e.params.requestOptions;if(!t||"native"===o.responseType||"native-request-init"===o.responseType)return!0;let i,s;if(r&&(r.error?i=r.error:"error"===r.status&&Array.isArray(r.messages)&&(i={...r},i[v]=r,i.details=r.messages)),!i&&!t.ok)throw i=new Error(`Unable to load ${t.url} status: ${t.status}`),i[v]=r,i;let a,l=null;i&&(s=Number(i.code),l=i.hasOwnProperty("subcode")?Number(i.subcode):null,a=i.messageCode,a=a?.toUpperCase());const u=o.authMode;if(403===s&&(4===l||i.message?.toLowerCase().includes("ssl")&&!i.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===s)&&void 0!==s&&g.includes(s)&&!S(e.params.url)&&(403!==s||a&&!m.includes(a)&&(null==l||2===l&&e.credentialToken))){await A();try{const t=await n.id.getCredential(e.params.url,{error:O("request:server",i,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=void 0,e.credentialToken=void 0,!1;i=t}}if(i)throw i;return!0}function U(e,t,r=!1){const o=t.controller.signal,n=new Image;return t.withCredentials?n.crossOrigin="use-credentials":n.crossOrigin="anonymous",n.alt="",n.fetchPriority=b.priority,n.src=e,(0,f.fY)(n,e,r,o)}p._abortableFetch=null,p._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},71058:(e,t,r)=>{r.d(t,{r:()=>i});var o=r(81271);const n=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function i(e){const t=(0,o.P$)(e,!0);return!!t&&t.endsWith(".arcgis.com")&&!n.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{Hu:()=>u,fY:()=>a,jH:()=>c,jz:()=>d});var o=r(68773),n=r(80442),i=r(95330),s=r(81271);function a(e,t,r=!1,o){return new Promise(((s,a)=>{if((0,i.Hc)(o))return void a(l());let u=()=>{f(),a(new Error(`Unable to load ${t}`))},c=()=>{const t=e;f(),s(t)},d=()=>{if(!e)return;const t=e;f(),t.src="",a(l())};const f=()=>{(0,n.Z)("esri-image-decode")||(e.removeEventListener("error",u),e.removeEventListener("load",c)),u=null,c=null,e=null,null!=o&&o.removeEventListener("abort",d),d=null,r&&URL.revokeObjectURL(t)};null!=o&&o.addEventListener("abort",d),(0,n.Z)("esri-image-decode")?e.decode().then(c,u):(e.addEventListener("error",u),e.addEventListener("load",c))}))}function l(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}function u(e){o.default.request.crossOriginNoCorsDomains||(o.default.request.crossOriginNoCorsDomains={});const t=o.default.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[(0,s.P$)(r)??""]=0:(t[(0,s.P$)("http://"+r)??""]=0,t[(0,s.P$)("https://"+r)??""]=0)}function c(e){const t=o.default.request.crossOriginNoCorsDomains;if(t){let r=(0,s.P$)(e);if(r)return r=r.toLowerCase(),!(0,s.D6)(r,(0,s.TI)())&&t[r]<Date.now()-36e5}return!1}async function d(e){const t=o.default.request.crossOriginNoCorsDomains,r=(0,s.P$)(e);t&&r&&(t[r.toLowerCase()]=Date.now());const n=(0,s.mN)(e);e=n.path,"json"===n.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}}},90447:(e,t,r)=>{r.r(t),r.d(t,{default:()=>T});var o=r(67676),n=r(1533),i=r(51305),s=r(37140),a=r(17896),l=r(72119),u=r(44547),c=r(82971),d=(r(80442),r(23030)),f=r(14008),p=r(46329),h=r(91891),b=r(25683);function y(e,t,r){return null!=e&&e.attributeInfo.useElevation?t?function(e,t){const r=new Float64Array(t);for(let o=0;o<t;o++)r[o]=e[3*o+2];return r}(t,r):null:null!=e&&e.attributeInfo.storageInfo?(0,h.qM)(e.attributeInfo.storageInfo,e.buffer,r):null}function g(e,t,r,o,n){const i=e.length/3;let s=0;for(let a=0;a<i;a++){let i=!0;for(let e=0;e<o.length&&i;e++){const{filterJSON:t}=o[e],r=n[e].values[a];switch(t.type){case"pointCloudValueFilter":{const e="exclude"===t.mode;t.values.includes(r)===e&&(i=!1);break}case"pointCloudBitfieldFilter":{const e=w(t.requiredSetBits),o=w(t.requiredClearBits);(r&e)===e&&0==(r&o)||(i=!1);break}case"pointCloudReturnFilter":{const e=15&r,o=r>>>4&15,n=o>1,s=1===e,a=e===o;let l=!1;for(const e of t.includedReturns)if("last"===e&&a||"firstOfMany"===e&&s&&n||"lastOfMany"===e&&a&&n||"single"===e&&!n){l=!0;break}l||(i=!1);break}}}i&&(r[s]=a,e[3*s]=e[3*a],e[3*s+1]=e[3*a+1],e[3*s+2]=e[3*a+2],t[3*s]=t[3*a],t[3*s+1]=t[3*a+1],t[3*s+2]=t[3*a+2],s++)}return s}function m(e){switch(e){default:case null:case"none":return e=>e;case"low-four-bit":return e=>15&e;case"high-four-bit":return e=>(240&e)>>4;case"absolute-value":return e=>Math.abs(e);case"modulo-ten":return e=>e%10}}function w(e){let t=0;for(const r of e||[])t|=1<<r;return t}class C{transform(e){const t=this._transform(e),r=[t.points.buffer,t.rgb.buffer];null!=t.pointIdFilterMap&&r.push(t.pointIdFilterMap.buffer);for(const e of t.attributes)"buffer"in e.values&&(0,n.eP)(e.values.buffer)&&e.values.buffer!==t.rgb.buffer&&r.push(e.values.buffer);return Promise.resolve({result:t,transferList:r})}_transform(e){const t=function(e,t){if(null==e.encoding||""===e.encoding){const r=(0,h.W7)(t,e);if(null==r.vertexAttributes.position)return;const o=(0,h.I_)(t,r.vertexAttributes.position),n=r.header.fields,i=[n.offsetX,n.offsetY,n.offsetZ],s=[n.scaleX,n.scaleY,n.scaleZ],a=o.length/3,l=new Float64Array(3*a);for(let e=0;e<a;e++)l[3*e]=o[3*e]*s[0]+i[0],l[3*e+1]=o[3*e+1]*s[1]+i[1],l[3*e+2]=o[3*e+2]*s[2]+i[2];return l}if("lepcc-xyz"===e.encoding)return(0,b.Gi)(t).result}(e.schema,e.geometryBuffer);let r=t.length/3,n=null;const i=new Array,s=y(e.primaryAttributeData,t,r);null!=e.primaryAttributeData&&s&&i.push({attributeInfo:e.primaryAttributeData.attributeInfo,values:s});const a=y(e.modulationAttributeData,t,r);null!=e.modulationAttributeData&&a&&i.push({attributeInfo:e.modulationAttributeData.attributeInfo,values:a});let l=function(e,t,r,o){const{rendererJSON:n,isRGBRenderer:i}=e;let s=null,a=null;if(t&&i)s=t;else if(t&&"pointCloudUniqueValueRenderer"===n?.type){a=p.Z.fromJSON(n);const e=a.colorUniqueValueInfos;s=new Uint8Array(3*o);const r=m(a.fieldTransformType);for(let n=0;n<o;n++){const o=(r?r(t[n]):t[n])+"";for(let t=0;t<e.length;t++)if(e[t].values.includes(o)){s[3*n]=e[t].color.r,s[3*n+1]=e[t].color.g,s[3*n+2]=e[t].color.b;break}}}else if(t&&"pointCloudStretchRenderer"===n?.type){a=f.Z.fromJSON(n);const e=a.stops;s=new Uint8Array(3*o);const r=m(a.fieldTransformType);for(let n=0;n<o;n++){const o=r?r(t[n]):t[n],i=e.length-1;if(o<e[0].value)s[3*n]=e[0].color.r,s[3*n+1]=e[0].color.g,s[3*n+2]=e[0].color.b;else if(o>=e[i].value)s[3*n]=e[i].color.r,s[3*n+1]=e[i].color.g,s[3*n+2]=e[i].color.b;else for(let t=1;t<e.length;t++)if(o<e[t].value){const r=(o-e[t-1].value)/(e[t].value-e[t-1].value);s[3*n]=e[t].color.r*r+e[t-1].color.r*(1-r),s[3*n+1]=e[t].color.g*r+e[t-1].color.g*(1-r),s[3*n+2]=e[t].color.b*r+e[t-1].color.b*(1-r);break}}}else if(t&&"pointCloudClassBreaksRenderer"===n?.type){a=d.Z.fromJSON(n);const e=a.colorClassBreakInfos;s=new Uint8Array(3*o);const r=m(a.fieldTransformType);for(let n=0;n<o;n++){const o=r?r(t[n]):t[n];for(let t=0;t<e.length;t++)if(o>=e[t].minValue&&o<=e[t].maxValue){s[3*n]=e[t].color.r,s[3*n+1]=e[t].color.g,s[3*n+2]=e[t].color.b;break}}}else s=new Uint8Array(3*o).fill(255);if(r&&a&&a.colorModulation){const e=a.colorModulation.minValue,t=a.colorModulation.maxValue,n=.3;for(let i=0;i<o;i++){const o=r[i],a=o>=t?1:o<=e?n:n+(1-n)*(o-e)/(t-e);s[3*i]=a*s[3*i],s[3*i+1]=a*s[3*i+1],s[3*i+2]=a*s[3*i+2]}}return s}(e.rendererInfo,s,a,r);if(e.filterInfo&&e.filterInfo.length>0&&null!=e.filterAttributesData){const s=e.filterAttributesData.filter(o.pC).map((e=>{const o=y(e,t,r),n={attributeInfo:e.attributeInfo,values:o};return i.push(n),n}));n=new Uint32Array(r),r=g(t,l,n,e.filterInfo,s)}for(const o of e.userAttributesData){const e=y(o,t,r);i.push({attributeInfo:o.attributeInfo,values:e})}3*r<l.length&&(l=new Uint8Array(l.buffer.slice(0,3*r))),this._applyElevationOffsetInPlace(t,r,e.elevationOffset);const u=this._transformCoordinates(t,r,e.obb,c.Z.fromJSON(e.inSR),c.Z.fromJSON(e.outSR));return{obb:e.obb,points:u,rgb:l,attributes:i,pointIdFilterMap:n}}_transformCoordinates(e,t,r,o,n){if(!(0,u.CM)(e,o,0,e,n,0,t))throw new Error("Can't reproject");const s=(0,l.f)(r.center[0],r.center[1],r.center[2]),c=(0,l.c)(),d=(0,l.c)();(0,i.c)(v,r.quaternion);const f=new Float32Array(3*t);for(let o=0;o<t;o++)c[0]=e[3*o]-s[0],c[1]=e[3*o+1]-s[1],c[2]=e[3*o+2]-s[2],(0,a.q)(d,c,v),r.halfSize[0]=Math.max(r.halfSize[0],Math.abs(d[0])),r.halfSize[1]=Math.max(r.halfSize[1],Math.abs(d[1])),r.halfSize[2]=Math.max(r.halfSize[2],Math.abs(d[2])),f[3*o]=c[0],f[3*o+1]=c[1],f[3*o+2]=c[2];return f}_applyElevationOffsetInPlace(e,t,r){if(0!==r)for(let o=0;o<t;o++)e[3*o+2]+=r}}const v=(0,s.c)();function T(){return new C}},91891:(e,t,r)=>{r.d(t,{I_:()=>f,W7:()=>b,qM:()=>g});var o=r(20102),n=r(22974),i=r(92604),s=r(25683),a=r(35065);const l=i.Z.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function u(e,t,r){let n="",i=0;for(;i<r;){const s=e[t+i];if(s<128)n+=String.fromCharCode(s),i++;else if(s>=192&&s<224){if(i+1>=r)throw new o.Z("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const a=(31&s)<<6|63&e[t+i+1];n+=String.fromCharCode(a),i+=2}else if(s>=224&&s<240){if(i+2>=r)throw new o.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(15&s)<<12|(63&e[t+i+1])<<6|63&e[t+i+2];n+=String.fromCharCode(a),i+=3}else{if(!(s>=240&&s<248))throw new o.Z("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=r)throw new o.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(7&s)<<18|(63&e[t+i+1])<<12|(63&e[t+i+2])<<6|63&e[t+i+3];if(a>=65536){const e=55296+(a-65536>>10),t=56320+(1023&a);n+=String.fromCharCode(e,t)}else n+=String.fromCharCode(a);i+=4}}}return n}function c(e,t){const r={byteOffset:0,byteCount:0,fields:Object.create(null)};let o=0;for(let n=0;n<t.length;n++){const i=t[n],s=i.valueType||i.type,a=w[s];r.fields[i.property]=a(e,o),o+=m[s].BYTES_PER_ELEMENT}return r.byteCount=o,r}function d(e,t,r){const n=[];let i,s,a=0;for(s=0;s<e;s+=1){if(i=t[s],i>0){if(n.push(u(r,a,i-1)),0!==r[a+i-1])throw new o.Z("string-array-error","Invalid string array: missing null termination.")}else n.push(null);a+=i}return n}function f(e,t){return new(0,m[t.valueType])(e,t.byteOffset,t.count*t.valuesPerElement)}function p(e,t,r){const i=null!=t.header?c(e,t.header):{byteOffset:0,byteCount:0,fields:{count:r}},s={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let a=i.byteCount;for(let e=0;e<t.ordering.length;e++){const r=t.ordering[e],l=(0,n.d9)(t[r]);if(l.count=i.fields.count??0,"String"===l.valueType){if(l.byteOffset=a,l.byteCount=i.fields[r+"ByteCount"],"UTF-8"!==l.encoding)throw new o.Z("unsupported-encoding","Unsupported String encoding.",{encoding:l.encoding});if(l.timeEncoding&&"ECMA_ISO8601"!==l.timeEncoding)throw new o.Z("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:l.timeEncoding})}else{if(!C(l.valueType))throw new o.Z("unsupported-value-type","Unsupported binary valueType",{valueType:l.valueType});{const e=v(l.valueType);a+=a%e!=0?e-a%e:0,l.byteOffset=a,l.byteCount=e*l.valuesPerElement*l.count}}a+=l.byteCount??0,s.entries[r]=l}return s.byteCount=a-s.byteOffset,s}function h(e,t,r){if(t!==e&&l.error(`Invalid ${r} buffer size\n expected: ${e}, actual: ${t})`),t<e)throw new o.Z("buffer-too-small","Binary buffer is too small",{expectedSize:e,actualSize:t})}function b(e,t){const r=c(e,t&&t.header);let o=r.byteCount;const n={isDraco:!1,header:r,byteOffset:r.byteCount,byteCount:0,vertexAttributes:{}},i=r.fields,s=null!=i.vertexCount?i.vertexCount:i.count;for(const e of t.ordering){if(!t.vertexAttributes[e])continue;const r={...t.vertexAttributes[e],byteOffset:o,count:s},i=y[e]||"_"+e;n.vertexAttributes[i]=r,o+=v(r.valueType)*r.valuesPerElement*s}const a=i.faceCount;if(t.faces&&a){n.faces={};for(const e of t.ordering){if(!t.faces[e])continue;const r={...t.faces[e],byteOffset:o,count:a};n.faces[e]=r,o+=v(r.valueType)*r.valuesPerElement*a}}const l=i.featureCount;if(t.featureAttributes&&t.featureAttributeOrder&&l){n.featureAttributes={};for(const e of t.featureAttributeOrder){if(!t.featureAttributes[e])continue;const r={...t.featureAttributes[e],byteOffset:o,count:l};n.featureAttributes[e]=r,o+=("UInt64"===r.valueType?8:v(r.valueType))*r.valuesPerElement*l}}return h(o,e.byteLength,"geometry"),n.byteCount=o-n.byteOffset,n}const y={position:a.T.POSITION,normal:a.T.NORMAL,color:a.T.COLOR,uv0:a.T.UV0,region:a.T.UVREGION};function g(e,t,r){if("lepcc-rgb"===e.encoding)return(0,s.IT)(t);if("lepcc-intensity"===e.encoding)return(0,s.ti)(t);if(null!=e.encoding&&""!==e.encoding)throw new o.Z("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");e["attributeByteCounts "]&&!e.attributeByteCounts&&(l.warn("Warning: Trailing space in 'attributeByteCounts '."),e.attributeByteCounts=e["attributeByteCounts "]),"ObjectIds"===e.ordering[0]&&e.hasOwnProperty("objectIds")&&(l.warn("Warning: Case error in objectIds"),e.ordering[0]="objectIds");const n=p(t,e,r);h(n.byteOffset+n.byteCount,t.byteLength,"attribute");const i=n.entries.attributeValues||n.entries.objectIds;if(i){if("String"===i.valueType){const e=n.entries.attributeByteCounts,r=f(t,e),o=function(e,t){return new Uint8Array(e,t.byteOffset,t.byteCount)}(t,i);return i.timeEncoding?function(e,t,r){return d(e,t,r).map((e=>{const t=e?Date.parse(e):null;return t&&!Number.isNaN(t)?t:null}))}(e.count,r,o):d(e.count,r,o)}return f(t,i)}throw new o.Z("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const m={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},w={Float32:(e,t)=>new DataView(e,0).getFloat32(t,!0),Float64:(e,t)=>new DataView(e,0).getFloat64(t,!0),UInt8:(e,t)=>new DataView(e,0).getUint8(t),Int8:(e,t)=>new DataView(e,0).getInt8(t),UInt16:(e,t)=>new DataView(e,0).getUint16(t,!0),Int16:(e,t)=>new DataView(e,0).getInt16(t,!0),UInt32:(e,t)=>new DataView(e,0).getUint32(t,!0),Int32:(e,t)=>new DataView(e,0).getInt32(t,!0)};function C(e){return m.hasOwnProperty(e)}function v(e){return C(e)?m[e].BYTES_PER_ELEMENT:0}},25683:(e,t,r)=>{r.d(t,{Gi:()=>u,IT:()=>h,ti:()=>g});var o=r(20102);const n=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function s(e,t,r){return{identifier:String.fromCharCode.apply(null,new Uint8Array(e,r+i.identifierOffset,i.identifierLength)),version:t.getUint16(r+i.versionOffset,n),checksum:t.getUint32(r+i.checksumOffset,n)}}const a={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function l(e,t){return{sizeLo:e.getUint32(t+a.sizeLo,n),sizeHi:e.getUint32(t+a.sizeHi,n),minX:e.getFloat64(t+a.minX,n),minY:e.getFloat64(t+a.minY,n),minZ:e.getFloat64(t+a.minZ,n),maxX:e.getFloat64(t+a.maxX,n),maxY:e.getFloat64(t+a.maxY,n),maxZ:e.getFloat64(t+a.maxZ,n),errorX:e.getFloat64(t+a.errorX,n),errorY:e.getFloat64(t+a.errorY,n),errorZ:e.getFloat64(t+a.errorZ,n),count:e.getUint32(t+a.count,n),reserved:e.getUint32(t+a.reserved,n)}}function u(e){const t=new DataView(e,0);let r=0;const{identifier:n,version:u}=s(e,t,r);if(r+=i.byteCount,"LEPCC "!==n)throw new o.Z("lepcc-decode-error","Bad identifier");if(u>1)throw new o.Z("lepcc-decode-error","Unknown version");const d=l(t,r);if(r+=a.byteCount,d.sizeHi*2**32+d.sizeLo!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");const f=new Float64Array(3*d.count),p=[],h=[],b=[],y=[];if(r=c(e,r,p),r=c(e,r,h),r=c(e,r,b),r=c(e,r,y),r!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad length");let g=0,m=0;for(let e=0;e<p.length;e++){m+=p[e];let t=0;for(let r=0;r<h[e];r++){t+=b[g];const e=y[g];f[3*g]=Math.min(d.maxX,d.minX+2*d.errorX*t),f[3*g+1]=Math.min(d.maxY,d.minY+2*d.errorY*m),f[3*g+2]=Math.min(d.maxZ,d.minZ+2*d.errorZ*e),g++}}return{errorX:d.errorX,errorY:d.errorY,errorZ:d.errorZ,result:f}}function c(e,t,r){const o=[];t=d(e,t,o);const n=[];for(let i=0;i<o.length;i++){n.length=0,t=d(e,t,n);for(let e=0;e<n.length;e++)r.push(n[e]+o[i])}return t}function d(e,t,r){const i=new DataView(e,t),s=i.getUint8(0),a=31&s,l=!!(32&s),u=(192&s)>>6;let c=0;if(0===u)c=i.getUint32(1,n),t+=5;else if(1===u)c=i.getUint16(1,n),t+=3;else{if(2!==u)throw new o.Z("lepcc-decode-error","Bad count type");c=i.getUint8(1),t+=2}if(l)throw new o.Z("lepcc-decode-error","LUT not implemented");const d=Math.ceil(c*a/8),f=new Uint8Array(e,t,d);let p=0,h=0,b=0;const y=-1>>>32-a;for(let e=0;e<c;e++){for(;h<a;)p|=f[b]<<h,h+=8,b+=1;r[e]=p&y,p>>>=a,h-=a,h+a>32&&(p|=f[b-1]>>8-h)}return t+b}const f={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function p(e,t){return{sizeLo:e.getUint32(t+f.sizeLo,n),sizeHi:e.getUint32(t+f.sizeHi,n),count:e.getUint32(t+f.count,n),colorMapCount:e.getUint16(t+f.colorMapCount,n),lookupMethod:e.getUint8(t+f.lookupMethod),compressionMethod:e.getUint8(t+f.compressionMethod)}}function h(e){const t=new DataView(e,0);let r=0;const{identifier:n,version:a}=s(e,t,r);if(r+=i.byteCount,"ClusterRGB"!==n)throw new o.Z("lepcc-decode-error","Bad identifier");if(a>1)throw new o.Z("lepcc-decode-error","Unknown version");const l=p(t,r);if(r+=f.byteCount,l.sizeHi*2**32+l.sizeLo!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");if((2===l.lookupMethod||1===l.lookupMethod)&&0===l.compressionMethod){if(3*l.colorMapCount+l.count+r!==e.byteLength||l.colorMapCount>256)throw new o.Z("lepcc-decode-error","Bad count");const t=new Uint8Array(e,r,3*l.colorMapCount),n=new Uint8Array(e,r+3*l.colorMapCount,l.count),i=new Uint8Array(3*l.count);for(let e=0;e<l.count;e++){const r=n[e];i[3*e]=t[3*r],i[3*e+1]=t[3*r+1],i[3*e+2]=t[3*r+2]}return i}if(0===l.lookupMethod&&0===l.compressionMethod){if(3*l.count+r!==e.byteLength||0!==l.colorMapCount)throw new o.Z("lepcc-decode-error","Bad count");return new Uint8Array(e,r).slice()}if(l.lookupMethod<=2&&1===l.compressionMethod){if(r+3!==e.byteLength||1!==l.colorMapCount)throw new o.Z("lepcc-decode-error","Bad count");const n=t.getUint8(r),i=t.getUint8(r+1),s=t.getUint8(r+2),a=new Uint8Array(3*l.count);for(let e=0;e<l.count;e++)a[3*e]=n,a[3*e+1]=i,a[3*e+2]=s;return a}throw new o.Z("lepcc-decode-error","Bad method "+l.lookupMethod+","+l.compressionMethod)}const b={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function y(e,t){return{sizeLo:e.getUint32(t+b.sizeLo,n),sizeHi:e.getUint32(t+b.sizeHi,n),count:e.getUint32(t+b.count,n),scaleFactor:e.getUint16(t+b.scaleFactor,n),bitsPerPoint:e.getUint8(t+b.bitsPerPoint),reserved:e.getUint8(t+b.reserved)}}function g(e){const t=new DataView(e,0);let r=0;const{identifier:n,version:a}=s(e,t,r);if(r+=i.byteCount,"Intensity "!==n)throw new o.Z("lepcc-decode-error","Bad identifier");if(a>1)throw new o.Z("lepcc-decode-error","Unknown version");const l=y(t,r);if(r+=b.byteCount,l.sizeHi*2**32+l.sizeLo!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");const u=new Uint16Array(l.count);if(8===l.bitsPerPoint){if(l.count+r!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");const t=new Uint8Array(e,r,l.count);for(let e=0;e<l.count;e++)u[e]=t[e]*l.scaleFactor}else if(16===l.bitsPerPoint){if(2*l.count+r!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");const t=new Uint16Array(e,r,l.count);for(let e=0;e<l.count;e++)u[e]=t[e]*l.scaleFactor}else{const t=[];if(d(e,r,t)!==e.byteLength)throw new o.Z("lepcc-decode-error","Bad size");for(let e=0;e<l.count;e++)u[e]=t[e]*l.scaleFactor}return u}},35065:(e,t,r)=>{var o;r.d(t,{T:()=>o}),function(e){e.POSITION="position",e.NORMAL="normal",e.NORMALCOMPRESSED="normalCompressed",e.UV0="uv0",e.AUXPOS1="auxpos1",e.AUXPOS2="auxpos2",e.COLOR="color",e.SYMBOLCOLOR="symbolColor",e.SIZE="size",e.TANGENT="tangent",e.OFFSET="offset",e.SUBDIVISIONFACTOR="subdivisionFactor",e.COLORFEATUREATTRIBUTE="colorFeatureAttribute",e.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",e.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",e.DISTANCETOSTART="distanceToStart",e.UVMAPSPACE="uvMapSpace",e.BOUNDINGRECT="boundingRect",e.UVREGION="uvRegion",e.PROFILERIGHT="profileRight",e.PROFILEUP="profileUp",e.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",e.FEATUREVALUE="featureValue",e.MODELORIGINHI="modelOriginHi",e.MODELORIGINLO="modelOriginLo",e.MODEL="model",e.MODELNORMAL="modelNormal",e.INSTANCECOLOR="instanceColor",e.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",e.LOCALTRANSFORM="localTransform",e.GLOBALTRANSFORM="globalTransform",e.BOUNDINGSPHERE="boundingSphere",e.MODELORIGIN="modelOrigin",e.MODELSCALEFACTORS="modelScaleFactors",e.FEATUREATTRIBUTE="featureAttribute",e.STATE="state",e.LODLEVEL="lodLevel",e.POSITION0="position0",e.POSITION1="position1",e.NORMALA="normalA",e.NORMALB="normalB",e.COMPONENTINDEX="componentIndex",e.VARIANTOFFSET="variantOffset",e.VARIANTSTROKE="variantStroke",e.VARIANTEXTENSION="variantExtension",e.U8PADDING="u8padding",e.U16PADDING="u16padding",e.SIDENESS="sideness",e.START="start",e.END="end",e.UP="up",e.EXTRUDE="extrude",e.OBJECTANDLAYERIDCOLOR="objectAndLayerIdColor",e.INSTANCEOBJECTANDLAYERIDCOLOR="instanceObjectAndLayerIdColor"}(o||(o={}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3874],{22303:(e,t,r)=>{r.d(t,{Z:()=>h});var o,s,i=r(35270),l=r(22021),n=r(75215);function a(e){return(0,l.uZ)((0,n.vU)(e),0,255)}function u(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}class p{static blendColors(e,t,r,o=new p){return o.r=Math.round(e.r+(t.r-e.r)*r),o.g=Math.round(e.g+(t.g-e.g)*r),o.b=Math.round(e.b+(t.b-e.b)*r),o.a=e.a+(t.a-e.a)*r,o._sanitize()}static fromRgb(e,t){const r=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const e=r[2].split(/\s*,\s*/),o=r[1];if("rgb"===o&&3===e.length||"rgba"===o&&4===e.length){const r=e[0];if("%"===r.charAt(r.length-1)){const r=e.map((e=>2.56*parseFloat(e)));return 4===e.length&&(r[3]=parseFloat(e[3])),p.fromArray(r,t)}return p.fromArray(e.map((e=>parseFloat(e))),t)}if("hsl"===o&&3===e.length||"hsla"===o&&4===e.length)return p.fromArray((0,i.B7)(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])),t)}return null}static fromHex(e,t=new p){if(4!==e.length&&7!==e.length||"#"!==e[0])return null;const r=4===e.length?4:8,o=(1<<r)-1;let s=Number("0x"+e.substr(1));return isNaN(s)?null:(["b","g","r"].forEach((e=>{const i=s&o;s>>=r,t[e]=4===r?17*i:i})),t.a=1,t)}static fromArray(e,t=new p){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.St)(e)?(0,i.h$)(e):null;return r&&p.fromArray(r,t)||p.fromRgb(e,t)||p.fromHex(e,t)}static fromJSON(e){return e&&new p([e[0],e[1],e[2],e[3]/255])}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return null!=e?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?p.fromString(e,this):Array.isArray(e)?p.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof p||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(){const e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return`#${e.length<2?"0"+e:e}${t.length<2?"0"+t:t}${r.length<2?"0"+r:r}`}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=p.AlphaMode.ALWAYS){const t=a(this.r),r=a(this.g),o=a(this.b);return e===p.AlphaMode.ALWAYS||1!==this.a?[t,r,o,a(255*this.a)]:[t,r,o]}clone(){return new p(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=Math.round(u(this.r,0,255)),this.g=Math.round(u(this.g,0,255)),this.b=Math.round(u(this.b,0,255)),this.a=u(this.a,0,1),this}_set(e,t,r,o){this.r=e,this.g=t,this.b=r,this.a=o}}p.prototype.declaredClass="esri.Color",(s=(o=p||(p={})).AlphaMode||(o.AlphaMode={}))[s.ALWAYS=0]="ALWAYS",s[s.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const h=p},6352:(e,t,r)=>{r.d(t,{a:()=>d});var o,s=r(43697),i=r(22303),l=r(96674),n=r(22974),a=r(5600),u=(r(75215),r(52011)),p=r(37308);let h=o=class extends l.wq{constructor(){super(...arguments),this.color=new i.Z("white")}clone(){return new o({color:(0,n.d9)(this.color)})}};(0,s._)([(0,a.Cb)(p.a)],h.prototype,"color",void 0),h=o=(0,s._)([(0,u.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const d=h;Object.freeze(Object.defineProperty({__proto__:null,default:d},Symbol.toStringTag,{value:"Module"}))},35270:(e,t,r)=>{r.d(t,{B7:()=>a,St:()=>s,VL:()=>l,h$:()=>i,rW:()=>u});const o={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function s(e){return!!o[e]||!!o[e.toLowerCase()]}function i(e){return o[e]??o[e.toLowerCase()]}function l(e){return[...i(e)]}function n(e,t,r){r<0&&++r,r>1&&--r;const o=6*r;return o<1?e+(t-e)*o:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,o=1){const s=(e%360+360)%360/360,i=r<=.5?r*(t+1):r+t-r*t,l=2*r-i;return[Math.round(255*n(l,i,s+1/3)),Math.round(255*n(l,i,s)),Math.round(255*n(l,i,s-1/3)),o]}function u(e){const t=e.length>5,r=t?8:4,o=(1<<r)-1,s=t?1:17,i=t?9===e.length:5===e.length;let l=Number("0x"+e.substr(1));if(isNaN(l))return null;const n=[0,0,0,1];let a;return i&&(a=l&o,l>>=r,n[3]=s*a/255),a=l&o,l>>=r,n[2]=s*a,a=l&o,l>>=r,n[1]=s*a,a=l&o,l>>=r,n[0]=s*a,n}},83379:(e,t,r)=>{r.d(t,{Z:()=>m});var o=r(43697),s=r(20102),i=r(70586),l=r(609),n=r(95330),a=r(20941),u=r(5600),p=r(52011);const h="loaded",d=e=>{let t=class extends e{constructor(...e){super(...e),this._loadController=null,this.loadError=null,this.loadStatus="not-loaded",this._set("loadWarnings",[]),this.addResolvingPromise(new Promise((e=>{const t=this.load.bind(this);this.load=r=>{const o=new Promise(((e,t)=>{const o=(0,n.$F)(r,t);this.destroyed&&t(new s.Z("load:instance-destroyed",`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(e,t).finally((()=>{o&&o.remove()}))}));if("not-loaded"===this.loadStatus){this._set("loadStatus","loading");const e=this._loadController=new AbortController;t({signal:e.signal}),(0,n.fu)(e.signal,(()=>{this._promiseProps.abort()}))}return e(),o}}))),this.when((()=>{this._set("loadStatus",h),this._loadController=null}),(e=>{this._set("loadStatus","failed"),this._set("loadError",e),this._loadController=null}))}destroy(){this._loadController=(0,i.IM)(this._loadController),this._set("loadError",null),this._set("loadWarnings",[])}get loaded(){return this.loadStatus===h}get loadWarnings(){return this._get("loadWarnings")}load(){return null}cancelLoad(){return this.isFulfilled()||(this._set("loadError",new s.Z("load:cancelled","Cancelled")),this._loadController?.abort()),this}};return(0,o._)([(0,u.Cb)({readOnly:!0})],t.prototype,"loaded",null),(0,o._)([(0,u.Cb)({readOnly:!0})],t.prototype,"loadError",void 0),(0,o._)([(0,u.Cb)({clonable:!1})],t.prototype,"loadStatus",void 0),(0,o._)([(0,u.Cb)({type:[a.Z],readOnly:!0})],t.prototype,"loadWarnings",null),t=(0,o._)([(0,p.j)("esri.core.Loadable")],t),t};let y=class extends(d(l.D)){};var c;y=(0,o._)([(0,p.j)("esri.core.Loadable")],y),(c=y||(y={})).LoadableMixin=d,c.isLoadable=function(e){return!(!e||!e.load)};const m=y},609:(e,t,r)=>{r.d(t,{D:()=>d,v:()=>h});var o,s,i=r(43697),l=r(92036),n=r(70586),a=r(95330),u=r(52011);(s=o||(o={}))[s.PENDING=0]="PENDING",s[s.RESOLVED=1]="RESOLVED",s[s.REJECTED=2]="REJECTED";class p{constructor(){this._resolver=(0,a.hh)(),this._status=o.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=o.RESOLVED,this._cleanUp()}),(()=>{this._status=o.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(e){this._resolvingPromises.push(e),this._tryResolve()}isResolved(){return this._status===o.RESOLVED}isRejected(){return this._status===o.REJECTED}isFulfilled(){return this._status!==o.PENDING}abort(){this._resolver.reject((0,a.zE)())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const e=(0,a.hh)(),t=[...this._resolvingPromises,(0,n.j0)(e.promise)],r=this._allPromise=Promise.all(t);r.then((()=>{this.isFulfilled()||this._allPromise!==r||this._resolver.resolve()}),(e=>{this.isFulfilled()||this._allPromise!==r||(0,a.D_)(e)||this._resolver.reject(e)})),e.resolve()}}const h=e=>{let t=class extends e{constructor(...e){super(...e),this._promiseProps=new p,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps?.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(e,t){return this._promiseProps.promise.then((()=>this)).then(e,t)}catch(e){return this.when(null,e)}addResolvingPromise(e){e&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in e?e.when():e)}};return t=(0,i._)([(0,u.j)("esri.core.Promise")],t),t};let d=class extends(h(l.Z)){};d=(0,i._)([(0,u.j)("esri.core.Promise")],d)},70921:(e,t,r)=>{r.d(t,{R:()=>i,Z:()=>s});var o=r(46791);function s(e,t,r=o.Z){return t||(t=new r),t===e||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},62357:(e,t,r)=>{r.d(t,{F2:()=>l,Wz:()=>n,t_:()=>a,vW:()=>u});const o=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,s="screenUtils.toPt: input not recognized!",i=96;function l(e){return e?e/72*i:0}function n(e){return e?72*e/i:0}function a(e){if("string"==typeof e){const t=e.match(o);if(t){const r=Number(t[1]),o=t[3]&&t[3].toLowerCase(),s="-"===e.charAt(0),i="px"===o?n(r):r;return s?-i:i}return console.warn(s),null}return e}function u(e=0,t=0){return{x:e,y:t}}},70171:(e,t,r)=>{let o;r.d(t,{Kd:()=>l,Ze:()=>p,qe:()=>a});const s=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale;function i(){return s??globalThis.navigator?.language??"en"}function l(){return void 0===o&&(o=i()),o}const n=[];function a(e){return n.push(e),{remove(){n.splice(n.indexOf(e),1)}}}const u=[];function p(e){return u.push(e),{remove(){n.splice(u.indexOf(e),1)}}}globalThis.addEventListener?.("languagechange",(function(){const e=i();o!==e&&(o=e,[...u].forEach((t=>{t.call(null,e)})),[...n].forEach((t=>{t.call(null,e)})))}))},84230:(e,t,r)=>{r.d(t,{A2:()=>l,S1:()=>p,fb:()=>i,ln:()=>h,oP:()=>u,rQ:()=>n,y2:()=>a});var o=r(40330),s=r(3172);const i={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function l(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function n(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function a(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}async function u(e,t){const r=o.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const i=e.toLowerCase().indexOf("/rest/services");if(-1===i)return null;const l=`${e.substring(0,i)}/rest/info`,n=null!=t?t.signal:null,{data:a}=await(0,s.default)(l,{query:{f:"json"},responseType:"json",signal:n});return a?.owningSystemUrl||null}function p(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function h(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}},48522:(e,t,r)=>{r.d(t,{Z:()=>P});var o=r(43697),s=r(68773),i=r(40330),l=r(3172),n=r(20102),a=r(96674),u=r(83379),p=r(70586),h=r(95330),d=r(5600),y=r(75215),c=(r(67676),r(80442),r(71715)),m=r(52011),b=r(6570),f=r(70171);let g;var v=r(41253),_=r(92036);let w=class extends _.Z{constructor(e){super(e),this.nextQueryParams=null,this.queryParams=null,this.results=null,this.total=null}};(0,o._)([(0,d.Cb)()],w.prototype,"nextQueryParams",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"queryParams",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"results",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"total",void 0),w=(0,o._)([(0,m.j)("esri.portal.PortalQueryResult")],w);const C=w;var S,Z=r(86082),j=r(71058);let x;const O={PortalGroup:()=>Promise.resolve().then(r.bind(r,68916)),PortalItem:()=>Promise.all([r.e(5235),r.e(9880)]).then(r.bind(r,15235)),PortalUser:()=>Promise.resolve().then(r.bind(r,86082))};let L=S=class extends((0,a.eC)(u.Z)){constructor(e){super(e),this._esriIdCredentialCreateHandle=null,this.access=null,this.allSSL=!1,this.authMode="auto",this.authorizedCrossOriginDomains=null,this.basemapGalleryGroupQuery=null,this.basemapGalleryGroupQuery3D=null,this.bingKey=null,this.canListApps=!1,this.canListData=!1,this.canListPreProvisionedItems=!1,this.canProvisionDirectPurchase=!1,this.canSearchPublic=!0,this.canShareBingPublic=!1,this.canSharePublic=!1,this.canSignInArcGIS=!1,this.canSignInIDP=!1,this.colorSetsGroupQuery=null,this.commentsEnabled=!1,this.created=null,this.culture=null,this.customBaseUrl=null,this.defaultBasemap=null,this.defaultDevBasemap=null,this.defaultExtent=null,this.defaultVectorBasemap=null,this.description=null,this.devBasemapGalleryGroupQuery=null,this.eueiEnabled=null,this.featuredGroups=null,this.featuredItemsGroupQuery=null,this.galleryTemplatesGroupQuery=null,this.livingAtlasGroupQuery=null,this.hasCategorySchema=!1,this.helperServices=null,this.homePageFeaturedContent=null,this.homePageFeaturedContentCount=null,this.httpPort=null,this.httpsPort=null,this.id=null,this.ipCntryCode=null,this.isPortal=!1,this.isReadOnly=!1,this.layerTemplatesGroupQuery=null,this.maxTokenExpirationMinutes=null,this.modified=null,this.name=null,this.portalHostname=null,this.portalMode=null,this.portalProperties=null,this.region=null,this.rotatorPanels=null,this.showHomePageDescription=!1,this.sourceJSON=null,this.supportsHostedServices=!1,this.symbolSetsGroupQuery=null,this.templatesGroupQuery=null,this.units=null,this.url=s.default.portalUrl,this.urlKey=null,this.user=null,this.use3dBasemaps=!0,this.useStandardizedQuery=!1,this.useVectorBasemaps=!1,this.vectorBasemapGalleryGroupQuery=null}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e}destroy(){D.unregister(this),this.defaultBasemap=(0,p.SC)(this.defaultBasemap),this.defaultDevBasemap=(0,p.SC)(this.defaultDevBasemap),this.defaultVectorBasemap=(0,p.SC)(this.defaultVectorBasemap),this._esriIdCredentialCreateHandle=(0,p.hw)(this._esriIdCredentialCreateHandle)}readAuthorizedCrossOriginDomains(e){if(e)for(const t of e)s.default.request.trustedServers.includes(t)||s.default.request.trustedServers.push(t);return e}readDefaultBasemap(e){return this._readBasemap(e)}readDefaultDevBasemap(e){return this._readBasemap(e)}readDefaultVectorBasemap(e){return this._readBasemap(e)}get extraQuery(){const e=!(this.user&&this.user.orgId)||this.canSearchPublic;return this.id&&!e?` AND orgid:${this.id}`:null}get isOrganization(){return!!this.access}get itemPageUrl(){return this.url?`${this.url}/home/item.html`:null}get restUrl(){let e=this.url;if(e){const t=e.indexOf("/sharing");e=t>0?e.substring(0,t):this.url.replace(/\/+$/,""),e+="/sharing/rest"}return e}get thumbnailUrl(){const e=this.restUrl,t=this.thumbnail;return e&&t?this._normalizeSSL(e+"/portals/self/resources/"+t):null}readUrlKey(e){return e?e.toLowerCase():e}readUser(e){let t=null;return e&&(t=Z.default.fromJSON(e),t.portal=this),t}load(e){const t=Promise.all([r.e(5235),r.e(3668)]).then(r.bind(r,93668)).then((({default:t})=>{(0,h.k_)(e),x=t})).then((()=>this.sourceJSON?this.sourceJSON:this.fetchSelf(this.authMode,!1,e))).then((e=>{if(i.id){const e=i.id;this.credential=e.findCredential(this.restUrl),this.credential||this.authMode!==S.AUTH_MODE_AUTO||(this._esriIdCredentialCreateHandle?.remove(),this._esriIdCredentialCreateHandle=e.on("credential-create",function(e){const t=i.id;return()=>{const r=e.deref();r&&t.findCredential(r.restUrl)&&r.signIn().catch((()=>{}))}}(new WeakRef(this))),D.register(this,this._esriIdCredentialCreateHandle,this))}this.sourceJSON=e,this.read(e)}));return this.addResolvingPromise(t),Promise.resolve(this)}async createElevationLayers(){await this.load();const e=this._getHelperService("defaultElevationLayers"),t=(await Promise.all([r.e(4547),r.e(5235),r.e(9016),r.e(5665),r.e(3602)]).then(r.bind(r,65665))).default;return e?e.map((e=>new t({id:e.id,url:e.url}))):[]}async fetchBasemaps(e,t){const r=await this._fetchBasemaps(e,t);if(!0===t?.include3d&&!1!==this.use3dBasemaps){const o=await this._fetchBasemaps3D(e,t);r.unshift(...o)}return r}fetchCategorySchema(e){return this.hasCategorySchema?this.request(this.restUrl+"/portals/self/categorySchema",e).then((e=>e.categorySchema)):(0,h.Hc)(e)?Promise.reject((0,h.zE)()):Promise.resolve([])}fetchFeaturedGroups(e){const t=this.featuredGroups,r=new v.Z;if(r.num=100,r.sortField="title",t&&t.length){const o=[];for(const e of t)o.push(`(title:"${e.title}" AND owner:${e.owner})`);return r.query=o.join(" OR "),this.queryGroups(r,e).then((e=>e.results))}return(0,h.Hc)(e)?Promise.reject((0,h.zE)()):Promise.resolve([])}fetchRegions(e){const t=this.user?.culture||this.culture||(0,f.Kd)();return this.request(this.restUrl+"/portals/regions",{...e,query:{culture:t}})}fetchSettings(e){const t=this.user?.culture||this.culture||(0,f.Kd)();return this.request(this.restUrl+"/portals/self/settings",{...e,query:{culture:t}})}static getDefault(){return g&&!g.destroyed||(g=new S),g}queryGroups(e,t){return this.queryPortal("/community/groups",e,"PortalGroup",t)}queryItems(e,t){return this.queryPortal("/search",e,"PortalItem",t)}queryUsers(e,t){return e.sortField||(e.sortField="username"),this.queryPortal("/community/users",e,"PortalUser",t)}fetchSelf(e=this.authMode,t=!1,r){const o=this.restUrl+"/portals/self",s={authMode:e,query:{culture:(0,f.Kd)().toLowerCase()},...r};return"auto"===s.authMode&&(s.authMode="no-prompt"),t&&(s.query.default=!0),this.request(o,s)}queryPortal(e,t,r,o){const s=(0,y.se)(v.Z,t),i=t=>this.request(this.restUrl+e,{...s.toRequestOptions(this),...o}).then((e=>{const r=s.clone();return r.start=e.nextStart,new C({nextQueryParams:r,queryParams:s,total:e.total,results:S._resultsToTypedArray(t,{portal:this},e,o)})})).then((e=>Promise.all(e.results.map((t=>"function"==typeof t.when?t.when():e))).then((()=>e),(t=>((0,h.r9)(t),e)))));return r&&O[r]?O[r]().then((({default:e})=>((0,h.k_)(o),i(e)))):i()}signIn(){if(this.authMode===S.AUTH_MODE_ANONYMOUS)return Promise.reject(new n.Z("portal:invalid-auth-mode",`Current "authMode"' is "${this.authMode}"`));if("failed"===this.loadStatus)return Promise.reject(this.loadError);const e=e=>Promise.resolve().then((()=>"not-loaded"===this.loadStatus?(e||(this.authMode="immediate"),this.load().then((()=>null))):"loading"===this.loadStatus?this.load().then((()=>this.credential?null:(this.credential=e,this.fetchSelf("immediate")))):this.user&&this.credential===e?null:(this.credential=e,this.fetchSelf("immediate")))).then((e=>{e&&(this.sourceJSON=e,this.read(e))}));return i.id?i.id.getCredential(this.restUrl).then((t=>e(t))):e(this.credential)}normalizeUrl(e){const t=this.credential&&this.credential.token;return this._normalizeSSL(t?e+(e.includes("?")?"&":"?")+"token="+t:e)}requestToTypedArray(e,t,r){return this.request(e,t).then((e=>{const t=S._resultsToTypedArray(r,{portal:this},e);return Promise.all(t.map((t=>"function"==typeof t.when?t.when():e))).then((()=>t),(()=>t))}))}request(e,t={}){const r={f:"json",...t.query},{authMode:o=(this.authMode===S.AUTH_MODE_ANONYMOUS?"anonymous":"auto"),body:s=null,cacheBust:i=!1,method:n="auto",responseType:a="json",signal:u}=t,p={authMode:o,body:s,cacheBust:i,method:n,query:r,responseType:a,timeout:0,signal:u};return(0,l.default)(this._normalizeSSL(e),p).then((e=>e.data))}toJSON(){throw new n.Z("internal:not-yet-implemented","Portal.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");return new S({sourceJSON:e})}_getHelperService(e){const t=this.helperServices&&this.helperServices[e];if(!t)throw new n.Z("portal:service-not-found",`The \`helperServices\` do not include an entry named "${e}"`);return t}async _fetchBasemaps(e,t){const r=new v.Z;r.query=e||(s.default.apiKey&&(0,j.r)(this.url)?this.devBasemapGalleryGroupQuery:this.useVectorBasemaps?this.vectorBasemapGalleryGroupQuery:this.basemapGalleryGroupQuery),r.disableExtraQuery=!0;const o=await this.queryGroups(r,t);if(!o.total)return[];const i=o.results[0];r.num=100,r.query='type:"Web Map" -type:"Web Application"',r.sortField=i.sortField||"name",r.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(r,t);return l.total?l.results.filter((e=>"Web Map"===e.type)).map((e=>new x({portalItem:e}))):[]}async _fetchBasemaps3D(e,t){const r=e||this.basemapGalleryGroupQuery3D;if(!r)return[];const o=new v.Z({query:r,disableExtraQuery:!0}),s=await this.queryGroups(o,t);if(!s.total)return[];const i=s.results[0];o.num=100,o.query='type:"Web Scene"',o.sortField=i.sortField||"name",o.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(o,t);return l.total?l.results.filter((e=>"Web Scene"===e.type)).map((e=>new x({portalItem:e}))):[]}_normalizeSSL(e){return e.replace(/^http:/i,"https:").replace(":7080",":7443")}_readBasemap(e){if(e){const t=x.fromJSON(e);return t.portalItem={portal:this},t}return null}static _resultsToTypedArray(e,t,r,o){let s=[];if(r){const i=null!=o?o.signal:null;s=r.listings||r.notifications||r.userInvitations||r.tags||r.items||r.groups||r.comments||r.provisions||r.results||r.relatedItems||r,(e||t)&&(s=s.map((r=>{const o=Object.assign(e?e.fromJSON(r):r,t);return"function"==typeof o.load&&o.load(i),o})))}else s=[];return s}};L.AUTH_MODE_ANONYMOUS="anonymous",L.AUTH_MODE_AUTO="auto",L.AUTH_MODE_IMMEDIATE="immediate",(0,o._)([(0,d.Cb)()],L.prototype,"access",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"allSSL",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"authMode",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"authorizedCrossOriginDomains",void 0),(0,o._)([(0,c.r)("authorizedCrossOriginDomains")],L.prototype,"readAuthorizedCrossOriginDomains",null),(0,o._)([(0,d.Cb)()],L.prototype,"basemapGalleryGroupQuery",void 0),(0,o._)([(0,d.Cb)({json:{name:"3DBasemapGalleryGroupQuery"}})],L.prototype,"basemapGalleryGroupQuery3D",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"bingKey",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListApps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListData",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListPreProvisionedItems",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canProvisionDirectPurchase",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSearchPublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canShareBingPublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSharePublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSignInArcGIS",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSignInIDP",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"colorSetsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"commentsEnabled",void 0),(0,o._)([(0,d.Cb)({type:Date})],L.prototype,"created",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"credential",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"culture",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"currentVersion",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"customBaseUrl",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"defaultBasemap",void 0),(0,o._)([(0,c.r)("defaultBasemap")],L.prototype,"readDefaultBasemap",null),(0,o._)([(0,d.Cb)()],L.prototype,"defaultDevBasemap",void 0),(0,o._)([(0,c.r)("defaultDevBasemap")],L.prototype,"readDefaultDevBasemap",null),(0,o._)([(0,d.Cb)({type:b.Z})],L.prototype,"defaultExtent",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"defaultVectorBasemap",void 0),(0,o._)([(0,c.r)("defaultVectorBasemap")],L.prototype,"readDefaultVectorBasemap",null),(0,o._)([(0,d.Cb)()],L.prototype,"description",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"devBasemapGalleryGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"eueiEnabled",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"extraQuery",null),(0,o._)([(0,d.Cb)()],L.prototype,"featuredGroups",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"featuredItemsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"galleryTemplatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"livingAtlasGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"hasCategorySchema",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helpBase",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helperServices",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helpMap",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"homePageFeaturedContent",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"homePageFeaturedContentCount",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"httpPort",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"httpsPort",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"id",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"ipCntryCode",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"isOrganization",null),(0,o._)([(0,d.Cb)()],L.prototype,"isPortal",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"isReadOnly",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"itemPageUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"layerTemplatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"maxTokenExpirationMinutes",void 0),(0,o._)([(0,d.Cb)({type:Date})],L.prototype,"modified",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"name",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalHostname",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalMode",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalProperties",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"region",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"restUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"rotatorPanels",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"showHomePageDescription",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"sourceJSON",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"staticImagesUrl",void 0),(0,o._)([(0,d.Cb)({json:{name:"2DStylesGroupQuery"}})],L.prototype,"stylesGroupQuery2d",void 0),(0,o._)([(0,d.Cb)({json:{name:"stylesGroupQuery"}})],L.prototype,"stylesGroupQuery3d",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"supportsHostedServices",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"symbolSetsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"templatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"thumbnail",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"thumbnailUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"units",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"url",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"urlKey",void 0),(0,o._)([(0,c.r)("urlKey")],L.prototype,"readUrlKey",null),(0,o._)([(0,d.Cb)()],L.prototype,"user",void 0),(0,o._)([(0,c.r)("user")],L.prototype,"readUser",null),(0,o._)([(0,d.Cb)()],L.prototype,"use3dBasemaps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"useStandardizedQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"useVectorBasemaps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"vectorBasemapGalleryGroupQuery",void 0),L=S=(0,o._)([(0,m.j)("esri.portal.Portal")],L);const P=L,D=new FinalizationRegistry((e=>{e.remove()}))},68916:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var o=r(43697),s=r(20102),i=r(96674),l=r(70586),n=r(5600),a=r(75215),u=(r(67676),r(80442),r(52011)),p=r(41253);let h=class extends i.wq{constructor(e){super(e),this.access=null,this.created=null,this.description=null,this.id=null,this.isInvitationOnly=!1,this.modified=null,this.owner=null,this.portal=null,this.snippet=null,this.sortField=null,this.sortOrder=null,this.tags=null,this.title=null}get thumbnailUrl(){const e=this.url,t=this.thumbnail;return e&&t&&this.portal?this.portal?.normalizeUrl(`${e}/info/${t}?f=json`):null}get url(){const e=this.get("portal.restUrl");return e?e+"/community/groups/"+this.id:null}fetchCategorySchema(e){return(0,l.s3)(this.portal).request(this.url+"/categorySchema",e).then((t=>{const r=t.categorySchema||[];return r.some((e=>"contentCategorySetsGroupQuery.LivingAtlas"===e.source))?this._fetchCategorySchemaSet("LivingAtlas",e):r}))}fetchMembers(e){return(0,l.s3)(this.portal).request(this.url+"/users",e)}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}queryItems(e,t){let r=(0,a.se)(p.Z,e);const o=(0,l.s3)(this.portal);return parseFloat(o.currentVersion)>5?(r=r||new p.Z,o.queryPortal(`/content/groups/${this.id}/search`,r,"PortalItem",t)):(r=r?r.clone():new p.Z,r.query="group:"+this.id+(r.query?" "+r.query:""),o.queryItems(r,t))}_fetchCategorySchemaSet(e,t){const r=(0,l.s3)(this.portal);return r.fetchSelf(r.authMode,!0,t).then((e=>{const o=e.contentCategorySetsGroupQuery;if(o){const e=new p.Z;return e.disableExtraQuery=!0,e.num=1,e.query=o,r.queryGroups(e,t)}throw new s.Z("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery value not found")})).then((r=>{if(r.total){const o=r.results[0],s=new p.Z;return s.num=1,s.query=`typekeywords:"${e}"`,o.queryItems(s,t)}throw new s.Z("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery group not found")})).then((e=>e.total?e.results[0].fetchData("json",t).then((e=>{const t=e&&e.categorySchema;return t&&t.length?t:[]})):[]))}};(0,o._)([(0,n.Cb)()],h.prototype,"access",void 0),(0,o._)([(0,n.Cb)({type:Date})],h.prototype,"created",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"description",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"id",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"isInvitationOnly",void 0),(0,o._)([(0,n.Cb)({type:Date})],h.prototype,"modified",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"owner",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"portal",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"snippet",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"sortField",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"sortOrder",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"tags",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"thumbnail",void 0),(0,o._)([(0,n.Cb)({readOnly:!0})],h.prototype,"thumbnailUrl",null),(0,o._)([(0,n.Cb)()],h.prototype,"title",void 0),(0,o._)([(0,n.Cb)({readOnly:!0})],h.prototype,"url",null),h=(0,o._)([(0,u.j)("esri.portal.PortalGroup")],h);const d=h},41253:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(92036),l=r(35454),n=r(22974),a=r(5600),u=(r(75215),r(52011)),p=r(6570),h=r(82971),d=r(40488);const y=new l.X({avgRating:"avg-rating",numRatings:"num-ratings",numComments:"num-comments",numViews:"num-views"});let c=o=class extends i.Z{constructor(e){super(e),this.categories=null,this.disableExtraQuery=!1,this.extent=null,this.filter=null,this.num=10,this.query=null,this.sortField=null,this.start=1}get sortOrder(){return this._get("sortOrder")||"asc"}set sortOrder(e){"asc"!==e&&"desc"!==e||this._set("sortOrder",e)}clone(){return new o({categories:this.categories?(0,n.d9)(this.categories):null,disableExtraQuery:this.disableExtraQuery,extent:this.extent?this.extent.clone():null,filter:this.filter,num:this.num,query:this.query,sortField:this.sortField,sortOrder:this.sortOrder,start:this.start})}toRequestOptions(e,t){let r=[];this.categories&&(r=this.categories.map((e=>Array.isArray(e)?JSON.stringify(e):e)));let o="";if(this.extent){const e=(0,d.iV)(this.extent,h.Z.WGS84);null!=e&&(o=`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`)}let s=this.query;!this.disableExtraQuery&&e.extraQuery&&(s="("+s+")"+e.extraQuery);const i={categories:r,bbox:o,q:s,filter:this.filter,num:this.num,sortField:null,sortOrder:null,start:this.start};return this.sortField&&(i.sortField=this.sortField.split(",").map((e=>y.toJSON(e.trim()))).join(","),i.sortOrder=this.sortOrder),{query:{...t,...i}}}};(0,s._)([(0,a.Cb)()],c.prototype,"categories",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"disableExtraQuery",void 0),(0,s._)([(0,a.Cb)({type:p.Z})],c.prototype,"extent",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"filter",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"num",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"query",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"sortField",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"sortOrder",null),(0,s._)([(0,a.Cb)()],c.prototype,"start",void 0),c=o=(0,s._)([(0,u.j)("esri.portal.PortalQueryParams")],c);const m=c},86082:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var o=r(43697),s=r(20102),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011));let a=class extends i.wq{constructor(e){super(e),this.created=null,this.id=null,this.portal=null,this.title=null,this.username=null}get url(){const e=this.get("portal.restUrl");return e?`${e}/content/users/${this.username}/${this.id}`:null}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalFolder.toJSON is not yet implemented")}};(0,o._)([(0,l.Cb)({type:Date})],a.prototype,"created",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"id",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"portal",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"title",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],a.prototype,"url",null),(0,o._)([(0,l.Cb)()],a.prototype,"username",void 0),a=(0,o._)([(0,n.j)("esri.portal.PortalFolder")],a);const u=a;var p,h=r(68916);let d=p=class extends i.wq{constructor(...e){super(...e),this.access=null,this.created=null,this.culture=null,this.description=null,this.email=null,this.fullName=null,this.modified=null,this.orgId=null,this.portal=null,this.preferredView=null,this.privileges=null,this.region=null,this.role=null,this.roleId=null,this.sourceJSON=null,this.units=null,this.username=null,this.userType=null}get thumbnailUrl(){const e=this.url,t=this.thumbnail;return e&&t?this.portal.normalizeUrl(`${e}/info/${t}?f=json`):null}get userContentUrl(){const e=this.get("portal.restUrl");return e?`${e}/content/users/${this.username}`:null}get url(){const e=this.get("portal.restUrl");return e?`${e}/community/users/${this.username}`:null}addItem(e){const t=e&&e.item,r=e&&e.data,o=e&&e.folder,s={method:"post"};t&&(s.query=t.createPostQuery(),null!=r&&("string"==typeof r?s.query.text=r:"object"==typeof r&&(s.query.text=JSON.stringify(r))));let i=this.userContentUrl;return o&&(i+="/"+("string"==typeof o?o:o.id)),this.portal.request(i+"/addItem",s).then((e=>(t.id=e.id,t.portal=this.portal,t.loaded?t.reload():t.load())))}deleteItem(e){let t=this.userContentUrl;return e.ownerFolder&&(t+="/"+e.ownerFolder),this.portal.request(t+`/items/${e.id}/delete`,{method:"post"}).then((()=>{e.id=null,e.portal=null}))}deleteItems(e){const t=this.userContentUrl+"/deleteItems",r=e.map((e=>e.id));if(r.length){const o={method:"post",query:{items:r.join(",")}};return this.portal.request(t,o).then((()=>{e.forEach((e=>{e.id=null,e.portal=null}))}))}return Promise.resolve(void 0)}fetchFolders(){return this.portal.request(this.userContentUrl??"",{query:{num:1}}).then((e=>{let t;return t=e&&e.folders?e.folders.map((e=>{const t=u.fromJSON(e);return t.portal=this.portal,t})):[],t}))}fetchGroups(){return this.portal.request(this.url??"").then((e=>{let t;return t=e&&e.groups?e.groups.map((e=>{const t=h.default.fromJSON(e);return t.portal=this.portal,t})):[],t}))}fetchItems(e){const t=e??{};let o,s=this.userContentUrl??"";return t.folder&&(s+="/"+t.folder.id),Promise.all([r.e(5235),r.e(9880)]).then(r.bind(r,15235)).then((({default:e})=>{o=e;const r={folders:!1,num:t.num||10,start:t.start||1,sortField:t.sortField||"created",sortOrder:t.sortOrder||"asc"};return this.portal.request(s,{query:r})})).then((e=>{let t;return e&&e.items?(t=e.items.map((e=>{const t=o.fromJSON(e);return t.portal=this.portal,t})),Promise.all(t.map((e=>e.load()))).catch((e=>e)).then((()=>({items:t,nextStart:e.nextStart,total:e.total})))):{items:[],nextStart:-1,total:0}}))}fetchTags(){return this.portal.request(this.url+"/tags").then((e=>e.tags))}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}queryFavorites(e){return this.favGroupId?(this._favGroup||(this._favGroup=new h.default({id:this.favGroupId,portal:this.portal})),this._favGroup.queryItems(e)):Promise.reject(new s.Z("internal:unknown","Unknown internal error",{internalError:"Unknown favGroupId"}))}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");const t=new p;return t.sourceJSON=e,t.read(e),t}};(0,o._)([(0,l.Cb)()],d.prototype,"access",void 0),(0,o._)([(0,l.Cb)({type:Date})],d.prototype,"created",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"culture",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"description",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"email",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"favGroupId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"fullName",void 0),(0,o._)([(0,l.Cb)({type:Date})],d.prototype,"modified",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"orgId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"portal",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"preferredView",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"privileges",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"region",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"role",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"roleId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"sourceJSON",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"thumbnail",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"thumbnailUrl",null),(0,o._)([(0,l.Cb)()],d.prototype,"units",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"userContentUrl",null),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"url",null),(0,o._)([(0,l.Cb)()],d.prototype,"username",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"userType",void 0),d=p=(0,o._)([(0,n.j)("esri.portal.PortalUser")],d);const y=d},72245:(e,t,r)=>{r.d(t,{K3:()=>s,Rx:()=>i});var o=r(80442);const s=()=>!!(0,o.Z)("enable-feature:force-wosr"),i=()=>!!(0,o.Z)("enable-feature:SceneLayer-editing");((e="i3s-patching")=>{switch(o.Z.add("enable-i3s-patching",!1,!0,!0),o.Z.add("enable-feature:direct-3d-object-feature-layer-display",!1,!0,!0),o.Z.add("enable-feature:SceneLayer-editing",!0,!0,!0),e){case"feature-layer-view":o.Z.add("enable-feature:direct-3d-object-feature-layer-display",!0,!0,!0);break;case"i3s-patching":o.Z.add("enable-i3s-patching",!0,!0,!0)}})("i3s-patching")},9790:(e,t,r)=>{r.d(t,{se:()=>A,cT:()=>P,dU:()=>D,S9:()=>k,LB:()=>z,AH:()=>N,yK:()=>q,S6:()=>$,QT:()=>M,f_:()=>U});var o,s=r(75215),i=r(63213),l=r(17386),n=(r(38445),r(21218)),a=(r(95191),r(31134),r(50575),r(20825)),u=r(98587),p=(r(38128),r(40908),r(3456)),h=(r(17143),r(96742),r(43697)),d=r(22974),y=r(62357),c=r(5600),m=r(36030),b=r(52011),f=r(94075);let g=o=class extends n.Z{constructor(...e){super(...e),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(e,t,r,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=r&&(s.width=(0,y.t_)(r)),null!=o&&(s.height=(0,y.t_)(o)),s}clone(){const e=new o({color:(0,d.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 e._set("source",(0,d.d9)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,m.J)({esriPFS:"picture-fill"},{readOnly:!0})],g.prototype,"type",void 0),(0,h._)([(0,c.Cb)(f.KA)],g.prototype,"url",void 0),(0,h._)([(0,c.Cb)({type:Number,json:{write:!0}})],g.prototype,"xscale",void 0),(0,h._)([(0,c.Cb)({type:Number,json:{write:!0}})],g.prototype,"yscale",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"width",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"height",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"xoffset",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"yoffset",void 0),(0,h._)([(0,c.Cb)(f.Ds)],g.prototype,"source",void 0),g=o=(0,h._)([(0,b.j)("esri.symbols.PictureFillSymbol")],g);const v=g;var _=r(37898),w=r(42143),C=r(86114),S=r(20256),Z=r(4095),j=r(77987),x=r(89164),O=(r(87223),r(95868),r(78724)),L=(r(2283),r(44398),r(59390));function P(e){if(!e)return!1;switch(e.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 D(e){if(!e)return!1;switch(e.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}r(69496),r(6352);const z={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":_.Z,"simple-line":Z.Z,"simple-marker":j.Z,text:O.Z,"label-3d":a.Z,"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},N={base:x.Z,key:"type",typeMap:{"picture-marker":_.Z,"simple-marker":j.Z,text:O.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},k=(0,i.d)({types:z}),M={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":_.Z,"simple-line":Z.Z,"simple-marker":j.Z,text:O.Z,"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},q={base:x.Z,key:"type",typeMap:{text:O.Z,"label-3d":a.Z},errorContext:"symbol"},U=(x.Z,a.Z,u.Z,p.Z,w.Z,C.Z,L.Z,{base:x.Z,key:"type",typeMap:{"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"}),$={base:x.Z,key:"type",typeMap:{"label-3d":a.Z},errorContext:"symbol"},A=(0,s.N7)(z)},17386:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22974),l=r(19153),n=r(5600),a=(r(75215),r(36030)),u=r(71715),p=r(52011),h=r(30556),d=r(35671),y=r(89164);let c=o=class extends y.Z{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const r=this.data.primitiveOverrides;if(r){const o=r.map((r=>{const o=r.valueExpressionInfo;return(0,d.io)(e,t,o.expression)}));await Promise.all(o)}}}clone(){return new o({data:(0,i.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"data",void 0),(0,s._)([(0,u.r)("data",["symbol"])],c.prototype,"readData",null),(0,s._)([(0,h.c)("data",{})],c.prototype,"writeData",null),(0,s._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=o=(0,s._)([(0,p.j)("esri.symbols.CIMSymbol")],c);const m=c},38445:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(56332),p=r(52879);let h=o=class extends a.Z{constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new o({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,l.J)({Extrude:"extrude"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],h.prototype,"size",void 0),(0,s._)([(0,i.Cb)({type:p.b,json:{write:!0}})],h.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)(u.Z)],h.prototype,"edges",void 0),h=o=(0,s._)([(0,n.j)("esri.symbols.ExtrudeSymbol3DLayer")],h);const d=h},21218:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(5600),i=(r(75215),r(67676),r(80442),r(52011)),l=r(4095),n=r(89164);let a=class extends n.Z{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,o._)([(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,o._)([(0,s.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,o._)([(0,i.j)("esri.symbols.FillSymbol")],a);const u=a},95191:(e,t,r)=>{r.d(t,{Z:()=>j});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(56332),p=r(4618),h=r(74721),d=r(17495),y=r(50178),c=(r(92604),r(20102),r(52879));let m=o=class extends c.b{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:null!=this.color?this.color.clone():null,colorMixMode:this.colorMixMode};return new o(e)}};(0,s._)([(0,l.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var b,f=r(22303),g=r(96674),v=r(62357),_=r(37308),w=r(45119);let C=b=class extends g.wq{constructor(e){super(e),this.color=new f.Z([0,0,0,1]),this.size=(0,v.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new b(e)}};var S;(0,s._)([(0,i.Cb)(_.a)],C.prototype,"color",void 0),(0,s._)([(0,i.Cb)(_.y)],C.prototype,"size",void 0),(0,s._)([(0,i.Cb)(d.D)],C.prototype,"pattern",void 0),(0,s._)([(0,i.Cb)({type:w.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=b=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DOutline")],C);let Z=S=class extends a.Z{constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new S(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"inside-frame"!==e.outline.style&&"solid"!==e.outline.style?new p.Z({style:e.outline.style}):null,r={size:e.outline?.width??0,color:(e.outline?.color??y.ix).clone(),pattern:t};return t&&e.outline?.cap&&(r.patternCap=e.outline.cap),new S({material:new m({color:(e.color??y.l9).clone()}),pattern:e.style&&"solid"!==e.style?new h.Z({style:e.style}):null,outline:r})}};(0,s._)([(0,l.J)({Fill:"fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:m,json:{write:!0}})],Z.prototype,"material",void 0),(0,s._)([(0,i.Cb)(d.q)],Z.prototype,"pattern",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],Z.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)({type:C,json:{write:!0}})],Z.prototype,"outline",void 0),(0,s._)([(0,i.Cb)(u.Z)],Z.prototype,"edges",void 0),Z=S=(0,s._)([(0,n.j)("esri.symbols.FillSymbol3DLayer")],Z);const j=Z},31134:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(96674),l=r(62357),n=r(5600),a=r(90578),u=(r(67676),r(80442),r(52011)),p=r(61565);let h=o=class extends i.wq{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(e){return(0,l.t_)(e)}clone(){return new o({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:p.JT,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(e,t,r)=>({enabled:!r||!r.textSymbol3D})}}})],h.prototype,"size",void 0),(0,s._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,s._)([(0,n.Cb)({type:p.g6,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,s._)([(0,n.Cb)({type:p.vC,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=o=(0,s._)([(0,u.j)("esri.symbols.Font")],h);const d=h},50575:(e,t,r)=>{r.d(t,{Z:()=>q});var o,s=r(43697),i=r(92604),l=r(81271),n=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),u=r(52011),p=r(95868),h=r(50178),d=r(35454),y=r(96674),c=r(71715),m=r(30556),b=r(25929);const f=(0,d.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let g=o=class extends y.wq{constructor(e){super(e)}readHref(e,t,r){return e?(0,b.f)(e,r):t.dataURI}writeHref(e,t,r,o){e&&((0,l.HK)(e)?t.dataURI=e:(t.href=(0,b.t)(e,o),(0,l.YP)(t.href)&&(t.href=(0,l.Fv)(t.href))))}clone(){return new o({href:this.href,primitive:this.primitive})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],g.prototype,"href",void 0),(0,s._)([(0,c.r)("href")],g.prototype,"readHref",null),(0,s._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],g.prototype,"writeHref",null),(0,s._)([(0,a.J)(f)],g.prototype,"primitive",void 0),g=o=(0,s._)([(0,u.j)("esri.symbols.support.IconSymbol3DLayerResource")],g);var v,_=r(37308),w=r(92036);let C=v=class extends w.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new v({x:this.x,y:this.y})}};(0,s._)([(0,n.Cb)({type:Number})],C.prototype,"x",void 0),(0,s._)([(0,n.Cb)({type:Number})],C.prototype,"y",void 0),C=v=(0,s._)([(0,u.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],C);var S,Z=r(22303),j=r(62357);let x=S=class extends y.wq{constructor(e){super(e),this.color=new Z.Z([0,0,0,1]),this.size=(0,j.Wz)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new S(e)}};(0,s._)([(0,n.Cb)(_.a)],x.prototype,"color",void 0),(0,s._)([(0,n.Cb)(_.y)],x.prototype,"size",void 0),x=S=(0,s._)([(0,u.j)("esri.symbols.support.Symbol3DIconOutline")],x);var O,L=r(52879);const P="esri.symbols.IconSymbol3DLayer";let D=O=class extends p.Z{constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null}clone(){return new O({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:null!=this.material?this.material.clone():null,outline:null!=this.outline?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ix,r=z(e),o=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ix).clone()}:null;return new O({size:e.size,resource:{primitive:M(e.style)},material:{color:t},outline:o,anchor:r?"relative":void 0,anchorPosition:r})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.rx)(e.color)?h.ix:e.color,r=z(e);return new O({size:e.width<=e.height?e.height:e.width,resource:{href:e.url},material:{color:t.clone()},anchor:r?"relative":void 0,anchorPosition:r})}static fromCIMSymbol(e){return new O({resource:{href:(0,l._l)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function z(e){const t="width"in e?e.width:e.size,r="height"in e?e.height:e.size,o=N(e.xoffset),s=N(e.yoffset);return(o||s)&&t&&r?{x:-o/t,y:s/r}:null}function N(e){return isFinite(e)?e:0}(0,s._)([(0,n.Cb)({type:L.b,json:{write:!0}})],D.prototype,"material",void 0),(0,s._)([(0,n.Cb)({type:g,json:{write:!0}})],D.prototype,"resource",void 0),(0,s._)([(0,a.J)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,s._)([(0,n.Cb)(_.y)],D.prototype,"size",void 0),(0,s._)([(0,a.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,n.Cb)({json:{default:"center"}})],D.prototype,"anchor",void 0),(0,s._)([(0,n.Cb)({type:C,json:{type:[Number],read:{reader:e=>new C({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,s._)([(0,n.Cb)({type:x,json:{write:!0}})],D.prototype,"outline",void 0),D=O=(0,s._)([(0,u.j)(P)],D);const k={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function M(e){return k[e]||(i.Z.getLogger(P).warn(`${e} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const q=D},20825:(e,t,r)=>{r.d(t,{Z:()=>b});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(87223),h=r(2283),d=r(84275),y=r(7413);const c=i.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let m=o=class extends p.Z{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new c,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,d.gv)(this)}hasVisibleVerticalOffset(){return(0,d.Uy)(this)}clone(){return new o({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(e){return new o({symbolLayers:[h.Z.fromTextSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:y.Z,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(d.Y2)],m.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.Cb)({type:c})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=o=(0,s._)([(0,u.j)("esri.symbols.LabelSymbol3D")],m);const b=m},98587:(e,t,r)=>{r.d(t,{Z:()=>b});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(38128),h=r(96742),d=r(87223);const y=i.Z.ofType({base:null,key:"type",typeMap:{line:p.Z,path:h.Z}}),c=i.Z.ofType({base:null,key:"type",typeMap:{line:p.Z,path:h.Z}});let m=o=class extends d.Z{constructor(e){super(e),this.symbolLayers=new y,this.type="line-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleLineSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:y,json:{type:c}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=o=(0,s._)([(0,u.j)("esri.symbols.LineSymbol3D")],m);const b=m},38128:(e,t,r)=>{r.d(t,{Z:()=>Z});var o=r(43697),s=r(62357),i=r(5600),l=r(75215),n=(r(67676),r(80442),r(36030)),a=r(52011),u=r(22303),p=r(2368),h=r(96674),d=r(57742);let y=class extends((0,p.J)(h.wq)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],y.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:d.J,json:{default:"begin-end",write:!0}})],y.prototype,"placement",void 0),(0,o._)([(0,i.Cb)({type:d.k,json:{default:"arrow",write:!0}})],y.prototype,"style",void 0),(0,o._)([(0,i.Cb)({type:u.Z,json:{type:[l.z8],default:null,write:!0}})],y.prototype,"color",void 0),y=(0,o._)([(0,a.j)("esri.symbols.LineStyleMarker3D")],y);const c=y;var m,b=r(95868),f=r(4618),g=r(17495),v=r(50178),_=r(37308),w=r(52879),C=r(45119);let S=m=class extends b.Z{constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.Wz)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new m(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.Wz)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style&&"inside-frame"!==e.style?new f.Z({style:e.style}):null,material:new w.b({color:(e.color||v.ix).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new m(t)}};(0,o._)([(0,i.Cb)({type:w.b,json:{write:!0}})],S.prototype,"material",void 0),(0,o._)([(0,n.J)({Line:"line"},{readOnly:!0})],S.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:C.w2,json:{write:!0,default:"miter"}})],S.prototype,"join",void 0),(0,o._)([(0,i.Cb)({type:C.Hc,json:{write:!0,default:"butt"}})],S.prototype,"cap",void 0),(0,o._)([(0,i.Cb)(_.y)],S.prototype,"size",void 0),(0,o._)([(0,i.Cb)(g.D)],S.prototype,"pattern",void 0),(0,o._)([(0,i.Cb)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],S.prototype,"marker",void 0),S=m=(0,o._)([(0,a.j)("esri.symbols.LineSymbol3DLayer")],S);const Z=S},40908:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(62357),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(89164);let a=class extends n.Z{constructor(e){super(e),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,o._)([(0,i.Cb)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,o._)([(0,i.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:e=>"auto"===e?e:(0,s.t_)(e),json:{write:!0}})],a.prototype,"size",void 0),a=(0,o._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const u=a},3456:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(95191),h=r(87223);const d=i.Z.ofType({base:null,key:"type",typeMap:{fill:p.Z}});let y=o=class extends h.Z{constructor(e){super(e),this.symbolLayers=new d,this.type="mesh-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleFillSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:d})],y.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],y.prototype,"type",void 0),y=o=(0,s._)([(0,u.j)("esri.symbols.MeshSymbol3D")],y);const c=y},17143:(e,t,r)=>{r.d(t,{Z:()=>_});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(35454),p=r(96674),h=r(25929);const d=(0,u.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let y=o=class extends p.wq{clone(){return new o({href:this.href,primitive:this.primitive})}};(0,s._)([(0,i.Cb)({type:String,json:{read:h.r,write:h.w}})],y.prototype,"href",void 0),(0,s._)([(0,l.J)(d)],y.prototype,"primitive",void 0),y=o=(0,s._)([(0,n.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],y);var c,m=r(92036);let b=c=class extends m.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new c({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"x",void 0),(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"y",void 0),(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"z",void 0),b=c=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],b);var f,g=r(52879);let v=f=class extends a.Z{constructor(e){super(e),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:null!=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,i.Cb)({type:g.b,json:{write:!0}})],v.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],v.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)({type:y,json:{write:!0}})],v.prototype,"resource",void 0),(0,s._)([(0,l.J)({Object:"object"},{readOnly:!0})],v.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"width",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"height",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"depth",void 0),(0,s._)([(0,l.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,i.Cb)({json:{default:"origin"}})],v.prototype,"anchor",void 0),(0,s._)([(0,i.Cb)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],v.prototype,"anchorPosition",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"tilt",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,s._)([(0,i.Cb)({readOnly:!0})],v.prototype,"isPrimitive",null),v=f=(0,s._)([(0,n.j)("esri.symbols.ObjectSymbol3DLayer")],v);const _=v},96742:(e,t,r)=>{r.d(t,{Z:()=>y});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(71715),a=r(52011),u=r(95868),p=r(52879),h=r(45119);let d=o=class extends u.Z{constructor(e){super(e),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(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new o({enabled:this.enabled,material:null!=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,i.Cb)({type:p.b,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,l.J)({Path:"path"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],d.prototype,"profile",void 0),(0,s._)([(0,i.Cb)({type:h.w2,json:{write:!0,default:"miter"}})],d.prototype,"join",void 0),(0,s._)([(0,i.Cb)({type:h.KW,json:{write:!0,default:"butt"}})],d.prototype,"cap",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],d.prototype,"width",void 0),(0,s._)([(0,n.r)("width",["width","size","height"])],d.prototype,"readWidth",null),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,n.r)("height",["height","size","width"])],d.prototype,"readHeight",null),(0,s._)([(0,i.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],d.prototype,"anchor",void 0),(0,s._)([(0,i.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],d.prototype,"profileRotation",void 0),d=o=(0,s._)([(0,a.j)("esri.symbols.PathSymbol3DLayer")],d);const y=d},37898:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(22974),l=r(62357),n=r(5600),a=(r(75215),r(36030)),u=r(71715),p=r(52011),h=r(40908),d=r(94075);let y=o=class extends h.Z{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const o={};return e&&(o.url=e),null!=t&&(o.width=(0,l.t_)(t)),null!=r&&(o.height=(0,l.t_)(r)),o}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new o({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.d9)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.Cb)({json:{write:!1}})],y.prototype,"color",void 0),(0,s._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,s._)([(0,n.Cb)(d.KA)],y.prototype,"url",void 0),(0,s._)([(0,n.Cb)(d.Ds)],y.prototype,"source",void 0),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"height",void 0),(0,s._)([(0,u.r)("height",["height","size"])],y.prototype,"readHeight",null),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"width",void 0),(0,s._)([(0,n.Cb)({json:{write:!1}})],y.prototype,"size",void 0),y=o=(0,s._)([(0,p.j)("esri.symbols.PictureMarkerSymbol")],y);const c=y},42143:(e,t,r)=>{r.d(t,{Z:()=>g});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(50575),h=r(17143),d=r(87223),y=r(2283),c=r(84275),m=r(7413);const b=i.Z.ofType({base:null,key:"type",typeMap:{icon:p.Z,object:h.Z,text:y.Z}});let f=o=class extends d.Z{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,c.gv)(this)}hasVisibleVerticalOffset(){return(0,c.Uy)(this)}clone(){return new o({verticalOffset:(0,l.d9)(this.verticalOffset),callout:(0,l.d9)(this.callout),styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleMarkerSymbol(e)]})}static fromPictureMarkerSymbol(e){return new o({symbolLayers:[p.Z.fromPictureMarkerSymbol(e)]})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const r=e.data.symbol;return new o(r?.callout?{symbolLayers:[p.Z.fromCIMSymbol(e)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}:{symbolLayers:[p.Z.fromCIMSymbol(e)]})}static fromTextSymbol(e){return new o({symbolLayers:[y.Z.fromTextSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:m.Z,json:{write:!0}})],f.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(c.Y2)],f.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({type:b,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=o=(0,s._)([(0,u.j)("esri.symbols.PointSymbol3D")],f);const g=f},86114:(e,t,r)=>{r.d(t,{Z:()=>_});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(38445),h=r(95191),d=r(50575),y=r(38128),c=r(17143),m=r(87223),b=r(2283),f=r(44398);const g=i.Z.ofType({base:null,key:"type",typeMap:{extrude:p.Z,fill:h.Z,icon:d.Z,line:y.Z,object:c.Z,text:b.Z,water:f.Z}});let v=o=class extends m.Z{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromJSON(e){const t=new o;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const r=t.symbolLayers.at(0),o=t.symbolLayers.at(1);!o.enabled||e.symbolLayers&&e.symbolLayers[1]&&!1===e.symbolLayers[1].enable||(r.outline={size:o.size,color:null!=o.material?o.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new o({symbolLayers:[h.Z.fromSimpleFillSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:g,json:{write:!0}})],v.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],v.prototype,"type",void 0),v=o=(0,s._)([(0,u.j)("esri.symbols.PolygonSymbol3D")],v);const _=v},20256:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22303),l=r(35454),n=r(22974),a=r(5600),u=(r(75215),r(36030)),p=r(52011),h=r(21218),d=r(4095);const y=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=o=class extends h.Z{constructor(...e){super(...e),this.color=new i.Z([0,0,0,.25]),this.outline=new d.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e)return e;const o={};return e&&(o.style=e),t&&(o.outline=t),r&&(o.color=r),o}clone(){return new o({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)()],c.prototype,"color",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"outline",void 0),(0,s._)([(0,u.J)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:y.apiValues,json:{read:y.read,write:y.write}})],c.prototype,"style",void 0),c=o=(0,s._)([(0,p.j)("esri.symbols.SimpleFillSymbol")],c);const m=c},4095:(e,t,r)=>{r.d(t,{Z:()=>Z});var o=r(43697),s=r(35454),i=r(22974),l=r(62357),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=(r(67676),r(80442),r(89164));let h=class extends p.Z{constructor(e){super(e),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,o._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,o._)([(0,u.j)("esri.symbols.LineSymbol")],h);const d=h;var y,c=r(22303),m=r(96674),b=r(71715),f=r(30556),g=r(57742);let v=y=class extends m.wq{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,r,o){t[r]="web-map"===o?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return e&&null!=e[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,r,o){"web-map"===o?.origin||(t[r]=e)}clone(){return new y({color:(0,i.d9)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,o._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],v.prototype,"placement",void 0),(0,o._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],v.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:g.k})],v.prototype,"style",void 0),(0,o._)([(0,f.c)("style")],v.prototype,"writeStyle",null),(0,o._)([(0,n.Cb)({type:c.Z,value:null,json:{write:{allowNull:!0}}})],v.prototype,"color",null),(0,o._)([(0,b.r)("color")],v.prototype,"readColor",null),(0,o._)([(0,f.c)("color")],v.prototype,"writeColor",null),v=y=(0,o._)([(0,u.j)("esri.symbols.LineSymbolMarker")],v);const _=v;var w;const C=new s.X({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 S=w=class extends d{constructor(...e){super(...e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(e,t,r,o,s,i){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=r&&(n.width=(0,l.t_)(r)),null!=o&&(n.cap=o),null!=s&&(n.join=s),null!=i&&(n.miterLimit=(0,l.t_)(i)),n}clone(){return new w({color:(0,i.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,o._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:C.apiValues,json:{read:C.read,write:C.write}})],S.prototype,"style",void 0),(0,o._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&(null==r||null==r.origin)})}}})],S.prototype,"cap",void 0),(0,o._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&(null==r||null==r.origin)})}}})],S.prototype,"join",void 0),(0,o._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,o._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,o._)([(0,u.j)("esri.symbols.SimpleLineSymbol")],S);const Z=S},77987:(e,t,r)=>{r.d(t,{Z:()=>f});var o,s=r(43697),i=r(22303),l=r(35454),n=r(22974),a=r(62357),u=r(5600),p=(r(75215),r(36030)),h=r(52011),d=r(30556),y=r(40908),c=r(4095);const m=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let b=o=class extends y.Z{constructor(...e){super(...e),this.color=new i.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new c.Z}normalizeCtorArgs(e,t,r,o){if(e&&"string"!=typeof e)return e;const s={};return e&&(s.style=e),null!=t&&(s.size=(0,a.t_)(t)),r&&(s.outline=r),o&&(s.color=o),s}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}set path(e){this.style="path",this._set("path",e)}clone(){return new o({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(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,s._)([(0,u.Cb)()],b.prototype,"color",void 0),(0,s._)([(0,d.c)("color")],b.prototype,"writeColor",null),(0,s._)([(0,p.J)({esriSMS:"simple-marker"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,u.Cb)()],b.prototype,"size",void 0),(0,s._)([(0,u.Cb)({type:m.apiValues,json:{read:m.read,write:m.write}})],b.prototype,"style",void 0),(0,s._)([(0,u.Cb)({type:String,json:{write:!0}})],b.prototype,"path",null),(0,s._)([(0,u.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":c.Z}},json:{default:null,write:!0}})],b.prototype,"outline",void 0),b=o=(0,s._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],b);const f=b},89164:(e,t,r)=>{r.d(t,{Z:()=>y});var o=r(43697),s=r(22303),i=r(35454),l=r(96674),n=r(5600),a=(r(75215),r(67676),r(80442),r(71715)),u=r(52011);const p=new i.X({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 h=0,d=class extends l.wq{constructor(e){super(e),this.id="sym"+h++,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,o._)([(0,n.Cb)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write}}})],d.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:s.Z,json:{write:{allowNull:!0}}})],d.prototype,"color",void 0),(0,o._)([(0,a.r)("color")],d.prototype,"readColor",null),d=(0,o._)([(0,u.j)("esri.symbols.Symbol")],d);const y=d},87223:(e,t,r)=>{r.d(t,{Z:()=>z});var o=r(43697),s=r(46791),i=r(70921),l=r(92604),n=r(81271),a=r(20941),u=r(5600),p=r(90578),h=(r(67676),r(80442),r(71715)),d=r(52011),y=r(30556),c=r(48522),m=r(25929),b=r(38445),f=r(95191),g=r(50575),v=r(38128),_=r(17143),w=r(96742),C=r(89164),S=r(95868),Z=r(2283),j=r(44398),x=r(71144),O=r(23203);const L={icon:g.Z,object:_.Z,line:v.Z,path:w.Z,fill:f.Z,extrude:b.Z,text:Z.Z,water:j.Z},P=s.Z.ofType({base:S.Z,key:"type",typeMap:L,errorContext:"symbol-layer"});let D=class extends C.Z{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,r=t&&t.type||s.Z;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.Z.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.Z)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,r){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,r);return new x.Z({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new x.Z({portal:r&&r.portal||c.Z.getDefault(),styleName:e.styleName,name:e.name});r&&r.messages&&r.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:r,definition:e}))}writeStyleOrigin(e,t,r,o){if(e.styleUrl&&e.name){let r=(0,m.t)(e.styleUrl,o);(0,n.YP)(r)&&(r=(0,n.Fv)(r)),t.styleOrigin={styleUrl:r,name:e.name}}else e.styleName&&e.name&&(e.portal&&o&&o.portal&&!(0,n.tm)(e.portal.restUrl,o.portal.restUrl)?o&&o.messages&&o.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})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof S.Z||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,o._)([(0,u.Cb)({json:{read:!1,write:!1}})],D.prototype,"color",null),(0,o._)([(0,u.Cb)({type:P,nonNullable:!0,json:{write:!0}}),(0,p.p)(i.R)],D.prototype,"symbolLayers",null),(0,o._)([(0,u.Cb)({type:x.Z})],D.prototype,"styleOrigin",void 0),(0,o._)([(0,h.r)("styleOrigin")],D.prototype,"readStyleOrigin",null),(0,o._)([(0,y.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],D.prototype,"writeStyleOrigin",null),(0,o._)([(0,u.Cb)({type:O.p,json:{read:!1}})],D.prototype,"thumbnail",void 0),(0,o._)([(0,u.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],D.prototype,"type",void 0),D=(0,o._)([(0,d.j)("esri.symbols.Symbol3D")],D);const z=D},95868:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(30556);let a=class extends s.wq{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,r){e||(t[r]=e)}};(0,o._)([(0,i.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,o._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,o._)([(0,i.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,o._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const u=a},78724:(e,t,r)=>{r.d(t,{Z:()=>f});var o,s=r(43697),i=r(22303),l=r(22974),n=r(62357),a=r(5600),u=r(90578),p=r(36030),h=r(52011),d=r(30556),y=r(31134),c=r(89164),m=r(61565);let b=o=class extends c.Z{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new y.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(e,t,r){if(e&&"string"!=typeof e)return e;const o={};return e&&(o.text=e),t&&(o.font=t),r&&(o.color=r),o}writeLineWidth(e,t,r,o){o&&"string"!=typeof o?o.origin:t[r]=e}castLineWidth(e){return(0,n.t_)(e)}writeLineHeight(e,t,r,o){o&&"string"!=typeof o?o.origin:t[r]=e}clone(){return new o({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},cast:n.t_})],b.prototype,"borderLineSize",void 0),(0,s._)([(0,a.Cb)({type:y.Z,json:{write:!0}})],b.prototype,"font",void 0),(0,s._)([(0,a.Cb)({...m.x0,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,p.J)({esriTS:"text"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)({...m.Nj,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:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],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,u.p)("lineWidth")],b.prototype,"castLineWidth",null),(0,s._)([(0,a.Cb)(m.Ck)],b.prototype,"lineHeight",void 0),(0,s._)([(0,d.c)("lineHeight")],b.prototype,"writeLineHeight",null),b=o=(0,s._)([(0,h.j)("esri.symbols.TextSymbol")],b);const f=b},2283:(e,t,r)=>{r.d(t,{Z:()=>S});var o,s=r(43697),i=r(22974),l=r(5600),n=(r(75215),r(36030)),a=r(52011),u=r(30556),p=r(31134),h=r(95868),d=r(37308),y=r(22303),c=r(96674);let m=o=class extends c.wq{constructor(){super(...arguments),this.color=new y.Z([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.d9)(this.color),size:this.size};return new o(e)}};(0,s._)([(0,l.Cb)(d.a)],m.prototype,"color",void 0),(0,s._)([(0,l.Cb)(d.y)],m.prototype,"size",void 0),m=o=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DHalo")],m);var b=r(52879),f=r(2368);r(67676),r(80442);let g=class extends((0,f.J)(c.wq)){constructor(e){super(e),this.color=null}};(0,s._)([(0,l.Cb)(d.a)],g.prototype,"color",void 0),g=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DTextBackground")],g);var v,_=r(61565);let w=v=class extends h.Z{constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,r,o){const s={...o,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font&&null!=this.font.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new v({enabled:this.enabled,font:this.font&&(0,i.d9)(this.font),halo:this.halo&&(0,i.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.d9)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new v({font:null!=e.font?e.font.clone():new p.Z,halo:C(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new b.b({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new g({color:e.backgroundColor.clone()}):null})}};function C(e,t){return e&&null!=t&&t>0?new m({color:(0,i.d9)(e),size:t}):null}(0,s._)([(0,l.Cb)({type:p.Z,json:{write:!0}})],w.prototype,"font",null),(0,s._)([(0,u.c)("font")],w.prototype,"writeFont",null),(0,s._)([(0,l.Cb)({type:m,json:{write:!0}})],w.prototype,"halo",void 0),(0,s._)([(0,l.Cb)({..._.x0,json:{default:"center",write:!0}})],w.prototype,"horizontalAlignment",void 0),(0,s._)([(0,l.Cb)({..._.Ck,json:{default:1,write:!0}})],w.prototype,"lineHeight",void 0),(0,s._)([(0,l.Cb)({type:b.b,json:{write:!0}})],w.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:g,json:{write:!0}})],w.prototype,"background",void 0),(0,s._)([(0,l.Cb)(d.y)],w.prototype,"size",null),(0,s._)([(0,l.Cb)({type:String,json:{write:!0}})],w.prototype,"text",void 0),(0,s._)([(0,n.J)({Text:"text"},{readOnly:!0})],w.prototype,"type",void 0),(0,s._)([(0,l.Cb)({..._.Nj,json:{default:"baseline",write:!0}})],w.prototype,"verticalAlignment",void 0),w=v=(0,s._)([(0,a.j)("esri.symbols.TextSymbol3DLayer")],w);const S=w},44398:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(22303),l=r(22974),n=r(5600),a=r(75215),u=r(36030),p=r(52011),h=r(95868);let d=o=class extends h.Z{constructor(e){super(e),this.color=y.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new o({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:(e,t,r)=>t[r]=e.toArray(i.Z.AlphaMode.UNLESS_OPAQUE),default:()=>y.clone(),defaultEquals:e=>e.toCss(!0)===y.toCss(!0)}})],d.prototype,"color",void 0),(0,s._)([(0,u.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=o=(0,s._)([(0,p.j)("esri.symbols.WaterSymbol3DLayer")],d);const y=new i.Z([0,119,190]),c=d},59390:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(92604),l=r(95330),n=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),u=r(52011),p=r(48522),h=r(25929),d=r(89164),y=r(23203);let c=o=class extends d.Z{constructor(e){super(e),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:p.Z.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new o({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol("webRef",e)}fetchCIMSymbol(e){return this._fetchSymbol("cimRef",e)}async _fetchSymbol(e,t){const o=null!=t?t.cache:null,s=o?this._fetchCacheKey:null;if(null!=o){const e=s&&o.get(s);if(e)return e.clone()}const{resolveWebStyleSymbol:n}=await r.e(4499).then(r.bind(r,74499));(0,l.k_)(t);const a=n(this,{portal:this.portal},e,t);a.catch((e=>{i.Z.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)}));const u=await a;return"webRef"===e&&"point-3d"===u.type||"cimRef"===e&&"cim"===u.type?(null!=o&&o.set(s,u.clone()),u):null}};(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,s._)([(0,n.Cb)({type:p.Z,json:{write:!1}})],c.prototype,"portal",void 0),(0,s._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],c.prototype,"styleUrl",void 0),(0,s._)([(0,n.Cb)({type:y.p,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,n.Cb)()],c.prototype,"_fetchCacheKey",null),c=o=(0,s._)([(0,u.j)("esri.symbols.WebStyleSymbol")],c);const m=c},27539:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e),this.visible=!0}clone(){}};(0,o._)([(0,i.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,o._)([(0,i.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,o._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22303),l=r(22974),n=r(62357),a=r(5600),u=(r(75215),r(36030)),p=r(52011),h=r(27539),d=r(6352),y=r(37308);let c=o=class extends h.Z{constructor(e){super(e),this.type="line",this.color=new i.Z([0,0,0,1]),this.size=(0,n.Wz)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new o({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,s._)([(0,u.J)({line:"line"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)(y.a)],c.prototype,"color",void 0),(0,s._)([(0,a.Cb)(y.y)],c.prototype,"size",void 0),(0,s._)([(0,a.Cb)({type:d.a,json:{write:!0}})],c.prototype,"border",void 0),(0,s._)([(0,a.Cb)({readOnly:!0})],c.prototype,"visible",null),c=o=(0,s._)([(0,p.j)("esri.symbols.callouts.LineCallout3D")],c);const m=c},84275:(e,t,r)=>{r.d(t,{Uy:()=>i,Y2:()=>n,gv:()=>l});var o=r(27539),s=r(69496);function i(e){if(!e)return!1;const t=e.verticalOffset;return!!t&&!(t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e)return!1;if(!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t&&!!t.visible&&!!i(e)}const n={types:{key:"type",base:o.Z,typeMap:{line:s.Z}},json:{write:!0}}},56332:(e,t,r)=>{r.d(t,{Z:()=>v});var o=r(43697),s=r(22303),i=r(96674),l=r(22974),n=r(62357),a=r(5600),u=(r(75215),r(52011)),p=r(37308);let h=class extends i.wq{constructor(e){super(e),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,o._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,o._)([(0,a.Cb)(p.a)],h.prototype,"color",void 0),(0,o._)([(0,a.Cb)({...p.y,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],h.prototype,"extensionLength",void 0),(0,o._)([(0,a.Cb)(p.y)],h.prototype,"size",void 0),h=(0,o._)([(0,u.j)("esri.symbols.edges.Edges3D")],h);const d=h;r(92604),r(67676),r(80442),r(20102);var y,c=r(36030);let m=y=class extends d{constructor(e){super(e),this.type="sketch"}clone(){return new y(this.cloneProperties())}};(0,o._)([(0,c.J)({sketch:"sketch"},{readOnly:!0})],m.prototype,"type",void 0),m=y=(0,o._)([(0,u.j)("esri.symbols.edges.SketchEdges3D")],m);const b=m;var f;let g=f=class extends d{constructor(e){super(e),this.type="solid"}clone(){return new f(this.cloneProperties())}};(0,o._)([(0,c.J)({solid:"solid"},{readOnly:!0})],g.prototype,"type",void 0),g=f=(0,o._)([(0,u.j)("esri.symbols.support.SolidEdges3D")],g);const v={types:{key:"type",base:d,typeMap:{solid:g,sketch:b}},json:{write:!0}}},32626:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e)}clone(){}};(0,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,o._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(35454),l=r(5600),n=(r(75215),r(67676),r(80442),r(36030)),a=r(52011),u=r(32626);const p=(0,i.w)()({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=o=class extends u.Z{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new o(e)}};(0,s._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,s._)([(0,n.J)(p),(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=o=(0,s._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const d=h},41776:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e)}clone(){}};(0,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,o._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(e,t,r)=>{r.d(t,{Z:()=>u});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(41776);let a=o=class extends n.Z{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new o(e)}};(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=o=(0,s._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const u=a},17495:(e,t,r)=>{r.d(t,{D:()=>a,q:()=>n});var o=r(32626),s=r(4618),i=r(41776),l=r(74721);const n={types:{key:"type",base:i.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:o.Z,typeMap:{style:s.Z}},json:{write:!0}}},71144:(e,t,r)=>{r.d(t,{Z:()=>p});var o,s=r(43697),i=r(92036),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(48522);let u=o=class extends i.Z{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new o({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.Cb)({type:String})],u.prototype,"name",void 0),(0,s._)([(0,l.Cb)({type:String})],u.prototype,"styleUrl",void 0),(0,s._)([(0,l.Cb)({type:String})],u.prototype,"styleName",void 0),(0,s._)([(0,l.Cb)({type:a.Z})],u.prototype,"portal",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.StyleOrigin")],u);const p=u},52879:(e,t,r)=>{r.d(t,{b:()=>u});var o,s=r(43697),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(37308);let u=o=class extends i.wq{constructor(e){super(e),this.color=null}clone(){const e={color:null!=this.color?this.color.clone():null};return new o(e)}};(0,s._)([(0,l.Cb)(a.a)],u.prototype,"color",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DMaterial")],u)},7413:(e,t,r)=>{r.d(t,{Z:()=>p});var o,s=r(43697),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(37308);let u=o=class extends i.wq{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new o({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.Cb)(a.y)],u.prototype,"screenLength",void 0),(0,s._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],u.prototype,"minWorldLength",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],u.prototype,"maxWorldLength",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],u);const p=u},23203:(e,t,r)=>{r.d(t,{p:()=>a});var o,s=r(43697),i=r(92036),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011));let a=o=class extends i.Z{constructor(){super(...arguments),this.url=""}clone(){return new o({url:this.url})}};(0,s._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=o=(0,s._)([(0,n.j)("esri.symbols.support.Thumbnail")],a)},50178:(e,t,r)=>{r.d(t,{ix:()=>s,l9:()=>i,rx:()=>l});var o=r(22303);const s=new o.Z("white"),i=(new o.Z("black"),new o.Z([255,255,255,0]));function l(e){return 0===e.r&&0===e.g&&0===e.b}},21878:(e,t,r)=>{r.d(t,{im:()=>Z,cW:()=>_,vX:()=>w});var o=r(9790),s=r(20102),i=r(84230),l=r(87223),n=r(59390),a=r(42143),u=r(4095),p=r(98587),h=r(77987),d=r(37898),y=r(20256),c=r(3456),m=r(86114),b=r(78724),f=r(20825);const g={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function v(e,t=g){if(!e)return{symbol:null};const{retainId:r=g.retainId,ignoreDrivers:i=g.ignoreDrivers,hasLabelingContext:l=g.hasLabelingContext,retainCIM:v=g.retainCIM}=t;let _=null;if((0,o.dU)(e)||e instanceof n.Z)_=e.clone();else if("cim"===e.type){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return{error:new s.Z("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${t||"unknown"}' is unsupported in 3D`,{symbol:e})};_=v?e.clone():a.Z.fromCIMSymbol(e)}else if(e instanceof u.Z)_=p.Z.fromSimpleLineSymbol(e);else if(e instanceof h.Z)_=a.Z.fromSimpleMarkerSymbol(e);else if(e instanceof d.Z)_=a.Z.fromPictureMarkerSymbol(e);else if(e instanceof y.Z)_=t.geometryType&&"mesh"===t.geometryType?c.Z.fromSimpleFillSymbol(e):m.Z.fromSimpleFillSymbol(e);else{if(!(e instanceof b.Z))return{error:new s.Z("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};_=l?f.Z.fromTextSymbol(e):a.Z.fromTextSymbol(e)}return r&&_&&"cim"!==_.type&&(_.id=e.id),i&&(0,o.dU)(_)&&_.symbolLayers.forEach((e=>e.ignoreDrivers=!0)),{symbol:_}}function _(e,t,r,o){const s=S(e,{},{context:o,isLabelSymbol:!1});null!=s&&(t[r]=s)}function w(e,t,r,o){const s=S(e,{},{context:o,isLabelSymbol:!0});null!=s&&(t[r]=s)}function C(e){return e instanceof l.Z||e instanceof n.Z}function S(e,t,r){if(null==e)return null;const{context:o,isLabelSymbol:l}=r,n=o?.origin,a=o?.messages;if("web-scene"===n&&!C(e)){const r=v(e,{retainCIM:!0,hasLabelingContext:l});return null!=r.symbol?r.symbol.write(t,o):(a?.push(new s.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:o,error:r.error})),null)}return("web-map"===n||"portal-item"===n&&!(0,i.A2)(o?.layer))&&C(e)?(a?.push(new s.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:o})),null):e.write(t,o)}function Z(e,t){return(0,o.S9)(e,null,t)}},57742:(e,t,r)=>{r.d(t,{J:()=>o,k:()=>s});const o=["begin","end","begin-end"],s=["arrow","circle","square","diamond","cross","x"]},37308:(e,t,r)=>{r.d(t,{a:()=>n,y:()=>a});var o=r(22303),s=r(62357),i=r(75215),l=r(65242);const n={type:o.Z,json:{type:[i.z8],default:null,read:{source:["color","transparency"],reader:function(e,t){const r=null!=t.transparency?(0,l.b)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new o.Z([s[0]||0,s[1]||0,s[2]||0,r]):null}},write:{target:{color:{type:[i.z8]},transparency:{type:i.z8}},writer:function(e,t){t.color=e.toJSON().slice(0,3);const r=(0,l.a)(e.a);0!==r&&(t.transparency=r)}}}},a={type:Number,cast:s.t_,json:{write:!0}}},27883:(e,t,r)=>{r.d(t,{EJ:()=>c,KV:()=>d,n2:()=>h,v9:()=>y,wm:()=>f});var o=r(3172),s=r(20102),i=r(95330),l=r(81271),n=r(48522),a=r(41253),u=r(72245);let p={};function h(e,t,r){return e&&null!=e.styleUrl?async function(e,t){try{return{data:(await c(e,t)).data,baseUrl:(0,l.Yd)(e),styleUrl:e}}catch(e){return(0,i.r9)(e),null}}(e.styleUrl,r):e&&null!=e.styleName?function(e,t,r){const o=null!=t.portal?t.portal:n.Z.getDefault();let i;const l=`${o.url} - ${o.user&&o.user.username} - ${e}`;return p[l]||(p[l]=function(e,t,r){return t.load(r).then((()=>{const o=new a.Z({disableExtraQuery:!0,query:`owner:${m} AND type:${b} AND typekeywords:"${e}"`});return t.queryItems(o,r)})).then((({results:t})=>{let o=null;const i=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some((e=>e.toLowerCase()===i));if(t&&e.type===b&&e.owner===m){o=e;break}}if(!o)throw new s.Z("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return o.load(r)}))}(e,o,r).then((e=>(i=e,e.fetchData()))).then((t=>({data:t,baseUrl:i.itemUrl??"",styleName:e})))),p[l]}(e.styleName,t,r):Promise.reject(new s.Z("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t,r=["gltf"]){if("cimRef"===t)return e.cimRef;if(e.formatInfos&&!(0,u.K3)())for(const t of r){const r=e.formatInfos.find((e=>e.type===t));if(r)return r.href}return e.webRef}function c(e,t){const r={responseType:"json",query:{f:"json"},...t};return(0,o.default)((0,l.Fv)(e),r)}const m="esri_en",b="Style",f="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},45119:(e,t,r)=>{r.d(t,{Hc:()=>a,KW:()=>u,Uz:()=>n,w2:()=>p}),r(80442),r(65617);var o=r(60437);const s=(0,o.al)(-.5,-.5,-.5,.5,.5,.5),i=(0,o.al)(-.5,-.5,0,.5,.5,1),l=(0,o.al)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return s;case"cylinder":case"cone":case"inverted-cone":return i;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],u=[...a,"none"],p=["miter","bevel","round"]},61565:(e,t,r)=>{r.d(t,{Ck:()=>a,JT:()=>i,M8:()=>h,Nj:()=>p,g6:()=>l,vC:()=>n,x0:()=>u});var o=r(22021),s=r(75215);const i=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,s.q9)(e);return 0===t?1:(0,o.uZ)(t,.1,4)},nonNullable:!0},u={type:["left","right","center"],nonNullable:!0},p={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},94075:(e,t,r)=>{r.d(t,{Ds:()=>n,KA:()=>l});var o=r(81271),s=r(25929);function i(e,t){return function(e){return!(null==e||"service"!==e.origin&&"portal-item"!==e.origin||"feature"!==e.layer?.type&&"stream"!==e.layer?.type)}(t)&&!(0,o.YP)(e)&&t?.layer?.parsedUrl?(0,o.v_)(t.layer.parsedUrl.path,"images",e):(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,r){return t.imageData?(0,o._l)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,r)}},write:{writer(e,t,r,i){!function(e,t,r,i){if((0,o.HK)(e)){const l=(0,o.sJ)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,r&&r.imageData===t.imageData&&r.url&&(0,s.w)(r.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,r){const o={};return t.imageData&&(o.imageData=t.imageData),t.contentType&&(o.contentType=t.contentType),t.url&&(o.url=i(t.url,r)),o}}}}},65242:(e,t,r)=>{r.d(t,{a:()=>s,b:()=>i});var o=r(75215);function s(e){const t=(0,o.vU)(100*(1-e));return Math.max(0,Math.min(t,100))}function i(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);