@arcgis/core 5.2.0-next.128 → 5.2.0-next.129

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 (300) hide show
  1. package/applications/Components/imageryUtils.js +1 -1
  2. package/arcade/batchExec.js +1 -1
  3. package/arcade/geometry/adapters/dehydrated.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/06da350b4ea25732f52b.js +1 -0
  6. package/assets/esri/core/workers/chunks/{67dcf9b873cb037b2647.js → 081c9ccaa5884c730a91.js} +1 -1
  7. package/assets/esri/core/workers/chunks/094102031cc77b20db74.js +1 -0
  8. package/assets/esri/core/workers/chunks/0b85c844af97b2fb0ba8.js +1 -0
  9. package/assets/esri/core/workers/chunks/{86d7a3ae672a51b75fcc.js → 0d44f793d3b0d33153ac.js} +1 -1
  10. package/assets/esri/core/workers/chunks/0de140199161fcd15a0c.js +1 -0
  11. package/assets/esri/core/workers/chunks/0deceece4b465f653f58.js +1 -0
  12. package/assets/esri/core/workers/chunks/111dc5653daa7f3e1001.js +1 -0
  13. package/assets/esri/core/workers/chunks/139e3da8ea081e21539e.js +1 -0
  14. package/assets/esri/core/workers/chunks/142bedebd37d747f84ba.js +1 -0
  15. package/assets/esri/core/workers/chunks/15dc28b4fa5b5110472b.js +1 -0
  16. package/assets/esri/core/workers/chunks/{dd02cc18ebebb90778c6.js → 17e2bfc7468c23e43bef.js} +1 -1
  17. package/assets/esri/core/workers/chunks/196d33f4d8e3a256ad94.js +1 -0
  18. package/assets/esri/core/workers/chunks/1a02c68de65a67ab6a67.js +1 -0
  19. package/assets/esri/core/workers/chunks/{4165eb86471ea3bbf364.js → 1aecf7106a21320e054e.js} +1 -1
  20. package/assets/esri/core/workers/chunks/1bc03b8065cbbbb06c87.js +1 -0
  21. package/assets/esri/core/workers/chunks/1beb32170d659bc43977.js +1 -0
  22. package/assets/esri/core/workers/chunks/20ee32fee219afbcfee3.js +1 -0
  23. package/assets/esri/core/workers/chunks/{9467744cb7d094a5067a.js → 21d2f5324db0b199060c.js} +1 -1
  24. package/assets/esri/core/workers/chunks/22abb9a74f6594f9db2a.js +1 -0
  25. package/assets/esri/core/workers/chunks/237795866c075880531b.js +1 -0
  26. package/assets/esri/core/workers/chunks/25e4da9c6837ab0fa585.js +1 -0
  27. package/assets/esri/core/workers/chunks/2a5fde737dc99627142e.js +1 -0
  28. package/assets/esri/core/workers/chunks/3412050ae63ff7dcaf36.js +1 -0
  29. package/assets/esri/core/workers/chunks/35316724c8d3cc39cf80.js +1 -0
  30. package/assets/esri/core/workers/chunks/354cc6cd2a56937f1747.js +1 -0
  31. package/assets/esri/core/workers/chunks/365ae479765ca9e47de4.js +1 -0
  32. package/assets/esri/core/workers/chunks/{8190fcb1dd10ad20feed.js → 36ef86701883a20dd6f6.js} +1 -1
  33. package/assets/esri/core/workers/chunks/3759e272a1d43534a190.js +1 -0
  34. package/assets/esri/core/workers/chunks/397ddcf0b8e858a17b70.js +1 -0
  35. package/assets/esri/core/workers/chunks/3a7a558e30b5cb81c801.js +1 -0
  36. package/assets/esri/core/workers/chunks/3c9405d310a1b08c901e.js +1 -0
  37. package/assets/esri/core/workers/chunks/{e10fe4c77b8dc4492092.js → 3ce53562926b05e71af5.js} +1 -1
  38. package/assets/esri/core/workers/chunks/3d174a84b785fc633a5a.js +1 -0
  39. package/assets/esri/core/workers/chunks/3d67fed3e53993c38b58.js +1 -0
  40. package/assets/esri/core/workers/chunks/42bdeeff55fb1a3f735f.js +1 -0
  41. package/assets/esri/core/workers/chunks/48f1532520b76fa7f0c2.js +1 -0
  42. package/assets/esri/core/workers/chunks/{00d9e41deecf5828975c.js → 4adc3822ed9f498f5653.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{d5f0fed415b5b155d57c.js → 51741ef8225d470716fe.js} +1 -1
  44. package/assets/esri/core/workers/chunks/5191e481d0e19a7f3888.js +1 -0
  45. package/assets/esri/core/workers/chunks/{7fcee3a1b900ddc9a5e3.js → 540acf6abdee9dbd453e.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{d9b63cf111035b05cd2e.js → 5484b89adc53430226d5.js} +1 -1
  47. package/assets/esri/core/workers/chunks/55361b50ecfc98db2ffb.js +1 -0
  48. package/assets/esri/core/workers/chunks/58da7c41c1bcef2f4141.js +1 -0
  49. package/assets/esri/core/workers/chunks/5979bbefb09d132c008f.js +1 -0
  50. package/assets/esri/core/workers/chunks/{84db05e872dbf35c80a2.js → 5982c6a8459c1237b298.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{0a20f84b5f004a77a9f9.js → 5abfc4f447b01d6bf287.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{4c0dba437de0969a5b63.js → 5b9f88194433410bad5b.js} +1 -1
  53. package/assets/esri/core/workers/chunks/5f794f4e0113d5dd50ba.js +1 -0
  54. package/assets/esri/core/workers/chunks/62a30692e2a7612bafc1.js +1 -0
  55. package/assets/esri/core/workers/chunks/62aa7daad4ca7332854e.js +1 -0
  56. package/assets/esri/core/workers/chunks/66926c3686d5ef2d4692.js +29 -0
  57. package/assets/esri/core/workers/chunks/6994ba168465b77a36af.js +1 -0
  58. package/assets/esri/core/workers/chunks/6d0c6fda9100fe89f3cb.js +1 -0
  59. package/assets/esri/core/workers/chunks/72a898894438f177cd62.js +1 -0
  60. package/assets/esri/core/workers/chunks/78d4455237120103f639.js +1 -0
  61. package/assets/esri/core/workers/chunks/7fccf53aa751cd9dae57.js +1 -0
  62. package/assets/esri/core/workers/chunks/{6267a1fe1603daa399b4.js → 81327e10200065a0ccef.js} +1 -1
  63. package/assets/esri/core/workers/chunks/84a3fbe5d85a357f4e82.js +1 -0
  64. package/assets/esri/core/workers/chunks/862479729f2d036f606b.js +1 -0
  65. package/assets/esri/core/workers/chunks/8a9aa6db11d0f643961c.js +1 -0
  66. package/assets/esri/core/workers/chunks/8dfea65341991e13ab71.js +1 -0
  67. package/assets/esri/core/workers/chunks/8e92925043dc49ed1018.js +1 -0
  68. package/assets/esri/core/workers/chunks/8f0b2b0ca239b01f44d0.js +1 -0
  69. package/assets/esri/core/workers/chunks/93a89168c18db88f60e7.js +1 -0
  70. package/assets/esri/core/workers/chunks/991c854a4459c82d4d93.js +1 -0
  71. package/assets/esri/core/workers/chunks/{f90cad9f007a11154c0d.js → 9b080d07699b56f06c5f.js} +1 -1
  72. package/assets/esri/core/workers/chunks/9cd69aa3880838a834f8.js +1 -0
  73. package/assets/esri/core/workers/chunks/{2ca49fb4590cc34a02bd.js → 9d87f38b16dda1ff7978.js} +1 -1
  74. package/assets/esri/core/workers/chunks/9fd1e5a2c0a261ed2a33.js +1 -0
  75. package/assets/esri/core/workers/chunks/a189e520da39919cdcca.js +1 -0
  76. package/assets/esri/core/workers/chunks/a3a5cb664bdb1db190dd.js +1 -0
  77. package/assets/esri/core/workers/chunks/a63c456ecf018ec06778.js +1 -0
  78. package/assets/esri/core/workers/chunks/{842f993fa60b410cb613.js → a8322a978e33c7349fdf.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{f479b4a4cee4bb2e046c.js → aa96eea0899757ab38c7.js} +1 -1
  80. package/assets/esri/core/workers/chunks/ab0b2a76247dfd56b92d.js +1 -0
  81. package/assets/esri/core/workers/chunks/ab7337b076d152a8eb9e.js +1 -0
  82. package/assets/esri/core/workers/chunks/ac0de274853a42d518a1.js +1 -0
  83. package/assets/esri/core/workers/chunks/ad372e399e20d5a3262d.js +1 -0
  84. package/assets/esri/core/workers/chunks/ae75b3e5320d03dff64c.js +1 -0
  85. package/assets/esri/core/workers/chunks/ae98530d5816306216b3.js +1 -0
  86. package/assets/esri/core/workers/chunks/afc94c4b9bc007fe310f.js +1 -0
  87. package/assets/esri/core/workers/chunks/afe54923339e957b71b9.js +1 -0
  88. package/assets/esri/core/workers/chunks/bbcac00362fef5e3956d.js +1 -0
  89. package/assets/esri/core/workers/chunks/{1302bf9718747cd9fdd9.js → bcee161dd1c4781d1998.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{d1f54b0079fb71a15612.js → bd231bc0624eb889ac14.js} +1 -1
  91. package/assets/esri/core/workers/chunks/c0075715fbe7bec10fc3.js +1 -0
  92. package/assets/esri/core/workers/chunks/c4e1e864fb8c119b2520.js +1 -0
  93. package/assets/esri/core/workers/chunks/c93cedf9e53da5aaa35b.js +1 -0
  94. package/assets/esri/core/workers/chunks/{2d592c935571de80a2e2.js → c9690810b198a97bc16d.js} +1 -1
  95. package/assets/esri/core/workers/chunks/cada517cc25fa37f778c.js +1 -0
  96. package/assets/esri/core/workers/chunks/cd1821bf601949674e02.js +1 -0
  97. package/assets/esri/core/workers/chunks/{1b42d163ef22e3565bb7.js → cf7b7e54cd87422ca62a.js} +1 -1
  98. package/assets/esri/core/workers/chunks/d195c57fc6de3560653d.js +1 -0
  99. package/assets/esri/core/workers/chunks/d7f830a06ded11f2fc80.js +1 -0
  100. package/assets/esri/core/workers/chunks/d877783815afd21dbe98.js +1 -0
  101. package/assets/esri/core/workers/chunks/db5181fcea96cc2ede3e.js +1 -0
  102. package/assets/esri/core/workers/chunks/{6e8187a77846239ed112.js → de28a86775235bd5d3c4.js} +2 -2
  103. package/assets/esri/core/workers/chunks/df6992416cba9539f1ed.js +1 -0
  104. package/assets/esri/core/workers/chunks/e4005d95a396e1af9ac2.js +1 -0
  105. package/assets/esri/core/workers/chunks/{668ec0bdfb2095e90c9e.js → e495697860f7207da4c7.js} +1 -1
  106. package/assets/esri/core/workers/chunks/f163502c513205c892e7.js +1 -0
  107. package/assets/esri/core/workers/chunks/f287ec0fcb611f82ebb0.js +1 -0
  108. package/assets/esri/core/workers/chunks/{37ae52c71bf9c70fbb92.js → f2d45d15d0ba2537a4eb.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{d507d7d7a7282fc38e8d.js → f652d1db26fbdea1a79b.js} +1 -1
  110. package/assets/esri/core/workers/chunks/f6b38ed75baae198c19b.js +1 -0
  111. package/assets/esri/core/workers/chunks/{168b45c5d8233f23793e.js → f6cfc901267a229de7a1.js} +2 -2
  112. package/assets/esri/core/workers/chunks/f6d04d14323b926f1025.js +1 -0
  113. package/assets/esri/core/workers/chunks/f7ab606be37373312ebe.js +1 -0
  114. package/assets/esri/core/workers/chunks/{3b7dff15a0058ea29886.js → f92178ac6dc9abff304f.js} +1 -1
  115. package/assets/esri/core/workers/chunks/fc39593febef74a036f1.js +1 -0
  116. package/assets/esri/libs/librust-parquet/pkg/parquet_bg.wasm +0 -0
  117. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +7 -0
  118. package/assets/esri/themes/dark/main.css +1 -1
  119. package/assets/esri/themes/light/main.css +1 -1
  120. package/assets/esri/themes/light/view.css +1 -1
  121. package/assets/esri/views/interactive/tooltip/t9n/messages.ar.json +1 -1
  122. package/assets/esri/views/interactive/tooltip/t9n/messages.bg.json +1 -1
  123. package/assets/esri/views/interactive/tooltip/t9n/messages.bs.json +1 -1
  124. package/assets/esri/views/interactive/tooltip/t9n/messages.ca.json +1 -1
  125. package/assets/esri/views/interactive/tooltip/t9n/messages.cs.json +1 -1
  126. package/assets/esri/views/interactive/tooltip/t9n/messages.da.json +1 -1
  127. package/assets/esri/views/interactive/tooltip/t9n/messages.de.json +1 -1
  128. package/assets/esri/views/interactive/tooltip/t9n/messages.el.json +1 -1
  129. package/assets/esri/views/interactive/tooltip/t9n/messages.es.json +1 -1
  130. package/assets/esri/views/interactive/tooltip/t9n/messages.et.json +1 -1
  131. package/assets/esri/views/interactive/tooltip/t9n/messages.fi.json +1 -1
  132. package/assets/esri/views/interactive/tooltip/t9n/messages.fr.json +1 -1
  133. package/assets/esri/views/interactive/tooltip/t9n/messages.he.json +1 -1
  134. package/assets/esri/views/interactive/tooltip/t9n/messages.hr.json +1 -1
  135. package/assets/esri/views/interactive/tooltip/t9n/messages.hu.json +1 -1
  136. package/assets/esri/views/interactive/tooltip/t9n/messages.id.json +1 -1
  137. package/assets/esri/views/interactive/tooltip/t9n/messages.it.json +1 -1
  138. package/assets/esri/views/interactive/tooltip/t9n/messages.ja.json +1 -1
  139. package/assets/esri/views/interactive/tooltip/t9n/messages.ko.json +1 -1
  140. package/assets/esri/views/interactive/tooltip/t9n/messages.lt.json +1 -1
  141. package/assets/esri/views/interactive/tooltip/t9n/messages.lv.json +1 -1
  142. package/assets/esri/views/interactive/tooltip/t9n/messages.nl.json +1 -1
  143. package/assets/esri/views/interactive/tooltip/t9n/messages.no.json +1 -1
  144. package/assets/esri/views/interactive/tooltip/t9n/messages.pl.json +1 -1
  145. package/assets/esri/views/interactive/tooltip/t9n/messages.pt-BR.json +1 -1
  146. package/assets/esri/views/interactive/tooltip/t9n/messages.pt-PT.json +1 -1
  147. package/assets/esri/views/interactive/tooltip/t9n/messages.ro.json +1 -1
  148. package/assets/esri/views/interactive/tooltip/t9n/messages.ru.json +1 -1
  149. package/assets/esri/views/interactive/tooltip/t9n/messages.sk.json +1 -1
  150. package/assets/esri/views/interactive/tooltip/t9n/messages.sl.json +1 -1
  151. package/assets/esri/views/interactive/tooltip/t9n/messages.sr.json +1 -1
  152. package/assets/esri/views/interactive/tooltip/t9n/messages.sv.json +1 -1
  153. package/assets/esri/views/interactive/tooltip/t9n/messages.th.json +1 -1
  154. package/assets/esri/views/interactive/tooltip/t9n/messages.tr.json +1 -1
  155. package/assets/esri/views/interactive/tooltip/t9n/messages.uk.json +1 -1
  156. package/assets/esri/views/interactive/tooltip/t9n/messages.vi.json +1 -1
  157. package/assets/esri/views/interactive/tooltip/t9n/messages.zh-CN.json +1 -1
  158. package/assets/esri/views/interactive/tooltip/t9n/messages.zh-HK.json +1 -1
  159. package/assets/esri/views/interactive/tooltip/t9n/messages.zh-TW.json +1 -1
  160. package/chunks/batchExec.js +2 -0
  161. package/config.js +1 -1
  162. package/geometry/support/intersects.js +1 -1
  163. package/geometry/support/intersectsBase.js +1 -1
  164. package/kernel.js +1 -1
  165. package/layers/GeospatialPDFLayer.js +1 -1
  166. package/layers/ImageryTileLayer.js +1 -1
  167. package/layers/graphics/hydrateGeometryJSON.js +2 -0
  168. package/layers/graphics/hydratedFeatures.js +1 -1
  169. package/layers/graphics/hydratedSpatialReference.js +2 -0
  170. package/layers/raster/datasets/DBFParser.js +1 -1
  171. package/layers/raster/datasets/ImageAuxRaster.js +1 -1
  172. package/layers/raster/datasets/TIFFRaster.js +1 -1
  173. package/layers/raster/formats/JpgPlus.js +1 -1
  174. package/layers/raster/formats/RasterCodec.js +1 -1
  175. package/layers/raster/formats/Raw.js +1 -1
  176. package/layers/support/arcadeUtils.js +1 -1
  177. package/package.json +3 -3
  178. package/popup/FeatureContent.js +1 -1
  179. package/popup/FeatureContentCollection.d.ts +2 -0
  180. package/popup/FeatureContentCollection.js +1 -1
  181. package/popup/support/featureUtils.js +1 -1
  182. package/rest/imageService.js +1 -1
  183. package/support/arcadeUtils.js +1 -1
  184. package/support/loadArcade.js +1 -1
  185. package/support/revision.js +1 -1
  186. package/symbols/cim/cimAnalyzer.js +1 -1
  187. package/views/2d/engine/vectorTiles/GeometryUtils.js +1 -1
  188. package/views/2d/engine/vectorTiles/TileManager.js +1 -1
  189. package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
  190. package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
  191. package/views/2d/engine/vectorTiles/decluttering/util.js +1 -1
  192. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  193. package/views/2d/layerViewModuleImportUtils.js +1 -1
  194. package/views/2d/layers/GeospatialPDFLayerView2D.js +1 -1
  195. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  196. package/views/2d/layers/features/schema/processor/MatcherSchema.js +1 -1
  197. package/views/2d/layers/graphics/GraphicStore.js +1 -1
  198. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  199. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  200. package/views/2d/support/hitTestUtils.js +1 -1
  201. package/views/3d/interactive/Manipulator3D.js +1 -1
  202. package/views/3d/layers/GeospatialPDFLayerView3D.js +1 -1
  203. package/views/3d/terrain/TileCompositor.js +1 -1
  204. package/views/DOMContainer.d.ts +18 -8
  205. package/views/VideoView.d.ts +38 -0
  206. package/views/VideoView.js +1 -1
  207. package/views/View.d.ts +20 -2
  208. package/views/View.js +1 -1
  209. package/views/input/types.d.ts +19 -6
  210. package/views/interactive/dragEventPipeline.js +1 -1
  211. package/views/layers/ImageryTileLayerView.js +1 -1
  212. package/widgets/Search/SearchViewModel.js +1 -1
  213. package/widgets/Search/support/layerSearchUtils.js +1 -1
  214. package/assets/esri/core/workers/chunks/025da54eef112d7e8f66.js +0 -1
  215. package/assets/esri/core/workers/chunks/02f94f9d704f03ddb5c6.js +0 -1
  216. package/assets/esri/core/workers/chunks/038d2b80d96237c25b6f.js +0 -1
  217. package/assets/esri/core/workers/chunks/04d4cd66485b622403d0.js +0 -1
  218. package/assets/esri/core/workers/chunks/05afa8c2b5929ce0545a.js +0 -1
  219. package/assets/esri/core/workers/chunks/09676cfa99b90fe0cc63.js +0 -1
  220. package/assets/esri/core/workers/chunks/0aadee0437fa061e4ff5.js +0 -1
  221. package/assets/esri/core/workers/chunks/0ccd4200c5a2a5de6e16.js +0 -1
  222. package/assets/esri/core/workers/chunks/1262918b2161d79851c0.js +0 -1
  223. package/assets/esri/core/workers/chunks/1406a884241809b62bff.js +0 -1
  224. package/assets/esri/core/workers/chunks/1c33aa349beea9a3792f.js +0 -1
  225. package/assets/esri/core/workers/chunks/1f135269aea3931e11b2.js +0 -1
  226. package/assets/esri/core/workers/chunks/24014f3701c31ee74bc2.js +0 -1
  227. package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +0 -1
  228. package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +0 -1
  229. package/assets/esri/core/workers/chunks/2c7bb5c9751524687002.js +0 -1
  230. package/assets/esri/core/workers/chunks/2ebad7e588b26e74cefe.js +0 -1
  231. package/assets/esri/core/workers/chunks/319434415d2c0561bc59.js +0 -1
  232. package/assets/esri/core/workers/chunks/39d71e83261bff46f6bf.js +0 -1
  233. package/assets/esri/core/workers/chunks/3aceedec9abfb2fdfa18.js +0 -1
  234. package/assets/esri/core/workers/chunks/3c6ee445e49da0076ac1.js +0 -1
  235. package/assets/esri/core/workers/chunks/3f045f09ac95e7f22a97.js +0 -1
  236. package/assets/esri/core/workers/chunks/4327d2c39a660bd89da7.js +0 -1
  237. package/assets/esri/core/workers/chunks/462fd57af8ed7921d6ba.js +0 -1
  238. package/assets/esri/core/workers/chunks/474d9541d387b31ad275.js +0 -1
  239. package/assets/esri/core/workers/chunks/48a2f68e06a2e90b77d0.js +0 -1
  240. package/assets/esri/core/workers/chunks/4a73f73f1698fad2df20.js +0 -1
  241. package/assets/esri/core/workers/chunks/4f464047c6f6c9486efd.js +0 -1
  242. package/assets/esri/core/workers/chunks/500f6d6f0ffa235cae85.js +0 -1
  243. package/assets/esri/core/workers/chunks/526cc64ae46dec3fbeda.js +0 -1
  244. package/assets/esri/core/workers/chunks/550d4df0732352fa48b5.js +0 -1
  245. package/assets/esri/core/workers/chunks/581285e4d7bbe1b7c27a.js +0 -1
  246. package/assets/esri/core/workers/chunks/58fb92775d668cfd295c.js +0 -1
  247. package/assets/esri/core/workers/chunks/5adf2792416b22cd602f.js +0 -1
  248. package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +0 -1
  249. package/assets/esri/core/workers/chunks/6006bd8a5ed945fa2776.js +0 -1
  250. package/assets/esri/core/workers/chunks/606cca69eaea84bfcdc6.js +0 -1
  251. package/assets/esri/core/workers/chunks/64ee22134fda2f09c094.js +0 -1
  252. package/assets/esri/core/workers/chunks/66ef6c034455abd61f39.js +0 -1
  253. package/assets/esri/core/workers/chunks/67678054342178b601cf.js +0 -1
  254. package/assets/esri/core/workers/chunks/67fd2cdb2e6834bfa710.js +0 -1
  255. package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +0 -1
  256. package/assets/esri/core/workers/chunks/75294f515c7f8393181c.js +0 -1
  257. package/assets/esri/core/workers/chunks/75879ae88fd87b089a87.js +0 -1
  258. package/assets/esri/core/workers/chunks/761ea719ec1b4d562db2.js +0 -1
  259. package/assets/esri/core/workers/chunks/78085f804969c9282700.js +0 -1
  260. package/assets/esri/core/workers/chunks/7d6da4e89aa951e6523f.js +0 -1
  261. package/assets/esri/core/workers/chunks/80f16f5f15518013f7d0.js +0 -1
  262. package/assets/esri/core/workers/chunks/8465e2c7221125fd3cc4.js +0 -1
  263. package/assets/esri/core/workers/chunks/87aaed3dfa903bdf853c.js +0 -1
  264. package/assets/esri/core/workers/chunks/892dc038d569cffd26dc.js +0 -1
  265. package/assets/esri/core/workers/chunks/8a842cde240aef12e417.js +0 -1
  266. package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +0 -1
  267. package/assets/esri/core/workers/chunks/9020bd7a0e488d55ef14.js +0 -1
  268. package/assets/esri/core/workers/chunks/92509dd25996c6390a31.js +0 -1
  269. package/assets/esri/core/workers/chunks/9ccc2c8f7416943cc373.js +0 -29
  270. package/assets/esri/core/workers/chunks/9d6a96e4c7ccedcb0c13.js +0 -1
  271. package/assets/esri/core/workers/chunks/9ec04faad97be55309b8.js +0 -1
  272. package/assets/esri/core/workers/chunks/a08385ebf1715414c1a6.js +0 -1
  273. package/assets/esri/core/workers/chunks/a3a33ffa34f4d645ddfe.js +0 -1
  274. package/assets/esri/core/workers/chunks/b396c4b4bb144200acc7.js +0 -1
  275. package/assets/esri/core/workers/chunks/b9c834e3c0701e9b14a2.js +0 -1
  276. package/assets/esri/core/workers/chunks/bbfb80a6983574007ce5.js +0 -1
  277. package/assets/esri/core/workers/chunks/bcf2e5cf6b9c6d0442bb.js +0 -1
  278. package/assets/esri/core/workers/chunks/c35e9dee87937f483a3d.js +0 -1
  279. package/assets/esri/core/workers/chunks/c5b733c3a5b2680042a2.js +0 -1
  280. package/assets/esri/core/workers/chunks/cbeba973ef5593ffbba3.js +0 -1
  281. package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +0 -1
  282. package/assets/esri/core/workers/chunks/d25fb32a233d2128afbe.js +0 -1
  283. package/assets/esri/core/workers/chunks/d5ef269ab0ee3744b05d.js +0 -1
  284. package/assets/esri/core/workers/chunks/d94a2b3b2ef49af9c2e3.js +0 -1
  285. package/assets/esri/core/workers/chunks/dc92710a8fdfb9135e55.js +0 -1
  286. package/assets/esri/core/workers/chunks/dd4ecf81250cc001d040.js +0 -1
  287. package/assets/esri/core/workers/chunks/e0894a308c84d5c158b0.js +0 -1
  288. package/assets/esri/core/workers/chunks/e4016ae9cb8f16e3efc3.js +0 -1
  289. package/assets/esri/core/workers/chunks/e6a4cef0af9be30ffe3d.js +0 -1
  290. package/assets/esri/core/workers/chunks/eaa7cb3ffa8c11706a09.js +0 -1
  291. package/assets/esri/core/workers/chunks/ed31ec586b754241474d.js +0 -1
  292. package/assets/esri/core/workers/chunks/ef6e52f9b656751eebaf.js +0 -1
  293. package/assets/esri/core/workers/chunks/f2fca9a3a40170996ea2.js +0 -1
  294. package/assets/esri/core/workers/chunks/f5d06cd6d30a5f742f73.js +0 -1
  295. package/assets/esri/core/workers/chunks/f71ec8a260405ed07958.js +0 -1
  296. package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +0 -1
  297. package/assets/esri/core/workers/chunks/fb11ff3f2eae5f072560.js +0 -1
  298. package/assets/esri/core/workers/chunks/ff0e9f8d323eb1729650.js +0 -1
  299. /package/assets/esri/core/workers/chunks/{6e8187a77846239ed112.js.LICENSE.txt → de28a86775235bd5d3c4.js.LICENSE.txt} +0 -0
  300. /package/assets/esri/core/workers/chunks/{168b45c5d8233f23793e.js.LICENSE.txt → f6cfc901267a229de7a1.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6619],{68197(e,t,r){r.d(t,{A:()=>y});var i=r(40876),n=r(4576),a=r(34727),s=r(78888);function o(e){return(0,a.qE)((0,s.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}function u(e){return.2126*(0,i.Q6)(e.r)+.7152*(0,i.Q6)(e.g)+.0722*(0,i.Q6)(e.b)}class y{static blendColors(e,t,r,i=new y){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,i.lT)(e);return r?y.fromArray(r,t):null}static fromHex(e,t=new y){const r=(0,i.oW)(e);return r?y.fromArray(r,t):null}static fromArray(e,t=new y){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.Eq)(e);return r?y.fromArray(r,t):null}static fromJSON(e){return null!=e?new y([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(e,t=3){const r=e instanceof y?e:new y(e),i=u(this),n=u(r);return(Math.max(i,n)+.05)/(Math.min(i,n)+.05)<t}setColor(e){if("string"==typeof e)y.fromString(e,this);else if((0,n.yc)(e))y.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof y||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,n=4===r||8===r,a=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${n?l(Math.round(255*this.a),i):""}`;return t?a.toUpperCase():a}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=o(this.r),r=o(this.g),i=o(this.b);return 0===e||1!==this.a?[t,r,i,o(255*this.a)]:[t,r,i]}clone(){return new y(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}y.prototype.declaredClass="esri.Color"},79608(e,t,r){r.d(t,{A:()=>c});var i=r(32198),n=r(69540),a=r(91429);let s=class extends n.Pw{constructor(e){super(e),this.type="web-scene"}equals(e){return this.type===e.type}};(0,i.Cg)([(0,a.MZ)()],s.prototype,"type",void 0),s=(0,i.Cg)([(0,a.$K)("esri.analysis.support.AnalysisOriginWebScene")],s);const o=s;var l=r(69622),u=r(4902),y=r(25482);let p=0,c=class extends((0,y.T)((0,n.OU)((0,u.s)(l.A)))){constructor(e){super(e),this.id=`${Date.now().toString(16)}-analysis-${p++}`,this.origin=null}get parent(){return this._get("parent")}set parent(e){const t=this.parent;if(null!=t)switch(t.type){case"line-of-sight":case"dimension":case"viewshed":t.releaseAnalysis(this);break;case"2d":case"3d":t.analyses.includes(this)&&t.analyses.remove(this)}this._set("parent",e)}equals(e){return this.type===e.type}};(0,i.Cg)([(0,a.MZ)({type:String,constructOnly:!0,clonable:!1})],c.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({clonable:!1,value:null})],c.prototype,"parent",null),(0,i.Cg)([(0,a.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":o}}})],c.prototype,"origin",void 0),c=(0,i.Cg)([(0,a.$K)("esri.analysis.Analysis")],c)},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>g,Q6:()=>b,TS:()=>a,V6:()=>n,Vm:()=>d,ay:()=>l,c1:()=>m,c4:()=>s,j5:()=>u,lT:()=>p,oW:()=>y,xV:()=>w});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!i[e]||!!i[e.toLowerCase()]}function a(e){return i[e]??i[e.toLowerCase()]}function s(e){return[...a(e)]}function o(e,t,r){r<0&&++r,r>1&&--r;const i=6*r;return i<1?e+(t-e)*i:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,i=1){const n=(e%360+360)%360/360,a=r<=.5?r*(t+1):r+t-r*t,s=2*r-a;return[Math.round(255*o(s,a,n+1/3)),Math.round(255*o(s,a,n)),Math.round(255*o(s,a,n-1/3)),i]}function u(e){const t=e.length>5,r=t?8:4,i=(1<<r)-1,n=t?1:17,a=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const o=[0,0,0,1];let l;return a&&(l=s&i,s>>=r,o[3]=n*l/255),l=s&i,s>>=r,o[2]=n*l,l=s&i,s>>=r,o[1]=n*l,l=s&i,s>>=r,o[0]=n*l,o}function y(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,i+16*i,(n+16*n)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),c(t)}return c(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function c(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?g(e[3]):1,e}function h(e){let t=n(e)?a(e):null;return t??=p(e),t??=y(e),t}function d(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return L(e,0,1)}function m(e){return Math.round(L(e,0,255))}function L(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const f=1/2.2;function b(e){return e**2.2}function w(e){return e**f}r.d(t,["iw",0,f])},69052(e,t,r){r.d(t,{hr:()=>n});var i=r(34727);class n{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return a(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+s(this.range,e-t,r)}minimalMonotonic(e,t,r){return a(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);const r=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(i)?r:i}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function a(e,t,r,i,n=0,a=!1){return(i-=n)<t?i+=s(e,t-i):i>r&&(i-=s(e,i-r)),a&&i===r&&(i=t),i+n}function s(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const o=new n(0,2*Math.PI),l=(new n(-Math.PI,Math.PI),new n(0,360));r.d(t,["ie",0,l,"uC",0,o])},62885(e,t,r){r.d(t,{H:()=>a,V:()=>n});var i=r(7762);function n(e,t,r=i.A){return t||(t=new r),t===e||t.destroyed||(t.removeAll(),(n=e)&&(Array.isArray(n)||"items"in n&&Array.isArray(n.items))?t.addMany(e):e&&t.add(e)),t;var n}function a(e){return e}},90629(e,t,r){r.d(t,{Lz:()=>n,PN:()=>a,cr:()=>s,gs:()=>l,r_:()=>u,tc:()=>o}),r(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function n(e){return e?e/72*96:0}function a(e){return e?72*e/96:0}function s(e){if("string"==typeof e){const t=e.match(i);if(t){const r=Number(t[1]),i=t[3]&&t[3].toLowerCase(),n=e.startsWith("-"),s="px"===i?a(r):r;return n?-s:s}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function o(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,r=0){return[e,t,r]}},48526(e,t,r){r.d(t,{A:()=>m});var i,n=r(32198),a=r(4576),s=r(4718),o=r(91429),l=r(5443),u=r(91075),y=r(86738),p=r(16930),c=r(90634),h=r(47610),d=r(56993),g=r(43937);let m=i=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:i,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return n??=p.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,c.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,s.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:n}=this;return new i({points:(0,s.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:n})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,a.aI)(this.points,e.points,h.v6)}addPoint(e){return(0,d.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(r.z=t[2],i=3),this.hasM&&(r.m=t[i]),new y.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new y.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,d.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,n.Cg)([(0,g.K)("points")],m.prototype,"writePoints",null),m=i=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>d});var i,n=r(32198),a=r(4718),s=r(91429),o=r(5443),l=r(91075),u=r(86738),y=r(16930),p=r(90634),c=r(56993),h=r(43937);let d=i=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:i,spatialReference:n}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return n??=y.A.WGS84,{...e,hasM:r,hasZ:i,paths:t,spatialReference:n}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,a.o8)(e)}get extent(){const e=(0,p.Z3)(this),{spatialReference:t}=this;return e?new o.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,a.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const i=[];for(let t=0,r=e.length;t<r;t++)i[t]=e[t].toArray();t[r]=i}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new i;return e.spatialReference=this.spatialReference,e.paths=(0,a.o8)(this.paths),e.curvePaths=(0,a.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],i=this.hasZ,n=this.hasM;return i&&!n?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):n&&!i?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):i&&n?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,i=t.map(e=>new u.A(e,r));return this.notifyChange("paths"),i}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const i=this.paths[e];if(r&&(t<0||t>i.length))return!1;if(!r&&(t<0||t>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,n.Cg)([(0,h.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,n.Cg)([(0,h.K)("paths")],d.prototype,"writePaths",null),d=i=(0,n.Cg)([(0,s.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,r){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function a(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function o(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?a(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":o(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function y(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>o,Pv:()=>y,Rg:()=>s,U9:()=>n,W0:()=>p,ZC:()=>i,fT:()=>a,uW:()=>l})},71493(e,t,r){r.r(t),r.d(t,{default:()=>P});var i=r(32198),n=r(79608),a=r(68197),s=r(69540),o=r(25482),l=r(90629),u=r(91429),y=r(78888);let p=class extends((0,o.T)(s.Pw)){constructor(e){super(e),this.type="simple",this.color=new a.A("black"),this.textColor=new a.A("black"),this.textBackgroundColor=new a.A([255,255,255,.6])}get lineSize(){return this._get("lineSize")??2}set lineSize(e){this._set("lineSize",e)}get fontSize(){return this._get("fontSize")??10}set fontSize(e){this._set("fontSize",e)}equals(e){return this===e||this.color.equals(e.color)&&this.lineSize===e.lineSize&&this.fontSize===e.fontSize&&this.textColor.equals(e.textColor)&&this.textBackgroundColor.equals(e.textBackgroundColor)}};(0,i.Cg)([(0,u.MZ)({type:["simple"],readOnly:!0,json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:a.A,nonNullable:!0,json:{type:[y.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,cast:l.cr,nonNullable:!0,range:{min:(0,l.PN)(1)},json:{write:{isRequired:!0}}})],p.prototype,"lineSize",null),(0,i.Cg)([(0,u.MZ)({type:Number,cast:l.cr,nonNullable:!0,json:{write:{isRequired:!0}}})],p.prototype,"fontSize",null),(0,i.Cg)([(0,u.MZ)({type:a.A,nonNullable:!0,json:{type:[y.jz],write:{isRequired:!0}}})],p.prototype,"textColor",void 0),(0,i.Cg)([(0,u.MZ)({type:a.A,nonNullable:!0,json:{type:[y.jz],write:{isRequired:!0}}})],p.prototype,"textBackgroundColor",void 0),p=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionSimpleStyle")],p);var c=r(69052),h=r(97768),d=r(86738);let g=class extends((0,o.T)(s.Pw)){constructor(e){super(e),this.type="length",this.startPoint=null,this.endPoint=null,this.measureType="direct",this.offset=0,this.orientation=0}get valid(){return null!=this.startPoint&&null!=this.endPoint}equals(e){return this===e||(0,h.CM)(this.startPoint,e.startPoint)&&(0,h.CM)(this.endPoint,e.endPoint)&&this.measureType===e.measureType&&this.offset===e.offset&&this.orientation===e.orientation}};(0,i.Cg)([(0,u.MZ)({type:["length"],json:{write:{isRequired:!0}}})],g.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:d.A,json:{write:{isRequired:!0}}})],g.prototype,"startPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:d.A,json:{write:{isRequired:!0}}})],g.prototype,"endPoint",void 0),(0,i.Cg)([(0,u.MZ)({type:["horizontal","vertical","direct"],nonNullable:!0,json:{write:{isRequired:!0}}})],g.prototype,"measureType",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],g.prototype,"offset",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),(0,u.wg)(e=>c.ie.normalize((0,y.GB)(e),0,!0))],g.prototype,"orientation",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],g.prototype,"valid",null),g=(0,i.Cg)([(0,u.$K)("esri.analysis.LengthDimension")],g);var m=r(4576),L=r(7762),f=r(62885),b=r(36708),w=r(5443),S=r(99917);const v=L.A.ofType(g);let M=class extends n.A{constructor(e){super(e),this.type="dimension",this.style=new p,this.extent=null}initialize(){this.addHandles((0,b.wB)(()=>this._computeExtent(),e=>{null==e?.pending&&this._set("extent",null!=e?e.extent:null)},b.pc))}get dimensions(){return this._get("dimensions")||new v}set dimensions(e){this._set("dimensions",(0,f.V)(e,this.dimensions,v))}get spatialReference(){for(const e of this.dimensions){if(null!=e.startPoint)return e.startPoint.spatialReference;if(null!=e.endPoint)return e.endPoint.spatialReference}return null}get valid(){return this.dimensions.every(e=>e.valid)}async waitComputeExtent(){const e=this._computeExtent();return null!=e?e.pending:Promise.resolve()}_computeExtent(){const e=this.spatialReference;if(null==e)return{pending:null,extent:null};const t=[];for(const e of this.dimensions)null!=e.startPoint&&t.push(e.startPoint),null!=e.endPoint&&t.push(e.endPoint);const r=(0,S.projectOrLoadMany)(t,e);if(null!=r.pending)return{pending:r.pending,extent:null};let i=null;return null!=r.geometries&&(i=r.geometries.reduce((e,t)=>null==e?null!=t?w.A.fromPoint(t):null:null!=t?e.union(w.A.fromPoint(t)):e,null)),{pending:null,extent:i}}clear(){this.dimensions.removeAll()}equals(e){return this===e||super.equals(e)&&this.style.equals(e.style)&&(0,m.aI)(this.dimensions.toArray(),e.dimensions.toArray(),(e,t)=>e.equals(t))}};(0,i.Cg)([(0,u.MZ)({type:["dimension"]})],M.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({cast:f.H,type:v,nonNullable:!0})],M.prototype,"dimensions",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],M.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},nonNullable:!0})],M.prototype,"style",void 0),(0,i.Cg)([(0,u.MZ)({value:null,readOnly:!0})],M.prototype,"extent",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],M.prototype,"valid",null),M=(0,i.Cg)([(0,u.$K)("esri.analysis.DimensionAnalysis")],M);var C=r(25728),A=r(4146),I=r(34287),T=r(43937);let G=class extends((0,I.q)((0,C.M)(A.A))){constructor(e){if(super(e),this.type="dimension",this.operationalLayerType="ArcGISDimensionLayer",this.source=new M,this.opacity=1,e){const{source:t,style:r}=e;t&&r&&(t.style=r)}}initialize(){this.addHandles([(0,b.wB)(()=>this.source,(e,t)=>{null!=t&&t.parent===this&&(t.parent=null),null!=e&&(e.parent=this)},b.pc)])}async load(){return this.addResolvingPromise(this.source.waitComputeExtent()),this}get spatialReference(){return this.source.spatialReference}get style(){return this.source.style}set style(e){this.source.style=e}get fullExtent(){return this.source.extent}releaseAnalysis(e){this.source===e&&(this.source=new M)}get analysis(){return this.source}set analysis(e){this.source=e}get dimensions(){return this.source.dimensions}set dimensions(e){this.source.dimensions=e}writeDimensions(e,t,r,i){t.dimensions=e.filter(({startPoint:e,endPoint:t})=>null!=e&&null!=t).toJSON(i)}};(0,i.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0})],G.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:["ArcGISDimensionLayer"]})],G.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({nonNullable:!0})],G.prototype,"source",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],G.prototype,"spatialReference",null),(0,i.Cg)([(0,u.MZ)({types:{key:"type",base:null,typeMap:{simple:p}},json:{write:{ignoreOrigin:!0}}})],G.prototype,"style",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],G.prototype,"fullExtent",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],G.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],G.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)({type:L.A.ofType(g),json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{ignoreOrigin:!0}}}}})],G.prototype,"dimensions",null),(0,i.Cg)([(0,T.K)("web-scene","dimensions")],G.prototype,"writeDimensions",null),G=(0,i.Cg)([(0,u.$K)("esri.layers.DimensionLayer")],G);const P=G},34287(e,t,r){var i=r(32198),n=r(49186),a=r(84952),s=r(91429),o=r(78888),l=r(89317),u=r(45917),y=r(49422),p=r(10873),c=r(6345),h=r(79677),d=r(59923),g=r(36005),m=r(43937);r.d(t,["q",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.persistenceEnabled=!0,this.title=null}readId(e,t,r){return"Group Layer"===r?.portalItem?.type?void 0:e}writeListMode(e,t,r,i){(i&&"ground"===i.layerContainerType||e&&(0,y.R)(this,r,{},i))&&(t[r]=e)}writeOperationalLayerType(e,t,r){e&&(t[r]=e)}writeTitle(e,t){t.title=e??"Layer"}readVisibilityTimeExtent(e){return e?h.A.fromArray(e):null}writeVisibilityTimeExtent(e,t,r,i){e&&"tables"!==i.layerContainerType&&(e.isEmpty?i?.messages&&i.messages.push(new n.A("layer:invalid-visibilityTimeExtent","visibilityTimeExtent cannot be empty")):t[r]=e.toArray())}read(e,t){t&&(t.layer=this),(0,u.t)(this,e,t=>super.read(e,t),t)}write(e,t){if(!this.persistenceEnabled&&!t?.ignorePersistenceEnabled)return null;if(t?.origin&&!(0,c.Bu)(t,this.operationalLayerType,this.type))return(0,d.U4)(t,this),null;const r=super.write(e,{...t,layer:this}),i=!!t&&!!t.messages&&!!t.messages.filter(e=>e instanceof n.A&&"web-document-write:property-required"===e.name).length;return(0,a.w8)(r?.url)?(t?.messages?.push(new n.A("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:r}beforeSave(){}};return(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],r.prototype,"id",void 0),(0,i.Cg)([(0,g.w)("id",["id"])],r.prototype,"readId",null),(0,i.Cg)([(0,s.MZ)(p.C1)],r.prototype,"listMode",void 0),(0,i.Cg)([(0,m.K)("listMode")],r.prototype,"writeListMode",null),(0,i.Cg)([(0,s.MZ)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1},"web-scene":{name:"layerType",read:!1,write:{enabled:!0,ignoreOrigin:!0,layerContainerTypes:l.K,isRequired:!0}}}}})],r.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,m.K)("operationalLayerType")],r.prototype,"writeOperationalLayerType",null),(0,i.Cg)([(0,s.MZ)(p.ke)],r.prototype,"opacity",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,readOnly:!1})],r.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],r.prototype,"title",void 0),(0,i.Cg)([(0,m.K)("title"),(0,m.K)(["web-scene"],"title")],r.prototype,"writeTitle",null),(0,i.Cg)([(0,s.MZ)({type:h.A,json:{origins:{"web-scene":{write:{layerContainerTypes:l.K}}}}})],r.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,g.w)("visibilityTimeExtent")],r.prototype,"readVisibilityTimeExtent",null),(0,i.Cg)([(0,m.K)(["portal-item","web-map","web-scene"],"visibilityTimeExtent",{visibilityTimeExtent:{type:[[o.jz,o.Uv]]}})],r.prototype,"writeVisibilityTimeExtent",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"visibility",write:{layerContainerTypes:l.K}}})],r.prototype,"visible",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OperationalLayer")],r),r}])},6345(e,t,r){r.d(t,{Bu:()=>b,VH:()=>f});var i=r(44208);const n={ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},a={ArcGISAnnotationLayer:"AnnotationFeatureLayer",ArcGISDimensionLayer:"DimensionFeatureLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",ArcGISVideoLayer:"VideoLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",CatalogLayer:"CatalogLayer",CSV:"CSVLayer",GeoJSON:"GeoJSONLayer",GeoRSS:"GeoRSSLayer",GroupLayer:"GroupLayer",KML:"KMLLayer",KnowledgeGraphLayer:"KnowledgeGraphLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",OrientedImageryLayer:"OrientedImageryLayer",get ParquetLayer(){return(0,i.A)("parquetlayer-persistence-enabled")?"ParquetLayer":"UnsupportedLayer"},SubtypeGroupLayer:"SubtypeGroupLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},s={ArcGISFeatureLayer:"FeatureLayer",SubtypeGroupTable:"SubtypeGroupLayer"},o={ArcGISImageServiceLayer:"UnsupportedLayer",ArcGISMapServiceLayer:"UnsupportedLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"UnsupportedLayer",WMS:"UnsupportedLayer",WebTiledLayer:"WebTileLayer"},l={IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer"},u={ArcGISTiledElevationServiceLayer:"ElevationLayer",RasterDataElevationLayer:"UnsupportedLayer"},y={ArcGISDimensionLayer:"DimensionLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledElevationServiceLayer:"ElevationLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BuildingSceneLayer:"BuildingSceneLayer",CSV:"CSVLayer",CatalogLayer:"CatalogLayer",GaussianSplatLayer:"GaussianSplatLayer",GeoJSON:"GeoJSONLayer",GroupLayer:"GroupLayer",IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer",IntegratedMeshLayer:"IntegratedMeshLayer",KML:"KMLLayer",LineOfSightLayer:"LineOfSightLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",Object3DTilesLayer:"UnsupportedLayer",OrientedImageryLayer:"OrientedImageryLayer",PointCloudLayer:"PointCloudLayer",RasterDataLayer:"UnsupportedLayer",VectorTileLayer:"VectorTileLayer",ViewshedLayer:"ViewshedLayer",Voxel:"VoxelLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},p={ArcGISFeatureLayer:"FeatureLayer"},c={...a,LinkChartLayer:"LinkChartLayer"},h=n,d=s,g={ArcGISAnnotationLayer:"AnnotationFeatureLayer",ArcGISDimensionLayer:"DimensionFeatureLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",BuildingSceneLayer:"BuildingSceneLayer",IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer",IntegratedMeshLayer:"IntegratedMeshLayer",MediaLayer:"MediaLayer",OrientedImageryLayer:"OrientedImageryLayer",PointCloudLayer:"PointCloudLayer",SubtypeGroupLayer:"SubtypeGroupLayer",WCS:"WCSLayer"},m=s;function L(e){switch(e.origin){case"web-scene":switch(e.layerContainerType){case"basemap-base-layers":return o;case"basemap-ground-layers":return l;case"ground":return u;case"tables":return p;default:return y}case"link-chart":switch(e.layerContainerType){case"basemap-base-layers":return h;case"tables":return d;default:return c}default:switch(e.layerContainerType){case"basemap-base-layers":return n;case"tables":return s;case"ground":case"basemap-ground-layers":return;default:return a}}}function f(e,t){if(!t)return"UnknownLayer";if("DefaultTileLayer"===t){let t="UnknownLayer";if("web-scene"===e.origin)switch(e.layerContainerType){case"operational-layers":case"basemap-base-layers":t="TileLayer";break;case"ground":t="ElevationLayer"}else switch(e.layerContainerType){case"basemap-base-layers":case"operational-layers":t="TileLayer"}return t}return L(e)?.[t]??"UnknownLayer"}function b(e,t,r){if(!e?.origin)return!1;switch(e.origin){case"web-map":case"link-chart":if("operational-layers"===e.layerContainerType&&"ArcGISDimensionLayer"===t&&"dimension-feature"!==r)return!1;break;case"web-scene":if("operational-layers"===e.layerContainerType)switch(t){case"ArcGISDimensionLayer":if("dimension"!==r)return!1;break;case"ArcGISTiledElevationServiceLayer":return!1}break;case"portal-item":if("ArcGISDimensionLayer"===t&&"dimension-feature"!==r)return!1}const i=function(e){if("portal-item"===e.origin)switch(e.layerContainerType){case"basemap-base-layers":case"ground":case"basemap-ground-layers":return;case"tables":return m;default:return g}return L(e)}(e)?.[t];return null!=i&&"UnknownLayer"!==i&&"UnsupportedLayer"!==i}},78553(e,t,r){r.d(t,{D:()=>a,p:()=>n});var i=r(78888);function n(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function a(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1560,4500,7067,8548],{19334(e,t,r){r.d(t,{e:()=>s});var i=r(54639),n=r(14112);class o{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry.toJSON()}toAccessorGeometry(e){return this._geometry}toGxGeometry(e){return e.fromAccessorGeometry(this._geometry)}}function s(e){if(null==e)return null;switch(e.type){case"point":if((0,n.e6)(e))return null;break;case"polygon":if((0,n.Wq)(e))return null;break;case"polyline":if((0,n.IY)(e))return null;break;case"multipoint":if((0,n.DG)(e))return null;break;case"extent":if((0,n.As)(e))return null;break;default:return null}const t=i.R.of(e.type,e.spatialReference,e.hasZ,e.hasM,new o(e));return t.asAccessorGeometry(),t}},36983(e,t,r){r.d(t,{R:()=>u,p:()=>d});var i=r(54639),n=r(14112),o=r(16930),s=r(60408),l=r(65864);class a{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry}toAccessorGeometry(e){const t=(0,l.rS)(this._geometry);return t.spatialReference=e,t}toGxGeometry(e){return e.fromJsonGeometry(this._geometry)}}function u(e,t){if(null==e||"object"!=typeof e)return null;let r=t;if("spatialReference"in e&&(e.spatialReference instanceof o.A?r=e.spatialReference:"object"==typeof e.spatialReference&&null!=e.spatialReference&&(r=new o.A,r.read(e.spatialReference))),null==r)throw new Error("Spatial reference required");return(0,s.fT)(e)?d("point",e,r):(0,s.Rg)(e)?d("polyline",e,r):(0,s.Bi)(e)?d("polygon",e,r):(0,s.U9)(e)?d("multipoint",e,r):(0,s.ZC)(e)?d("extent",e,r):null}function d(e,t,r){if(null==t)return null;let o=!1,s=!1;switch(e){case"point":if((0,n.e6)(t))return null;o=void 0!==t.z,s=void 0!==t.m;break;case"polygon":if((0,n.Wq)(t))return null;o=!0===t.hasZ,s=!0===t.hasM;break;case"polyline":if((0,n.IY)(t))return null;o=!0===t.hasZ,s=!0===t.hasM;break;case"multipoint":if((0,n.DG)(t))return null;o=!0===t.hasZ,s=!0===t.hasM;break;case"extent":if((0,n.As)(t))return null;o=null!=t.zmin&&null!=t.zmax,s=null!=t.mmin&&null!=t.mmax;break;default:throw new Error("Unsupported geometry type: "+t.type)}return i.R.of(e,r,o,s,new a(t))}},14112(e,t,r){function i(e){return"NaN"===e.x||null===e.x||isNaN(e.x)}function n(e){if(0===(e.curveRings??e.rings).length)return!0;for(const t of e.curveRings??e.rings)if(t.length>0)return!1;return!0}function o(e){if(0===(e.curvePaths??e.paths).length)return!0;for(const t of e.curvePaths??e.paths)if(t.length>0)return!1;return!0}function s(e){return 0===e.points.length}function l(e){return"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)}r.d(t,{As:()=>l,DG:()=>s,IY:()=>o,Wq:()=>n,e6:()=>i})},32587(e,t,r){r.d(t,{A:()=>o});var i=r(62788),n=r(95488);class o{constructor(e){this._observable=new n.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(e,t){(0,i.gc)(this._observable),this._map.forEach((r,i)=>e.call(t,r,i,this),t)}get(e){return(0,i.gc)(this._observable),this._map.get(e)}has(e){return(0,i.gc)(this._observable),this._map.has(e)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),i=e(t,r);i!==t&&this.set(r,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},44794(e,t,r){r.d(t,{v:()=>l});var i=r(4718),n=r(62788),o=r(95488);class s{constructor(e,t){this._observable=new o.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=i.gh){return new s(e,t)}},83508(e,t,r){r.r(t),r.d(t,{default:()=>ve});var i=r(32198),n=r(56507),o=r(7762),s=r(49186),l=r(91869),a=r(25728),u=r(17676),d=r(84952),p=r(91429),c=r(4146),h=r(36563),y=r(66344),f=r(32587),m=r(36708),g=r(44794),b=r(78888),v=r(63074),w=r(25036),C=r(10873),M=r(91880),x=r(1873);let F=class extends((0,w.j)((0,v.dM)((0,a.M)(c.A)))){constructor(e){super(e),this._layerCache=new y.q(20,e=>e.destroy()),this._oidToReference=new f.A,this._layerToReference=new Map,this.legendEnabled=!0,this.layers=new o.A,this.maximumVisibleSublayers=10,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.title="Layers in view",this.type="catalog-dynamic-group",this.visible=!0}initialize(){this.addHandles([this.layers.on("after-add",({item:e})=>{e.parent=this}),this.layers.on("after-remove",({item:e})=>{e.parent=null}),(0,m.wB)(()=>this._orderBy,()=>{this._updateLayerSortValues(),this._sortAllLayers()})])}load(e){return this.addResolvingPromise(this.parent.load()),Promise.resolve(this)}destroy(){this._layerCache.destroy(),this._oidToReference.clear(),this._layerToReference.clear()}get _orderBy(){return this.parent?this.parent.orderBy?.find(e=>!e.valueExpression&&e.field)??new M.A({field:this.parent.objectIdField}):null}get _referenceComparator(){const e=this._orderBy;if(!this.parent||!e)return()=>0;const t=this.parent.fieldsIndex.get(e.field),r=(0,x.FM)(t?.toJSON().type,"descending"===e.order,"case-sensitive"),i=(0,x.FM)("esriFieldTypeOID","descending"===e.order);return(e,t)=>r(t.sortValue,e.sortValue)||i(t.objectId,e.objectId)}get fullExtent(){return this.parent?.fullExtent??null}get updating(){return(0,l.Bs)(this._oidToReference,({pending:e})=>null!=e)}acquireLayer(e){if(this.destroyed)return(0,h.hA)();const t=this._getLayerReference(e);return t.count++,(0,h.hA)(()=>{t.count--,t.count||this._destroyLayerReference(t)})}_getLayerReference(e){const t=e.getObjectId();return(0,l.tE)(this._oidToReference,t,()=>{const t=e.getObjectId(),r=`${t}`,i=e.getAttribute(this.parent.itemSourceField),n=new S(e,t,i),o=this._layerCache.pop(r);return o?(this._addLayer(n,o),n):(n.pending=this.parent.createLayerFromFootprint(e).then(e=>{n.count?this._addLayer(n,e):(this.destroyed||this._layerCache.get(r)||this._layerCache.put(r,e),n.layer=null)}).catch(()=>{}).finally(()=>{n.pending=null}),n)})}_destroyLayerReference(e){e.layer&&(this._layerToReference.delete(e.layer),this.layers.remove(e.layer),this.destroyed?e.layer.destroy():this._layerCache.put(`${e.objectId}`,e.layer),e.layer=null),this._oidToReference.delete(e.objectId)}_addLayer(e,t){e.layer=t,t.persistenceEnabled=!1,this._layerToReference.set(t,e),this._updateLayerSortValue(e),this.layers.add(t),this._sortAllLayers()}_updateLayerSortValues(){for(const e of this._layerToReference.values())this._updateLayerSortValue(e)}_updateLayerSortValue(e){this._orderBy&&(e.sortValue=e.footprint.getAttribute(this._orderBy.field))}_sortAllLayers(){this.layers.sort((e,t)=>this._referenceComparator(this._layerToReference.get(e),this._layerToReference.get(t)))}};(0,i.Cg)([(0,p.MZ)()],F.prototype,"_orderBy",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],F.prototype,"_referenceComparator",null),(0,i.Cg)([(0,p.MZ)(C.fV)],F.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"],json:{write:!0}})],F.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],F.prototype,"fullExtent",null),(0,i.Cg)([(0,p.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],F.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],F.prototype,"layers",void 0),(0,i.Cg)([(0,p.MZ)({type:b.jz,range:{min:0,max:50},json:{write:!0,default:10}})],F.prototype,"maximumVisibleSublayers",void 0),(0,i.Cg)([(0,p.MZ)(C.ke)],F.prototype,"opacity",void 0),(0,i.Cg)([(0,p.MZ)({clonable:!1})],F.prototype,"parent",void 0),(0,i.Cg)([(0,p.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],F.prototype,"title",void 0),(0,i.Cg)([(0,p.MZ)({json:{read:!1}})],F.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],F.prototype,"updating",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],F.prototype,"visible",void 0),F=(0,i.Cg)([(0,p.$K)("esri.layers.catalog.CatalogDynamicGroupLayer")],F);class S{constructor(e,t,r){this.footprint=e,this.objectId=t,this.itemSource=r,this.count=0,this.layer=null,this.sortValue=void 0,this._pending=(0,g.v)(null)}get pending(){return this._pending.value}set pending(e){this._pending.value=e}}var I=r(37838),Z=r(4718),E=r(78247),_=r(55156),T=r(60950),j=r(89808),L=r(99959);const A=Symbol("isCatalogGraphicOrigin");var P;class V extends L.A{get[(P=A,T.ym)](){return this.layer}get[_.e](){return this.layer}get[j.Q](){return this.layer}constructor(e){super(),this[P]=!0,this.type="catalog",this.layer=e}get id(){return this.layer.id}}var O=r(87718),R=r(30279),N=r(16194),D=r(30524),q=r(46499),z=r(39383),k=r(96576),B=r(41214),G=r(30291),U=r(94985),$=r(43937);let J=class extends((0,w.j)((0,O.F)((0,v.dM)((0,a.M)(c.A))))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.elevationInfo=null,this.formTemplate=null,this.graphicOrigin=new V(this),this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.popupEnabled=!0,this.popupTemplate=null,this.title="Footprints",this.type="catalog-footprint",this.visible=!0}load(e){return this.addResolvingPromise(this._doLoad(e)),Promise.resolve(this)}async _doLoad(e){await this.parent.load(e),(0,D.yp)(this.renderer,this.fieldsIndex),this.addHandles([this.parent.on("apply-edits",e=>this.emit("apply-edits",e)),this.parent.on("edits",e=>this.emit("edits",e)),this.parent.on("refresh",e=>this.emit("refresh",e))])}get apiKey(){return this.parent?.apiKey}get capabilities(){return this.parent?.capabilities}get customParameters(){return this.parent?.customParameters}get dateFieldsTimeZone(){return this.parent?.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this.parent?.datesInUnknownTimezone??!1}get definitionExpression(){return this.parent?.definitionExpression}get editingInfo(){return this.parent?.editingInfo}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get createQueryVersion(){return this.parent?.createQueryVersion}get defaultPopupTemplate(){return this.createPopupTemplate()}get displayField(){return this.parent?.displayField}get displayFilterEnabled(){return this.parent?.displayFilterEnabled??!0}get displayFilterInfo(){return this.parent?.displayFilterInfo??null}get effectiveEditingEnabled(){return!1}set fieldConfigurations(e){if(this._override("fieldConfigurations",e),!this.parent?.loaded)return;const t=(0,N.sS)(this,e);t&&this._set("popupTemplate",t)}get fieldConfigurations(){return this._isOverridden("fieldConfigurations")?this._get("fieldConfigurations"):(0,N.QX)(this)||null}get fields(){return this.parent?.fields}get fieldsIndex(){return this.parent?.fieldsIndex}get fullExtent(){return this.parent?.fullExtent}get geometryFieldsInfo(){return this.parent?.geometryFieldsInfo}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?.globalIdField}get hasM(){return this.parent?.hasM??!1}get hasZ(){return this.parent?.hasZ??!1}get objectIdField(){return this.parent?.objectIdField}get orderBy(){return this.parent?.orderBy??null}get outFields(){return this.parent?.outFields}get parsedUrl(){return this.parent?.parsedUrl??null}writePopupTemplate(e,t,r,i){e&&(t[r]=e.toJSON({...i,writeFieldFormat:!0}))}get preferredTimeZone(){return this.parent?.preferredTimeZone??null}set renderer(e){(0,D.yp)(e,this.fieldsIndex),this._set("renderer",e)}get renderer(){return this._isOverridden("renderer")?this._get("renderer"):function(){const e=new U.A({style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[96,96,96,.75],width:.75}});return new k.A({symbol:e})}()}get returnM(){return this.parent?.returnM}get returnZ(){return this.parent?.returnZ}get source(){return this.parent?.source}get timeExtent(){return this.parent?.timeExtent}get timeInfo(){return this.parent?.timeInfo}get timeOffset(){return this.parent?.timeOffset}get typeIdField(){return this.parent?.typeIdField}get types(){return this.parent?.types}get useViewTime(){return this.parent?.useViewTime??!0}get version(){return this.parent?.version}async applyEdits(e,t){return await this.load(),this.parent.applyEdits(e,t)}createFieldConfigurations(){return(0,N.xY)(this)}createPopupTemplate(e){const t={fields:this.fields,objectIdField:this.objectIdField,title:this.title};return(0,G.tn)(t,e)}createQuery(){return this.parent?.createQuery()}getField(e){return this.parent?.getField(e)}getFieldAlias(e){const t=this.getField(e);if(t)return this.getFieldConfiguration(t.name)?.alias||t.alias}getFieldConfiguration(e){return e=e.toLowerCase(),this.fieldConfigurations?.find(t=>t.name.toLowerCase()===e)}getFieldDomain(e,t){return this.parent?.getFieldDomain(e,t)}async queryExtent(e,t){return await this.load(),this.parent.queryExtent(e,t)}async queryFeatures(e,t){return await this.load(),this.parent.queryFeatures(e,t)}async queryFeatureCount(e,t){return await this.load(),this.parent.queryFeatureCount(e,t)}async queryObjectIds(e,t){return await this.load(),this.parent.queryObjectIds(e,t)}async queryAttributeBins(e,t){return await this.load(),this.parent.queryAttributeBins(e,t)}};(0,i.Cg)([(0,p.MZ)(C.zQ)],J.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"apiKey",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"capabilities",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"customParameters",null),(0,i.Cg)([(0,p.MZ)()],J.prototype,"dateFieldsTimeZone",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"datesInUnknownTimezone",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"definitionExpression",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"editingInfo",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"effectiveCapabilities",null),(0,i.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],J.prototype,"charts",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"createQueryVersion",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"displayField",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,nonNullable:!0,json:{name:"enableEditing",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],J.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,p.MZ)((()=>{const e=(0,Z.o8)(C.Yj);return e.json.origins["web-map"]={read:!1,write:!1},e})())],J.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,p.MZ)({type:[R.A],json:{name:"layerDefinition.fieldConfigurations",write:{overridePolicy(e,t){return{enabled:!0,ignoreOrigin:this.originIdOf(t)<3}}}}})],J.prototype,"fieldConfigurations",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"fields",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"fieldsIndex",null),(0,i.Cg)([(0,p.MZ)({type:E.A,json:{name:"formInfo",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],J.prototype,"formTemplate",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"fullExtent",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"geometryFieldsInfo",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"geometryType",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"globalIdField",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],J.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"hasM",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"hasZ",null),(0,i.Cg)([(0,p.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],J.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({type:[q.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:z.w,write:!0}})],J.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,p.MZ)(C.kF)],J.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,p.MZ)(C.fV)],J.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:["show","hide"],json:{write:!0}})],J.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)((()=>{const e=(0,Z.o8)(C.hG);return e.json.origins.service.read=!1,e})())],J.prototype,"maxScale",void 0),(0,i.Cg)([(0,p.MZ)((()=>{const e=(0,Z.o8)(C.hn);return e.json.origins.service.read=!1,e})())],J.prototype,"minScale",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"objectIdField",null),(0,i.Cg)([(0,p.MZ)(C.ke)],J.prototype,"opacity",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"orderBy",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"outFields",null),(0,i.Cg)([(0,p.MZ)({clonable:!1})],J.prototype,"parent",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"parsedUrl",null),(0,i.Cg)([(0,p.MZ)(C.M6)],J.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)({type:I.A,json:{name:"popupInfo",write:!0}})],J.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,$.K)("popupTemplate")],J.prototype,"writePopupTemplate",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"preferredTimeZone",null),(0,i.Cg)([(0,p.MZ)({types:B.Hg,json:{origins:{"web-scene":{types:B.XJ}},name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(e,t){return{ignoreOrigin:this.originIdOf(t)<3}}}}})],J.prototype,"renderer",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"returnM",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"returnZ",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"source",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"timeExtent",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"timeInfo",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"timeOffset",null),(0,i.Cg)([(0,p.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],J.prototype,"title",void 0),(0,i.Cg)([(0,p.MZ)({json:{read:!1}})],J.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"typeIdField",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"types",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],J.prototype,"useViewTime",null),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],J.prototype,"visible",void 0),J=(0,i.Cg)([(0,p.$K)("esri.layers.catalog.CatalogFootprintLayer")],J);var K=r(65515),H=r(52136),Q=r(18768),Y=r(69208),W=r(6455),X=r(47685),ee=r(10086),te=r(99644),re=r(34287),ie=r(32756),ne=r(8303),oe=r(54310),se=r(82935),le=r(15426),ae=r(33143),ue=r(17036),de=r(91908),pe=r(20655),ce=r(80812),he=r(39131),ye=r(97552);const fe=(0,ue.p)();function me(e,t,r,i){const n=e.write({},i);(function(e){if(null==e)return!0;const t=Object.keys(e);return!t.length||1===t.length&&"id"===t[0]})(n)||(t[r]=n)}let ge=class extends((0,te.z)((0,W.FJ)((0,ee.j)((0,X.w6)((0,v.dM)((0,ie.fY)((0,se.e)((0,w.j)((0,oe.J)((0,Q.b)((0,re.q)((0,ne.A)((0,a.M)((0,Y.d)((0,H.p)(c.A)))))))))))))))){constructor(e){super(e),this.legendEnabled=!0,this._portals=new Map,this._layerToFootprint=new WeakMap,this.drawOrderField="cd_draworder",this.dynamicGroupLayer=new F({parent:this}),this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.footprintLayer=new J({parent:this}),this.itemNameField="cd_itemname",this.itemSourceField="cd_itemsource",this.itemTypeField="cd_itemtype",this.layers=new o.A([this.dynamicGroupLayer,this.footprintLayer]),this.maxScaleField="cd_maxscale",this.minScaleField="cd_minscale",this.orderBy=null,this.outFields=null,this.supportedPortalItemTypes=["Feature Service"],this.supportedSourceTypes=new Set(["Catalog Layer"]),this.source=new K.default({layer:this,supportedSourceTypes:this.supportedSourceTypes}),this.type="catalog",this.typeIdField=null,this.types=null}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:this.supportedPortalItemTypes},e).catch(u.QP).then(async()=>{const{url:e,source:r}=this;if(!e)throw new s.A("catalog-layer:missing-url","Catalog layer must be created with a url");if(null==this.layerId){const r=await this._fetchFirstValidLayerId(t);if(null==r)throw new s.A("catalog-layer:missing-layerId","There is no Catalog Layer in the service",{service:e});this.layerId=r}await r.load({signal:t}),this._initLayerProperties(),this._verifyFields()}).then(()=>(0,le.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}destroy(){this.footprintLayer.destroy(),this.dynamicGroupLayer.destroy();for(const e of this._portals.values())e.destroy();this._portals.clear()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return!1}async applyEdits(e,t){return(0,le.ct)(this,e,t)}async createLayerFromFootprint(e){const t=await this._createLayer(e);return this._configureLayer(t,e),this._layerToFootprint.set(t,e),t}createFootprintFromLayer(e){return this._layerToFootprint.get(e)?.clone()}createQuery(){const e=new ye.A,t=this.capabilities?.query;e.returnGeometry=!0,t&&(e.compactGeometryEnabled=t.supportsCompactGeometry,e.defaultSpatialReferenceEnabled=t.supportsDefaultSpatialReference),e.outFields=["*"];const{timeOffset:r,timeExtent:i}=this;return e.timeExtent=null!=r&&null!=i?i.offset(-r.value,r.unit):i||null,e.where=this.definitionExpression||"1=1",e}getFeatureType(e){return(0,le.xd)(this.types,this.typeIdField,e)}getFieldDomain(e,t){const r=t?.feature,i=this.getFeatureType(r);if(i){const t=i.domains&&i.domains[e];if(t&&"inherited"!==t.type)return t}return this.getField(e)?.domain}async reloadFromService(e){await this.source.reload({signal:e}),this._initLayerProperties(),this._verifyFields()}async hasDataChanged(){return(0,le.jp)(this)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(ye.A.from(e)??r.createQuery(),t),n=r.footprintLayer.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r.footprintLayer,e.origin=n;return i}async queryObjectIds(e,t){return(await this.load()).source.queryObjectIds(ye.A.from(e)??this.createQuery(),t)}async queryFeatureCount(e,t){return(await this.load()).source.queryFeatureCount(ye.A.from(e)??this.createQuery(),t)}async queryExtent(e,t){return(await this.load()).source.queryExtent(ye.A.from(e)??this.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,de.D)(this,e)}read(e,t){if(super.read(e,t),e){const{footprintLayer:r,dynamicGroupLayer:i}=e;r&&this.footprintLayer.read(r,t),i&&this.dynamicGroupLayer.read(i,t)}}async queryAttributeBins(e,t){const{source:i,capabilities:n}=await this.load();(0,le.ZJ)(e,n,"CatalogLayer");const o=await r.e(6956).then(()=>r(14575)),s=await i.queryAttributeBins(o.default.from(e),t);if(s.features)for(const e of s.features)e.layer=e.sourceLayer=this.footprintLayer;return s}_initLayerProperties(){const{portalItem:e,source:t}=this,{sourceJSON:r}=t;r&&(this.sourceJSON=r,this.read(r,{origin:"service",portalItem:e,portal:e?.portal,url:this.parsedUrl}))}_verifyFields(){const e=[this.itemNameField,this.itemSourceField,this.itemTypeField,this.minScaleField,this.maxScaleField],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new s.A("catalog-layer:missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}async _fetchFirstValidLayerId(e){const{data:t}=await(0,n.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(this.applyPreferredHost(t),Array.isArray(t?.layers))return t.layers.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}async _createLayer(e){const t=e.getAttribute(this.itemSourceField);if(!t)throw new s.A("catalog-layer:item-source-missing",`The footprint is missing the "${this.itemSourceField}" attribute`);const i=JSON.parse(t);if(function(e){return"object"==typeof e&&null!=e&&"itemId"in e&&"portalUrl"in e}(i)){const{itemId:e,portalUrl:t}=i,r=(0,he.qG)(t),n=this.portalItem?.portal,o=pe.A.getDefault();let s,a=!0;n&&(0,d.ut)(t,n.url)?s=n:(0,d.ut)(t,o.url)?s=o:(s=(0,l.tE)(this._portals,r,()=>new pe.A({url:r})),a=!1);const u=await c.A.fromPortalItem(new ce.default({id:e,portal:s}));return a||await be(u),u}if(function(e){return"object"==typeof e&&null!=e&&"url"in e}(i))return c.A.fromArcGISServerUrl({url:i.url});const{default:n}=await r.e(5165).then(()=>r(45165));return new n}_configureLayer(e,t){const r=t.getAttribute(this.itemNameField);r&&(e.title=r);const i=t.getAttribute(this.maxScaleField);null!=i&&"maxScale"in e&&(e.maxScale=i);const n=t.getAttribute(this.minScaleField);null!=n&&"minScale"in e&&(e.minScale=n)}};async function be(e){if("portalItem"in e&&e.portalItem){try{await e.load()}catch{}e.portalItem=null,"group"===e.type&&await Promise.allSettled([...e.layers.map(e=>be(e)),...e.tables.map(e=>be(e))])}}(0,i.Cg)([(0,p.MZ)(C.fV)],ge.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"createQueryVersion",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"drawOrderField",void 0),(0,i.Cg)([(0,p.MZ)({type:F,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:me}}})],ge.prototype,"dynamicGroupLayer",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"editingEnabled",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.elevationInfo",read:!1,write:!1}}}})],ge.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,p.MZ)({...fe.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],ge.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)(fe.fieldsIndex)],ge.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.floorInfo",read:!1,write:!1}}}})],ge.prototype,"floorInfo",void 0),(0,i.Cg)([(0,p.MZ)({type:J,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:me}}})],ge.prototype,"footprintLayer",void 0),(0,i.Cg)([(0,p.MZ)(C.id)],ge.prototype,"id",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"itemNameField",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"itemSourceField",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"itemTypeField",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"layers",void 0),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"]})],ge.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"maxScaleField",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"minScaleField",void 0),(0,i.Cg)([(0,p.MZ)({value:"CatalogLayer",type:["CatalogLayer"]})],ge.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,p.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.orderBy",write:!0,read:!0}}}})],ge.prototype,"orderBy",void 0),(0,i.Cg)([(0,p.MZ)(fe.outFields)],ge.prototype,"outFields",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],ge.prototype,"source",void 0),(0,i.Cg)([(0,p.MZ)({json:{read:!1}})],ge.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:String})],ge.prototype,"typeIdField",void 0),(0,i.Cg)([(0,p.MZ)({type:[ae.A]})],ge.prototype,"types",void 0),ge=(0,i.Cg)([(0,p.$K)("esri.layers.CatalogLayer")],ge);const ve=ge},47685(e,t,r){r.d(t,{Mk:()=>h,Zk:()=>p});var i=r(32198),n=r(65529),o=r(4718),s=r(91429),l=r(20816);const a=new n.bk;function u(e){return a.on("apply-edits",new WeakRef(e))}function d(e){return a.on("update-moment",new WeakRef(e))}function p(e,t,r=null,i=!1){const n=Promise.withResolvers();return i=null==t||i,a.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:r,mayReceiveServiceEdits:i,result:n.promise}),n}const c=Symbol();function h(e){return null!=e&&"object"==typeof e&&c in e}function y(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function f(e,t,r){const i=new URL(e).host,n=l.Z3.get(i),o=e=>!e||e===n;return o(t)&&o(r)||t===r}r.d(t,["w6",0,e=>{var t;const r=e;let n=class extends r{static{t=c}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:r,gdbVersion:i,mayReceiveServiceEdits:n,result:s}=e,l=t===this.url,a=null!=r&&null!=this.layerId&&r===this.layerId,u=null!=r&&this.relationships?.some(e=>e.relatedTableId===r),d=y(this),p=y(this)&&f(t,i,this.gdbVersion);if(!l||d&&!p||!a&&!u&&!n)return;const c=s.then(e=>{if(this.lastEditsEventDate=new Date,a&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,o.o8)(e)),e;const r=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(r){const{adds:t,updates:i,deletes:n}=r.editedFeatures,s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:n?n.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:i?i.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return this.emit("edits",s),s}const n={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,n.historicMoment)&&this.emit("edits",n),n}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));c.catch(()=>{}),this.emit("apply-edits",{result:c})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:r,moment:i}=e,n=t===this.url,o=y(this),s=y(this)&&f(t,r,this.gdbVersion),l=y(this)&&!f(t,this.gdbVersion,null);n&&o&&s&&l&&"historicMoment"in this&&this.historicMoment!==i&&(this.historicMoment=i)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(d(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,r){return"historicMoment"in this&&this.historicMoment!==r&&(0,l.w5)(e,t)}};return(0,i.Cg)([(0,s.MZ)()],n.prototype,"lastEditsEventDate",void 0),n=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.EditBusLayer")],n),n}])},87718(e,t,r){r.d(t,{F:()=>I,Y:()=>S});var i,n=r(32198),o=r(91429),s=r(49186),l=r(25482),a=r(93637),u=r(76369),d=r(66552),p=r(4718),c=r(50498),h=r(97552),y=r(79677);const f=new d.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),m=new d.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let g=i=class extends l.o{constructor(e){super(e),this.where=null,this.geometry=null,this.spatialRelationship="intersects",this.distance=void 0,this.objectIds=null,this.units=null,this.timeExtent=null}createQuery(e={}){const{where:t,geometry:r,spatialRelationship:i,timeExtent:n,objectIds:o,units:s,distance:l}=this;return new h.A({geometry:(0,p.o8)(r),objectIds:(0,p.o8)(o),spatialRelationship:i,timeExtent:(0,p.o8)(n),where:t,units:s,distance:l,...e})}clone(){const{where:e,geometry:t,spatialRelationship:r,timeExtent:n,objectIds:o,units:s,distance:l}=this;return new i({geometry:(0,p.o8)(t),objectIds:(0,p.o8)(o),spatialRelationship:r,timeExtent:(0,p.o8)(n),where:e,units:s,distance:l})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],g.prototype,"where",void 0),(0,n.Cg)([(0,o.MZ)({types:c.yR,json:{write:!0}})],g.prototype,"geometry",void 0),(0,n.Cg)([(0,o.MZ)({type:f.apiValues,json:{name:"spatialRel",read:{reader:f.read},write:{allowNull:!1,writer:f.write,overridePolicy(){return{enabled:null!=this.geometry}}}}})],g.prototype,"spatialRelationship",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"distance",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],g.prototype,"objectIds",void 0),(0,n.Cg)([(0,o.MZ)({type:m.apiValues,json:{read:m.read,write:{writer:m.write,overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"units",void 0),(0,n.Cg)([(0,o.MZ)({type:y.A,json:{write:!0}})],g.prototype,"timeExtent",void 0),g=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.FeatureFilter")],g);const b=g;var v;const w={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}},C={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}},M={name:"showExcludedLabels",default:!0};let x=v=class extends l.o{constructor(e){super(e),this.filter=null,this.includedEffect=null,this.excludedEffect=null,this.excludedLabelsVisible=!1}write(e,t){const r=super.write(e,t);if(t?.origin){if(r.filter){const e=Object.keys(r.filter);if(e.length>1||"where"!==e[0])return t.messages?.push(new s.A("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",{layer:t.layer,effect:this})),null}if("showExcludedLabels"in r)return t.messages?.push(new s.A("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:t.layer,effect:this})),null}return r}clone(){return new v({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};(0,n.Cg)([(0,o.MZ)({type:b,json:{write:{allowNull:!0,writer(e,t,r,i){const n=e?.write({},i);n&&0!==Object.keys(n).length?(0,a.sM)(r,n,t):(0,a.sM)(r,null,t)}}}})],x.prototype,"filter",void 0),(0,n.Cg)([(0,o.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":w,"portal-item":w}}})],x.prototype,"includedEffect",void 0),(0,n.Cg)([(0,o.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":C,"portal-item":C}}})],x.prototype,"excludedEffect",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0,name:"showExcludedLabels",origins:{"web-map":M,"portal-item":M}}})],x.prototype,"excludedLabelsVisible",void 0),x=v=(0,n.Cg)([(0,o.$K)("esri.layers.support.FeatureEffect")],x);const F={write:{allowNull:!0}},S={type:x,json:{origins:{"web-map":F,"portal-item":F}}},I=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.featureEffect=null}};return(0,n.Cg)([(0,o.MZ)(S)],r.prototype,"featureEffect",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.FeatureEffectLayer")],r),r}},32756(e,t,r){r.d(t,{Rr:()=>l});var i=r(32198),n=r(93637),o=r(91429),s=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new s.A;return n.read(i,r),[n]}const a={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const o=e.find(e=>!!e.field);o&&(0,n.sM)(r,[o.toJSON()],t)}}}};r.d(t,["fY",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,a])},29005(e,t,r){r.d(t,{A:()=>u});var i=r(32198),n=r(69540),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},33143(e,t,r){r.d(t,{A:()=>p});var i=r(32198),n=r(69540),o=r(25482),s=r(91429),l=r(8631),a=r(29005),u=r(36005),d=r(43937);let p=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"id",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],p.prototype,"readDomains",null),(0,i.Cg)([(0,d.K)("domains")],p.prototype,"writeDomains",null),(0,i.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],p.prototype,"templates",void 0),p=(0,i.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],p)},30279(e,t,r){r.d(t,{A:()=>u});var i=r(32198),n=r(69540),o=r(25482),s=r(10107),l=r(64108),a=r(39663);let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({types:a.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,i.Cg)([(0,l.$)("esri.layers.support.FieldConfiguration")],u)},46499(e,t,r){r.d(t,{A:()=>F});var i,n,o=r(32198),s=(r(44208),r(66552)),l=r(25482),a=r(4718),u=r(90629),d=r(91429),p=r(90360),c=r(73913),h=r(32730),y=r(77548),f=r(59868),m=r(73838),g=r(33910),b=r(36005),v=r(43937);const w=new s.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function C(e,t,r){return{enabled:!(0,y.TU)(r?.layer)}}function M(e){return!e||"service"!==e.origin&&!("map-image"===e.layer?.type)}function x(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let F=class extends l.o{static{i=h.vK}static{n=this}static evaluateWhere(e,t){const r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;const i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){const e=r(t[i[0]],i[1],i[2]),n=i[3],o=r(t[i[4]],i[5],i[6]);switch(n){case"AND":return e&&o;case"OR":return e||o}}return!1}catch(e){}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=f.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){const r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,h.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){const t=(0,h.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&M(i))e=new c.A({expression:this.getLabelExpressionArcade()});else if(!e)return;const n=e.toJSON(i);n.expression&&(t[r]=n)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,h.XJ)(this)}getLabelExpressionArcade(){return(0,h.BI)(this)}getLabelExpressionSingleField(){return(0,h.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new n({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,a.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,a.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,o.Cg)([(0,d.MZ)({type:String,json:{write:!0}})],F.prototype,"name",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:C}}}}})],F.prototype,"allowOverrun",void 0),(0,o.Cg)([(0,d.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:C}}}}})],F.prototype,"deconflictionStrategy",void 0),(0,o.Cg)([(0,d.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&x(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],F.prototype,"labelExpression",void 0),(0,o.Cg)([(0,b.w)("labelExpression")],F.prototype,"readLabelExpression",null),(0,o.Cg)([(0,v.K)("labelExpression")],F.prototype,"writeLabelExpression",null),(0,o.Cg)([(0,d.MZ)({type:c.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return M(e)||x(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],F.prototype,"labelExpressionInfo",void 0),(0,o.Cg)([(0,v.K)("labelExpressionInfo")],F.prototype,"writeLabelExpressionInfo",null),(0,o.Cg)([(0,d.MZ)({type:w.apiValues,json:{type:w.jsonValues,read:w.read,write:w.write}})],F.prototype,"labelPlacement",void 0),(0,o.Cg)([(0,d.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],F.prototype,"offsetDistance",void 0),(0,o.Cg)([(0,d.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],F.prototype,"labelPosition",void 0),(0,o.Cg)([(0,d.MZ)({type:Number})],F.prototype,"maxScale",void 0),(0,o.Cg)([(0,v.K)("maxScale")],F.prototype,"writeMaxScale",null),(0,o.Cg)([(0,d.MZ)({type:Number})],F.prototype,"minScale",void 0),(0,o.Cg)([(0,v.K)("minScale")],F.prototype,"writeMinScale",null),(0,o.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:C}}}}})],F.prototype,"repeatLabel",void 0),(0,o.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:C}}}}})],F.prototype,"repeatLabelDistance",null),(0,o.Cg)([(0,d.MZ)({types:g.em,json:{types:g.em,origins:{"portal-item":{types:g.em,read:{reader:(0,p.C)({types:g.em})},default:null},"web-scene":{types:g.Rv,read:{reader:(0,p.C)({types:g.Rv})},write:m.oO,default:null}},write:m.oO,default:null}})],F.prototype,"symbol",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"useCodedValues",void 0),(0,o.Cg)([(0,d.MZ)({type:String,json:{write:!0}})],F.prototype,"where",void 0),F=n=(0,o.Cg)([(0,d.$K)("esri.layers.support.LabelClass")],F)},73913(e,t,r){r.d(t,{A:()=>d});var i,n=r(32198),o=r(25482),s=r(91429),l=r(32730),a=r(36005),u=r(43937);let d=class extends o.o{static{i=this}constructor(e){super(e),this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,l.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,l.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({expression:this.expression,title:this.title,value:this.value})}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],d.prototype,"expression",void 0),(0,n.Cg)([(0,a.w)("expression",["expression","value"])],d.prototype,"readExpression",null),(0,n.Cg)([(0,u.K)("expression")],d.prototype,"writeExpression",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],d.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],d.prototype,"value",void 0),d=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.LabelExpressionInfo")],d)},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(32198),o=r(66552),s=r(25482),l=r(91429);const a=new o.J({asc:"ascending",desc:"descending"});let u=class extends s.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>o});var i=r(34727),n=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],d(r)),t[1]=Math.min(t[1],p(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(r,o[1])))return"";const s=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const n=d(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,i.ZH)(n,t)||(0,i.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];if((0,i.ZH)(d(n.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,n){return e=d(e),r=d(r),t=p(t),!(!(0,i.Sp)(r,e)&&(n??r)>e||(0,i.Hx)(t,r)||void 0!==n&&(0,i.Sp)(n,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function d(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},16194(e,t,r){r.d(t,{QX:()=>a,sS:()=>d,xY:()=>u});var i=r(4718),n=r(30279),o=r(39663),s=r(30524),l=r(41227);function a(e){const{popupTemplate:t,fieldsIndex:r}=e,i=t?.fieldInfos;if(!i?.length||!r)return;const s=[];for(const e of i){const{fieldName:t,label:i}=e,l=r.get(t);if(!l)continue;const a=i&&i!==l.alias?i:null,u=(0,o.iu)(e,l);(a||u)&&s.push(new n.A({name:l.name,alias:a,fieldFormat:u}))}return s.length?s:null}function u(e){const{fields:t}=e;if(!t?.length)return;const r=[];for(const e of t){const t=(0,o.qH)(e)?(0,o.$P)(e):null;t&&r.push(new n.A({name:e.name,fieldFormat:t}))}return r.length?r:null}function d(e,t){const{popupTemplate:r,fieldsIndex:n}=e;if(!r||!n)return;const s=function(e,t,r){t??=[],r=(0,i.o8)(r)??[];let n=!1;const s=new Map;for(const r of t){const t=e.fieldsIndex.get(r.name);t&&s.set(t.name,r)}for(const t of r){const r=e.fieldsIndex.get(t.fieldName);if(!r)continue;const i=s.get(r.name);t.label=i?.alias||r.alias,t.format=(0,o.qH)(r)&&i?.fieldFormat?(0,o.PK)(i.fieldFormat,r):null,n=!0,s.delete(r.name)}for(const t of s.values()){const i=p(e,t);i&&(r.push(i),n=!0)}return n?r:null}(e,t,r.fieldInfos);if(!s)return;const l=r.clone();return l.fieldInfos=s,l}function p(e,t){const{name:r,alias:i,fieldFormat:n}=t,a=e.fieldsIndex.get(r);if(!a||!i&&!n)return;const u=i||a.alias,d=(0,o.qH)(a)&&n?(0,o.PK)(n,a):null;return new l.A({fieldName:a.name,label:u,format:d,visible:!1,isEditable:(0,s.R$)(a,e)})}},39383(e,t,r){r.d(t,{w:()=>a,z:()=>p});var i=r(49186),n=r(53966),o=r(46499);const s=()=>n.A.getLogger("esri.layers.support.labelingInfo"),l=/\[([^[\]]+)\]/gi;function a(e,t,r){return e?e.map(e=>{const i=new o.A;if(i.read(e,r),i.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(l,(t,r)=>`[${function(e,t){if(!t)return e;const r=e.toLowerCase();for(let e=0;e<t.length;e++){const i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const u=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],d={esriGeometryPoint:u,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:u,esriGeometryEnvelope:null};function p(e,t){const r=[];for(const n of e){const e=n.labelPlacement,o=d[t];if(!n.symbol)return s().warn("No ILabelClass symbol specified."),[];if(!o)return s().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(o.includes(e))r.push(n);else{const i=o[0];e&&s().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);const l=n.clone();l.labelPlacement=i,r.push(l)}}return r}},96520(e,t,r){r.d(t,{u:()=>a});var i=r(86211),n=r(21325),o=r(52006);function s(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=r)}function l(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e){const e=(0,o.yP)(t);e.length>2&&(e[2]*=r)}}function a(e,t,r){if(!e&&!t||!r)return;const n=(0,i.G9)(r);u(e,r,n),u(t,r,n)}function u(e,t,r){if(e)for(const i of e)d(i.geometry,t,r)}function d(e,t,r){if(!e?.spatialReference||(0,n.aI)(e.spatialReference,t))return;const o=(0,i.G9)(e.spatialReference)/r;if(1!==o)if("x"in e)null!=e.z&&(e.z*=o);else if("curveRings"in e)l(e,e.curveRings,o);else if("curvePaths"in e)l(e,e.curvePaths,o);else if("rings"in e)s(e,e.rings,o);else if("paths"in e)s(e,e.paths,o);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=o)}},9760(e,t,r){r.d(t,{A:()=>d});var i=r(32198),n=r(66552),o=r(25482),s=r(91429),l=r(93223);const a=new n.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new n.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let d=class extends o.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i.Cg)([(0,l.e)({classBreaksDef:"class-breaks-definition"})],d.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"breakCount",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"classificationField",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{read:a.read,write:a.write}})],d.prototype,"classificationMethod",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"normalizationField",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"normalizationType",void 0),(0,i.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],d.prototype,"standardDeviationInterval",null),(0,i.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],d.prototype,"definedInterval",null),d=(0,i.Cg)([(0,s.$K)("esri.rest.support.ClassBreaksDefinition")],d)},22671(e,t,r){r.d(t,{A:()=>b});var i,n=r(32198),o=r(52106),s=r(66552),l=r(25482),a=r(4718),u=r(91429),d=r(16930),p=r(60408),c=r(65864),h=r(50498),y=r(20437),f=r(36005),m=r(43937);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,c.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=d.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[o,s]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*o+i,e=>n-e*s,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=d.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),l=o.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=i);const a=o.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(s)}return n}_quantizePoints(e,t,r){let i,n;const o=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=r(l[1]);e===i&&s===n||(o.push([e-i,s-n]),i=e,n=s)}else i=t(l[0]),n=r(l[1]),o.push([i,n])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,p.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],s=this._quantizePoints(o,t,r);s&&n.push(s)}return n.length>0?((0,p.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,p.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(s+=n[0],l+=n[1]):(s=n[0],l=n[1]),n[0]=t(s),n[1]=r(l)}}if(i&&n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(s+=i[0],l+=i[1]):(s=i[0],l=i[1]),i[0]=t(s),i[1]=r(l)}if(i&&n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],b.prototype,"features",void 0),(0,n.Cg)([(0,f.w)("features")],b.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],b.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,f.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:d.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},84892(e,t,r){r.d(t,{t:()=>o});var i=r(53966);function n(e,t){return Number(e.toFixed(t))}function o(e,t){const{normalizationTotal:r}=e;return{classBreaks:s(e,t),normalizationTotal:r}}function s(e,t){const r=e.definition,{classificationMethod:i,normalizationType:o,definedInterval:s}=r,u=r.breakCount??1,d=[];let p=e.values;if(0===p.length)return[];p=p.sort((e,t)=>e-t);const[c,h]=t??[p.at(0),p.at(-1)];if("equal-interval"===i)if(p.length>=u){const e=(h-c)/u;let t=c;for(let r=1;r<u;r++){const i=n(c+r*e,6);d.push({minValue:t,maxValue:i,label:l(t,i,o)}),t=i}d.push({minValue:t,maxValue:h,label:l(t,h,o)})}else p.forEach(e=>{d.push({minValue:e,maxValue:e,label:l(e,e,o)})});else if("natural-breaks"===i){const t=function(e){const t=[],r=[];let i=Number.MIN_VALUE,n=1,o=-1;for(let s=0;s<e.length;s++){const l=e[s];l===i?(n++,r[o]=n):null!==l&&(t.push(l),i=l,n=1,r.push(n),o++)}return{uniqueValues:t,valueFrequency:r}}(p),r=e.valueFrequency||t.valueFrequency,i=a(t.uniqueValues,r,u);let s=c;for(let e=1;e<u;e++)if(t.uniqueValues.length>e){const r=n(t.uniqueValues[i[e]],6);d.push({minValue:s,maxValue:r,label:l(s,r,o)}),s=r}d.push({minValue:s,maxValue:h,label:l(s,h,o)})}else if("quantile"===i)if(p.length>=u&&c!==h){let e=c,t=Math.ceil(p.length/u),r=0;for(let i=1;i<u;i++){let n=t+r-1;n>p.length&&(n=p.length-1),n<0&&(n=0),d.push({minValue:e,maxValue:p[n],label:l(e,p[n],o)}),e=p[n],r+=t,t=Math.ceil((p.length-r)/(u-i))}d.push({minValue:e,maxValue:h,label:l(e,h,o)})}else{let e=-1;for(let t=0;t<p.length;t++){const r=p[t];r!==e&&(e=r,d.push({minValue:e,maxValue:r,label:l(e,r,o)}),e=r)}}else if("standard-deviation"===i){const e=function(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t/=e.length,t}(p),t=function(e,t){let r=0;for(let i=0;i<e.length;i++){const n=e[i];r+=(n-t)*(n-t)}return r/=e.length,Math.sqrt(r)}(p,e);if(0===t)d.push({minValue:p[0],maxValue:p[0],label:l(p[0],p[0],o)});else{const r=function(e,t,r,i,n){let o=Math.max(i-e,t-i)/n/r;return o=o>=1?1:o>=.5?.5:.25,o}(c,h,u,e,t)*t;let i=0,s=c;for(let t=u;t>=1;t--){const a=n(e-(t-.5)*r,6);d.push({minValue:s,maxValue:a,label:l(s,a,o)}),s=a,i++}let a=n(e+.5*r,6);d.push({minValue:s,maxValue:a,label:l(s,a,o)}),s=a,i++;for(let t=1;t<=u;t++)a=i===2*u?h:n(e+(t+.5)*r,6),d.push({minValue:s,maxValue:a,label:l(s,a,o)}),s=a,i++}}else if("defined-interval"===i){if(!s)return d;const[e,r]=t??[p.at(0),p.at(-1)],i=Math.ceil((r-e)/s);let a=e;for(let t=1;t<i;t++){const r=n(e+t*s,6);d.push({minValue:a,maxValue:r,label:l(a,r,o)}),a=r}d.push({minValue:a,maxValue:r,label:l(a,r,o)})}return d}function l(e,t,r){let i=null;return i=e===t?r&&"percent-of-total"===r?e+"%":e.toString():r&&"percent-of-total"===r?e+"% - "+t+"%":e+" - "+t,i}function a(e,t,r){const i=e.length,n=[];r>i&&(r=i);for(let e=0;e<r;e++)n.push(Math.round(e*i/r-1));n.push(i-1);let o=u(n,e,t,r);return function(e,t,r,i,n,o){let s=0,l=0,a=0,u=0,p=!0;for(let c=0;c<2&&p;c++){0===c&&(p=!1);for(let c=0;c<o-1;c++)for(;r[c+1]+1!==r[c+2];){r[c+1]=r[c+1]+1;const o=d(c,r,i,n);a=o.sbMean,s=o.sbSdcm;const h=d(c+1,r,i,n);if(u=h.sbMean,l=h.sbSdcm,!(s+l<t[c]+t[c+1])){r[c+1]=r[c+1]-1;break}t[c]=s,t[c+1]=l,e[c]=a,e[c+1]=u,p=!0}for(let c=o-1;c>0;c--)for(;r[c]!==r[c-1]+1;){r[c]=r[c]-1;const o=d(c-1,r,i,n);a=o.sbMean,s=o.sbSdcm;const h=d(c,r,i,n);if(u=h.sbMean,l=h.sbSdcm,!(s+l<t[c-1]+t[c])){r[c]=r[c]+1;break}t[c-1]=s,t[c]=l,e[c-1]=a,e[c]=u,p=!0}}return p}(o.mean,o.sdcm,n,e,t,r)&&(o=u(n,e,t,r)),n}function u(e,t,r,i){let n=[],o=[],s=[],l=0;const a=[],u=[];for(let n=0;n<i;n++){const i=d(n,e,t,r);a.push(i.sbMean),u.push(i.sbSdcm),l+=u[n]}let p,c=l,h=!0;for(;h||l<c;){h=!1,n=[];for(let t=0;t<i;t++)n.push(e[t]);for(let r=0;r<i;r++)for(let n=e[r]+1;n<=e[r+1];n++)if(p=t[n],r>0&&n!==e[r+1]&&Math.abs(p-a[r])>Math.abs(p-a[r-1]))e[r]=n;else if(r<i-1&&e[r]!==n-1&&Math.abs(p-a[r])>Math.abs(p-a[r+1])){e[r+1]=n-1;break}c=l,l=0,o=[],s=[];for(let n=0;n<i;n++){o.push(a[n]),s.push(u[n]);const i=d(n,e,t,r);a[n]=i.sbMean,u[n]=i.sbSdcm,l+=u[n]}}if(l>c){for(let t=0;t<i;t++)e[t]=n[t],a[t]=o[t],u[t]=s[t];l=c}return{mean:a,sdcm:u}}function d(e,t,r,n){let o=0,s=0;for(let i=t[e]+1;i<=t[e+1];i++){const e=n[i];o+=r[i]*e,s+=e}s<=0&&i.A.getLogger("esri.rest.support.generateRendererUtils").warn("Exception in Natural Breaks calculation");const l=o/s;let a=0;for(let i=t[e]+1;i<=t[e+1];i++)a+=n[i]*(r[i]-l)**2;return{sbMean:l,sbSdcm:a}}},1873(e,t,r){r.d(t,{$y:()=>P,Ak:()=>O,FM:()=>y,G_:()=>c,Rw:()=>L,Vb:()=>d,b3:()=>E,gJ:()=>u,jM:()=>A,lv:()=>T,oZ:()=>Z,qg:()=>h,sU:()=>V,z9:()=>p,zS:()=>j});var i=r(9760),n=r(84892);const o=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,s=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),l=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),a=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function d(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function p(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter(e=>null!=e).sort(),n=i.length,o={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(o.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(o.median=h(r,e.percentileParams)),o}function c(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let o=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,l=null,a=null,u=null,d=null,p=0;const c=null==e.minValue?-1/0:e.minValue,y=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=c&&e<=y&&(l=null===l?e:l+e,o=Math.min(o,e),s=Math.max(s,e),p++):"string"==typeof e&&p++;if(p&&null!=l){a=l/p;let e=0;for(const r of t)Number.isFinite(r)&&r>=c&&r<=y&&(e+=(r-a)**2);d=r?p>1?e/(p-1):0:p>0?e/p:0,u=Math.sqrt(d)}else o=null,s=null;const f={avg:a,count:p,max:s,min:o,stddev:u,sum:l,variance:d};return i&&(f.nullcount=t.length-p),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(f.median=h(t,e.percentileParams)),f}function h(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:o}=t,s=y(r,"desc"===n,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>s(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,a=Math.floor(l),u=a+1,d=l%1,p=e[a],c=e[u];return u>=e.length||o||"string"==typeof p||"string"==typeof c?p:p*(1-d)+c*d}function y(e,t,r="case-sensitive"){if(e){if(s.has(e))return S(t);if(l.has(e))return M(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?v:b}(t);const i=M(t,"case-sensitive"===r);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(I(e),I(t))}const i=t?1:-1,n=S(t),o=M(t,"case-sensitive"===r),a=g(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?o(e,t):a(e,t)??i}const f=(e,t)=>null==e?null==t?0:1:null==t?-1:null,m=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function g(e){return e?f:m}const b=(e,t)=>m(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),v=(e,t)=>f(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),w=(e,t)=>m(e,t)??(e===t?0:e<t?-1:1),C=(e,t)=>f(e,t)??(e===t?0:e<t?1:-1);function M(e,t){if(t)return e?C:w;const r=g(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const x=(e,t)=>f(e,t)??t-e,F=(e,t)=>m(e,t)??e-t;function S(e){return e?x:F}function I(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function Z(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:a.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function E(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function _(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function T(e,t,r,i){const n=e.count,o=[];if(r&&t){const e=[],r=_(t[0]);for(const n of r)if(t[1]){const r=_(t[1]);for(const o of r)if(t[2]){const r=_(t[2]);for(const t of r)e.push(`${u(n)}${i}${u(o)}${i}${u(t)}`)}else e.push(`${u(n)}${i}${u(o)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];o.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:o}}function j(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function L(e,t,r){const o=function(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:o}=e,s=e.classificationMethod||"equal-interval",l="standard-deviation"===s?e.standardDeviationInterval||1:void 0,a="defined-interval"===s?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:s,normalizationField:"field"===o?n:void 0,normalizationType:o,standardDeviationInterval:l,definedInterval:a})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=n)}(e,t.minValue,t.maxValue),(0,n.t)({definition:o,values:e,normalizationTotal:t.normalizationTotal},r)}function A(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,s=r[i-1]?.maxValue,l="standard-deviation"===t,a=o;return r=r.map(e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(l&&t){const e=t.match(a),i=e?.map(e=>+e.trim())??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r}),{minValue:n,maxValue:s,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function P(e,t){const r=V(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,o=r.max??0,s=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=n&&t<=o){const e=O(i,t);e>-1&&s[e].count++}return{bins:s,minValue:n,maxValue:o,normalizationTotal:t.normalizationTotal}}function V(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:o,definedInterval:s,normalizationType:l,normalizationField:a,normalizationTotal:u,minValue:p,maxValue:h}=t,y=t.numBins||10;let f=null,m=null,g=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=L(e,{field:i,normalizationType:l,normalizationField:a,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:o,definedInterval:s,minValue:p,maxValue:h,numClasses:y},null!=p&&null!=h?[p,h]:void 0);f=t[0]?.minValue,m=t[t.length-1]?.maxValue,g=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=p&&null!=h)f=p,m=h;else{const t=c({values:e,minValue:p,maxValue:h,useSampleStdDev:!l,supportsNullCount:d({normalizationType:l,normalizationField:a,minValue:p,maxValue:h})});f=t.min??null,m=t.max??null}g=function(e,t,r){const i=(t-e)/r,n=[];let o,s=e;for(let e=1;e<=r;e++)o=s+i,o=Number(o.toFixed(16)),n.push([s,e===r?t:o]),s=o;return n}(f??0,m??0,y)}if(r&&g.length){const e=g.at(-1)[1];g.push([e,e])}return{min:f,max:m,intervals:g}}function O(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},20816(e,t,r){r.d(t,{We:()=>l,ZJ:()=>a,w5:()=>u});var i=r(56507);const n=(0,r(13069).vD)(),o=new Map,s=new Map;async function l(e,t,r){if(!e||!r)return!1;if(!t)return!0;const n=new URL(e).host;let s=o.get(n);if(!s){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");s=(await(0,i.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return s===t}async function a(e,t,i=!1){if(!e||!t)return!0;const o=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),l=s.get(o)?.entries();if(l)for(const[e,s]of l)if(s.name===t){const t=!s.stack?.hasForwardEdits();if(!t&&i){const[{deleteForwardEdits:t},{default:i}]=await Promise.all([r.e(2186).then(()=>r(32186)),r.e(2558).then(()=>r(32558))]),l=await t(o,e,new i({sessionId:n,moment:s.moment}));return l.success&&s.stack?.clearForwardEdits(),l.success}return t}return!0}function u(e,t){if(!e)return!1;const r=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),i=s.get(r)?.entries();if(i)for(const[e,r]of i)if(r.name===t)return"edit"===r.lockType;return!1}new Map,r.d(t,["TA",0,n,"Z3",0,o])}}]);