@arcgis/core 4.23.0-next.20220119 → 4.23.0-next.20220127

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 (479) hide show
  1. package/Graphic.js +1 -1
  2. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/02fbc76dfdc20e628c61.js +1 -0
  5. package/assets/esri/core/workers/chunks/0317f37b6c8705b363fd.js +1 -0
  6. package/assets/esri/core/workers/chunks/0453fad5cb819797b4f6.js +1 -0
  7. package/assets/esri/core/workers/chunks/{d1454155ee1b8a421cbb.js → 0d02c6ad1f4688bfa374.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0d684f16f37d5dc385dd.js +1 -0
  9. package/assets/esri/core/workers/chunks/0e17691520d890d34efb.js +1 -0
  10. package/assets/esri/core/workers/chunks/12c0cabb6c59e65d8546.js +1 -0
  11. package/assets/esri/core/workers/chunks/16b6d0f8378582c051c3.js +1 -0
  12. package/assets/esri/core/workers/chunks/{b313ab14a643273e7d09.js → 1877ab1b6a115dbba1c5.js} +1 -1
  13. package/assets/esri/core/workers/chunks/199670a3a564ebe3bd79.js +1 -0
  14. package/assets/esri/core/workers/chunks/1b2a961f776a0b57e57a.js +1 -0
  15. package/assets/esri/core/workers/chunks/1b3fd66577b19aa5f2b6.js +1 -0
  16. package/assets/esri/core/workers/chunks/1f8c6a179e39fd4c5e6f.js +1 -0
  17. package/assets/esri/core/workers/chunks/2076fcbae63f1bfb7143.js +1 -0
  18. package/assets/esri/core/workers/chunks/{b2ae5fc4f787ea568b88.js → 2460f3b6ada6ae900dec.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{99f0d896c17dd09cd285.js → 2629adf79e7fd9f25f07.js} +1 -1
  20. package/assets/esri/core/workers/chunks/281b89dbf5574fc642ae.js +1 -0
  21. package/assets/esri/core/workers/chunks/{4d539878bfbd7c549e60.js → 2c8fe9bc988c3c5760a5.js} +1 -1
  22. package/assets/esri/core/workers/chunks/2e899ef5881b4ec6fa55.js +1 -0
  23. package/assets/esri/core/workers/chunks/322d917e8cb398816a93.js +1 -0
  24. package/assets/esri/core/workers/chunks/34b59d7099904dcb28b5.js +1 -0
  25. package/assets/esri/core/workers/chunks/391e96192d1ec4e55ce2.js +1 -0
  26. package/assets/esri/core/workers/chunks/{1b28042fdf3f4dbc8ea5.js → 392b6382e06652dd4c80.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3aa73119b055e05bbbeb.js +1 -0
  28. package/assets/esri/core/workers/chunks/3f343f792fd9f44d6f25.js +1 -0
  29. package/assets/esri/core/workers/chunks/422537fc3df707bb62c9.js +1 -0
  30. package/assets/esri/core/workers/chunks/{573dc3064e84ca86844d.js → 48fa8aed6c24877b44c4.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{44b01d42d4ec72913229.js → 4954fd86b48cc68b737c.js} +1 -1
  32. package/assets/esri/core/workers/chunks/4ba6de8aa7e2960bad49.js +1 -0
  33. package/assets/esri/core/workers/chunks/4c76146014dc15143ba3.js +1 -0
  34. package/assets/esri/core/workers/chunks/52ea678ba1da0e349919.js +1 -0
  35. package/assets/esri/core/workers/chunks/56274b37ff74ca0d68a6.js +1 -0
  36. package/assets/esri/core/workers/chunks/{b9c177524b3e7de1ffd1.js → 5790d171072b3c7d108f.js} +1 -1
  37. package/assets/esri/core/workers/chunks/57b349d1dbc0bed75b79.js +1 -0
  38. package/assets/esri/core/workers/chunks/5948923e07bd1662c24a.js +1 -0
  39. package/assets/esri/core/workers/chunks/5bcb3240b3c005e5fe72.js +1 -0
  40. package/assets/esri/core/workers/chunks/5dbe555a5a662ff3d9ce.js +1 -0
  41. package/assets/esri/core/workers/chunks/5ec98f4ddac707d0fbd1.js +1 -0
  42. package/assets/esri/core/workers/chunks/5ee497d5d7b0e580526a.js +1 -0
  43. package/assets/esri/core/workers/chunks/5f1dcb6556820cd0aa31.js +1 -0
  44. package/assets/esri/core/workers/chunks/601e697dc7414bda128a.js +1 -0
  45. package/assets/esri/core/workers/chunks/64b7e8d812ea8fcf269e.js +1 -0
  46. package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +1 -0
  47. package/assets/esri/core/workers/chunks/68a59ce98177d8513337.js +1 -0
  48. package/assets/esri/core/workers/chunks/69fd99b7c76e9992ccf3.js +1 -0
  49. package/assets/esri/core/workers/chunks/{9cdaba126ac7fa5f33f0.js → 6cd5e4380d29b9a3c344.js} +1 -1
  50. package/assets/esri/core/workers/chunks/6e6a3c5866e8d8820457.js +1 -0
  51. package/assets/esri/core/workers/chunks/75d812955a473d0e8960.js +1 -0
  52. package/assets/esri/core/workers/chunks/{7aa543a97f055cddea99.js → 7a5f5acfbd4ca1a5c1f3.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{64276aacaafa4c8a15bd.js → 7dcf52d3db3903c8eb9f.js} +1 -1
  54. package/assets/esri/core/workers/chunks/8001b0e514bfffe9d7f8.js +1 -0
  55. package/assets/esri/core/workers/chunks/83b8fec1650e061aaa56.js +1 -0
  56. package/assets/esri/core/workers/chunks/83d00afae4406ec78bc9.js +1 -0
  57. package/assets/esri/core/workers/chunks/842db82733635dbf25cb.js +1 -0
  58. package/assets/esri/core/workers/chunks/{625d2663daa8e0cf64b0.js → 85b1f36790df95b17659.js} +1 -1
  59. package/assets/esri/core/workers/chunks/89820b200ee44e678af5.js +1 -0
  60. package/assets/esri/core/workers/chunks/8fa0a14165d43ffe87a5.js +1 -0
  61. package/assets/esri/core/workers/chunks/929c9b7cdab7c4ca3d87.js +1 -0
  62. package/assets/esri/core/workers/chunks/94515fb3ef38067eeadd.js +1 -0
  63. package/assets/esri/core/workers/chunks/{010a71c2aa1b7681e191.js → 9d11f84e6c893b9d0019.js} +1 -1
  64. package/assets/esri/core/workers/chunks/a1930e4f035bc9aa1ae5.js +1 -0
  65. package/assets/esri/core/workers/chunks/a78757b9c7e8cbea08fa.js +1 -0
  66. package/assets/esri/core/workers/chunks/a8692bffb76444c34760.js +1 -0
  67. package/assets/esri/core/workers/chunks/aa04b90b82bf70caaae4.js +1 -0
  68. package/assets/esri/core/workers/chunks/aeaa1667c2d9f1b3366b.js +1 -0
  69. package/assets/esri/core/workers/chunks/b2d2de935487257c568b.js +1 -0
  70. package/assets/esri/core/workers/chunks/{a8b13fb804bb775e4967.js → b62e3dccd9f662c0afeb.js} +1 -1
  71. package/assets/esri/core/workers/chunks/b97953694f42bfec1b3c.js +1 -0
  72. package/assets/esri/core/workers/chunks/b9e9cb354822c6d995a4.js +1 -0
  73. package/assets/esri/core/workers/chunks/{4b69129c0557852d9b3d.js → ba5eb394f098968c22d2.js} +1 -1
  74. package/assets/esri/core/workers/chunks/ba762bcfd74af0bb8218.js +1 -0
  75. package/assets/esri/core/workers/chunks/bac9fc90e6756e211160.js +1 -0
  76. package/assets/esri/core/workers/chunks/bf6dda4a2af14c4b7716.js +1 -0
  77. package/assets/esri/core/workers/chunks/bf97a933ea3b220115e1.js +1 -0
  78. package/assets/esri/core/workers/chunks/bfedd6ebff817c9b31c0.js +1 -0
  79. package/assets/esri/core/workers/chunks/c093dff4592832ac0973.js +1 -0
  80. package/assets/esri/core/workers/chunks/c1135cb02ec46c491459.js +1 -0
  81. package/assets/esri/core/workers/chunks/c2253a9f29c1aabb2b75.js +1 -0
  82. package/assets/esri/core/workers/chunks/c9cbf8135e95f0f42cd9.js +1 -0
  83. package/assets/esri/core/workers/chunks/{d39b7983b68d6e5b404d.js → cdbc005eebec1503b99d.js} +1 -1
  84. package/assets/esri/core/workers/chunks/d04fca5d46cca02500b7.js +1 -0
  85. package/assets/esri/core/workers/chunks/d07440469fe7d181c4fd.js +1 -0
  86. package/assets/esri/core/workers/chunks/d08efbc349dd9f999497.js +1 -0
  87. package/assets/esri/core/workers/chunks/d72488db62fcf39447b6.js +1 -0
  88. package/assets/esri/core/workers/chunks/d835b2a683fcd8aeeed8.js +1 -0
  89. package/assets/esri/core/workers/chunks/dbf192b4ce7e608610f6.js +1 -0
  90. package/assets/esri/core/workers/chunks/dd13772a5e2eccc6a2bc.js +1 -0
  91. package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +981 -0
  92. package/assets/esri/core/workers/chunks/dedc333a61081772ca7b.js +1 -0
  93. package/assets/esri/core/workers/chunks/{22b09e276c9b9f22f0f8.js → dee9929d95e9fe26929c.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{a7b1b75643ed31489495.js → e0c8d61c7a85ce15499a.js} +1 -1
  95. package/assets/esri/core/workers/chunks/e12d91ef44d6f879a02a.js +1 -0
  96. package/assets/esri/core/workers/chunks/{0ce1dc14280d6f188468.js → e4896cf85fb2da8a9cc7.js} +1 -1
  97. package/assets/esri/core/workers/chunks/e657ba0cab29f05d02da.js +1 -0
  98. package/assets/esri/core/workers/chunks/e8741bf421f80213f1d3.js +1 -0
  99. package/assets/esri/core/workers/chunks/e8e775758b79c5a084c8.js +1 -0
  100. package/assets/esri/core/workers/chunks/e93dfdede0532a89ffa5.js +1 -0
  101. package/assets/esri/core/workers/chunks/e9e5196b44b6923be1a3.js +1 -0
  102. package/assets/esri/core/workers/chunks/ea595b0df5050eda2a13.js +1 -0
  103. package/assets/esri/core/workers/chunks/{1305ef8717da6e902a55.js → ec10151a2a95e95a0bb5.js} +1 -1
  104. package/assets/esri/core/workers/chunks/eccba071ced2d922bb85.js +1 -0
  105. package/assets/esri/core/workers/chunks/f2124f4d0f2b8a91f0ea.js +1 -0
  106. package/assets/esri/core/workers/chunks/f9ff3eaf4eb324429fbd.js +1 -0
  107. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  108. package/assets/esri/themes/base/_mixins.scss +4 -1
  109. package/assets/esri/themes/base/icons/style.scss +11 -2
  110. package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +13 -10
  111. package/assets/esri/themes/base/widgets/_CoordinateConversion.scss +4 -2
  112. package/assets/esri/themes/base/widgets/_Directions.scss +5 -3
  113. package/assets/esri/themes/base/widgets/_Editor.scss +5 -2
  114. package/assets/esri/themes/base/widgets/_ElevationProfile.scss +6 -4
  115. package/assets/esri/themes/base/widgets/_FeatureTable.scss +6 -0
  116. package/assets/esri/themes/base/widgets/_ItemList.scss +1 -1
  117. package/assets/esri/themes/base/widgets/_LayerList.scss +13 -9
  118. package/assets/esri/themes/base/widgets/_Popup.scss +4 -2
  119. package/assets/esri/themes/base/widgets/_Print.scss +24 -11
  120. package/assets/esri/themes/base/widgets/_Search.scss +4 -2
  121. package/assets/esri/themes/base/widgets/_TableList.scss +9 -7
  122. package/assets/esri/themes/base/widgets/_Weather.scss +12 -0
  123. package/assets/esri/themes/base/widgets/_Widget.scss +18 -9
  124. package/assets/esri/themes/dark/main.css +1 -1
  125. package/assets/esri/themes/dark-blue/main.css +1 -1
  126. package/assets/esri/themes/dark-green/main.css +1 -1
  127. package/assets/esri/themes/dark-purple/main.css +1 -1
  128. package/assets/esri/themes/dark-red/main.css +1 -1
  129. package/assets/esri/themes/light/main.css +1 -1
  130. package/assets/esri/themes/light/view.css +1 -1
  131. package/assets/esri/themes/light-blue/main.css +1 -1
  132. package/assets/esri/themes/light-green/main.css +1 -1
  133. package/assets/esri/themes/light-purple/main.css +1 -1
  134. package/assets/esri/themes/light-red/main.css +1 -1
  135. package/assets/esri/widgets/Weather/t9n/Weather.json +1 -1
  136. package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
  137. package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
  138. package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
  139. package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
  140. package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
  141. package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
  142. package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
  143. package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
  144. package/assets/esri/widgets/Weather/t9n/Weather_en.json +1 -1
  145. package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
  146. package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
  147. package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
  148. package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
  149. package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
  150. package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
  151. package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
  152. package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
  153. package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
  154. package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
  155. package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
  156. package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
  157. package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
  158. package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
  159. package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
  160. package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
  161. package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
  162. package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
  163. package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
  164. package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
  165. package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
  166. package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
  167. package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
  168. package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
  169. package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
  170. package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
  171. package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
  172. package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
  173. package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
  174. package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
  175. package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
  176. package/chunks/CloudsComposition.glsl.js +4 -4
  177. package/chunks/ComponentShader.glsl.js +19 -19
  178. package/chunks/Precipitation.glsl.js +91 -0
  179. package/chunks/Terrain.glsl.js +11 -11
  180. package/chunks/WaterSurface.glsl.js +21 -21
  181. package/chunks/pe.js +1 -1
  182. package/chunks/vec3.js +1 -1
  183. package/chunks/vxlLayer.js +1 -1
  184. package/core/accessorSupport/ensureType.js +1 -1
  185. package/core/accessorSupport/get.js +1 -1
  186. package/core/accessorSupport/read.js +1 -1
  187. package/core/accessorSupport/set.js +1 -1
  188. package/core/accessorSupport/write.js +1 -1
  189. package/core/clock.js +1 -1
  190. package/core/has.js +1 -1
  191. package/core/jsonMap.js +1 -1
  192. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  193. package/core/promiseUtils.js +1 -1
  194. package/core/reactiveUtils.js +1 -1
  195. package/core/workers/workerFactory.js +1 -1
  196. package/form/ExpressionInfo.js +1 -1
  197. package/geometry/pe.js +1 -1
  198. package/geometry/support/axisAngleDegrees.js +1 -1
  199. package/geometry/support/heightModelInfoUtils.js +1 -1
  200. package/interfaces.d.ts +343 -106
  201. package/layers/RouteLayer.js +1 -1
  202. package/layers/VoxelLayer.js +1 -1
  203. package/layers/VoxelWasmPerScene.js +1 -1
  204. package/layers/support/RasterWorker.js +1 -1
  205. package/layers/support/rasterDatasets/BaseRaster.js +1 -1
  206. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  207. package/libs/vxl/enums.js +1 -1
  208. package/package.json +2 -2
  209. package/popup/content/AttachmentsContent.js +1 -1
  210. package/popup/content/support/mediaInfoTypes.js +1 -1
  211. package/portal/schemas/buildingSceneLayerItem.js +1 -1
  212. package/portal/schemas/definitions.js +1 -1
  213. package/portal/schemas/integratedMeshLayerItem.js +1 -1
  214. package/portal/schemas/pointCloudLayerItem.js +1 -1
  215. package/portal/schemas/sceneLayerItem.js +1 -1
  216. package/portal/schemas/webScene.js +1 -1
  217. package/rest/find.js +1 -1
  218. package/rest/geometryService/generalize.js +1 -1
  219. package/rest/geometryService/lengths.js +1 -1
  220. package/rest/geometryService/offset.js +1 -1
  221. package/rest/geometryService/relation.js +1 -1
  222. package/rest/geometryService/trimExtend.js +1 -1
  223. package/rest/identify.js +1 -1
  224. package/{tasks → rest}/operations/find.js +0 -0
  225. package/{tasks → rest}/operations/generalize.js +0 -0
  226. package/rest/operations/identify.js +5 -0
  227. package/{tasks → rest}/operations/lengths.js +0 -0
  228. package/{tasks → rest}/operations/offset.js +0 -0
  229. package/{tasks → rest}/operations/relation.js +0 -0
  230. package/{tasks → rest}/operations/trimExtend.js +0 -0
  231. package/{tasks → rest}/operations/urlUtils.js +0 -0
  232. package/rest/print.js +1 -1
  233. package/rest/query/operations/query.js +1 -1
  234. package/rest/query/operations/queryAttachments.js +1 -1
  235. package/rest/query/operations/queryRelatedRecords.js +1 -1
  236. package/rest/query/operations/queryTopFeatures.js +1 -1
  237. package/rest/route/utils.js +1 -1
  238. package/rest/support/NetworkServiceDescription.js +1 -1
  239. package/rest/support/RouteInfo.js +1 -1
  240. package/rest/support/RouteParameters.js +1 -1
  241. package/rest/support/RouteSettings.js +5 -0
  242. package/rest/support/Stop.js +1 -1
  243. package/rest/support/networkEnums.js +1 -1
  244. package/support/arcadeOnDemand.js +1 -1
  245. package/support/featureFlags.js +1 -1
  246. package/support/revision.js +1 -1
  247. package/symbols/Font.js +1 -1
  248. package/symbols/LabelSymbol3D.js +1 -1
  249. package/symbols/PointSymbol3D.js +1 -1
  250. package/symbols/TextSymbol.js +1 -1
  251. package/symbols/TextSymbol3DLayer.js +1 -1
  252. package/symbols/cim/CIMSymbolHelper.js +1 -1
  253. package/symbols/cim/CIMSymbolRasterizer.js +1 -1
  254. package/symbols/cim/cimAnalyzer.js +1 -1
  255. package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
  256. package/symbols/support/Symbol3DVerticalOffset.js +1 -1
  257. package/symbols/support/cimSymbolUtils.js +1 -1
  258. package/symbols/support/previewCIMSymbol.js +1 -1
  259. package/symbols/support/previewSymbol2D.js +1 -1
  260. package/symbols/support/previewSymbol3D.js +1 -1
  261. package/symbols/support/previewWebStyleSymbol.js +1 -1
  262. package/symbols/support/svgUtils.js +1 -1
  263. package/symbols/support/textUtils.js +5 -0
  264. package/symbols.js +1 -1
  265. package/views/2d/MapViewConstraints.js +1 -1
  266. package/views/2d/engine/webgl/brushes/raster/BrushRasterBitmap.js +1 -1
  267. package/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js +1 -1
  268. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  269. package/views/2d/layers/features/sources/BaseFeatureSource.js +1 -1
  270. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  271. package/views/2d/support/engineHelpers.js +1 -1
  272. package/views/2d/viewpointUtils.js +1 -1
  273. package/views/3d/environment/CloudsComposition.glsl.js +1 -1
  274. package/views/3d/environment/CloudsComposition.js +1 -1
  275. package/views/3d/environment/CloudsGenerator.js +1 -1
  276. package/views/3d/environment/CloudsPresets.js +1 -1
  277. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  278. package/views/3d/environment/Fog.js +1 -1
  279. package/views/3d/environment/Precipitation.glsl.js +5 -0
  280. package/views/3d/environment/Precipitation.js +5 -0
  281. package/views/3d/environment/PrecipitationTechnique.js +5 -0
  282. package/views/3d/environment/RainyWeather.js +1 -1
  283. package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
  284. package/views/3d/environment/SnowyWeather.js +5 -0
  285. package/views/3d/environment/weather.js +1 -1
  286. package/views/3d/interactive/analysisTools/slice/SliceTool.js +1 -1
  287. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
  288. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  289. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  290. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  291. package/views/3d/layers/GraphicsView3D.js +1 -1
  292. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  293. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  294. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  295. package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
  296. package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
  297. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +5 -0
  298. package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
  299. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  300. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  301. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  302. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  303. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  304. package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
  305. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  306. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  307. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  308. package/views/3d/layers/graphics/GraphicsProcessor.js +5 -0
  309. package/views/3d/layers/graphics/QueryEngine.js +1 -1
  310. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  311. package/views/3d/support/sunUtils.js +1 -1
  312. package/views/3d/terrain/OverlayRenderer.js +1 -1
  313. package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +21 -13
  314. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
  315. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +12 -14
  316. package/views/3d/webgl-engine/lib/OffscreenRendering.js +1 -1
  317. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  318. package/views/3d/webgl-engine/lib/RenderPluginManager.js +1 -1
  319. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  320. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  321. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  322. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  323. package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
  324. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  325. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  326. package/views/3d/webgl-engine/parts/Model.js +1 -1
  327. package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
  328. package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
  329. package/views/MapView.js +1 -1
  330. package/views/SceneView.js +1 -1
  331. package/views/View.js +1 -1
  332. package/views/input/recognizers/DoubleTapDrag.js +1 -1
  333. package/views/input/recognizers/ImmediateDoubleClick.js +1 -1
  334. package/views/input/recognizers/PointerClickHoldAndDrag.js +1 -1
  335. package/views/input/recognizers/SingleAndDoubleClick.js +1 -1
  336. package/views/interactive/dragEventPipeline.js +1 -1
  337. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  338. package/views/support/DefaultsFromMap.js +1 -1
  339. package/views/support/projectionUtils.js +5 -0
  340. package/views/webgl/ContextState.js +1 -1
  341. package/views/webgl/FramebufferObject.js +1 -1
  342. package/views/webgl/Renderbuffer.js +1 -1
  343. package/views/webgl/RenderingContext.js +1 -1
  344. package/views/webgl/Texture.js +1 -1
  345. package/views/webgl/Util.js +1 -1
  346. package/views/webgl/enums.js +1 -1
  347. package/views/webgl/rasterUtils.js +1 -1
  348. package/views/webgl/testFloatBufferBlend.js +1 -1
  349. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  350. package/widgets/Attachments.js +1 -1
  351. package/widgets/BasemapGallery/BasemapGalleryViewModel.js +1 -1
  352. package/widgets/BasemapGallery/support/BasemapGalleryItem.js +1 -1
  353. package/widgets/BasemapGallery/support/basemapCompatibilityUtils.js +1 -1
  354. package/widgets/BasemapGallery.js +1 -1
  355. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  356. package/widgets/Feature/FeatureExpression.js +1 -1
  357. package/widgets/Feature/FeatureMedia/FeatureMediaViewModel.js +1 -1
  358. package/widgets/Feature/FeatureMedia.js +1 -1
  359. package/widgets/Feature/FeatureViewModel.js +1 -1
  360. package/widgets/FeatureForm/InputField.js +1 -1
  361. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  362. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  363. package/widgets/FeatureTable.js +1 -1
  364. package/widgets/LayerList/LayerListViewModel.js +1 -1
  365. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  366. package/widgets/Popup/PopupViewModel.js +1 -1
  367. package/widgets/Popup/actionUtils.js +1 -1
  368. package/widgets/Slice/SliceViewModel.js +1 -1
  369. package/widgets/Slider/SliderViewModel.js +1 -1
  370. package/widgets/Slider.js +1 -1
  371. package/widgets/Weather/WeatherViewModel.js +1 -1
  372. package/widgets/Weather/css.js +1 -1
  373. package/widgets/Weather/enums.js +5 -0
  374. package/widgets/Weather.js +1 -1
  375. package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
  376. package/widgets/support/InteractiveToolViewModel.js +1 -1
  377. package/widgets/support/geolocationUtils.js +1 -1
  378. package/assets/components/assets/calcite-icon/checkSquareF16.json +0 -1
  379. package/assets/components/assets/calcite-icon/checkSquareF24.json +0 -1
  380. package/assets/components/assets/calcite-icon/checkSquareF32.json +0 -1
  381. package/assets/components/assets/calcite-icon/lineSolid4.json +0 -1
  382. package/assets/components/assets/calcite-icon/squareF16.json +0 -1
  383. package/assets/components/assets/calcite-icon/squareF24.json +0 -1
  384. package/assets/components/assets/calcite-icon/squareF32.json +0 -1
  385. package/assets/components/assets/calcite-icon/xHexagon16.json +0 -1
  386. package/assets/components/assets/calcite-icon/xHexagon24.json +0 -1
  387. package/assets/components/assets/calcite-icon/xHexagon32.json +0 -1
  388. package/assets/components/assets/calcite-icon/xHexagonF16.json +0 -1
  389. package/assets/components/assets/calcite-icon/xHexagonF24.json +0 -1
  390. package/assets/components/assets/calcite-icon/xHexagonF32.json +0 -1
  391. package/assets/components/assets/calcite-icon/xOctagonF16.json +0 -1
  392. package/assets/components/assets/calcite-icon/xOctagonF24.json +0 -1
  393. package/assets/components/assets/calcite-icon/xOctagonF32.json +0 -1
  394. package/assets/esri/core/workers/chunks/01ef8de7f76a8c61b464.js +0 -1
  395. package/assets/esri/core/workers/chunks/05db312a0ca6bd3f014a.js +0 -1
  396. package/assets/esri/core/workers/chunks/09da224052976e290828.js +0 -1
  397. package/assets/esri/core/workers/chunks/0c3e3a5baf54bd5e210c.js +0 -1
  398. package/assets/esri/core/workers/chunks/0f254c3e91e8fee55f28.js +0 -1
  399. package/assets/esri/core/workers/chunks/14bef72154b3a19561a7.js +0 -1
  400. package/assets/esri/core/workers/chunks/18668dc45eb9e35530df.js +0 -1
  401. package/assets/esri/core/workers/chunks/1fd48459afb58a6cf14f.js +0 -1
  402. package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +0 -1
  403. package/assets/esri/core/workers/chunks/208a7e24e19fc5633dd7.js +0 -1
  404. package/assets/esri/core/workers/chunks/21a77eed1a4ef5b0ff08.js +0 -1
  405. package/assets/esri/core/workers/chunks/23745a5ab47c840dc452.js +0 -1
  406. package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +0 -1
  407. package/assets/esri/core/workers/chunks/25a3e9bc0b4c7e0d3165.js +0 -1
  408. package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +0 -1
  409. package/assets/esri/core/workers/chunks/32f8c4af7e70ebdcb19e.js +0 -1
  410. package/assets/esri/core/workers/chunks/3564e14010953def6df9.js +0 -1
  411. package/assets/esri/core/workers/chunks/36a3f6fb4d1d18fcb642.js +0 -1
  412. package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +0 -1
  413. package/assets/esri/core/workers/chunks/3a9740dccda6a733313c.js +0 -1
  414. package/assets/esri/core/workers/chunks/3aa4194dc5497c57647f.js +0 -1
  415. package/assets/esri/core/workers/chunks/403c7d64f12f00330d88.js +0 -1
  416. package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +0 -1
  417. package/assets/esri/core/workers/chunks/4409d77c9734de4e82a7.js +0 -1
  418. package/assets/esri/core/workers/chunks/47395d225229d237f0ac.js +0 -1
  419. package/assets/esri/core/workers/chunks/4bfbf5a34c9207fdcf44.js +0 -1
  420. package/assets/esri/core/workers/chunks/5d4863a92b03bebc1b54.js +0 -1
  421. package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +0 -1
  422. package/assets/esri/core/workers/chunks/615aa2d3ecafe30c80c0.js +0 -1
  423. package/assets/esri/core/workers/chunks/618076e6de605873e433.js +0 -1
  424. package/assets/esri/core/workers/chunks/631c5b514bb73782c570.js +0 -1
  425. package/assets/esri/core/workers/chunks/634b5ccd7a3ac67f855d.js +0 -1
  426. package/assets/esri/core/workers/chunks/662d13f68cf3ec92439b.js +0 -1
  427. package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +0 -1
  428. package/assets/esri/core/workers/chunks/6c1e92ff4c732dfda756.js +0 -1
  429. package/assets/esri/core/workers/chunks/722a10c65456844d72b9.js +0 -1
  430. package/assets/esri/core/workers/chunks/75d53b28afe732c459b2.js +0 -1
  431. package/assets/esri/core/workers/chunks/76eef4799f6c5fff7e2d.js +0 -1
  432. package/assets/esri/core/workers/chunks/7e596478507466953e65.js +0 -1
  433. package/assets/esri/core/workers/chunks/85e27fd949475f9a6bbc.js +0 -1
  434. package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +0 -1
  435. package/assets/esri/core/workers/chunks/8a250ec51097f16feb66.js +0 -1
  436. package/assets/esri/core/workers/chunks/8b6ab6202a40fe622833.js +0 -1
  437. package/assets/esri/core/workers/chunks/8fdd5bca3716816d359b.js +0 -1
  438. package/assets/esri/core/workers/chunks/96ab518eb6ba11333dee.js +0 -1
  439. package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +0 -1
  440. package/assets/esri/core/workers/chunks/9d9dffc8884d66a258e4.js +0 -1
  441. package/assets/esri/core/workers/chunks/a28b53c61bddefb6616e.js +0 -1
  442. package/assets/esri/core/workers/chunks/a6ff3db3493543df81bc.js +0 -1
  443. package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +0 -1
  444. package/assets/esri/core/workers/chunks/a960074644c3722be71e.js +0 -1
  445. package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +0 -1
  446. package/assets/esri/core/workers/chunks/ad081d8e49e7f90c3c26.js +0 -1
  447. package/assets/esri/core/workers/chunks/b10fcbe1393c812fc219.js +0 -1
  448. package/assets/esri/core/workers/chunks/b9de831ac379cf1d2969.js +0 -1
  449. package/assets/esri/core/workers/chunks/ba615f118a3a8970ef25.js +0 -1
  450. package/assets/esri/core/workers/chunks/ba6654a885be4b7a43f0.js +0 -1
  451. package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +0 -1
  452. package/assets/esri/core/workers/chunks/c11474b702dfb94e8e87.js +0 -1
  453. package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +0 -1
  454. package/assets/esri/core/workers/chunks/c3eca92d02958732e141.js +0 -1
  455. package/assets/esri/core/workers/chunks/c6bd943fe8fd13bb4806.js +0 -1
  456. package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +0 -1
  457. package/assets/esri/core/workers/chunks/c8f976e53e232e8da9cc.js +0 -981
  458. package/assets/esri/core/workers/chunks/cb68db7169b9dfd1c3ff.js +0 -1
  459. package/assets/esri/core/workers/chunks/cc96608b2802fbfe7a08.js +0 -1
  460. package/assets/esri/core/workers/chunks/cd02fe27eb07681cb366.js +0 -1
  461. package/assets/esri/core/workers/chunks/cfbffa429d88e7709c3f.js +0 -1
  462. package/assets/esri/core/workers/chunks/d24c4fbc567486b1188f.js +0 -1
  463. package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +0 -1
  464. package/assets/esri/core/workers/chunks/da1c2873bdbc0956dca0.js +0 -1
  465. package/assets/esri/core/workers/chunks/dd433c160f7a0c120b82.js +0 -1
  466. package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +0 -1
  467. package/assets/esri/core/workers/chunks/e2d68bcd2f99a65387bf.js +0 -1
  468. package/assets/esri/core/workers/chunks/e6df9839b551569fbc62.js +0 -1
  469. package/assets/esri/core/workers/chunks/ed0297fc61014e848c18.js +0 -1
  470. package/assets/esri/core/workers/chunks/ef8b75b92cf549e0507e.js +0 -1
  471. package/assets/esri/core/workers/chunks/f467c8f1fce22f6f599c.js +0 -1
  472. package/assets/esri/core/workers/chunks/f678293de9a6d8f5b5db.js +0 -1
  473. package/assets/esri/core/workers/chunks/f7fc4c993536e62f7f3e.js +0 -1
  474. package/assets/esri/core/workers/chunks/fd3e5d823dc7917f4b8f.js +0 -1
  475. package/assets/esri/core/workers/chunks/ffaf091c6023225cf5aa.js +0 -1
  476. package/symbols/support/constants.js +0 -5
  477. package/tasks/operations/identify.js +0 -5
  478. package/views/3d/layers/graphics/Graphics3DFeatureLikeLayerView.js +0 -5
  479. package/views/3d/layers/graphics/Graphics3DGraphicLikeLayerView.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9938,6104,8511],{1692:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(43697),i=r(66577),s=r(51773),o=r(78223),a=r(15923),l=(r(80442),r(22974)),u=r(92604),c=r(70586),d=r(31263),p=r(1153),h=r(52011);u.Z.getLogger("esri.core.Clonable");const f=e=>{let t=class extends e{clone(){const e=(0,c.s3)((0,p.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,r=e.store,n={},i=new Map;for(const e in t){const s=t[e],o=null==r?void 0:r.originOf(e);if(s.readOnly||!1===s.clonable||o!==d.s3.USER&&o!==d.s3.DEFAULTS)continue;const a=this[e];let u=null;const c=s.clonable;u="function"==typeof c?c(a):"reference"===c?a:(0,l.Vo)(a),null!=a&&null==u||(o===d.s3.DEFAULTS?i.set(e,u):n[e]=u)}const s=new(0,Object.getPrototypeOf(this).constructor)(n);if(i.size){var o;const e=null==(o=(0,p.vw)(s))?void 0:o.store;if(e)for(const[t,r]of i)e.set(t,r,d.s3.DEFAULTS)}return s}};return t=(0,n._)([(0,h.j)("esri.core.Clonable")],t),t};let m=class extends(f(a.Z)){};m=(0,n._)([(0,h.j)("esri.core.Clonable")],m);var y=r(96674),g=r(99001),v=r(5600),b=(r(67676),r(75215),r(33955));let _=class extends(f(y.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,g.D)(),configurable:!0})}normalizeCtorArgs(e,t,r,n){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:r,popupTemplate:n}}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,c.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,c.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,c.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}_notifyLayer(e,t,r,n){if(!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}};(0,n._)([(0,v.Cb)({value:null})],_.prototype,"attributes",null),(0,n._)([(0,v.Cb)({value:null,types:i.qM,json:{read:b.im}})],_.prototype,"geometry",null),(0,n._)([(0,v.Cb)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,n._)([(0,v.Cb)({clonable:"reference"})],_.prototype,"layer",void 0),(0,n._)([(0,v.Cb)({type:s.Z})],_.prototype,"popupTemplate",void 0),(0,n._)([(0,v.Cb)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,n._)([(0,v.Cb)({value:null,types:o.LB})],_.prototype,"symbol",null),(0,n._)([(0,v.Cb)({type:Boolean,value:!0})],_.prototype,"visible",null),_=(0,n._)([(0,h.j)("esri.Graphic")],_),(_||(_={})).generateUID=g.D;const w=_},99880:(e,t,r)=>{r.d(t,{V:()=>l});var n=r(68773),i=(r(3172),r(20102)),s=r(92604),o=r(17452);const a=s.Z.getLogger("esri.assets");function l(e){if(!n.Z.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new i.Z("assets:path-not-set","config.assetsPath is not set");return(0,o.v_)(n.Z.assetsPath,e)}},3920:(e,t,r)=>{r.d(t,{r:()=>c,p:()=>u});var n=r(43697),i=r(15923),s=r(61247),o=r(5600),a=r(52011),l=r(89749);const u=e=>{let t=class extends e{destroy(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())}get handles(){return this._get("handles")||new s.Z}get updatingHandles(){return this._get("updatingHandles")||new l.t}};return(0,n._)([(0,o.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,n._)([(0,o.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,n._)([(0,a.j)("esri.core.HandleOwner")],t),t};let c=class extends(u(i.Z)){};c=(0,n._)([(0,a.j)("esri.core.HandleOwner")],c)},36030:(e,t,r)=>{r.d(t,{J:()=>s});var n=r(35454),i=r(5600);function s(e,t={}){var r;const s=e instanceof n.Xn?e:new n.Xn(e,t),o={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?s.apiValues:String,json:{type:s.jsonValues,read:(null==t||!t.readOnly)&&{reader:s.read},write:{writer:s.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(o.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(o.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(o.json.name=t.name),(0,i.Cb)(o)}},74085:(e,t,r)=>{function n(e){}r.d(t,{Bg:()=>n}),r(80442)},91460:(e,t,r)=>{function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function i(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const s=i(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{vT:()=>n,on:()=>i,IH:()=>s})},95330:(e,t,r)=>{r.d(t,{e4:()=>x,$6:()=>l,Ue:()=>u,zE:()=>c,dD:()=>w,hh:()=>E,vr:()=>N,Ds:()=>F,as:()=>S,WW:()=>C,R8:()=>_,D_:()=>b,Hc:()=>h,y8:()=>T,fu:()=>y,$F:()=>g,d1:()=>O,DB:()=>I,r9:()=>f,k_:()=>d,H9:()=>m,Yn:()=>U,gx:()=>P,Hl:()=>v});const n=(i=globalThis,{setTimeout:(e,t)=>{const r=i.setTimeout(e,t);return{remove:()=>i.clearTimeout(r)}}});var i,s=r(20102),o=r(91460),a=(r(92604),r(70586));function l(e){return Promise.all(e)}function u(e){return new Promise(((t,r)=>{try{e(t,r)}catch(e){Promise.resolve().then((()=>r(e)))}}))}function c(e="Aborted"){return new s.Z("AbortError",e)}function d(e,t="Aborted"){if(h(e))throw c(t)}function p(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function h(e){const t=p(e);return(0,a.pC)(t)&&t.aborted}function f(e){if(b(e))throw e}function m(e){if(!b(e))throw e}function y(e,t){const r=p(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,o.IH)(r,"abort",(()=>t()));t()}}function g(e,t){const r=p(e);if(!(0,a.Wi)(r))return d(r),(0,o.IH)(r,"abort",(()=>t(c())))}function v(e,t){const r=p(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let i=y(t,(()=>n(c())));const s=()=>i=(0,a.hw)(i);e.then(s,s),e.then(r,n)}))}function b(e){return e&&"AbortError"===e.name}function _(e){return e.catch((e=>{if(!b(e))throw e}))}function w(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function S(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return S(t.map((t=>e[t]))).then((e=>{const r={};return t.forEach(((t,n)=>r[t]=e[n])),r}))}const t=e;return u((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const i={promise:t||Promise.resolve(t)};r.push(i),i.promise.then((e=>{i.value=e})).catch((e=>{i.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function C(e){return S(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function O(e){return Promise.reject(e)}function I(e){return Promise.resolve(e)}function x(e,t,r){const n=new AbortController;return y(r,(()=>n.abort())),new Promise(((r,i)=>{let s=setTimeout((()=>{s=0,r(t)}),e);y(n,(()=>{s&&(clearTimeout(s),i(c()))}))}))}function T(e){return e&&"function"==typeof e.then}function P(e){return T(e)?e:Promise.resolve(e)}function F(e,t=-1){let r,n,i,s,o=null;const l=(...u)=>{if(r){n=u,s&&s.reject(c()),s=w();const e=(0,a.j0)(s.promise);if(o){const e=o;o=null,e.abort()}return e}if(i=s||w(),s=null,t>0){const n=new AbortController;r=P(e(...u,n.signal));const i=r;x(t).then((()=>{r===i&&(s?n.abort():o=n)}))}else r=1,r=P(e(...u));const d=()=>{const e=n;n=i=r=o=null,null!=e&&l(...e)},p=r,h=i;return p.then(d,d),p.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return l}function E(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),i=t=>{e(t)};return i.resolve=t=>e(t),i.reject=e=>t(e),i.timeout=(e,t)=>n.setTimeout((()=>i.reject(t)),e),i.promise=r,i}function N(e,t){let r,n=new AbortController;const i=e(n.signal);let s={promise:i,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const o=()=>{s&&(s.finished=!0,s=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return i.then(o,o),r=y(t,(()=>{(0,a.pC)(s)&&s.abort()})),s}function U(e){return Promise.resolve().then((()=>{d(e)}))}},67900:(e,t,r)=>{r.d(t,{gV:()=>L,En:()=>C,Z7:()=>F,c9:()=>P,_R:()=>x,qE:()=>U,cM:()=>T,hd:()=>c,ty:()=>O,Jo:()=>M,$C:()=>I}),r(80442);var n=r(35454),i=r(70586),s=r(24678),o=r(82971),a=r(68441),l=r(8744),u=r(58116);const c=39.37,d=a.sv.radius*Math.PI/200,p=/UNIT\[([^\]]+)\]\]$/i,h=u.Z,f=/UNIT\[([^\]]+)\]/i,m=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,n.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),g=e=>e*e,v=e=>e*e*e,b={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:g(.001)},"square-centimeters":{inBaseUnits:g(.01)},"square-decimeters":{inBaseUnits:g(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:g(1e3)},"square-inches":{inBaseUnits:g(.0254)},"square-feet":{inBaseUnits:g(.3048)},"square-yards":{inBaseUnits:g(.9144)},"square-miles":{inBaseUnits:g(1609.344)},"square-us-feet":{inBaseUnits:g(1200/3937)},acres:{inBaseUnits:.0015625*g(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*v(.001)},"cubic-centimeters":{inBaseUnits:1e3*v(.01)},"cubic-decimeters":{inBaseUnits:1e3*v(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*v(1e3)},"cubic-inches":{inBaseUnits:1e3*v(.0254)},"cubic-feet":{inBaseUnits:1e3*v(.3048)},"cubic-yards":{inBaseUnits:1e3*v(.9144)},"cubic-miles":{inBaseUnits:1e3*v(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},_=function(){const e={};for(const t in b)for(const r in b[t].units)e[r]=t;return e}();function w(e){const t=_[e];if(t)return t;throw new Error("unknown measure")}function S(e,t=null){return t=t||w(e),b[t].baseUnit===e}function C(e,t,r){if(t===r)return e;const n=w(t);if(n!==w(r))throw new Error("incompatible units");const i=S(t,n)?e:function(e,t,r){return e*b[r].units[t].inBaseUnits}(e,t,n);return S(r,n)?i:function(e,t,r){return e/b[r].units[t].inBaseUnits}(i,r,n)}function O(e,t,r){return C(e,t,"meters")/(r*Math.PI/180)}function I(e){return y.fromJSON(e.toLowerCase())||null}function x(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=P(e);return t>1e5?1:t}function T(e){return P(e)>=(e instanceof o.Z?(0,s.Iu)(e).metersPerDegree:1e5)?"meters":U(e)}function P(e,t=a.sv.metersPerDegree){return F(e,!0)||t}function F(e,t=!1){let r,n,i=null;if(null!=e&&("object"==typeof e?(r=e.wkid,n=e.wkt):"number"==typeof e?r=e:"string"==typeof e&&(n=e)),r){if((0,l.o$)(r))return a.yr.metersPerDegree;if((0,l.ME)(r))return a.Z1.metersPerDegree;i=h.values[h[r]],!i&&t&&m.has(r)&&(i=d)}else n&&(A(n)?i=E(p.exec(n),i):k(n)&&(i=E(f.exec(n),i)));return i}function E(e,t){return e&&e[1]?N(e[1]):t}function N(e){return parseFloat(e.split(",")[1])}function U(e){let t,r,n=null;if(null!=e&&("object"==typeof e?(t=e.wkid,r=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(r=e)),t)n=h.units[h[t]];else if(r){const e=A(r)?p:k(r)?f:null;if(e){const t=e.exec(r);t&&t[1]&&(n=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let r=t&&t[1];if(!r||-1===h.units.indexOf(r)){const t=N(e);r=null;const n=h.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<1e-7){r=h.units[e];break}}return r}(t[1]))}}return(0,i.pC)(n)?I(n):null}function k(e){return/^GEOCCS/i.test(e)}function A(e){return/^PROJCS/i.test(e)}const V={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},j={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},L=(0,n.wY)()(V),M=(0,n.wY)()(j);(0,n.wY)()({...V,...j})},17452:(e,t,r)=>{r.d(t,{R9:()=>v,qg:()=>F,tD:()=>k,ZN:()=>pe,fl:()=>he,Ie:()=>ue,sJ:()=>Q,AH:()=>H,io:()=>X,L:()=>C,TI:()=>S,vt:()=>ae,oh:()=>L,P$:()=>J,Ml:()=>fe,ed:()=>A,b7:()=>P,D6:()=>M,tm:()=>V,YP:()=>G,jc:()=>z,HK:()=>W,$U:()=>re,oC:()=>ee,kl:()=>R,v_:()=>B,hF:()=>D,_l:()=>K,PF:()=>$,Fv:()=>Z,B7:()=>T,u0:()=>I,Yd:()=>oe,Hu:()=>de,Qj:()=>le,hO:()=>ne,mN:()=>O});var n=r(68773),i=r(20102),s=r(92604),o=r(70586);const a=s.Z.getLogger("esri.core.urlUtils"),l=n.Z.request,u="esri/config: esriConfig.request.proxyUrl is not set.",c=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,d=/^\s*http:/i,p=/^\s*https:/i,h=/^\s*file:/i,f=/:\d+$/,m=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),g=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class v{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,o.j0)(this.uri.match(y));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,o.j0)(this.authority.match(g)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const b={};let _=new v(n.Z.applicationUrl);let w=function(){const e=(0,o.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const S=()=>_,C=()=>w;function O(e){const t={path:null,query:null},r=new v(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=I(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function I(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,i;t<0?(n=decodeURIComponent(e),i=""):(n=decodeURIComponent(e.slice(0,t)),i=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(i):r[n]=i}return r}function x(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function T(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r])))).join("&"):Object.keys(e).map((r=>{const n=e[r];if(null==n)return"";const i=encodeURIComponent(r)+"=",s=t&&t[r];return s?i+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>x(e)?i+encodeURIComponent(JSON.stringify(e)):i+encodeURIComponent(e))).join("&"):x(n)?i+encodeURIComponent(JSON.stringify(n)):i+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function P(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=re(e);const n=A(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(u),new i.Z("urlutils:proxy-not-set",u);return t&&ie()&&(r=ne(r)),O(r)}function F(e){const t=A(e);let r,n;if(t){const e=N(t.proxyUrl);r=e.path,n=e.query?I(e.query):null}if(r){const t=O(e);e=r+"?"+t.path;const i=T({...n,...t.query});i&&(e=`${e}?${i}`)}return e}const E={path:"",query:""};function N(e){const t=e.indexOf("?");return-1!==t?(E.path=e.slice(0,t),E.query=e.slice(t+1)):(E.path=e,E.query=null),E}function U(e){return(e=se(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=N(e).path),!0)).toLowerCase()}function k(e){const t={proxyUrl:e.proxyUrl,urlPrefix:U(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let i=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;i=e;break}0===t.indexOf(n)&&(i=e+1)}return r.splice(i,0,t),i}function A(e){const t=l.proxyRules,r=U(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function V(e,t){return e=j(e),t=j(t),se(e)===se(t)}function j(e){const t=(e=Z(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function L(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=l.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function M(e,t,r=!1){const n=ce(e),i=ce(t);return!(!r&&n.scheme!==i.scheme)&&null!=n.host&&null!=i.host&&n.host.toLowerCase()===i.host.toLowerCase()&&n.port===i.port}function R(e){if("string"==typeof e){if(!G(e))return!0;e=ce(e)}if(M(e,_))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=q(t[r]);for(let t=0;t<n.length;t++)if(M(e,n[t]))return!0}return!1}function q(e){return b[e]||(te(e)||ee(e)?b[e]=[new v(D(e))]:b[e]=[new v(`http://${e}`),new v(`https://${e}`)]),b[e]}function D(e,t=w,r){return ee(e)?r&&r.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===J(e).slice(2)?`http:${e}`:`https:${e}`:te(e)?e:(0,o.j0)(B("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function $(e,t=w,r){if(!G(e))return e;const n=Z(e),i=n.toLowerCase(),s=Z(t).toLowerCase().replace(/\/+$/,""),o=r?Z(r).toLowerCase().replace(/\/+$/,""):null;if(o&&0!==s.indexOf(o))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let l=a(i,"/",i.indexOf("//")+2),u=-1;for(;i.slice(0,l+1)===s.slice(0,l)+"/"&&(u=l+1,l!==i.length);)l=a(i,"/",l+1);if(-1===u)return e;if(o&&u<o.length)return e;e=n.slice(u);const c=s.slice(u-1).replace(/[^/]+/g,"").length;if(c>0)for(let t=0;t<c;t++)e=`../${e}`;else e=`./${e}`;return e}function Z(e){return function(e){const t=l.httpsDomains;if(!function(e){return d.test(e)||"http"===_.scheme&&ee(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),f.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&n===_.authority&&!m.test(e)||(ie()&&n===_.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||ie()&&!A(e))&&(e=ne(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=N(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=D(e=e.trim()))))}function B(...e){const t=e.filter(o.pC);if(!t||!t.length)return;const r=[];if(G(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return h.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&r.push("");const n=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function J(e,t=!1){if(z(e)||W(e))return null;let r=e.indexOf("://");if(-1===r&&ee(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=se(e,!0)),e}function G(e){return ee(e)||te(e)}function z(e){return null!=e&&"blob:"===e.slice(0,5)}function W(e){return"data:"===e.slice(0,5)}function H(e){const t=Q(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}const Y=/^data:(.*?)(;base64)?,(.*)$/;function Q(e){const t=e.match(Y);if(!t)return null;const[,r,n,i]=t;return{mediaType:r,isBase64:!!n,data:i}}function K(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function X(e,t){(function(e,t){if(!e)return!1;const r=document.createElement("a");if(!("download"in r))return!1;const n=URL.createObjectURL(e);return r.download=t,r.href=n,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ee(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function te(e){return c.test(e)}function re(e){return p.test(e)||"https"===_.scheme&&ee(e)}function ne(e){return ee(e)?`https:${e}`:e.replace(d,"https:")}function ie(){return"https"===_.scheme}function se(e,t=!1){return ee(e)?e.slice(2):(e=e.replace(c,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function oe(e){let t=0;if(G(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function ae(e,t){if(!e)return"";const r=O(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const i=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(i,"")}function le(e){return e.replace(/\/+$/,"")}function ue(e,t,r){if(!(t&&r&&e&&G(e)))return e;const n=e.indexOf("//"),i=e.indexOf("/",n+2),s=e.indexOf(":",n+2),o=Math.min(i<0?e.length:i,s<0?e.length:s);return e.slice(n+2,o).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(o)}`}function ce(e){return"string"==typeof e?new v(D(e)):(e.scheme||(e.scheme=_.scheme),e)}function de(e,t){const r=O(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function pe(e,t,r){const n=O(e),i=n.query||{};return i[t]=String(r),`${n.path}?${T(i)}`}function he(e,t){const r=O(e),n=r.query||{};for(const e in t)n[e]=t[e];const i=T(n);return i?`${r.path}?${i}`:r.path}function fe(e){if((0,o.Wi)(e))return null;const t=e.match(me);return t?t[1]:null}const me=/.*?\.([^\/]*)$/},80903:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(50758),i=r(92604),s=r(95330),o=r(25045);const a=i.Z.getLogger("esri.core.workers.Connection");class l{constructor(){this._clients=new Array,this._clientPromises=new Array,this._clientIdx=0}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((r,n)=>{let i=!0;const a=e=>{(0,s.k_)(t.signal),i&&(i=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let i=0;i<e.length;++i){const l=e[i];(0,s.y8)(l)?this._clientPromises[i]=l.then((e=>(this._clients[i]=new o.default(e,t),a(r),this._clients[i])),(()=>(a(n),null))):(this._clients[i]=new o.default(l,t),this._clientPromises[i]=Promise.resolve(this._clients[i]),a(r))}}))}broadcast(e,t,r){const n=new Array(this._clientPromises.length);for(let i=0;i<this._clientPromises.length;++i){const s=this._clientPromises[i];n[i]=s.then((n=>n.invoke(e,t,r)))}return n}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const r=this._clients[t];if(r){if(!r.isBusy())return Promise.resolve(r)}else e=e||[],e.push(this._clientPromises[t])}return e?Promise.race(e):(this._clientIdx=(this._clientIdx+1)%this._clients.length,Promise.resolve(this._clients[this._clientIdx]))}invoke(e,t,r){let n=null;return Array.isArray(r)?(a.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),n={transferList:r}):n=r,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((r=>r.invoke(e,t,n)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,n.AL)(this._clients.map((r=>r.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let r=t.length;for(let n=0;n<this._clientPromises.length;++n)this._clientPromises[n].then((i=>{t[n]=i.openPort(),0==--r&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},25045:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var n=r(40330),i=r(20102),s=r(91460),o=r(70586),a=r(95330),l=r(94362),u=r(17202);const c={statsWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(6841)]).then(r.bind(r,36841)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(966)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(8936)]).then(r.bind(r,18936)),ElevationSamplerWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(411),r.e(2781),r.e(6481),r.e(6459),r.e(3553)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(5404)]).then(r.bind(r,2255)),GeoJSONSourceWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(8961),r.e(147)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(5638),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(4325),r.e(2730),r.e(7783)]).then(r.bind(r,97783)),PointCloudWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(411),r.e(9294),r.e(9474)]).then(r.bind(r,16583)),RasterWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(411),r.e(176),r.e(8034)]).then(r.bind(r,61576)),SceneLayerWorker:()=>r.e(1412).then(r.bind(r,31412)),WFSSourceWorker:()=>Promise.all([r.e(2785),r.e(6570),r.e(9928),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(4556),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(2303),r.e(4325),r.e(1785),r.e(6810),r.e(9872)]).then(r.bind(r,56456))},{CLOSE:d,ABORT:p,INVOKE:h,RESPONSE:f,OPEN_PORT:m,ON:y}=l.Cs;class g{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===l.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new g((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new v(t.port1,{channel:t,client:r});return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=n),v.clients.set(n,r),t.port2}static loadWorker(e){const t=c[e];return t?t():Promise.resolve(null)}close(){this._post({type:d}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const n=r&&r.signal,s=r&&r.transferList;if(!this._port)return Promise.reject(new i.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const o=(0,l.jt)();return new Promise(((r,i)=>{const l=(0,a.$F)(n,(()=>{var e;const t=this._outJobs.get(o);t&&(this._outJobs.delete(o),null==(e=t.abortHandle)||e.remove(),this._post({type:p,jobId:o}),i((0,a.zE)()))})),u={resolve:r,reject:i,abortHandle:l,debugInfo:e};this._outJobs.set(o,u),this._post({type:h,jobId:o,methodName:e,abortable:null!=n},t,s)}))}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:l.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),{remove(){r.port1.postMessage({type:l.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",n)}}}openPort(){const e=new MessageChannel;return this._post({type:m,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,o.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,l.QM)(e);if(t)switch(t.type){case f:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case p:this._onAbortMessage(t);break;case d:this._onCloseMessage();break;case m:this._onOpenPortMessage(t);break;case y:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:i}=e,s=i?new AbortController:null,o=this._inJobs;let u,c=this._client,d=c[t];try{if(!d&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)c=c[e[t]],d=c[e[t+1]]}if("function"!=typeof d)throw new TypeError(`${t} is not a function`);u=d.call(c,n,{client:this,signal:s?s.signal:null})}catch(e){return void this._post({type:f,jobId:r,error:(0,l.AB)(e)})}(0,a.y8)(u)?(o.set(r,{controller:s,promise:u}),u.then((e=>{o.has(r)&&(o.delete(r),this._post({type:f,jobId:r},e))}),(e=>{o.has(r)&&(o.delete(r),(0,a.D_)(e)||this._post({type:f,jobId:r,error:(0,l.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:f,jobId:r},u)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,s.on)(e.port,"message",(e=>{(0,l.QM)(e).type===l.Cs.CLOSE&&(n.remove(),r.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:r,error:n,data:s}=e,o=this._outJobs;if(!o.has(r))return;const a=o.get(r);o.delete(r),null==(t=a.abortHandle)||t.remove(),n?a.reject(i.Z.fromJSON(JSON.parse(n))):a.resolve(s)}_post(e,t,r){return(0,l.oi)(this._port,e,t,r)}}v.kernelInfo={revision:u.$,version:n.i8,buildDate:u.r},v.clients=new Map},94362:(e,t,r)=>{r.d(t,{Cs:()=>n,jt:()=>a,oi:()=>u,QM:()=>c,AB:()=>l});var n,i,s=r(80442);(i=n||(n={}))[i.HANDSHAKE=0]="HANDSHAKE",i[i.OPEN=1]="OPEN",i[i.OPENED=2]="OPENED",i[i.RESPONSE=3]="RESPONSE",i[i.INVOKE=4]="INVOKE",i[i.ABORT=5]="ABORT",i[i.CLOSE=6]="CLOSE",i[i.OPEN_PORT=7]="OPEN_PORT",i[i.ON=8]="ON";let o=0;function a(){return o++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function u(e,t,r,i){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let s;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(s=d(i),t.data=r):(s=d(r.transferList),t.data=r.result),s?e.postMessage(t,s):e.postMessage(t)}function c(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function d(e){if(!e||!e.length)return null;if((0,s.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var n=r(75215),i=r(6570),s=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);r(82971),r(86973),r(33955);const c={base:s.Z,key:"type",typeMap:{extent:i.Z,multipoint:o.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,n.N7)(c)},24678:(e,t,r)=>{r.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>c,Iu:()=>p,e8:()=>h,rS:()=>d});var n=r(82971),i=r(68441),s=r(8744);function o(e){return new n.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=o(i.sv),l=o(i.yr),u=o(i.Z1),c=new n.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${i.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function d(e){return e&&((0,s.BZ)(e)||e===l)?l:e&&((0,s.V2)(e)||e===u)?u:a}function p(e){return e&&((0,s.BZ)(e)||e===l)?i.yr:e&&((0,s.V2)(e)||e===u)?i.Z1:i.sv}function h(e){return(0,s.o$)(e)?i.yr:(0,s.ME)(e)?i.Z1:i.sv}},33955:(e,t,r)=>{r.d(t,{im:()=>m,q9:()=>v,Ji:()=>y,YX:()=>c,aW:()=>d,wp:()=>p,oU:()=>f,l9:()=>h});var n=r(70586),i=r(6570),s=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function d(e){return void 0!==e.points}function p(e){return void 0!==e.x&&void 0!==e.y}function h(e){return void 0!==e.paths}function f(e){return void 0!==e.rings}function m(e){return(0,n.Wi)(e)?null:e instanceof s.Z?e:p(e)?a.Z.fromJSON(e):h(e)?u.Z.fromJSON(e):f(e)?l.Z.fromJSON(e):d(e)?o.Z.fromJSON(e):c(e)?i.Z.fromJSON(e):null}function y(e){return e?p(e)?"esriGeometryPoint":h(e)?"esriGeometryPolyline":f(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":d(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:i.Z,esriGeometryMultipoint:o.Z};function v(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>i,P$:()=>s});var n=r(35454);const i=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),s=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},69285:(e,t,r)=>{r.d(t,{k:()=>o});var n=r(70586),i=r(67900),s=r(8744);function o(e,t,r){if((0,n.Wi)(t)||(0,n.Wi)(r)||r.vcsWkid||(0,s.fS)(t,r))return null;const o=(0,i._R)(t)/(0,i._R)(r);if(1===o)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryExtent":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return null}}},40330:(e,t,r)=>{r.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>s,Nv:()=>o});var n=r(80442),i=r(17452);const s="4.23",o={async request(e,t){var n;const{default:s}=await r.e(3172).then(r.bind(r,3172)),o=e.options,a=o.responseType;o.signal=null==t?void 0:t.signal,o.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,i.oh)(e.url))&&n.after?a:"array-buffer";const l=await s(e.url,o),u={data:l.data,ssl:l.ssl};switch(l.requestOptions.responseType){case"native-request-init":return delete u.data.signal,u;case"blob":u.data=await u.data.arrayBuffer();break;case"json":u.data=(new TextEncoder).encode(JSON.stringify(u.data)).buffer;break;case"text":u.data=(new TextEncoder).encode(u.data).buffer}return{result:u,transferList:[u.data]}}};let a;function l(e){a=e}function u(e){const t=a&&a.findCredential(e);return t&&t.token?(0,i.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")||((0,n.Z)("edge")||(0,n.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},45425:(e,t,r)=>{r.r(t),r.d(t,{default:()=>C});var n=r(43697),i=(r(66577),r(70586)),s=r(17452),o=r(5600),a=(r(67676),r(80442)),l=(r(75215),r(71715)),u=r(52011),c=r(67284),d=r(83379),p=r(95330),h=r(78346),f=r(74889),m=r(6570);let y=class extends d.Z{constructor(e){super(e),this.type="csv",this.refresh=(0,p.Ds)((async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}}))}load(e){const t=(0,i.pC)(e)?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){var e;null==(e=this._connection)||e.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return f.default.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:m.Z.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async _startWorker(e){this._connection=await(0,h.bA)("CSVSourceWorker",{strategy:(0,a.Z)("feature-layers-workers")?"dedicated":"local",signal:e});const{url:t,delimiter:r,fields:n,latitudeField:i,longitudeField:s,spatialReference:o,timeInfo:l}=this.loadOptions,u=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:null==n?void 0:n.map((e=>e.toJSON())),latitudeField:i,longitudeField:s,spatialReference:null==o?void 0:o.toJSON(),timeInfo:null==l?void 0:l.toJSON()}},{signal:e});this.locationInfo=u.locationInfo,this.sourceJSON=u.layerDefinition,this.delimiter=u.delimiter}};(0,n._)([(0,o.Cb)()],y.prototype,"type",void 0),(0,n._)([(0,o.Cb)()],y.prototype,"loadOptions",void 0),(0,n._)([(0,o.Cb)()],y.prototype,"customParameters",void 0),(0,n._)([(0,o.Cb)()],y.prototype,"locationInfo",void 0),(0,n._)([(0,o.Cb)()],y.prototype,"sourceJSON",void 0),(0,n._)([(0,o.Cb)()],y.prototype,"delimiter",void 0),y=(0,n._)([(0,u.j)("esri.layers.graphics.sources.CSVSource")],y);const g=y;var v=r(25278),b=r(57444),_=r(25929),w=r(82971);let S=class extends c.default{constructor(...e){super(...e),this.capabilities=(0,v.MS)(!1,!1),this.delimiter=null,this.editingEnabled=!1,this.fields=null,this.latitudeField=null,this.locationType="coordinates",this.longitudeField=null,this.operationalLayerType="CSV",this.outFields=["*"],this.path=null,this.portalItem=null,this.spatialReference=w.Z.WGS84,this.source=null,this.type="csv"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return null!=t.showLabels?t.showLabels:!!(t.layerDefinition&&t.layerDefinition.drawingInfo&&t.layerDefinition.drawingInfo.labelingInfo)}set url(e){if(!e)return void this._set("url",e);const t=(0,s.mN)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async createGraphicsSource(e){const t=new g({loadOptions:{delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField,longitudeField:this.longitudeField,spatialReference:this.spatialReference,timeInfo:this.timeInfo,url:this.url},customParameters:this.customParameters});return this._set("source",t),await t.load({signal:e}),this.read({locationInfo:t.locationInfo,columnDelimiter:t.delimiter},{origin:"service",url:this.parsedUrl}),t}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(b.Z.from(e)||this.createQuery()))).then((e=>{if(null!=e&&e.features)for(const t of e.features)t.layer=t.sourceLayer=this;return e}))}queryObjectIds(e,t){return this.load().then((()=>this.source.queryObjectIds(b.Z.from(e)||this.createQuery())))}queryFeatureCount(e,t){return this.load().then((()=>this.source.queryFeatureCount(b.Z.from(e)||this.createQuery())))}queryExtent(e,t){return this.load().then((()=>this.source.queryExtent(b.Z.from(e)||this.createQuery())))}write(e,t){return super.write(e,{...t,writeLayerSchema:!0})}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return(0,i.pC)(t)&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}_verifyFields(){}_verifySource(){}_hasMemorySource(){return!1}};(0,n._)([(0,o.Cb)({readOnly:!0,json:{read:!1,write:!1}})],S.prototype,"capabilities",void 0),(0,n._)([(0,o.Cb)({type:[","," ",";","|","\t"],json:{read:{source:"columnDelimiter"},write:{target:"columnDelimiter",ignoreOrigin:!0}}})],S.prototype,"delimiter",void 0),(0,n._)([(0,o.Cb)({readOnly:!0,type:Boolean,json:{origins:{"web-scene":{read:!1,write:!1}}}})],S.prototype,"editingEnabled",void 0),(0,n._)([(0,o.Cb)({json:{read:{source:"layerDefinition.fields"},write:{target:"layerDefinition.fields"}}})],S.prototype,"fields",void 0),(0,n._)([(0,o.Cb)({type:Boolean,readOnly:!0})],S.prototype,"isTable",null),(0,n._)([(0,l.r)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],S.prototype,"readWebMapLabelsVisible",null),(0,n._)([(0,o.Cb)({type:String,json:{read:{source:"locationInfo.latitudeFieldName"},write:{target:"locationInfo.latitudeFieldName",ignoreOrigin:!0}}})],S.prototype,"latitudeField",void 0),(0,n._)([(0,o.Cb)({type:["show","hide"]})],S.prototype,"listMode",void 0),(0,n._)([(0,o.Cb)({type:["coordinates"],json:{read:{source:"locationInfo.locationType"},write:{target:"locationInfo.locationType",ignoreOrigin:!0,isRequired:!0}}})],S.prototype,"locationType",void 0),(0,n._)([(0,o.Cb)({type:String,json:{read:{source:"locationInfo.longitudeFieldName"},write:{target:"locationInfo.longitudeFieldName",ignoreOrigin:!0}}})],S.prototype,"longitudeField",void 0),(0,n._)([(0,o.Cb)({type:["CSV"]})],S.prototype,"operationalLayerType",void 0),(0,n._)([(0,o.Cb)()],S.prototype,"outFields",void 0),(0,n._)([(0,o.Cb)({type:String,json:{origins:{"web-scene":{read:!1,write:!1}},read:!1,write:!1}})],S.prototype,"path",void 0),(0,n._)([(0,o.Cb)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],S.prototype,"portalItem",void 0),(0,n._)([(0,o.Cb)({json:{read:!1},cast:null,type:g,readOnly:!0})],S.prototype,"source",void 0),(0,n._)([(0,o.Cb)({json:{read:!1},value:"csv",readOnly:!0})],S.prototype,"type",void 0),(0,n._)([(0,o.Cb)({json:{read:_.r,write:{isRequired:!0,ignoreOrigin:!0,writer:_.w}}})],S.prototype,"url",null),S=(0,n._)([(0,u.j)("esri.layers.CSVLayer")],S);const C=S},61159:(e,t,r)=>{r.d(t,{g:()=>n});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},25278:(e,t,r)=>{r.d(t,{MS:()=>c,Dm:()=>l,Hq:()=>u,bU:()=>a});var n=r(80442),i=r(22974),s=r(61159),o=r(58333);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.I4:"esriGeometryPolyline"===e?o.ET:o.lF}}}function l(e,t){if((0,n.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this.${t} = null;`;for(const t in e)r+=`this${t.includes(".")?`["${t}"]`:`.${t}`} = ${JSON.stringify(e[t])};`;const n=new Function(r);return()=>new n}catch(r){return()=>({[t]:null,...e})}}function u(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.d9)(e)}}]}function c(e,t){return{attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0},query:s.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0},editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1}}}},54295:(e,t,r)=>{r.d(t,{V:()=>o});var n=r(43697),i=r(5600),s=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{get apiKey(){var e;return this._isOverridden("apiKey")?this._get("apiKey"):function(e){return"portalItem"in e}(this)?null==(e=this.portalItem)?void 0:e.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,n._)([(0,i.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,n._)([(0,s.j)("esri.layers.mixins.APIKeyMixin")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>u});var n=r(43697),i=r(92604),s=r(70586),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(66677);const u=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.Qc)(this.url);if((0,s.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Nm)(e,i.Z.getLogger(this.declaredClass)))}};return(0,n._)([(0,o.Cb)()],t.prototype,"title",null),(0,n._)([(0,o.Cb)({type:String})],t.prototype,"url",null),t=(0,n._)([(0,a.j)("esri.layers.mixins.ArcGISService")],t),t}},16859:(e,t,r)=>{r.d(t,{I:()=>_});var n=r(43697),i=r(40330),s=r(3172),o=r(66643),a=r(20102),l=r(92604),u=r(70586),c=r(95330),d=r(17452),p=r(5600),h=(r(67676),r(80442),r(75215),r(71715)),f=r(52011),m=r(30556),y=r(65587),g=r(15235),v=r(86082);const b=l.Z.getLogger("esri.layers.mixins.PortalLayer"),_=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const n=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await n.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,c.D_)(e)||b.warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==i.id?void 0:i.id.findCredential(this.url):null;if(!t)return!0;const r=w.credential===t?w.user:await this._fetchEditingUser(e);return w.credential=t,w.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,r;const n=null==(t=this.portalItem)||null==(r=t.portal)?void 0:r.user;if(n)return n;const a=i.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,c=y.Z.getDefault();if(c&&c.loaded&&(0,d.Fv)(c.restUrl)===(0,d.Fv)(l))return c.user;const p=`${l}/community/self`,h=(0,u.pC)(e)?e.signal:null,f=await(0,o.q6)((0,s.default)(p,{authMode:"no-prompt",query:{f:"json"},signal:h}));return f.ok?v.default.fromJSON(f.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,n=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return r&&n&&!(0,d.tm)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n._)([(0,p.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,n._)([(0,h.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,n._)([(0,m.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,n._)([(0,p.Cb)()],t.prototype,"resourceReferences",void 0),(0,n._)([(0,p.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,n._)([(0,f.j)("esri.layers.mixins.PortalLayer")],t),t},w={credential:null,user:null}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(43697),i=r(35454),s=r(96674),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const l=new i.Xn({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends s.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,n._)([(0,o.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(43697),i=r(96674),s=r(5600),o=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(30556),u=r(72729),c=r(70082);let d=class extends i.wq{constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e)){var n;e[t]&&(r[t]=null==(n=e[t])?void 0:n.toJSON())}t.domains=r}};(0,n._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"id",void 0),(0,n._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,n._)([(0,s.Cb)({json:{write:!0}})],d.prototype,"domains",void 0),(0,n._)([(0,o.r)("domains")],d.prototype,"readDomains",null),(0,n._)([(0,l.c)("domains")],d.prototype,"writeDomains",null),(0,n._)([(0,s.Cb)({type:[c.Z],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,n._)([(0,a.j)("esri.layers.support.FeatureType")],d);const p=d},1231:(e,t,r)=>{r.d(t,{Z:()=>y});var n,i=r(43697),s=r(35454),o=r(96674),a=r(5600),l=(r(67676),r(80442),r(75215)),u=r(36030),c=r(71715),d=r(52011),p=r(72729),h=r(86719);const f=new s.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=n=class extends o.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let r;try{r=JSON.parse(t)}catch(e){}return r?r.value:null}readValueType(e,{description:t}){let r;try{r=JSON.parse(t)}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,i._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,i._)([(0,a.Cb)()],m.prototype,"description",void 0),(0,i._)([(0,c.r)("description")],m.prototype,"readDescription",null),(0,i._)([(0,a.Cb)({types:p.V5,json:{read:{reader:p.im},write:!0}})],m.prototype,"domain",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,i._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"length",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,i._)([(0,u.J)(h.v)],m.prototype,"type",void 0),(0,i._)([(0,a.Cb)()],m.prototype,"valueType",void 0),(0,i._)([(0,c.r)("valueType",["description"])],m.prototype,"readValueType",null),m=n=(0,i._)([(0,d.j)("esri.layers.support.Field")],m);const y=m},56765:(e,t,r)=>{r.d(t,{Z:()=>c});var n,i=r(43697),s=r(80539),o=r(96674),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011));let u=n=class extends o.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.Z}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"floorField",void 0),(0,i._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,i._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=n=(0,i._)([(0,l.j)("esri.layers.support.LayerFloorInfo")],u);const c=u},66677:(e,t,r)=>{r.d(t,{ld:()=>f,B5:()=>d,M8:()=>y,G:()=>_,Qc:()=>p,DR:()=>h,Nm:()=>g,XG:()=>v,a7:()=>m,wH:()=>b});var n=r(70586),i=r(17452),s=r(25929);const o={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},a=Object.values(o),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),u=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${a.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return!!l.test(e)}function p(e){const t=(0,i.mN)(e),r=t.path.match(l)||t.path.match(u);if(!r)return null;const[,n,s,a,c]=r,d=s.indexOf("/");return{title:f(-1!==d?s.slice(d+1):s),serverType:o[a.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:n}}}function h(e){const t=(0,i.mN)(e).path.match(c);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function f(e){return(e=e.replace(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function m(e,t){const r=[];if(e){const t=p(e);(0,n.pC)(t)&&t.title&&r.push(t.title)}if(t){const e=f(t);r.push(e)}if(2===r.length){if(-1!==r[0].toLowerCase().indexOf(r[1].toLowerCase()))return r[0];if(-1!==r[1].toLowerCase().indexOf(r[0].toLowerCase()))return r[1]}return r.join(" - ")}function y(e){if(!e)return!1;const t=-1!==(e=e.toLowerCase()).indexOf(".arcgis.com/"),r=-1!==e.indexOf("//services")||-1!==e.indexOf("//tiles")||-1!==e.indexOf("//features");return t&&r}function g(e,t){return e?(0,i.Qj)((0,i.Hu)(e,t)):e}function v(e){let{url:t}=e;if(!t)return{url:t};t=(0,i.Hu)(t,e.logger);const r=(0,i.mN)(t),s=p(r.path);let o;if((0,n.pC)(s))null!=s.sublayer&&null==e.layer.layerId&&(o=s.sublayer),t=s.url.path;else if(e.nonStandardUrlAllowed){const e=h(r.path);(0,n.pC)(e)&&(t=e.serviceUrl,o=e.sublayerId)}return{url:(0,i.Qj)(t),layerId:o}}function b(e,t,r,n,o){(0,s.w)(t,n,"url",o),n.url&&null!=e.layerId&&(n.url=(0,i.v_)(n.url,r,e.layerId.toString()))}function _(e){if(!e)return!1;const t=e.toLowerCase(),r=-1!==t.indexOf("/services/"),n=-1!==t.indexOf("/mapserver/wmsserver"),i=-1!==t.indexOf("/imageserver/wmsserver"),s=-1!==t.indexOf("/wmsserver");return r&&(n||i||s)}},72729:(e,t,r)=>{r.d(t,{im:()=>I,V5:()=>O}),r(80442);var n,i=r(43697),s=r(22974),o=r(5600),a=(r(75215),r(36030)),l=r(52011),u=r(96674);r(67676);let c=n=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,o.Cb)({type:[String,Number],json:{write:!0}})],c.prototype,"code",void 0),c=n=(0,i._)([(0,l.j)("esri.layers.support.CodedValue")],c);const d=c,p=new(r(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,i._)([(0,a.J)(p)],h.prototype,"type",void 0),h=(0,i._)([(0,l.j)("esri.layers.support.Domain")],h);const f=h;var m;let y=m=class extends f{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some((e=>(String(e.code)===r&&(t=e.name),!!t)))}return t}clone(){return new m({codedValues:(0,s.d9)(this.codedValues),name:this.name})}};(0,i._)([(0,o.Cb)({type:[d],json:{write:!0}})],y.prototype,"codedValues",void 0),(0,i._)([(0,a.J)({codedValue:"coded-value"})],y.prototype,"type",void 0),y=m=(0,i._)([(0,l.j)("esri.layers.support.CodedValueDomain")],y);const g=y;var v;r(92604),r(37697);let b=v=class extends f{constructor(e){super(e),this.type="inherited"}clone(){return new v}};(0,i._)([(0,a.J)({inherited:"inherited"})],b.prototype,"type",void 0),b=v=(0,i._)([(0,l.j)("esri.layers.support.InheritedDomain")],b);const _=b;var w;let S=w=class extends f{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new w({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i._)([(0,o.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]}}}})],S.prototype,"maxValue",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]}}}})],S.prototype,"minValue",void 0),(0,i._)([(0,a.J)({range:"range"})],S.prototype,"type",void 0),S=w=(0,i._)([(0,l.j)("esri.layers.support.RangeDomain")],S);const C=S,O={key:"type",base:f,typeMap:{range:S,"coded-value":g,inherited:_}};function I(e){if(!e||!e.type)return null;switch(e.type){case"range":return C.fromJSON(e);case"codedValue":return g.fromJSON(e);case"inherited":return _.fromJSON(e)}return null}},86719:(e,t,r)=>{r.d(t,{v:()=>n});const n=new(r(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},35671:(e,t,r)=>{r.d(t,{io:()=>g,AB:()=>y,gd:()=>m,Mu:()=>_,Q0:()=>f,YN:()=>c,UF:()=>p,O5:()=>v,os:()=>w,H7:()=>N,qN:()=>U,Pz:()=>V,Qc:()=>j,vP:()=>$});var n,i,s=r(20102),o=r(78286);(i=n||(n={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",i.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var a=r(59266);const l=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],u=["field","normalizationField"];function c(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(d(l,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)d(u,e,t)}function d(e,t,r){if(e)for(const n of e){const e=(0,o.hS)(n,t),i=e&&"function"!=typeof e&&r.get(e);i&&(0,o.RB)(n,i.name,t)}}function p(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const r=t.get(e.startField),n=t.get(e.endField);e.startField=r&&r.name||null,e.endField=n&&n.name||null}else{const r=t.get(e.startTimeField),n=t.get(e.endTimeField);e.startTimeField=r&&r.name||null,e.endTimeField=n&&n.name||null}}const h=new Set;function f(e,t){return e&&t?(h.clear(),m(h,e,t),Array.from(h).sort()):[]}function m(e,t,r){var n;if(r)if(null!=t&&null!=(n=t.fields)&&n.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const n of r)y(e,t,n);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)e.add(t)}}function y(e,t,r){if("string"==typeof r)if(t){const n=t.get(r);n&&e.add(n.name)}else e.add(r)}async function g(e,t,r){var n;if(!r)return;const{arcadeUtils:i}=await(0,a.LC)(),s=i.extractFieldNames(r,null==t||null==(n=t.fields)?void 0:n.map((e=>e.name)));for(const r of s)y(e,t,r)}function v({displayField:e,fields:t}){return e||(t&&t.length?b(t,"name-or-title")||b(t,"unique-identifier")||b(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function b(e,t){for(const r of e)if(r&&r.valueType&&r.valueType===t)return r.name;return null}async function _(e,t){const{labelingInfo:n,fieldsIndex:i}=t;n&&n.length&&await Promise.all(n.map((t=>async function(e,t,n){if(!n)return;const i=n.getLabelExpression(),o=n.where;if("arcade"===i.type)await g(e,t,i.expression);else{const r=i.expression.match(/{[^}]*}/g);r&&r.forEach((r=>{y(e,t,r.slice(1,-1))}))}await async function(e,t,n){if(n&&"1=1"!==n){const i=(await Promise.all([r.e(1534),r.e(5732)]).then(r.bind(r,41534))).WhereClause.create(n,t);if(!i.isStandardized)throw new s.Z("fieldUtils:collectFilterFields","Where clause is not standardized");m(e,t,i.fieldNames)}}(e,t,o)}(e,i,t))))}function w(e){const t=e.defaultValue;return void 0!==t&&F(e,t)?t:e.nullable?null:void 0}function S(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function C(e){return null===e||S(e)}const O="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function I(e){return null===e||O(e)}function x(e){return null!=e&&"string"==typeof e}function T(e){return null===e||x(e)}function P(){return!0}function F(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":r=e.nullable?I:O;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?C:S;break;case"string":case"esriFieldTypeString":r=e.nullable?T:x;break;default:r=P}return 1===arguments.length?r:r(t)}const E=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function N(e){return null!=e&&E.has(e.type)}function U(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var k,A;function V(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function j(e,t){return e.nullable&&null===t?null:N(e)&&!function(e,t){const r="string"==typeof e?L(e):e;return!!r&&(r.isInteger?O(t)&&t>=r.min&&t<=r.max:t>=r.min&&t<=r.max)}(e.type,Number(t))?k.OUT_OF_RANGE:F(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const r="range"in e?e.range[0]:e.minValue,i="range"in e?e.range[1]:e.maxValue;if(+t<r||+t>i)return n.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return n.INVALID_CODED_VALUE}return null}(e.domain,t):null:A.INVALID_TYPE}function L(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return M;case"esriFieldTypeInteger":case"integer":return R;case"esriFieldTypeSingle":case"single":return q;case"esriFieldTypeDouble":case"double":return D}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(k||(k={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(A||(A={}));const M={min:-32768,max:32767,isInteger:!0},R={min:-2147483648,max:2147483647,isInteger:!0},q={min:-34e37,max:12e37,isInteger:!1},D={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function $(e,t,r){switch(e){case n.INVALID_CODED_VALUE:return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case n.VALUE_OUT_OF_RANGE:return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case A.INVALID_TYPE:return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case k.OUT_OF_RANGE:{const{min:e,max:n}=L(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${n}`}}}},99282:(e,t,r)=>{r.d(t,{a:()=>s});var n=r(67900),i=r(68441);const s={inches:(0,n.En)(1,"meters","inches"),feet:(0,n.En)(1,"meters","feet"),"us-feet":(0,n.En)(1,"meters","us-feet"),yards:(0,n.En)(1,"meters","yards"),miles:(0,n.En)(1,"meters","miles"),"nautical-miles":(0,n.En)(1,"meters","nautical-miles"),millimeters:(0,n.En)(1,"meters","millimeters"),centimeters:(0,n.En)(1,"meters","centimeters"),decimeters:(0,n.En)(1,"meters","decimeters"),meters:(0,n.En)(1,"meters","meters"),kilometers:(0,n.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,n.ty)(1,"meters",i.sv.radius)}},51706:(e,t,r)=>{var n,i;function s(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?n.Expression:e.field&&"string"==typeof e.field?n.Field:n.Unknown}function l(e,t){const r=t||a(e),s=e.valueUnit||"unknown";return r===n.Unknown?i.Constant:e.stops?i.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?i.ClampedLinear:"unknown"===s?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?i.Proportional:i.Additive:i.Identity:i.RealWorldSize}r.d(t,{RY:()=>n,hL:()=>i,PS:()=>a,QW:()=>l,iY:()=>s,qh:()=>o}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(n||(n={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(i||(i={}))},28101:(e,t,r)=>{r.d(t,{PR:()=>S,Lq:()=>f,Km:()=>m,cM:()=>y,ap:()=>g,V3:()=>_,B3:()=>h});var n=r(22303),i=r(1692),s=r(74085),o=r(92604),a=r(70586),l=r(99282),u=r(51706);const c=o.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),d=new i.Z,p=Math.PI,h=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function f(e,t,r){const i="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!i)return;if("esri.renderers.visualVariables.ColorVariable"!==i.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const s="number"==typeof t,o=s?null:t,l=o&&o.attributes;let u=s?t:null;const d=i.field,{ipData:p,hasExpression:h}=i.cache;let f=i.cache.compiledFunc;if(!d&&!h){const e=i.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(h){if(!(0,a.pC)(r)||!(0,a.pC)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,n=t.getViewInfo(e),s=t.createExecContext(o,n);if(!f){const e=t.createSyntaxTree(i.valueExpression);f=t.createFunction(e),i.cache.compiledFunc=f}u=t.executeFunction(f,s)}else l&&(u=l[d]);const m=i.normalizationField,y=l?parseFloat(l[m]):void 0;if(null!=u&&(!m||s||!isNaN(y)&&0!==y)){isNaN(y)||s||(u/=y);const e=w(u,p);if(e){const t=e[0],s=e[1],o=t===s?i.stops[t].color:n.Z.blendColors(i.stops[t].color,i.stops[s].color,e[2],(0,a.pC)(r)?r.color:void 0);return new n.Z(o)}}}function m(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.OpacityVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const i="number"==typeof t,s=i?null:t,o=s&&s.attributes;let l=i?t:null;const u=n.field,{ipData:d,hasExpression:p}=n.cache;let h=n.cache.compiledFunc;if(!u&&!p){const e=n.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(p){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,i=t.getViewInfo(e),o=t.createExecContext(s,i);if(!h){const e=t.createSyntaxTree(n.valueExpression);h=t.createFunction(e),n.cache.compiledFunc=h}l=t.executeFunction(h,o)}else o&&(l=o[u]);const f=n.normalizationField,m=o?parseFloat(o[f]):void 0;if(null!=l&&(!f||i||!isNaN(m)&&0!==m)){isNaN(m)||i||(l/=m);const e=w(l,d);if(e){const t=e[0],r=e[1];if(t===r)return n.stops[t].opacity;{const i=n.stops[t].opacity;return i+(n.stops[r].opacity-i)*e[2]}}}}function y(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.RotationVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const i=n.axis||"heading",s="heading"===i&&"arithmetic"===n.rotationType?90:0,o="heading"===i&&"arithmetic"===n.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,d=n.field,{hasExpression:p}=n.cache;let h=n.cache.compiledFunc,f=0;if(!d&&!p)return f;if(p){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,i=t.getViewInfo(e),s=t.createExecContext(l,i);if(!h){const e=t.createSyntaxTree(n.valueExpression);h=t.createFunction(e),n.cache.compiledFunc=h}f=t.executeFunction(h,s)}else u&&(f=u[d]||0);return f="number"!=typeof f||isNaN(f)?null:s+o*f,f}function g(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.SizeVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const i=function(e,t,r,n,i){switch(t.transformationType){case u.hL.Additive:return function(e,t,r,n){return e+(v(t.minSize,r,n)||t.minDataValue)}(e,t,r,n);case u.hL.Constant:return function(e,t,r){const n=e.stops;let i=n&&n.length&&n[0].size;return null==i&&(i=e.minSize),v(i,t,r)}(t,r,n);case u.hL.ClampedLinear:return function(e,t,r,n){const i=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),s=v(t.minSize,r,n),o=v(t.maxSize,r,n),l=(0,a.pC)(n)?n.shape:void 0;if(e<=t.minDataValue)return s;if(e>=t.maxDataValue)return o;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?p*(s/2)**2:s*s,r=t+i*((e?p*(o/2)**2:o*o)-t);return e?2*Math.sqrt(r/p):Math.sqrt(r)}return s+i*(o-s)}(e,t,r,n);case u.hL.Proportional:return function(e,t,r,n){const i=(0,a.pC)(n)?n.shape:void 0,s=e/t.minDataValue,o=v(t.minSize,r,n),l=v(t.maxSize,r,n);let u=null;return u="circle"===i?2*Math.sqrt(s*(o/2)**2):"square"===i||"diamond"===i||"image"===i?Math.sqrt(s*o**2):s*o,b(u,o,l)}(e,t,r,n);case u.hL.Stops:return function(e,t,r,n,i){const[s,o,a]=w(e,i);if(s===o)return v(t.stops[s].size,r,n);{const e=v(t.stops[s].size,r,n);return e+(v(t.stops[o].size,r,n)-e)*a}}(e,t,r,n,i);case u.hL.RealWorldSize:return function(e,t,r,n){const i=((0,a.pC)(n)&&n.resolution?n.resolution:1)*l.a[t.valueUnit],s=v(t.minSize,r,n),o=v(t.maxSize,r,n),{valueRepresentation:u}=t;let c=null;return c="area"===u?2*Math.sqrt(e/p)/i:"radius"===u||"distance"===u?2*e/i:e/i,b(c,s,o)}(e,t,r,n);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,r){const n="number"==typeof t,i=n?null:t,s=i&&i.attributes;let o=n?t:null;const{isScaleDriven:l}=e.cache;let d=e.cache.compiledFunc;if(l){const t=(0,a.pC)(r)?r.scale:void 0,n=(0,a.pC)(r)?r.view:void 0;o=null==t||"3d"===n?function(e){let t=null,r=null;const n=e.stops;return n?(t=n[0].value,r=n[n.length-1].value):(t=e.minDataValue||0,r=e.maxDataValue||0),(t+r)/2}(e):t}else if(!n)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const t={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},n=r.arcade.arcadeUtils,s=n.getViewInfo(t),l=n.createExecContext(i,s);if(!d){const t=n.createSyntaxTree(e.valueExpression);d=n.createFunction(t),e.cache.compiledFunc=d}o=n.executeFunction(d,l);break}case u.RY.Field:s&&(o=s[e.field]);break;case u.RY.Unknown:o=null}if(!(0,u.qh)(o))return null;if(n||!e.normalizationField)return o;const p=s?parseFloat(s[e.normalizationField]):null;return(0,u.qh)(p)&&0!==p?o/p:null}(n,t,r),n,t,r,n.cache.ipData);return null==i||isNaN(i)?0:i}function v(e,t,r){return null==e?null:(0,u.iY)(e)?g(e,t,r):(0,u.qh)(e)?e:null}function b(e,t,r){return(0,u.qh)(r)&&e>r?r:(0,u.qh)(t)&&e<t?t:e}function _(e,t,r){const{isScaleDriven:n}=e.cache;if(!(n&&"3d"===r||t))return null;const i={scale:t,view:r};let s=v(e.minSize,d,i),o=v(e.maxSize,d,i);if(null!=s||null!=o){if(s>o){const e=o;o=s,s=e}return{minSize:s,maxSize:o}}}function w(e,t){if(!t)return;let r=0,n=t.length-1;return t.some(((t,i)=>e<t?(n=i,!0):(r=i,!1))),[r,n,(e-t[r])/(t[n]-t[r])]}function S(e,t,r){const n=["proportional","proportional","proportional"];for(const i of e){const e=i.useSymbolValue?"symbol-value":g(i,t,r);switch(i.axis){case"width":n[0]=e;break;case"depth":n[1]=e;break;case"height":n[2]=e;break;case"width-and-depth":n[0]=e,n[1]=e;break;case"all":case void 0:case null:n[0]=e,n[1]=e,n[2]=e;break;default:(0,s.Bg)(i.axis)}}return n}},28694:(e,t,r)=>{r.d(t,{p:()=>s});var n=r(70586),i=r(69285);function s(e,t,r){if(!r||!r.features||!r.hasZ)return;const s=(0,i.k)(r.geometryType,t,e.outSpatialReference);if(!(0,n.Wi)(s))for(const e of r.features)s(e.geometry)}},59266:(e,t,r)=>{r.d(t,{mz:()=>c,pp:()=>u,WW:()=>a,Yi:()=>l,LC:()=>o}),r(66577);var n=r(70586),i=r(82971);let s;function o(){return s||(s=(async()=>{const e=await Promise.all([r.e(9490),r.e(6690)]).then(r.bind(r,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),s}const a=(e,t,r)=>c.create(e,t,r,null,["$feature"]),l=(e,t,r)=>c.create(e,t,r,null,["$feature","$view"]),u=(e,t,r,n)=>c.create(e,t,r,n,["$feature","$view"]);class c{constructor(e,t,r,n,i,s,o,a){this.script=e,this.evaluate=i;const l=Array.isArray(o)?o:o.fields;this.fields=l,this._syntaxTree=n,this._arcade=t,this._arcadeDictionary=r,this._arcadeFeature=s,this._spatialReference=a,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,r,s,a,l){const{arcade:u,Feature:d,Dictionary:p}=await o(),h=i.Z.fromJSON(t),f=u.parseScript(e,l),m=a.reduce(((e,t)=>({...e,[t]:null})),{});let y=null;(0,n.pC)(s)&&(y=new p(s),y.immutable=!0,m.$config=null);const g=u.scriptUsesGeometryEngine(f)&&u.enableGeometrySupport(),v=u.scriptUsesFeatureSet(f)&&u.enableFeatureSetSupport(),b=u.scriptIsAsync(f)&&u.enableAsyncSupport(),_={vars:m,spatialReference:h,useAsync:!!b},w=new p;w.immutable=!1,w.setField("scale",0);const S=u.compileScript(f,_);return await Promise.all([g,v,b]),new c(e,u,p,f,(e=>("$view"in e&&e.$view&&(w.setField("scale",e.$view.scale),e.$view=w),y&&(e.$config=y),S({vars:e,spatialReference:h}))),new d,r,h)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}},58333:(e,t,r)=>{r.d(t,{I4:()=>i,lF:()=>o,ET:()=>s,qP:()=>a,eG:()=>l,lj:()=>c,wW:()=>u});const n=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:n,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:n},o={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},c={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},89749:(e,t,r)=>{r.d(t,{t:()=>d});var n=r(43697),i=r(15923),s=r(61247),o=r(70586),a=r(17445),l=r(1654),u=r(5600),c=r(52011);let d=class extends i.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new s.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,r={}){const n=++this.handleId;r.sync||this._installSyncUpdatingWatch(e,n);const i=(0,a.YP)(e,t,r);return this.handles.add(i,n),{remove:()=>this.handles.remove(n)}}addOnCollectionChange(e,t,{initial:r=!1}={}){const n=++this.handleId;return this.handles.add([(0,a.on)(e,"after-changes",this._createSyncUpdatingCallback(),a.Z_),(0,a.on)(e,"change",t,{onListenerAdd:r?e=>t({added:e.items,removed:[],moved:[],target:e}):void 0})],n),{remove:()=>this.handles.remove(n)}}addPromise(e){if((0,o.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(p)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const r=()=>this.handles.remove(t);return e.then(r,r),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}_installSyncUpdatingWatch(e,t){const r=this._createSyncUpdatingCallback(),n=(0,a.YP)(e,r,{sync:!0,equals:()=>!1});return this.handles.add(n,t),n}_createSyncUpdatingCallback(){return()=>{this.handles.remove(p),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,l.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(p))})),p)}}};(0,n._)([(0,u.Cb)({readOnly:!0})],d.prototype,"updating",void 0),d=(0,n._)([(0,c.j)("esri.views.support.WatchUpdatingTracking")],d);const p=-42;var h,f;(f=h||(h={}))[f.NONE=0]="NONE",f[f.SYNC=1]="SYNC",f[f.INIT=2]="INIT"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[411],{99880:(e,t,n)=>{n.d(t,{V:()=>P});var r=n(68773),o=(n(3172),n(20102)),_=n(92604),s=n(17452);const i=_.Z.getLogger("esri.assets");function P(e){if(!r.Z.assetsPath)throw i.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new o.Z("assets:path-not-set","config.assetsPath is not set");return(0,s.v_)(r.Z.assetsPath,e)}},90411:(e,t,n)=>{n.d(t,{Up:()=>_e,Bm:()=>ae,iQ:()=>se,kR:()=>$,zD:()=>ee,iV:()=>te,CM:()=>le,oj:()=>ne,KC:()=>ue,Wt:()=>ie});var r=n(20102),o=n(22021),_=n(70586),s=n(95330),i=n(67900),P=n(52138),u=(n(17896),n(65617)),E=n(6570),l=n(65091),c=n(99880),a=n(80442);let S,C=null;function A(){return!!C}function f(){return S||(S=n.e(6774).then(n.bind(n,66774)).then((e=>e.p)).then((({default:e})=>e({locateFile:e=>(0,c.V)(`esri/geometry/support/${e}`)}))).then((e=>{W(e)})),S)}var R,p,O,N;!function(e){function t(e,t,n){C.ensureCache.prepare();const r=U(n),o=n===r,_=C.ensureFloat64(r),s=C._pe_geog_to_proj(C.getPointer(e),t,_);return s&&D(n,t,_,o),s}function n(e,t,n){return r(e,t,n,0)}function r(e,t,n,r){C.ensureCache.prepare();const o=U(n),_=n===o,s=C.ensureFloat64(o),i=C._pe_proj_to_geog_center(C.getPointer(e),t,s,r);return i&&D(n,t,s,_),i}e.geogToProj=t,e.projGeog=function(e,r,o,_){switch(_){case p.PE_TRANSFORM_P_TO_G:return n(e,r,o);case p.PE_TRANSFORM_G_TO_P:return t(e,r,o)}return 0},e.projToGeog=n,e.projToGeogCenter=r}(R||(R={})),(N=p||(p={})).init=function(){N.PE_BUFFER_MAX=C.PeDefs.prototype.PE_BUFFER_MAX,N.PE_NAME_MAX=C.PeDefs.prototype.PE_NAME_MAX,N.PE_MGRS_MAX=C.PeDefs.prototype.PE_MGRS_MAX,N.PE_USNG_MAX=C.PeDefs.prototype.PE_USNG_MAX,N.PE_DD_MAX=C.PeDefs.prototype.PE_DD_MAX,N.PE_DDM_MAX=C.PeDefs.prototype.PE_DDM_MAX,N.PE_DMS_MAX=C.PeDefs.prototype.PE_DMS_MAX,N.PE_UTM_MAX=C.PeDefs.prototype.PE_UTM_MAX,N.PE_PARM_MAX=C.PeDefs.prototype.PE_PARM_MAX,N.PE_TYPE_NONE=C.PeDefs.prototype.PE_TYPE_NONE,N.PE_TYPE_GEOGCS=C.PeDefs.prototype.PE_TYPE_GEOGCS,N.PE_TYPE_PROJCS=C.PeDefs.prototype.PE_TYPE_PROJCS,N.PE_TYPE_GEOGTRAN=C.PeDefs.prototype.PE_TYPE_GEOGTRAN,N.PE_TYPE_COORDSYS=C.PeDefs.prototype.PE_TYPE_COORDSYS,N.PE_TYPE_UNIT=C.PeDefs.prototype.PE_TYPE_UNIT,N.PE_TYPE_LINUNIT=C.PeDefs.prototype.PE_TYPE_LINUNIT,N.PE_STR_OPTS_NONE=C.PeDefs.prototype.PE_STR_OPTS_NONE,N.PE_STR_AUTH_NONE=C.PeDefs.prototype.PE_STR_AUTH_NONE,N.PE_STR_AUTH_TOP=C.PeDefs.prototype.PE_STR_AUTH_TOP,N.PE_STR_NAME_CANON=C.PeDefs.prototype.PE_STR_NAME_CANON,N.PE_PARM_X0=C.PeDefs.prototype.PE_PARM_X0,N.PE_PARM_ND=C.PeDefs.prototype.PE_PARM_ND,N.PE_TRANSFORM_1_TO_2=C.PeDefs.prototype.PE_TRANSFORM_1_TO_2,N.PE_TRANSFORM_2_TO_1=C.PeDefs.prototype.PE_TRANSFORM_2_TO_1,N.PE_TRANSFORM_P_TO_G=C.PeDefs.prototype.PE_TRANSFORM_P_TO_G,N.PE_TRANSFORM_G_TO_P=C.PeDefs.prototype.PE_TRANSFORM_G_TO_P,N.PE_HORIZON_RECT=C.PeDefs.prototype.PE_HORIZON_RECT,N.PE_HORIZON_POLY=C.PeDefs.prototype.PE_HORIZON_POLY,N.PE_HORIZON_LINE=C.PeDefs.prototype.PE_HORIZON_LINE,N.PE_HORIZON_DELTA=C.PeDefs.prototype.PE_HORIZON_DELTA},function(e){const t={},n={},r=e=>{if(e){const t=e.getType();switch(t){case p.PE_TYPE_GEOGCS:e=C.castObject(e,C.PeGeogcs);break;case p.PE_TYPE_PROJCS:e=C.castObject(e,C.PeProjcs);break;case p.PE_TYPE_GEOGTRAN:e=C.castObject(e,C.PeGeogtran);break;default:t&p.PE_TYPE_UNIT&&(e=C.castObject(e,C.PeUnit))}}return e};function o(e,n){let o=null,_=t[e];if(_||(_={},t[e]=_),_.hasOwnProperty(String(n)))o=_[n];else{const t=C.PeFactory.prototype.factoryByType(e,n);C.compare(t,C.NULL)||(o=t,_[n]=o)}return o=r(o),o}e.initialize=function(){C.PeFactory.prototype.initialize(null)},e.coordsys=function(e){return o(p.PE_TYPE_COORDSYS,e)},e.factoryByType=o,e.fromString=function(e,t){let o=null,_=n[e];if(_||(_={},n[e]=_),_.hasOwnProperty(t))o=_[t];else{const n=C.PeFactory.prototype.fromString(e,t);C.compare(n,C.NULL)||(o=n,_[t]=o)}return o=r(o),o},e.geogcs=function(e){return o(p.PE_TYPE_GEOGCS,e)},e.geogtran=function(e){return o(p.PE_TYPE_GEOGTRAN,e)},e.getCode=function(e){return C.PeFactory.prototype.getCode(e)},e.projcs=function(e){return o(p.PE_TYPE_PROJCS,e)},e.unit=function(e){return o(p.PE_TYPE_UNIT,e)}}(O||(O={}));let M=null;var T,g,h,L,d,G,I,y,F;function W(e){function t(e,t,n){e[t]=n(e[t])}C=e,p.init(),T.init(),d.init(),I.init(),y.init(),M=class extends C.PeGCSExtent{destroy(){C.destroy(this)}};const n=[C.PeDatum,C.PeGeogcs,C.PeGeogtran,C.PeObject,C.PeParameter,C.PePrimem,C.PeProjcs,C.PeSpheroid,C.PeUnit];for(const e of n)t(e.prototype,"getName",(e=>function(){return e.call(this,new Array(p.PE_NAME_MAX))}));for(const e of[C.PeGeogtran,C.PeProjcs])t(e.prototype,"getParameters",(e=>function(){const t=new Array(p.PE_PARM_MAX);let n=e.call(this);for(let e=0;e<t.length;e++){const r=C.getValue(n,"*");t[e]=r?C.wrapPointer(r,C.PeParameter):null,n+=Int32Array.BYTES_PER_ELEMENT}return t}));t(C.PeHorizon.prototype,"getCoord",(e=>function(){const t=this.getSize();if(!t)return null;const n=[];return D(n,t,e.call(this)),n})),t(C.PeGTlistExtendedEntry.prototype,"getEntries",(e=>{const t=C._pe_getPeGTlistExtendedGTsSize();return function(){let n=null;const r=e.call(this);if(!C.compare(r,C.NULL)){n=[r];const e=this.getSteps();if(e>1){const o=C.getPointer(r);for(let r=1;r<e;r++)n.push(C.wrapPointer(o+t*r,C.PeGTlistExtendedGTs))}}return n}}));const r=C._pe_getPeHorizonSize(),o=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let n=null;const o=e.call(this);if(!C.compare(o,C.NULL)){n=[o];const e=o.getNump();if(e>1){const t=C.getPointer(o);for(let o=1;o<e;o++)n.push(C.wrapPointer(t+r*o,C.PeHorizon))}}return t.set(e,n),n};t(C.PeProjcs.prototype,"horizonGcsGenerate",o),t(C.PeProjcs.prototype,"horizonPcsGenerate",o),C.PeObject.prototype.toString=function(e=p.PE_STR_OPTS_NONE){C.ensureCache.prepare();const t=C.getPointer(this),n=C.ensureInt8(new Array(p.PE_BUFFER_MAX));return C.UTF8ToString(C._pe_object_to_string_ext(t,e,n))}}function m(e){if(!e)return;const t=C.getClass(e);if(!t)return;const n=C.getCache(t);if(!n)return;const r=C.getPointer(e);r&&delete n[r]}function w(e,t){const n=[],r=new Array(t);for(let t=0;t<e;t++)n.push(C.ensureInt8(r));return n}function U(e){let t;return Array.isArray(e[0])?(t=[],e.forEach((e=>{t.push(e[0],e[1])}))):t=e,t}function D(e,t,n,r=!1){if(r)for(let r=0;r<2*t;r++)e[r]=C.getValue(n+r*Float64Array.BYTES_PER_ELEMENT,"double");else{const r=0===e.length;for(let o=0;o<t;o++)r&&(e[o]=new Array(2)),e[o][0]=C.getValue(n,"double"),e[o][1]=C.getValue(n+Float64Array.BYTES_PER_ELEMENT,"double"),n+=2*Float64Array.BYTES_PER_ELEMENT}}!function(e){let t;e.init=function(){e.PE_GTLIST_OPTS_COMMON=C.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,t=C._pe_getPeGTlistExtendedEntrySize()},e.getGTlist=function(e,n,r,o,_,s){let i=null;const P=new C.PeInteger(s);try{const u=C.PeGTlistExtended.prototype.getGTlist(e,n,r,o,_,P);if((s=P.val)&&(i=[u],s>1)){const e=C.getPointer(u);for(let n=1;n<s;n++)i.push(C.wrapPointer(e+t*n,C.PeGTlistExtendedEntry))}}finally{C.destroy(P)}return i}}(T||(T={})),function(e){e.destroy=function(e){if(e&&e.length){for(const t of e)m(t),t.getEntries().forEach((e=>{m(e);const t=e.getGeogtran();m(t),t.getParameters().forEach(m),[t.getGeogcs1(),t.getGeogcs2()].forEach((e=>{m(e);const t=e.getDatum();m(t),m(t.getSpheroid()),m(e.getPrimem()),m(e.getUnit())}))}));C.PeGTlistExtendedEntry.prototype.Delete(e[0])}}}(g||(g={})),function(e){e.geogToGeog=function(e,t,n,r,o){C.ensureCache.prepare();const _=U(n),s=n===_,i=C.ensureFloat64(_);let P=0;r&&(P=C.ensureFloat64(r));const u=C._pe_geog_to_geog(C.getPointer(e),t,i,P,o);return u&&D(n,t,i,s),u}}(h||(h={})),function(e){const t=(e,t,n,r,o,_)=>{let s,i;switch(C.ensureCache.prepare(),e){case"dd":s=C._pe_geog_to_dd,i=p.PE_DD_MAX;break;case"ddm":s=C._pe_geog_to_ddm,i=p.PE_DDM_MAX;break;case"dms":s=C._pe_geog_to_dms,i=p.PE_DMS_MAX}let P=0;t&&(P=C.getPointer(t));const u=U(r),E=C.ensureFloat64(u),l=w(n,i),c=s(P,n,E,o,C.ensureInt32(l));if(c)for(let e=0;e<n;e++)_[e]=C.UTF8ToString(l[e]);return c},n=(e,t,n,r,o)=>{let _;switch(C.ensureCache.prepare(),e){case"dd":_=C._pe_dd_to_geog;break;case"ddm":_=C._pe_ddm_to_geog;break;case"dms":_=C._pe_dms_to_geog}let s=0;t&&(s=C.getPointer(t));const i=r.map((e=>C.ensureString(e))),P=C.ensureInt32(i),u=C.ensureFloat64(new Array(2*n)),E=_(s,n,P,u);return E&&D(o,n,u),E};e.geogToDms=function(e,n,r,o,_){return t("dms",e,n,r,o,_)},e.dmsToGeog=function(e,t,r,o){return n("dms",e,t,r,o)},e.geogToDdm=function(e,n,r,o,_){return t("ddm",e,n,r,o,_)},e.ddmToGeog=function(e,t,r,o){return n("ddm",e,t,r,o)},e.geogToDd=function(e,n,r,o,_){return t("dd",e,n,r,o,_)},e.ddToGeog=function(e,t,r,o){return n("dd",e,t,r,o)}}(L||(L={})),function(e){e.init=function(){e.PE_MGRS_STYLE_NEW=C.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,e.PE_MGRS_STYLE_OLD=C.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,e.PE_MGRS_STYLE_AUTO=C.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,e.PE_MGRS_180_ZONE_1_PLUS=C.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,e.PE_MGRS_ADD_SPACES=C.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES},e.geogToMgrsExtended=function(e,t,n,r,o,_,s){C.ensureCache.prepare();let i=0;e&&(i=C.getPointer(e));const P=U(n),u=C.ensureFloat64(P),E=w(t,p.PE_MGRS_MAX),l=C.ensureInt32(E),c=C._pe_geog_to_mgrs_extended(i,t,u,r,o,_,l);if(c)for(let e=0;e<t;e++)s[e]=C.UTF8ToString(E[e]);return c},e.mgrsToGeogExtended=function(e,t,n,r,o){C.ensureCache.prepare();let _=0;e&&(_=C.getPointer(e));const s=n.map((e=>C.ensureString(e))),i=C.ensureInt32(s),P=C.ensureFloat64(new Array(2*t)),u=C._pe_mgrs_to_geog_extended(_,t,i,r,P);return u&&D(o,t,P),u}}(d||(d={})),function(e){e.geogToUsng=function(e,t,n,r,o,_,s){C.ensureCache.prepare();let i=0;e&&(i=C.getPointer(e));const P=U(n),u=C.ensureFloat64(P),E=w(t,p.PE_MGRS_MAX),l=C.ensureInt32(E),c=C._pe_geog_to_usng(i,t,u,r,o,_,l);if(c)for(let e=0;e<t;e++)s[e]=C.UTF8ToString(E[e]);return c},e.usngToGeog=function(e,t,n,r){C.ensureCache.prepare();let o=0;e&&(o=C.getPointer(e));const _=n.map((e=>C.ensureString(e))),s=C.ensureInt32(_),i=C.ensureFloat64(new Array(2*t)),P=C._pe_usng_to_geog(o,t,s,i);return P&&D(r,t,i),P}}(G||(G={})),function(e){e.init=function(){e.PE_UTM_OPTS_NONE=C.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,e.PE_UTM_OPTS_ADD_SPACES=C.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,e.PE_UTM_OPTS_NS=C.PeNotationUtm.prototype.PE_UTM_OPTS_NS},e.geogToUtm=function(e,t,n,r,o){C.ensureCache.prepare();let _=0;e&&(_=C.getPointer(e));const s=U(n),i=C.ensureFloat64(s),P=w(t,p.PE_UTM_MAX),u=C.ensureInt32(P),E=C._pe_geog_to_utm(_,t,i,r,u);if(E)for(let e=0;e<t;e++)o[e]=C.UTF8ToString(P[e]);return E},e.utmToGeog=function(e,t,n,r,o){C.ensureCache.prepare();let _=0;e&&(_=C.getPointer(e));const s=n.map((e=>C.ensureString(e))),i=C.ensureInt32(s),P=C.ensureFloat64(new Array(2*t)),u=C._pe_utm_to_geog(_,t,i,r,P);return u&&D(o,t,P),u}}(I||(I={})),function(e){const t=new Map;e.init=function(){e.PE_PCSINFO_OPTION_NONE=C.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,e.PE_PCSINFO_OPTION_DOMAIN=C.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,e.PE_POLE_OUTSIDE_BOUNDARY=C.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,e.PE_POLE_POINT=C.PePCSInfo.prototype.PE_POLE_POINT},e.generate=function(n,r=e.PE_PCSINFO_OPTION_DOMAIN){let o,_;return t.has(n)&&(_=t.get(n),_[r]&&(o=_[r])),o||(o=C.PePCSInfo.prototype.generate(n,r),_||(_=[],t.set(n,_)),_[r]=o),o}}(y||(y={})),function(e){e.versionString=function(){return C.PeVersion.prototype.version_string()}}(F||(F={}));const H=Object.freeze({__proto__:null,get _pe(){return C},isLoaded:A,isSupported:function(){return!!(0,a.Z)("esri-wasm")},load:f,get PeCSTransformations(){return R},get PeDefs(){return p},get PeFactory(){return O},get PeGCSExtent(){return M},get PeGTlistExtended(){return T},get PeGTlistExtendedEntry(){return g},get PeGTTransformations(){return h},get PeNotationDms(){return L},get PeNotationMgrs(){return d},get PeNotationUsng(){return G},get PeNotationUtm(){return I},get PePCSInfo(){return y},get PeVersion(){return F},_init:W});var k=n(13473),v=n(17332),B=n(58901),Y=n(24678),Z=(n(24470),n(68441));Math.PI;const j=Z.sv.radius,x=Z.sv.eccentricitySquared,K={a1:j*x,a2:j*x*j*x,a3:j*x*x/2,a4:j*x*j*x*2.5,a5:j*x+j*x*x/2,a6:1-x};Z.sv.radius,Z.sv.flattening,Z.Z1.radius,Z.Z1.flattening,Z.yr.radius,Z.yr.flattening,Z.yr.radius;var X=n(18571),b=n(8744),z=n(56726);n(69285);let V=null,q=null,J=null,Q={};function $(){return!!V&&A()}function ee(e){return(0,_.Wi)(J)&&(J=Promise.all([f(),n.e(5837).then(n.bind(n,45837)).then((e=>e.g)),n.e(819).then(n.bind(n,80819))])),J.then((([,t,{hydratedAdapter:n}])=>{(0,s.k_)(e),q=n,V=t.default,V._enableProjection(H)}))}function te(e,t,n=null){return Array.isArray(e)?0===e.length?[]:ne(q,e,e[0].spatialReference,t,n):ne(q,[e],e.spatialReference,t,n)[0]}function ne(e,t,n,r,o=null){if((0,_.Wi)(n)||(0,_.Wi)(r))return t;if(_e(n,r,o))return t.map((e=>(0,_.Wg)(function(e,t,n){return e?"x"in e?function(e,t,n,r,o){Ke[0]=e.x,Ke[1]=e.y;const _=e.z;return Ke[2]=void 0!==_?_:o,le(Ke,t,0,Ke,r,0,1)?(n.x=Ke[0],n.y=Ke[1],n.spatialReference=r,void 0===_?(n.z=void 0,n.hasZ=!1):(n.z=Ke[2],n.hasZ=!0),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}(e,t,new k.Z,n,0):"xmin"in e?function(e,t,n,r,o){const{xmin:_,ymin:s,xmax:i,ymax:P,hasZ:u,hasM:E}=e;return Ee(_,s,u?e.zmin:o,t,Ke,r)?(n.xmin=Ke[0],n.ymin=Ke[1],u&&(n.zmin=Ke[2]),Ee(i,P,u?e.zmax:o,t,Ke,r)?(n.xmax=Ke[0],n.ymax=Ke[1],u&&(n.zmax=Ke[2]),E&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null):null}(e,t,new E.Z,n,0):"rings"in e?Pe(e,t,new v.Z,n,0):"paths"in e?function(e,t,n,r,o){const{paths:_,hasZ:s,hasM:i}=e,P=[];return ce(_,s,i,t,P,r,o)?(n.paths=P,n.spatialReference=r,n.hasZ=s,n.hasM=i,n):null}(e,t,new B.Z,n,0):"points"in e?function(e,t,n,r,o){const{points:_,hasZ:s,hasM:i}=e,P=[],u=_.length,E=[];for(const e of _)E.push(e[0],e[1],s?e[2]:o);if(!le(E,t,0,E,r,0,u))return null;for(let e=0;e<u;++e){const t=3*e,n=E[t],r=E[t+1];s&&i?P.push([n,r,E[t+2],_[e][3]]):s?P.push([n,r,E[t+2]]):i?P.push([n,r,_[e][2]]):P.push([n,r])}return n.points=P,n.spatialReference=r,n.hasZ=s,n.hasM=i,n}(e,t,new l.Z,n,0):null:null}(e,n,r))));if((0,_.Wi)(o)){const e=X.Z.cacheKey(n,r);void 0!==Q[e]?o=Q[e]:(o=function(e,t,n=null){if((0,_.Wi)(V))throw new re;if((0,_.Wi)(e)||(0,_.Wi)(t))return null;const r=V._getTransformation(q,e,t,n,null==n?void 0:n.spatialReference);return null!==r?X.Z.fromGE(r):null}(n,r,null),(0,_.Wi)(o)&&(o=new X.Z),Q[e]=o)}if((0,_.Wi)(V))throw new re;return V._project(e,t,n,r,o)}class re extends r.Z{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}var oe;function _e(e,t,n){return!n&&(!!(0,b.fS)(e,t)||(0,b.JY)(e)&&(0,b.JY)(t)&&!!Ue(e,t,ve))}async function se(e,t,n,r){if(!$())if(Array.isArray(e)){for(const{source:t,dest:n,geographicTransformation:o}of e)if(!_e(t,n,o))return ee(r)}else if(!_e(e,t,n))return ee(r)}function ie(e,t,n=t.spatialReference,r=0){return(0,_.pC)(n)&&(0,_.pC)(Pe(e,e.spatialReference,t,n,r))}function Pe(e,t,n,r,o){const{rings:_,hasZ:s,hasM:i}=e,P=[];return ce(_,s,i,t,P,r,o)?(n.rings=P,n.spatialReference=r,n.hasZ=s,n.hasM=i,n):null}function ue(e,t,n,r=0){Ke[0]=e.x,Ke[1]=e.y;const o=e.z;return Ke[2]=void 0!==o?o:r,le(Ke,e.spatialReference,0,t,n,0,1)}function Ee(e,t,n,r,o,_){return Ze[0]=e,Ze[1]=t,Ze[2]=n,le(Ze,r,0,o,_,0,1)}function le(e,t,n,r,o,s,i=1){const P=Ue(t,o,ve);if((0,_.Wi)(P))return!1;if(P===fe){if(e===r&&n===s)return!0;const t=n+3*i;for(let o=n,_=s;o<t;o++,_++)r[_]=e[o];return!0}const u=n+3*i;for(let t=n,o=s;t<u;t+=3,o+=3)P(e,t,r,o);return!0}function ce(e,t,n,r,o,_,s=0){const i=new Array;for(const n of e)for(const e of n)i.push(e[0],e[1],t?e[2]:s);if(!le(i,r,0,i,_,0,i.length/3))return!1;let P=0;o.length=0;for(const r of e){const e=new Array;for(const o of r)t&&n?e.push([i[P++],i[P++],i[P++],o[3]]):t?e.push([i[P++],i[P++],i[P++]]):n?(e.push([i[P++],i[P++],o[2]]),P++):(e.push([i[P++],i[P++]]),P++);o.push(e)}return!0}function ae(e,t,n,r){if((0,_.Wi)(e)||(0,_.Wi)(r))return!1;const o=Ae(e,He),s=Ae(r,ke);if(o===s&&!Se(s)&&(o!==oe.UNKNOWN||(0,b.fS)(e,r)))return(0,P.f)(n,t),!0;if(Se(s)){const e=we[o][oe.LON_LAT],r=we[oe.LON_LAT][s];return!(0,_.Wi)(e)&&!(0,_.Wi)(r)&&(e(t,0,je,0),r(je,0,xe,0),Ce(Be*je[0],Be*je[1],n),n[12]=xe[0],n[13]=xe[1],n[14]=xe[2],!0)}if(!(s!==oe.WEB_MERCATOR&&s!==oe.PLATE_CARREE||o!==oe.WGS84&&o!==oe.SPHERICAL_ECEF&&o!==oe.WEB_MERCATOR)){const e=we[o][oe.LON_LAT],r=we[oe.LON_LAT][s];return!(0,_.Wi)(e)&&!(0,_.Wi)(r)&&(e(t,0,je,0),r(je,0,xe,0),o===oe.SPHERICAL_ECEF?function(e,t,n){Ce(e,t,n),(0,P.t)(n,n)}(Be*je[0],Be*je[1],n):(0,P.i)(n),n[12]=xe[0],n[13]=xe[1],n[14]=xe[2],!0)}return!1}function Se(e){return e===oe.SPHERICAL_ECEF||e===oe.SPHERICAL_MARS_PCPF||e===oe.SPHERICAL_MOON_PCPF}function Ce(e,t,n){const r=Math.sin(e),o=Math.cos(e),_=Math.sin(t),s=Math.cos(t),i=n;return i[0]=-r,i[4]=-_*o,i[8]=s*o,i[12]=0,i[1]=o,i[5]=-_*r,i[9]=s*r,i[13]=0,i[2]=0,i[6]=s,i[10]=_,i[14]=0,i[3]=0,i[7]=0,i[11]=0,i[15]=1,i}function Ae(e,t){return t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.c9)(e,1)),e.wkt===Y.GG.wkt?t.spatialReferenceId=oe.SPHERICAL_ECEF:(0,b.oR)(e)?t.spatialReferenceId=oe.WGS84:(0,b.sS)(e)?t.spatialReferenceId=oe.WEB_MERCATOR:(0,b.QM)(e)?t.spatialReferenceId=oe.PLATE_CARREE:e.wkt===Y.wY.wkt?t.spatialReferenceId=oe.WGS84_ECEF:e.wkid===z.W.CGCS2000?t.spatialReferenceId=oe.CGCS2000:e.wkt===Y.HQ.wkt?t.spatialReferenceId=oe.SPHERICAL_MARS_PCPF:e.wkt===Y.VY.wkt?t.spatialReferenceId=oe.SPHERICAL_MOON_PCPF:(0,b.BZ)(e)?t.spatialReferenceId=oe.GCSMARS2000:(0,b.V2)(e)?t.spatialReferenceId=oe.GCSMOON2000:t.spatialReferenceId=oe.UNKNOWN)}function fe(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t])}function Re(e,t,n,r){n[r++]=Ye*(e[t++]/Z.sv.radius),n[r++]=Ye*(Math.PI/2-2*Math.atan(Math.exp(-e[t++]/Z.sv.radius))),n[r]=e[t]}function pe(e,t,n,r){!function(e,t,n,r,_){const s=.4999999*Math.PI,i=(0,o.uZ)(Be*e[t+1],-s,s),P=Math.sin(i);n[r++]=Be*e[t]*_.radius,n[r++]=_.halfSemiMajorAxis*Math.log((1+P)/(1-P)),n[r]=e[t+2]}(e,t,n,r,Z.sv)}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",e[e.WGS84=2]="WGS84",e[e.WEB_MERCATOR=3]="WEB_MERCATOR",e[e.WGS84_ECEF=4]="WGS84_ECEF",e[e.CGCS2000=5]="CGCS2000",e[e.WGS84_COMPARABLE_LON_LAT=6]="WGS84_COMPARABLE_LON_LAT",e[e.SPHERICAL_MARS_PCPF=7]="SPHERICAL_MARS_PCPF",e[e.GCSMARS2000=8]="GCSMARS2000",e[e.SPHERICAL_MOON_PCPF=9]="SPHERICAL_MOON_PCPF",e[e.GCSMOON2000=10]="GCSMOON2000",e[e.LON_LAT=11]="LON_LAT",e[e.PLATE_CARREE=12]="PLATE_CARREE"}(oe||(oe={}));const Oe=Z.sv.radius*Math.PI/180,Ne=180/(Z.sv.radius*Math.PI);function Me(e,t,n,r){n[r]=e[t]*Oe,n[r+1]=e[t+1]*Oe,n[r+2]=e[t+2]}function Te(e,t,n,r){n[r]=e[t]*Ne,n[r+1]=e[t+1]*Ne,n[r+2]=e[t+2]}function ge(e,t,n,r,o){const _=o+e[t+2],s=Be*e[t+1],i=Be*e[t],P=Math.cos(s);n[r++]=Math.cos(i)*P*_,n[r++]=Math.sin(i)*P*_,n[r]=Math.sin(s)*_}function he(e,t,n,r){ge(e,t,n,r,Z.Z1.radius)}function Le(e,t,n,r){ge(e,t,n,r,Z.yr.radius)}function de(e,t,n,r){ge(e,t,n,r,Z.sv.radius)}function Ge(e,t,n,r,_){const s=e[t],i=e[t+1],P=e[t+2],u=Math.sqrt(s*s+i*i+P*P),E=(0,o.Kt)(P/(0===u?1:u)),l=Math.atan2(i,s);n[r++]=Ye*l,n[r++]=Ye*E,n[r]=u-_}function Ie(e,t,n,r){Ge(e,t,n,r,Z.Z1.radius)}function ye(e,t,n,r){Ge(e,t,n,r,Z.yr.radius)}function Fe(e,t,n,r){Ge(e,t,n,r,Z.sv.radius)}function We(e,t,n,r){!function(e,t,n,r,o){const _=Be*e[t],s=Be*e[t+1],i=e[t+2],P=Math.sin(s),u=Math.cos(s),E=o.radius/Math.sqrt(1-o.eccentricitySquared*P*P);n[r++]=(E+i)*u*Math.cos(_),n[r++]=(E+i)*u*Math.sin(_),n[r++]=(E*(1-o.eccentricitySquared)+i)*P}(e,t,n,r,Z.sv)}function me(e,t,n,r){const o=K,_=e[t],s=e[t+1],i=e[t+2];let P,u,E,l,c,a,S,C,A,f,R,p,O,N,M,T,g,h,L,d,G;P=Math.abs(i),u=_*_+s*s,E=Math.sqrt(u),l=u+i*i,c=Math.sqrt(l),d=Math.atan2(s,_),a=i*i/l,S=u/l,N=o.a2/c,M=o.a3-o.a4/c,S>.3?(C=P/c*(1+S*(o.a1+N+a*M)/c),L=Math.asin(C),f=C*C,A=Math.sqrt(1-f)):(A=E/c*(1-a*(o.a5-N-S*M)/c),L=Math.acos(A),f=1-A*A,C=Math.sqrt(f)),R=1-Z.sv.eccentricitySquared*f,p=Z.sv.radius/Math.sqrt(R),O=o.a6*p,N=E-p*A,M=P-O*C,g=A*N+C*M,T=A*M-C*N,h=T/(O/R+g),L+=h,G=g+T*h/2,i<0&&(L=-L),n[r++]=Ye*d,n[r++]=Ye*L,n[r]=G}const we={[oe.WGS84]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:fe,[oe.SPHERICAL_ECEF]:de,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:pe,[oe.PLATE_CARREE]:Me,[oe.WGS84]:fe,[oe.WGS84_ECEF]:We},[oe.CGCS2000]:{[oe.CGCS2000]:fe,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:fe,[oe.SPHERICAL_ECEF]:de,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:Me,[oe.WGS84]:null,[oe.WGS84_ECEF]:We},[oe.GCSMARS2000]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:fe,[oe.GCSMOON2000]:null,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:null,[oe.SPHERICAL_ECEF]:null,[oe.SPHERICAL_MARS_PCPF]:Le,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:null,[oe.WGS84]:null,[oe.WGS84_ECEF]:null},[oe.GCSMOON2000]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:fe,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:null,[oe.SPHERICAL_ECEF]:null,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:he,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:null,[oe.WGS84]:null,[oe.WGS84_ECEF]:null},[oe.WEB_MERCATOR]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:Re,[oe.WGS84_COMPARABLE_LON_LAT]:Re,[oe.SPHERICAL_ECEF]:function(e,t,n,r){Re(e,t,n,r),de(n,r,n,r)},[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:fe,[oe.PLATE_CARREE]:function(e,t,n,r){Re(e,t,n,r),Me(n,r,n,r)},[oe.WGS84]:Re,[oe.WGS84_ECEF]:function(e,t,n,r){Re(e,t,n,r),We(n,r,n,r)}},[oe.WGS84_ECEF]:{[oe.CGCS2000]:me,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:me,[oe.WGS84_COMPARABLE_LON_LAT]:me,[oe.SPHERICAL_ECEF]:function(e,t,n,r){me(e,t,n,r),de(n,r,n,r)},[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:function(e,t,n,r){me(e,t,n,r),pe(n,r,n,r)},[oe.PLATE_CARREE]:function(e,t,n,r){me(e,t,n,r),Me(n,r,n,r)},[oe.WGS84]:me,[oe.WGS84_ECEF]:fe},[oe.SPHERICAL_ECEF]:{[oe.CGCS2000]:Fe,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:Fe,[oe.WGS84_COMPARABLE_LON_LAT]:Fe,[oe.SPHERICAL_ECEF]:fe,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:function(e,t,n,r){Fe(e,t,n,r),pe(n,r,n,r)},[oe.PLATE_CARREE]:function(e,t,n,r){Fe(e,t,n,r),Me(n,r,n,r)},[oe.WGS84]:Fe,[oe.WGS84_ECEF]:function(e,t,n,r){Fe(e,t,n,r),We(n,r,n,r)}},[oe.SPHERICAL_MARS_PCPF]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:ye,[oe.GCSMOON2000]:null,[oe.LON_LAT]:ye,[oe.WGS84_COMPARABLE_LON_LAT]:null,[oe.SPHERICAL_ECEF]:null,[oe.SPHERICAL_MARS_PCPF]:fe,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:null,[oe.WGS84]:null,[oe.WGS84_ECEF]:null},[oe.SPHERICAL_MOON_PCPF]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:Ie,[oe.LON_LAT]:Ie,[oe.WGS84_COMPARABLE_LON_LAT]:null,[oe.SPHERICAL_ECEF]:null,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:fe,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:null,[oe.WGS84]:null,[oe.WGS84_ECEF]:null},[oe.UNKNOWN]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:null,[oe.WGS84_COMPARABLE_LON_LAT]:null,[oe.SPHERICAL_ECEF]:null,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:fe,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:null,[oe.WGS84]:null,[oe.WGS84_ECEF]:null},[oe.LON_LAT]:{[oe.CGCS2000]:fe,[oe.GCSMARS2000]:fe,[oe.GCSMOON2000]:fe,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:fe,[oe.SPHERICAL_ECEF]:de,[oe.SPHERICAL_MARS_PCPF]:Le,[oe.SPHERICAL_MOON_PCPF]:he,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:pe,[oe.PLATE_CARREE]:Me,[oe.WGS84]:fe,[oe.WGS84_ECEF]:We},[oe.WGS84_COMPARABLE_LON_LAT]:{[oe.CGCS2000]:null,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:fe,[oe.WGS84_COMPARABLE_LON_LAT]:fe,[oe.SPHERICAL_ECEF]:de,[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:null,[oe.PLATE_CARREE]:Me,[oe.WGS84]:fe,[oe.WGS84_ECEF]:We},[oe.PLATE_CARREE]:{[oe.CGCS2000]:Te,[oe.GCSMARS2000]:null,[oe.GCSMOON2000]:null,[oe.LON_LAT]:Te,[oe.WGS84_COMPARABLE_LON_LAT]:Te,[oe.SPHERICAL_ECEF]:function(e,t,n,r){Te(e,t,n,r),de(n,r,n,r)},[oe.SPHERICAL_MARS_PCPF]:null,[oe.SPHERICAL_MOON_PCPF]:null,[oe.UNKNOWN]:null,[oe.WEB_MERCATOR]:function(e,t,n,r){Te(e,t,n,r),pe(n,r,n,r)},[oe.PLATE_CARREE]:fe,[oe.WGS84]:Te,[oe.WGS84_ECEF]:function(e,t,n,r){Te(e,t,n,r),We(n,r,n,r)}}};function Ue(e,t,n=De()){return(0,_.Wi)(e)||(0,_.Wi)(t)?null:function(e,t,n){if((0,_.Wi)(e)||(0,_.Wi)(t)||n.source.spatialReference===e&&n.dest.spatialReference===t)return n;const r=Ae(e,n.source),o=Ae(t,n.dest);return r===oe.UNKNOWN&&o===oe.UNKNOWN?(0,b.fS)(e,t)?n.projector=fe:n.projector=null:n.projector=we[r][o],n}(e,t,n).projector}function De(){return{source:{spatialReference:null,spatialReferenceId:oe.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:oe.UNKNOWN,metersPerUnit:1},projector:fe}}const He={spatialReference:null,spatialReferenceId:oe.UNKNOWN},ke={spatialReference:null,spatialReferenceId:oe.UNKNOWN},ve=De(),Be=(De(),(0,o.Vl)(1)),Ye=(0,o.BV)(1),Ze=(0,u.c)(),je=(0,u.c)(),xe=(0,u.c)(),Ke=(0,u.c)();(0,u.c)()},18571:(e,t,n)=>{n.d(t,{Z:()=>_});let r=0;class o{constructor(e=null){this.uid=r++,e?(this._wkt=void 0!==e.wkt?e.wkt:null,this._wkid=void 0!==e.wkid?e.wkid:-1,this._isInverse=void 0!==e.isInverse&&!0===e.isInverse):(this._wkt=null,this._wkid=-1,this._isInverse=!1)}static fromGE(e){const t=new o;return t._wkt=e.wkt,t._wkid=e.wkid,t._isInverse=e.isInverse,t}get wkt(){return this._wkt}set wkt(e){this._wkt=e,this.uid=r++}get wkid(){return this._wkid}set wkid(e){this._wkid=e,this.uid=r++}get isInverse(){return this._isInverse}set isInverse(e){this._isInverse=e,this.uid=r++}getInverse(){const e=new o;return e._wkt=this.wkt,e._wkid=this._wkid,e._isInverse=!this.isInverse,e}}class _{constructor(e){if(this.steps=[],this._cached_projection={},this._chain="",this._gtlistentry=null,e&&e.steps)for(const t of e.steps)t instanceof o?this.steps.push(t):this.steps.push(new o({wkid:t.wkid,wkt:t.wkt,isInverse:t.isInverse}))}static cacheKey(e,t){return[void 0!==e.wkid&&null!==e.wkid?e.wkid.toString():"-1",void 0!==e.wkt&&null!==e.wkt?e.wkt.toString():"",void 0!==t.wkid&&null!==t.wkid?t.wkid.toString():"-1",void 0!==t.wkt&&null!==t.wkt?t.wkt.toString():""].join(",")}static fromGE(e){const t=new _;let n="";for(const r of e.steps){const e=o.fromGE(r);t.steps.push(e),n+=e.uid.toString()+","}return t._cached_projection={},t._gtlistentry=null,t._chain=n,t}getInverse(){const e=new _;e.steps=[];for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}getGTListEntry(){let e="";for(const t of this.steps)e+=t.uid.toString()+",";return e!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=e),this._gtlistentry}assignCachedGe(e,t,n){this._cached_projection[_.cacheKey(e,t)]=n}getCachedGeTransformation(e,t){let n="";for(const e of this.steps)n+=e.uid.toString()+",";n!==this._chain&&(this._gtlistentry=null,this._cached_projection={},this._chain=n);const r=this._cached_projection[_.cacheKey(e,t)];return void 0===r?null:r}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2133],{93860:(e,t,r)=>{function n(e,t){const r=e.count;t||(t=new e.TypedArrayConstructor(r));for(let n=0;n<r;n++)t[n]=e.get(n);return t}r.d(t,{m:()=>n}),Object.freeze({__proto__:null,copy:function(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride,a=r?r.count:t.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,_=(r&&r.srcIndex?r.srcIndex:0)*i;for(let e=0;e<a;++e)n[u]=s[_],u+=o,_+=i},makeDense:n})},10816:(e,t,r)=>{r.d(t,{f:()=>i,n:()=>s});var n=r(79583);function o(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride,a=r?r.count:t.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,_=(r&&r.srcIndex?r.srcIndex:0)*i;for(let e=0;e<a;++e)n[u]=s[_],n[u+1]=s[_+1],u+=o,_+=i}function s(e,t,r){const s=e.typedBuffer,i=e.typedBufferStride,a=t.typedBuffer,u=t.typedBufferStride,_=r?r.count:t.count;let c=(r&&r.dstIndex?r.dstIndex:0)*i,E=(r&&r.srcIndex?r.srcIndex:0)*u;if((0,n.U)(t.elementType)){const e=(0,n.Op)(t.elementType);if((0,n.B3)(t.elementType))for(let t=0;t<_;++t)s[c]=Math.max(a[E]/e,-1),s[c+1]=Math.max(a[E+1]/e,-1),c+=i,E+=u;else for(let t=0;t<_;++t)s[c]=a[E]/e,s[c+1]=a[E+1]/e,c+=i,E+=u}else o(e,t,r);return e}function i(e,t,r,n){var o,s;const i=e.typedBuffer,a=e.typedBufferStride,u=null!=(o=null==n?void 0:n.count)?o:e.count;let _=(null!=(s=null==n?void 0:n.dstIndex)?s:0)*a;for(let e=0;e<u;++e)i[_]=t,i[_+1]=r,_+=a}Object.freeze({__proto__:null,copy:o,normalizeIntegerBuffer:s,fill:i})},97323:(e,t,r)=>{function n(e,t){return[e,t]}function o(e,t){return new Float64Array(e,t,2)}function s(){return n(1,1)}function i(){return n(1,0)}function a(){return n(0,1)}r.d(t,{c:()=>o});const u=s(),_=i(),c=a();Object.freeze({__proto__:null,create:function(){return[0,0]},clone:function(e){return[e[0],e[1]]},fromValues:n,fromArray:function(e){const t=[0,0],r=Math.min(2,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t},createView:o,zeros:function(){return[0,0]},ones:s,unitX:i,unitY:a,ZEROS:[0,0],ONES:u,UNIT_X:_,UNIT_Y:c})},11077:(e,t,r)=>{r.d(t,{a:()=>i,s:()=>s,t:()=>o});var n=r(72220);function o(e,t,r){if(e.count!==t.count)return void n.c.error("source and destination buffers need to have the same number of elements");const o=e.count,s=r[0],i=r[1],a=r[2],u=r[3],_=r[4],c=r[5],E=r[6],T=r[7],f=r[8],A=e.typedBuffer,R=e.typedBufferStride,l=t.typedBuffer,d=t.typedBufferStride;for(let e=0;e<o;e++){const t=e*R,r=e*d,n=l[r],o=l[r+1],N=l[r+2],S=l[r+3];A[t]=s*n+u*o+E*N,A[t+1]=i*n+_*o+T*N,A[t+2]=a*n+c*o+f*N,A[t+3]=S}}function s(e,t,r){const n=Math.min(e.count,t.count),o=e.typedBuffer,s=e.typedBufferStride,i=t.typedBuffer,a=t.typedBufferStride;for(let e=0;e<n;e++){const t=e*s,n=e*a;o[t]=r*i[n],o[t+1]=r*i[n+1],o[t+2]=r*i[n+2],o[t+3]=r*i[n+3]}}function i(e,t,r){const n=Math.min(e.count,t.count),o=e.typedBuffer,s=e.typedBufferStride,i=t.typedBuffer,a=t.typedBufferStride;for(let e=0;e<n;e++){const t=e*s,n=e*a;o[t]=i[n]>>r,o[t+1]=i[n+1]>>r,o[t+2]=i[n+2]>>r,o[t+3]=i[n+3]>>r}}Object.freeze({__proto__:null,transformMat4:function(e,t,r){if(e.count!==t.count)return void n.c.error("source and destination buffers need to have the same number of elements");const o=e.count,s=r[0],i=r[1],a=r[2],u=r[3],_=r[4],c=r[5],E=r[6],T=r[7],f=r[8],A=r[9],R=r[10],l=r[11],d=r[12],N=r[13],S=r[14],C=r[15],O=e.typedBuffer,p=e.typedBufferStride,I=t.typedBuffer,h=t.typedBufferStride;for(let e=0;e<o;e++){const t=e*p,r=e*h,n=I[r],o=I[r+1],m=I[r+2],L=I[r+3];O[t]=s*n+_*o+f*m+d*L,O[t+1]=i*n+c*o+A*m+N*L,O[t+2]=a*n+E*o+R*m+S*L,O[t+3]=u*n+T*o+l*m+C*L}},transformMat3:o,scale:s,shiftRight:i})},75488:(e,t,r)=>{function n(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride,a=r?r.count:t.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,_=(r&&r.srcIndex?r.srcIndex:0)*i;for(let e=0;e<a;++e)n[u]=s[_],n[u+1]=s[_+1],n[u+2]=s[_+2],n[u+3]=s[_+3],u+=o,_+=i}function o(e,t,r,n,o,s){var i,a;const u=e.typedBuffer,_=e.typedBufferStride,c=null!=(i=null==s?void 0:s.count)?i:e.count;let E=(null!=(a=null==s?void 0:s.dstIndex)?a:0)*_;for(let e=0;e<c;++e)u[E]=t,u[E+1]=r,u[E+2]=n,u[E+3]=o,E+=_}r.d(t,{c:()=>n,f:()=>o}),Object.freeze({__proto__:null,copy:n,fill:o})},88669:(e,t,r)=>{function n(){return[0,0,0,0]}function o(e,t,r,n){return[e,t,r,n]}function s(e,t){return new Float64Array(e,t,4)}function i(){return o(1,1,1,1)}function a(){return o(1,0,0,0)}function u(){return o(0,1,0,0)}function _(){return o(0,0,1,0)}function c(){return o(0,0,0,1)}r.d(t,{a:()=>s,c:()=>n,f:()=>o});const E=i(),T=a(),f=u(),A=_(),R=c();Object.freeze({__proto__:null,create:n,clone:function(e){return[e[0],e[1],e[2],e[3]]},fromValues:o,fromArray:function(e){const t=[0,0,0,0],r=Math.min(4,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t},createView:s,zeros:function(){return[0,0,0,0]},ones:i,unitX:a,unitY:u,unitZ:_,unitW:c,ZEROS:[0,0,0,0],ONES:E,UNIT_X:T,UNIT_Y:f,UNIT_Z:A,UNIT_W:R})},22807:(e,t,r)=>{r.d(t,{x:()=>o});var n=r(41213);class o{constructor(e){this.allocator=e,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,n.Y)((()=>this._reset())),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const e=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*s);this._items.length=Math.min(e,this._items.length),this._itemsPtr=0}_grow(){for(let e=0;e<Math.max(8,Math.min(this._items.length,s));e++)this._items.push(this.allocator())}}const s=1024},23670:(e,t,r)=>{r.d(t,{G:()=>o});var n=r(20102);class o{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}since(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.Z(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new o(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),i=/^\s*\d+\s*$/;if(!r||!r.match||!r.match(i))throw new n.Z((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s||!s.match||!s.match(i))throw new n.Z((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(r,10),u=parseInt(s,10);return new o(a,u,t)}}},43090:(e,t,r)=>{function n(e){return 32+e.length}function o(e){if(!e)return 0;let t=32;for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];switch(typeof o){case"string":t+=n(o);break;case"number":t+=16;break;case"boolean":t+=4}}return t}function s(e,t){return 32+e.length*t}var i;r.d(t,{Y8:()=>i,f2:()=>o,do:()=>s}),function(e){e[e.KILOBYTES=1024]="KILOBYTES",e[e.MEGABYTES=1048576]="MEGABYTES",e[e.GIGABYTES=1073741824]="GIGABYTES"}(i||(i={}))},79583:(e,t,r)=>{function n(e){switch(e){case"u8":case"i8":return 1;case"u16":case"i16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8;default:return}}function o(e){switch(e){case"u8":case"u16":case"u32":return!1;case"i8":case"i16":case"i32":case"f32":case"f64":return!0;default:return}}function s(e){switch(e){case"u8":case"u16":case"u32":case"i8":case"i16":case"i32":return!0;case"f32":case"f64":return!1;default:return}}function i(e){switch(e){case"u8":return 255;case"u16":return 65535;case"u32":return 4294967295;case"i8":return 127;case"i16":return 32767;case"i32":return 2147483647;case"f32":return 3402823e32;case"f64":return 179769e303;default:return}}r.d(t,{n1:()=>n,U:()=>s,B3:()=>o,Op:()=>i}),r(80442)},8323:(e,t,r)=>{r.d(t,{gS:()=>o});var n=r(79583);function o(e,t){return new e(new ArrayBuffer(t*e.ElementCount*(0,n.n1)(e.ElementType)))}Object.freeze({__proto__:null,copy:function(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride,a=r?r.count:t.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,_=(r&&r.srcIndex?r.srcIndex:0)*i;for(let e=0;e<a;++e){for(let e=0;e<9;++e)n[u+e]=s[_+e];u+=o,_+=i}}}),Object.freeze({__proto__:null,copy:function(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,i=t.typedBufferStride,a=r?r.count:t.count;let u=(r&&r.dstIndex?r.dstIndex:0)*o,_=(r&&r.srcIndex?r.srcIndex:0)*i;for(let e=0;e<a;++e){for(let e=0;e<16;++e)n[u+e]=s[_+e];u+=o,_+=i}}}),r(93860),r(10816),r(56067),r(75488)},12981:(e,t,r)=>{r.d(t,{MP:()=>A,WM:()=>f});var n=r(43090),o=r(41213),s=r(46521),i=r(13598),a=r(94961),u=r(97323),_=r(65617),c=r(88669);class E{constructor(e,t,r){this.itemByteSize=e,this.itemCreate=t,this._buffers=new Array,this._items=new Array,this._itemsPtr=0,this._itemsPerBuffer=Math.ceil(r/this.itemByteSize)}get(){0===this._itemsPtr&&(0,o.Y)((()=>this._reset()));const e=Math.floor(this._itemsPtr/this._itemsPerBuffer);for(;this._buffers.length<=e;){const e=new ArrayBuffer(this._itemsPerBuffer*this.itemByteSize);for(let t=0;t<this._itemsPerBuffer;++t)this._items.push(this.itemCreate(e,t*this.itemByteSize));this._buffers.push(e)}return this._items[this._itemsPtr++]}_reset(){const e=2*(Math.floor(this._itemsPtr/this._itemsPerBuffer)+1);for(;this._buffers.length>e;)this._buffers.pop(),this._items.length=this._buffers.length*this._itemsPerBuffer;this._itemsPtr=0}static createVec2f64(e=T){return new E(16,u.c,e)}static createVec3f64(e=T){return new E(24,_.b,e)}static createVec4f64(e=T){return new E(32,c.a,e)}static createMat3f64(e=T){return new E(72,s.a,e)}static createMat4f64(e=T){return new E(128,i.a,e)}static createQuatf64(e=T){return new E(32,a.c,e)}get test(){return{size:this._buffers.length*this._itemsPerBuffer*this.itemByteSize}}}const T=4*n.Y8.KILOBYTES,f=(E.createVec2f64(),E.createVec3f64()),A=(E.createVec4f64(),E.createMat3f64(),E.createMat4f64());E.createQuatf64()},40270:(e,t,r)=>{r.d(t,{C:()=>_});var n=r(3172),o=r(66643),s=r(20102),i=r(70586),a=r(95330),u=r(17452);class _{constructor(e){this.streamDataRequester=e}async loadJSON(e,t){return this._load("json",e,t)}async loadBinary(e,t){return(0,u.HK)(e)?((0,a.k_)(t),(0,u.AH)(e)):this._load("binary",e,t)}async loadImage(e,t){return this._load("image",e,t)}async _load(e,t,r){if((0,i.Wi)(this.streamDataRequester))return(await(0,n.default)(t,{responseType:c[e]})).data;const u=await(0,o.q6)(this.streamDataRequester.request(t,e,r));if(!0===u.ok)return u.value;throw(0,a.r9)(u.error),new s.Z("",`Request for resource failed: ${u.error}`)}}const c={image:"image",binary:"array-buffer",json:"json"}},91911:(e,t,r)=>{r.d(t,{jX:()=>a,DA:()=>i,nh:()=>s});var n=r(1533),o=r(64291);function s(e,t=o.p){return"number"==typeof e?t(e):(0,n.Uc)(e)||(0,n.lq)(e)?new Uint32Array(e):e}function i(e){const t="number"==typeof e?e:e.length;if(t<3)return new Uint16Array(0);const r=t-2,n=r<=65536?new Uint16Array(3*r):new Uint32Array(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;t+=1)t%2==0?(n[e++]=t,n[e++]=t+1,n[e++]=t+2):(n[e++]=t+1,n[e++]=t,n[e++]=t+2)}else{let t=0;for(let o=0;o<r;o+=1)if(o%2==0){const r=e[o],s=e[o+1],i=e[o+2];n[t++]=r,n[t++]=s,n[t++]=i}else{const r=e[o+1],s=e[o],i=e[o+2];n[t++]=r,n[t++]=s,n[t++]=i}}return n}function a(e){const t="number"==typeof e?e:e.length;if(t<3)return new Uint16Array(0);const r=t-2,n=r<=65536?new Uint16Array(3*r):new Uint32Array(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;++t)n[e++]=0,n[e++]=t+1,n[e++]=t+2;return n}{const t=e[0];let o=e[1],s=0;for(let i=0;i<r;++i){const r=e[i+2];n[s++]=t,n[s++]=o,n[s++]=r,o=r}return n}}},88246:(e,t,r)=>{r.d(t,{z:()=>x});var n=r(70586),o=r(13598),s=r(20102);const i=r(92604).Z.getLogger("esri.views.3d.glTF");var a,u,_=r(35371),c=r(74085),E=r(30175),T=r(17452),f=r(23670),A=r(52138),R=r(51305),l=r(94961),d=r(56481),N=r(93860);class S{constructor(e){this.data=e,this.offset4=0,this.dataUint32=new Uint32Array(this.data,0,Math.floor(this.data.byteLength/4))}readUint32(){const e=this.offset4;return this.offset4+=1,this.dataUint32[e]}readUint8Array(e){const t=4*this.offset4;return this.offset4+=e/4,new Uint8Array(this.data,t,e)}remainingBytes(){return this.data.byteLength-4*this.offset4}}!function(e){e.SCALAR="SCALAR",e.VEC2="VEC2",e.VEC3="VEC3",e.VEC4="VEC4",e.MAT2="MAT2",e.MAT3="MAT3",e.MAT4="MAT4"}(a||(a={})),function(e){e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER"}(u||(u={}));const C={baseColorFactor:[1,1,1,1],metallicFactor:1,roughnessFactor:1},O={pbrMetallicRoughness:C,emissiveFactor:[0,0,0],alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1},p={ESRI_externalColorMixMode:"tint"},I=(e={})=>{const t={...C,...e.pbrMetallicRoughness},r=function(e){switch(e.ESRI_externalColorMixMode){case"multiply":case"tint":case"ignore":case"replace":break;default:(0,c.Bg)(e.ESRI_externalColorMixMode),e.ESRI_externalColorMixMode="tint"}return e}({...p,...e.extras});return{...O,...e,pbrMetallicRoughness:t,extras:r}},h={magFilter:_.cw.LINEAR,minFilter:_.cw.LINEAR_MIPMAP_LINEAR,wrapS:_.e8.REPEAT,wrapT:_.e8.REPEAT},m=e=>({...h,...e}),L=1179937895;class M{constructor(e,t,r,n,o){this.context=e,this.errorContext=t,this.uri=r,this.json=n,this.glbBuffer=o,this.bufferLoaders=new Map,this.textureLoaders=new Map,this.textureCache=new Map,this.materialCache=new Map,this.nodeParentMap=new Map,this.nodeTransformCache=new Map,this.baseUri=function(e){let t,r;return e.replace(/^(.*\/)?([^/]*)$/,((e,n,o)=>(t=n||"",r=o||"",""))),{dirPart:t,filePart:r}}(this.uri).dirPart,this._checkVersionSupported(),this._checkRequiredExtensionsSupported(),t.errorUnsupportedIf(null==n.scenes,"Scenes must be defined."),t.errorUnsupportedIf(null==n.meshes,"Meshes must be defined"),t.errorUnsupportedIf(null==n.nodes,"Nodes must be defined."),this._computeNodeParents()}static async load(e,t,r,n){if((0,T.HK)(r)){const n=(0,T.sJ)(r);if("model/gltf-binary"!==n.mediaType)try{const o=JSON.parse(n.isBase64?atob(n.data):n.data);return new M(e,t,r,o)}catch{}const o=(0,T.AH)(r);if(M._isGLBData(o))return this._fromGLBData(e,t,r,o)}if(r.endsWith(".gltf")){const o=await e.loadJSON(r,n);return new M(e,t,r,o)}const o=await e.loadBinary(r,n);if(M._isGLBData(o))return this._fromGLBData(e,t,r,o);const s=await e.loadJSON(r,n);return new M(e,t,r,s)}static _isGLBData(e){const t=new S(e);return t.remainingBytes()>=4&&t.readUint32()===L}static async _fromGLBData(e,t,r,n){const o=await M._parseGLBData(t,n);return new M(e,t,r,o.json,o.binaryData)}static async _parseGLBData(e,t){const r=new S(t);e.assert(r.remainingBytes()>=12,"GLB binary data is insufficiently large.");const n=r.readUint32(),o=r.readUint32(),s=r.readUint32();e.assert(n===L,"Magic first 4 bytes do not fit to expected GLB value."),e.assert(t.byteLength>=s,"GLB binary data is smaller than header specifies."),e.errorUnsupportedIf(2!==o,"An unsupported GLB container version was detected. Only version 2 is supported.");let i,a,u=0;for(;r.remainingBytes()>=8;){const t=r.readUint32(),n=r.readUint32();0===u?(e.assert(1313821514===n,"First GLB chunk must be JSON."),e.assert(t>=0,"No JSON data found."),i=await F(r.readUint8Array(t))):1===u?(e.errorUnsupportedIf(5130562!==n,"Second GLB chunk expected to be BIN."),a=r.readUint8Array(t)):e.warnUnsupported("More than 2 GLB chunks detected. Skipping."),u+=1}return i||e.error("No GLB JSON chunk detected."),{json:i,binaryData:a}}async getBuffer(e,t){const r=this.json.buffers[e],n=this.errorContext;if(null==r.uri)return n.assert(null!=this.glbBuffer,"GLB buffer not present"),this.glbBuffer;const o=await this._getBufferLoader(e,t);return n.assert(o.byteLength===r.byteLength,"Buffer byte lengths should match."),o}async _getBufferLoader(e,t){const r=this.bufferLoaders.get(e);if(r)return r;const n=this.json.buffers[e],o=this.context.loadBinary(this._resolveUri(n.uri),t).then((e=>new Uint8Array(e)));return this.bufferLoaders.set(e,o),o}async getAccessor(e,t){const r=this.errorContext;r.errorUnsupportedIf(!this.json.accessors,"Accessors missing.");const n=this.json.accessors[e];r.errorUnsupportedIf(null==(null==n?void 0:n.bufferView),"Some accessor does not specify a bufferView."),r.errorUnsupportedIf(n.type in[a.MAT2,a.MAT3,a.MAT4],`AttributeType ${n.type} is not supported`);const o=this.json.bufferViews[n.bufferView],s=await this.getBuffer(o.buffer,t),i=D[n.type],u=B[n.componentType],_=i*u,c=o.byteStride||_;return{raw:s.buffer,byteStride:c,byteOffset:s.byteOffset+(o.byteOffset||0)+(n.byteOffset||0),entryCount:n.count,isDenselyPacked:c===_,componentCount:i,componentByteSize:u,componentType:n.componentType,min:n.min,max:n.max,normalized:!!n.normalized}}async getIndexData(e,t){if(null==e.indices)return null;const r=await this.getAccessor(e.indices,t);if(r.isDenselyPacked)switch(r.componentType){case _.g.UNSIGNED_BYTE:return new Uint8Array(r.raw,r.byteOffset,r.entryCount);case _.g.UNSIGNED_SHORT:return new Uint16Array(r.raw,r.byteOffset,r.entryCount);case _.g.UNSIGNED_INT:return new Uint32Array(r.raw,r.byteOffset,r.entryCount)}else switch(r.componentType){case _.g.UNSIGNED_BYTE:return(0,N.m)(this._wrapAccessor(d.D_,r));case _.g.UNSIGNED_SHORT:return(0,N.m)(this._wrapAccessor(d.av,r));case _.g.UNSIGNED_INT:return(0,N.m)(this._wrapAccessor(d.Nu,r))}}async getPositionData(e,t){const r=this.errorContext;r.errorUnsupportedIf(null==e.attributes.POSITION,"No POSITION vertex data found.");const n=await this.getAccessor(e.attributes.POSITION,t);return r.errorUnsupportedIf(n.componentType!==_.g.FLOAT,"Expected type FLOAT for POSITION vertex attribute, but found "+w[n.componentType]),r.errorUnsupportedIf(3!==n.componentCount,"POSITION vertex attribute must have 3 components, but found "+n.componentCount.toFixed()),this._wrapAccessor(d.ct,n)}async getNormalData(e,t){const r=this.errorContext;r.assert(null!=e.attributes.NORMAL,"No NORMAL vertex data found.");const n=await this.getAccessor(e.attributes.NORMAL,t);return r.errorUnsupportedIf(n.componentType!==_.g.FLOAT,"Expected type FLOAT for NORMAL vertex attribute, but found "+w[n.componentType]),r.errorUnsupportedIf(3!==n.componentCount,"NORMAL vertex attribute must have 3 components, but found "+n.componentCount.toFixed()),this._wrapAccessor(d.ct,n)}async getTangentData(e,t){const r=this.errorContext;r.assert(null!=e.attributes.TANGENT,"No TANGENT vertex data found.");const n=await this.getAccessor(e.attributes.TANGENT,t);return r.errorUnsupportedIf(n.componentType!==_.g.FLOAT,"Expected type FLOAT for TANGENT vertex attribute, but found "+w[n.componentType]),r.errorUnsupportedIf(4!==n.componentCount,"TANGENT vertex attribute must have 4 components, but found "+n.componentCount.toFixed()),new d.ek(n.raw,n.byteOffset,n.byteStride,n.byteOffset+n.byteStride*n.entryCount)}async getTextureCoordinates(e,t){const r=this.errorContext;r.assert(null!=e.attributes.TEXCOORD_0,"No TEXCOORD_0 vertex data found.");const n=await this.getAccessor(e.attributes.TEXCOORD_0,t);return r.errorUnsupportedIf(2!==n.componentCount,"TEXCOORD_0 vertex attribute must have 2 components, but found "+n.componentCount.toFixed()),n.componentType===_.g.FLOAT?this._wrapAccessor(d.Eu,n):(r.errorUnsupportedIf(!n.normalized,"Integer component types are only supported for a normalized accessor for TEXCOORD_0."),function(e){switch(e.componentType){case _.g.BYTE:return new d.Vs(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case _.g.UNSIGNED_BYTE:return new d.xA(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case _.g.SHORT:return new d.or(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case _.g.UNSIGNED_SHORT:return new d.TS(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case _.g.UNSIGNED_INT:return new d.qt(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case _.g.FLOAT:return new d.Eu(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);default:return void(0,c.Bg)(e.componentType)}}(n))}async getVertexColors(e,t){const r=this.errorContext;r.assert(null!=e.attributes.COLOR_0,"No COLOR_0 vertex data found.");const n=await this.getAccessor(e.attributes.COLOR_0,t);if(r.errorUnsupportedIf(4!==n.componentCount&&3!==n.componentCount,"COLOR_0 attribute must have 3 or 4 components, but found "+n.componentCount.toFixed()),4===n.componentCount){if(n.componentType===_.g.FLOAT)return this._wrapAccessor(d.ek,n);if(n.componentType===_.g.UNSIGNED_BYTE)return this._wrapAccessor(d.mc,n);if(n.componentType===_.g.UNSIGNED_SHORT)return this._wrapAccessor(d.v6,n)}else if(3===n.componentCount){if(n.componentType===_.g.FLOAT)return this._wrapAccessor(d.ct,n);if(n.componentType===_.g.UNSIGNED_BYTE)return this._wrapAccessor(d.ne,n);if(n.componentType===_.g.UNSIGNED_SHORT)return this._wrapAccessor(d.mw,n)}r.errorUnsupported("Unsupported component type for COLOR_0 attribute: "+w[n.componentType])}hasPositions(e){return void 0!==e.attributes.POSITION}hasNormals(e){return void 0!==e.attributes.NORMAL}hasVertexColors(e){return void 0!==e.attributes.COLOR_0}hasTextureCoordinates(e){return void 0!==e.attributes.TEXCOORD_0}hasTangents(e){return void 0!==e.attributes.TANGENT}async getMaterial(e,t,r){let n=this.materialCache.get(e.material);if(!n){const o=null!=e.material?I(this.json.materials[e.material]):I(),s=o.pbrMetallicRoughness,i=this.hasVertexColors(e),a=this.getTexture(s.baseColorTexture,t),u=this.getTexture(o.normalTexture,t),_=r?this.getTexture(o.occlusionTexture,t):null,c=r?this.getTexture(o.emissiveTexture,t):null,E=r?this.getTexture(s.metallicRoughnessTexture,t):null,T=null!=e.material?e.material:-1;n={alphaMode:o.alphaMode,alphaCutoff:o.alphaCutoff,color:s.baseColorFactor,doubleSided:!!o.doubleSided,colorTexture:await a,normalTexture:await u,name:o.name,id:T,occlusionTexture:await _,emissiveTexture:await c,emissiveFactor:o.emissiveFactor,metallicFactor:s.metallicFactor,roughnessFactor:s.roughnessFactor,metallicRoughnessTexture:await E,vertexColors:i,ESRI_externalColorMixMode:o.extras.ESRI_externalColorMixMode}}return n}async getTexture(e,t){if(!e)return null;this.errorContext.errorUnsupportedIf(0!==(e.texCoord||0),"Only TEXCOORD with index 0 is supported.");const r=e.index,n=this.errorContext,o=this.json.textures[r],s=m(null!=o.sampler?this.json.samplers[o.sampler]:{});n.errorUnsupportedIf(null==o.source,"Source is expected to be defined for a texture.");const i=this.json.images[o.source],a=await this._loadTextureImageData(r,o,t);return(0,E.s1)(this.textureCache,r,(()=>{const e=e=>33071===e||33648===e||10497===e,t=e=>(n.error(`Unexpected TextureSampler WrapMode: ${e}. Using default REPEAT(10497).`),10497);return{data:a,wrapS:e(s.wrapS)?s.wrapS:t(s.wrapS),wrapT:e(s.wrapT)?s.wrapT:t(s.wrapT),minFilter:s.minFilter,name:i.name,id:r}}))}getNodeTransform(e){if(void 0===e)return y;let t=this.nodeTransformCache.get(e);if(!t){const r=this.getNodeTransform(this._getNodeParent(e)),n=this.json.nodes[e];n.matrix?t=(0,A.m)((0,o.c)(),r,n.matrix):n.translation||n.rotation||n.scale?(t=(0,o.b)(r),n.translation&&(0,A.j)(t,t,n.translation),n.rotation&&(P[3]=(0,R.g)(P,n.rotation),(0,A.e)(t,t,P[3],P)),n.scale&&(0,A.h)(t,t,n.scale)):t=r,this.nodeTransformCache.set(e,t)}return t}_wrapAccessor(e,t){return new e(t.raw,t.byteOffset,t.byteStride,t.byteOffset+t.byteStride*(t.entryCount-1)+t.componentByteSize*t.componentCount)}_resolveUri(e){return(0,T.hF)(e,this.baseUri)}_getNodeParent(e){return this.nodeParentMap.get(e)}_checkVersionSupported(){const e=f.G.parse(this.json.asset.version,"glTF");U.validate(e)}_checkRequiredExtensionsSupported(){const e=this.json,t=this.errorContext;e.extensionsRequired&&0!==e.extensionsRequired.length&&t.errorUnsupported("gltf loader was not able to load unsupported feature. Required extensions: "+e.extensionsRequired.join(", "))}_computeNodeParents(){this.json.nodes.forEach(((e,t)=>{e.children&&e.children.forEach((e=>{this.nodeParentMap.set(e,t)}))}))}async _loadTextureImageData(e,t,r){const n=this.textureLoaders.get(e);if(n)return n;const o=this._createTextureLoader(t,r);return this.textureLoaders.set(e,o),o}async _createTextureLoader(e,t){const r=this.json.images[e.source];if(r.uri)return this.context.loadImage(this._resolveUri(r.uri),t);const n=this.errorContext;n.errorUnsupportedIf(null==r.bufferView,"Image bufferView must be defined."),n.errorUnsupportedIf(null==r.mimeType,"Image mimeType must be defined.");const o=this.json.bufferViews[r.bufferView],s=await this.getBuffer(o.buffer,t);return n.errorUnsupportedIf(null!=o.byteStride,"byteStride not supported for image buffer"),async function(e,t){return new Promise(((r,n)=>{const o=new Blob([e],{type:t}),s=URL.createObjectURL(o),i=new Image;i.addEventListener("load",(()=>{URL.revokeObjectURL(s),"decode"in i?i.decode().then((()=>r(i)),(()=>r(i))):r(i)})),i.addEventListener("error",(e=>{URL.revokeObjectURL(s),n(e)})),i.src=s}))}(new Uint8Array(s.buffer,s.byteOffset+(o.byteOffset||0),o.byteLength),r.mimeType)}}const U=new f.G(2,0,"glTF"),y=(0,A.y)((0,o.c)(),Math.PI/2),P=(0,l.a)(),D={SCALAR:1,VEC2:2,VEC3:3,VEC4:4},B={[_.g.BYTE]:1,[_.g.UNSIGNED_BYTE]:1,[_.g.SHORT]:2,[_.g.UNSIGNED_SHORT]:2,[_.g.FLOAT]:4,[_.g.UNSIGNED_INT]:4};async function F(e){return new Promise(((t,r)=>{const n=new Blob([e]),o=new FileReader;o.onload=()=>{const e=o.result;t(JSON.parse(e))},o.onerror=e=>{r(e)},o.readAsText(n)}))}const w={5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5125:"UNSIGNED_INT",5126:"FLOAT"};let b=0;async function x(e,t,r={},s=!0){const i=await M.load(e,Y,t,r),a="gltf_"+b++,u={lods:[],materials:new Map,textures:new Map,meta:g(i)},c=!(!i.json.asset.extras||"symbolResource"!==i.json.asset.extras.ESRI_type),E=new Map;await G(i,(async(e,t,c,T)=>{var f;const A=null!=(f=E.get(c))?f:0;E.set(c,A+1);const R=void 0!==e.mode?e.mode:_.MX.TRIANGLES,l=R===_.MX.TRIANGLES||R===_.MX.TRIANGLE_STRIP||R===_.MX.TRIANGLE_FAN?R:null;if((0,n.Wi)(l))return void Y.warnUnsupported("Unsupported primitive mode ("+X[R]+"). Skipping primitive.");if(!i.hasPositions(e))return void Y.warn("Skipping primitive without POSITION vertex attribute.");const d=i.getPositionData(e,r),N=i.getMaterial(e,r,s),S=i.hasNormals(e)?i.getNormalData(e,r):null,C=i.hasTangents(e)?i.getTangentData(e,r):null,O=i.hasTextureCoordinates(e)?i.getTextureCoordinates(e,r):null,p=i.hasVertexColors(e)?i.getVertexColors(e,r):null,I=i.getIndexData(e,r),h={transform:(0,o.b)(t),attributes:{position:await d,normal:S?await S:null,texCoord0:O?await O:null,color:p?await p:null,tangent:C?await C:null},indices:await I,primitiveType:l,material:v(u,await N,a)};let m=null;(0,n.pC)(u.meta)&&(0,n.pC)(u.meta.ESRI_lod)&&"screenSpaceRadius"===u.meta.ESRI_lod.metric&&(m=u.meta.ESRI_lod.thresholds[c]),u.lods[c]=u.lods[c]||{parts:[],name:T,lodThreshold:m},u.lods[c].parts[A]=h}));for(const e of u.lods)e.parts=e.parts.filter((e=>!!e));return{model:u,meta:{isEsriSymbolResource:c,uri:i.uri},customMeta:{}}}function g(e){const t=e.json;let r=null;return t.nodes.forEach((e=>{const t=e.extras;(0,n.pC)(t)&&(t.ESRI_proxyEllipsoid||t.ESRI_lod)&&(r=t)})),r}async function G(e,t){const r=e.json,n=r.scenes[r.scene||0].nodes,o=n.length>1,s=[];for(const e of n){const t=r.nodes[e];s.push(i(e,0)),H(t)&&!o&&t.extensions.MSFT_lod.ids.forEach(((e,t)=>i(e,t+1)))}async function i(n,o){const a=r.nodes[n],u=e.getNodeTransform(n);if(Y.warnUnsupportedIf(null!=a.weights,"Morph targets are not supported."),null!=a.mesh){const e=r.meshes[a.mesh];for(const r of e.primitives)s.push(t(r,u,o,e.name))}for(const e of a.children||[])s.push(i(e,o))}await Promise.all(s)}function H(e){return e.extensions&&e.extensions.MSFT_lod&&Array.isArray(e.extensions.MSFT_lod.ids)}function v(e,t,r){const n=t=>{const n=`${r}_tex_${t&&t.id}${t&&t.name?"_"+t.name:""}`;if(t&&!e.textures.has(n)){const r=function(e,t={}){return{data:e,parameters:{wrap:{s:_.e8.REPEAT,t:_.e8.REPEAT,...t.wrap},noUnpackFlip:!0,mipmap:!1,...t}}}(t.data,{wrap:{s:t.wrapS,t:t.wrapT},mipmap:V.some((e=>e===t.minFilter)),noUnpackFlip:!0});e.textures.set(n,r)}return n},o=`${r}_mat_${t.id}_${t.name}`;if(!e.materials.has(o)){const r=function(e={}){return{color:[1,1,1],opacity:1,alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1,castShadows:!0,receiveShadows:!0,receiveAmbientOcclustion:!0,textureColor:null,textureNormal:null,textureOcclusion:null,textureEmissive:null,textureMetallicRoughness:null,emissiveFactor:[0,0,0],metallicFactor:1,roughnessFactor:1,colorMixMode:"multiply",...e}}({color:[t.color[0],t.color[1],t.color[2]],opacity:t.color[3],alphaMode:t.alphaMode,alphaCutoff:t.alphaCutoff,doubleSided:t.doubleSided,colorMixMode:t.ESRI_externalColorMixMode,textureColor:t.colorTexture?n(t.colorTexture):void 0,textureNormal:t.normalTexture?n(t.normalTexture):void 0,textureOcclusion:t.occlusionTexture?n(t.occlusionTexture):void 0,textureEmissive:t.emissiveTexture?n(t.emissiveTexture):void 0,textureMetallicRoughness:t.metallicRoughnessTexture?n(t.metallicRoughnessTexture):void 0,emissiveFactor:[t.emissiveFactor[0],t.emissiveFactor[1],t.emissiveFactor[2]],metallicFactor:t.metallicFactor,roughnessFactor:t.roughnessFactor});e.materials.set(o,r)}return o}const Y=new class{error(e){throw new s.Z("gltf-loader-error",e)}errorUnsupported(e){throw new s.Z("gltf-loader-unsupported-feature",e)}errorUnsupportedIf(e,t){e&&this.errorUnsupported(t)}assert(e,t){e||this.error(t)}warn(e){i.warn(e)}warnUnsupported(e){this.warn("[Unsupported Feature] "+e)}warnUnsupportedIf(e,t){e&&this.warnUnsupported(t)}},V=[_.cw.LINEAR_MIPMAP_LINEAR,_.cw.LINEAR_MIPMAP_NEAREST],X=["POINTS","LINES","LINE_LOOP","LINE_STRIP","TRIANGLES","TRIANGLE_STRIP","TRIANGLE_FAN"]},64291:(e,t,r)=>{r.d(t,{NO:()=>A,cM:()=>f,p:()=>E,DX:()=>T});var n=r(17896),o=r(65617),s=r(22807);r(4307),r(22021),r(12981),(0,o.c)(),(0,o.c)(),new s.x((()=>({origin:null,vector:null}))),new s.x((function(e){return e?{origin:(0,o.a)(e.origin),vector:(0,o.a)(e.vector)}:{origin:(0,o.c)(),vector:(0,o.c)()}})),new s.x((()=>({p0:null,p1:null,p2:null})));const i=(0,o.c)(),a=(0,o.c)();let u=(()=>{const e=new Uint32Array(131072);for(let t=0;t<e.length;++t)e[t]=t;return e})();const _=new Uint16Array([0]),c=(()=>{const e=new Uint16Array(65536);for(let t=0;t<e.length;++t)e[t]=t;return e})();function E(e){if(1===e)return _;if(e<c.length)return new Uint16Array(c.buffer,0,e);if(e>u.length){const t=Math.max(2*u.length,e);u=new Uint32Array(t);for(let e=0;e<u.length;e++)u[e]=e}return new Uint32Array(u.buffer,0,e)}function T(e){if(1===e)return new Uint16Array(_);if(e<c.length)return new Uint16Array(c.slice(0,e));if(e>u.length){const t=new Uint32Array(e);for(let e=0;e<t.length;e++)t[e]=e;return t}return new Uint32Array(u.slice(0,e))}function f(e,t,r){if(!e)return!1;const{size:o,data:s}=e;(0,n.s)(r,0,0,0),(0,n.s)(N,0,0,0);let u=0,_=0;for(let e=0;e<t.length-2;e+=3){const f=t[e+0]*o,A=t[e+1]*o,S=t[e+2]*o;(0,n.s)(R,s[f+0],s[f+1],s[f+2]),(0,n.s)(l,s[A+0],s[A+1],s[A+2]),(0,n.s)(d,s[S+0],s[S+1],s[S+2]);const C=(c=R,E=l,T=d,(0,n.f)(i,E,c),(0,n.f)(a,T,c),(0,n.l)((0,n.c)(i,i,a))/2);C?((0,n.b)(R,R,l),(0,n.b)(R,R,d),(0,n.a)(R,R,1/3*C),(0,n.b)(r,r,R),u+=C):((0,n.b)(N,N,R),(0,n.b)(N,N,l),(0,n.b)(N,N,d),_+=3)}var c,E,T;return!(0===_&&0===u||(0!==u?((0,n.a)(r,r,1/u),0):0===_||((0,n.a)(r,N,1/_),0)))}function A(e,t,r){if(!e||!t)return!1;const{size:o,data:s}=e;(0,n.s)(r,0,0,0);let i=-1,a=0;for(let e=0;e<t.length;e++){const n=t[e]*o;i!==n&&(r[0]+=s[n+0],r[1]+=s[n+1],r[2]+=s[n+2],a++),i=n}return a>1&&(0,n.a)(r,r,1/a),a>0}const R=(0,o.c)(),l=(0,o.c)(),d=(0,o.c)(),N=(0,o.c)()},57758:(e,t,r)=>{r.d(t,{K:()=>n});const n=2.1},35371:(e,t,r)=>{var n,o,s,i,a,u,_,c,E,T,f,A,R,l,d,N,S,C,O,p,I,h,m;r.d(t,{zi:()=>s,db:()=>i,w0:()=>a,VY:()=>m,wb:()=>E,q_:()=>M,Wf:()=>_,g:()=>c,Lu:()=>L,OU:()=>I,LR:()=>u,VI:()=>l,Br:()=>d,MX:()=>o,Tg:()=>N,_g:()=>h,xS:()=>T,Lm:()=>p,cw:()=>f,No:()=>R,e8:()=>A,l1:()=>S}),function(e){e[e.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",e[e.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",e[e.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT"}(n||(n={})),function(e){e[e.POINTS=0]="POINTS",e[e.LINES=1]="LINES",e[e.LINE_LOOP=2]="LINE_LOOP",e[e.LINE_STRIP=3]="LINE_STRIP",e[e.TRIANGLES=4]="TRIANGLES",e[e.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",e[e.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(o||(o={})),function(e){e[e.ZERO=0]="ZERO",e[e.ONE=1]="ONE",e[e.SRC_COLOR=768]="SRC_COLOR",e[e.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",e[e.SRC_ALPHA=770]="SRC_ALPHA",e[e.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",e[e.DST_ALPHA=772]="DST_ALPHA",e[e.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",e[e.DST_COLOR=774]="DST_COLOR",e[e.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",e[e.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e[e.CONSTANT_COLOR=32769]="CONSTANT_COLOR",e[e.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",e[e.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",e[e.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA"}(s||(s={})),function(e){e[e.ADD=32774]="ADD",e[e.SUBTRACT=32778]="SUBTRACT",e[e.REVERSE_SUBTRACT=32779]="REVERSE_SUBTRACT"}(i||(i={})),function(e){e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",e[e.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",e[e.PIXEL_PACK_BUFFER=35051]="PIXEL_PACK_BUFFER",e[e.PIXEL_UNPACK_BUFFER=35052]="PIXEL_UNPACK_BUFFER",e[e.COPY_READ_BUFFER=36662]="COPY_READ_BUFFER",e[e.COPY_WRITE_BUFFER=36663]="COPY_WRITE_BUFFER"}(a||(a={})),function(e){e[e.FRONT=1028]="FRONT",e[e.BACK=1029]="BACK",e[e.FRONT_AND_BACK=1032]="FRONT_AND_BACK"}(u||(u={})),function(e){e[e.CW=2304]="CW",e[e.CCW=2305]="CCW"}(_||(_={})),function(e){e[e.BYTE=5120]="BYTE",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.SHORT=5122]="SHORT",e[e.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",e[e.INT=5124]="INT",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.FLOAT=5126]="FLOAT"}(c||(c={})),function(e){e[e.NEVER=512]="NEVER",e[e.LESS=513]="LESS",e[e.EQUAL=514]="EQUAL",e[e.LEQUAL=515]="LEQUAL",e[e.GREATER=516]="GREATER",e[e.NOTEQUAL=517]="NOTEQUAL",e[e.GEQUAL=518]="GEQUAL",e[e.ALWAYS=519]="ALWAYS"}(E||(E={})),function(e){e[e.ZERO=0]="ZERO",e[e.KEEP=7680]="KEEP",e[e.REPLACE=7681]="REPLACE",e[e.INCR=7682]="INCR",e[e.DECR=7683]="DECR",e[e.INVERT=5386]="INVERT",e[e.INCR_WRAP=34055]="INCR_WRAP",e[e.DECR_WRAP=34056]="DECR_WRAP"}(T||(T={})),function(e){e[e.NEAREST=9728]="NEAREST",e[e.LINEAR=9729]="LINEAR",e[e.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",e[e.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",e[e.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",e[e.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR"}(f||(f={})),function(e){e[e.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",e[e.REPEAT=10497]="REPEAT",e[e.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(A||(A={})),function(e){e[e.TEXTURE_2D=3553]="TEXTURE_2D",e[e.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",e[e.TEXTURE_3D=32879]="TEXTURE_3D",e[e.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",e[e.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",e[e.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",e[e.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(R||(R={})),function(e){e[e.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",e[e.ALPHA=6406]="ALPHA",e[e.RGB=6407]="RGB",e[e.RGBA=6408]="RGBA",e[e.LUMINANCE=6409]="LUMINANCE",e[e.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",e[e.RGBA4=32854]="RGBA4",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.R16F=33325]="R16F",e[e.RG16F=33327]="RG16F",e[e.RGB32F=34837]="RGB32F",e[e.RGBA16F=34842]="RGBA16F",e[e.R32F=33326]="R32F",e[e.RG32F=33328]="RG32F",e[e.RGBA32F=34836]="RGBA32F",e[e.R11F_G11F_B10F=35898]="R11F_G11F_B10F"}(l||(l={})),function(e){e[e.FLOAT=5126]="FLOAT",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",e[e.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",e[e.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",e[e.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5"}(d||(d={})),function(e){e[e.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",e[e.STENCIL_INDEX8=36168]="STENCIL_INDEX8",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.RGBA4=32854]="RGBA4"}(N||(N={})),function(e){e[e.STATIC_DRAW=35044]="STATIC_DRAW",e[e.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",e[e.STREAM_DRAW=35040]="STREAM_DRAW",e[e.STATIC_READ=35045]="STATIC_READ",e[e.DYNAMIC_READ=35049]="DYNAMIC_READ",e[e.STREAM_READ=35041]="STREAM_READ",e[e.STATIC_COPY=35046]="STATIC_COPY",e[e.DYNAMIC_COPY=35050]="DYNAMIC_COPY",e[e.STREAM_COPY=35042]="STREAM_COPY"}(S||(S={})),function(e){e[e.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",e[e.VERTEX_SHADER=35633]="VERTEX_SHADER"}(C||(C={})),function(e){e[e.FRAMEBUFFER=36160]="FRAMEBUFFER",e[e.READ_FRAMEBUFFER=36008]="READ_FRAMEBUFFER",e[e.DRAW_FRAMEBUFFER=36009]="DRAW_FRAMEBUFFER"}(O||(O={})),function(e){e[e.TEXTURE=0]="TEXTURE",e[e.RENDER_BUFFER=1]="RENDER_BUFFER",e[e.CUBEMAP=2]="CUBEMAP"}(p||(p={})),function(e){e[e.NONE=0]="NONE",e[e.DEPTH_RENDER_BUFFER=1]="DEPTH_RENDER_BUFFER",e[e.STENCIL_RENDER_BUFFER=2]="STENCIL_RENDER_BUFFER",e[e.DEPTH_STENCIL_RENDER_BUFFER=3]="DEPTH_STENCIL_RENDER_BUFFER",e[e.DEPTH_STENCIL_TEXTURE=4]="DEPTH_STENCIL_TEXTURE"}(I||(I={})),function(e){e[e.Texture=0]="Texture",e[e.Buffer=1]="Buffer",e[e.VAO=2]="VAO",e[e.Shader=3]="Shader",e[e.Program=4]="Program",e[e.Framebuffer=5]="Framebuffer",e[e.Renderbuffer=6]="Renderbuffer",e[e.COUNT=7]="COUNT"}(h||(h={})),function(e){e[e.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",e[e.COLOR_ATTACHMENT1=36065]="COLOR_ATTACHMENT1",e[e.COLOR_ATTACHMENT2=36066]="COLOR_ATTACHMENT2",e[e.COLOR_ATTACHMENT3=36067]="COLOR_ATTACHMENT3",e[e.COLOR_ATTACHMENT4=36068]="COLOR_ATTACHMENT4",e[e.COLOR_ATTACHMENT5=36069]="COLOR_ATTACHMENT5",e[e.COLOR_ATTACHMENT6=36070]="COLOR_ATTACHMENT6",e[e.COLOR_ATTACHMENT7=36071]="COLOR_ATTACHMENT7",e[e.COLOR_ATTACHMENT8=36072]="COLOR_ATTACHMENT8",e[e.COLOR_ATTACHMENT9=36073]="COLOR_ATTACHMENT9",e[e.COLOR_ATTACHMENT10=36074]="COLOR_ATTACHMENT10",e[e.COLOR_ATTACHMENT11=36075]="COLOR_ATTACHMENT11",e[e.COLOR_ATTACHMENT12=36076]="COLOR_ATTACHMENT12",e[e.COLOR_ATTACHMENT13=36077]="COLOR_ATTACHMENT13",e[e.COLOR_ATTACHMENT14=36078]="COLOR_ATTACHMENT14",e[e.COLOR_ATTACHMENT15=36079]="COLOR_ATTACHMENT15"}(m||(m={}));const L=33306;var M,U,y,P,D,B,F;!function(e){e[e.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",e[e.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",e[e.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",e[e.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",e[e.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",e[e.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",e[e.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",e[e.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",e[e.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",e[e.COMPRESSED_SRGB8_ETC2=37493]="COMPRESSED_SRGB8_ETC2",e[e.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37494]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",e[e.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37495]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",e[e.COMPRESSED_RGBA8_ETC2_EAC=37496]="COMPRESSED_RGBA8_ETC2_EAC",e[e.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37497]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC"}(M||(M={})),function(e){e[e.FLOAT=5126]="FLOAT",e[e.FLOAT_VEC2=35664]="FLOAT_VEC2",e[e.FLOAT_VEC3=35665]="FLOAT_VEC3",e[e.FLOAT_VEC4=35666]="FLOAT_VEC4",e[e.INT=5124]="INT",e[e.INT_VEC2=35667]="INT_VEC2",e[e.INT_VEC3=35668]="INT_VEC3",e[e.INT_VEC4=35669]="INT_VEC4",e[e.BOOL=35670]="BOOL",e[e.BOOL_VEC2=35671]="BOOL_VEC2",e[e.BOOL_VEC3=35672]="BOOL_VEC3",e[e.BOOL_VEC4=35673]="BOOL_VEC4",e[e.FLOAT_MAT2=35674]="FLOAT_MAT2",e[e.FLOAT_MAT3=35675]="FLOAT_MAT3",e[e.FLOAT_MAT4=35676]="FLOAT_MAT4",e[e.SAMPLER_2D=35678]="SAMPLER_2D",e[e.SAMPLER_CUBE=35680]="SAMPLER_CUBE",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.UNSIGNED_INT_VEC2=36294]="UNSIGNED_INT_VEC2",e[e.UNSIGNED_INT_VEC3=36295]="UNSIGNED_INT_VEC3",e[e.UNSIGNED_INT_VEC4=36296]="UNSIGNED_INT_VEC4",e[e.FLOAT_MAT2x3=35685]="FLOAT_MAT2x3",e[e.FLOAT_MAT2x4=35686]="FLOAT_MAT2x4",e[e.FLOAT_MAT3x2=35687]="FLOAT_MAT3x2",e[e.FLOAT_MAT3x4=35688]="FLOAT_MAT3x4",e[e.FLOAT_MAT4x2=35689]="FLOAT_MAT4x2",e[e.FLOAT_MAT4x3=35690]="FLOAT_MAT4x3",e[e.SAMPLER_3D=35679]="SAMPLER_3D",e[e.SAMPLER_2D_SHADOW=35682]="SAMPLER_2D_SHADOW",e[e.SAMPLER_2D_ARRAY=36289]="SAMPLER_2D_ARRAY",e[e.SAMPLER_2D_ARRAY_SHADOW=36292]="SAMPLER_2D_ARRAY_SHADOW",e[e.SAMPLER_CUBE_SHADOW=36293]="SAMPLER_CUBE_SHADOW",e[e.INT_SAMPLER_2D=36298]="INT_SAMPLER_2D",e[e.INT_SAMPLER_3D=36299]="INT_SAMPLER_3D",e[e.INT_SAMPLER_CUBE=36300]="INT_SAMPLER_CUBE",e[e.INT_SAMPLER_2D_ARRAY=36303]="INT_SAMPLER_2D_ARRAY",e[e.UNSIGNED_INT_SAMPLER_2D=36306]="UNSIGNED_INT_SAMPLER_2D",e[e.UNSIGNED_INT_SAMPLER_3D=36307]="UNSIGNED_INT_SAMPLER_3D",e[e.UNSIGNED_INT_SAMPLER_CUBE=36308]="UNSIGNED_INT_SAMPLER_CUBE",e[e.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311]="UNSIGNED_INT_SAMPLER_2D_ARRAY"}(U||(U={})),function(e){e[e.OBJECT_TYPE=37138]="OBJECT_TYPE",e[e.SYNC_CONDITION=37139]="SYNC_CONDITION",e[e.SYNC_STATUS=37140]="SYNC_STATUS",e[e.SYNC_FLAGS=37141]="SYNC_FLAGS"}(y||(y={})),function(e){e[e.UNSIGNALED=37144]="UNSIGNALED",e[e.SIGNALED=37145]="SIGNALED"}(P||(P={})),function(e){e[e.ALREADY_SIGNALED=37146]="ALREADY_SIGNALED",e[e.TIMEOUT_EXPIRED=37147]="TIMEOUT_EXPIRED",e[e.CONDITION_SATISFIED=37148]="CONDITION_SATISFIED",e[e.WAIT_FAILED=37149]="WAIT_FAILED"}(D||(D={})),function(e){e[e.SYNC_GPU_COMMANDS_COMPLETE=37143]="SYNC_GPU_COMMANDS_COMPLETE"}(B||(B={})),function(e){e[e.SYNC_FLUSH_COMMANDS_BIT=1]="SYNC_FLUSH_COMMANDS_BIT"}(F||(F={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6841],{36030:(e,t,n)=>{n.d(t,{J:()=>a});var i=n(35454),l=n(5600);function a(e,t={}){var n;const a=e instanceof i.Xn?e:new i.Xn(e,t),r={type:null==(n=null==t?void 0:t.ignoreUnknown)||n?a.apiValues:String,json:{type:a.jsonValues,read:(null==t||!t.readOnly)&&{reader:a.read},write:{writer:a.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(r.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(r.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(r.json.name=t.name),(0,l.Cb)(r)}},66577:(e,t,n)=>{n.d(t,{qM:()=>c});var i=n(75215),l=n(6570),a=n(9361),r=n(65091),o=n(13473),s=n(17332),u=n(58901);n(82971),n(86973),n(33955);const c={base:a.Z,key:"type",typeMap:{extent:l.Z,multipoint:r.Z,point:o.Z,polyline:u.Z,polygon:s.Z}};(0,i.N7)(c)},33955:(e,t,n)=>{n.d(t,{im:()=>y,q9:()=>b,Ji:()=>h,YX:()=>c,aW:()=>d,wp:()=>m,oU:()=>p,l9:()=>f});var i=n(70586),l=n(6570),a=n(9361),r=n(65091),o=n(13473),s=n(17332),u=n(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function d(e){return void 0!==e.points}function m(e){return void 0!==e.x&&void 0!==e.y}function f(e){return void 0!==e.paths}function p(e){return void 0!==e.rings}function y(e){return(0,i.Wi)(e)?null:e instanceof a.Z?e:m(e)?o.Z.fromJSON(e):f(e)?u.Z.fromJSON(e):p(e)?s.Z.fromJSON(e):d(e)?r.Z.fromJSON(e):c(e)?l.Z.fromJSON(e):null}function h(e){return e?m(e)?"esriGeometryPoint":f(e)?"esriGeometryPolyline":p(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":d(e)?"esriGeometryMultipoint":null:null}const v={esriGeometryPoint:o.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:s.Z,esriGeometryEnvelope:l.Z,esriGeometryMultipoint:r.Z};function b(e){return e&&v[e]||null}},86973:(e,t,n)=>{n.d(t,{Mk:()=>l,P$:()=>a});var i=n(35454);const l=(0,i.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),a=(0,i.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},35671:(e,t,n)=>{n.d(t,{io:()=>v,AB:()=>h,gd:()=>y,Mu:()=>F,Q0:()=>p,YN:()=>c,UF:()=>m,O5:()=>b,os:()=>V,H7:()=>N,qN:()=>M,Pz:()=>P,Qc:()=>O,vP:()=>U});var i,l,a=n(20102),r=n(78286);(l=i||(i={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",l.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var o=n(59266);const s=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],u=["field","normalizationField"];function c(e,t){if(null!=e&&null!=t)for(const n of Array.isArray(e)?e:[e])if(d(s,n,t),"visualVariables"in n&&n.visualVariables)for(const e of n.visualVariables)d(u,e,t)}function d(e,t,n){if(e)for(const i of e){const e=(0,r.hS)(i,t),l=e&&"function"!=typeof e&&n.get(e);l&&(0,r.RB)(i,l.name,t)}}function m(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const n=t.get(e.startField),i=t.get(e.endField);e.startField=n&&n.name||null,e.endField=i&&i.name||null}else{const n=t.get(e.startTimeField),i=t.get(e.endTimeField);e.startTimeField=n&&n.name||null,e.endTimeField=i&&i.name||null}}const f=new Set;function p(e,t){return e&&t?(f.clear(),y(f,e,t),Array.from(f).sort()):[]}function y(e,t,n){var i;if(n)if(null!=t&&null!=(i=t.fields)&&i.length)if(n.includes("*"))for(const{name:n}of t.fields)e.add(n);else for(const i of n)h(e,t,i);else{if(n.includes("*"))return e.clear(),void e.add("*");for(const t of n)e.add(t)}}function h(e,t,n){if("string"==typeof n)if(t){const i=t.get(n);i&&e.add(i.name)}else e.add(n)}async function v(e,t,n){var i;if(!n)return;const{arcadeUtils:l}=await(0,o.LC)(),a=l.extractFieldNames(n,null==t||null==(i=t.fields)?void 0:i.map((e=>e.name)));for(const n of a)h(e,t,n)}function b({displayField:e,fields:t}){return e||(t&&t.length?g(t,"name-or-title")||g(t,"unique-identifier")||g(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function g(e,t){for(const n of e)if(n&&n.valueType&&n.valueType===t)return n.name;return null}async function F(e,t){const{labelingInfo:i,fieldsIndex:l}=t;i&&i.length&&await Promise.all(i.map((t=>async function(e,t,i){if(!i)return;const l=i.getLabelExpression(),r=i.where;if("arcade"===l.type)await v(e,t,l.expression);else{const n=l.expression.match(/{[^}]*}/g);n&&n.forEach((n=>{h(e,t,n.slice(1,-1))}))}await async function(e,t,i){if(i&&"1=1"!==i){const l=(await Promise.all([n.e(1534),n.e(5732)]).then(n.bind(n,41534))).WhereClause.create(i,t);if(!l.isStandardized)throw new a.Z("fieldUtils:collectFilterFields","Where clause is not standardized");y(e,t,l.fieldNames)}}(e,t,r)}(e,l,t))))}function V(e){const t=e.defaultValue;return void 0!==t&&z(e,t)?t:e.nullable?null:void 0}function T(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function x(e){return null===e||T(e)}const w="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function S(e){return null===e||w(e)}function _(e){return null!=e&&"string"==typeof e}function I(e){return null===e||_(e)}function C(){return!0}function z(e,t){let n;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":n=e.nullable?S:w;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":n=e.nullable?x:T;break;case"string":case"esriFieldTypeString":n=e.nullable?I:_;break;default:n=C}return 1===arguments.length?n:n(t)}const D=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function N(e){return null!=e&&D.has(e.type)}function M(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var E,k;function P(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function O(e,t){return e.nullable&&null===t?null:N(e)&&!function(e,t){const n="string"==typeof e?A(e):e;return!!n&&(n.isInteger?w(t)&&t>=n.min&&t<=n.max:t>=n.min&&t<=n.max)}(e.type,Number(t))?E.OUT_OF_RANGE:z(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const n="range"in e?e.range[0]:e.minValue,l="range"in e?e.range[1]:e.maxValue;if(+t<n||+t>l)return i.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return i.INVALID_CODED_VALUE}return null}(e.domain,t):null:k.INVALID_TYPE}function A(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return G;case"esriFieldTypeInteger":case"integer":return Z;case"esriFieldTypeSingle":case"single":return L;case"esriFieldTypeDouble":case"double":return q}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(E||(E={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(k||(k={}));const G={min:-32768,max:32767,isInteger:!0},Z={min:-2147483648,max:2147483647,isInteger:!0},L={min:-34e37,max:12e37,isInteger:!1},q={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function U(e,t,n){switch(e){case i.INVALID_CODED_VALUE:return`Value ${n} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case i.VALUE_OUT_OF_RANGE:return`Value ${n} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case k.INVALID_TYPE:return`Value ${n} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case E.OUT_OF_RANGE:{const{min:e,max:i}=A(t.type);return`Value ${n} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${i}`}}}},98046:(e,t,n)=>{n.d(t,{Z:()=>f});var i,l=n(43697),a=n(22303),r=n(22974),o=n(5600),s=n(75215),u=n(36030),c=n(52011),d=n(899);let m=i=class extends d.Z{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new i({fromColor:(0,r.d9)(this.fromColor),toColor:(0,r.d9)(this.toColor),algorithm:this.algorithm})}};(0,l._)([(0,u.J)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],m.prototype,"algorithm",void 0),(0,l._)([(0,o.Cb)({type:a.Z,json:{type:[s.z8],write:!0}})],m.prototype,"fromColor",void 0),(0,l._)([(0,o.Cb)({type:a.Z,json:{type:[s.z8],write:!0}})],m.prototype,"toColor",void 0),(0,l._)([(0,o.Cb)({type:["algorithmic"]})],m.prototype,"type",void 0),m=i=(0,l._)([(0,c.j)("esri.rest.support.AlgorithmicColorRamp")],m);const f=m},57316:(e,t,n)=>{n.d(t,{Z:()=>h});var i=n(43697),l=n(35454),a=n(5600),r=(n(67676),n(80442),n(75215),n(52011)),o=n(96674),s=n(94593),u=n(89164);const c=new l.Xn({classBreaksDef:"class-breaks-definition",uniqueValueDef:"unique-value-definition"});let d=class extends o.wq{constructor(){super(...arguments),this.baseSymbol=null,this.colorRamp=null,this.type=null}};(0,i._)([(0,a.Cb)({type:u.Z,json:{write:!0}})],d.prototype,"baseSymbol",void 0),(0,i._)([(0,a.Cb)({types:s.V,json:{read:{reader:s.i},write:!0}})],d.prototype,"colorRamp",void 0),(0,i._)([(0,a.Cb)({json:{read:c.read,write:c.write}})],d.prototype,"type",void 0),d=(0,i._)([(0,r.j)("esri.rest.support.ClassificationDefinition")],d);const m=d,f=new l.Xn({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),p=new l.Xn({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let y=class extends m{constructor(){super(...arguments),this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null,this.type="class-breaks-definition"}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i._)([(0,a.Cb)({json:{write:!0}})],y.prototype,"breakCount",void 0),(0,i._)([(0,a.Cb)({json:{write:!0}})],y.prototype,"classificationField",void 0),(0,i._)([(0,a.Cb)({type:String,json:{read:f.read,write:f.write}})],y.prototype,"classificationMethod",void 0),(0,i._)([(0,a.Cb)({json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,i._)([(0,a.Cb)({json:{read:p.read,write:p.write}})],y.prototype,"normalizationType",void 0),(0,i._)([(0,a.Cb)({value:null,json:{write:!0}})],y.prototype,"standardDeviationInterval",null),(0,i._)([(0,a.Cb)({value:null,json:{write:!0}})],y.prototype,"definedInterval",null),(0,i._)([(0,a.Cb)()],y.prototype,"type",void 0),y=(0,i._)([(0,r.j)("esri.rest.support.ClassBreaksDefinition")],y);const h=y},899:(e,t,n)=>{n.d(t,{Z:()=>s});var i=n(43697),l=n(96674),a=n(5600),r=(n(67676),n(80442),n(75215),n(52011));let o=class extends l.wq{constructor(e){super(e),this.type=null}};(0,i._)([(0,a.Cb)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,i._)([(0,r.j)("esri.rest.support.ColorRamp")],o);const s=o},1515:(e,t,n)=>{n.d(t,{Z:()=>d});var i,l=n(43697),a=n(22974),r=n(5600),o=(n(75215),n(52011)),s=n(98046),u=n(899);let c=i=class extends u.Z{constructor(e){super(e),this.colorRamps=null,this.type="multipart"}clone(){return new i({colorRamps:(0,a.d9)(this.colorRamps)})}};(0,l._)([(0,r.Cb)({type:[s.Z],json:{write:!0}})],c.prototype,"colorRamps",void 0),(0,l._)([(0,r.Cb)({type:["multipart"]})],c.prototype,"type",void 0),c=i=(0,l._)([(0,o.j)("esri.rest.support.MultipartColorRamp")],c);const d=c},94593:(e,t,n)=>{n.d(t,{i:()=>o,V:()=>r});var i=n(98046),l=n(899),a=n(1515);const r={key:"type",base:l.Z,typeMap:{algorithmic:i.Z,multipart:a.Z}};function o(e){return e&&e.type?"algorithmic"===e.type?i.Z.fromJSON(e):"multipart"===e.type?a.Z.fromJSON(e):null:null}},36841:(e,t,n)=>{n.r(t),n.d(t,{classBreaks:()=>c,histogram:()=>d,summaryStatistics:()=>s,uniqueValues:()=>u}),n(20102);var i=n(82971),l=(n(35671),n(8418)),a=n(59266);let r=null;async function o(e,t){if(!t)return[];const n=e.field,o=e.valueExpression,s=e.normalizationType,u=e.normalizationField,c=e.normalizationTotal,d=[],m=e.viewInfoParams;let f=null,p=null;if(o){if(!r){const{arcadeUtils:e}=await(0,a.LC)();r=e}f=r.createFunction(o),p=m&&r.getViewInfo({viewingMode:m.viewingMode,scale:m.scale,spatialReference:new i.Z(m.spatialReference)})}return t.forEach((e=>{const t=e.attributes;let i;if(o){const t=r.createExecContext(e,p);i=r.executeFunction(f,t)}else t&&(i=t[n]);if(s&&isFinite(i)){const e=t&&parseFloat(t[u]);i=(0,l.fk)(i,s,e,c)}d.push(i)})),d}async function s(e){const{attribute:t,features:n}=e,{normalizationType:i,normalizationField:a,minValue:r,maxValue:s,fieldType:u}=t,c=await o({field:t.field,valueExpression:t.valueExpression,normalizationType:i,normalizationField:a,normalizationTotal:t.normalizationTotal,viewInfoParams:t.viewInfoParams},n),d=(0,l.S5)({normalizationType:i,normalizationField:a,minValue:r,maxValue:s}),m={value:.5,fieldType:u},f="esriFieldTypeString"===u?(0,l.H0)({values:c,supportsNullCount:d,percentileParams:m}):(0,l.i5)({values:c,minValue:r,maxValue:s,useSampleStdDev:!i,supportsNullCount:d,percentileParams:m});return(0,l.F_)(f,"esriFieldTypeDate"===u)}async function u(e){const{attribute:t,features:n}=e,i=await o({field:t.field,valueExpression:t.valueExpression,viewInfoParams:t.viewInfoParams},n),a=(0,l.eT)(i);return(0,l.Qm)(a,t.domain,t.returnAllCodedValues)}async function c(e){const{attribute:t,features:n}=e,{field:i,normalizationType:a,normalizationField:r,normalizationTotal:s,classificationMethod:u}=t,c=await o({field:i,valueExpression:t.valueExpression,normalizationType:a,normalizationField:r,normalizationTotal:s,viewInfoParams:t.viewInfoParams},n),d=(0,l.G2)(c,{field:i,normalizationType:a,normalizationField:r,normalizationTotal:s,classificationMethod:u,standardDeviationInterval:t.standardDeviationInterval,numClasses:t.numClasses,minValue:t.minValue,maxValue:t.maxValue});return(0,l.DL)(d,u)}async function d(e){const{attribute:t,features:n}=e,{field:i,normalizationType:a,normalizationField:r,normalizationTotal:s,classificationMethod:u}=t,c=await o({field:i,valueExpression:t.valueExpression,normalizationType:a,normalizationField:r,normalizationTotal:s,viewInfoParams:t.viewInfoParams},n);return(0,l.oF)(c,{field:i,normalizationType:a,normalizationField:r,normalizationTotal:s,classificationMethod:u,standardDeviationInterval:t.standardDeviationInterval,numBins:t.numBins,minValue:t.minValue,maxValue:t.maxValue})}},8418:(e,t,n)=>{n.d(t,{G2:()=>w,oF:()=>_,XL:()=>h,i5:()=>y,H0:()=>p,eT:()=>V,Qm:()=>T,Lq:()=>v,fk:()=>x,S5:()=>f,F_:()=>F,DL:()=>S});var i=n(57316);function l(e,t){return Number(e.toFixed(t))}function a(e){const t=e.definition,{classificationMethod:n,breakCount:i,normalizationType:a,definedInterval:s}=t,u=[];let c=e.values;if(0===c.length)return[];c=c.sort(((e,t)=>e-t));const d=c[0],m=c[c.length-1];if("equal-interval"===n)if(c.length>=i){const e=(m-d)/i;let t=d;for(let n=1;n<i;n++){const i=l(d+n*e,6);u.push({minValue:t,maxValue:i,label:r(t,i,a)}),t=i}u.push({minValue:t,maxValue:m,label:r(t,m,a)})}else c.forEach((e=>{u.push({minValue:e,maxValue:e,label:r(e,e,a)})}));else if("natural-breaks"===n){const t=function(e){const t=[],n=[];let i=Number.MIN_VALUE,l=1,a=-1;for(let r=0;r<e.length;r++){const o=e[r];o===i?(l++,n[a]=l):null!==o&&(t.push(o),i=o,l=1,n.push(l),a++)}return{uniqueValues:t,valueFrequency:n}}(c),n=e.valueFrequency||t.valueFrequency,s=o(t.uniqueValues,n,i);let f=d;for(let e=1;e<i;e++)if(t.uniqueValues.length>e){const n=l(t.uniqueValues[s[e]],6);u.push({minValue:f,maxValue:n,label:r(f,n,a)}),f=n}u.push({minValue:f,maxValue:m,label:r(f,m,a)})}else if("quantile"===n)if(c.length>=i&&d!==m){let e=d,t=Math.ceil(c.length/i),n=0;for(let l=1;l<i;l++){let o=t+n-1;o>c.length&&(o=c.length-1),o<0&&(o=0),u.push({minValue:e,maxValue:c[o],label:r(e,c[o],a)}),e=c[o],n+=t,t=Math.ceil((c.length-n)/(i-l))}u.push({minValue:e,maxValue:m,label:r(e,m,a)})}else{let e=-1;for(let t=0;t<c.length;t++){const n=c[t];n!==e&&(e=n,u.push({minValue:e,maxValue:n,label:r(e,n,a)}),e=n)}}else if("standard-deviation"===n){const e=function(e){let t=0;for(let n=0;n<e.length;n++)t+=e[n];return t/=e.length,t}(c),t=function(e,t){let n=0;for(let i=0;i<e.length;i++){const l=e[i];n+=(l-t)*(l-t)}return n/=e.length,Math.sqrt(n)}(c,e);if(0===t)u.push({minValue:c[0],maxValue:c[0],label:r(c[0],c[0],a)});else{const n=function(e,t,n,i,l){let a=Math.max(i-e,t-i)/l/n;return a=a>=1?1:a>=.5?.5:.25,a}(d,m,i,e,t)*t;let o=0,s=d;for(let t=i;t>=1;t--){const i=l(e-(t-.5)*n,6);u.push({minValue:s,maxValue:i,label:r(s,i,a)}),s=i,o++}let c=l(e+.5*n,6);u.push({minValue:s,maxValue:c,label:r(s,c,a)}),s=c,o++;for(let t=1;t<=i;t++)c=o===2*i?m:l(e+(t+.5)*n,6),u.push({minValue:s,maxValue:c,label:r(s,c,a)}),s=c,o++}}else if("defined-interval"===n){if(!s)return u;const e=c[0],t=c[c.length-1],n=Math.ceil((t-e)/s);let i=e;for(let t=1;t<n;t++){const n=l(e+t*s,6);u.push({minValue:i,maxValue:n,label:r(i,n,a)}),i=n}u.push({minValue:i,maxValue:t,label:r(i,t,a)})}return u}function r(e,t,n){let i=null;return i=e===t?n&&"percent-of-total"===n?e+"%":e.toString():n&&"percent-of-total"===n?e+"% - "+t+"%":e+" - "+t,i}function o(e,t,n){const i=e.length,l=[];n>i&&(n=i);for(let e=0;e<n;e++)l.push(Math.round(e*i/n-1));l.push(i-1);let a=s(l,e,t,n);return function(e,t,n,i,l,a){let r=0,o=0,s=0,c=0,d=!0;for(let m=0;m<2&&d;m++){0===m&&(d=!1);for(let m=0;m<a-1;m++)for(;n[m+1]+1!==n[m+2];){n[m+1]=n[m+1]+1;const a=u(m,n,i,l);s=a.sbMean,r=a.sbSdcm;const f=u(m+1,n,i,l);if(c=f.sbMean,o=f.sbSdcm,!(r+o<t[m]+t[m+1])){n[m+1]=n[m+1]-1;break}t[m]=r,t[m+1]=o,e[m]=s,e[m+1]=c,d=!0}for(let m=a-1;m>0;m--)for(;n[m]!==n[m-1]+1;){n[m]=n[m]-1;const a=u(m-1,n,i,l);s=a.sbMean,r=a.sbSdcm;const f=u(m,n,i,l);if(c=f.sbMean,o=f.sbSdcm,!(r+o<t[m-1]+t[m])){n[m]=n[m]+1;break}t[m-1]=r,t[m]=o,e[m-1]=s,e[m]=c,d=!0}}return d}(a.mean,a.sdcm,l,e,t,n)&&(a=s(l,e,t,n)),l}function s(e,t,n,i){let l=[],a=[],r=[],o=0;const s=[],c=[];for(let l=0;l<i;l++){const i=u(l,e,t,n);s.push(i.sbMean),c.push(i.sbSdcm),o+=c[l]}let d,m=o,f=!0;for(;f||o<m;){f=!1,l=[];for(let t=0;t<i;t++)l.push(e[t]);for(let n=0;n<i;n++)for(let l=e[n]+1;l<=e[n+1];l++)if(d=t[l],n>0&&l!==e[n+1]&&Math.abs(d-s[n])>Math.abs(d-s[n-1]))e[n]=l;else if(n<i-1&&e[n]!==l-1&&Math.abs(d-s[n])>Math.abs(d-s[n+1])){e[n+1]=l-1;break}m=o,o=0,a=[],r=[];for(let l=0;l<i;l++){a.push(s[l]),r.push(c[l]);const i=u(l,e,t,n);s[l]=i.sbMean,c[l]=i.sbSdcm,o+=c[l]}}if(o>m){for(let t=0;t<i;t++)e[t]=l[t],s[t]=a[t],c[t]=r[t];o=m}return{mean:s,sdcm:c}}function u(e,t,n,i){let l=0,a=0;for(let r=t[e]+1;r<=t[e+1];r++){const e=i[r];l+=n[r]*e,a+=e}a<=0&&console.log("Exception in Natural Breaks calculation");const r=l/a;let o=0;for(let l=t[e]+1;l<=t[e+1];l++)o+=i[l]*(n[l]-r)**2;return{sbMean:r,sbSdcm:o}}const c=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,d=new Set(["esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]),m=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function f(e){const t=null!=e.normalizationField||null!=e.normalizationType,n=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!n&&!i}function p(e){const t=e.returnDistinct?[...new Set(e.values)]:e.values,n=t.filter((e=>null!=e)).length,i={count:n};return e.supportsNullCount&&(i.nullcount=t.length-n),e.percentileParams&&(i.median=h(t,e.percentileParams)),i}function y(e){const{values:t,useSampleStdDev:n,supportsNullCount:i}=e;let l=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,r=null,o=null,s=null,u=null,c=0;const d=null==e.minValue?-1/0:e.minValue,m=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=d&&e<=m&&(r+=e,l=Math.min(l,e),a=Math.max(a,e),c++):"string"==typeof e&&c++;if(c&&null!=r){o=r/c;let e=0;for(const n of t)Number.isFinite(n)&&n>=d&&n<=m&&(e+=(n-o)**2);u=n?c>1?e/(c-1):0:c>0?e/c:0,s=Math.sqrt(u)}else l=null,a=null;const f={avg:o,count:c,max:a,min:l,stddev:s,sum:r,variance:u};return i&&(f.nullcount=t.length-c),e.percentileParams&&(f.median=h(t,e.percentileParams)),f}function h(e,t){const{fieldType:n,value:i,orderBy:l,isDiscrete:a}=t,r=v(n,"desc"===l);if(0===(e=[...e].filter((e=>null!=e)).sort(((e,t)=>r(e,t)))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const o=(e.length-1)*i,s=Math.floor(o),u=s+1,c=o%1,d=e[s],m=e[u];return u>=e.length||a||"string"==typeof d||"string"==typeof m?d:d*(1-c)+m*c}function v(e,t){const n=t?1:-1,i=function(e){return e?(e,t)=>t-e:(e,t)=>e-t}(t),l=b(t);if(!e||!["esriFieldTypeDate","esriFieldTypeString","esriFieldTypeGUID","esriFieldTypeGlobalID",...d].includes(e))return(e,t)=>"number"==typeof e&&"number"==typeof t?i(e,t):"string"==typeof e&&"string"==typeof t?l(e,t):n;if("esriFieldTypeDate"===e)return(e,t)=>{const l=new Date(e).getTime(),a=new Date(t).getTime();return isNaN(l)||isNaN(a)?n:i(l,a)};if(d.has(e))return(e,t)=>i(e,t);if("esriFieldTypeString"===e)return(e,t)=>l(e,t);if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e){const e=b(t);return(t,n)=>e(g(t),g(n))}return t?(e,t)=>1:(e,t)=>-1}function b(e){return e?(e,t)=>(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0:(e,t)=>(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function g(e){return e.substr(24,12)+e.substr(19,4)+e.substr(16,2)+e.substr(14,2)+e.substr(11,2)+e.substr(9,2)+e.substr(6,2)+e.substr(4,2)+e.substr(2,2)+e.substr(0,2)}function F(e,t){let n;for(n in e)m.indexOf(n)>-1&&(Number.isFinite(e[n])||(e[n]=null));return t?(["avg","stddev","variance"].forEach((t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]))})),e):e}function V(e){const t={};for(let n of e)(null==n||"string"==typeof n&&""===n.trim())&&(n=null),null==t[n]?t[n]={count:1,data:n}:t[n].count++;return{count:t}}function T(e,t,n){const i=e.count,l=[];n&&t&&"coded-value"===t.type&&t.codedValues.forEach((e=>{const t=e.code;i.hasOwnProperty(t)||(i[t]={data:t,count:0})}));for(const e in i){const t=i[e];l.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:l}}function x(e,t,n,i){let l=null;switch(t){case"log":0!==e&&(l=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(l=e/i*100);break;case"field":Number.isFinite(n)&&0!==n&&(l=e/n);break;case"natural-log":e>0&&(l=Math.log(e));break;case"square-root":e>0&&(l=e**.5)}return l}function w(e,t){const n=function(e){const t=e.field,n=e.classificationMethod||"equal-interval",l=e.normalizationType,a=e.normalizationField,r=new i.Z;return r.classificationField=t,r.breakCount=e.breakCount,r.classificationMethod=n,r.standardDeviationInterval="standard-deviation"===n?e.standardDeviationInterval||1:void 0,r.normalizationType=l,r.normalizationField="field"===l?a:void 0,r}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,breakCount:t.numClasses||5});return e=function(e,t,n){return t=null==t?-1/0:t,n=null==n?1/0:n,e.filter((e=>Number.isFinite(e)&&e>=t&&e<=n))}(e,t.minValue,t.maxValue),function(e){const{normalizationTotal:t}=e;return{classBreaks:a(e),normalizationTotal:t}}({definition:n,values:e,normalizationTotal:t.normalizationTotal})}function S(e,t){let n=e.classBreaks;const i=n.length,l=n[0].minValue,a=n[i-1].maxValue,r="standard-deviation"===t,o=c;return n=n.map((e=>{const t=e.label,n={minValue:e.minValue,maxValue:e.maxValue,label:t};if(r&&t){const e=t.match(o).map((e=>+e.trim()));2===e.length?(n.minStdDev=e[0],n.maxStdDev=e[1],e[0]<0&&e[1]>0&&(n.hasAvg=!0)):1===e.length&&(t.includes("<")?(n.minStdDev=null,n.maxStdDev=e[0]):t.includes(">")&&(n.minStdDev=e[0],n.maxStdDev=null))}return n})),{minValue:l,maxValue:a,classBreakInfos:n,normalizationTotal:e.normalizationTotal}}function _(e,t){const{min:n,max:i,intervals:l}=function(e,t){const{field:n,classificationMethod:i,standardDeviationInterval:l,normalizationType:a,normalizationField:r,normalizationTotal:o,minValue:s,maxValue:u}=t,c=t.numBins||10;let d=null,m=null,p=null;if(i&&"equal-interval"!==i||a){const{classBreaks:t}=w(e,{field:n,normalizationType:a,normalizationField:r,normalizationTotal:o,classificationMethod:i,standardDeviationInterval:l,minValue:s,maxValue:u,numClasses:c});d=t[0].minValue,m=t[t.length-1].maxValue,p=t.map((e=>[e.minValue,e.maxValue]))}else{if(null!=s&&null!=u)d=s,m=u;else{const t=y({values:e,minValue:s,maxValue:u,useSampleStdDev:!a,supportsNullCount:f({normalizationType:a,normalizationField:r,minValue:s,maxValue:u})});d=t.min,m=t.max}p=function(e,t,n){const i=(t-e)/n,l=[];let a,r=e;for(let e=1;e<=n;e++)a=r+i,a=Number(a.toFixed(16)),l.push([r,e===n?t:a]),r=a;return l}(d,m,c)}return{min:d,max:m,intervals:p}}(e,t),a=l.map(((e,t)=>({minValue:l[t][0],maxValue:l[t][1],count:0})));for(const t of e)if(null!=t&&t>=n&&t<=i){const e=I(l,t);e>-1&&a[e].count++}return{bins:a,minValue:n,maxValue:i,normalizationTotal:t.normalizationTotal}}function I(e,t){let n=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){n=i;break}return n}},59266:(e,t,n)=>{n.d(t,{mz:()=>c,pp:()=>u,WW:()=>o,Yi:()=>s,LC:()=>r}),n(66577);var i=n(70586),l=n(82971);let a;function r(){return a||(a=(async()=>{const e=await Promise.all([n.e(9490),n.e(6690)]).then(n.bind(n,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),a}const o=(e,t,n)=>c.create(e,t,n,null,["$feature"]),s=(e,t,n)=>c.create(e,t,n,null,["$feature","$view"]),u=(e,t,n,i)=>c.create(e,t,n,i,["$feature","$view"]);class c{constructor(e,t,n,i,l,a,r,o){this.script=e,this.evaluate=l;const s=Array.isArray(r)?r:r.fields;this.fields=s,this._syntaxTree=i,this._arcade=t,this._arcadeDictionary=n,this._arcadeFeature=a,this._spatialReference=o,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,n,a,o,s){const{arcade:u,Feature:d,Dictionary:m}=await r(),f=l.Z.fromJSON(t),p=u.parseScript(e,s),y=o.reduce(((e,t)=>({...e,[t]:null})),{});let h=null;(0,i.pC)(a)&&(h=new m(a),h.immutable=!0,y.$config=null);const v=u.scriptUsesGeometryEngine(p)&&u.enableGeometrySupport(),b=u.scriptUsesFeatureSet(p)&&u.enableFeatureSetSupport(),g=u.scriptIsAsync(p)&&u.enableAsyncSupport(),F={vars:y,spatialReference:f,useAsync:!!g},V=new m;V.immutable=!1,V.setField("scale",0);const T=u.compileScript(p,F);return await Promise.all([v,b,g]),new c(e,u,m,p,(e=>("$view"in e&&e.$view&&(V.setField("scale",e.$view.scale),e.$view=V),h&&(e.$config=h),T({vars:e,spatialReference:f}))),new d,n,f)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}},89164:(e,t,n)=>{n.d(t,{Z:()=>f});var i=n(43697),l=n(22303),a=n(35454),r=n(96674),o=n(5600),s=(n(67676),n(80442),n(75215),n(71715)),u=n(52011);const c=new a.Xn({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let d=0,m=class extends r.wq{constructor(e){super(e),this.id="sym"+d++,this.type=null,this.color=new l.Z([0,0,0,1])}readColor(e){return e&&null!=e[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,i._)([(0,o.Cb)({type:c.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:c.write}}})],m.prototype,"type",void 0),(0,i._)([(0,o.Cb)({type:l.Z,json:{write:{allowNull:!0}}})],m.prototype,"color",void 0),(0,i._)([(0,s.r)("color")],m.prototype,"readColor",null),m=(0,i._)([(0,u.j)("esri.symbols.Symbol")],m);const f=m}}]);