@arcgis/core 5.2.0-next.6 → 5.2.0-next.7

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 (346) hide show
  1. package/WebLinkChart.d.ts +1 -1
  2. package/WebMap.d.ts +2 -2
  3. package/WebScene.d.ts +3 -3
  4. package/arcade.d.ts +9 -9
  5. package/arcgisGlobal.d.ts +4 -0
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +1 -0
  8. package/assets/esri/core/workers/chunks/{07a242ea908aa8e2ba28.js → 09a4139fc6d069ab6928.js} +1 -1
  9. package/assets/esri/core/workers/chunks/09d0e430c66788a2626f.js +640 -0
  10. package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +1 -0
  11. package/assets/esri/core/workers/chunks/{829a0583b8a228c65379.js → 0b169bb1969f86232a1a.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{20e2d11f6de438ee883e.js → 0ded58ccb83f624f1460.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{d1ac98f48bb6d43d97c8.js → 0f3654c8157ec8f22869.js} +3 -3
  14. package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +1 -0
  15. package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +1 -0
  16. package/assets/esri/core/workers/chunks/{c27cb2a83a1d2e004501.js → 238478cfe493fd4a6100.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 2413b383b7f2bdcd4ced.js} +1 -1
  18. package/assets/esri/core/workers/chunks/277718031c903da2b3b9.js +1 -0
  19. package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
  21. package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +1 -0
  22. package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
  23. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
  24. package/assets/esri/core/workers/chunks/{eedee0af459e6b8a6116.js → 33e0130e6a40fc768978.js} +1 -1
  25. package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +1 -0
  26. package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +1 -0
  28. package/assets/esri/core/workers/chunks/{a96c7432ca97cbeef4b8.js → 3db898a38a7c5f0efb48.js} +1 -1
  29. package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +1 -0
  30. package/assets/esri/core/workers/chunks/{24eaf1349ffe10e616e6.js → 40c4e14e7bb505ef10a3.js} +1 -1
  31. package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +1 -0
  32. package/assets/esri/core/workers/chunks/{b002304a45856b024b46.js → 4714241189c13d0db897.js} +1 -1
  33. package/assets/esri/core/workers/chunks/485d20152495c27b8074.js +1 -0
  34. package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 4894997bfa438f66da36.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{0e774f14ba274832f390.js → 520e0e5307eef27becc6.js} +1 -1
  36. package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
  37. package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 542f5469f7b42026b24f.js} +1 -1
  38. package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +1 -0
  39. package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → 5e3e0d7b85dfd52d1c7d.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{f5a2c28dc26c065ea355.js → 62dfbdc847be4800e833.js} +22 -20
  42. package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js → 62e77e3c5ca9b4887923.js} +2 -2
  43. package/assets/esri/core/workers/chunks/{cc479daacd2cf715baa8.js → 62fc3c367f736c73b0d7.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{b1f1271434af302938e8.js → 643c33a98f2d30a92001.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{1c1515e020e32e177b54.js → 6a5356ebed70e0f8f979.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{3402fb9c596b582311c7.js → 75839240022b280929f7.js} +1 -1
  47. package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
  48. package/assets/esri/core/workers/chunks/{6637f19b82555738a1d5.js → 78aa5bc6af2758da20d0.js} +1 -1
  49. package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +2 -0
  50. package/assets/esri/core/workers/chunks/{153dc2a0b08a0e44a881.js → 8419934bec7723b0feef.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → 875cce0be4f6c89f80f3.js} +2 -2
  52. package/assets/esri/core/workers/chunks/{c319c3b85cdec73a9f45.js → 877c848beaf9a939862c.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{ae74f722fb385e45fcf1.js → 893c0d28a5bf3f9f29f1.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 90953a827bc89d0e6bd5.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{14c6419568d8a7a15cd6.js → 92ab5886aa2d8b9b179f.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → 992a90ecbab931198fd0.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{1765042635084f75d2b3.js → 9b676606bf839b7aa433.js} +1 -1
  59. package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +1 -0
  60. package/assets/esri/core/workers/chunks/{ea8f642b1db933d2c26f.js → a2ac139d0975085279a6.js} +1 -1
  61. package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +1 -0
  62. package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
  63. package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → b23009d9f8eb7c20ce45.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → b79428c5093614174e76.js} +1 -1
  65. package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
  66. package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
  67. package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
  68. package/assets/esri/core/workers/chunks/{f79bd469b25099a31274.js → ca6907e14b1dde4d5c07.js} +1 -1
  69. package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +1 -0
  70. package/assets/esri/core/workers/chunks/{8f94c90fdb0333da2d0f.js → cfd28eba44cf5a296c6d.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{e9dcc3e9dbafe9bbed84.js → d21480b078ec9680d4c4.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{ace1899a8e5162b4018d.js → d6bb8db22ba85ad05fd7.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js → d9d4754062758789f186.js} +2 -2
  74. package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → e094364e54981c91e1b4.js} +1 -1
  75. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
  76. package/assets/esri/core/workers/chunks/{3e3134e4bc34d4e07179.js → e545df5ea7c0ced92cee.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{49f6c9e9980b8c624fd7.js → f02fe24177e56a7e42b2.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js → f5731ad4cfbbf1cc569a.js} +2 -2
  79. package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
  80. package/chunks/RealisticTree.glsl.js +17 -15
  81. package/config.d.ts +2 -2
  82. package/config.js +1 -1
  83. package/core/Collection.d.ts +25 -25
  84. package/core/Error.d.ts +1 -1
  85. package/core/JSONSupport.d.ts +1 -1
  86. package/core/promiseUtils.d.ts +3 -3
  87. package/core/reactiveUtils.d.ts +4 -4
  88. package/core/sql/WhereClause.d.ts +1 -1
  89. package/core/timeUtils.d.ts +1 -1
  90. package/core/workers/Connection.d.ts +9 -9
  91. package/core/workers.d.ts +1 -1
  92. package/editing/types.d.ts +3 -3
  93. package/geometry/Mesh.d.ts +9 -2
  94. package/geometry/Mesh.js +1 -1
  95. package/geometry/support/MeshMaterial.d.ts +5 -5
  96. package/geometry/support/MeshTexture.d.ts +19 -19
  97. package/geometry/support/jsonUtils.d.ts +1 -1
  98. package/geometry/support/meshUtils.d.ts +130 -2
  99. package/geometry/support/meshUtils.js +1 -1
  100. package/identity/Credential.d.ts +1 -1
  101. package/identity/IdentityManager.d.ts +1 -1
  102. package/identity/OAuthInfo.d.ts +1 -1
  103. package/identity/ServerInfo.d.ts +2 -2
  104. package/interfaces.d.ts +13 -0
  105. package/intl/number.d.ts +3 -3
  106. package/intl/substitute.d.ts +2 -2
  107. package/intl.d.ts +28 -28
  108. package/kernel.js +1 -1
  109. package/layers/AnnotationLayer.js +1 -1
  110. package/layers/BaseDynamicLayer.d.ts +5 -5
  111. package/layers/BaseTileLayer.d.ts +4 -4
  112. package/layers/BuildingSceneLayer.d.ts +1 -1
  113. package/layers/CSVLayer.d.ts +7 -1
  114. package/layers/CatalogLayer.d.ts +6 -0
  115. package/layers/DimensionFeatureLayer.js +1 -1
  116. package/layers/FeatureLayer.d.ts +44 -7
  117. package/layers/FeatureLayer.js +1 -1
  118. package/layers/GeoJSONLayer.d.ts +7 -1
  119. package/layers/LinkChartLayer.js +1 -1
  120. package/layers/MapImageLayer.d.ts +5 -5
  121. package/layers/MediaLayer.d.ts +2 -2
  122. package/layers/OrientedImageryLayer.d.ts +29 -2
  123. package/layers/ParquetLayer.d.ts +7 -1
  124. package/layers/SceneLayer.d.ts +1 -1
  125. package/layers/SceneLayer.js +1 -1
  126. package/layers/StreamLayer.d.ts +1 -1
  127. package/layers/SubtypeGroupLayer.d.ts +7 -1
  128. package/layers/TileLayer.d.ts +2 -2
  129. package/layers/VideoLayer.d.ts +1 -1
  130. package/layers/VoxelLayer.d.ts +4 -4
  131. package/layers/WCSLayer.d.ts +2 -2
  132. package/layers/WFSLayer.d.ts +6 -0
  133. package/layers/WebTileLayer.d.ts +1 -1
  134. package/layers/catalog/CatalogFootprintLayer.d.ts +20 -1
  135. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  136. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +6 -0
  137. package/layers/mixins/ArcGISImageService.d.ts +7 -1
  138. package/layers/mixins/BlendLayer.d.ts +1 -1
  139. package/layers/mixins/DataSeriesLayer.d.ts +161 -0
  140. package/layers/mixins/DataSeriesLayer.js +2 -0
  141. package/layers/mixins/FeatureLayerBase.d.ts +3 -3
  142. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  143. package/layers/support/DateTimeFieldFormat.d.ts +10 -10
  144. package/layers/support/FeatureEffect.d.ts +22 -22
  145. package/layers/support/FeatureReductionBinning.d.ts +12 -0
  146. package/layers/support/FeatureReductionCluster.d.ts +12 -0
  147. package/layers/support/Field.d.ts +2 -2
  148. package/layers/support/ImageElement.d.ts +1 -1
  149. package/layers/support/MosaicRule.d.ts +0 -2
  150. package/layers/support/NumberFieldFormat.d.ts +5 -5
  151. package/layers/support/StreamConnection.d.ts +1 -1
  152. package/layers/support/Sublayer.d.ts +2 -2
  153. package/layers/support/SubtypeSublayer.d.ts +14 -1
  154. package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
  155. package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
  156. package/layers/support/TimeSeriesInfo.d.ts +149 -0
  157. package/layers/support/TimeSeriesInfo.js +2 -0
  158. package/layers/support/VideoElement.d.ts +1 -1
  159. package/layers/support/dataSeriesUtils.d.ts +18 -0
  160. package/layers/support/dataSeriesUtils.js +2 -0
  161. package/layers/support/kmlUtils.js +1 -1
  162. package/layers/support/timeSeriesUtils.d.ts +27 -0
  163. package/layers/support/timeSeriesUtils.js +2 -0
  164. package/layers/types.d.ts +1 -1
  165. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  166. package/networks/CircuitManager.d.ts +1 -1
  167. package/networks/Network.d.ts +1 -1
  168. package/networks/UnitIdentifierManager.d.ts +1 -1
  169. package/networks/support/NamedTraceConfiguration.d.ts +1 -1
  170. package/networks/support/TraceConfiguration.d.ts +2 -2
  171. package/networks/support/UNTraceConfiguration.d.ts +3 -3
  172. package/networks/support/jsonTypes.d.ts +7 -1
  173. package/networks/support/utils.js +1 -1
  174. package/package.json +3 -3
  175. package/popup/content/CustomContent.d.ts +1 -1
  176. package/portal/Portal.d.ts +2 -2
  177. package/portal/jsonTypes.d.ts +2 -2
  178. package/renderers/support/AuthoringInfo.d.ts +14 -1
  179. package/renderers/support/AuthoringInfo.js +1 -1
  180. package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
  181. package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
  182. package/renderers/support/jsonUtils.d.ts +1 -1
  183. package/renderers/support/utils.d.ts +1 -1
  184. package/renderers/visualVariables/RotationVariable.d.ts +16 -1
  185. package/renderers/visualVariables/RotationVariable.js +1 -1
  186. package/request/types.d.ts +23 -23
  187. package/rest/geometryService.d.ts +1 -1
  188. package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +1 -1
  189. package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
  190. package/rest/knowledgeGraph/GraphProperty.d.ts +5 -1
  191. package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
  192. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
  193. package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
  194. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
  195. package/rest/knowledgeGraphService.d.ts +13 -13
  196. package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
  197. package/rest/print.d.ts +1 -1
  198. package/rest/support/AttributeBinsQuery.d.ts +16 -2
  199. package/rest/support/ClosestFacilityParameters.d.ts +6 -6
  200. package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
  201. package/rest/support/LocationToAddressParameters.d.ts +1 -1
  202. package/rest/support/PrintTemplate.d.ts +5 -5
  203. package/rest/support/Query.d.ts +18 -4
  204. package/rest/support/RouteParameters.d.ts +5 -5
  205. package/rest/support/ServiceAreaParameters.d.ts +6 -6
  206. package/rest/support/TopFeaturesQuery.d.ts +16 -2
  207. package/rest/support/meshFeatureSet.js +1 -1
  208. package/smartMapping/renderers/color.d.ts +40 -0
  209. package/smartMapping/renderers/color.js +1 -1
  210. package/smartMapping/renderers/opacity.d.ts +8 -0
  211. package/smartMapping/renderers/opacity.js +1 -1
  212. package/smartMapping/renderers/size.d.ts +38 -0
  213. package/smartMapping/renderers/size.js +1 -1
  214. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  215. package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
  216. package/smartMapping/renderers/type.d.ts +20 -1
  217. package/smartMapping/renderers/type.js +1 -1
  218. package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
  219. package/smartMapping/renderers/univariateColorSize.js +1 -1
  220. package/support/revision.js +1 -1
  221. package/support/tests/setupServiceMocksMesh.js +1 -1
  222. package/support/timeUtils.d.ts +3 -3
  223. package/symbols/Font.d.ts +7 -7
  224. package/symbols/WebStyleSymbol.d.ts +11 -11
  225. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  226. package/symbols/support/Symbol3DEmissive.d.ts +8 -2
  227. package/symbols/support/jsonUtils.d.ts +1 -1
  228. package/time/TimeExtent.d.ts +2 -2
  229. package/versionManagement/VersionManagementService.d.ts +8 -8
  230. package/versionManagement/VersionManager.d.ts +13 -3
  231. package/versionManagement/VersioningState.d.ts +4 -4
  232. package/views/2d/MapViewConstraints.d.ts +29 -25
  233. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  234. package/views/2d/engine/flow/styles/Particles.js +1 -1
  235. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  236. package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
  237. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  238. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  239. package/views/2d/layers/BaseLayerView2D.d.ts +4 -20
  240. package/views/2d/layers/BaseLayerViewGL2D.d.ts +6 -22
  241. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  242. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  243. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  244. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  245. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  246. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
  247. package/views/3d/glTF/internal/resourceUtils.js +1 -1
  248. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  249. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  250. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  251. package/views/3d/webgl/RenderNode.d.ts +7 -7
  252. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  253. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  254. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  255. package/views/BreakpointsOwner.d.ts +1 -1
  256. package/views/DOMContainer.d.ts +6 -6
  257. package/views/Magnifier.d.ts +1 -1
  258. package/views/MapView.d.ts +1 -1
  259. package/views/SceneView.d.ts +2 -2
  260. package/views/View2D.d.ts +62 -54
  261. package/views/Viewport2DMixin.d.ts +1 -1
  262. package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +1 -1
  263. package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
  264. package/views/input/types.d.ts +15 -15
  265. package/views/layers/FeatureLikeLayerView.d.ts +7 -4
  266. package/views/layers/GraphicsLayerView.d.ts +6 -3
  267. package/views/layers/ImageryLayerView.d.ts +4 -0
  268. package/views/navigation/Navigation.d.ts +1 -1
  269. package/views/support/WebAssemblyRequirements.js +1 -1
  270. package/views/types.d.ts +1 -1
  271. package/webscene/Glow.d.ts +0 -4
  272. package/widgets/BasemapGallery.d.ts +1 -1
  273. package/widgets/BasemapLayerList.d.ts +1 -1
  274. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  275. package/widgets/BatchAttributeForm.d.ts +1 -1
  276. package/widgets/BatchAttributeForm.js +1 -1
  277. package/widgets/Bookmarks.d.ts +1 -1
  278. package/widgets/BuildingExplorer.d.ts +1 -1
  279. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
  280. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  281. package/widgets/CoordinateConversion.d.ts +2 -2
  282. package/widgets/Daylight.d.ts +1 -1
  283. package/widgets/Directions.d.ts +1 -1
  284. package/widgets/Editor.d.ts +1 -1
  285. package/widgets/Feature.d.ts +1 -1
  286. package/widgets/FeatureForm.d.ts +1 -1
  287. package/widgets/FeatureTable/FieldColumn.d.ts +1 -14
  288. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  289. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  290. package/widgets/FeatureTemplates.d.ts +1 -1
  291. package/widgets/FloorFilter.d.ts +1 -1
  292. package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
  293. package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
  294. package/widgets/Fullscreen.d.ts +3 -3
  295. package/widgets/LayerList/ListItemPanel.d.ts +5 -5
  296. package/widgets/Legend.d.ts +1 -1
  297. package/widgets/Locate/LocateViewModel.d.ts +2 -2
  298. package/widgets/Locate.d.ts +1 -1
  299. package/widgets/PanoramicViewer/utils.js +1 -1
  300. package/widgets/Popup.d.ts +1 -1
  301. package/widgets/Print/PrintViewModel.d.ts +2 -2
  302. package/widgets/Print/TemplateOptions.d.ts +4 -4
  303. package/widgets/Print.d.ts +6 -6
  304. package/widgets/Search/SearchViewModel.d.ts +5 -5
  305. package/widgets/Search.d.ts +4 -4
  306. package/widgets/ShadowCast.d.ts +1 -1
  307. package/widgets/Sketch/SketchViewModel.d.ts +1 -1
  308. package/widgets/Slice.d.ts +1 -1
  309. package/widgets/TableList/ListItemPanel.d.ts +5 -5
  310. package/widgets/Track/TrackViewModel.d.ts +3 -3
  311. package/widgets/Track.d.ts +3 -3
  312. package/widgets/UtilityNetworkTrace.d.ts +1 -1
  313. package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
  314. package/widgets/Weather.d.ts +1 -1
  315. package/widgets/Widget.d.ts +1 -1
  316. package/widgets/support/forms/formUtils.js +1 -1
  317. package/widgets/support/types.d.ts +1 -1
  318. package/widgets/support/widget.d.ts +6 -6
  319. package/assets/esri/core/workers/chunks/1ddbf5f507ac153234be.js +0 -1
  320. package/assets/esri/core/workers/chunks/29615df388a0df022d8c.js +0 -1
  321. package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
  322. package/assets/esri/core/workers/chunks/319ff04282dc8ae38b56.js +0 -2
  323. package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
  324. package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
  325. package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
  326. package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
  327. package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
  328. package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
  329. package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
  330. package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
  331. package/assets/esri/core/workers/chunks/8c5a41ae68775bac3446.js +0 -1
  332. package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
  333. package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
  334. package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
  335. package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
  336. package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
  337. package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
  338. package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
  339. package/assets/esri/core/workers/chunks/e645f992ec6f935ee3a5.js +0 -1
  340. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
  341. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
  342. /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → 62e77e3c5ca9b4887923.js.LICENSE.txt} +0 -0
  343. /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → 7df94cb985db41815fad.js.LICENSE.txt} +0 -0
  344. /package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js.LICENSE.txt → 875cce0be4f6c89f80f3.js.LICENSE.txt} +0 -0
  345. /package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js.LICENSE.txt → d9d4754062758789f186.js.LICENSE.txt} +0 -0
  346. /package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js.LICENSE.txt → f5731ad4cfbbf1cc569a.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,7229],{69540(e,t,i){i.d(t,{OU:()=>h,Pw:()=>d});var s=i(5482),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let n=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,n={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,r.TU)(h,e),null!=h&&null==d)continue;0===a?l.set(t,d):n[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},d=h(n.A)},66344(e,t,i){i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._clients.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=i+e.size}})});const s={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const n=this._clients.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,r,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482(e,t,i){function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(h&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const h=i.ms??"0",d=h?+h.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,d);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,d)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,h=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,i){i.d(t,{wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=p,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),v.prune(),S.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}t=I.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(S.clear(),M.clear();i||S.length>0;){if(i||(i=S.pop(),r=S.data[S.length-1],o=M.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),S.push(i),this._condense(S),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(S.push(i),M.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new w(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new F([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);S.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=f(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,S);for(r.children.push(e),d(r,n);t>=0&&S.data[t].children.length>this._maxEntries;)this._split(S,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)d(t.data[s],e)}(n,S,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new w(o):new F(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=f(t)+f(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:p;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=h(e,0,t,n),o=h(e,i-t,i,n);let a=m(r)+m(o);for(let s=t;s<i-t;s++){const t=e.children[s];d(r,e.leaf?n(t):t),a+=m(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];d(o,e.leaf?n(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(v.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else v.pushArray(i.children);i=v.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,n){n||(n=new w([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],d(n,e.leaf?s(r):r);return n}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function p(e,t){return e.minY-t.minY}function f(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,v=new r.A,S=new r.A,M=new r.A({deallocator:void 0});class A{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class B extends A{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class w extends B{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends B{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,i){i.d(t,{C_:()=>c,OH:()=>m,Vh:()=>y,on:()=>d,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(17676),a=i(14012);function l(e,t,i={}){return h(e,t,i,p)}function u(e,t,i={}){return h(e,t,i,f)}function h(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function d(e,t,i,o={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(h),i(e)}const p=l(e,(e,i)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,n.hA)(()=>{p.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??p)])})}(e,f,t)}function p(e){return!0}function f(e){return!!e}i(80559);const m={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},48526(e,t,i){i.d(t,{A:()=>f});var s,n=i(5482),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,r.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:i,hasZ:n}=this;return new s({points:(0,r.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:n})}addPoint(e){return(0,c.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=t[2],s=3),this.hasM&&(i.m=t[s]),new u.A(i)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,c.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,n.Cg)([(0,p.K)("points")],f.prototype,"writePoints",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,i){i.d(t,{A:()=>f});var s,n=i(5482),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,paths:t,spatialReference:n}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,r.o8)(e)}get extent(){const e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,r.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,i=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const s=[];for(let t=0,i=e.length;t<i;t++)s[t]=e[t].toArray();t[i]=s}else t[i]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new s;return e.spatialReference=this.spatialReference,e.paths=(0,r.o8)(this.paths),e.curvePaths=(0,r.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const i=this.paths[e][t],s=this.hasZ,n=this.hasM;return s&&!n?new u.A(i[0],i[1],i[2],void 0,this.spatialReference):n&&!s?new u.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&n?new u.A(i[0],i[1],i[2],i[3],this.spatialReference):new u.A(i[0],i[1],this.spatialReference)}insertPoint(e,t,i){return this._validateInputs(e,t,!0)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e].splice(t,0,i),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],i=this.spatialReference,s=t.map(e=>new u.A(e,i));return this.notifyChange("paths"),s}removePoint(e,t){if(!this._validateInputs(e,t))return null;const i=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(e,t,i){return this._validateInputs(e,t)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e][t]=i,this.notifyChange("paths"),this):this}_validateInputs(e,t,i=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const s=this.paths[e];if(i&&(t<0||t>s.length))return!1;if(!i&&(t<0||t>=s.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],f.prototype,"curvePaths",void 0),(0,n.Cg)([(0,p.K)("curvePaths")],f.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],f.prototype,"paths",void 0),(0,n.Cg)([(0,p.K)("paths")],f.prototype,"writePaths",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Polyline")],f),f.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,i){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>n,W0:()=>d,ZC:()=>s,fT:()=>r,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},6518(e,t,i){i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>f});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(51441),c=i(37730);const p=(0,a.vt)();class f{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,d.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(p,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,i){i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33032(e,t,i){i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},29432(e,t,i){i.r(t),i.d(t,{default:()=>M});var s=i(4576),n=i(49186),r=i(60408),o=i(21325),a=i(90708),l=i(33032),u=i(83221),h=i(31464),d=i(75752),c=i(64714),p=i(82832),f=i(95466),m=i(98453),y=i(30524),g=i(98623);const _=o.KK,b={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:o.KK},x={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentsCountOnly:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:["EnvelopeAggregate","CentroidAggregate","ConvexHullAggregate"],supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:p.PC};function I(e){return(0,r.fT)(e)?null!=e.z:!!e.hasZ}function v(e){return(0,r.fT)(e)?null!=e.m:!!e.hasM}function S(e,t){let i;const s=[];if("unique-id-composite"===t.type){const n=[];for(const i of t.fieldNames)e.attributes[i]?n.push(e.attributes[i]):s.push(i);i=0===s.length?JSON.stringify(n):null}else i=e.attributes[t.fieldName],i||s.push(t.fieldName);return{objectId:i,missingFields:s}}class M{constructor(){this._uniqueIdInfo=null,this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,s=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!s.hasM,a=null!=e.hasZ?e.hasZ:!!s.hasZ,p=!e.spatialReference&&!s.spatialReference,I=p?_:e.spatialReference||s.spatialReference,v=p?b:null,S=e.geometryType||s.geometryType,M=!S,A=e.uniqueIdInfo;let B=e.objectIdField??s.objectIdField,w=e.timeInfo;const F=new f.A(r);if(!M&&(p&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!S))throw new n.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(A){const e=new Set(r.map(({name:e})=>e));if(!A.fields.every(t=>e.has(t))){const t=A.fields.filter(t=>!e.has(t));throw new n.A("feature-layer:missing-property","UniqueIdFields not set and couldn't be found in the provided fields. Fields: "+t+" are mssing.")}B=null}else if(!B)throw new n.A("feature-layer:missing-property","objectIdField not set and uniqueIdInfo not provided.");if(s.objectIdField&&B!==s.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${B}" doesn't match the field name "${s.objectIdField}", found in the provided fields`}),B=s.objectIdField),B&&!s.objectIdField){const e=F.get(B);e?(B=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:B,name:B,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new n.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===B&&(e.type="esriFieldTypeOID"),!m.m.jsonValues.includes(e.type))throw new n.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,y._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,y.lD)(e);void 0!==t&&(T[e.name]=t)}if(w){if(w.startTimeField){const e=F.get(w.startTimeField);e?(w.startTimeField=e.name,e.type="esriFieldTypeDate"):w.startTimeField=null}if(w.endTimeField){const e=F.get(w.endTimeField);e?(w.endTimeField=e.name,e.type="esriFieldTypeDate"):w.endTimeField=null}if(w.trackIdField){const e=F.get(w.trackIdField);e?w.trackIdField=e.name:(w.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:w}}))}w.startTimeField||w.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:w}}),w=null)}const z=F.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??g.n$}:null;this._createDefaultAttributes=(0,c.Vx)(T,B),this._uniqueIdInfo=e.uniqueIdInfo??void 0;const R={warnings:t,featureErrors:[],layerDefinition:{...x,drawingInfo:(0,c.F0)(S),templates:(0,c.e2)(T),extent:v,geometryType:S,objectIdField:B,fields:r,hasZ:a,hasM:o,timeInfo:w,dateFieldsTimeReference:z,uniqueIdInfo:this._uniqueIdInfo??void 0},assignedObjectIds:{}},C=this._uniqueIdInfo?.OIDFieldContainsHashValue?"simple"===this._uniqueIdInfo.type?{type:"unique-id-simple",fieldName:this._uniqueIdInfo.fields[0]}:{type:"unique-id-composite",fieldNames:this._uniqueIdInfo.fields}:{type:"object-id",fieldName:B};if(this._queryEngine=new d.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:w,dateFieldsTimeReference:z}),geometryType:S,hasM:o,hasZ:a,featureIdInfo:C,spatialReference:I,featureStore:new u.A({geometryType:S,hasM:o,hasZ:a}),timeInfo:w}),!i?.length)return this._nextObjectId=l.L,R;if(B){const e=(0,l.H)(B,i);this._nextObjectId=e+1}return await(0,h.Nk)(i,I),this._loadInitialFeatures(R,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,p.$1)(t,i),(0,h.Nk)(e.adds,t),(0,h.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,n=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(n||(n=(0,r.$B)(e)),o||(o=e.spatialReference),null==i&&(i=I(e)),null==s&&(s=v(e)),n&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:n,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:n,spatialReference:o,featureStore:l,fieldsIndex:u,featureIdInfo:d}=this._queryEngine,c=[];for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,r.$B)(s.geometry)){e.featureErrors.push((0,p.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),n=(0,p.MB)(u,t,s.attributes,!0);n?e.featureErrors.push(n):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,s.uid&&(e.assignedObjectIds[s.uid]=S(s,d).objectId),null!=s.geometry&&(s.geometry=(0,h.Cv)(s.geometry,s.geometry.spatialReference,o)),c.push(s))}l.addMany((0,a.Di)([],c,i,n,s,d));const{fullExtent:f,timeExtent:m}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=f,m){const{start:t,end:i}=m;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,p.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i,updateResults:n}=e,{geometryType:o,hasM:l,hasZ:u,spatialReference:d,featureStore:c,featureIdInfo:f,fieldsIndex:m}=this._queryEngine,y=[],g=new Map;for(const a of t){if(a.geometry&&o!==(0,r.$B)(a.geometry)){i.push((0,p.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),l=(0,p.MB)(m,t,a.attributes);if(l){i.push(l);continue}this._assignObjectId(t,a.attributes),a.attributes=t;const{objectId:u,missingFields:_}=S(a,f);if(u){if(null!=a.uid&&(e.uidToObjectId[a.uid]=u),null!=a.geometry){const e=a.geometry.spatialReference??d;a.geometry=(0,h.Cv)((0,p.CR)(a.geometry,e),e,d)}y.push(a);const t=(0,p.bP)(u);g.has(u)?(0,s.TF)(y,g.get(u)):c.has(u)?n.push(t):i.push(t),g.set(u,a)}else i.push((0,p.Yx)(`Missing unique id field value for fields: ${_.join()}`))}c.addMany((0,a.Di)([],y,o,u,l,f))}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:n,spatialReference:o,featureStore:l,fieldsIndex:u,featureIdInfo:d}=this._queryEngine;for(const c of t){const{attributes:t,geometry:f}=c,{objectId:m,missingFields:y}=S(c,d);if(null==m){const t="unique-id-composite"===d.type?y:d.fieldName;e.push((0,p.Yx)(`Identifier fields: ${t} missing`));continue}if(!l.has(m)){e.push((0,p.Yx)(`Feature with object id ${m} missing`));continue}const g=(0,a.oN)(l.getFeature(m),i,n,s);if(null!=f){if(i!==(0,r.$B)(f)){e.push((0,p.Yx)("Incorrect geometry type."));continue}const t=f.spatialReference??o;g.geometry=(0,h.Cv)((0,p.CR)(f,t),t,o)}if(t){const i=(0,p.MB)(u,g.attributes,t);if(i){e.push(i);continue}}l.add((0,a.E2)(g,i,n,s,d)),e.push((0,p.bP)(m))}}_assignObjectId(e,t,i=!1){if("object-id"===this._queryEngine.featureIdInfo.type){const s=this._queryEngine.featureIdInfo.fieldName;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>p});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${d(t)} = null;`);for(const t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>t?{[t]:null,...e}:{...e}}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function p(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},82832(e,t,i){i.d(t,{$1:()=>y,CR:()=>m,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>h});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function h(e){return new u(e)}const d=new Set;function c(e,t,i,s=!1){d.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=p(o,i[n]);if(d.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!d.has(t.name))return l(`missing required field "${t.name}"`);return null}function p(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let f;function m(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==f)throw new TypeError("geometry engine not loaded");return f.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==f&&(f=await i.e(1023).then(i.bind(i,81023))),f}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},98453(e,t,i){i.d(t,{m:()=>s});const s=new(i(66552).J)({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"})},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>d,jV:()=>l,lF:()=>h});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function h(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>h(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function d(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7632),i.e(1315),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},926(e,t,i){i.d(t,{Dd:()=>c,Jn:()=>p,Qc:()=>f,getApiKey:()=>h,getSessionToken:()=>d});var s=i(92602),n=i(11254),r=i(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function h(e){if(!f(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),i=s.A.apiKeys;if(Array.isArray(i.scopes))for(const e of i.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return i.basemapStyles&&o.test(e)?i.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=h(e);if(!t)return null;u&&await u;const{styleFamily:i="arcgis",autoRefresh:r,duration:a=43200}=s.A.sessions.basemap,d=`${t}:${i}`,c=l.get(d);if(c&&(!r||c.endTime>Date.now()))return c.sessionToken;let p;u=(0,n.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:i,token:t}});try{p=(await u).data,p.endTime-=5e3,l.set(d,p)}finally{u=null}return p.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function p(e,t){return t?f(e):null!=h(e)}function f(e){const t=(0,r.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},93470(e,t,i){i.d(t,{Cb:()=>r,HW:()=>h,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},h={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,7229],{69540(e,t,i){i.d(t,{OU:()=>h,Pw:()=>d});var s=i(5482),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let n=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,n={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,r.TU)(h,e),null!=h&&null==d)continue;0===a?l.set(t,d):n[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},d=h(n.A)},66344(e,t,i){i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._clients.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=i+e.size}})});const s={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const n=this._clients.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,r,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482(e,t,i){function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(h&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const h=i.ms??"0",d=h?+h.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,d);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,d)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,h=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,i){i.d(t,{wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=p,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),v.prune(),S.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}t=I.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(S.clear(),M.clear();i||S.length>0;){if(i||(i=S.pop(),r=S.data[S.length-1],o=M.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),S.push(i),this._condense(S),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(S.push(i),M.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new w(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new F([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);S.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=f(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,S);for(r.children.push(e),d(r,n);t>=0&&S.data[t].children.length>this._maxEntries;)this._split(S,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)d(t.data[s],e)}(n,S,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new w(o):new F(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=f(t)+f(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:p;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=h(e,0,t,n),o=h(e,i-t,i,n);let a=m(r)+m(o);for(let s=t;s<i-t;s++){const t=e.children[s];d(r,e.leaf?n(t):t),a+=m(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];d(o,e.leaf?n(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(v.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else v.pushArray(i.children);i=v.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,n){n||(n=new w([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],d(n,e.leaf?s(r):r);return n}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function p(e,t){return e.minY-t.minY}function f(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,v=new r.A,S=new r.A,M=new r.A({deallocator:void 0});class A{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class B extends A{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class w extends B{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends B{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,i){i.d(t,{C_:()=>c,OH:()=>m,Vh:()=>y,on:()=>d,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(17676),a=i(14012);function l(e,t,i={}){return h(e,t,i,p)}function u(e,t,i={}){return h(e,t,i,f)}function h(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function d(e,t,i,o={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(h),i(e)}const p=l(e,(e,i)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,n.hA)(()=>{p.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??p)])})}(e,f,t)}function p(e){return!0}function f(e){return!!e}i(80559);const m={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},48526(e,t,i){i.d(t,{A:()=>f});var s,n=i(5482),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,d.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,r.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:i,hasZ:n}=this;return new s({points:(0,r.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:n})}addPoint(e){return(0,c.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=t[2],s=3),this.hasM&&(i.m=t[s]),new u.A(i)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,c.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,n.Cg)([(0,p.K)("points")],f.prototype,"writePoints",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,i){i.d(t,{A:()=>f});var s,n=i(5482),r=i(4718),o=i(91429),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),p=i(43937);let f=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:i,hasZ:s,spatialReference:n}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return n??=h.A.WGS84,{...e,hasM:i,hasZ:s,paths:t,spatialReference:n}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,r.o8)(e)}get extent(){const e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,r.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,i=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const s=[];for(let t=0,i=e.length;t<i;t++)s[t]=e[t].toArray();t[i]=s}else t[i]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new s;return e.spatialReference=this.spatialReference,e.paths=(0,r.o8)(this.paths),e.curvePaths=(0,r.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const i=this.paths[e][t],s=this.hasZ,n=this.hasM;return s&&!n?new u.A(i[0],i[1],i[2],void 0,this.spatialReference):n&&!s?new u.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&n?new u.A(i[0],i[1],i[2],i[3],this.spatialReference):new u.A(i[0],i[1],this.spatialReference)}insertPoint(e,t,i){return this._validateInputs(e,t,!0)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e].splice(t,0,i),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],i=this.spatialReference,s=t.map(e=>new u.A(e,i));return this.notifyChange("paths"),s}removePoint(e,t){if(!this._validateInputs(e,t))return null;const i=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(e,t,i){return this._validateInputs(e,t)?((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e][t]=i,this.notifyChange("paths"),this):this}_validateInputs(e,t,i=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const s=this.paths[e];if(i&&(t<0||t>s.length))return!1;if(!i&&(t<0||t>=s.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],f.prototype,"curvePaths",void 0),(0,n.Cg)([(0,p.K)("curvePaths")],f.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],f.prototype,"paths",void 0),(0,n.Cg)([(0,p.K)("paths")],f.prototype,"writePaths",null),f=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Polyline")],f),f.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,i){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>n,W0:()=>d,ZC:()=>s,fT:()=>r,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},6518(e,t,i){i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>f});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(51441),c=i(37730);const p=(0,a.vt)();class f{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=c.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,d.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(p,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,i){i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33032(e,t,i){i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},29432(e,t,i){i.r(t),i.d(t,{default:()=>M});var s=i(4576),n=i(49186),r=i(60408),o=i(21325),a=i(90708),l=i(33032),u=i(83221),h=i(31464),d=i(75752),c=i(64714),p=i(82832),f=i(95466),m=i(98453),y=i(30524),g=i(98623);const _=o.KK,b={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:o.KK},x={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentsCountOnly:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:["EnvelopeAggregate","CentroidAggregate","ConvexHullAggregate"],supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:p.PC};function I(e){return(0,r.fT)(e)?null!=e.z:!!e.hasZ}function v(e){return(0,r.fT)(e)?null!=e.m:!!e.hasM}function S(e,t){let i;const s=[];if("unique-id-composite"===t.type){const n=[];for(const i of t.fieldNames)e.attributes[i]?n.push(e.attributes[i]):s.push(i);i=0===s.length?JSON.stringify(n):null}else i=e.attributes[t.fieldName],i||s.push(t.fieldName);return{objectId:i,missingFields:s}}class M{constructor(){this._uniqueIdInfo=null,this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,s=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!s.hasM,a=null!=e.hasZ?e.hasZ:!!s.hasZ,p=!e.spatialReference&&!s.spatialReference,I=p?_:e.spatialReference||s.spatialReference,v=p?b:null,S=e.geometryType||s.geometryType,M=!S,A=e.uniqueIdInfo;let B=e.objectIdField??s.objectIdField,w=e.timeInfo;const F=new f.A(r);if(!M&&(p&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!S))throw new n.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(A){const e=new Set(r.map(({name:e})=>e));if(!A.fields.every(t=>e.has(t))){const t=A.fields.filter(t=>!e.has(t));throw new n.A("feature-layer:missing-property","UniqueIdFields not set and couldn't be found in the provided fields. Fields: "+t+" are mssing.")}B=null}else if(!B)throw new n.A("feature-layer:missing-property","objectIdField not set and uniqueIdInfo not provided.");if(s.objectIdField&&B!==s.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${B}" doesn't match the field name "${s.objectIdField}", found in the provided fields`}),B=s.objectIdField),B&&!s.objectIdField){const e=F.get(B);e?(B=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:B,name:B,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new n.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===B&&(e.type="esriFieldTypeOID"),!m.m.jsonValues.includes(e.type))throw new n.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,y._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,y.lD)(e);void 0!==t&&(T[e.name]=t)}if(w){if(w.startTimeField){const e=F.get(w.startTimeField);e?(w.startTimeField=e.name,e.type="esriFieldTypeDate"):w.startTimeField=null}if(w.endTimeField){const e=F.get(w.endTimeField);e?(w.endTimeField=e.name,e.type="esriFieldTypeDate"):w.endTimeField=null}if(w.trackIdField){const e=F.get(w.trackIdField);e?w.trackIdField=e.name:(w.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:w}}))}w.startTimeField||w.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:w}}),w=null)}const z=F.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??g.n$}:null;this._createDefaultAttributes=(0,c.Vx)(T,B),this._uniqueIdInfo=e.uniqueIdInfo??void 0;const R={warnings:t,featureErrors:[],layerDefinition:{...x,drawingInfo:(0,c.F0)(S),templates:(0,c.e2)(T),extent:v,geometryType:S,objectIdField:B,fields:r,hasZ:a,hasM:o,timeInfo:w,dateFieldsTimeReference:z,uniqueIdInfo:this._uniqueIdInfo??void 0},assignedObjectIds:{}},C=this._uniqueIdInfo?.OIDFieldContainsHashValue?"simple"===this._uniqueIdInfo.type?{type:"unique-id-simple",fieldName:this._uniqueIdInfo.fields[0]}:{type:"unique-id-composite",fieldNames:this._uniqueIdInfo.fields}:{type:"object-id",fieldName:B};if(this._queryEngine=new d.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:w,dateFieldsTimeReference:z}),geometryType:S,hasM:o,hasZ:a,featureIdInfo:C,spatialReference:I,featureStore:new u.A({geometryType:S,hasM:o,hasZ:a}),timeInfo:w}),!i?.length)return this._nextObjectId=l.L,R;if(B){const e=(0,l.H)(B,i);this._nextObjectId=e+1}return await(0,h.Nk)(i,I),this._loadInitialFeatures(R,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,p.$1)(t,i),(0,h.Nk)(e.adds,t),(0,h.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,n=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(n||(n=(0,r.$B)(e)),o||(o=e.spatialReference),null==i&&(i=I(e)),null==s&&(s=v(e)),n&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:n,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:n,spatialReference:o,featureStore:l,fieldsIndex:u,featureIdInfo:d}=this._queryEngine,c=[];for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,r.$B)(s.geometry)){e.featureErrors.push((0,p.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),n=(0,p.MB)(u,t,s.attributes,!0);n?e.featureErrors.push(n):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,s.uid&&(e.assignedObjectIds[s.uid]=S(s,d).objectId),null!=s.geometry&&(s.geometry=(0,h.Cv)(s.geometry,s.geometry.spatialReference,o)),c.push(s))}l.addMany((0,a.Di)([],c,i,n,s,d));const{fullExtent:f,timeExtent:m}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=f,m){const{start:t,end:i}=m;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,p.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i,updateResults:n}=e,{geometryType:o,hasM:l,hasZ:u,spatialReference:d,featureStore:c,featureIdInfo:f,fieldsIndex:m}=this._queryEngine,y=[],g=new Map;for(const a of t){if(a.geometry&&o!==(0,r.$B)(a.geometry)){i.push((0,p.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),l=(0,p.MB)(m,t,a.attributes);if(l){i.push(l);continue}this._assignObjectId(t,a.attributes),a.attributes=t;const{objectId:u,missingFields:_}=S(a,f);if(u){if(null!=a.uid&&(e.uidToObjectId[a.uid]=u),null!=a.geometry){const e=a.geometry.spatialReference??d;a.geometry=(0,h.Cv)((0,p.CR)(a.geometry,e),e,d)}y.push(a);const t=(0,p.bP)(u);g.has(u)?(0,s.TF)(y,g.get(u)):c.has(u)?n.push(t):i.push(t),g.set(u,a)}else i.push((0,p.Yx)(`Missing unique id field value for fields: ${_.join()}`))}c.addMany((0,a.Di)([],y,o,u,l,f))}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:n,spatialReference:o,featureStore:l,fieldsIndex:u,featureIdInfo:d}=this._queryEngine;for(const c of t){const{attributes:t,geometry:f}=c,{objectId:m,missingFields:y}=S(c,d);if(null==m){const t="unique-id-composite"===d.type?y:d.fieldName;e.push((0,p.Yx)(`Identifier fields: ${t} missing`));continue}if(!l.has(m)){e.push((0,p.Yx)(`Feature with object id ${m} missing`));continue}const g=(0,a.oN)(l.getFeature(m),i,n,s);if(null!=f){if(i!==(0,r.$B)(f)){e.push((0,p.Yx)("Incorrect geometry type."));continue}const t=f.spatialReference??o;g.geometry=(0,h.Cv)((0,p.CR)(f,t),t,o)}if(t){const i=(0,p.MB)(u,g.attributes,t);if(i){e.push(i);continue}}l.add((0,a.E2)(g,i,n,s,d)),e.push((0,p.bP)(m))}}_assignObjectId(e,t,i=!1){if("object-id"===this._queryEngine.featureIdInfo.type){const s=this._queryEngine.featureIdInfo.fieldName;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>p});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${d(t)} = null;`);for(const t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>t?{[t]:null,...e}:{...e}}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function p(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},82832(e,t,i){i.d(t,{$1:()=>y,CR:()=>m,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>h});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function h(e){return new u(e)}const d=new Set;function c(e,t,i,s=!1){d.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=p(o,i[n]);if(d.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!d.has(t.name))return l(`missing required field "${t.name}"`);return null}function p(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let f;function m(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==f)throw new TypeError("geometry engine not loaded");return f.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==f&&(f=await i.e(1023).then(i.bind(i,81023))),f}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},98453(e,t,i){i.d(t,{m:()=>s});const s=new(i(66552).J)({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"})},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>d,jV:()=>l,lF:()=>h});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function h(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>h(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function d(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7632),i.e(9116),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},926(e,t,i){i.d(t,{Dd:()=>c,Jn:()=>p,Qc:()=>f,getApiKey:()=>h,getSessionToken:()=>d});var s=i(92602),n=i(11254),r=i(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function h(e){if(!f(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),i=s.A.apiKeys;if(Array.isArray(i.scopes))for(const e of i.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return i.basemapStyles&&o.test(e)?i.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=h(e);if(!t)return null;u&&await u;const{styleFamily:i="arcgis",autoRefresh:r,duration:a=43200}=s.A.sessions.basemap,d=`${t}:${i}`,c=l.get(d);if(c&&(!r||c.endTime>Date.now()))return c.sessionToken;let p;u=(0,n.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:i,token:t}});try{p=(await u).data,p.endTime-=5e3,l.set(d,p)}finally{u=null}return p.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function p(e,t){return t?f(e):null!=h(e)}function f(e){const t=(0,r.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},93470(e,t,i){i.d(t,{Cb:()=>r,HW:()=>h,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},h={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>s,V:()=>i});var r=o(7762);function i(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(i=e)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?t.addMany(e):e&&t.add(e)),t;var i}function s(e){return e}},40863(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),h=o(43937),u=o(93223);let c=r=class extends p.A{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 o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,s.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"data",void 0),(0,i.Cg)([(0,y.w)("data",["symbol"])],c.prototype,"readData",null),(0,i.Cg)([(0,h.K)("data",{})],c.prototype,"writeData",null),(0,i.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],c)},26449(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,i.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,i.Cg)([(0,s.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(91429),s=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>S});var r=o(5482),i=o(91429),s=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),h=o(28975),u=o(93223);let c=class extends h.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],c.prototype,"colorMixMode",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],c);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),f=o(8887);let C=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}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 d(e)}};(0,r.Cg)([(0,i.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=d=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const v=C;var A;let S=class extends s.A{static{A=this}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 A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new c({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:c,json:{write:!0}})],S.prototype,"material",void 0),(0,r.Cg)([(0,i.MZ)(p.r)],S.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,r.Cg)([(0,i.MZ)({type:v,json:{write:!0}})],S.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)(l.J)],S.prototype,"edges",void 0),S=A=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],S)},11831(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(25482),l=o(90629),n=o(91429),a=o(5760);let p=r=class extends s.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,n.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,i.Cg)([(0,n.wg)("size")],p.prototype,"castSize",null),(0,i.Cg)([(0,n.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,i.Cg)([(0,n.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,i.Cg)([(0,n.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,i=o(5482),s=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),h=o(66552),u=o(25482),c=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,h.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,c.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,c.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,i.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,i.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,i.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const f=w;var C,v=o(67222),A=o(97515),S=o(27066),M=o(69622);let Z=C=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new C({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=C=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const j=Z;var x,z=o(68197),L=o(90629);let $=x=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,L.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new x(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,i.Cg)([(0,a.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],$.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],$.prototype,"size",null),$=x=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],$);const O=$;var k,N=o(28975);let D=class extends p.A{static{k=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,s.o8)(this.anchorPosition),enabled:this.enabled,material:(0,s.o8)(this.material),outline:(0,s.o8)(this.outline),resource:(0,s.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,s.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=_(e);return new k({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),i=K(e.yoffset);return(r||i)&&t&&o?{x:-r/t,y:i/o}:null}function K(e){return isFinite(e)?e:0}(0,i.Cg)([(0,a.MZ)({type:N.A,json:{write:!0}})],D.prototype,"material",void 0),(0,i.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],D.prototype,"resource",void 0),(0,i.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,i.Cg)([(0,m.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,i.Cg)([(0,a.MZ)({type:j,json:{type:[Number],read:{reader:e=>new j({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,i.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=k=(0,i.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),h=o(59483),u=o(4900),c=o(93223);const d=s.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new s.A([y.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(h.oG)],g.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,i.Cg)([(0,c.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),c=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new s.A([a.A.fromSimpleLineSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:u,json:{type:c}})],d.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,i.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(90629),s=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let h=class extends((0,n.OU)(a.o)){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,r.Cg)([(0,s.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,s.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.LineStyleMarker3D")],h);var u,c=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),f=o(8887),C=o(93223);let v=class extends c.A{static{u=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,i.PN)(1)}set size(e){this._set("size",e)}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,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,i.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,C.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:f.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,s.MZ)({type:f.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,s.MZ)({...b.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(g.v)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,s.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),v=u=(0,r.Cg)([(0,s.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(5482),i=o(90629),s=o(91429),l=o(56507),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,s.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,i.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u})],c.prototype,"symbolLayers",null),(0,i.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],c)},51216(e,t,o){o.d(t,{A:()=>C});var r,i=o(5482),s=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const h=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,i.Cg)([(0,y.e)(h)],u.prototype,"primitive",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const c=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,f=o(28975);let C=class extends l.A{static{w=this}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 w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i.Cg)([(0,s.MZ)({type:f.A,json:{write:!0}})],C.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],C.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)({type:c,json:{write:!0}})],C.prototype,"resource",void 0),(0,i.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],C.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"width",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"height",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"depth",void 0),(0,i.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],C.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({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}}}}})],C.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"heading",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"tilt",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"roll",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],C.prototype,"isPrimitive",null),C=w=(0,i.Cg)([(0,s.$K)("esri.symbols.ObjectSymbol3DLayer")],C)},66525(e,t,o){o.d(t,{A:()=>h});var r,i=o(5482),s=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let h=class extends l.A{static{r=this}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 r({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,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],h.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,i.Cg)([(0,s.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,i.Cg)([(0,s.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,i.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,i.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>u});var r,i=o(5482),s=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,s.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,i.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,i.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,i.Cg)([(0,h.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,i=o(5482),s=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),h=o(58185),u=o(10224),c=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.A}});let w=r=class extends h.A{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.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new s.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(c.oG)],w.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),h=o(51216),u=o(58185),c=o(34723),d=o(93223);const g=s.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:c.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(91429),p=o(65851),y=o(31593),h=o(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=r=class extends p.A{constructor(...e){super(...e),this.color=new s.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.style=e),t&&(r.outline=t),o&&(r.color=o),r}clone(){return new r({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i.Cg)([(0,a.MZ)({type:s.A})],c.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)()],c.prototype,"outline",void 0),(0,i.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleFillSymbol")],c)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(66552),s=o(4718),l=o(90629),n=o(91429),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],y);var h,u=o(68197),c=o(25482),d=o(83213),g=o(43937),m=o(36005);let b=h=class extends c.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:d.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var f;const C=new i.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=f=class extends y{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,o,r,i,s){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=o&&(n.width=(0,l.cr)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new f({color:(0,s.o8)(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,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:C.apiValues,json:{read:C.read,write:C.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=f=(0,r.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(90629),p=o(91429),y=o(89420),h=o(31593),u=o(43937),c=o(93223);const d=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=r=class extends y.A{constructor(...e){super(...e),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new h.A}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e)return e;const i={};return e&&(i.style=e),null!=t&&(i.size=(0,a.cr)(t)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,n.o8)(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,i.Cg)([(0,p.MZ)({type:s.A})],g.prototype,"color",void 0),(0,i.Cg)([(0,u.K)("color")],g.prototype,"writeColor",null),(0,i.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],g.prototype,"size",null),(0,i.Cg)([(0,p.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],g.prototype,"style",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,i.Cg)([(0,p.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":h.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=r=(0,i.Cg)([(0,p.$K)("esri.symbols.SimpleMarkerSymbol")],g)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(66552),l=o(25482),n=o(91429),a=o(36005);const p=new s.J({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 y=0,h=class extends l.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new i.A([0,0,0,1])}readColor(e){return 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,r.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:i.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,n.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),i=o(7762),s=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),h=o(97159),u=o(26449),c=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),f=o(3904),C=o(10224),v=o(34723),A=o(98751),S=o(57212),M=o(36005),Z=o(43937);const j={icon:d.A,object:m.A,line:g.A,path:b.A,fill:c.A,extrude:u.A,text:C.A,water:v.A},x=i.A.ofType({base:f.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||i.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.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,s.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,h.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("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 f.A||e&&j[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,p.wg)(s.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,p.MZ)({type:S.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(25482),s=o(91429),l=o(43937);let n=class extends i.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,s.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,s.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(11831),y=o(20378),h=o(5760),u=o(93223),c=o(43937);let d=r=class extends y.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,n.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(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?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${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,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:n.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...h.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...h.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,c.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(h.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,c.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},10224(e,t,o){o.d(t,{A:()=>A});var r,i=o(5482),s=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),h=o(27066),u=o(68197),c=o(25482);let d=r=class extends c.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,s.o8)(this.color),size:this.size};return new r(e)}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(c.o)){constructor(e){super(e),this.color=null}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,f=o(5760),C=o(43937),v=o(93223);let A=class extends a.A{static{w=this}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",this.occludedVisibility=new y.A({mode:"adaptive"})}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,o,r){const i={...r,textSymbol3D:!0};t.font=e.write({},i),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,s.o8)(this.font),halo:(0,s.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.o8)(this.background),occludedVisibility:(0,s.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:S(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function S(e,t){return e&&null!=t&&t>0?new d({color:(0,s.o8)(e),size:t}):null}(0,i.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,i.Cg)([(0,C.K)("font")],A.prototype,"writeFont",null),(0,i.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,i.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,i.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,i.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,i.Cg)([(0,v.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)(h.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},34723(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(68197),l=o(91429),n=o(56507),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i.Cg)([(0,l.MZ)({type:s.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,i.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,i.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new s.A([0,119,190])},37757(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(53966),l=o(17676),n=o(91429),a=o(20655),p=o(97159),y=o(20378),h=o(57212),u=o(93223);let c=r=class extends y.A{constructor(e){super(e),this.color=null,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:a.A.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 r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:i}=await o.e(7883).then(o.bind(o,27883));(0,l.Te)(e);const n=i(this,{portal:this.portal},e);n.catch(e=>{s.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const a=await n;return null!=t&&t.set(r,a.clone()),a}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{write:!1}})],c.prototype,"portal",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],c.prototype,"styleUrl",void 0),(0,i.Cg)([(0,n.MZ)({type:h.V,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,u.e)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)()],c.prototype,"_fetchCacheKey",null),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.WebStyleSymbol")],c)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(25482),s=o(91429);let l=class extends i.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,s.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,s.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),h=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new s.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const c=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new s.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,i.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,i.Cg)([(0,a.MZ)({type:c,json:{write:!0}})],m.prototype,"border",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>s,oG:()=>n});var r=o(4595),i=o(8893);function s(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||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!s(e)}const n={types:{key:"type",base:r.A,typeMap:{line:i.A}},json:{write:!0}}},4792(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends s.o{constructor(e){super(e),this.color=new i.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const h=y},39065(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},51734(e,t,o){o.d(t,{J:()=>h});var r,i=o(4792),s=o(5482),l=o(91429),n=o(93223);let a=r=class extends i.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:i.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),i=o(66552),s=o(91429),l=o(36533),n=o(93223);const a=(0,i.O)()({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 p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,s.MZ)({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"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,s.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(91429),s=o(3955);let l=class extends s.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),i=o(44633),s=o(3955),l=o(16264);const n={types:{key:"type",base:s.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:i.A}},json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(69622),l=o(91429),n=o(20655);let a=r=class extends s.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,i.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),i=o(69540),s=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(25482),l=o(91429),n=o(67222);let a=r=class extends s.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,i.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,i=o(5482),s=o(69622),l=o(91429);let n=r=class extends s.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,i.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{ON:()=>i,U9:()=>l,u7:()=>s});var r=o(68197);const i=new r.A("white"),s=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},83213(e,t,o){o.d(t,{x:()=>r,z:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),i=o(90629),s=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,i=t.color;return i&&Array.isArray(i)?new r.A([i[0]||0,i[1]||0,i[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[s.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[s.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:s.jz}},writer:a}}}}const y={type:Number,cast:i.cr,json:{write:!0}}},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const i=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),s=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return i;case"cylinder":case"cone":case"inverted-cone":return s;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},5760(e,t,o){o.d(t,{NM:()=>n,Tb:()=>a,_R:()=>l,h9:()=>s,rM:()=>p,x0:()=>y,y7:()=>h});var r=o(34727),i=o(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},33910(e,t,o){o.d(t,{dp:()=>W,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>k,Bu:()=>D,Es:()=>L,q8:()=>N,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,i=o(56507),s=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),h=o(4718),u=o(90629),c=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const i={};return e&&(i.url=e),t&&(i.outline=t),null!=o&&(i.width=(0,u.cr)(o)),null!=r&&(i.height=(0,u.cr)(r)),i}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,h.o8)(this.color),height:this.height,outline:(0,h.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,h.o8)(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,y.Cg)([(0,c.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,c.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,c.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,c.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),f=o(75981),C=o(65365),v=o(94985),A=o(31593),S=o(53930),M=o(20378),Z=o(68249),j=o(37757);function x(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 z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$=(M.A,v.A,l.A,{base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"}),O={base:M.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,s.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},P=(M.A,n.A,a.A,p.A,f.A,C.A,j.A,{base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},W=(0,i.aq)(L)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),i=o(97159);function s(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,i.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):s(t.url,o)}},write:{writer(e,t,o,s){!function(e,t,o,s){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,i.w)(o.url,t,"url",s)}else(0,i.w)(e,t,"url",s)}(e,t,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=s(t.url,o)),r}}}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>s,V:()=>i});var r=o(7762);function i(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(i=e)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?t.addMany(e):e&&t.add(e)),t;var i}function s(e){return e}},40863(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),h=o(43937),u=o(93223);let c=r=class extends p.A{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 o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,s.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"data",void 0),(0,i.Cg)([(0,y.w)("data",["symbol"])],c.prototype,"readData",null),(0,i.Cg)([(0,h.K)("data",{})],c.prototype,"writeData",null),(0,i.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],c)},26449(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,i.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,i.Cg)([(0,s.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(91429),s=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>S});var r=o(5482),i=o(91429),s=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),h=o(28975),u=o(93223);let c=class extends h.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],c.prototype,"colorMixMode",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],c);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),f=o(8887);let C=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}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 d(e)}};(0,r.Cg)([(0,i.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=d=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const v=C;var A;let S=class extends s.A{static{A=this}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 A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new c({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:c,json:{write:!0}})],S.prototype,"material",void 0),(0,r.Cg)([(0,i.MZ)(p.r)],S.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,r.Cg)([(0,i.MZ)({type:v,json:{write:!0}})],S.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)(l.J)],S.prototype,"edges",void 0),S=A=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],S)},11831(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(25482),l=o(90629),n=o(91429),a=o(5760);let p=r=class extends s.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,n.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,i.Cg)([(0,n.wg)("size")],p.prototype,"castSize",null),(0,i.Cg)([(0,n.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,i.Cg)([(0,n.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,i.Cg)([(0,n.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,i=o(5482),s=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),h=o(66552),u=o(25482),c=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,h.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,c.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,c.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,i.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,i.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,i.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const f=w;var C,v=o(67222),A=o(97515),S=o(27066),M=o(69622);let Z=C=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new C({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=C=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const j=Z;var x,z=o(68197),L=o(90629);let $=x=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,L.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new x(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,i.Cg)([(0,a.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],$.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],$.prototype,"size",null),$=x=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],$);const O=$;var k,N=o(28975);let D=class extends p.A{static{k=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,s.o8)(this.anchorPosition),enabled:this.enabled,material:(0,s.o8)(this.material),outline:(0,s.o8)(this.outline),resource:(0,s.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,s.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=_(e);return new k({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),i=K(e.yoffset);return(r||i)&&t&&o?{x:-r/t,y:i/o}:null}function K(e){return isFinite(e)?e:0}(0,i.Cg)([(0,a.MZ)({type:N.A,json:{write:!0}})],D.prototype,"material",void 0),(0,i.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],D.prototype,"resource",void 0),(0,i.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,i.Cg)([(0,m.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,i.Cg)([(0,a.MZ)({type:j,json:{type:[Number],read:{reader:e=>new j({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,i.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=k=(0,i.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),h=o(59483),u=o(4900),c=o(93223);const d=s.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new s.A([y.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(h.oG)],g.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,i.Cg)([(0,c.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),c=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new s.A([a.A.fromSimpleLineSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:u,json:{type:c}})],d.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,i.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(90629),s=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let h=class extends((0,n.OU)(a.o)){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,r.Cg)([(0,s.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,s.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.LineStyleMarker3D")],h);var u,c=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),f=o(8887),C=o(93223);let v=class extends c.A{static{u=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,i.PN)(1)}set size(e){this._set("size",e)}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,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,i.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,C.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:f.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,s.MZ)({type:f.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,s.MZ)({...b.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(g.v)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,s.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),v=u=(0,r.Cg)([(0,s.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(5482),i=o(90629),s=o(91429),l=o(56507),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,s.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,i.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u})],c.prototype,"symbolLayers",null),(0,i.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],c)},51216(e,t,o){o.d(t,{A:()=>C});var r,i=o(5482),s=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const h=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,i.Cg)([(0,y.e)(h)],u.prototype,"primitive",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const c=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,f=o(28975);let C=class extends l.A{static{w=this}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 w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i.Cg)([(0,s.MZ)({type:f.A,json:{write:!0}})],C.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],C.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)({type:c,json:{write:!0}})],C.prototype,"resource",void 0),(0,i.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],C.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"width",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"height",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"depth",void 0),(0,i.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],C.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({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}}}}})],C.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"heading",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"tilt",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"roll",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],C.prototype,"isPrimitive",null),C=w=(0,i.Cg)([(0,s.$K)("esri.symbols.ObjectSymbol3DLayer")],C)},66525(e,t,o){o.d(t,{A:()=>h});var r,i=o(5482),s=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let h=class extends l.A{static{r=this}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 r({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,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],h.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,i.Cg)([(0,s.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,i.Cg)([(0,s.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,i.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,i.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>u});var r,i=o(5482),s=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,s.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,i.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,i.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,i.Cg)([(0,h.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,i=o(5482),s=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),h=o(58185),u=o(10224),c=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.A}});let w=r=class extends h.A{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.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new s.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(c.oG)],w.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),h=o(51216),u=o(58185),c=o(34723),d=o(93223);const g=s.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:c.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(91429),p=o(65851),y=o(31593),h=o(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=r=class extends p.A{constructor(...e){super(...e),this.color=new s.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.style=e),t&&(r.outline=t),o&&(r.color=o),r}clone(){return new r({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i.Cg)([(0,a.MZ)({type:s.A})],c.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)()],c.prototype,"outline",void 0),(0,i.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleFillSymbol")],c)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(66552),s=o(4718),l=o(90629),n=o(91429),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],y);var h,u=o(68197),c=o(25482),d=o(83213),g=o(43937),m=o(36005);let b=h=class extends c.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:d.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var f;const C=new i.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=f=class extends y{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,o,r,i,s){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=o&&(n.width=(0,l.cr)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new f({color:(0,s.o8)(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,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:C.apiValues,json:{read:C.read,write:C.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=f=(0,r.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(90629),p=o(91429),y=o(89420),h=o(31593),u=o(43937),c=o(93223);const d=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=r=class extends y.A{constructor(...e){super(...e),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new h.A}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e)return e;const i={};return e&&(i.style=e),null!=t&&(i.size=(0,a.cr)(t)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,n.o8)(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,i.Cg)([(0,p.MZ)({type:s.A})],g.prototype,"color",void 0),(0,i.Cg)([(0,u.K)("color")],g.prototype,"writeColor",null),(0,i.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],g.prototype,"size",null),(0,i.Cg)([(0,p.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],g.prototype,"style",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,i.Cg)([(0,p.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":h.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=r=(0,i.Cg)([(0,p.$K)("esri.symbols.SimpleMarkerSymbol")],g)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(66552),l=o(25482),n=o(91429),a=o(36005);const p=new s.J({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 y=0,h=class extends l.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new i.A([0,0,0,1])}readColor(e){return 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,r.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:i.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,n.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),i=o(7762),s=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),h=o(97159),u=o(26449),c=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),f=o(3904),C=o(10224),v=o(34723),A=o(98751),S=o(57212),M=o(36005),Z=o(43937);const j={icon:d.A,object:m.A,line:g.A,path:b.A,fill:c.A,extrude:u.A,text:C.A,water:v.A},x=i.A.ofType({base:f.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||i.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.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,s.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,h.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("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 f.A||e&&j[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,p.wg)(s.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,p.MZ)({type:S.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(25482),s=o(91429),l=o(43937);let n=class extends i.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,s.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,s.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(11831),y=o(20378),h=o(5760),u=o(93223),c=o(43937);let d=r=class extends y.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,n.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(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?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${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,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:n.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...h.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...h.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,c.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(h.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,c.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},10224(e,t,o){o.d(t,{A:()=>A});var r,i=o(5482),s=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),h=o(27066),u=o(68197),c=o(25482);let d=r=class extends c.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,s.o8)(this.color),size:this.size};return new r(e)}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(c.o)){constructor(e){super(e),this.color=null}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,f=o(5760),C=o(43937),v=o(93223);let A=class extends a.A{static{w=this}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",this.occludedVisibility=new y.A({mode:"adaptive"})}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,o,r){const i={...r,textSymbol3D:!0};t.font=e.write({},i),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,s.o8)(this.font),halo:(0,s.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.o8)(this.background),occludedVisibility:(0,s.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:S(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function S(e,t){return e&&null!=t&&t>0?new d({color:(0,s.o8)(e),size:t}):null}(0,i.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,i.Cg)([(0,C.K)("font")],A.prototype,"writeFont",null),(0,i.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,i.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,i.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,i.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,i.Cg)([(0,v.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)(h.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},34723(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(68197),l=o(91429),n=o(56507),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i.Cg)([(0,l.MZ)({type:s.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,i.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,i.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new s.A([0,119,190])},37757(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(53966),l=o(17676),n=o(91429),a=o(20655),p=o(97159),y=o(20378),h=o(57212),u=o(93223);let c=r=class extends y.A{constructor(e){super(e),this.color=null,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:a.A.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 r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:i}=await o.e(7883).then(o.bind(o,27883));(0,l.Te)(e);const n=i(this,{portal:this.portal},e);n.catch(e=>{s.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const a=await n;return null!=t&&t.set(r,a.clone()),a}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{write:!1}})],c.prototype,"portal",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],c.prototype,"styleUrl",void 0),(0,i.Cg)([(0,n.MZ)({type:h.V,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,u.e)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)()],c.prototype,"_fetchCacheKey",null),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.WebStyleSymbol")],c)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(25482),s=o(91429);let l=class extends i.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,s.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,s.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),h=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new s.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const c=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new s.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,i.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,i.Cg)([(0,a.MZ)({type:c,json:{write:!0}})],m.prototype,"border",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>s,oG:()=>n});var r=o(4595),i=o(8893);function s(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||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!s(e)}const n={types:{key:"type",base:r.A,typeMap:{line:i.A}},json:{write:!0}}},4792(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends s.o{constructor(e){super(e),this.color=new i.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const h=y},39065(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},51734(e,t,o){o.d(t,{J:()=>h});var r,i=o(4792),s=o(5482),l=o(91429),n=o(93223);let a=r=class extends i.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:i.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),i=o(66552),s=o(91429),l=o(36533),n=o(93223);const a=(0,i.O)()({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 p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,s.MZ)({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"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,s.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(91429),s=o(3955);let l=class extends s.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),i=o(44633),s=o(3955),l=o(16264);const n={types:{key:"type",base:s.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:i.A}},json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(69622),l=o(91429),n=o(20655);let a=r=class extends s.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,i.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),i=o(69540),s=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(25482),l=o(91429),n=o(67222);let a=r=class extends s.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,i.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,i=o(5482),s=o(69622),l=o(91429);let n=r=class extends s.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,i.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{ON:()=>i,U9:()=>l,u7:()=>s});var r=o(68197);const i=new r.A("white"),s=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},83213(e,t,o){o.d(t,{x:()=>r,z:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),i=o(90629),s=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,i=t.color;return i&&Array.isArray(i)?new r.A([i[0]||0,i[1]||0,i[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[s.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[s.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:s.jz}},writer:a}}}}const y={type:Number,cast:i.cr,json:{write:!0}}},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const i=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),s=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return i;case"cylinder":case"cone":case"inverted-cone":return s;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},5760(e,t,o){o.d(t,{NM:()=>n,Tb:()=>a,_R:()=>l,h9:()=>s,rM:()=>p,x0:()=>y,y7:()=>h});var r=o(34727),i=o(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},33910(e,t,o){o.d(t,{dp:()=>W,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>k,Bu:()=>D,Es:()=>L,q8:()=>N,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,i=o(56507),s=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),h=o(4718),u=o(90629),c=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const i={};return e&&(i.url=e),t&&(i.outline=t),null!=o&&(i.width=(0,u.cr)(o)),null!=r&&(i.height=(0,u.cr)(r)),i}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,h.o8)(this.color),height:this.height,outline:(0,h.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,h.o8)(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,y.Cg)([(0,c.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,c.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,c.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,c.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),f=o(75981),C=o(65365),v=o(94985),A=o(31593),S=o(53930),M=o(20378),Z=o(68249),j=o(37757);function x(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 z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"},O={base:M.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,s.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},P={base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},W=(0,i.aq)(L)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),i=o(97159);function s(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,i.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):s(t.url,o)}},write:{writer(e,t,o,s){!function(e,t,o,s){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,i.w)(o.url,t,"url",s)}else(0,i.w)(e,t,"url",s)}(e,t,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=s(t.url,o)),r}}}}}}]);