@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
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6348,5732],{5732:(e,t,i)=>{i.d(t,{a:()=>s,c:()=>r,g:()=>n});var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}},66577:(e,t,i)=>{i.d(t,{qM:()=>u});var r=i(75215),n=i(6570),s=i(9361),o=i(65091),l=i(13473),a=i(17332),d=i(58901);i(82971),i(86973),i(33955);const u={base:s.Z,key:"type",typeMap:{extent:n.Z,multipoint:o.Z,point:l.Z,polyline:d.Z,polygon:a.Z}};(0,r.N7)(u)},60437:(e,t,i)=>{i.d(t,{Gv:()=>p,Ue:()=>n,cS:()=>h,fS:()=>y,TC:()=>o,pp:()=>l,JR:()=>f,al:()=>s,t8:()=>c,Tn:()=>u,op:()=>d,dp:()=>a});var r=i(70586);function n(e=g){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,i,r,s,o,l=n()){return l[0]=e,l[1]=t,l[2]=i,l[3]=r,l[4]=s,l[5]=o,l}function o(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function a(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function u(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function c(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function h(e){return e?c(e,p):n(p)}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function m(e){return 6===e.length}function y(e,t,i){if((0,r.Wi)(e)||(0,r.Wi)(t))return e===t;if(!m(e)||!m(t))return!1;if(i){for(let r=0;r<e.length;r++)if(!i(e[r],t[r]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}i(6570),i(24470);const p=[1/0,1/0,1/0,-1/0,-1/0,-1/0],g=[0,0,0,0,0,0];n()},33955:(e,t,i)=>{i.d(t,{im:()=>y,q9:()=>_,Ji:()=>p,YX:()=>u,aW:()=>c,wp:()=>h,oU:()=>m,l9:()=>f});var r=i(70586),n=i(6570),s=i(9361),o=i(65091),l=i(13473),a=i(17332),d=i(58901);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function c(e){return void 0!==e.points}function h(e){return void 0!==e.x&&void 0!==e.y}function f(e){return void 0!==e.paths}function m(e){return void 0!==e.rings}function y(e){return(0,r.Wi)(e)?null:e instanceof s.Z?e:h(e)?l.Z.fromJSON(e):f(e)?d.Z.fromJSON(e):m(e)?a.Z.fromJSON(e):c(e)?o.Z.fromJSON(e):u(e)?n.Z.fromJSON(e):null}function p(e){return e?h(e)?"esriGeometryPoint":f(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":c(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:l.Z,esriGeometryPolyline:d.Z,esriGeometryPolygon:a.Z,esriGeometryEnvelope:n.Z,esriGeometryMultipoint:o.Z};function _(e){return e&&g[e]||null}},86973:(e,t,i)=>{i.d(t,{Mk:()=>n,P$:()=>s});var r=i(35454);const n=(0,r.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),s=(0,r.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},37549:(e,t,i)=>{i.d(t,{H:()=>o});var r=i(80442),n=i(24133);const s={minX:0,minY:0,maxX:0,maxY:0};class o{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.QB(9,(0,r.Z)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach(((i,r)=>{e[t++]=r})),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(this._boundsToLoad.filter((e=>this._idByBounds.has(e)))),this._boundsToLoad.length=0)}}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){s.minX=t[0],s.minY=t[1],s.maxX=t[2],s.maxY=t[3],e.search(s,i)}(this._index,e,(e=>t(this._idByBounds.get(e))))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},57191:(e,t,i)=>{i.d(t,{Z:()=>y});var r=i(20102),n=i(32448),s=i(92604),o=i(70586),l=i(60437),a=i(24470),d=i(98732),u=i(37549),c=i(29730),h=i(70272),f=i(5428);const m={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t)=>new h.ZP(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>(e.centroid||(e.centroid=(0,c.Y)(new f.Z,e.geometry,t.hasZ,t.hasM)),e.centroid)};class y{constructor(e){this.geometryInfo=e,this._boundsStore=new u.H,this._featuresById=new Map,this._markedIds=new Set,this.events=new n.Z,this.featureAdapter=m}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){if(!this.numFeatures)return null;const e=(0,a.Ue)(a.Gv);return this._featuresById.forEach((t=>{const i=this._boundsStore.get(t.objectId);i&&(e[0]=Math.min(i[0],e[0]),e[1]=Math.min(i[1],e[1]),e[2]=Math.max(i[2],e[2]),e[3]=Math.max(i[3],e[3]))})),e}get storeStatistics(){let e=0;return this._featuresById.forEach((t=>{(0,o.pC)(t.geometry)&&t.geometry.coords&&(e+=t.geometry.coords.length)})),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged()}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t,i){for(const r of e){const e=this._boundsStore.get(r.objectId);e&&t((0,l.JR)(i,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach((t=>e(t)))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,(e=>{t(this._featuresById.get(e))}))}startMarkingUsedFeatures(){this._boundsStore.invalidateIndex(),this._markedIds.clear()}sweep(){let e=!1;this._featuresById.forEach(((t,i)=>{this._markedIds.has(i)||(e=!0,this._remove(t))})),this._markedIds.clear(),e&&this._emitChanged()}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void s.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.Z("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let n;if(this._markedIds.add(t),i?(e.displayId=i.displayId,n=this._boundsStore.get(t),this._boundsStore.delete(t)):(0,o.pC)(this.onFeatureAdd)&&this.onFeatureAdd(e),(0,o.Wi)(e.geometry)||!e.geometry.coords||!e.geometry.coords.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);n=(0,d.$)((0,o.pC)(n)?n:(0,a.Ue)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),(0,o.pC)(n)&&this._boundsStore.set(t,n),this._featuresById.set(t,e)}_remove(e){return(0,o.pC)(this.onFeatureRemove)&&this.onFeatureRemove(e),this._markedIds.delete(e.objectId),this._boundsStore.delete(e.objectId),this._featuresById.delete(e.objectId),e}}},23095:(e,t,i)=>{i.d(t,{av:()=>l,d1:()=>d,b:()=>y,O0:()=>c,og:()=>m});var r=i(8744),n=i(35671);class s{constructor(){this.code=null,this.description=null}}class o{constructor(e){this.error=new s,this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error.description=e}}function l(e){return new o(e)}class a{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new a(e)}const u=new Set;function c(e,t,i,r=!1,s){u.clear();for(const o in i){const a=e.get(o);if(!a)continue;const d=i[o],c=h(a,d);if(c!==d&&s&&s.push({name:"invalid-value-type",message:"attribute value was converted to match the field type",details:{field:a,originalValue:d,sanitizedValue:c}}),u.add(a.name),a&&(r||a.editable)){const e=(0,n.Qc)(a,c);if(e)return l((0,n.vP)(e,a,c));t[a.name]=c}}for(const t of e.requiredFields)if(!u.has(t.name))return l(`missing required field "${t.name}"`);return null}function h(e,t){let i=t;return"string"==typeof t&&(0,n.H7)(e)?i=parseFloat(t):null!=t&&(0,n.qN)(e)&&"string"!=typeof t&&(i=String(t)),(0,n.Pz)(i)}let f;function m(e,t){if(!e||!(0,r.JY)(t))return e;if("rings"in e||"paths"in e){if(!f)throw new TypeError("geometry engine not loaded");return f.simplify(t,e)}return e}async function y(e,t){!(0,r.JY)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return f||(f=await Promise.all([i.e(5837),i.e(247)]).then(i.bind(i,30247)),f)}()}},99514:(e,t,i)=>{i.d(t,{Z:()=>o});var r=i(35671);function n(e){return"oid"===e.type||"esriFieldTypeOID"===e.type}function s(e){return"global-id"===e.type||"esriFieldTypeGlobalID"===e.type}class o{constructor(e){if(this.fields=e,this._fieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this.dateFields=[],this.numericFields=[],this._requiredFields=null,!e)return;const t=[];for(const o of e){const e=o&&o.name;if(e){const a=l(e);this._fieldsMap.set(e,o),this._fieldsMap.set(a,o),t.push(a),"date"===(i=o).type||"esriFieldTypeDate"===i.type?(this.dateFields.push(o),this._dateFieldsSet.add(o)):(0,r.H7)(o)&&(this._numericFieldsSet.add(o),this.numericFields.push(o)),n(o)||s(o)||(o.editable=null==o.editable||!!o.editable,o.nullable=null==o.nullable||!!o.nullable)}}var i;t.sort(),this.uid=t.join(",")}destroy(){this._fieldsMap.clear()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)n(e)||s(e)||e.nullable||void 0!==(0,r.os)(e)||this._requiredFields.push(e)}return this._requiredFields}has(e){return null!=this.get(e)}get(e){return null!=e?this._fieldsMap.get(e)||this._fieldsMap.get(l(e)):void 0}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){const t=this.get(e);if(t)return t.name}}function l(e){return e.toLowerCase().trim()}},86719:(e,t,i)=>{i.d(t,{v:()=>r});const r=new(i(35454).X)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},35671:(e,t,i)=>{i.d(t,{io:()=>g,AB:()=>p,gd:()=>y,Mu:()=>I,Q0:()=>m,YN:()=>u,UF:()=>h,O5:()=>_,os:()=>v,H7:()=>Z,qN:()=>A,Pz:()=>O,Qc:()=>L,vP:()=>U});var r,n,s=i(20102),o=i(78286);(n=r||(r={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",n.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var l=i(59266);const a=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],d=["field","normalizationField"];function u(e,t){if(null!=e&&null!=t)for(const i of Array.isArray(e)?e:[e])if(c(a,i,t),"visualVariables"in i&&i.visualVariables)for(const e of i.visualVariables)c(d,e,t)}function c(e,t,i){if(e)for(const r of e){const e=(0,o.hS)(r,t),n=e&&"function"!=typeof e&&i.get(e);n&&(0,o.RB)(r,n.name,t)}}function h(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const i=t.get(e.startField),r=t.get(e.endField);e.startField=i&&i.name||null,e.endField=r&&r.name||null}else{const i=t.get(e.startTimeField),r=t.get(e.endTimeField);e.startTimeField=i&&i.name||null,e.endTimeField=r&&r.name||null}}const f=new Set;function m(e,t){return e&&t?(f.clear(),y(f,e,t),Array.from(f).sort()):[]}function y(e,t,i){var r;if(i)if(null!=t&&null!=(r=t.fields)&&r.length)if(i.includes("*"))for(const{name:i}of t.fields)e.add(i);else for(const r of i)p(e,t,r);else{if(i.includes("*"))return e.clear(),void e.add("*");for(const t of i)e.add(t)}}function p(e,t,i){if("string"==typeof i)if(t){const r=t.get(i);r&&e.add(r.name)}else e.add(i)}async function g(e,t,i){var r;if(!i)return;const{arcadeUtils:n}=await(0,l.LC)(),s=n.extractFieldNames(i,null==t||null==(r=t.fields)?void 0:r.map((e=>e.name)));for(const i of s)p(e,t,i)}function _({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 i of e)if(i&&i.valueType&&i.valueType===t)return i.name;return null}async function I(e,t){const{labelingInfo:r,fieldsIndex:n}=t;r&&r.length&&await Promise.all(r.map((t=>async function(e,t,r){if(!r)return;const n=r.getLabelExpression(),o=r.where;if("arcade"===n.type)await g(e,t,n.expression);else{const i=n.expression.match(/{[^}]*}/g);i&&i.forEach((i=>{p(e,t,i.slice(1,-1))}))}await async function(e,t,r){if(r&&"1=1"!==r){const n=(await Promise.all([i.e(1534),i.e(5732)]).then(i.bind(i,41534))).WhereClause.create(r,t);if(!n.isStandardized)throw new s.Z("fieldUtils:collectFilterFields","Where clause is not standardized");y(e,t,n.fieldNames)}}(e,t,o)}(e,n,t))))}function v(e){const t=e.defaultValue;return void 0!==t&&C(e,t)?t:e.nullable?null:void 0}function F(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function S(e){return null===e||F(e)}const w="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function T(e){return null===e||w(e)}function x(e){return null!=e&&"string"==typeof e}function M(e){return null===e||x(e)}function B(){return!0}function C(e,t){let i;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":i=e.nullable?T:w;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":i=e.nullable?S:F;break;case"string":case"esriFieldTypeString":i=e.nullable?M:x;break;default:i=B}return 1===arguments.length?i:i(t)}const N=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function Z(e){return null!=e&&N.has(e.type)}function A(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var E,G;function O(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function L(e,t){return e.nullable&&null===t?null:Z(e)&&!function(e,t){const i="string"==typeof e?D(e):e;return!!i&&(i.isInteger?w(t)&&t>=i.min&&t<=i.max:t>=i.min&&t<=i.max)}(e.type,Number(t))?E.OUT_OF_RANGE:C(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const i="range"in e?e.range[0]:e.minValue,n="range"in e?e.range[1]:e.maxValue;if(+t<i||+t>n)return r.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return r.INVALID_CODED_VALUE}return null}(e.domain,t):null:G.INVALID_TYPE}function D(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return P;case"esriFieldTypeInteger":case"integer":return V;case"esriFieldTypeSingle":case"single":return R;case"esriFieldTypeDouble":case"double":return $}}!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"}(G||(G={}));const P={min:-32768,max:32767,isInteger:!0},V={min:-2147483648,max:2147483647,isInteger:!0},R={min:-34e37,max:12e37,isInteger:!1},$={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function U(e,t,i){switch(e){case r.INVALID_CODED_VALUE:return`Value ${i} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case r.VALUE_OUT_OF_RANGE:return`Value ${i} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case G.INVALID_TYPE:return`Value ${i} 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:r}=D(t.type);return`Value ${i} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${r}`}}}},98046:(e,t,i)=>{i.d(t,{Z:()=>f});var r,n=i(43697),s=i(22303),o=i(22974),l=i(5600),a=i(75215),d=i(36030),u=i(52011),c=i(899);let h=r=class extends c.Z{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new r({fromColor:(0,o.d9)(this.fromColor),toColor:(0,o.d9)(this.toColor),algorithm:this.algorithm})}};(0,n._)([(0,d.J)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],h.prototype,"algorithm",void 0),(0,n._)([(0,l.Cb)({type:s.Z,json:{type:[a.z8],write:!0}})],h.prototype,"fromColor",void 0),(0,n._)([(0,l.Cb)({type:s.Z,json:{type:[a.z8],write:!0}})],h.prototype,"toColor",void 0),(0,n._)([(0,l.Cb)({type:["algorithmic"]})],h.prototype,"type",void 0),h=r=(0,n._)([(0,u.j)("esri.rest.support.AlgorithmicColorRamp")],h);const f=h},899:(e,t,i)=>{i.d(t,{Z:()=>a});var r=i(43697),n=i(96674),s=i(5600),o=(i(67676),i(80442),i(75215),i(52011));let l=class extends n.wq{constructor(e){super(e),this.type=null}};(0,r._)([(0,s.Cb)({readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,r._)([(0,o.j)("esri.rest.support.ColorRamp")],l);const a=l},1515:(e,t,i)=>{i.d(t,{Z:()=>c});var r,n=i(43697),s=i(22974),o=i(5600),l=(i(75215),i(52011)),a=i(98046),d=i(899);let u=r=class extends d.Z{constructor(e){super(e),this.colorRamps=null,this.type="multipart"}clone(){return new r({colorRamps:(0,s.d9)(this.colorRamps)})}};(0,n._)([(0,o.Cb)({type:[a.Z],json:{write:!0}})],u.prototype,"colorRamps",void 0),(0,n._)([(0,o.Cb)({type:["multipart"]})],u.prototype,"type",void 0),u=r=(0,n._)([(0,l.j)("esri.rest.support.MultipartColorRamp")],u);const c=u},94593:(e,t,i)=>{i.d(t,{i:()=>l,V:()=>o});var r=i(98046),n=i(899),s=i(1515);const o={key:"type",base:n.Z,typeMap:{algorithmic:r.Z,multipart:s.Z}};function l(e){return e&&e.type?"algorithmic"===e.type?r.Z.fromJSON(e):"multipart"===e.type?s.Z.fromJSON(e):null:null}},59266:(e,t,i)=>{i.d(t,{mz:()=>u,pp:()=>d,WW:()=>l,Yi:()=>a,LC:()=>o}),i(66577);var r=i(70586),n=i(82971);let s;function o(){return s||(s=(async()=>{const e=await Promise.all([i.e(9490),i.e(6690)]).then(i.bind(i,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),s}const l=(e,t,i)=>u.create(e,t,i,null,["$feature"]),a=(e,t,i)=>u.create(e,t,i,null,["$feature","$view"]),d=(e,t,i,r)=>u.create(e,t,i,r,["$feature","$view"]);class u{constructor(e,t,i,r,n,s,o,l){this.script=e,this.evaluate=n;const a=Array.isArray(o)?o:o.fields;this.fields=a,this._syntaxTree=r,this._arcade=t,this._arcadeDictionary=i,this._arcadeFeature=s,this._spatialReference=l,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,i,s,l,a){const{arcade:d,Feature:c,Dictionary:h}=await o(),f=n.Z.fromJSON(t),m=d.parseScript(e,a),y=l.reduce(((e,t)=>({...e,[t]:null})),{});let p=null;(0,r.pC)(s)&&(p=new h(s),p.immutable=!0,y.$config=null);const g=d.scriptUsesGeometryEngine(m)&&d.enableGeometrySupport(),_=d.scriptUsesFeatureSet(m)&&d.enableFeatureSetSupport(),b=d.scriptIsAsync(m)&&d.enableAsyncSupport(),I={vars:y,spatialReference:f,useAsync:!!b},v=new h;v.immutable=!1,v.setField("scale",0);const F=d.compileScript(m,I);return await Promise.all([g,_,b]),new u(e,d,h,m,(e=>("$view"in e&&e.$view&&(v.setField("scale",e.$view.scale),e.$view=v),p&&(e.$config=p),F({vars:e,spatialReference:f}))),new c,i,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,i)=>{i.d(t,{Z:()=>f});var r=i(43697),n=i(22303),s=i(35454),o=i(96674),l=i(5600),a=(i(67676),i(80442),i(75215),i(71715)),d=i(52011);const u=new s.X({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,h=class extends o.wq{constructor(e){super(e),this.id="sym"+c++,this.type=null,this.color=new n.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,r._)([(0,l.Cb)({type:u.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:u.write}}})],h.prototype,"type",void 0),(0,r._)([(0,l.Cb)({type:n.Z,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r._)([(0,a.r)("color")],h.prototype,"readColor",null),h=(0,r._)([(0,d.j)("esri.symbols.Symbol")],h);const f=h}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2398],{73506:(e,t,n)=>{n.d(t,{Qp:()=>G,P_:()=>N,ut:()=>_,Hq:()=>E,zD:()=>x,tB:()=>b,nF:()=>g,VO:()=>y,Mk:()=>c,kZ:()=>O,kr:()=>z}),n(66577);var r=n(20102),o=n(70586),i=n(67900),s=n(83305),a=n(44547),l=n(6570),f=n(13473);function c(e,t,n){return!(0,a.Up)(e,t,n)}function u(e,t,n){const o=c(e,t,n);if(o&&!(0,a.kR)())throw new r.Z("rasterprojectionhelper-project","projection engine is not loaded");return o}const p=function(e,t,n,r=0){if(1===n[0])return[0,0];let o=1,i=-1,s=1,a=-1;for(let t=0;t<e.length;t+=2)isNaN(e[t])||(o=o>e[t]?e[t]:o,i=i>e[t]?i:e[t],s=s>e[t+1]?e[t+1]:s,a=a>e[t+1]?a:e[t+1]);const{cols:l,rows:f}=t,c=(i-o)/l/n[0],u=(a-s)/f/n[1],p=2*r;let m=0,h=!1,x=[0,0];for(let t=0;t<l-3;t++){for(let n=0;n<f-3;n++){const r=t*f*2+2*n,o=(e[r]+e[r+4]+e[r+4*f]+e[r+4*f+4])/4,i=(e[r+1]+e[r+5]+e[r+4*f+1]+e[r+4*f+5])/4,s=Math.abs((o-e[r+2*f+2])/c),a=Math.abs((i-e[r+2*f+3])/u);if(s+a>m&&(m=s+a,x=[s,a]),p&&m>p){h=!0;break}}if(h)break}return x},m={3395:20037508.342789244,3410:17334193.943686873,3857:20037508.342788905,3975:17367530.445161372,4087:20037508.342789244,4088:20015108.787169147,6933:17367530.445161372,32662:20037508.342789244,53001:20015086.79602057,53002:10007543.39801029,53003:20015086.79602057,53004:20015086.79602057,53016:14152803.599503474,53017:17333573.624304302,53034:20015086.79602057,53079:20015114.352186374,53080:20015114.352186374,54001:20037508.342789244,54002:10018754.171394624,54003:20037508.342789244,54004:20037508.342789244,54016:14168658.027268292,54017:17367530.44516137,54034:20037508.342789244,54079:20037508.342789244,54080:20037508.342789244,54100:20037508.342789244,54101:20037508.342789244},h=new Map;async function x(){if((0,a.kR)())return null;await(0,a.zD)()}function y(e,t,n,r=null){if(e.spatialReference.equals(t))return e;u(e.spatialReference,t,r);const i=n.center,s=new l.Z({xmin:i.x-e.x/2,xmax:i.x+e.x/2,ymin:i.y-e.y/2,ymax:i.y+e.y/2,spatialReference:e.spatialReference}),f=(0,a.iV)(s,t,r);return(0,o.Wi)(f)?null:{x:f.xmax-f.xmin,y:f.ymax-f.ymin}}function d(e,t=.01){return(0,i.c9)(e)?t/(0,i.c9)(e):0}function g(e,t,n=null,r=!0){const i=e.spatialReference;if(i.equals(t))return e;u(i,t,n);const s=(0,a.iV)(e,t,n);if(!r||!s)return s;const l=T(i,!0),f=T(t,!0),c=d(i);return c&&(0,o.pC)(l)&&(0,o.pC)(f)&&(s.x>0&&Math.abs(e.x-l[0])<c?s.x-=f[1]-f[0]:s.x<0&&Math.abs(e.x-l[1])<c&&(s.x+=f[1]-f[0])),s}function C(e){const{inSR:t,outSR:n,datumTransformation:r,preferPE:i}=e;if(t.equals(n)){const{points:t}=M(e,null);return t}if(t.isWebMercator&&n.isWGS84||t.isWGS84&&n.isWebMercator)return function(e){const{cols:t,rows:n,xres:r,yres:o,usePixelCenter:i,inSR:s,outSR:l}=e;let{xmin:c,ymax:u}=e;i&&(c+=r/2,u-=o/2);const p=[],m=[],h=Math.max(t,n);for(let e=0;e<h;e++){const i=c+r*Math.min(t,e),h=u-o*Math.min(n,e),x=(0,a.iV)(new f.Z({x:i,y:h,spatialReference:s}),l);e<=t&&p.push(x.x),e<=n&&m.push(x.y)}const x=[];for(let e=0;e<t;e++)for(let t=0;t<n;t++)x.push([p[e],m[t]]);return x}(e);if(u(t,n,r)&&i){if(t.isGeographic)return w(e);const n=v(t);if((0,o.pC)(n))return w(e)}return function(e){const{points:t}=M(e,null),n=t.map((t=>new f.Z(t[0],t[1],e.inSR)));return(0,a.iV)(n,e.outSR,e.datumTransformation).map((e=>e?[e.x,e.y]:[NaN,NaN]))}(e)}function w(e){const{inSR:t,outSR:n,datumTransformation:r}=e,i=v(t),{points:a,mask:l}=M(e,i);if(!t.isGeographic){const e=t.wkid?s.e.coordsys(t.wkid):s.e.fromString(t.isGeographic?s.f.PE_TYPE_GEOGCS:s.f.PE_TYPE_PROJCS,t.wkt);s.g.projToGeog(e,a.length,a)}if((0,o.pC)(r)&&r.steps.length&&r.steps.forEach((e=>{const t=e.wkid?s.e.geogtran(e.wkid):s.e.fromString(s.f.PE_TYPE_GEOGTRAN,e.wkt);s.h.geogToGeog(t,a.length,a,null,e.isInverse?s.f.PE_TRANSFORM_2_TO_1:s.f.PE_TRANSFORM_1_TO_2)})),!n.isGeographic){const e=v(n,!0),t=(0,o.pC)(e)&&e.isEnvelope?[e.bbox[1],e.bbox[3]]:[-90,90];!function(e,t){const[n,r]=t;for(let t=0;t<e.length;t++){const o=e[t][1];(o<n||o>r)&&(e[t]=[NaN,NaN])}}(a,t);const r=n.wkid?s.e.coordsys(n.wkid):s.e.fromString(n.isGeographic?s.f.PE_TYPE_GEOGCS:s.f.PE_TYPE_PROJCS,n.wkt);s.g.geogToProj(r,a.length,a)}let f=a;if(l&&a.length!==l.length){f=[];for(let e=0,t=0;e<l.length;e++)l[e]?f.push(a[t++]):f.push([NaN,NaN])}return f}function v(e,t=!1){let n=e.wkid||e.wkt;if(!n||e.isGeographic)return null;if(n=String(n),h.has(n)){const e=h.get(n);return t?null==e?void 0:e.gcs:null==e?void 0:e.pcs}const r=e.wkid?s.e.coordsys(e.wkid):s.e.fromString(e.isGeographic?s.f.PE_TYPE_GEOGCS:s.f.PE_TYPE_PROJCS,e.wkt),o=R(r,d(e,1e-4)),i=R(r,0,!0);return h.set(n,{pcs:o,gcs:i}),t?i:o}function R(e,t=0,n=!1){const r=s.j.generate(e),o=n?e.horizonGcsGenerate():e.horizonPcsGenerate();if(null==o||!o.length)return null;let i=!1,a=o.find((e=>1===e.getInclusive()&&1===e.getKind()));if(!a){if(a=o.find((e=>1===e.getInclusive()&&0===e.getKind())),!a)return null;i=!0}const l=r.isPannableRectangle(),f=a.getCoord();if(i)return{isEnvelope:i,isPannable:l,vertices:f,coef:null,bbox:[f[0][0]-t,f[0][1]-t,f[1][0]+t,f[1][1]+t]};let c=0;const u=[];let[p,m]=f[0],[h,x]=f[0];for(let e=0,t=f.length;e<t;e++){c++,c===t&&(c=0);const[n,r]=f[e],[o,i]=f[c];if(i===r)u.push([n,o,r,i,2]);else{const e=(o-n)/(i-r||1e-4),t=n-e*r;r<i?u.push([e,t,r,i,0]):u.push([e,t,i,r,1])}p=p<n?p:n,m=m<r?m:r,h=h>n?h:n,x=x>r?x:r}return{isEnvelope:!1,isPannable:l,vertices:f,coef:u,bbox:[p,m,h,x]}}function M(e,t){const n=[],{cols:r,rows:i,xres:s,yres:a,usePixelCenter:l}=e;let{xmin:f,ymax:c}=e;if(l&&(f+=s/2,c-=a/2),!(0,o.pC)(t)){for(let e=0;e<r;e++)for(let t=0;t<i;t++)n.push([f+s*e,c-a*t]);return{points:n}}const u=new Uint8Array(r*i);if(t.isEnvelope){const{bbox:[e,o,l,p]}=t;for(let m=0,h=0;m<r;m++){const r=f+s*m,x=t.isPannable||r>=e&&r<=l;for(let e=0;e<i;e++,h++){const t=c-a*e;x&&t>=o&&t<=p&&(n.push([r,t]),u[h]=1)}}return{points:n,mask:u}}const{coef:p}=t,m=[];for(let e=0;e<i;e++){const t=c-a*e,n=[],r=[];for(let e=0;e<p.length;e++){const[o,i,s,a,l]=p[e];if(t===s&&s===a)n.push(o),n.push(i),r.push(2),r.push(2);else if(t>=s&&t<=a){const e=o*t+i;n.push(e),r.push(l)}}let o=n;if(n.length>2){let e=2===r[0]?0:r[0],t=n[0];o=[];for(let i=1;i<r.length;i++)2===r[i]&&i!==r.length-1||(r[i]!==e&&(o.push(0===e?Math.min(t,n[i-1]):Math.max(t,n[i-1])),e=r[i],t=n[i]),i===r.length-1&&o.push(0===r[i]?Math.min(t,n[i]):Math.max(t,n[i])));o.sort(((e,t)=>e-t))}else n[0]>n[1]&&(o=[n[1],n[0]]);m.push(o)}for(let e=0,t=0;e<r;e++){const r=f+s*e;for(let e=0;e<i;e++,t++){const o=c-a*e,i=m[e];if(2===i.length)r>=i[0]&&r<=i[1]&&(n.push([r,o]),u[t]=1);else if(i.length>2){let e=!1;for(let t=0;t<i.length;t+=2)if(r>=i[t]&&r<=i[t+1]){e=!0;break}e&&(n.push([r,o]),u[t]=1)}}}return{points:n,mask:u}}function P(e){const t=_(e[0].spatialReference);if(e.length<2||!(0,o.pC)(t))return e[0];let{xmin:n,xmax:r,ymin:i,ymax:s}=e[0];for(let n=1;n<e.length;n++){const o=e[n];r=o.xmax+t*n,i=Math.min(i,o.ymin),s=Math.max(s,o.ymax)}return new l.Z({xmin:n,xmax:r,ymin:i,ymax:s,spatialReference:e[0].spatialReference})}function b(e,t,n=null,r=!0){if(e.spatialReference.equals(t))return e;const i=E(e),s=_(e.spatialReference,!0),a=_(t);if(0===i||(0,o.Wi)(s)||(0,o.Wi)(a))return S(e,t,n,r);const f=e.clone().normalize();if(1===f.length&&e.xmax<s&&e.xmax-s/2>d(e.spatialReference)){const{xmin:t,xmax:n}=e;for(let r=0;r<=i;r++){const o=0===r?t:-s/2,a=r===i?n-s*r:s/2;f[r]=new l.Z({xmin:o,xmax:a,ymin:e.ymin,ymax:e.ymax,spatialReference:e.spatialReference})}}return P(f.map((e=>S(e,t,n,r))).filter((e=>!!e)))}function S(e,t,n=null,r=!0,i=!0){const s=e.spatialReference;if(s.equals(t))return e;u(s,t,n);const l=(0,a.iV)(e,t,n);if(i&&t.isWebMercator&&l&&(l.ymax=Math.min(20037508.342787,l.ymax),l.ymin=Math.max(-20037508.342787,l.ymin),l.ymin>=l.ymax))return null;if(!r||!l)return l;const c=T(s,!0),p=T(t,!0);if((0,o.Wi)(c)||(0,o.Wi)(p))return l;const m=d(s,.001),h=d(s,500),x=d(t,.001);if(Math.abs(l.xmin-p[0])<x&&Math.abs(l.xmax-p[1])<x){const r=Math.abs(e.xmin-c[0]),o=Math.abs(c[1]-e.xmax);if(r<m&&o>h){l.xmin=p[0];const r=[];r.push(new f.Z(e.xmax,e.ymin,s)),r.push(new f.Z(e.xmax,(e.ymin+e.ymax)/2,s)),r.push(new f.Z(e.xmax,e.ymax,s));const o=r.map((e=>g(e,t,n))).filter((e=>!isNaN(null==e?void 0:e.x))).map((e=>e.x));l.xmax=Math.max.apply(null,o)}if(o<m&&r>h){l.xmax=p[1];const r=[];r.push(new f.Z(e.xmin,e.ymin,s)),r.push(new f.Z(e.xmin,(e.ymin+e.ymax)/2,s)),r.push(new f.Z(e.xmin,e.ymax,s));const o=r.map((e=>g(e,t,n))).filter((e=>!isNaN(null==e?void 0:e.x))).map((e=>e.x));l.xmin=Math.min.apply(null,o)}}else{const e=d(t,.001);Math.abs(l.xmin-p[0])<e&&(l.xmin=p[0]),Math.abs(l.xmax-p[1])<e&&(l.xmax=p[1])}return l}function _(e,t=!1){const n=t?20037508.342787:20037508.342788905;return e.isWebMercator?2*n:e.wkid&&e.isGeographic?360:2*m[e.wkid]||null}function T(e,t=!1){if(e.isGeographic)return[-180,180];const n=_(e,t);return(0,o.pC)(n)?[-n/2,n/2]:null}function k(e,t,n,r){let o=(e-t)/n;return o-Math.floor(o)!=0?o=Math.floor(o):r&&(o-=1),o}function E(e,t=!1){const n=_(e.spatialReference);if(!(0,o.pC)(n))return 0;const r=t?0:-n/2,i=d(e.spatialReference),s=!t&&Math.abs(e.xmax-n/2)<i?n/2:e.xmax,a=!t&&Math.abs(e.xmin+n/2)<i?-n/2:e.xmin;return k(s,r,n,!0)-k(a,r,n,!1)}function N(e){const t=e.storageInfo.origin.x,n=_(e.spatialReference,!0);if(!(0,o.pC)(n))return{originX:t,halfWorldWidth:null,pyramidsInfo:null};const r=n/2,{nativePixelSize:i,storageInfo:s,extent:a}=e,{maximumPyramidLevel:l,blockWidth:f,pyramidScalingFactor:c}=s;let u=i.x;const p=[],m=(0,o.pC)(e.transform)&&"gcs-shift"===e.transform.type,h=t+(m?0:r),x=m?n-t:r-t;for(let e=0;e<=l;e++){const e=(a.xmax-t)/u/f,n=e-Math.floor(e)==0?e:Math.ceil(e),r=x/u/f,o=r-Math.floor(r)==0?r:Math.ceil(r),i=Math.floor(h/u/f),s=Math.round(h/u)%f,l=(f-Math.round(x/u)%f)%f;p.push({resolutionX:u,blockWidth:f,datsetColumnCount:n,worldColumnCountFromOrigin:o,leftMargin:s,rightPadding:l,originColumnOffset:i}),u*=c}return{originX:t,halfWorldWidth:r,pyramidsInfo:p,hasGCSSShiftTransform:m}}function G(e){const t=e.isAdaptive&&null==e.spacing;let n=e.spacing||[32,32],r=Z(e),i={cols:r.size[0]+1,rows:r.size[1]+1};const s=r.outofBoundPointCount>0&&r.outofBoundPointCount<r.offsets.length/2;let a=r.outofBoundPointCount===r.offsets.length/2||t&&s?[0,0]:p(r.offsets,i,n,4);const l=(a[0]+a[1])/2;if(t&&(s||l>4)){const t=e.projectedExtent.spatialReference;c(t,e.srcBufferExtent.spatialReference,e.datumTransformation)&&(t.isGeographic||(0,o.pC)(v(t))),n=[4,4],r=Z({...e,spacing:n}),i={cols:r.size[0]+1,rows:r.size[1]+1},a=p(r.offsets,i,n,4)}return r.error=a,n[0]>1&&(r.coefficients=function(e,t,n){const{cols:r,rows:o}=t,i=new Float32Array((r-1)*(o-1)*2*6),s=new Float32Array([-0,-1,1,-1,1,-0,1,-0,-0]),a=new Float32Array([-1,1,0,0,-1,1,1,0,0]);for(let t=0;t<r-1;t++){for(let n=0;n<o-1;n++){let l=t*o*2+2*n;const f=e[l],c=e[l+1],u=e[l+2],p=e[l+3];l+=2*o;const m=e[l],h=e[l+1],x=e[l+2],y=e[l+3];let d=0,g=12*(n*(r-1)+t);for(let e=0;e<3;e++)i[g++]=s[d++]*f+s[d++]*u+s[d++]*x;d=0;for(let e=0;e<3;e++)i[g++]=s[d++]*c+s[d++]*p+s[d++]*y;d=0;for(let e=0;e<3;e++)i[g++]=a[d++]*f+a[d++]*m+a[d++]*x;d=0;for(let e=0;e<3;e++)i[g++]=a[d++]*c+a[d++]*h+a[d++]*y}if(n)for(let e=0;e<i.length;e++)isNaN(i[e])&&(i[e]=-1)}return i}(r.offsets,i,s)),r}function Z(e){const{projectedExtent:t,srcBufferExtent:n,pixelSize:r,datumTransformation:i,rasterTransform:s}=e,a=t.spatialReference,l=n.spatialReference;u(a,l);const{xmin:c,ymin:p,xmax:m,ymax:h}=t,x=_(l),y=(0,o.pC)(x)&&(e.hasWrapAround||"gcs-shift"===(null==s?void 0:s.type)),g=e.spacing||[32,32],w=g[0]*r.x,v=g[1]*r.y,R=1===g[0],M=Math.ceil((m-c)/w-.1/g[0])+(R?0:1),P=Math.ceil((h-p)/v-.1/g[1])+(R?0:1),b=C({cols:M,rows:P,xmin:c,ymax:h,xres:w,yres:v,inSR:a,outSR:l,datumTransformation:i,preferPE:g[0]<=4,usePixelCenter:R}),S=[];let T,k=0;const E=R?-1:NaN,{xmin:N,xmax:G,ymax:Z,width:O,height:z}=n,W=d(l,500);for(let e=0;e<M;e++){const t=[];for(let n=0;n<P;n++){let r=b[e*P+n];if(y&&r[0]>G&&r[0]>x/2-W&&(r[0]-=x),!r||isNaN(r[0])||isNaN(r[1]))S.push(E),S.push(E),t.push(null),k++;else{if(s){const e=s.inverseTransform(new f.Z({x:r[0],y:r[1],spatialReference:l}));r=[e.x,e.y]}t.push(r),e>0&&y&&T[n]&&r[0]<T[n][0]&&(r[0]+=x),S.push((r[0]-N)/O),S.push((Z-r[1])/z)}}T=t}return{offsets:S,error:null,coefficients:null,outofBoundPointCount:k,spacing:g,size:R?[M,P]:[M-1,P-1]}}function O(e){const t=e.clone().normalize();return 1===t.length?t[0]:P(t)}function z(e,t,n){const{storageInfo:r,pixelSize:i}=t;let s,a=!1;const{pyramidResolutions:l}=r;if((0,o.pC)(l)&&l.length){const r=(e.x+e.y)/2,o=l[l.length-1],c=(o.x+o.y)/2,u=(i.x+i.y)/2;if(r<=u)s=0;else if(r>=c)s=l.length,a=r/c>8;else{let e,t=u;for(let o=1;o<=l.length;o++){if(e=(l[o-1].x+l[o-1].y)/2,r<=e){r===e?s=o:"down"===n?(s=o-1,a=r/t>8):s="up"===n||r-t>e-r||r/t>2?o:o-1;break}t=e}}const p=0===s?i:l[s-1];return{pyramidLevel:s,pyramidResolution:new f.Z({x:p.x,y:p.y,spatialReference:t.spatialReference}),excessiveReading:a}}const c=Math.log(e.x/i.x)/Math.LN2,u=Math.log(e.y/i.y)/Math.LN2,p=t.storageInfo.maximumPyramidLevel||0;s="down"===n?Math.floor(Math.min(c,u)):"up"===n?Math.ceil(Math.max(c,u)):Math.round((c+u)/2),s<0?s=0:s>p&&(a=s>p+3,s=p);const m=2**s;return{pyramidLevel:s,pyramidResolution:new f.Z({x:m*t.nativePixelSize.x,y:m*t.nativePixelSize.y,spatialReference:t.spatialReference}),excessiveReading:a}}},48700:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(43697),o=n(96674),i=n(5600),s=(n(67676),n(80442),n(75215),n(52011));let a=class extends o.wq{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,r._)([(0,i.Cb)()],a.prototype,"affectsPixelSize",null),(0,r._)([(0,i.Cb)({json:{write:!0}})],a.prototype,"spatialReference",void 0),a=(0,r._)([(0,s.j)("esri.layers.support.rasterTransforms.BaseRasterTransform")],a);const l=a},29680:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(43697),o=n(5600),i=(n(67676),n(80442),n(75215),n(36030)),s=n(52011),a=n(48700);let l=class extends a.Z{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}};(0,r._)([(0,i.J)({GCSShiftXform:"gcs-shift"})],l.prototype,"type",void 0),(0,r._)([(0,o.Cb)()],l.prototype,"tolerance",void 0),l=(0,r._)([(0,s.j)("esri.layers.support.rasterTransforms.GCSShiftTransform")],l);const f=l},87390:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(43697),o=(n(66577),n(5600)),i=(n(67676),n(80442),n(75215),n(36030)),s=n(71715),a=n(52011),l=n(30556),f=n(48700),c=n(13473),u=n(6570);function p(e,t,n){const{x:r,y:o}=t;if(n<2)return{x:e[0]+r*e[2]+o*e[4],y:e[1]+r*e[3]+o*e[5]};if(2===n){const t=r*r,n=o*o,i=r*o;return{x:e[0]+r*e[2]+o*e[4]+t*e[6]+i*e[8]+n*e[10],y:e[1]+r*e[3]+o*e[5]+t*e[7]+i*e[9]+n*e[11]}}const i=r*r,s=o*o,a=r*o,l=i*r,f=i*o,c=r*s,u=o*s;return{x:e[0]+r*e[2]+o*e[4]+i*e[6]+a*e[8]+s*e[10]+l*e[12]+f*e[14]+c*e[16]+u*e[18],y:e[1]+r*e[3]+o*e[5]+i*e[7]+a*e[9]+s*e[11]+l*e[13]+f*e[15]+c*e[17]+u*e[19]}}function m(e,t,n){const{xmin:r,ymin:o,xmax:i,ymax:s,spatialReference:a}=t;let l=[];if(n<2)l.push({x:r,y:s}),l.push({x:i,y:s}),l.push({x:r,y:o}),l.push({x:i,y:o});else{let e=10;for(let t=0;t<e;t++)l.push({x:r,y:o+(s-o)*t/(e-1)}),l.push({x:i,y:o+(s-o)*t/(e-1)});e=8;for(let t=1;t<=e;t++)l.push({x:r+(i-r)*t/e,y:o}),l.push({x:r+(i-r)*t/e,y:s})}l=l.map((t=>p(e,t,n)));const f=l.map((e=>e.x)),c=l.map((e=>e.y));return new u.Z({xmin:Math.min.apply(null,f),xmax:Math.max.apply(null,f),ymin:Math.min.apply(null,c),ymax:Math.max.apply(null,c),spatialReference:a})}let h=class extends f.Z{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:n,coeffY:r}=t;if(null==n||!n.length||null==r||!r.length||n.length!==r.length)return null;const o=[];for(let e=0;e<n.length;e++)o.push(n[e]),o.push(r[e]);return o}writeForwardCoefficients(e,t,n){const r=[],o=[];for(let t=0;t<(null==e?void 0:e.length);t++)t%2==0?r.push(e[t]):o.push(e[t]);t.coeffX=r,t.coeffY=o}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,n,r,o,i,s]=e,a=r*s-i*o,l=i*o-r*s;return[(i*n-t*s)/a,(r*n-t*o)/l,s/a,o/l,-i/a,-r/l]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:n,inverseCoeffY:r}=t;if(null==n||!n.length||null==r||!r.length||n.length!==r.length)return null;const o=[];for(let e=0;e<n.length;e++)o.push(n[e]),o.push(r[e]);return o}writeInverseCoefficients(e,t,n){const r=[],o=[];for(let t=0;t<(null==e?void 0:e.length);t++)t%2==0?r.push(e[t]):o.push(e[t]);t.inverseCoeffX=r,t.inverseCoeffY=o}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=p(this.forwardCoefficients,e,this.polynomialOrder);return new c.Z({x:t.x,y:t.y,spatialReference:e.spatialReference})}return m(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=p(this.inverseCoefficients,e,this.polynomialOrder);return new c.Z({x:t.x,y:t.y,spatialReference:e.spatialReference})}return m(this.inverseCoefficients,e,this.polynomialOrder)}};(0,r._)([(0,o.Cb)({json:{write:!0}})],h.prototype,"polynomialOrder",void 0),(0,r._)([(0,o.Cb)()],h.prototype,"forwardCoefficients",void 0),(0,r._)([(0,s.r)("forwardCoefficients",["coeffX","coeffY"])],h.prototype,"readForwardCoefficients",null),(0,r._)([(0,l.c)("forwardCoefficients")],h.prototype,"writeForwardCoefficients",null),(0,r._)([(0,o.Cb)({json:{write:!0}})],h.prototype,"inverseCoefficients",null),(0,r._)([(0,s.r)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],h.prototype,"readInverseCoefficients",null),(0,r._)([(0,l.c)("inverseCoefficients")],h.prototype,"writeInverseCoefficients",null),(0,r._)([(0,o.Cb)()],h.prototype,"affectsPixelSize",null),(0,r._)([(0,i.J)({PolynomialXform:"polynomial"})],h.prototype,"type",void 0),h=(0,r._)([(0,a.j)("esri.layers.support.rasterTransforms.PolynomialTransform")],h);const x=h},87521:(e,t,n)=>{n.d(t,{j:()=>m,c:()=>h});var r=n(29680),o=n(43697),i=(n(92604),n(75215),n(67676),n(80442),n(37697),n(36030)),s=n(52011),a=n(48700);let l=class extends a.Z{constructor(){super(...arguments),this.type="identity"}};(0,o._)([(0,i.J)({IdentityXform:"identity"})],l.prototype,"type",void 0),l=(0,o._)([(0,s.j)("esri.layers.support.rasterTransforms.IdentityTransform")],l);const f=l;var c=n(87390);const u={GCSShiftXform:r.Z,IdentityXform:f,PolynomialXform:c.Z},p=Object.keys(u);function m(e){const t=null==e?void 0:e.type;return!e||p.includes(t)}function h(e){if(!(null==e?void 0:e.type))return null;const t=u[null==e?void 0:e.type];if(t){const n=new t;return n.read(e),n}return null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9296,3172],{32448:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(43697),o=r(15923),s=r(50758),i=r(52011);class a{constructor(){this._emitter=new a.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this.target=e,this._listenersMap=null}clear(){this._listenersMap&&this._listenersMap.clear(),this._listenersMap=null}emit(e,t){const r=this._listenersMap&&this._listenersMap.get(e);if(!r)return!1;const n=this.target||this;return[...r].forEach((e=>{e.call(n,t)})),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map((e=>this.on(e,t)));return(0,s.AL)(r)}if(e.indexOf(",")>-1)throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap||(this._listenersMap=new Map);const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),{remove:()=>{const r=this._listenersMap&&this._listenersMap.get(e)||[],n=r.indexOf(t);n>=0&&r.splice(n,1)}}}once(e,t){const r=this.on(e,(e=>{r.remove(),t.call(null,e)}));return r}hasEventListener(e){const t=this._listenersMap&&this._listenersMap.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let r=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return r=(0,n._)([(0,i.j)("esri.core.Evented")],r),r};let r=class extends o.Z{constructor(){super(...arguments),this._emitter=new a.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};r=(0,n._)([(0,i.j)("esri.core.Evented")],r),e.EventedAccessor=r}(a||(a={}));const l=a},10699:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(43697),o=r(52011);let s=0;const i=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return t=(0,n._)([(0,o.j)("esri.core.Identifiable")],t),t};let a=class extends(i(class{})){};a=(0,n._)([(0,o.j)("esri.core.Identifiable")],a)},16453:(e,t,r)=>{r.d(t,{R:()=>w,w:()=>b});var n=r(43697),o=r(15923),s=r(70586),i=r(41103),a=r(22974),l=r(31263);class u{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new u,r=this._originStores[l.s3.DEFAULTS];r&&r.forEach(((e,r)=>{t.set(r,(0,a.d9)(e),l.s3.DEFAULTS)}));for(let r=l.s3.SERVICE;r<l.kk;r++){const n=this._originStores[r];n&&n.forEach(((n,o)=>{e&&e.has(o)||t.set(o,(0,a.d9)(n),r)}))}return t}get(e,t){const r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=l.s3.USER){let n=this._originStores[r];if(n||(n=new Map,this._originStores[r]=n),n.set(e,t),!this._values.has(e)||(0,s.j0)(this._propertyOriginMap.get(e))<=r){const n=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),n!==t}return!1}delete(e,t=l.s3.USER){const r=this._originStores[t];if(!r)return;const n=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){const t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return n}has(e,t){const r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const r=this._originStores[t],n=r&&r.get(e),o=this._values.get(e);return this._values.set(e,n),this._propertyOriginMap.set(e,t),o!==n}originOf(e){return this._propertyOriginMap.get(e)||l.s3.DEFAULTS}forEach(e){this._values.forEach(e)}}var c=r(50549),p=r(1153),d=r(52011);const h=e=>{let t=class extends e{constructor(...e){super(...e);const t=(0,s.j0)((0,p.vw)(this)),r=t.store,n=new u;t.store=n,(0,i.M)(t,r,n)}read(e,t){(0,c.i)(this,e,t)}getAtOrigin(e,t){const r=f(this),n=(0,l.M9)(t);if("string"==typeof e)return r.get(e,n);const o={};return e.forEach((e=>{o[e]=r.get(e,n)})),o}originOf(e){return(0,l.x3)(this.originIdOf(e))}originIdOf(e){return f(this).originOf(e)}revert(e,t){const r=f(this),n=(0,l.M9)(t),o=(0,p.vw)(this);let s;s="string"==typeof e?"*"===e?r.keys(n):[e]:e,s.forEach((e=>{o.invalidate(e),r.revert(e,n),o.commit(e)}))}};return t=(0,n._)([(0,d.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function f(e){return(0,p.vw)(e).store}let m=class extends(h(o.Z)){};m=(0,n._)([(0,d.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],m);var y=r(76169);const g=e=>{let t=class extends e{constructor(...e){super(...e)}clear(e,t="user"){return v(this).delete(e,(0,l.M9)(t))}write(e={},t){return(0,y.c)(this,e=e||{},t),e}setAtOrigin(e,t,r){(0,p.vw)(this).setAtOrigin(e,t,(0,l.M9)(r))}removeOrigin(e){const t=v(this),r=(0,l.M9)(e),n=t.keys(r);for(const e of n)t.originOf(e)===r&&t.set(e,t.get(e,r),l.s3.USER)}updateOrigin(e,t){const r=v(this),n=(0,l.M9)(t),o=this.get(e);for(let t=n+1;t<l.kk;++t)r.delete(e,t);r.set(e,o,n)}toJSON(e){return this.write({},e)}};return t=(0,n._)([(0,d.j)("esri.core.WriteableMultiOriginJSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function v(e){return(0,p.vw)(e).store}const w=e=>{let t=class extends(g(h(e))){constructor(...e){super(...e)}};return t=(0,n._)([(0,d.j)("esri.core.MultiOriginJSONSupport")],t),t};let b=class extends(w(o.Z)){};b=(0,n._)([(0,d.j)("esri.core.MultiOriginJSONSupport")],b)},91460:(e,t,r)=>{function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(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=o(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{vT:()=>n,on:()=>o,IH:()=>s})},95330:(e,t,r)=>{r.d(t,{e4:()=>C,$6:()=>l,Ue:()=>u,zE:()=>c,dD:()=>O,hh:()=>k,vr:()=>L,Ds:()=>T,as:()=>_,WW:()=>E,R8:()=>b,D_:()=>w,Hc:()=>h,y8:()=>q,fu:()=>y,$F:()=>g,d1:()=>x,DB:()=>S,r9:()=>f,k_:()=>p,H9:()=>m,Yn:()=>P,gx:()=>I,Hl:()=>v});const n=(o=globalThis,{setTimeout:(e,t)=>{const r=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(r)}}});var o,s=r(20102),i=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 p(e,t="Aborted"){if(h(e))throw c(t)}function d(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function h(e){const t=d(e);return(0,a.pC)(t)&&t.aborted}function f(e){if(w(e))throw e}function m(e){if(!w(e))throw e}function y(e,t){const r=d(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,i.IH)(r,"abort",(()=>t()));t()}}function g(e,t){const r=d(e);if(!(0,a.Wi)(r))return p(r),(0,i.IH)(r,"abort",(()=>t(c())))}function v(e,t){const r=d(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let o=y(t,(()=>n(c())));const s=()=>o=(0,a.hw)(o);e.then(s,s),e.then(r,n)}))}function w(e){return e&&"AbortError"===e.name}function b(e){return e.catch((e=>{if(!w(e))throw e}))}function O(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function _(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return _(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 o={promise:t||Promise.resolve(t)};r.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function E(e){return _(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function x(e){return Promise.reject(e)}function S(e){return Promise.resolve(e)}function C(e,t,r){const n=new AbortController;return y(r,(()=>n.abort())),new Promise(((r,o)=>{let s=setTimeout((()=>{s=0,r(t)}),e);y(n,(()=>{s&&(clearTimeout(s),o(c()))}))}))}function q(e){return e&&"function"==typeof e.then}function I(e){return q(e)?e:Promise.resolve(e)}function T(e,t=-1){let r,n,o,s,i=null;const l=(...u)=>{if(r){n=u,s&&s.reject(c()),s=O();const e=(0,a.j0)(s.promise);if(i){const e=i;i=null,e.abort()}return e}if(o=s||O(),s=null,t>0){const n=new AbortController;r=I(e(...u,n.signal));const o=r;C(t).then((()=>{r===o&&(s?n.abort():i=n)}))}else r=1,r=I(e(...u));const p=()=>{const e=n;n=o=r=i=null,null!=e&&l(...e)},d=r,h=o;return d.then(p,p),d.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return l}function k(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>n.setTimeout((()=>o.reject(t)),e),o.promise=r,o}function L(e,t){let r,n=new AbortController;const o=e(n.signal);let s={promise:o,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const i=()=>{s&&(s.finished=!0,s=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return o.then(i,i),r=y(t,(()=>{(0,a.pC)(s)&&s.abort()})),s}function P(e){return Promise.resolve().then((()=>{p(e)}))}},17452:(e,t,r)=>{r.d(t,{R9:()=>v,qg:()=>T,tD:()=>U,ZN:()=>de,fl:()=>he,Ie:()=>ue,sJ:()=>V,AH:()=>K,io:()=>X,L:()=>E,TI:()=>_,vt:()=>ae,oh:()=>Z,P$:()=>J,Ml:()=>fe,ed:()=>$,b7:()=>I,D6:()=>R,tm:()=>j,YP:()=>W,jc:()=>B,HK:()=>z,$U:()=>re,oC:()=>ee,kl:()=>D,v_:()=>G,hF:()=>N,_l:()=>Q,PF:()=>F,Fv:()=>H,B7:()=>q,u0:()=>S,Yd:()=>ie,Hu:()=>pe,Qj:()=>le,hO:()=>ne,mN:()=>x});var n=r(68773),o=r(20102),s=r(92604),i=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,p=/^\s*http:/i,d=/^\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,i.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,i.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 w={};let b=new v(n.Z.applicationUrl);let O=function(){const e=(0,i.j0)(b.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${b.scheme}://${b.host}${null!=b.port?`:${b.port}`:""}${t}`}();const _=()=>b,E=()=>O;function x(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=S(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 S(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(o):r[n]=o}return r}function C(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function q(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 o=encodeURIComponent(r)+"=",s=t&&t[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>C(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):C(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function I(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=re(e);const n=$(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(u),new o.Z("urlutils:proxy-not-set",u);return t&&oe()&&(r=ne(r)),x(r)}function T(e){const t=$(e);let r,n;if(t){const e=L(t.proxyUrl);r=e.path,n=e.query?S(e.query):null}if(r){const t=x(e);e=r+"?"+t.path;const o=q({...n,...t.query});o&&(e=`${e}?${o}`)}return e}const k={path:"",query:""};function L(e){const t=e.indexOf("?");return-1!==t?(k.path=e.slice(0,t),k.query=e.slice(t+1)):(k.path=e,k.query=null),k}function P(e){return(e=se(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=L(e).path),!0)).toLowerCase()}function U(e){const t={proxyUrl:e.proxyUrl,urlPrefix:P(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let o=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;o=e;break}0===t.indexOf(n)&&(o=e+1)}return r.splice(o,0,t),o}function $(e){const t=l.proxyRules,r=P(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function j(e,t){return e=M(e),t=M(t),se(e)===se(t)}function M(e){const t=(e=H(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function Z(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 R(e,t,r=!1){const n=ce(e),o=ce(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function D(e){if("string"==typeof e){if(!W(e))return!0;e=ce(e)}if(R(e,b))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=A(t[r]);for(let t=0;t<n.length;t++)if(R(e,n[t]))return!0}return!1}function A(e){return w[e]||(te(e)||ee(e)?w[e]=[new v(N(e))]:w[e]=[new v(`http://${e}`),new v(`https://${e}`)]),w[e]}function N(e,t=O,r){return ee(e)?r&&r.preserveProtocolRelative?e:"http"===b.scheme&&b.authority===J(e).slice(2)?`http:${e}`:`https:${e}`:te(e)?e:(0,i.j0)(G("/"===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 F(e,t=O,r){if(!W(e))return e;const n=H(e),o=n.toLowerCase(),s=H(t).toLowerCase().replace(/\/+$/,""),i=r?H(r).toLowerCase().replace(/\/+$/,""):null;if(i&&0!==s.indexOf(i))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let l=a(o,"/",o.indexOf("//")+2),u=-1;for(;o.slice(0,l+1)===s.slice(0,l)+"/"&&(u=l+1,l!==o.length);)l=a(o,"/",l+1);if(-1===u)return e;if(i&&u<i.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 H(e){return function(e){const t=l.httpsDomains;if(!function(e){return p.test(e)||"http"===b.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"===b.scheme&&n===b.authority&&!m.test(e)||(oe()&&n===b.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||oe()&&!$(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=L(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=N(e=e.trim()))))}function G(...e){const t=e.filter(i.pC);if(!t||!t.length)return;const r=[];if(W(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(B(e)||z(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 W(e){return ee(e)||te(e)}function B(e){return null!=e&&"blob:"===e.slice(0,5)}function z(e){return"data:"===e.slice(0,5)}function K(e){const t=V(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 V(e){const t=e.match(Y);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function Q(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 d.test(e)||"https"===b.scheme&&ee(e)}function ne(e){return ee(e)?`https:${e}`:e.replace(p,"https:")}function oe(){return"https"===b.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 ie(e){let t=0;if(W(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=x(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const o=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(o,"")}function le(e){return e.replace(/\/+$/,"")}function ue(e,t,r){if(!(t&&r&&e&&W(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),s=e.indexOf(":",n+2),i=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,i).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(i)}`}function ce(e){return"string"==typeof e?new v(N(e)):(e.scheme||(e.scheme=b.scheme),e)}function pe(e,t){const r=x(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 de(e,t,r){const n=x(e),o=n.query||{};return o[t]=String(r),`${n.path}?${q(o)}`}function he(e,t){const r=x(e),n=r.query||{};for(const e in t)n[e]=t[e];const o=q(n);return o?`${r.path}?${o}`:r.path}function fe(e){if((0,i.Wi)(e))return null;const t=e.match(me);return t?t[1]:null}const me=/.*?\.([^\/]*)$/},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var n=r(75215),o=r(6570),s=r(9361),i=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:o.Z,multipoint:i.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,n.N7)(c)},33955:(e,t,r)=>{r.d(t,{im:()=>m,q9:()=>v,Ji:()=>y,YX:()=>c,aW:()=>p,wp:()=>d,oU:()=>f,l9:()=>h});var n=r(70586),o=r(6570),s=r(9361),i=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 p(e){return void 0!==e.points}function d(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:d(e)?a.Z.fromJSON(e):h(e)?u.Z.fromJSON(e):f(e)?l.Z.fromJSON(e):p(e)?i.Z.fromJSON(e):c(e)?o.Z.fromJSON(e):null}function y(e){return e?d(e)?"esriGeometryPoint":h(e)?"esriGeometryPolyline":f(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":p(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:o.Z,esriGeometryMultipoint:i.Z};function v(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>o,P$:()=>s});var n=r(35454);const o=(0,n.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),s=(0,n.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},40330:(e,t,r)=>{r.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>s,Nv:()=>i});var n=r(80442),o=r(17452);const s="4.23",i={async request(e,t){var n;const{default:s}=await r.e(3172).then(r.bind(r,3172)),i=e.options,a=i.responseType;i.signal=null==t?void 0:t.signal,i.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,o.oh)(e.url))&&n.after?a:"array-buffer";const l=await s(e.url,i),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,o.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")},29600:(e,t,r)=>{r.d(t,{Z:()=>b});var n=r(43697),o=r(68773),s=(r(66577),r(3172)),i=r(20102),a=r(32448),l=r(10699),u=r(83379),c=r(92604),p=r(95330),d=r(17452),h=r(5600),f=(r(67676),r(80442),r(75215),r(52011)),m=r(6570),y=r(82971);let g=0;const v=c.Z.getLogger("esri.layers.Layer");let w=class extends(a.Z.EventedMixin((0,l.I)(u.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,y.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e,n=await r.e(3529).then(r.bind(r,63529));try{return await n.fromUrl(t)}catch(e){throw v.error("#fromArcGISServerUrl({ url: '"+t.url+"'})","Failed to create layer from arcgis server url",e),e}}static async fromPortalItem(e){const t="portalItem"in e?e:{portalItem:e},n=await r.e(4579).then(r.bind(r,44579));try{return await n.fromItem(t)}catch(e){const r=t&&t.portalItem,n=r&&r.id||"unset",s=r&&r.portal&&r.portal.url||o.Z.portalUrl;throw v.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+n+"')",e),e}}initialize(){this.when().catch((e=>{var t,r;(0,p.D_)(e)||c.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${null!=(t=this.title)?t:"no title"}', id: '${null!=(r=this.id)?r:"no id"}')`,{error:e})}))}destroy(){if(this.parent){const e=this,t=this.parent;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"baseLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const e=this.url;return e?(0,d.mN)(e):null}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,s.default)(e,{query:{f:"json"},responseType:"json"})).data;throw new i.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,n._)([(0,h.Cb)({type:String})],w.prototype,"attributionDataUrl",void 0),(0,n._)([(0,h.Cb)({type:m.Z})],w.prototype,"fullExtent",void 0),(0,n._)([(0,h.Cb)({readOnly:!0})],w.prototype,"hasAttributionData",null),(0,n._)([(0,h.Cb)({type:String})],w.prototype,"id",void 0),(0,n._)([(0,h.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"legendEnabled",void 0),(0,n._)([(0,h.Cb)({type:["show","hide","hide-children"]})],w.prototype,"listMode",void 0),(0,n._)([(0,h.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],w.prototype,"opacity",void 0),(0,n._)([(0,h.Cb)()],w.prototype,"parent",void 0),(0,n._)([(0,h.Cb)({readOnly:!0})],w.prototype,"parsedUrl",null),(0,n._)([(0,h.Cb)({type:Boolean})],w.prototype,"popupEnabled",void 0),(0,n._)([(0,h.Cb)({type:Boolean})],w.prototype,"attributionVisible",void 0),(0,n._)([(0,h.Cb)({type:y.Z})],w.prototype,"spatialReference",void 0),(0,n._)([(0,h.Cb)({type:String})],w.prototype,"title",void 0),(0,n._)([(0,h.Cb)({type:String,readOnly:!0,json:{read:!1}})],w.prototype,"type",void 0),(0,n._)([(0,h.Cb)()],w.prototype,"url",void 0),(0,n._)([(0,h.Cb)({type:Boolean,nonNullable:!0})],w.prototype,"visible",void 0),w=(0,n._)([(0,f.j)("esri.layers.Layer")],w);const b=w},39296:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(43697),o=r(20102),s=r(16453),i=r(1654),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011)),u=r(29600),c=r(16859);let p=class extends((0,c.I)((0,s.R)(u.Z))){constructor(e){super(e),this.resourceInfo=null,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise(((e,t)=>{(0,i.Os)((()=>{const e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";e&&(r+=" "+e),t(new o.Z("layer:unsupported-layer-type",r,{layerType:e}))}))})))}read(e,t){const r={resourceInfo:e};null!=e.id&&(r.id=e.id),null!=e.title&&(r.title=e.title),super.read(r,t)}write(e){return Object.assign(e||{},this.resourceInfo,{id:this.id})}};(0,n._)([(0,a.Cb)({readOnly:!0})],p.prototype,"resourceInfo",void 0),(0,n._)([(0,a.Cb)({type:["show","hide"]})],p.prototype,"listMode",void 0),(0,n._)([(0,a.Cb)({json:{read:!1},readOnly:!0,value:"unsupported"})],p.prototype,"type",void 0),p=(0,n._)([(0,l.j)("esri.layers.UnsupportedLayer")],p);const d=p},16859:(e,t,r)=>{r.d(t,{I:()=>b});var n=r(43697),o=r(40330),s=r(3172),i=r(66643),a=r(20102),l=r(92604),u=r(70586),c=r(95330),p=r(17452),d=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 w=l.Z.getLogger("esri.layers.mixins.PortalLayer"),b=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)||w.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==o.id?void 0:o.id.findCredential(this.url):null;if(!t)return!0;const r=O.credential===t?O.user:await this._fetchEditingUser(e);return O.credential=t,O.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=o.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,p.Fv)(c.restUrl)===(0,p.Fv)(l))return c.user;const d=`${l}/community/self`,h=(0,u.pC)(e)?e.signal:null,f=await(0,i.q6)((0,s.default)(d,{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,p.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,d.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,d.Cb)()],t.prototype,"resourceReferences",void 0),(0,n._)([(0,d.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,n._)([(0,f.j)("esri.layers.mixins.PortalLayer")],t),t},O={credential:null,user:null}},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var n=r(68773),o=r(40330),s=r(20102),i=r(80442),a=r(22974),l=r(70586),u=r(95330),c=r(17452),p=r(71058),d=r(85958);async function h(e,t){var a;const d=(0,c.HK)(e),g=(0,c.jc)(e);g||d||(e=(0,c.Fv)(e));const v={url:e,requestOptions:{...(0,l.Wg)(t)}};let w=(0,c.oh)(e);if(w){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,n;try{n=await e.before(t)}catch(e){r=E("request:interceptor",e,t)}if((n instanceof Error||n instanceof s.Z)&&(r=E("request:interceptor",n,t)),r)throw e.error&&e.error(r),r;return n}}(w,v);if(null!=e)return{data:e,getHeader:b,requestOptions:v.requestOptions,url:v.url};w.after||w.error||(w=null)}if(e=v.url,"image"===(t=v.requestOptions).responseType){if((0,i.Z)("host-webworker")||(0,i.Z)("host-node"))throw E("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),v)}else if(d)throw E("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),v);if("head"===t.method){if(t.body)throw E("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),v);if(d||g)throw E("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),v)}if(await async function(){(0,i.Z)("host-webworker")?f||(f=await Promise.all([r.e(102),r.e(9884)]).then(r.bind(r,29884))):h._abortableFetch||(h._abortableFetch=globalThis.fetch.bind(globalThis))}(),f)return f.execute(e,t);const O=new AbortController;(0,u.fu)(t,(()=>O.abort()));const _={controller:O,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:w,params:v,redoRequest:!1,useIdentity:m.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},q=await async function(e){var t,r;let s,i;await async function(e){const t=e.params.url,r=e.params.requestOptions,s=e.controller.signal,i=r.body;let a=null,l=null,c=null;if(y&&"HTMLFormElement"in globalThis&&(i instanceof FormData?a=i:i instanceof HTMLFormElement&&(l=i,a=new FormData(l))),"string"==typeof i&&(c=i),e.fetchOptions={cache:r.cacheBust&&!h._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:s},(a||c)&&(e.fetchOptions.body=a||c),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query&&r.query.token||a&&a.get&&a.get("token")||l&&l.elements.token),!e.hasToken&&n.Z.apiKey&&(0,p.r)(t)&&(r.query||(r.query={}),r.query.token=n.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!S(t)&&!(0,u.Hc)(s)){let n;"immediate"===r.authMode?(await x(),n=await o.id.getCredential(t,{signal:s}),e.credential=n):"no-prompt"===r.authMode?(await x(),n=await o.id.getCredential(t,{prompt:!1,signal:s}).catch((()=>{})),e.credential=n):o.id&&(n=o.id.findCredential(t)),n&&(e.credentialToken=n.token,e.useSSL=!!n.ssl)}}(e);try{do{[s,i]=await C(e)}while(!await I(e,s,i))}catch(t){const r=E("request:server",t,e.params,s);throw r.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(r),r}const a=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)&&!e.hasToken&&!e.credentialToken&&null!=(t=i)&&null!=(r=t.user)&&r.username&&!(0,c.kl)(a)){const e=(0,c.P$)(a,!0);e&&m.trustedServers.push(e)}const l=e.credential;if(l&&o.id){const e=o.id.findServerInfo(l.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=o.id.findCredential(t,l.userId);e&&-1===o.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:i,getHeader:s?e=>s.headers.get(e):b,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(_);return null==(a=w)||null==a.after||a.after(q),q}let f;const m=n.Z.request,y="FormData"in globalThis,g=[499,498,403,401],v=["COM_0056","COM_0057","SB_0008"],w=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],b=()=>null,O=Symbol();function _(e){const t=(0,c.P$)(e);return!t||t.endsWith(".arcgis.com")||h._corsServers.includes(t)||(0,c.kl)(t)}function E(e,t,r,n){let o="Error";const i={url:r.url,requestOptions:r.requestOptions,getHeader:b,ssl:!1};if(t instanceof s.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=i,t;if(t){const e=n&&(e=>n.headers.get(e)),r=n&&n.status,s=t.message;s&&(o=s),e&&(i.getHeader=e),i.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,i.subCode=t.subcode,i.messageCode=t.messageCode,"string"==typeof t.details?i.messages=[t.details]:i.messages=t.details,i.raw=O in t?t[O]:t}return(0,u.D_)(t)?(0,u.zE)():new s.Z(e,o,i)}async function x(){o.id||await Promise.all([r.e(280),r.e(2785),r.e(102),r.e(8536)]).then(r.bind(r,85976))}function S(e){return w.some((t=>t.test(e)))}async function C(e){let t=e.params.url;const r=e.params.requestOptions,n=e.fetchOptions,s=(0,c.jc)(t)||(0,c.HK)(t),a=r.responseType||"json",l=s?0:null!=r.timeout?r.timeout:m.timeout;let p=!1;if(!s){e.useSSL&&(t=(0,c.hO)(t)),r.cacheBust&&"default"===n.cache&&(t=(0,c.ZN)(t,"request.preventCache",Date.now()));let s={...r.query};e.credentialToken&&(s.token=e.credentialToken);let a=(0,c.B7)(s);(0,i.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;p="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||l>m.maxUrlLength;const d=r.useProxy||!!(0,c.ed)(t);if(d){const e=(0,c.b7)(t);u=e.path,!p&&u.length+1+l>m.maxUrlLength&&(p=!0),e.query&&(s={...e.query,...s})}if("HEAD"===n.method&&(p||d)){if(p){if(l>m.maxUrlLength)throw E("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw E("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(d)throw E("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(p?(n.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,c.fl)(t,s):(n.body=(0,c.B7)(s),n.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,c.fl)(t,s),d&&(e.useProxy=!0,t=`${u}?${t}`),s.token&&y&&n.body instanceof FormData){const e=n.body;e.set?e.set("token",s.token):e.append("token",s.token)}if(r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,c.D6)(t,(0,c.TI)()))if((0,c.kl)(t))e.withCredentials=!0;else if(o.id){const r=o.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(n.credentials="include")}let d,f,g=0,v=!1;l>0&&(g=setTimeout((()=>{v=!0,e.controller.abort()}),l));try{if("native-request-init"===r.responseType)f=n,f.url=t;else if("image"!==r.responseType||"default"!==n.cache||"GET"!==n.method||p||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!s&&!e.useProxy&&m.proxyUrl&&!_(t)){if(d=await h._abortableFetch(t,n),e.useProxy||function(e){const t=(0,c.P$)(e);t&&!h._corsServers.includes(t)&&h._corsServers.push(t)}(t),"native"===r.responseType)f=d;else if("HEAD"!==n.method)if(d.ok){switch(a){case"array-buffer":f=await d.arrayBuffer();break;case"blob":case"image":f=await d.blob();break;default:f=await d.text()}if(g&&(clearTimeout(g),g=0),"json"===a||"xml"===a||"document"===a)if(f)switch(a){case"json":f=JSON.parse(f);break;case"xml":f=q(f,"application/xml");break;case"document":f=q(f,"text/html")}else f=null;if(f){if("array-buffer"===a||"blob"===a){const e=d.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&f["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(f).json();e.error&&(f=e)}catch{}}"image"===a&&f instanceof Blob&&(f=await T(URL.createObjectURL(f),e,!0))}}else f=await d.text()}else f=await T(t,e)}catch(n){if("AbortError"===n.name){if(v)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!d&&n instanceof TypeError&&m.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||_(t))throw n;e.redoRequest=!0,(0,c.tD)({proxyUrl:m.proxyUrl,urlPrefix:(0,c.P$)(t)})}finally{g&&clearTimeout(g)}return[d,f]}function q(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function I(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const n=e.params.requestOptions;if(!t||"native"===n.responseType||"native-request-init"===n.responseType)return!0;let s,i,a,l;if(!t.ok)throw s=new Error(`Unable to load ${t.url} status: ${t.status}`),s[O]=r,s;null!=r&&r.error&&(s=r.error),s&&(i=Number(s.code),a=s.hasOwnProperty("subcode")?Number(s.subcode):null,l=s.messageCode,l=l&&l.toUpperCase());const u=n.authMode;if(403===i&&(4===a||s.message&&s.message.toLowerCase().indexOf("ssl")>-1&&-1===s.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===i)&&-1!==g.indexOf(i)&&!S(e.params.url)&&(403!==i||-1===v.indexOf(l)&&(null==a||2===a&&e.credentialToken))){await x();try{const t=await o.id.getCredential(e.params.url,{error:E("request:server",s,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=null,e.credentialToken=null,!1;s=t}}if(s)throw s;return!0}function T(e,t,r=!1){const n=t.controller.signal,o=new Image;return t.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.src=e,(0,d.f)(o,e,r,n)}h._abortableFetch=null,h._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},71058:(e,t,r)=>{r.d(t,{r:()=>s});var n=r(17452);const o=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function s(e){const t=(0,n.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!o.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{f:()=>i});var n=r(80442),o=r(70586),s=r(95330);function i(e,t,r=!1,i){return new Promise(((l,u)=>{if((0,s.Hc)(i))return void u(a());let c=()=>{h(),u(new Error(`Unable to load ${t}`))},p=()=>{const t=e;h(),l(t)},d=()=>{if(!e)return;const t=e;h(),t.src="",u(a())};const h=()=>{(0,n.Z)("esri-image-decode")||(e.removeEventListener("error",c),e.removeEventListener("load",p)),c=null,p=null,e=null,(0,o.pC)(i)&&i.removeEventListener("abort",d),d=null,r&&URL.revokeObjectURL(t)};(0,o.pC)(i)&&i.addEventListener("abort",d),(0,n.Z)("esri-image-decode")?e.decode().then(p,c):(e.addEventListener("error",c),e.addEventListener("load",p))}))}function a(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2785],{43697:(t,e,r)=>{function n(t,e,r,n){var s,i=arguments.length,o=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}r.d(e,{_:()=>n})},15923:(t,e,r)=>{r.d(e,{Z:()=>j});var n=r(60235),s=r(92604),i=r(67723),o=r(97831),a=r(7628),l=(r(80442),r(22974)),c=r(71143),u=r(31263),h=r(58971),f=r(44550),d=r(39020);class p{constructor(t,e,r){this.properties=t,this.propertyName=e,this.metadata=r,this._observers=null,this._accessed=null,this._handles=null,this.flags=f.v.Dirty|(r.nonNullable?f.v.NonNullable:0)|(r.hasOwnProperty("value")?f.v.HasDefaultValue:0)|(void 0===r.get?f.v.DepTrackingInitialized:0)|(void 0===r.dependsOn?f.v.AutoTracked:0)}destroy(){this._accessed=null,this._observers=null,this._clearObservationHandles()}getComputed(){(0,h.it)(this);const t=this.properties.store,e=this.propertyName,r=this.flags,n=t.get(e);if(r&f.v.Computing)return n;if(~r&f.v.Dirty&&t.has(e))return n;this.flags|=f.v.Computing;const s=this.properties.host;let i;r&f.v.AutoTracked?i=(0,h.LJ)(this,this.metadata.get,s):((0,h.GF)(s,this),i=this.metadata.get.call(s)),t.set(e,i,u.s3.COMPUTED);const o=t.get(e);return o===n?this.flags&=~f.v.Dirty:(0,h.gb)(this.commit,this),this.flags&=~f.v.Computing,o}onObservableAccessed(t){t!==this&&(null===this._accessed&&(this._accessed=[]),this._accessed.includes(t)||this._accessed.push(t))}onTrackingEnd(){this._clearObservationHandles(),this.flags|=f.v.DepTrackingInitialized;const t=this._accessed;if(null===t)return;let e=this._handles;null===e&&(e=this._handles=[]);for(let r=0;r<t.length;++r)e.push(t[r].observe(this));t.length=0}observe(t){return null===this._observers&&(this._observers=[]),this._observers.includes(t)||this._observers.push(t),new d.X(this._observers,t)}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}onInvalidated(){~this.flags&f.v.Overriden&&(this.flags|=f.v.Dirty);const t=this._observers;if(null!==t)for(let e=0;e<t.length;++e)t[e].onInvalidated()}commit(){this.flags&=~f.v.Dirty,this.onCommitted()}onCommitted(){if(null===this._observers)return;const t=this._observers.slice();for(let e=0;e<t.length;++e)t[e].onCommitted()}_clearObservationHandles(){const t=this._handles;if(null!==t){for(let e=0;e<t.length;++e)t[e].remove();t.length=0}}}class g{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new g;return this._values.forEach(((r,n)=>{t&&t.has(n)||e.set(n,(0,l.d9)(r))})),e}get(t){return this._values.get(t)}originOf(){return u.s3.USER}keys(){return[...this._values.keys()]}set(t,e){this._values.set(t,e)}delete(t){this._values.delete(t)}has(t){return this._values.has(t)}forEach(t){this._values.forEach(t)}}var y=r(1153);function v(t,e,r){return void 0!==t}function _(t,e,r,n){return!(void 0===t||null==r&&t.flags&f.v.NonNullable&&(n.lifecycle,o.F.INITIALIZING,1))}function m(t){return t&&"function"==typeof t.destroy}s.Z.getLogger("esri.core.accessorSupport.Properties");class w{constructor(t){this.host=t,this.properties=new Map,this.ctorArgs=null,this.destroyed=!1,this.lifecycle=o.F.INITIALIZING,this.store=new g,this._origin=u.s3.USER;const e=this.host.constructor.__accessorMetadata__,r=e.properties;for(const t in r){const e=new p(this,t,r[t]);this.properties.set(t,e)}this.metadatas=r,this._autoDestroy=e.autoDestroy}initialize(){this.lifecycle=o.F.CONSTRUCTING}constructed(){this.lifecycle=o.F.CONSTRUCTED}destroy(){if(this.destroyed=!0,this._autoDestroy)for(const[t,e]of this.properties){const r=this.internalGet(t);r&&m(r)&&(r.destroy(),~e.flags&f.v.NonNullable&&this._internalSet(e,null)),e.destroy()}else for(const[t,e]of this.properties)e.destroy()}get initialized(){return this.lifecycle!==o.F.INITIALIZING}get(t){const e=this.properties.get(t);if(e.metadata.get)return e.getComputed();(0,h.it)(e);const r=this.store;return r.has(t)?r.get(t):e.metadata.value}originOf(t){const e=this.store.originOf(t);if(void 0===e){const e=this.properties.get(t);if(void 0!==e&&e.flags&f.v.HasDefaultValue)return"defaults"}return(0,u.x3)(e)}has(t){return!!this.properties.has(t)&&this.store.has(t)}keys(){return[...this.properties.keys()]}internalGet(t){const e=this.properties.get(t);if(v(e))return this.store.has(t)?this.store.get(t):e.metadata.value}internalSet(t,e){const r=this.properties.get(t);v(r)&&this._internalSet(r,e)}getDependsInfo(t,e,r){const n=this.properties.get(e);if(!v(n))return"";const s=new Set,i=(0,h.LJ)({onObservableAccessed:t=>s.add(t),onTrackingEnd:()=>{}},(()=>{var e;return null==(e=n.metadata.get)?void 0:e.call(t)}));let o=`${r}${t.declaredClass.split(".").pop()}.${e}: ${i}\n`;if(0===s.size)return o;r+=" ";for(const t of s){if(!(t instanceof p))continue;const e=t.properties.host,n=t.propertyName,s=(0,y.vw)(e);o+=s?s.getDependsInfo(e,n,r):`${r}${n}: undefined\n`}return o}setAtOrigin(t,e,r){const n=this.properties.get(t);if(v(n))return this._setAtOrigin(n,e,r)}isOverridden(t){const e=this.properties.get(t);return void 0!==e&&!!(e.flags&f.v.Overriden)}clearOverride(t){const e=this.properties.get(t);void 0!==e&&e.flags&f.v.Overriden&&(e.flags&=~f.v.Overriden,e.notifyChange())}override(t,e){const r=this.properties.get(t);if(!_(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(b.release(t),!r)return;e=s}r.flags|=f.v.Overriden,this._internalSet(r,e)}set(t,e){const r=this.properties.get(t);if(!_(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(b.release(t),!r)return;e=s}const s=r.metadata.set;s?s.call(this.host,e):this._internalSet(r,e)}setDefaultOrigin(t){this._origin=(0,u.M9)(t)}getDefaultOrigin(){return(0,u.x3)(this._origin)}notifyChange(t){const e=this.properties.get(t);void 0!==e&&e.notifyChange()}invalidate(t){const e=this.properties.get(t);void 0!==e&&e.invalidate()}commit(t){const e=this.properties.get(t);void 0!==e&&e.commit()}_internalSet(t,e){const r=this.lifecycle!==o.F.INITIALIZING?this._origin:u.s3.DEFAULTS;this._setAtOrigin(t,e,r)}_setAtOrigin(t,e,r){const n=this.store,s=t.propertyName;n.has(s,r)&&(0,l.fS)(e,n.get(s))&&~t.flags&f.v.Overriden&&r===n.originOf(s)||(t.invalidate(),n.set(s,e,r),t.commit(),(0,h.mS)(this.host,t))}_cast(t,e){const r=b.acquire();return r.valid=!0,r.value=e,t&&(r.value=t.call(this.host,e,r)),r}}const b=new c.Z(class{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}});var A=r(37697),O=r(26258),S=r(5600),T=r(52011);function E(t){if(null==t)return{value:t};if(Array.isArray(t))return{type:[t[0]],value:null};switch(typeof t){case"object":return t.constructor&&t.constructor.__accessorMetadata__||t instanceof Date?{type:t.constructor,value:t}:t;case"boolean":return{type:Boolean,value:t};case"string":return{type:String,value:t};case"number":return{type:Number,value:t};case"function":return{type:t,value:null};default:return}}class j{constructor(...t){if(this.constructor===j)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");Object.defineProperty(this,"__accessor__",{enumerable:!1,value:new w(this)}),t.length>0&&this.normalizeCtorArgs&&(this.__accessor__.ctorArgs=this.normalizeCtorArgs.apply(this,t))}static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");const{properties:e,declaredClass:r,constructor:n}=t;delete t.declaredClass,delete t.properties,delete t.constructor;const s=this;class i extends s{constructor(...t){super(...t),this.inherited=null,n&&n.apply(this,t)}}(0,a.JT)(i.prototype);for(const e in t){const r=t[e];i.prototype[e]="function"==typeof r?function(...t){const n=this.inherited;let i;this.inherited=function(...t){if(s.prototype[e])return s.prototype[e].apply(this,t)};try{i=r.apply(this,t)}catch(t){throw this.inherited=n,t}return this.inherited=n,i}:t[e]}for(const t in e){const r=E(e[t]);(0,S.Cb)(r)(i.prototype,t)}return(0,T.j)(r)(i)}postscript(t){const e=this.__accessor__,r=e.ctorArgs||t;e.initialize(),r&&(this.set(r),e.ctorArgs=null),e.constructed(),this.initialize()}initialize(){}destroy(){this.destroyed||((0,O.BT)(this),this.__accessor__.destroy())}get initialized(){return this.__accessor__&&this.__accessor__.initialized||!1}get constructed(){return this.__accessor__&&this.__accessor__.lifecycle===o.F.CONSTRUCTED||!1}get destroyed(){return this.__accessor__&&this.__accessor__.destroyed||!1}commitProperty(t){this.get(t)}get(t){return(0,i.U2)(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}isInstanceOf(t){return(0,n.XV)(s.Z.getLogger(this.declaredClass),"isInstanceOf",{replacement:"Use instanceof directly",version:"4.16"}),this instanceof t}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,e){return(0,A.t)(this,t,e),this}watch(t,e,r){return(0,O.YP)(this,t,e,r)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_override(t,e){return this.__accessor__.override(t,e)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,e){return this.__accessor__.internalSet(t,e),this}}},3894:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(71143);function s(t){t.length=0}class i{constructor(t=50,e=50){this._pool=new n.Z(Array,void 0,s,e,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(t){return o.release(t)}static prune(){o.prune()}}const o=new i(100)},96674:(t,e,r)=>{r.d(e,{wq:()=>v,eC:()=>g});var n=r(43697),s=r(15923),i=r(70586),o=r(22974),a=r(31263);class l{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new l;return this._values.forEach(((r,n)=>{t&&t.has(n)||e.set(n,(0,o.d9)(r.value),r.origin)})),e}get(t,e){e=this._normalizeOrigin(e);const r=this._values.get(t);return null==e||(null==r?void 0:r.origin)===e?null==r?void 0:r.value:void 0}originOf(t){var e,r;return null!=(e=null==(r=this._values.get(t))?void 0:r.origin)?e:a.s3.USER}keys(t){t=this._normalizeOrigin(t);const e=[...this._values.keys()];return null==t?e:e.filter((e=>{var r;return(null==(r=this._values.get(e))?void 0:r.origin)===t}))}set(t,e,r){if((r=this._normalizeOrigin(r))===a.s3.DEFAULTS){const e=this._values.get(t);if(e&&null!=e.origin&&e.origin>r)return}this._values.set(t,new c(e,r))}delete(t,e){var r;null!=(e=this._normalizeOrigin(e))&&(null==(r=this._values.get(t))?void 0:r.origin)!==e||this._values.delete(t)}has(t,e){var r;return null!=(e=this._normalizeOrigin(e))?(null==(r=this._values.get(t))?void 0:r.origin)===e:this._values.has(t)}forEach(t){this._values.forEach((({value:e},r)=>t(e,r)))}_normalizeOrigin(t){if(null!=t)return t===a.s3.DEFAULTS?t:a.s3.USER}}class c{constructor(t,e){this.value=t,this.origin=e}}var u=r(41103),h=r(50549),f=r(1153),d=r(76169),p=r(52011);const g=t=>{let e=class extends t{constructor(...t){super(...t);const e=(0,i.j0)((0,f.vw)(this)),r=e.store,n=new l;e.store=n,(0,u.M)(e,r,n)}read(t,e){(0,h.i)(this,t,e)}write(t={},e){return(0,d.c)(this,t,e)}toJSON(t){return this.write({},t)}static fromJSON(t,e){return y.call(this,t,e)}};return e=(0,n._)([(0,p.j)("esri.core.JSONSupport")],e),e.prototype.toJSON.isDefaultToJSON=!0,e};function y(t,e){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const r=new this;return r.read(t,e),r}let v=class extends(g(s.Z)){};v=(0,n._)([(0,p.j)("esri.core.JSONSupport")],v)},30175:(t,e,r)=>{function n(t,e,r){const n=t.get(e);if(void 0!==n)return n;const s=r();return t.set(e,s),s}r.d(e,{s1:()=>n})},71143:(t,e,r)=>{r.d(e,{Z:()=>n});class n{constructor(t,e,r,n=1,s=0){if(this.ctor=t,this.acquireFunction=e,this.releaseFunction=r,this.allocationSize=n,this._pool=new Array(s),this._initialSize=s,this.ctor)for(let t=0;t<s;t++)this._pool[t]=new this.ctor;this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){let e;if(n.test.disabled)e=new this.ctor;else{if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=new this.ctor}e=this._pool.pop()}return this.acquireFunction?this.acquireFunction(e,...t):function(t){return t&&t.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&!n.test.disabled&&(this.releaseFunction?this.releaseFunction(t):(e=t)&&e.release&&"function"==typeof e.release&&t.release(),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}n.test={disabled:!1}},54790:(t,e,r)=>{r.d(e,{Z:()=>n});class n{constructor(t,e=29){this.name=t,this._counter=0,this._items=new Array(e)}record(t){this._items[++this._counter%this._items.length]=t}get median(){return this._items.slice().sort(((t,e)=>t-e))[Math.floor(this._items.length/2)]}get average(){return this._items.reduce(((t,e)=>t+e),0)/this._items.length}get last(){return this._items[this._counter%this._items.length]}}},44553:(t,e,r)=>{r.d(e,{Z:()=>o});var n,s=r(67676);!function(t){const e=(t,e,r,n)=>{let s=e,i=e;const o=r>>>1,a=t[s-1];for(;i<=o;){i=s<<1,i<r&&n(t[i-1],t[i])<0&&++i;const e=t[i-1];if(n(e,a)<=0)break;t[s-1]=e,s=i}t[s-1]=a},r=(t,e)=>t<e?-1:t>e?1:0;t.sort=function(t,n,s,i){void 0===n&&(n=0),void 0===s&&(s=t.length),void 0===i&&(i=r);for(let r=s>>>1;r>n;r--)e(t,r,s,i);const o=n+1;for(let r=s-1;r>n;r--){const s=t[n];t[n]=t[r],t[r]=s,e(t,o,r,i)}},t.iterableSort=function*(t,n,s,i){void 0===n&&(n=0),void 0===s&&(s=t.length),void 0===i&&(i=r);for(let r=s>>>1;r>n;r--)e(t,r,s,i),yield;const o=n+1;for(let r=s-1;r>n;r--){const s=t[n];t[n]=t[r],t[r]=s,e(t,o,r,i),yield}}}(n||(n={}));const i=n;class o{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new s.SO,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>a(this)))}toArray(){return this.data.slice(0,this.length)}getItemAt(t){if(!(t<0||t>=this._length))return this.data[t]}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,a(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,s.cq)(this.data,t,this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){const e=(0,s.e$)(this.data,t,this.length,this._hint);return void 0!==e&&(this.length=this.length-1),this._shrink(),e}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,s.FY)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){t>=this.length||e>=this.length||t===e||([this.data[t],this.data[e]]=[this.data[e],this.data[t]])}sort(t){i.sort(this.data,0,this.length,t)}iterableSort(t){return i.iterableSort(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const s=this.data[n];t.call(e,s,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=s,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const r=this.length,n=this.data;for(let s=0;s<r;++s)t.call(e,n[s],s,n)}forEach(t,e){for(let r=0;r<this.length;++r)t.call(e,this.data[r],r,this.data)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}}function a(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},20941:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(58896);class s extends n.Z{constructor(t,e,r){if(super(t,e,r),!(this instanceof s))return new s(t,e,r)}}s.prototype.type="warning"},31263:(t,e,r)=>{r.d(e,{s3:()=>n,kk:()=>o,x3:()=>l,Wm:()=>c,M9:()=>a});var n,s,i=r(70586);(s=n||(n={}))[s.DEFAULTS=0]="DEFAULTS",s[s.COMPUTED=1]="COMPUTED",s[s.SERVICE=2]="SERVICE",s[s.PORTAL_ITEM=3]="PORTAL_ITEM",s[s.WEB_SCENE=4]="WEB_SCENE",s[s.WEB_MAP=5]="WEB_MAP",s[s.USER=6]="USER";const o=n.USER+1;function a(t){switch(t){case"defaults":return n.DEFAULTS;case"service":return n.SERVICE;case"portal-item":return n.PORTAL_ITEM;case"web-scene":return n.WEB_SCENE;case"web-map":return n.WEB_MAP;case"user":return n.USER}}function l(t){switch(t){case n.DEFAULTS:return"defaults";case n.SERVICE:return"service";case n.PORTAL_ITEM:return"portal-item";case n.WEB_SCENE:return"web-scene";case n.WEB_MAP:return"web-map";case n.USER:return"user"}return(0,i.j0)(void 0)}function c(t){return l(t)}},90578:(t,e,r)=>{r.d(e,{p:()=>l});var n=r(75215),s=r(7628);const i=Object.prototype.toString;function o(t){const e="__accessorMetadata__"in t?(0,n.se)(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,t)}}function a(t,e,r,n){(0,s.VZ)(t,e).cast=n}function l(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===i.call(t[0])?o(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return function(e,r){(0,s.VZ)(e,t).cast=e[r]}}(t[0]):void 0}},5600:(t,e,r)=>{r.d(e,{Eg:()=>u,Cb:()=>l,CJ:()=>c});var n=r(92604),s=r(75215),i=r(67723),o=r(7628),a=r(37697);function l(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);const l=Object.getOwnPropertyDescriptor(e,r),c=(0,o.VZ)(e,r);l&&(l.get||l.set?(c.get=l.get||c.get,c.set=l.set||c.set):"value"in l&&("value"in t&&n.Z.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),c.value=t.value=l.value)),null!=t.readOnly&&(c.readOnly=t.readOnly);const h=t.aliasOf;if(h){const t="string"==typeof h?h:h.source,e="string"==typeof h?null:!0===h.overridable;let n;c.dependsOn=[t],c.get=function(){let e=(0,i.U2)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.U2)(this,n);r&&(e=e.bind(r))}return e},c.readOnly||(c.set=e?function(t){void 0!==t?this._override(r,t):this._clearOverride(r)}:function(e){(0,a.t)(this,t,e)})}const f=t.type,d=t.types;c.cast||(f?c.cast=function(t){let e=0,r=t;if((0,s.AY)(t))return(0,s.sY)(t);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],e++;const n=r;if((0,s.gB)(n))return 0===e?(0,s.i$)(n):(0,s.Iu)((0,s.i$)(n),e);if(1===e)return(0,s.rY)(n);if(e>1)return(0,s.di)(n,e);const i=t;return i.from?i.from:(0,s.se)(i)}(f):d&&(Array.isArray(d)?c.cast=(0,s.Ls)((0,s.N7)(d[0])):c.cast=(0,s.N7)(d))),t.range&&(c.cast=u(c.cast,t.range)),(0,o.tz)(c,t)}}function c(t,e,r){const n=(0,o.VZ)(t,r);n.json||(n.json={});let s=n.json;return void 0!==e&&(s.origins||(s.origins={}),s.origins[e]||(s.origins[e]={}),s=s.origins[e]),s}function u(t,e){return r=>{let n=+t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}},52011:(t,e,r)=>{r.d(e,{j:()=>c}),r(80442);var n=r(97831),s=r(7628),i=r(58971),o=r(53906);const a=new Set,l=new Set;function c(t){return e=>{e.prototype.declaredClass=t,h(e);const r=[],n=[];let i=e.prototype;for(;i;)i.hasOwnProperty("initialize")&&!a.has(i.initialize)&&(a.add(i.initialize),r.push(i.initialize)),i.hasOwnProperty("destroy")&&!l.has(i.destroy)&&(l.add(i.destroy),n.push(i.destroy)),i=Object.getPrototypeOf(i);a.clear(),l.clear();class o extends e{constructor(...t){if(super(...t),this.constructor===o&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){t=!0;for(let t=0;t<n.length;t++)n[t].call(this)}}})}this.postscript(...t)}}}return o.__accessorMetadata__=(0,s.JT)(e.prototype),o.prototype.declaredClass=t,o}}function u(t,e){return null==e.get?function(){const e=this.__accessor__.properties.get(t);if(void 0===e)return;(0,i.it)(e);const r=this.__accessor__.store;return r.has(t)?r.get(t):e.metadata.value}:function(){const e=this.__accessor__.properties.get(t);if(void 0!==e)return e.getComputed()}}function h(t){const e=t.prototype,r=(0,s.JT)(e).properties,i={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];(0,o.OM)(e),i[t]={enumerable:!0,configurable:!0,get:u(t,e),set(r){const s=this.__accessor__;if(void 0!==s){if(!Object.isFrozen(this)){if(s.initialized&&e.readOnly)throw new TypeError(`[accessor] cannot assign to read-only property '${t}' of ${this.declaredClass}`);if(s.lifecycle===n.F.CONSTRUCTED&&e.constructOnly)throw new TypeError(`[accessor] cannot assign to construct-only property '${t}' of ${this.declaredClass}`);s.set(t,r)}}else Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}}}Object.defineProperties(t.prototype,i)}},41103:(t,e,r)=>{r.d(e,{M:()=>s});var n=r(31263);function s(t,e,r){e.keys().forEach((t=>{r.set(t,e.get(t),n.s3.DEFAULTS)}));const s=t.metadatas;Object.keys(s).forEach((e=>{t.internalGet(e)&&r.set(e,t.internalGet(e),n.s3.DEFAULTS)}))}},75215:(t,e,r)=>{r.d(e,{z8:()=>k,rY:()=>A,Ls:()=>b,TJ:()=>y,vU:()=>u,sY:()=>D,di:()=>T,Iu:()=>S,q9:()=>c,i$:()=>j,N7:()=>N,Zs:()=>l,se:()=>w,AY:()=>I,gB:()=>E,V5:()=>C}),r(80442);var n=r(92604),s=r(30175);const i=n.Z.getLogger("esri.core.Accessor");function o(t){return null==t?t:new Date(t)}function a(t){return null==t?t:!!t}function l(t){return null==t?t:t.toString()}function c(t){return null==t?t:(t=parseFloat(t),isNaN(t)?0:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function h(t){return t&&t.constructor&&void 0!==t.constructor.__accessorMetadata__}function f(t,e){return null!=e&&t&&!(e instanceof t)}function d(t){return t&&"isCollection"in t}function p(t){return t&&t.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function g(t,e){return!!h(e)&&(i.error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+v(t)+"'"),!0)}function y(t,e){return null==e?e:d(t)?function(t,e){if(!e||!e.constructor||!d(e.constructor))return g(t,e)?e:new t(e);const r=p(t.prototype.itemType),n=p(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(g(t,e),e):new t(e):e}(t,e):f(t,e)?g(t,e)?e:new t(e):e}function v(t){return t&&t.prototype&&t.prototype.declaredClass||"unknown"}const _=new WeakMap;function m(t){switch(t){case Number:return c;case k:return u;case Boolean:return a;case String:return l;case Date:return o;default:return(0,s.s1)(_,t,(()=>y.bind(null,t)))}}function w(t,e){const r=m(t);return 1===arguments.length?r:r(e)}function b(t,e,r){return 1===arguments.length?b.bind(null,t):e?Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]:e}function A(t,e){return 1===arguments.length?b(w.bind(null,t)):b(w.bind(null,t),e)}function O(t,e,r){return 0!==e&&Array.isArray(r)?r.map((r=>O(t,e-1,r))):t(r)}function S(t,e,r){if(2===arguments.length)return S.bind(null,t,e);if(!r)return r;let n=e,s=r=O(t,e,r);for(;n>0&&Array.isArray(s);)n--,s=s[0];if(void 0!==s)for(let t=0;t<n;t++)r=[r];return r}function T(t,e,r){return 2===arguments.length?S(w.bind(null,t),e):S(w.bind(null,t),e,r)}function E(t){return!!Array.isArray(t)&&!t.some((e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)}))}function j(t,e){if(2===arguments.length)return j(t).call(null,e);const r=new Set,n=t.filter((t=>"function"!=typeof t)),s=t.filter((t=>"function"==typeof t));for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let o=null,a=null;return(t,e)=>{if(null==t)return t;const l=typeof t,c="string"===l||"number"===l;return c&&(r.has(t)||s.some((t=>"string"===l&&t===String||"number"===l&&t===Number)))||"object"===l&&s.some((e=>!f(t,e)))?t:(c&&n.length?(o||(o=n.map((t=>"string"==typeof t?`'${t}'`:`${t}`)).join(", ")),i.error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof t&&s.length?(a||(a=s.map((t=>v(t))).join(", ")),i.error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):i.error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function N(t,e){if(2===arguments.length)return N(t).call(null,e);const r={},n=[],s=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=w(i),n.push(v(i)),s.push(e)}const o=()=>`'${n.join("', '")}'`,a=()=>`'${s.join("', '")}'`,l="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!f(t.base,e))return e;if(null==e)return e;const n=l(e)||t.defaultKeyValue,s=r[n];if(!s)return i.error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!f(t.typeMap[n],e))return e;if("string"==typeof t.key&&!h(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return s(r)}return s(e)}}class k{}const C={native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})};function I(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function D(t){switch(t.type){case"native":return w(t.value);case"array":return b(D(t.value));case"one-of":return function(t){let e=null;return(r,n)=>U(r,t)?r:(null==e&&(e=M(t)),i.error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function M(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case k:return"integer";case Date:return"date";default:return v(t.value)}case"array":return`array of ${M(t.value)}`;case"one-of":{const e=t.values.map((t=>M(t)));return`one of ${e.slice(0,e.length-1)} or ${e[e.length-1]}`}}return"unknown"}function U(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case k:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some((t=>!U(t,e.value)));case"one-of":return e.values.some((e=>U(t,e)))}}},53906:(t,e,r)=>{r.d(e,{hk:()=>f,HS:()=>u,Ah:()=>h,OM:()=>y});var n=r(75215),s=r(63213);function i(t){if(t.json||(t.json={}),a(t.json),l(t.json),o(t.json),t.json.origins)for(const e in t.json.origins)a(t.json.origins[e]),l(t.json.origins[e]),o(t.json.origins[e]);return!0}function o(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function a(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function l(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var c=r(827);function u(t,e){return f(t,"read",e)}function h(t,e){return f(t,"write",e)}function f(t,e,r){let n=t&&t.json;if(t&&t.json&&t.json.origins&&r){const s=t.json.origins[r.origin];s&&("any"===e||e in s)&&(n=s)}return n}function d(t){return t.type?p(t):g(t)}function p(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,n.gB)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function g(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function y(t){i(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach((t=>{e[t]=n})),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?g(t.json):t.type?p(t):g(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],i=n.types?d(n):e;(0,s.U)(i,n,!1),n.types&&!n.write&&t.json.write&&t.json.write.enabled&&(n.write={...t.json.write}),(0,c.U)(i,n)}(0,s.U)(e,t.json,!0),(0,c.U)(e,t.json)}(t))}},63213:(t,e,r)=>{r.d(e,{U:()=>c,d:()=>u});var n=r(92604),s=r(78286),i=r(20941),o=r(7628),a=r(14062);const l=n.Z.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(t,e,r){var n,i;t&&(!r&&!e.read||null!=(n=e.read)&&n.reader||!1===(null==(i=e.read)?void 0:i.enabled)||function(t){return"types"in t?y(t.types):g(t.type)}(t)&&(0,s.RB)("read.reader",u(t),e))}function u(t){var e;const r=null!=(e=t.ndimArray)?e:0;if(r>1)return function(t){var e;const r=h(t),n=f.bind(null,r),s=null!=(e=t.ndimArray)?e:0;return(t,e,r)=>{if(null==t)return t;t=n(t,r,s);let i=s,o=t;for(;i>0&&Array.isArray(o);)i--,o=o[0];if(void 0!==o)for(let e=0;e<i;e++)t=[t];return t}}(t);if(1===r)return d(t);if("type"in t&&p(t.type)){var n,s;const e=null==(n=t.type.prototype)||null==(s=n.itemType)?void 0:s.Type,r=d("function"==typeof e?{type:e}:{types:e});return(e,n,s)=>{const i=r(e,n,s);return i?new t.type(i):i}}return h(t)}function h(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const s=typeof e;if("object"!==s)return void l.error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${s}'`);const i=new t;return i.read(e,n),i}:t.fromJSON}(t.type):function(t){var e;let r=null;const n=null!=(e=t.errorContext)?e:"type";return(e,s,a)=>{if(null==e)return e;const c=typeof e;if("object"!==c)return void l.error(`Expected JSON value of type 'object' to deserialize, but got '${c}'`);r||(r=function(t){const e={};for(const s in t.typeMap){var r,n;const i=t.typeMap[s],a=(0,o.JT)(i.prototype);if("function"==typeof t.key)continue;const l=a.properties[t.key];if(!l)continue;null!=(r=l.json)&&r.type&&Array.isArray(l.json.type)&&1===l.json.type.length&&"string"==typeof l.json.type[0]&&(e[l.json.type[0]]=i);const c=null==(n=l.json)?void 0:n.write;if(!c||!c.writer){e[s]=i;continue}const u=c.target,h="string"==typeof u?u:t.key,f={};c.writer(s,f,h),f[h]&&(e[f[h]]=i)}return e}(t));const u=t.key;if("string"!=typeof u)return;const h=e[u],f=h?r[h]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!f){const t=`Type '${h||"unknown"}' is not supported`;return a&&a.messages&&e&&a.messages.push(new i.Z(`${n}:unsupported`,t,{definition:e,context:a})),void l.error(t)}const d=new f;return d.read(e,a),d}}(t.types)}function f(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map((e=>f(t,e,r,n-1))):t(e,void 0,r)}function d(t){const e=h(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const s of t){const t=e(s,void 0,n);void 0!==t&&r.push(t)}return r}const s=e(t,void 0,n);return void 0!==s?[s]:void 0}}function p(t){if(!(0,a.u)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):y(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||p(t))}function y(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},14062:(t,e,r)=>{function n(t){return!!t&&t.prototype&&t.prototype.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{u:()=>n})},827:(t,e,r)=>{r.d(e,{U:()=>l,k:()=>f});var n=r(20102),s=r(92604),i=r(78286),o=r(14062);const a=s.Z.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer");function l(t,e){var r;if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const n=null!=(r=null==t?void 0:t.ndimArray)?r:0;t&&(1===n||"type"in t&&(0,o.u)(t.type))?e.write.writer=d:n>1?e.write.writer=function(t){return function(e,r,n,s){let o;if(null===e)o=null;else{o=p(e,s,t);let r=t,n=o;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)o=[o]}(0,i.RB)(n,o,r)}}(n):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,s)=>e&&Array.isArray(e)?u(e.filter((e=>c(e,t,s))),r,n,s):u(e,r,n,s)}(e.types[0]):e.write.writer=function(t){return(e,r,n,s)=>e?c(e,t,s)?u(e,r,n,s):void 0:u(e,r,n,s)}(e.types):e.write.writer=u}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(null!=r&&r.messages){var s,i;const o=null!=(s=e.errorContext)?s:"type",l=`Values of type '${null!=(i="function"!=typeof e.key?t[e.key]:t.declaredClass)?i:"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new n.Z(`${o}:unsupported`,l,{definition:t,context:r})),a.error(l)}return!1}function u(t,e,r,n){(0,i.RB)(r,h(t,n),e)}function h(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?f(t):t}function f(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function d(t,e,r,n){let s;null===t?s=null:t&&"function"==typeof t.map?(s=t.map((t=>h(t,n))),"function"==typeof s.toArray&&(s=s.toArray())):s=[h(t,n)],(0,i.RB)(r,s,e)}function p(t,e,r){return 0!==r&&Array.isArray(t)?t.map((t=>p(t,e,r-1))):h(t,e)}},67723:(t,e,r)=>{r.d(e,{Gg:()=>l,U2:()=>a,$z:()=>o});var n=r(1153);function s(t,e){const r="?"===t[t.length-1]?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.getItemAt(t)}const s=(0,n.vw)(e);return(0,n.b6)(s,r)?s.get(r):e[r]}function i(t,e,r){if(null==t)return t;const n=s(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:i(n,e,r+1)}function o(t,e,r=0){return"string"==typeof e&&-1===e.indexOf(".")?s(e,t):i(t,(0,n.NI)(e),r)}function a(t,e){return o(t,e)}function l(t,e){return void 0!==o(e,t)}},97831:(t,e,r)=>{var n;r.d(e,{F:()=>n}),function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED"}(n||(n={}))},7628:(t,e,r)=>{r.d(e,{JT:()=>a,VZ:()=>l,tz:()=>c});var n=r(22974),s=r(70586),i=r(1153);class o{constructor(t){this.autoDestroy=!1,this.properties=t}}function a(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){const r=Object.create(e.properties),s=e.autoDestroy;for(const t in r)r[t]=(0,n.d9)(r[t]);e=new o(r),e.autoDestroy=s,Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e=new o({}),Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return(0,s.j0)(t.constructor.__accessorMetadata__)}function l(t,e){const r=function(t){return a(t).properties}(t);let n=r[e];return n||(n=r[e]={}),n}function c(t,e){return(0,i.TS)(t,e,h)}const u=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function h(t){return u.test(t)?"replace":"merge"}},50549:(t,e,r)=>{r.d(e,{i:()=>u,$:()=>h});var n=r(67723),s=r(1153),i=r(53906);function o(t,e,r){if(!t||!t.read||!1===t.read.enabled||!t.read.source)return!1;const s=t.read.source;if("string"==typeof s){if(s===e)return!0;if(s.indexOf(".")>-1&&0===s.indexOf(e)&&(0,n.Gg)(s,r))return!0}else for(const t of s){if(t===e)return!0;if(t.indexOf(".")>-1&&0===t.indexOf(e)&&(0,n.Gg)(t,r))return!0}return!1}function a(t,e,r,n,s){let a=(0,i.HS)(e[r],s);(function(t){return t&&(!t.read||!1!==t.read.enabled&&!t.read.source)})(a)&&(t[r]=!0);for(const l of Object.getOwnPropertyNames(e))a=(0,i.HS)(e[l],s),o(a,r,n)&&(t[l]=!0)}function l(t,e,r,n){const s=r.metadatas,o=(0,i.hk)(s[e],"any",n),a=o&&o.default;if(void 0===a)return;const l="function"==typeof a?a.call(t,e,n):a;void 0!==l&&r.set(e,l)}const c={origin:"service"};function u(t,e,r=c){if(!e||"object"!=typeof e)return;const o=(0,s.vw)(t),u=o.metadatas,h={};for(const t of Object.getOwnPropertyNames(e))a(h,u,t,e,r);o.setDefaultOrigin(r.origin);for(const s of Object.getOwnPropertyNames(h)){const a=(0,i.HS)(u[s],r).read,l=a&&a.source;let c;c=l&&"string"==typeof l?(0,n.$z)(e,l):e[s],a&&a.reader&&(c=a.reader.call(t,c,e,r)),void 0!==c&&o.set(s,c)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const e of Object.getOwnPropertyNames(u))h[e]||l(t,e,o,r)}o.setDefaultOrigin("user")}function h(t,e,r,n=c){var s;const i={...n,messages:[]};r(i),null==(s=i.messages)||s.forEach((e=>{"warning"!==e.type||t.loaded?n&&n.messages&&n.messages.push(e):t.loadWarnings.push(e)}))}},37697:(t,e,r)=>{r.d(e,{t:()=>a});var n=r(20102),s=r(80442),i=r(92604),o=r(67723);function a(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))a(t,r,e[r]);else{if(-1!==e.indexOf(".")){const n=e.split("."),s=n.splice(n.length-1,1)[0];return void a((0,o.U2)(t,n),s,r)}const i=t.__accessor__;null!=i&&function(t,e){if((0,s.Z)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadatas[t]}(t,e))throw new n.Z("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,i),t[e]=r}}i.Z.getLogger("esri.core.accessorSupport.set")},58971:(t,e,r)=>{r.d(e,{mS:()=>v,LJ:()=>f,gb:()=>d,it:()=>c,GF:()=>m}),r(80442);var n=r(92604),s=r(1153),i=r(44550);let o,a=[];const l=n.Z.getLogger("esri.core.Accessor");function c(t){void 0!==o&&o.onObservableAccessed(t)}let u=!1,h=!1;function f(t,e,r){if(u)return p(t,e,r);g(t);const n=e.call(r);return y(),n}function d(t,e){return f(void 0,t,e)}function p(t,e,r){const n=u;u=!0,g(t);let s=null;try{s=e.call(r)}catch(t){h&&l.error(t)}return y(),u=n,s}function g(t){o=t,a.push(t)}function y(){const t=a.pop();o=a.length>0?a[a.length-1]:void 0,void 0!==t&&t.onTrackingEnd()}function v(t,e){if(e.flags&i.v.DepTrackingInitialized)return;const r=h;h=!1,e.flags&i.v.AutoTracked?p(e,e.metadata.get,t):m(t,e),h=r}const _=[];function m(t,e){e.flags&i.v.ExplicitlyTracking||(e.flags|=i.v.ExplicitlyTracking,p(e,(()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"==typeof e&&-1===e.indexOf("."))w(t,e,!1);else{const r=(0,s.NI)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=w(n,r[e],e!==r.length-1)}})),e.flags&=~i.v.ExplicitlyTracking)}function w(t,e,r){const n="?"===e[e.length-1]?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.getItemAt(e)}const i=(0,s.vw)(t),o=null==i?void 0:i.properties.get(n);return o&&(c(o),v(t,o)),r?t[n]:void 0}},87538:(t,e,r)=>{r.d(e,{EH:()=>c,U5:()=>a,Xz:()=>l});var n=r(58971),s=r(38805);let i=!1;const o=[];function a(t,e){let r=new s.M((function s(){if(!r||a)return;if(i)return void u(s);const l=o;r.clear(),i=!0,a=!0,o=(0,n.LJ)(r,t),a=!1,i=!1,e(o,l),h()})),o=null,a=!1;return a=!0,o=(0,n.LJ)(r,t),a=!1,{remove:function(){r&&(r.destroy(),r=null,o=null)}}}function l(t,e){let r=new s.M((function(){e(i,o)})),i=null;function o(){return r?(r.clear(),i=(0,n.LJ)(r,t),i):null}return o(),{remove:function(){r&&(r.destroy(),r=null),i=null}}}function c(t){let e=new s.M((function s(){e&&!r&&(i?u(s):(e.clear(),i=!0,r=!0,(0,n.LJ)(e,t),r=!1,i=!1,h()))})),r=!1;return r=!0,(0,n.LJ)(e,t),r=!1,{remove:function(){e&&(e.destroy(),e=null)}}}function u(t){o.includes(t)||o.unshift(t)}function h(){for(;o.length;)o.pop()()}},44550:(t,e,r)=>{var n;r.d(e,{v:()=>n}),function(t){t[t.Dirty=1]="Dirty",t[t.Overriden=2]="Overriden",t[t.Computing=4]="Computing",t[t.NonNullable=8]="NonNullable",t[t.HasDefaultValue=16]="HasDefaultValue",t[t.DepTrackingInitialized=32]="DepTrackingInitialized",t[t.AutoTracked=64]="AutoTracked",t[t.ExplicitlyTracking=128]="ExplicitlyTracking"}(n||(n={}))},39020:(t,e,r)=>{r.d(e,{X:()=>s});var n=r(67676);class s{constructor(t,e){this._observers=t,this._observer=e}remove(){(0,n.Od)(this._observers,this._observer)}}},38805:(t,e,r)=>{r.d(e,{M:()=>n});class n{constructor(t){this._notify=t,this._accessed=[],this._handles=[],this._invalidCount=0}destroy(){this._accessed.length=0,this.clear()}onInvalidated(){this._invalidCount++}onCommitted(){const t=this._invalidCount;if(1===t)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}onObservableAccessed(t){this._accessed.includes(t)||this._accessed.push(t)}onTrackingEnd(){const t=this._handles,e=this._accessed;for(let r=0;r<e.length;++r)t.push(e[r].observe(this));e.length=0}clear(){const t=this._handles;for(let e=0;e<t.length;++e)t[e].remove();t.length=0}}},1153:(t,e,r)=>{r.d(e,{vw:()=>o,b6:()=>a,TS:()=>l,IH:()=>d,Qc:()=>f,NI:()=>u});var n=r(50758),s=r(22974),i=r(70586);function o(t){return t?t.__accessor__?t.__accessor__:t.propertyInvalidated?t:null:null}function a(t,e){return null!=t&&t.metadatas&&null!=t.metadatas[e]}function l(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((function(t,n){let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${n}`:n,a=r.policy(o)),"replace"===a)return t[n]=e[n],t;if(void 0===t[n])return t[n]=(0,s.d9)(e[n]),t;let l=t[n],u=e[n];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[n]=l.concat():t[n]=[l]:t[n]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach((t=>{-1===l.indexOf(t)&&l.push(t)})));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=(0,i.j0)(o),t[n]=c(l,u,r),r.path=e}else t[n]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[n]=u);return t}),t||{}):t}function u(t){return Array.isArray(t)?t:t.split(".")}function h(t){return t.indexOf(",")>-1?t.split(",").map((t=>t.trim())):[t.trim()]}function f(t,e,r,s){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...h(r));return e}return h(t)}(e);if(1!==i.length){const e=i.map((e=>s(t,e,r)));return(0,n.AL)(e)}return s(t,i[0],r)}function d(t){let e=!1;return()=>{e||(e=!0,t())}}},26258:(t,e,r)=>{r.d(e,{BT:()=>b,YP:()=>T,aQ:()=>E});var n=r(3894),s=r(22974),i=r(70586),o=r(71143);class a extends o.Z{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=(0,i.Bd)(this._set)}acquire(...t){const e=super.acquire(...t);return this._set.delete(e),e}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}var l,c,u=r(1654),h=r(99001),f=r(67723),d=r(87538),p=r(1153);(c=l||(l={}))[c.Untracked=0]="Untracked",c[c.Tracked=1]="Tracked";class g{constructor(){this.uid=(0,h.D)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static acquireUntracked(t,e,r,n,i){return this.pool.acquire(l.Untracked,t,e,r,n,i,s.fS)}static acquireTracked(t,e,r,n){return this.pool.acquire(l.Tracked,t,e,r,null,null,n)}notify(t,e){this.type===l.Untracked?this.callback.call(this.target,t,e,this.path,this.target):this.callback.call(null,t,e)}acquire(t,e,r,n,s,i,o){this.uid=(0,h.D)(),this.removed=!1,this.type=t,this.oldValue=e,this.callback=r,this.getValue=n,this.target=s,this.path=i,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,h.D)(),this.removed=!0}}g.pool=new a(g);const y=new n.Z,v=new Set;let _;function m(t){v.delete(t),v.add(t),_||(_=(0,u.Os)(A))}function w(t){if(t.removed)return;const e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function b(t){for(const e of v.values())e.target===t&&(e.removed=!0)}function A(){let t=10;for(;_&&t--;){_=null;const t=O(),e=y.acquire();for(const r of t){const t=r.uid;w(r),t===r.uid&&r.removed&&e.push(r)}for(const t of v)t.removed&&(e.push(t),v.delete(t));for(const t of e)g.pool.release(t);y.release(e),y.release(t),S.forEach((t=>t()))}}function O(){const t=y.acquire();t.length=v.size;let e=0;for(const r of v)t[e]=r,++e;return v.clear(),t}const S=new Set;function T(t,e,r,n=!1){return!t.__accessor__||t.__accessor__.destroyed?{remove(){}}:n?function(t,e,r){const n=(0,p.Qc)(t,e,r,((t,e,r)=>{let i=!1;return(0,d.U5)((()=>(0,f.$z)(t,e)),((o,a)=>{t.__accessor__.destroyed?n.remove():i||(i=!0,(0,s.fS)(a,o)||r.call(t,o,a,e,t),i=!1)}))}));return n}(t,e,r):function(t,e,r){let n=(0,p.Qc)(t,e,r,((t,e,r)=>{let s,i,o=(0,d.Xz)((()=>(0,f.$z)(t,e)),((o,a)=>{t.__accessor__.destroyed||s&&s.uid!==i?n.remove():(s||(s=g.acquireUntracked(o,r,a,t,e),i=s.uid),m(s))}));return{remove:(0,p.IH)((()=>{o.remove(),s&&(s.uid!==i||s.removed||(s.removed=!0,m(s)),s=null),n=o=null}))}}));return n}(t,e,r)}function E(t,e,r=!1,n=s.fS){return r?function(t,e,r){let n=!1;return(0,d.U5)(t,((t,s)=>{n||(n=!0,r(s,t)||e(t,s),n=!1)}))}(t,e,n):function(t,e,r){let n,s,i=(0,d.Xz)(t,((t,o)=>{n&&n.uid!==s?i.remove():(n||(n=g.acquireTracked(t,e,o,r),s=n.uid),m(n))}));return{remove:(0,p.IH)((()=>{i.remove(),n&&(n.uid!==s||n.removed||(n.removed=!0,m(n)),n=null),i=null}))}}(t,e,n)}},76169:(t,e,r)=>{r.d(e,{d:()=>f,c:()=>d});var n=r(67676),s=r(20102),i=r(92604),o=r(31263),a=r(1153),l=r(53906);const c=i.Z.getLogger("esri.core.accessorSupport.write");function u(t,e,r,n,s){var i,o;const a={};return null==(i=e.write)||null==(o=i.writer)||o.call(t,n,a,r,s),a}function h(t,e,r,i,a,l){if(!i||!i.write)return!1;const u=t.get(r);if(!a&&i.write.overridePolicy){const e=i.write.overridePolicy.call(t,u,r,l);void 0!==e&&(a=e)}if(a||(a=i.write),!a||!1===a.enabled)return!1;if((null===u&&!a.allowNull&&!a.writerEnsuresNonNull||void 0===u)&&a.isRequired){const e=new s.Z("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return e&&l&&l.messages?l.messages.push(e):e&&!l&&c.error(e.name,e.message),!1}return!(void 0===u||null===u&&!a.allowNull&&!a.writerEnsuresNonNull||(!e.store.multipleOriginsSupported||e.store.originOf(r)===o.s3.DEFAULTS)&&function(t,e,r,s,i){const o=s.default;if(void 0===o)return!1;if(null!=s.defaultEquals)return s.defaultEquals(i);if("function"==typeof o){if(Array.isArray(i)){const s=o.call(t,e,r);return(0,n.fS)(s,i)}return!1}return o===i}(t,r,l,i,u)||!a.ignoreOrigin&&l&&l.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<(0,o.M9)(l.origin))}function f(t,e,r,n){const s=(0,a.vw)(t),i=s.metadatas,o=(0,l.Ah)(i[e],n);return!!o&&h(t,s,e,o,r,n)}function d(t,e,r){if(t&&"function"==typeof t.toJSON&&(!t.toJSON.isDefaultToJSON||!t.write))return(0,a.TS)(e,t.toJSON());const n=(0,a.vw)(t),s=n.metadatas;for(const f in s){const d=(0,l.Ah)(s[f],r);if(!h(t,n,f,d,void 0,r))continue;const p=t.get(f),g=u(t,d,d.write&&"string"==typeof d.write.target?d.write.target:f,p,r);var i,c;Object.keys(g).length>0&&(e=(0,a.TS)(e,g),null!=r&&null!=(i=r.resources)&&null!=(c=i.pendingOperations)&&c.length&&Promise.all(r.resources.pendingOperations).then((()=>(0,a.TS)(e,g))),r&&r.writtenProperties&&r.writtenProperties.push({target:t,propName:f,oldOrigin:(0,o.Wm)(n.store.originOf(f)),newOrigin:r.origin}))}return e}},60235:(t,e,r)=>{r.d(e,{x9:()=>l,XV:()=>o,Mr:()=>a});var n=r(80442);const s=new Set;function i(t,e,r=!1){r&&s.has(e)||(r&&s.add(e),t.warn(`🛑 DEPRECATED - ${e}`))}function o(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;l(t,"Function: "+(n?n+"::":"")+e+"()",r)}}function a(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{moduleName:n}=r;l(t,"Property: "+(n?n+"::":"")+e,r)}}function l(t,e,r={}){if((0,n.Z)("esri-deprecation-warnings")){const{replacement:n,version:s,see:o,warnOnce:a}=r;let l=e;n&&(l+=`\n\t🛠️ Replacement: ${n}`),s&&(l+=`\n\t⚙️ Version: ${s}`),o&&(l+=`\n\t🔗 See ${o} for more details.`),i(t,l,a)}}},50758:(t,e,r)=>{r.d(e,{AL:()=>s,kB:()=>i});var n=r(70586);function s(t){return i((()=>t.forEach((t=>(0,n.pC)(t)&&t.remove()))))}function i(t){return{remove:()=>{t&&(t(),t=void 0)}}}},41213:(t,e,r)=>{r.d(e,{Y:()=>s});const n=[];function s(t){n.push(t),1===n.length&&queueMicrotask((()=>{const t=n.slice();n.length=0;for(const e of t)e()}))}},1654:(t,e,r)=>{r.d(e,{Os:()=>y,MU:()=>w});var n=r(70586),s=r(41213),i=r(54790),o=r(44553),a=r(95330),l=r(76882);class c{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let u=0;const h={time:(0,l.HA)(0),deltaTime:(0,l.HA)(0),elapsedFrameTime:(0,l.HA)(0),frameDuration:(0,l.HA)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.Z,g={frameTasks:p,willDispatch:!1,clearFrameTasks:function(t=!1){p.forAll((t=>{t.removed=!0})),t&&_()},dispatch:m,executeFrameTasks:function(t){const e=(0,l.HA)(t-u);u=t;const r=1e3/60,n=Math.max(0,e-r);for(let s=0;s<f.length;s++){const i=performance.now(),o=f[s];p.forAll((i=>{var a;i.paused||i.removed||(0===s&&i.ticks++,i.phases[o]&&(h.time=t,h.deltaTime=0===i.ticks?(0,l.HA)(0):e,h.elapsedFrameTime=(0,l.HA)(performance.now()-t),h.frameDuration=(0,l.HA)(r-n),null==(a=i.phases[o])||a.call(i,h)))})),b[s].record(performance.now()-i)}_(),A.record(performance.now()-t)}};function y(t){const e=new c(t);return d.push(e),g.willDispatch||(g.willDispatch=!0,(0,s.Y)(m)),e}const v=new o.Z;function _(){p.forAll((t=>{t.removed&&v.push(t)})),p.removeUnorderedMany(v.data,v.length),v.clear()}function m(){for(;d.length;){const t=(0,n.j0)(d.shift());t.isActive&&t.callback()}g.willDispatch=!1}function w(t=1,e){const r=(0,a.hh)(),n=()=>{(0,a.Hc)(e)?r.reject((0,a.zE)()):0===t?r():(--t,(0,s.Y)((()=>n())))};return n(),r.promise}const b=f.map((t=>new i.Z(t))),A=new i.Z("total")},76882:(t,e,r)=>{function n(t){return t}r.d(e,{HA:()=>n})},99001:(t,e,r)=>{r.d(e,{D:()=>s});let n=0;function s(){return++n}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1765],{92835:(e,t,n)=>{n.d(t,{Z:()=>g});var r,s=n(43697),i=n(96674),a=n(70586),o=n(35463),u=n(5600),l=(n(67676),n(80442),n(75215),n(71715)),c=n(52011),h=n(30556);let d=r=class extends i.wq{constructor(e){super(e),this.end=null,this.start=null}static get allTime(){return f}static get empty(){return m}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?e.getTime():null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?e.getTime():null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=(0,a.pC)(this.start)?this.start.getTime():this.start,n=(0,a.pC)(this.end)?this.end.getTime():this.end,r=(0,a.pC)(e.start)?e.start.getTime():e.start,s=(0,a.pC)(e.end)?e.end.getTime():e.end;return t===r&&n===s}expandTo(e){if(this.isEmpty||this.isAllTime)return this.clone();const t=(0,a.Po)(this.start,(t=>(0,o.JE)(t,e))),n=(0,a.Po)(this.end,(t=>(0,o.Nm)((0,o.JE)(t,e),1,e)));return new r({start:t,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=(0,a.R2)(this.start,-1/0,(e=>e.getTime())),n=(0,a.R2)(this.end,1/0,(e=>e.getTime())),s=(0,a.R2)(e.start,-1/0,(e=>e.getTime())),i=(0,a.R2)(e.end,1/0,(e=>e.getTime()));let o,u;if(s>=t&&s<=n?o=s:t>=s&&t<=i&&(o=t),n>=s&&n<=i?u=n:i>=t&&i<=n&&(u=i),!isNaN(o)&&!isNaN(u)){const e=new r;return e.start=o===-1/0?null:new Date(o),e.end=u===1/0?null:new Date(u),e}return r.empty}offset(e,t){if(this.isEmpty||this.isAllTime)return this.clone();const n=new r,{start:s,end:i}=this;return(0,a.pC)(s)&&(n.start=(0,o.Nm)(s,e,t)),(0,a.pC)(i)&&(n.end=(0,o.Nm)(i,e,t)),n}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return f.clone();const t=(0,a.pC)(this.start)&&(0,a.pC)(e.start)?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=(0,a.pC)(this.end)&&(0,a.pC)(e.end)?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:n})}};(0,s._)([(0,u.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,s._)([(0,l.r)("end")],d.prototype,"readEnd",null),(0,s._)([(0,h.c)("end")],d.prototype,"writeEnd",null),(0,s._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,s._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,s._)([(0,u.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,s._)([(0,l.r)("start")],d.prototype,"readStart",null),(0,s._)([(0,h.c)("start")],d.prototype,"writeStart",null),d=r=(0,s._)([(0,c.j)("esri.TimeExtent")],d);const f=new d,m=new d({start:void 0,end:void 0}),g=d},99880:(e,t,n)=>{n.d(t,{V:()=>u});var r=n(68773),s=(n(3172),n(20102)),i=n(92604),a=n(17452);const o=i.Z.getLogger("esri.assets");function u(e){if(!r.Z.assetsPath)throw o.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new s.Z("assets:path-not-set","config.assetsPath is not set");return(0,a.v_)(r.Z.assetsPath,e)}},46851:(e,t,n)=>{n.d(t,{E:()=>r,R:()=>s});const r=1e-6,s=Math.random,i=Math.PI/180,a=180/Math.PI;Object.freeze({__proto__:null,EPSILON:r,RANDOM:s,toRadian:function(e){return e*i},toDegree:function(e){return e*a},equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))}})},25929:(e,t,n)=>{n.d(t,{M:()=>f,f:()=>i,i:()=>h,p:()=>g,r:()=>o,t:()=>a,w:()=>u});var r=n(70586),s=n(17452);function i(e,t){const n=t&&t.url&&t.url.path;if(e&&n&&(e=(0,s.hF)(e,n,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const n=(0,s.PF)(e,t.portalItem.itemUrl);c.test(n)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(n).path)}return d(e,t&&t.portal)}function a(e,t,n=f.YES){if(!e)return e;!(0,s.YP)(e)&&t&&t.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let r=(0,s.hF)(e);if(t){const n=t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.rootPath||t.url&&t.url.path;if(n){const i=d(n,t.portal);r=(0,s.PF)(d(r,t.portal),i,i),r!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(r)}}return r=function(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,s.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}(r,t&&t.portal),(0,s.YP)(r)&&(r=(0,s.Fv)(r)),null!=t&&t.resources&&null!=t&&t.portalItem&&!(0,s.YP)(r)&&!(0,s.HK)(r)&&n===f.YES&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(r)}),r}function o(e,t,n){return i(e,n)}function u(e,t,n,r){const s=a(e,r);void 0!==s&&(t[n]=s)}const l=/\/items\/([^\/]+)\/resources\//,c=/^\.\/resources\//;function h(e){const t=(0,r.pC)(e)?e.match(l):null;return(0,r.pC)(t)?t[1]:null}function d(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const n=`${t.urlKey}.${t.customBaseUrl}`,r=(0,s.TI)();return(0,s.D6)(r,`${r.scheme}://${n}`)?(0,s.Ie)(e,t.portalHostname,n):(0,s.Ie)(e,n,t.portalHostname)}var f,m;(m=f||(f={}))[m.YES=0]="YES",m[m.NO=1]="NO";const g=Object.freeze({__proto__:null,fromJSON:i,toJSON:a,read:o,write:u,itemIdFromResourceUrl:h,get MarkKeep(){return f}})},17896:(e,t,n)=>{n.d(t,{E:()=>h,a:()=>d,b:()=>u,c:()=>y,d:()=>M,e:()=>_,f:()=>l,g:()=>a,h:()=>m,i:()=>f,k:()=>I,l:()=>i,m:()=>w,n:()=>p,p:()=>g,q:()=>b,r:()=>S,s:()=>o,t:()=>v,u:()=>C});var r=n(65617),s=n(46851);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function d(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function f(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function m(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function g(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function p(e,t){const n=t[0],r=t[1],s=t[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function M(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function y(e,t,n){const r=t[0],s=t[1],i=t[2],a=n[0],o=n[1],u=n[2];return e[0]=s*u-i*o,e[1]=i*a-r*u,e[2]=r*o-s*a,e}function _(e,t,n,r){const s=t[0],i=t[1],a=t[2];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e}function w(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12],e[1]=n[1]*r+n[5]*s+n[9]*i+n[13],e[2]=n[2]*r+n[6]*s+n[10]*i+n[14],e}function v(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=r*n[0]+s*n[3]+i*n[6],e[1]=r*n[1]+s*n[4]+i*n[7],e[2]=r*n[2]+s*n[5]+i*n[8],e}function b(e,t,n){const r=n[0],s=n[1],i=n[2],a=n[3],o=t[0],u=t[1],l=t[2];let c=s*l-i*u,h=i*o-r*l,d=r*u-s*o,f=s*d-i*h,m=i*c-r*d,g=r*h-s*c;const p=2*a;return c*=p,h*=p,d*=p,f*=2,m*=2,g*=2,e[0]=o+c+f,e[1]=u+h+m,e[2]=l+d+g,e}const U=(0,r.c)(),P=(0,r.c)();function I(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function S(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],i=n[2]-t[2];let a=r*r+s*s+i*i;return a>0?(a=1/Math.sqrt(a),e[0]=r*a,e[1]=s*a,e[2]=i*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const E=l,T=c,q=h,x=f,O=m,C=i,D=g;Object.freeze({__proto__:null,length:i,copy:a,set:o,add:u,subtract:l,multiply:c,divide:h,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:d,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e},distance:f,squaredDistance:m,squaredLength:g,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},normalize:p,dot:M,cross:y,lerp:_,hermite:function(e,t,n,r,s,i){const a=i*i,o=a*(2*i-3)+1,u=a*(i-2)+i,l=a*(i-1),c=a*(3-2*i);return e[0]=t[0]*o+n[0]*u+r[0]*l+s[0]*c,e[1]=t[1]*o+n[1]*u+r[1]*l+s[1]*c,e[2]=t[2]*o+n[2]*u+r[2]*l+s[2]*c,e},bezier:function(e,t,n,r,s,i){const a=1-i,o=a*a,u=i*i,l=o*a,c=3*i*o,h=3*u*a,d=u*i;return e[0]=t[0]*l+n[0]*c+r[0]*h+s[0]*d,e[1]=t[1]*l+n[1]*c+r[1]*h+s[1]*d,e[2]=t[2]*l+n[2]*c+r[2]*h+s[2]*d,e},random:function(e,t){t=t||1;const n=2*(0,s.R)()*Math.PI,r=2*(0,s.R)()-1,i=Math.sqrt(1-r*r)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=r*t,e},transformMat4:w,transformMat3:v,transformQuat:b,rotateX:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},angle:function(e,t){a(U,e),a(P,t),p(U,U),p(P,P);const n=M(U,P);return n>1?0:n<-1?Math.PI:Math.acos(n)},str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},exactEquals:I,equals:function(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],a=t[0],o=t[1],u=t[2];return Math.abs(n-a)<=s.E*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-o)<=s.E*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-u)<=s.E*Math.max(1,Math.abs(i),Math.abs(u))},direction:S,sub:E,mul:T,div:q,dist:x,sqrDist:O,len:C,sqrLen:D})},65617:(e,t,n)=>{function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function a(e){const t=[0,0,0],n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function o(e,t){return new Float64Array(e,t,3)}function u(){return i(1,1,1)}function l(){return i(1,0,0)}function c(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(t,{O:()=>f,Z:()=>d,a:()=>s,b:()=>o,c:()=>r,d:()=>a,f:()=>i});const d=[0,0,0],f=u(),m=l(),g=c(),p=h();Object.freeze({__proto__:null,create:r,clone:s,fromValues:i,fromArray:a,createView:o,zeros:function(){return[0,0,0]},ones:u,unitX:l,unitY:c,unitZ:h,ZEROS:d,ONES:f,UNIT_X:m,UNIT_Y:g,UNIT_Z:p})},98766:(e,t,n)=>{n.d(t,{a:()=>a,b:()=>c,c:()=>s,d:()=>p,e:()=>f,f:()=>m,g:()=>y,h:()=>_,l:()=>M,n:()=>g,s:()=>i});var r=n(46851);function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function i(e,t,n,r,s){return e[0]=t,e[1]=n,e[2]=r,e[3]=s,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function o(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function u(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function l(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function h(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return Math.sqrt(n*n+r*r+s*s+i*i)}function d(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return n*n+r*r+s*s+i*i}function f(e){const t=e[0],n=e[1],r=e[2],s=e[3];return Math.sqrt(t*t+n*n+r*r+s*s)}function m(e){const t=e[0],n=e[1],r=e[2],s=e[3];return t*t+n*n+r*r+s*s}function g(e,t){const n=t[0],r=t[1],s=t[2],i=t[3];let a=n*n+r*r+s*s+i*i;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=r*a,e[2]=s*a,e[3]=i*a),e}function p(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function M(e,t,n,r){const s=t[0],i=t[1],a=t[2],o=t[3];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e[3]=o+r*(n[3]-o),e}function y(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function _(e,t){const n=e[0],s=e[1],i=e[2],a=e[3],o=t[0],u=t[1],l=t[2],c=t[3];return Math.abs(n-o)<=r.E*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(s-u)<=r.E*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(i-l)<=r.E*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-c)<=r.E*Math.max(1,Math.abs(a),Math.abs(c))}const w=o,v=u,b=l,U=h,P=d,I=f,S=m;Object.freeze({__proto__:null,copy:s,set:i,add:a,subtract:o,multiply:u,divide:l,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e},scale:c,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},distance:h,squaredDistance:d,length:f,squaredLength:m,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},normalize:g,dot:p,lerp:M,random:function(e,t){let n,s,i,a,o,u;t=t||1;do{n=2*(0,r.R)()-1,s=2*(0,r.R)()-1,o=n*n+s*s}while(o>=1);do{i=2*(0,r.R)()-1,a=2*(0,r.R)()-1,u=i*i+a*a}while(u>=1);const l=Math.sqrt((1-o)/u);return e[0]=t*n,e[1]=t*s,e[2]=t*i*l,e[3]=t*a*l,e},transformMat4:function(e,t,n){const r=t[0],s=t[1],i=t[2],a=t[3];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12]*a,e[1]=n[1]*r+n[5]*s+n[9]*i+n[13]*a,e[2]=n[2]*r+n[6]*s+n[10]*i+n[14]*a,e[3]=n[3]*r+n[7]*s+n[11]*i+n[15]*a,e},transformQuat:function(e,t,n){const r=t[0],s=t[1],i=t[2],a=n[0],o=n[1],u=n[2],l=n[3],c=l*r+o*i-u*s,h=l*s+u*r-a*i,d=l*i+a*s-o*r,f=-a*r-o*s-u*i;return e[0]=c*l+f*-a+h*-u-d*-o,e[1]=h*l+f*-o+d*-a-c*-u,e[2]=d*l+f*-u+c*-o-h*-a,e[3]=t[3],e},str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},exactEquals:y,equals:_,sub:w,mul:v,div:b,dist:U,sqrDist:P,len:I,sqrLen:S})},3920:(e,t,n)=>{n.d(t,{r:()=>c,p:()=>l});var r=n(43697),s=n(15923),i=n(61247),a=n(5600),o=n(52011),u=n(89749);const l=e=>{let t=class extends e{destroy(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new u.t}};return(0,r._)([(0,a.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,r._)([(0,a.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,r._)([(0,o.j)("esri.core.HandleOwner")],t),t};let c=class extends(l(s.Z)){};c=(0,r._)([(0,o.j)("esri.core.HandleOwner")],c)},22021:(e,t,n)=>{n.d(t,{ZF:()=>d,Kt:()=>f,jE:()=>p,uZ:()=>a,oK:()=>m,Vl:()=>c,wt:()=>o,t7:()=>l,Sf:()=>i,fp:()=>u,BV:()=>h});var r=n(17896);n(98766);const s=new Float32Array(1);function i(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function a(e,t,n){return Math.min(Math.max(e,t),n)}function o(e){return 0==(e&e-1)}function u(e){return e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e}function l(e,t,n){return e+(t-e)*n}function c(e){return e*Math.PI/180}function h(e){return 180*e/Math.PI}function d(e){return Math.acos(a(e,-1,1))}function f(e){return Math.asin(a(e,-1,1))}function m(e){return g(Math.max(-M,Math.min(e,M)))}function g(e){return s[0]=e,s[0]}function p(e,t){const n=(0,r.l)(e),s=f(e[2]/n),i=Math.atan2(e[1]/n,e[0]/n);return(0,r.s)(t,n,s,i),t}const M=g(34028234663852886e22)},35463:(e,t,n)=>{n.d(t,{rJ:()=>o,Nm:()=>i,JE:()=>a}),n(80442);const r={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8},s={milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",multiplier:1},seconds:{getter:"getSeconds",setter:"setSeconds",multiplier:1},minutes:{getter:"getMinutes",setter:"setMinutes",multiplier:1},hours:{getter:"getHours",setter:"setHours",multiplier:1},days:{getter:"getDate",setter:"setDate",multiplier:1},weeks:{getter:"getDate",setter:"setDate",multiplier:7},months:{getter:"getMonth",setter:"setMonth",multiplier:1},years:{getter:"getFullYear",setter:"setFullYear",multiplier:1},decades:{getter:"getFullYear",setter:"setFullYear",multiplier:10},centuries:{getter:"getFullYear",setter:"setFullYear",multiplier:100}};function i(e,t,n){const r=new Date(e.getTime());if(t&&n){const e=s[n],{getter:i,setter:a,multiplier:o}=e;if("months"===n){const e=function(e,t){const n=new Date(e,t+1,1);return n.setDate(0),n.getDate()}(r.getFullYear(),r.getMonth()+t);r.getDate()>e&&r.setDate(e)}r[a](r[i]()+t*o)}return r}function a(e,t){switch(t){case"milliseconds":return new Date(e.getTime());case"seconds":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());case"minutes":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes());case"hours":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours());case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate());case"weeks":return new Date(e.getFullYear(),e.getMonth(),e.getDate()-e.getDay());case"months":return new Date(e.getFullYear(),e.getMonth(),1);case"years":return new Date(e.getFullYear(),0,1);case"decades":return new Date(e.getFullYear()-e.getFullYear()%10,0,1);case"centuries":return new Date(e.getFullYear()-e.getFullYear()%100,0,1);default:return new Date}}function o(e,t,n){return 0===e?0:e*r[t]/r[n]}},67900:(e,t,n)=>{n.d(t,{gV:()=>B,En:()=>U,Z7:()=>q,c9:()=>T,_R:()=>S,qE:()=>C,cM:()=>E,hd:()=>c,ty:()=>P,Jo:()=>R,$C:()=>I}),n(80442);var r=n(35454),s=n(70586),i=n(24678),a=n(82971),o=n(68441),u=n(8744),l=n(58116);const c=39.37,h=o.sv.radius*Math.PI/200,d=/UNIT\[([^\]]+)\]\]$/i,f=l.Z,m=/UNIT\[([^\]]+)\]/i,g=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),p=(0,r.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"}),M=e=>e*e,y=e=>e*e*e,_={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:M(.001)},"square-centimeters":{inBaseUnits:M(.01)},"square-decimeters":{inBaseUnits:M(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:M(1e3)},"square-inches":{inBaseUnits:M(.0254)},"square-feet":{inBaseUnits:M(.3048)},"square-yards":{inBaseUnits:M(.9144)},"square-miles":{inBaseUnits:M(1609.344)},"square-us-feet":{inBaseUnits:M(1200/3937)},acres:{inBaseUnits:.0015625*M(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*y(.001)},"cubic-centimeters":{inBaseUnits:1e3*y(.01)},"cubic-decimeters":{inBaseUnits:1e3*y(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*y(1e3)},"cubic-inches":{inBaseUnits:1e3*y(.0254)},"cubic-feet":{inBaseUnits:1e3*y(.3048)},"cubic-yards":{inBaseUnits:1e3*y(.9144)},"cubic-miles":{inBaseUnits:1e3*y(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},w=function(){const e={};for(const t in _)for(const n in _[t].units)e[n]=t;return e}();function v(e){const t=w[e];if(t)return t;throw new Error("unknown measure")}function b(e,t=null){return t=t||v(e),_[t].baseUnit===e}function U(e,t,n){if(t===n)return e;const r=v(t);if(r!==v(n))throw new Error("incompatible units");const s=b(t,r)?e:function(e,t,n){return e*_[n].units[t].inBaseUnits}(e,t,r);return b(n,r)?s:function(e,t,n){return e/_[n].units[t].inBaseUnits}(s,n,r)}function P(e,t,n){return U(e,t,"meters")/(n*Math.PI/180)}function I(e){return p.fromJSON(e.toLowerCase())||null}function S(e){if(e&&"object"==typeof e&&!(0,u.N$)(e))return 1;const t=T(e);return t>1e5?1:t}function E(e){return T(e)>=(e instanceof a.Z?(0,i.Iu)(e).metersPerDegree:1e5)?"meters":C(e)}function T(e,t=o.sv.metersPerDegree){return q(e,!0)||t}function q(e,t=!1){let n,r,s=null;if(null!=e&&("object"==typeof e?(n=e.wkid,r=e.wkt):"number"==typeof e?n=e:"string"==typeof e&&(r=e)),n){if((0,u.o$)(n))return o.yr.metersPerDegree;if((0,u.ME)(n))return o.Z1.metersPerDegree;s=f.values[f[n]],!s&&t&&g.has(n)&&(s=h)}else r&&(A(r)?s=x(d.exec(r),s):D(r)&&(s=x(m.exec(r),s)));return s}function x(e,t){return e&&e[1]?O(e[1]):t}function O(e){return parseFloat(e.split(",")[1])}function C(e){let t,n,r=null;if(null!=e&&("object"==typeof e?(t=e.wkid,n=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(n=e)),t)r=f.units[f[t]];else if(n){const e=A(n)?d:D(n)?m:null;if(e){const t=e.exec(n);t&&t[1]&&(r=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let n=t&&t[1];if(!n||-1===f.units.indexOf(n)){const t=O(e);n=null;const r=f.values;for(let e=0;e<r.length;++e)if(Math.abs(t-r[e])<1e-7){n=f.units[e];break}}return n}(t[1]))}}return(0,s.pC)(r)?I(r):null}function D(e){return/^GEOCCS/i.test(e)}function A(e){return/^PROJCS/i.test(e)}const Y={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"},k={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},B=(0,r.wY)()(Y),R=(0,r.wY)()(k);(0,r.wY)()({...Y,...k})},80903:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(50758),s=n(92604),i=n(95330),a=n(25045);const o=s.Z.getLogger("esri.core.workers.Connection");class u{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(((n,r)=>{let s=!0;const o=e=>{(0,i.k_)(t.signal),s&&(s=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let s=0;s<e.length;++s){const u=e[s];(0,i.y8)(u)?this._clientPromises[s]=u.then((e=>(this._clients[s]=new a.default(e,t),o(n),this._clients[s])),(()=>(o(r),null))):(this._clients[s]=new a.default(u,t),this._clientPromises[s]=Promise.resolve(this._clients[s]),o(n))}}))}broadcast(e,t,n){const r=new Array(this._clientPromises.length);for(let s=0;s<this._clientPromises.length;++s){const i=this._clientPromises[s];r[s]=i.then((r=>r.invoke(e,t,n)))}return r}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const n=this._clients[t];if(n){if(!n.isBusy())return Promise.resolve(n)}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,n){let r=null;return Array.isArray(n)?(o.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),r={transferList:n}):r=n,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((n=>n.invoke(e,t,r)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,r.AL)(this._clients.map((n=>n.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let n=t.length;for(let r=0;r<this._clientPromises.length;++r)this._clientPromises[r].then((s=>{t[r]=s.openPort(),0==--n&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},24678:(e,t,n)=>{n.d(t,{GG:()=>o,HQ:()=>u,VY:()=>l,wY:()=>c,Iu:()=>d,e8:()=>f,rS:()=>h});var r=n(82971),s=n(68441),i=n(8744);function a(e){return new r.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 o=a(s.sv),u=a(s.yr),l=a(s.Z1),c=new r.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${s.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 h(e){return e&&((0,i.BZ)(e)||e===u)?u:e&&((0,i.V2)(e)||e===l)?l:o}function d(e){return e&&((0,i.BZ)(e)||e===u)?s.yr:e&&((0,i.V2)(e)||e===l)?s.Z1:s.sv}function f(e){return(0,i.o$)(e)?s.yr:(0,i.ME)(e)?s.Z1:s.sv}},24470:(e,t,n)=>{n.d(t,{Gv:()=>d,SO:()=>l,r3:()=>h,Ue:()=>i,oJ:()=>o,al:()=>a,kK:()=>c,HH:()=>u}),n(80442),n(22021);var r=n(70586),s=n(6570);function i(e=f){return[e[0],e[1],e[2],e[3]]}function a(e,t,n,r,s=i()){return s[0]=e,s[1]=t,s[2]=n,s[3]=r,s}function o(e,t=i()){return t[0]=e.xmin,t[1]=e.ymin,t[2]=e.xmax,t[3]=e.ymax,t}function u(e,t){return new s.Z({xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:t})}function l(e){return function(e){return(0,r.Wi)(e)||e[0]>=e[2]?0:e[2]-e[0]}(e)*function(e){return e[1]>=e[3]?0:e[3]-e[1]}(e)}function c(e,t){return Math.max(t[0],e[0])<=Math.min(t[2],e[2])&&Math.max(t[1],e[1])<=Math.min(t[3],e[3])}function h(e,t){return t[0]>=e[0]&&t[2]<=e[2]&&t[1]>=e[1]&&t[3]<=e[3]}const d=[1/0,1/0,-1/0,-1/0],f=[0,0,0,0]},66677:(e,t,n)=>{n.d(t,{ld:()=>m,B5:()=>h,M8:()=>p,G:()=>w,Qc:()=>d,DR:()=>f,Nm:()=>M,XG:()=>y,a7:()=>g,wH:()=>_});var r=n(70586),s=n(17452),i=n(25929);const a={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},o=Object.values(a),u=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function h(e){return!!u.test(e)}function d(e){const t=(0,s.mN)(e),n=t.path.match(u)||t.path.match(l);if(!n)return null;const[,r,i,o,c]=n,h=i.indexOf("/");return{title:m(-1!==h?i.slice(h+1):i),serverType:a[o.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:r}}}function f(e){const t=(0,s.mN)(e).path.match(c);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function m(e){return(e=e.replace(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function g(e,t){const n=[];if(e){const t=d(e);(0,r.pC)(t)&&t.title&&n.push(t.title)}if(t){const e=m(t);n.push(e)}if(2===n.length){if(-1!==n[0].toLowerCase().indexOf(n[1].toLowerCase()))return n[0];if(-1!==n[1].toLowerCase().indexOf(n[0].toLowerCase()))return n[1]}return n.join(" - ")}function p(e){if(!e)return!1;const t=-1!==(e=e.toLowerCase()).indexOf(".arcgis.com/"),n=-1!==e.indexOf("//services")||-1!==e.indexOf("//tiles")||-1!==e.indexOf("//features");return t&&n}function M(e,t){return e?(0,s.Qj)((0,s.Hu)(e,t)):e}function y(e){let{url:t}=e;if(!t)return{url:t};t=(0,s.Hu)(t,e.logger);const n=(0,s.mN)(t),i=d(n.path);let a;if((0,r.pC)(i))null!=i.sublayer&&null==e.layer.layerId&&(a=i.sublayer),t=i.url.path;else if(e.nonStandardUrlAllowed){const e=f(n.path);(0,r.pC)(e)&&(t=e.serviceUrl,a=e.sublayerId)}return{url:(0,s.Qj)(t),layerId:a}}function _(e,t,n,r,a){(0,i.w)(t,r,"url",a),r.url&&null!=e.layerId&&(r.url=(0,s.v_)(r.url,n,e.layerId.toString()))}function w(e){if(!e)return!1;const t=e.toLowerCase(),n=-1!==t.indexOf("/services/"),r=-1!==t.indexOf("/mapserver/wmsserver"),s=-1!==t.indexOf("/imageserver/wmsserver"),i=-1!==t.indexOf("/wmsserver");return n&&(r||s||i)}},89749:(e,t,n)=>{n.d(t,{t:()=>h});var r=n(43697),s=n(15923),i=n(61247),a=n(70586),o=n(17445),u=n(1654),l=n(5600),c=n(52011);let h=class extends s.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new i.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,n={}){const r=++this.handleId;n.sync||this._installSyncUpdatingWatch(e,r);const s=(0,o.YP)(e,t,n);return this.handles.add(s,r),{remove:()=>this.handles.remove(r)}}addOnCollectionChange(e,t,{initial:n=!1}={}){const r=++this.handleId;return this.handles.add([(0,o.on)(e,"after-changes",this._createSyncUpdatingCallback(),o.Z_),(0,o.on)(e,"change",t,{onListenerAdd:n?e=>t({added:e.items,removed:[],moved:[],target:e}):void 0})],r),{remove:()=>this.handles.remove(r)}}addPromise(e){if((0,a.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(d)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const n=()=>this.handles.remove(t);return e.then(n,n),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}_installSyncUpdatingWatch(e,t){const n=this._createSyncUpdatingCallback(),r=(0,o.YP)(e,n,{sync:!0,equals:()=>!1});return this.handles.add(r,t),r}_createSyncUpdatingCallback(){return()=>{this.handles.remove(d),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,u.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(d))})),d)}}};(0,r._)([(0,l.Cb)({readOnly:!0})],h.prototype,"updating",void 0),h=(0,r._)([(0,c.j)("esri.views.support.WatchUpdatingTracking")],h);const d=-42;var f,m;(m=f||(f={}))[m.NONE=0]="NONE",m[m.SYNC=1]="SYNC",m[m.INIT=2]="INIT"}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1765],{92835:(e,t,n)=>{n.d(t,{Z:()=>g});var r,s=n(43697),i=n(96674),a=n(70586),o=n(35463),u=n(5600),l=(n(67676),n(80442),n(75215),n(71715)),c=n(52011),h=n(30556);let d=r=class extends i.wq{constructor(e){super(e),this.end=null,this.start=null}static get allTime(){return f}static get empty(){return m}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?e.getTime():null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?e.getTime():null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=(0,a.pC)(this.start)?this.start.getTime():this.start,n=(0,a.pC)(this.end)?this.end.getTime():this.end,r=(0,a.pC)(e.start)?e.start.getTime():e.start,s=(0,a.pC)(e.end)?e.end.getTime():e.end;return t===r&&n===s}expandTo(e){if(this.isEmpty||this.isAllTime)return this.clone();const t=(0,a.Po)(this.start,(t=>(0,o.JE)(t,e))),n=(0,a.Po)(this.end,(t=>(0,o.Nm)((0,o.JE)(t,e),1,e)));return new r({start:t,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=(0,a.R2)(this.start,-1/0,(e=>e.getTime())),n=(0,a.R2)(this.end,1/0,(e=>e.getTime())),s=(0,a.R2)(e.start,-1/0,(e=>e.getTime())),i=(0,a.R2)(e.end,1/0,(e=>e.getTime()));let o,u;if(s>=t&&s<=n?o=s:t>=s&&t<=i&&(o=t),n>=s&&n<=i?u=n:i>=t&&i<=n&&(u=i),!isNaN(o)&&!isNaN(u)){const e=new r;return e.start=o===-1/0?null:new Date(o),e.end=u===1/0?null:new Date(u),e}return r.empty}offset(e,t){if(this.isEmpty||this.isAllTime)return this.clone();const n=new r,{start:s,end:i}=this;return(0,a.pC)(s)&&(n.start=(0,o.Nm)(s,e,t)),(0,a.pC)(i)&&(n.end=(0,o.Nm)(i,e,t)),n}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return f.clone();const t=(0,a.pC)(this.start)&&(0,a.pC)(e.start)?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=(0,a.pC)(this.end)&&(0,a.pC)(e.end)?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:n})}};(0,s._)([(0,u.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,s._)([(0,l.r)("end")],d.prototype,"readEnd",null),(0,s._)([(0,h.c)("end")],d.prototype,"writeEnd",null),(0,s._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,s._)([(0,u.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,s._)([(0,u.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,s._)([(0,l.r)("start")],d.prototype,"readStart",null),(0,s._)([(0,h.c)("start")],d.prototype,"writeStart",null),d=r=(0,s._)([(0,c.j)("esri.TimeExtent")],d);const f=new d,m=new d({start:void 0,end:void 0}),g=d},99880:(e,t,n)=>{n.d(t,{V:()=>u});var r=n(68773),s=(n(3172),n(20102)),i=n(92604),a=n(17452);const o=i.Z.getLogger("esri.assets");function u(e){if(!r.Z.assetsPath)throw o.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new s.Z("assets:path-not-set","config.assetsPath is not set");return(0,a.v_)(r.Z.assetsPath,e)}},46851:(e,t,n)=>{n.d(t,{E:()=>r,R:()=>s});const r=1e-6,s=Math.random,i=Math.PI/180,a=180/Math.PI;Object.freeze({__proto__:null,EPSILON:r,RANDOM:s,toRadian:function(e){return e*i},toDegree:function(e){return e*a},equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))}})},25929:(e,t,n)=>{n.d(t,{M:()=>f,f:()=>i,i:()=>h,p:()=>g,r:()=>o,t:()=>a,w:()=>u});var r=n(70586),s=n(17452);function i(e,t){const n=t&&t.url&&t.url.path;if(e&&n&&(e=(0,s.hF)(e,n,{preserveProtocolRelative:!0}),t.portalItem&&t.readResourcePaths)){const n=(0,s.PF)(e,t.portalItem.itemUrl);c.test(n)&&t.readResourcePaths.push(t.portalItem.resourceFromPath(n).path)}return d(e,t&&t.portal)}function a(e,t,n=f.YES){if(!e)return e;!(0,s.YP)(e)&&t&&t.blockedRelativeUrls&&t.blockedRelativeUrls.push(e);let r=(0,s.hF)(e);if(t){const n=t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.rootPath||t.url&&t.url.path;if(n){const i=d(n,t.portal);r=(0,s.PF)(d(r,t.portal),i,i),r!==e&&t.verifyItemRelativeUrls&&t.verifyItemRelativeUrls.writtenUrls.push(r)}}return r=function(e,t){return t&&!t.isPortal&&t.urlKey&&t.customBaseUrl?(0,s.Ie)(e,`${t.urlKey}.${t.customBaseUrl}`,t.portalHostname):e}(r,t&&t.portal),(0,s.YP)(r)&&(r=(0,s.Fv)(r)),null!=t&&t.resources&&null!=t&&t.portalItem&&!(0,s.YP)(r)&&!(0,s.HK)(r)&&n===f.YES&&t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(r)}),r}function o(e,t,n){return i(e,n)}function u(e,t,n,r){const s=a(e,r);void 0!==s&&(t[n]=s)}const l=/\/items\/([^\/]+)\/resources\//,c=/^\.\/resources\//;function h(e){const t=(0,r.pC)(e)?e.match(l):null;return(0,r.pC)(t)?t[1]:null}function d(e,t){if(!t||t.isPortal||!t.urlKey||!t.customBaseUrl)return e;const n=`${t.urlKey}.${t.customBaseUrl}`,r=(0,s.TI)();return(0,s.D6)(r,`${r.scheme}://${n}`)?(0,s.Ie)(e,t.portalHostname,n):(0,s.Ie)(e,n,t.portalHostname)}var f,m;(m=f||(f={}))[m.YES=0]="YES",m[m.NO=1]="NO";const g=Object.freeze({__proto__:null,fromJSON:i,toJSON:a,read:o,write:u,itemIdFromResourceUrl:h,get MarkKeep(){return f}})},17896:(e,t,n)=>{n.d(t,{E:()=>h,a:()=>d,b:()=>u,c:()=>y,d:()=>M,e:()=>_,f:()=>l,g:()=>a,h:()=>m,i:()=>f,k:()=>I,l:()=>i,m:()=>w,n:()=>p,p:()=>g,q:()=>b,r:()=>S,s:()=>o,t:()=>v,u:()=>C});var r=n(65617),s=n(46851);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function d(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function f(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function m(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function g(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function p(e,t){const n=t[0],r=t[1],s=t[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function M(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function y(e,t,n){const r=t[0],s=t[1],i=t[2],a=n[0],o=n[1],u=n[2];return e[0]=s*u-i*o,e[1]=i*a-r*u,e[2]=r*o-s*a,e}function _(e,t,n,r){const s=t[0],i=t[1],a=t[2];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e}function w(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12],e[1]=n[1]*r+n[5]*s+n[9]*i+n[13],e[2]=n[2]*r+n[6]*s+n[10]*i+n[14],e}function v(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=r*n[0]+s*n[3]+i*n[6],e[1]=r*n[1]+s*n[4]+i*n[7],e[2]=r*n[2]+s*n[5]+i*n[8],e}function b(e,t,n){const r=n[0],s=n[1],i=n[2],a=n[3],o=t[0],u=t[1],l=t[2];let c=s*l-i*u,h=i*o-r*l,d=r*u-s*o,f=s*d-i*h,m=i*c-r*d,g=r*h-s*c;const p=2*a;return c*=p,h*=p,d*=p,f*=2,m*=2,g*=2,e[0]=o+c+f,e[1]=u+h+m,e[2]=l+d+g,e}const U=(0,r.c)(),P=(0,r.c)();function I(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function S(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],i=n[2]-t[2];let a=r*r+s*s+i*i;return a>0?(a=1/Math.sqrt(a),e[0]=r*a,e[1]=s*a,e[2]=i*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const E=l,T=c,q=h,x=f,O=m,C=i,D=g;Object.freeze({__proto__:null,length:i,copy:a,set:o,add:u,subtract:l,multiply:c,divide:h,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:d,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e},distance:f,squaredDistance:m,squaredLength:g,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},normalize:p,dot:M,cross:y,lerp:_,hermite:function(e,t,n,r,s,i){const a=i*i,o=a*(2*i-3)+1,u=a*(i-2)+i,l=a*(i-1),c=a*(3-2*i);return e[0]=t[0]*o+n[0]*u+r[0]*l+s[0]*c,e[1]=t[1]*o+n[1]*u+r[1]*l+s[1]*c,e[2]=t[2]*o+n[2]*u+r[2]*l+s[2]*c,e},bezier:function(e,t,n,r,s,i){const a=1-i,o=a*a,u=i*i,l=o*a,c=3*i*o,h=3*u*a,d=u*i;return e[0]=t[0]*l+n[0]*c+r[0]*h+s[0]*d,e[1]=t[1]*l+n[1]*c+r[1]*h+s[1]*d,e[2]=t[2]*l+n[2]*c+r[2]*h+s[2]*d,e},random:function(e,t){t=t||1;const n=2*(0,s.R)()*Math.PI,r=2*(0,s.R)()-1,i=Math.sqrt(1-r*r)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=r*t,e},transformMat4:w,transformMat3:v,transformQuat:b,rotateX:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},angle:function(e,t){a(U,e),a(P,t),p(U,U),p(P,P);const n=M(U,P);return n>1?0:n<-1?Math.PI:Math.acos(n)},str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},exactEquals:I,equals:function(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],a=t[0],o=t[1],u=t[2];return Math.abs(n-a)<=s.E*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-o)<=s.E*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-u)<=s.E*Math.max(1,Math.abs(i),Math.abs(u))},direction:S,sub:E,mul:T,div:q,dist:x,sqrDist:O,len:C,sqrLen:D})},65617:(e,t,n)=>{function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function a(e){const t=[0,0,0],n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function o(e,t){return new Float64Array(e,t,3)}function u(){return i(1,1,1)}function l(){return i(1,0,0)}function c(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(t,{O:()=>f,Z:()=>d,a:()=>s,b:()=>o,c:()=>r,d:()=>a,f:()=>i});const d=[0,0,0],f=u(),m=l(),g=c(),p=h();Object.freeze({__proto__:null,create:r,clone:s,fromValues:i,fromArray:a,createView:o,zeros:function(){return[0,0,0]},ones:u,unitX:l,unitY:c,unitZ:h,ZEROS:d,ONES:f,UNIT_X:m,UNIT_Y:g,UNIT_Z:p})},98766:(e,t,n)=>{n.d(t,{a:()=>a,b:()=>c,c:()=>s,d:()=>p,e:()=>f,f:()=>m,g:()=>y,h:()=>_,l:()=>M,n:()=>g,s:()=>i});var r=n(46851);function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function i(e,t,n,r,s){return e[0]=t,e[1]=n,e[2]=r,e[3]=s,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function o(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function u(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function l(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function h(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return Math.sqrt(n*n+r*r+s*s+i*i)}function d(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2],i=t[3]-e[3];return n*n+r*r+s*s+i*i}function f(e){const t=e[0],n=e[1],r=e[2],s=e[3];return Math.sqrt(t*t+n*n+r*r+s*s)}function m(e){const t=e[0],n=e[1],r=e[2],s=e[3];return t*t+n*n+r*r+s*s}function g(e,t){const n=t[0],r=t[1],s=t[2],i=t[3];let a=n*n+r*r+s*s+i*i;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=r*a,e[2]=s*a,e[3]=i*a),e}function p(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function M(e,t,n,r){const s=t[0],i=t[1],a=t[2],o=t[3];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e[3]=o+r*(n[3]-o),e}function y(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function _(e,t){const n=e[0],s=e[1],i=e[2],a=e[3],o=t[0],u=t[1],l=t[2],c=t[3];return Math.abs(n-o)<=r.E*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(s-u)<=r.E*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(i-l)<=r.E*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(a-c)<=r.E*Math.max(1,Math.abs(a),Math.abs(c))}const w=o,v=u,b=l,U=h,P=d,I=f,S=m;Object.freeze({__proto__:null,copy:s,set:i,add:a,subtract:o,multiply:u,divide:l,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e},scale:c,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},distance:h,squaredDistance:d,length:f,squaredLength:m,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},normalize:g,dot:p,lerp:M,random:function(e,t){let n,s,i,a,o,u;t=t||1;do{n=2*(0,r.R)()-1,s=2*(0,r.R)()-1,o=n*n+s*s}while(o>=1);do{i=2*(0,r.R)()-1,a=2*(0,r.R)()-1,u=i*i+a*a}while(u>=1);const l=Math.sqrt((1-o)/u);return e[0]=t*n,e[1]=t*s,e[2]=t*i*l,e[3]=t*a*l,e},transformMat4:function(e,t,n){const r=t[0],s=t[1],i=t[2],a=t[3];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12]*a,e[1]=n[1]*r+n[5]*s+n[9]*i+n[13]*a,e[2]=n[2]*r+n[6]*s+n[10]*i+n[14]*a,e[3]=n[3]*r+n[7]*s+n[11]*i+n[15]*a,e},transformQuat:function(e,t,n){const r=t[0],s=t[1],i=t[2],a=n[0],o=n[1],u=n[2],l=n[3],c=l*r+o*i-u*s,h=l*s+u*r-a*i,d=l*i+a*s-o*r,f=-a*r-o*s-u*i;return e[0]=c*l+f*-a+h*-u-d*-o,e[1]=h*l+f*-o+d*-a-c*-u,e[2]=d*l+f*-u+c*-o-h*-a,e[3]=t[3],e},str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},exactEquals:y,equals:_,sub:w,mul:v,div:b,dist:U,sqrDist:P,len:I,sqrLen:S})},3920:(e,t,n)=>{n.d(t,{r:()=>c,p:()=>l});var r=n(43697),s=n(15923),i=n(61247),a=n(5600),o=n(52011),u=n(89749);const l=e=>{let t=class extends e{destroy(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new u.t}};return(0,r._)([(0,a.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,r._)([(0,a.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,r._)([(0,o.j)("esri.core.HandleOwner")],t),t};let c=class extends(l(s.Z)){};c=(0,r._)([(0,o.j)("esri.core.HandleOwner")],c)},22021:(e,t,n)=>{n.d(t,{ZF:()=>d,Kt:()=>f,jE:()=>p,uZ:()=>a,oK:()=>m,Vl:()=>c,wt:()=>o,t7:()=>l,Sf:()=>i,fp:()=>u,BV:()=>h});var r=n(17896);n(98766);const s=new Float32Array(1);function i(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function a(e,t,n){return Math.min(Math.max(e,t),n)}function o(e){return 0==(e&e-1)}function u(e){return e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e}function l(e,t,n){return e+(t-e)*n}function c(e){return e*Math.PI/180}function h(e){return 180*e/Math.PI}function d(e){return Math.acos(a(e,-1,1))}function f(e){return Math.asin(a(e,-1,1))}function m(e){return g(Math.max(-M,Math.min(e,M)))}function g(e){return s[0]=e,s[0]}function p(e,t){const n=(0,r.l)(e),s=f(e[2]/n),i=Math.atan2(e[1]/n,e[0]/n);return(0,r.s)(t,n,s,i),t}const M=g(34028234663852886e22)},35463:(e,t,n)=>{n.d(t,{rJ:()=>o,Nm:()=>i,JE:()=>a}),n(80442);const r={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8},s={milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",multiplier:1},seconds:{getter:"getSeconds",setter:"setSeconds",multiplier:1},minutes:{getter:"getMinutes",setter:"setMinutes",multiplier:1},hours:{getter:"getHours",setter:"setHours",multiplier:1},days:{getter:"getDate",setter:"setDate",multiplier:1},weeks:{getter:"getDate",setter:"setDate",multiplier:7},months:{getter:"getMonth",setter:"setMonth",multiplier:1},years:{getter:"getFullYear",setter:"setFullYear",multiplier:1},decades:{getter:"getFullYear",setter:"setFullYear",multiplier:10},centuries:{getter:"getFullYear",setter:"setFullYear",multiplier:100}};function i(e,t,n){const r=new Date(e.getTime());if(t&&n){const e=s[n],{getter:i,setter:a,multiplier:o}=e;if("months"===n){const e=function(e,t){const n=new Date(e,t+1,1);return n.setDate(0),n.getDate()}(r.getFullYear(),r.getMonth()+t);r.getDate()>e&&r.setDate(e)}r[a](r[i]()+t*o)}return r}function a(e,t){switch(t){case"milliseconds":return new Date(e.getTime());case"seconds":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());case"minutes":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes());case"hours":return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours());case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate());case"weeks":return new Date(e.getFullYear(),e.getMonth(),e.getDate()-e.getDay());case"months":return new Date(e.getFullYear(),e.getMonth(),1);case"years":return new Date(e.getFullYear(),0,1);case"decades":return new Date(e.getFullYear()-e.getFullYear()%10,0,1);case"centuries":return new Date(e.getFullYear()-e.getFullYear()%100,0,1);default:return new Date}}function o(e,t,n){return 0===e?0:e*r[t]/r[n]}},67900:(e,t,n)=>{n.d(t,{gV:()=>R,En:()=>U,Z7:()=>q,c9:()=>T,_R:()=>S,qE:()=>C,cM:()=>E,hd:()=>c,ty:()=>P,Jo:()=>Y,$C:()=>I}),n(80442);var r=n(35454),s=n(70586),i=n(24678),a=n(82971),o=n(68441),u=n(8744),l=n(58116);const c=39.37,h=o.sv.radius*Math.PI/200,d=/UNIT\[([^\]]+)\]\]$/i,f=l.Z,m=/UNIT\[([^\]]+)\]/i,g=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),p=(0,r.w)()({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"}),M=e=>e*e,y=e=>e*e*e,_={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:M(.001)},"square-centimeters":{inBaseUnits:M(.01)},"square-decimeters":{inBaseUnits:M(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:M(1e3)},"square-inches":{inBaseUnits:M(.0254)},"square-feet":{inBaseUnits:M(.3048)},"square-yards":{inBaseUnits:M(.9144)},"square-miles":{inBaseUnits:M(1609.344)},"square-us-feet":{inBaseUnits:M(1200/3937)},acres:{inBaseUnits:.0015625*M(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*y(.001)},"cubic-centimeters":{inBaseUnits:1e3*y(.01)},"cubic-decimeters":{inBaseUnits:1e3*y(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*y(1e3)},"cubic-inches":{inBaseUnits:1e3*y(.0254)},"cubic-feet":{inBaseUnits:1e3*y(.3048)},"cubic-yards":{inBaseUnits:1e3*y(.9144)},"cubic-miles":{inBaseUnits:1e3*y(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},w=function(){const e={};for(const t in _)for(const n in _[t].units)e[n]=t;return e}();function v(e){const t=w[e];if(t)return t;throw new Error("unknown measure")}function b(e,t=null){return t=t||v(e),_[t].baseUnit===e}function U(e,t,n){if(t===n)return e;const r=v(t);if(r!==v(n))throw new Error("incompatible units");const s=b(t,r)?e:function(e,t,n){return e*_[n].units[t].inBaseUnits}(e,t,r);return b(n,r)?s:function(e,t,n){return e/_[n].units[t].inBaseUnits}(s,n,r)}function P(e,t,n){return U(e,t,"meters")/(n*Math.PI/180)}function I(e){return p.fromJSON(e.toLowerCase())||null}function S(e){if(e&&"object"==typeof e&&!(0,u.N$)(e))return 1;const t=T(e);return t>1e5?1:t}function E(e){return T(e)>=(e instanceof a.Z?(0,i.Iu)(e).metersPerDegree:1e5)?"meters":C(e)}function T(e,t=o.sv.metersPerDegree){return q(e,!0)||t}function q(e,t=!1){let n,r,s=null;if(null!=e&&("object"==typeof e?(n=e.wkid,r=e.wkt):"number"==typeof e?n=e:"string"==typeof e&&(r=e)),n){if((0,u.o$)(n))return o.yr.metersPerDegree;if((0,u.ME)(n))return o.Z1.metersPerDegree;s=f.values[f[n]],!s&&t&&g.has(n)&&(s=h)}else r&&(A(r)?s=x(d.exec(r),s):D(r)&&(s=x(m.exec(r),s)));return s}function x(e,t){return e&&e[1]?O(e[1]):t}function O(e){return parseFloat(e.split(",")[1])}function C(e){let t,n,r=null;if(null!=e&&("object"==typeof e?(t=e.wkid,n=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(n=e)),t)r=f.units[f[t]];else if(n){const e=A(n)?d:D(n)?m:null;if(e){const t=e.exec(n);t&&t[1]&&(r=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let n=t&&t[1];if(!n||-1===f.units.indexOf(n)){const t=O(e);n=null;const r=f.values;for(let e=0;e<r.length;++e)if(Math.abs(t-r[e])<1e-7){n=f.units[e];break}}return n}(t[1]))}}return(0,s.pC)(r)?I(r):null}function D(e){return/^GEOCCS/i.test(e)}function A(e){return/^PROJCS/i.test(e)}const k={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"},B={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},R=(0,r.w)()(k),Y=(0,r.w)()(B);(0,r.w)()({...k,...B})},80903:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(50758),s=n(92604),i=n(95330),a=n(25045);const o=s.Z.getLogger("esri.core.workers.Connection");class u{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(((n,r)=>{let s=!0;const o=e=>{(0,i.k_)(t.signal),s&&(s=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let s=0;s<e.length;++s){const u=e[s];(0,i.y8)(u)?this._clientPromises[s]=u.then((e=>(this._clients[s]=new a.default(e,t),o(n),this._clients[s])),(()=>(o(r),null))):(this._clients[s]=new a.default(u,t),this._clientPromises[s]=Promise.resolve(this._clients[s]),o(n))}}))}broadcast(e,t,n){const r=new Array(this._clientPromises.length);for(let s=0;s<this._clientPromises.length;++s){const i=this._clientPromises[s];r[s]=i.then((r=>r.invoke(e,t,n)))}return r}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const n=this._clients[t];if(n){if(!n.isBusy())return Promise.resolve(n)}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,n){let r=null;return Array.isArray(n)?(o.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),r={transferList:n}):r=n,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((n=>n.invoke(e,t,r)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,r.AL)(this._clients.map((n=>n.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let n=t.length;for(let r=0;r<this._clientPromises.length;++r)this._clientPromises[r].then((s=>{t[r]=s.openPort(),0==--n&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},24678:(e,t,n)=>{n.d(t,{GG:()=>o,HQ:()=>u,VY:()=>l,wY:()=>c,Iu:()=>d,e8:()=>f,rS:()=>h});var r=n(82971),s=n(68441),i=n(8744);function a(e){return new r.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 o=a(s.sv),u=a(s.yr),l=a(s.Z1),c=new r.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${s.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 h(e){return e&&((0,i.BZ)(e)||e===u)?u:e&&((0,i.V2)(e)||e===l)?l:o}function d(e){return e&&((0,i.BZ)(e)||e===u)?s.yr:e&&((0,i.V2)(e)||e===l)?s.Z1:s.sv}function f(e){return(0,i.o$)(e)?s.yr:(0,i.ME)(e)?s.Z1:s.sv}},24470:(e,t,n)=>{n.d(t,{Gv:()=>d,SO:()=>l,r3:()=>h,Ue:()=>i,oJ:()=>o,al:()=>a,kK:()=>c,HH:()=>u}),n(80442),n(22021);var r=n(70586),s=n(6570);function i(e=f){return[e[0],e[1],e[2],e[3]]}function a(e,t,n,r,s=i()){return s[0]=e,s[1]=t,s[2]=n,s[3]=r,s}function o(e,t=i()){return t[0]=e.xmin,t[1]=e.ymin,t[2]=e.xmax,t[3]=e.ymax,t}function u(e,t){return new s.Z({xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:t})}function l(e){return function(e){return(0,r.Wi)(e)||e[0]>=e[2]?0:e[2]-e[0]}(e)*function(e){return e[1]>=e[3]?0:e[3]-e[1]}(e)}function c(e,t){return Math.max(t[0],e[0])<=Math.min(t[2],e[2])&&Math.max(t[1],e[1])<=Math.min(t[3],e[3])}function h(e,t){return t[0]>=e[0]&&t[2]<=e[2]&&t[1]>=e[1]&&t[3]<=e[3]}const d=[1/0,1/0,-1/0,-1/0],f=[0,0,0,0]},66677:(e,t,n)=>{n.d(t,{ld:()=>m,B5:()=>h,M8:()=>p,G:()=>w,Qc:()=>d,DR:()=>f,Nm:()=>M,XG:()=>y,a7:()=>g,wH:()=>_});var r=n(70586),s=n(17452),i=n(25929);const a={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer"},o=Object.values(a),u=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),l=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function h(e){return!!u.test(e)}function d(e){const t=(0,s.mN)(e),n=t.path.match(u)||t.path.match(l);if(!n)return null;const[,r,i,o,c]=n,h=i.indexOf("/");return{title:m(-1!==h?i.slice(h+1):i),serverType:a[o.toLowerCase()],sublayer:null!=c&&""!==c?parseInt(c,10):null,url:{path:r}}}function f(e){const t=(0,s.mN)(e).path.match(c);return t?{serviceUrl:t[1],sublayerId:Number(t[2])}:null}function m(e){return(e=e.replace(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function g(e,t){const n=[];if(e){const t=d(e);(0,r.pC)(t)&&t.title&&n.push(t.title)}if(t){const e=m(t);n.push(e)}if(2===n.length){if(-1!==n[0].toLowerCase().indexOf(n[1].toLowerCase()))return n[0];if(-1!==n[1].toLowerCase().indexOf(n[0].toLowerCase()))return n[1]}return n.join(" - ")}function p(e){if(!e)return!1;const t=-1!==(e=e.toLowerCase()).indexOf(".arcgis.com/"),n=-1!==e.indexOf("//services")||-1!==e.indexOf("//tiles")||-1!==e.indexOf("//features");return t&&n}function M(e,t){return e?(0,s.Qj)((0,s.Hu)(e,t)):e}function y(e){let{url:t}=e;if(!t)return{url:t};t=(0,s.Hu)(t,e.logger);const n=(0,s.mN)(t),i=d(n.path);let a;if((0,r.pC)(i))null!=i.sublayer&&null==e.layer.layerId&&(a=i.sublayer),t=i.url.path;else if(e.nonStandardUrlAllowed){const e=f(n.path);(0,r.pC)(e)&&(t=e.serviceUrl,a=e.sublayerId)}return{url:(0,s.Qj)(t),layerId:a}}function _(e,t,n,r,a){(0,i.w)(t,r,"url",a),r.url&&null!=e.layerId&&(r.url=(0,s.v_)(r.url,n,e.layerId.toString()))}function w(e){if(!e)return!1;const t=e.toLowerCase(),n=-1!==t.indexOf("/services/"),r=-1!==t.indexOf("/mapserver/wmsserver"),s=-1!==t.indexOf("/imageserver/wmsserver"),i=-1!==t.indexOf("/wmsserver");return n&&(r||s||i)}},89749:(e,t,n)=>{n.d(t,{t:()=>h});var r=n(43697),s=n(15923),i=n(61247),a=n(70586),o=n(17445),u=n(1654),l=n(5600),c=n(52011);let h=class extends s.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new i.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,n={}){const r=++this.handleId;n.sync||this._installSyncUpdatingWatch(e,r);const s=(0,o.YP)(e,t,n);return this.handles.add(s,r),{remove:()=>this.handles.remove(r)}}addOnCollectionChange(e,t,{initial:n=!1}={}){const r=++this.handleId;return this.handles.add([(0,o.on)(e,"after-changes",this._createSyncUpdatingCallback(),o.Z_),(0,o.on)(e,"change",t,{onListenerAdd:n?e=>t({added:e.items,removed:[],moved:[],target:e}):void 0})],r),{remove:()=>this.handles.remove(r)}}addPromise(e){if((0,a.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(d)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const n=()=>this.handles.remove(t);return e.then(n,n),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}_installSyncUpdatingWatch(e,t){const n=this._createSyncUpdatingCallback(),r=(0,o.YP)(e,n,{sync:!0,equals:()=>!1});return this.handles.add(r,t),r}_createSyncUpdatingCallback(){return()=>{this.handles.remove(d),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,u.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(d))})),d)}}};(0,r._)([(0,l.Cb)({readOnly:!0})],h.prototype,"updating",void 0),h=(0,r._)([(0,c.j)("esri.views.support.WatchUpdatingTracking")],h);const d=-42;var f,m;(m=f||(f={}))[m.NONE=0]="NONE",m[m.SYNC=1]="SYNC",m[m.INIT=2]="INIT"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4588],{99514:(e,t,i)=>{i.d(t,{Z:()=>n});var r=i(35671);function o(e){return"oid"===e.type||"esriFieldTypeOID"===e.type}function s(e){return"global-id"===e.type||"esriFieldTypeGlobalID"===e.type}class n{constructor(e){if(this.fields=e,this._fieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this.dateFields=[],this.numericFields=[],this._requiredFields=null,!e)return;const t=[];for(const n of e){const e=n&&n.name;if(e){const l=a(e);this._fieldsMap.set(e,n),this._fieldsMap.set(l,n),t.push(l),"date"===(i=n).type||"esriFieldTypeDate"===i.type?(this.dateFields.push(n),this._dateFieldsSet.add(n)):(0,r.H7)(n)&&(this._numericFieldsSet.add(n),this.numericFields.push(n)),o(n)||s(n)||(n.editable=null==n.editable||!!n.editable,n.nullable=null==n.nullable||!!n.nullable)}}var i;t.sort(),this.uid=t.join(",")}destroy(){this._fieldsMap.clear()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)o(e)||s(e)||e.nullable||void 0!==(0,r.os)(e)||this._requiredFields.push(e)}return this._requiredFields}has(e){return null!=this.get(e)}get(e){return null!=e?this._fieldsMap.get(e)||this._fieldsMap.get(a(e)):void 0}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){const t=this.get(e);if(t)return t.name}}function a(e){return e.toLowerCase().trim()}},10158:(e,t,i)=>{i.d(t,{n:()=>D});var r,o=i(43697),s=i(35454),n=i(96674),a=i(5600),l=(i(67676),i(80442),i(90578)),p=i(36030),u=i(71715),d=i(52011),c=i(75215),y=i(63213),h=i(1231),m=i(42843),b=(i(66577),i(82971)),v=i(86973);let w=r=class extends n.wq{constructor(e){super(e),this.type="query-table"}clone(){var e;const{workspaceId:t,query:i,oidFields:o,spatialReference:s,geometryType:n}=this,a={workspaceId:t,query:i,oidFields:o,spatialReference:null!=(e=null==s?void 0:s.clone())?e:void 0,geometryType:n};return new r(a)}};var _;(0,o._)([(0,p.J)({queryTable:"query-table"})],w.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"query",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"oidFields",void 0),(0,o._)([(0,a.Cb)({type:b.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o._)([(0,p.J)(v.Mk)],w.prototype,"geometryType",void 0),w=r=(0,o._)([(0,d.j)("esri.layers.support.source.QueryTableDataSource")],w);let g=_=class extends n.wq{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new _({workspaceId:e,dataSourceName:t})}};var S;(0,o._)([(0,p.J)({raster:"raster"})],g.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"dataSourceName",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"workspaceId",void 0),g=_=(0,o._)([(0,d.j)("esri.layers.support.source.RasterDataSource")],g);let C=S=class extends n.wq{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:i}=this;return new S({workspaceId:e,gdbVersion:t,dataSourceName:i})}};var f,j;(0,o._)([(0,p.J)({table:"table"})],C.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"gdbVersion",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"dataSourceName",void 0),C=S=(0,o._)([(0,d.j)("esri.layers.support.source.TableDataSource")],C);const T=(0,s.w)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let R=f=class extends n.wq{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,i){return x()(e,t,i)}castLeftTableSource(e){return(0,c.N7)(M(),e)}readRightTableSource(e,t,i){return x()(e,t,i)}castRightTableSource(e){return(0,c.N7)(M(),e)}clone(){var e,t;const{leftTableKey:i,rightTableKey:r,leftTableSource:o,rightTableSource:s,joinType:n}=this,a={leftTableKey:i,rightTableKey:r,leftTableSource:null!=(e=null==o?void 0:o.clone())?e:void 0,rightTableSource:null!=(t=null==s?void 0:s.clone())?t:void 0,joinType:n};return new f(a)}};(0,o._)([(0,p.J)({joinTable:"join-table"})],R.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"leftTableKey",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"rightTableKey",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"leftTableSource",void 0),(0,o._)([(0,u.r)("leftTableSource")],R.prototype,"readLeftTableSource",null),(0,o._)([(0,l.p)("leftTableSource")],R.prototype,"castLeftTableSource",null),(0,o._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"rightTableSource",void 0),(0,o._)([(0,u.r)("rightTableSource")],R.prototype,"readRightTableSource",null),(0,o._)([(0,l.p)("rightTableSource")],R.prototype,"castRightTableSource",null),(0,o._)([(0,p.J)(T)],R.prototype,"joinType",void 0),R=f=(0,o._)([(0,d.j)("esri.layers.support.source.JoinTableDataSource")],R);let F=null;function x(){return F||(F=(0,y.d)({types:M()})),F}let P=null;function M(){return P||(P={key:"type",base:null,typeMap:{"data-layer":D,"map-layer":m.R}}),P}const q={key:"type",base:null,typeMap:{"join-table":R,"query-table":w,raster:g,table:C}};let D=j=class extends n.wq{constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new j({fields:e,dataSource:t})}};(0,o._)([(0,p.J)({dataLayer:"data-layer"})],D.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:[h.Z],json:{write:!0}})],D.prototype,"fields",void 0),(0,o._)([(0,a.Cb)({types:q,json:{write:!0}})],D.prototype,"dataSource",void 0),D=j=(0,o._)([(0,d.j)("esri.layers.support.source.DataLayerSource")],D),D.from=(0,c.se)(D)},42843:(e,t,i)=>{i.d(t,{R:()=>u});var r,o=i(43697),s=i(96674),n=i(5600),a=(i(67676),i(80442),i(75215)),l=i(36030),p=i(52011);let u=r=class extends s.wq{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new r({mapLayerId:e,gdbVersion:t})}};(0,o._)([(0,l.J)({mapLayer:"map-layer"})],u.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"mapLayerId",void 0),(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"gdbVersion",void 0),u=r=(0,o._)([(0,p.j)("esri.layers.support.source.MapLayerSource")],u)},6388:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=(i(66577),i(35454)),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(6570);const d=new s.X({upperLeft:"upper-left",lowerLeft:"lower-left"});let c=r=class extends n.wq{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new r((0,a.d9)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o._)([(0,l.Cb)({type:u.Z,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"extent",void 0),(0,o._)([(0,l.Cb)({type:["view","edit"],json:{write:!0}})],c.prototype,"mode",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:d.read,write:d.write}})],c.prototype,"originPosition",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"tolerance",void 0),c=r=(0,o._)([(0,p.j)("esri.rest.support.QuantizationParameters")],c);const y=c},57444:(e,t,i)=>{i.d(t,{Z:()=>R});var r,o=i(43697),s=i(66577),n=i(92835),a=i(35454),l=i(96674),p=i(22974),u=i(70586),d=i(5600),c=i(90578),y=i(36030),h=i(52011),m=i(30556),b=i(75215),v=i(33955),w=i(10158),_=i(6388),g=i(58539),S=i(82971),C=i(13473);const f=new a.X({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),j=new a.X({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let T=r=class extends l.wq{constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.datumTransformation=null,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}static from(e){return(0,b.TJ)(r,e)}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const i={};for(const t in e){const r=e[t];Array.isArray(r)?i[t]=r.map((e=>e instanceof Date?e.getTime():e)):r instanceof Date?i[t]=r.getTime():i[t]=r}t.parameterValues=i}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new r((0,p.d9)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,datumTransformation:this.datumTransformation,distance:this.distance,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:(0,u.pC)(this.historicMoment)?new Date(this.historicMoment.getTime()):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}};T.MAX_MAX_RECORD_COUNT_FACTOR=5,(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"aggregateIds",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:!0}})],T.prototype,"cacheHint",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"datumTransformation",void 0),(0,o._)([(0,c.p)("datumTransformation")],T.prototype,"castDatumTransformation",null),(0,o._)([(0,d.Cb)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],T.prototype,"distance",void 0),(0,o._)([(0,d.Cb)({type:w.n,json:{write:!0}})],T.prototype,"dynamicDataSource",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"formatOf3DObjects",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"gdbVersion",void 0),(0,o._)([(0,d.Cb)({types:s.qM,json:{read:v.im,write:!0}})],T.prototype,"geometry",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{write:!0}})],T.prototype,"geometryPrecision",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"groupByFieldsForStatistics",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"having",void 0),(0,o._)([(0,d.Cb)({type:Date})],T.prototype,"historicMoment",void 0),(0,o._)([(0,m.c)("historicMoment")],T.prototype,"writeHistoricMoment",null),(0,o._)([(0,d.Cb)({type:Number,json:{write:!0}})],T.prototype,"maxAllowableOffset",void 0),(0,o._)([(0,d.Cb)({type:Number,cast:e=>e<1?1:e>r.MAX_MAX_RECORD_COUNT_FACTOR?r.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],T.prototype,"maxRecordCountFactor",void 0),(0,o._)([(0,d.Cb)({type:["xyFootprint"],json:{write:!0}})],T.prototype,"multipatchOption",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],T.prototype,"num",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"objectIds",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"orderByFields",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"outFields",void 0),(0,o._)([(0,d.Cb)({type:S.Z,json:{name:"outSR",write:!0}})],T.prototype,"outSpatialReference",void 0),(0,o._)([(0,d.Cb)({type:[g.Z],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,u.pC)(this.outStatistics)&&this.outStatistics.length>0}}}}})],T.prototype,"outStatistics",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"parameterValues",void 0),(0,o._)([(0,m.c)("parameterValues")],T.prototype,"writeParameterValues",null),(0,o._)([(0,d.Cb)({type:C.Z,json:{write:!0}})],T.prototype,"pixelSize",void 0),(0,o._)([(0,d.Cb)({type:_.Z,json:{write:!0}})],T.prototype,"quantizationParameters",void 0),(0,o._)([(0,d.Cb)({type:[Object],json:{write:!0}})],T.prototype,"rangeValues",void 0),(0,o._)([(0,d.Cb)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],T.prototype,"relationParameter",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"resultType",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnCentroid",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnDistinctValues",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!0,write:!0}})],T.prototype,"returnExceededLimitFeatures",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:!0}})],T.prototype,"returnGeometry",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnQueryGeometry",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnM",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],T.prototype,"returnZ",void 0),(0,o._)([(0,d.Cb)({type:S.Z,json:{write:!0}})],T.prototype,"sourceSpatialReference",void 0),(0,o._)([(0,y.J)(f,{ignoreUnknown:!1,name:"spatialRel"})],T.prototype,"spatialRelationship",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],T.prototype,"start",void 0),(0,o._)([(0,m.c)("start"),(0,m.c)("num")],T.prototype,"writeStart",null),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"sqlFormat",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"text",void 0),(0,o._)([(0,d.Cb)({type:n.Z,json:{write:!0}})],T.prototype,"timeExtent",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"timeReferenceUnknownClient",void 0),(0,o._)([(0,y.J)(j,{ignoreUnknown:!1}),(0,d.Cb)({json:{write:{overridePolicy(e){return{enabled:e&&this.distance>0}}}}})],T.prototype,"units",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||this.start>0}}}}})],T.prototype,"where",void 0),(0,o._)([(0,m.c)("where")],T.prototype,"writeWhere",null),T=r=(0,o._)([(0,h.j)("esri.rest.support.Query")],T);const R=T},58539:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=i(35454),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(30556);const d=new s.X({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let c=r=class extends n.wq{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.d9)(e))}clone(){return new r({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.d9)(this.statisticParameters)})}};(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxPointCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxRecordCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxVertexCount",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"onStatisticField",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"outStatisticFieldName",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:{source:"statisticType",reader:d.read},write:{target:"statisticType",writer:d.write}}})],c.prototype,"statisticType",void 0),(0,o._)([(0,l.Cb)({type:Object})],c.prototype,"statisticParameters",void 0),(0,o._)([(0,u.c)("statisticParameters")],c.prototype,"writeStatisticParameters",null),c=r=(0,o._)([(0,p.j)("esri.rest.support.StatisticDefinition")],c);const y=c}}]);