@arcgis/core 5.0.0-next.86 → 5.0.0-next.88

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 (508) hide show
  1. package/Ground.js +1 -1
  2. package/Map.d.ts +4 -0
  3. package/WebLinkChart.d.ts +6 -3
  4. package/WebScene.js +1 -1
  5. package/analysis/ShadowCastAnalysis.d.ts +1 -0
  6. package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +14 -2
  7. package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.js +1 -1
  8. package/applications/Components/OrientedImageryViewer/galleryUtils.d.ts +80 -0
  9. package/applications/Components/OrientedImageryViewer/galleryUtils.js +5 -0
  10. package/applications/Components/clipboard.d.ts +106 -0
  11. package/applications/Components/clipboard.js +5 -0
  12. package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
  13. package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
  14. package/assets/esri/core/t9n/Units.json +1 -1
  15. package/assets/esri/core/t9n/Units_ar.json +1 -1
  16. package/assets/esri/core/t9n/Units_bg.json +1 -1
  17. package/assets/esri/core/t9n/Units_bs.json +1 -1
  18. package/assets/esri/core/t9n/Units_ca.json +1 -1
  19. package/assets/esri/core/t9n/Units_cs.json +1 -1
  20. package/assets/esri/core/t9n/Units_da.json +1 -1
  21. package/assets/esri/core/t9n/Units_de.json +1 -1
  22. package/assets/esri/core/t9n/Units_el.json +1 -1
  23. package/assets/esri/core/t9n/Units_en.json +1 -1
  24. package/assets/esri/core/t9n/Units_es.json +1 -1
  25. package/assets/esri/core/t9n/Units_et.json +1 -1
  26. package/assets/esri/core/t9n/Units_fi.json +1 -1
  27. package/assets/esri/core/t9n/Units_fr.json +1 -1
  28. package/assets/esri/core/t9n/Units_he.json +1 -1
  29. package/assets/esri/core/t9n/Units_hr.json +1 -1
  30. package/assets/esri/core/t9n/Units_hu.json +1 -1
  31. package/assets/esri/core/t9n/Units_id.json +1 -1
  32. package/assets/esri/core/t9n/Units_it.json +1 -1
  33. package/assets/esri/core/t9n/Units_ja.json +1 -1
  34. package/assets/esri/core/t9n/Units_ko.json +1 -1
  35. package/assets/esri/core/t9n/Units_lt.json +1 -1
  36. package/assets/esri/core/t9n/Units_lv.json +1 -1
  37. package/assets/esri/core/t9n/Units_nl.json +1 -1
  38. package/assets/esri/core/t9n/Units_no.json +1 -1
  39. package/assets/esri/core/t9n/Units_pl.json +1 -1
  40. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  41. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  42. package/assets/esri/core/t9n/Units_ro.json +1 -1
  43. package/assets/esri/core/t9n/Units_ru.json +1 -1
  44. package/assets/esri/core/t9n/Units_sk.json +1 -1
  45. package/assets/esri/core/t9n/Units_sl.json +1 -1
  46. package/assets/esri/core/t9n/Units_sr.json +1 -1
  47. package/assets/esri/core/t9n/Units_sv.json +1 -1
  48. package/assets/esri/core/t9n/Units_th.json +1 -1
  49. package/assets/esri/core/t9n/Units_tr.json +1 -1
  50. package/assets/esri/core/t9n/Units_uk.json +1 -1
  51. package/assets/esri/core/t9n/Units_vi.json +1 -1
  52. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  53. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  54. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  55. package/assets/esri/core/workers/RemoteClient.js +1 -1
  56. package/assets/esri/core/workers/chunks/{6298e71e6c480d6f46e3.js → 0276e689e1371b40cff3.js} +1 -1
  57. package/assets/esri/core/workers/chunks/045a9cc900bb4ac8afde.js +1 -0
  58. package/assets/esri/core/workers/chunks/048173088bbeb1f6b8b6.js +1 -0
  59. package/assets/esri/core/workers/chunks/0be8b9d9ef56c37e74c3.js +1 -0
  60. package/assets/esri/core/workers/chunks/0bef671165e64f90ac86.js +1 -0
  61. package/assets/esri/core/workers/chunks/0c025d2b0d3162b07feb.js +1 -0
  62. package/assets/esri/core/workers/chunks/0c4ed18d67dea0c99f01.js +1 -0
  63. package/assets/esri/core/workers/chunks/0e0208b87566f4470f1d.js +1 -0
  64. package/assets/esri/core/workers/chunks/{981f05b5ef6f9c3f7e8a.js → 0fc0fd7618ef25dd6b67.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{1facc1b45345a095b9a7.js → 149c4181eaea32e9ac15.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{f1e1666bede364c069fc.js → 15c180deb8d09127ad31.js} +1 -1
  67. package/assets/esri/core/workers/chunks/1616ee2f6dce0203f1d5.js +1 -0
  68. package/assets/esri/core/workers/chunks/21bb414cb0623ffad577.js +1 -0
  69. package/assets/esri/core/workers/chunks/21c84e014c73bd85f4a3.js +1 -0
  70. package/assets/esri/core/workers/chunks/262677294d8c653e2b0b.js +1 -0
  71. package/assets/esri/core/workers/chunks/{5139bbe8f94df01467c7.js → 28a6a59033baa44bafab.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{c5d56b85d34026507902.js → 28c273f34ffde25cebc6.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{b7e40118b4d645e9f8e1.js → 2a12026f1ca9e8900a8b.js} +1 -1
  74. package/assets/esri/core/workers/chunks/2bc9f407f89d554a43ce.js +1 -0
  75. package/assets/esri/core/workers/chunks/2f21c5ae4fbe85c2792b.js +1 -0
  76. package/assets/esri/core/workers/chunks/3332ee9727874953523c.js +1 -0
  77. package/assets/esri/core/workers/chunks/{c477b0ce55211339c4cb.js → 33f44cc192c72064b5b6.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{1cf27708d17a4de75b68.js → 3672125daca3df24c8ab.js} +1 -1
  79. package/assets/esri/core/workers/chunks/37a607f3835ec6f60834.js +1 -0
  80. package/assets/esri/core/workers/chunks/{3ebd4cdafa7682062447.js → 39dd80c184ac48f877f1.js} +1 -1
  81. package/assets/esri/core/workers/chunks/3a3adf9b6502ad698aea.js +1 -0
  82. package/assets/esri/core/workers/chunks/{4a857a7f5e00dfab2b44.js → 3c663035cf872b66cb98.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{32b09ca094377a305881.js → 3d924488471601a17915.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{743165f9bc4d85748a0d.js → 42b56932340b6d0bc712.js} +1 -1
  85. package/assets/esri/core/workers/chunks/4de93e9f91fd891ed96f.js +1 -0
  86. package/assets/esri/core/workers/chunks/4eb02a03956d1c9c77ee.js +1 -0
  87. package/assets/esri/core/workers/chunks/{15132d36e7ccbb3c009e.js → 555a252bdb87e340bd02.js} +1 -1
  88. package/assets/esri/core/workers/chunks/{5d791bfca20791d8e0af.js → 5670e430584f020a3530.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{70df4331ed29d823bf38.js → 5b297353b058323f8080.js} +1 -1
  90. package/assets/esri/core/workers/chunks/5ef5dcca7c9b376f7f77.js +1 -0
  91. package/assets/esri/core/workers/chunks/{c12c095937b21e39ad3c.js → 614c63dae0158da0ed3d.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{5734aefbce8b6425630c.js → 63b46983155b1672e07a.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{8b575ac55bc396c0c477.js → 687677acc05b5e87effe.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{1aee859eaffa54ef2515.js → 727321c615f35d708d46.js} +1 -1
  95. package/assets/esri/core/workers/chunks/731cab5887c05f221279.js +1 -0
  96. package/assets/esri/core/workers/chunks/779fe8ccc4041f0b65a0.js +1 -0
  97. package/assets/esri/core/workers/chunks/782c24211daacb47b0b2.js +1 -0
  98. package/assets/esri/core/workers/chunks/79067e7d1ebc46afd775.js +1 -0
  99. package/assets/esri/core/workers/chunks/7a454e4d6df3360e0ab9.js +1 -0
  100. package/assets/esri/core/workers/chunks/7da56ba34c81d2bbaf25.js +1 -0
  101. package/assets/esri/core/workers/chunks/{d8b72c6f5f9b2d013b7f.js → 824b45b04b4f4f91dbce.js} +1 -1
  102. package/assets/esri/core/workers/chunks/836d10ceb93ed19f0aa6.js +1 -0
  103. package/assets/esri/core/workers/chunks/{68d0bae1816061d96307.js → 837d39e70880e4310bda.js} +1 -1
  104. package/assets/esri/core/workers/chunks/{746190bb70aa78ba0bfc.js → 8936f9398414be26b83f.js} +4 -4
  105. package/assets/esri/core/workers/chunks/8bcb2180ecc88a39b317.js +1 -0
  106. package/assets/esri/core/workers/chunks/{e95f90d59041640727da.js → 8c5d827cbf8869defb87.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{7449af8f3637c1694660.js → 97155c8ac832d7c46f24.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{fbf21fda283836e8633c.js → 98cb131b62e30aee35e1.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{e067bbf12f711fd5b9a6.js → 9b3b9df0aa0fdcc77aa2.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{5852d291ef41201030d5.js → 9fa1512baa6e95d3f878.js} +21 -21
  111. package/assets/esri/core/workers/chunks/{8cb13b3776f07536c79f.js → a0d459bdb91ee892d4b6.js} +1 -1
  112. package/assets/esri/core/workers/chunks/{96616126aaf319cd1c6f.js → a5ed35f53769feb751db.js} +1 -1
  113. package/assets/esri/core/workers/chunks/{b6530c66804bede649d7.js → aa09e261d1f7dffaad8c.js} +1 -1
  114. package/assets/esri/core/workers/chunks/b268b4cbf5b0c856f88e.js +1 -0
  115. package/assets/esri/core/workers/chunks/b2f6cee006788ce3bd16.js +1 -0
  116. package/assets/esri/core/workers/chunks/{198ae9e02366870d3ec8.js → b46e772e415e2cfca896.js} +1 -1
  117. package/assets/esri/core/workers/chunks/{cee29c3a94376f6740d7.js → b4ab715a3c506e122f35.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{b5ca894a6cb1a19676d5.js → b9756dce0b3af1a9dc54.js} +1 -1
  119. package/assets/esri/core/workers/chunks/baa7e90ec5259057d86b.js +1 -0
  120. package/assets/esri/core/workers/chunks/{52ae2073604deef63ea2.js → c083045d21636b95f26f.js} +1 -1
  121. package/assets/esri/core/workers/chunks/c267e57eb7f779115aba.js +1 -0
  122. package/assets/esri/core/workers/chunks/{5a0c5271304189a2401d.js → c38098f7073a10efdb1e.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{adecd31fd64d6753682d.js → c7c865dc1a93e781a3e3.js} +1 -1
  124. package/assets/esri/core/workers/chunks/c8e56dc1239118ac2a60.js +1 -0
  125. package/assets/esri/core/workers/chunks/cb6083f7294c8de297e1.js +1 -0
  126. package/assets/esri/core/workers/chunks/cb6c9469d7c16727cd12.js +1 -0
  127. package/assets/esri/core/workers/chunks/{e7e508258ad27468a6a5.js → cc6d9b2062b9de629111.js} +1 -1
  128. package/assets/esri/core/workers/chunks/d5386c0e77063c87fddd.js +1 -0
  129. package/assets/esri/core/workers/chunks/d782671235af2db1c458.js +1 -0
  130. package/assets/esri/core/workers/chunks/de33ce9b6f4e6c0e1389.js +1 -0
  131. package/assets/esri/core/workers/chunks/{0abb084b8a137f4fcdfc.js → e1c5773c12d9947bdc5f.js} +1 -1
  132. package/assets/esri/core/workers/chunks/e55ce8466aa979ac1e6b.js +1 -0
  133. package/assets/esri/core/workers/chunks/{21739c37160061f229ef.js → e585883d0036aa866420.js} +1 -1
  134. package/assets/esri/core/workers/chunks/e6d6d664fc9f2cd6a042.js +1 -0
  135. package/assets/esri/core/workers/chunks/e7cdc2a21104d84aec4a.js +1 -0
  136. package/assets/esri/core/workers/chunks/e9edf3987039def65859.js +1 -0
  137. package/assets/esri/core/workers/chunks/{3b434f318fdbbe4111e3.js → edbe52c2848486d64b16.js} +1 -1
  138. package/assets/esri/core/workers/chunks/{4f8895eb57ec6ab4b318.js → f5a61fa75ac877b5bb74.js} +1 -1
  139. package/assets/esri/core/workers/chunks/feba6c9ae162a0a8ea3a.js +1 -0
  140. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  141. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  142. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  143. package/assets/esri/themes/base/widgets/_FeatureTable.scss +9 -1
  144. package/assets/esri/themes/dark/main.css +1 -1
  145. package/assets/esri/themes/light/main.css +1 -1
  146. package/assets/esri/themes/light/view.css +1 -1
  147. package/chunks/{TextureOnly.glsl.js → Texture.glsl.js} +2 -2
  148. package/chunks/{WaterSurface.glsl.js → Water.glsl.js} +6 -6
  149. package/chunks/bundle.js +1 -1
  150. package/chunks/libtess-f32.js +1 -1
  151. package/chunks/libtess-f64.js +1 -1
  152. package/config.js +1 -1
  153. package/copyright.txt +84 -0
  154. package/core/Promise.d.ts +1 -1
  155. package/core/arrayUtils.js +1 -1
  156. package/core/quantity.js +1 -1
  157. package/core/quantityFormatUtils.js +1 -1
  158. package/core/units.d.ts +1 -1
  159. package/core/units.js +1 -1
  160. package/core/workers/WorkerHandle.js +1 -1
  161. package/editing/Clipboard.js +5 -0
  162. package/effects/FocusAreas.d.ts +1 -0
  163. package/form/FormTemplate.js +1 -1
  164. package/geometry/ellipsoidUtils.js +1 -1
  165. package/geometry/libtess.js +1 -1
  166. package/geometry/operators/geodesicBufferOperator.d.ts +1 -0
  167. package/geometry/operators/geodesicProximityOperator.d.ts +1 -0
  168. package/geometry/operators/geodeticAreaOperator.d.ts +1 -0
  169. package/geometry/operators/geodeticDensifyOperator.d.ts +1 -0
  170. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -0
  171. package/geometry/operators/geodeticLengthOperator.d.ts +1 -0
  172. package/geometry/operators/geodeticUtilsOperator.d.ts +1 -0
  173. package/geometry/operators/shapePreservingProjectOperator.d.ts +1 -0
  174. package/geometry/operators/support/geographicTransformationUtils.d.ts +1 -0
  175. package/geometry/projection/projectors.js +1 -1
  176. package/geometry/projectionUtils.js +1 -1
  177. package/geometry/support/meshUtils/projection.js +1 -1
  178. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  179. package/geometry/support/planetGCSUtils.js +1 -1
  180. package/geometry/support/spatialReferenceUtils.js +1 -1
  181. package/identity/IdentityModal.js +1 -1
  182. package/interfaces.d.ts +2 -2
  183. package/kernel.js +1 -1
  184. package/layers/CatalogLayer.d.ts +1 -0
  185. package/layers/FeatureLayer.d.ts +6 -0
  186. package/layers/GeoJSONLayer.d.ts +1 -0
  187. package/layers/Layer.d.ts +1 -0
  188. package/layers/LinkChartLayer.d.ts +2 -2
  189. package/layers/MediaLayer.d.ts +1 -0
  190. package/layers/OGCFeatureLayer.d.ts +1 -0
  191. package/layers/ParquetLayer.d.ts +6 -0
  192. package/layers/SubtypeGroupLayer.d.ts +1 -0
  193. package/layers/WFSLayer.d.ts +1 -0
  194. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -0
  195. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  196. package/layers/mixins/ArcGISImageService.d.ts +30 -16
  197. package/layers/mixins/BlendLayer.d.ts +1 -0
  198. package/layers/mixins/FeatureEffectLayer.d.ts +2 -0
  199. package/layers/mixins/ImageryTileMixin.d.ts +2 -1
  200. package/layers/mixins/ImageryTileMixin.js +1 -1
  201. package/layers/mixins/ScaleRangeLayer.d.ts +0 -42
  202. package/layers/orientedImagery/transformations/utils.js +1 -1
  203. package/layers/raster/datasets/RawBlockCache.js +1 -1
  204. package/layers/raster/functions/SpectralConversionFunction.js +5 -0
  205. package/layers/raster/functions/SpectralConversionFunctionArguments.js +5 -0
  206. package/layers/raster/functions/conversionUtils.js +1 -1
  207. package/layers/raster/functions/rasterFunctionHelper.js +1 -1
  208. package/layers/raster/functions/vectorFieldUtils.js +1 -1
  209. package/layers/support/FeatureFilter.d.ts +4 -0
  210. package/layers/support/parquetUtils.d.ts +44 -1
  211. package/layers/support/rasterFunctionUtils.d.ts +0 -4
  212. package/layers/support/vectorTileLayerLoader.js +1 -1
  213. package/layers/support/wmsUtils.js +1 -1
  214. package/networks/CircuitManager.d.ts +6 -5
  215. package/networks/CircuitManager.js +1 -1
  216. package/networks/Network.d.ts +1 -0
  217. package/networks/UtilityNetwork.js +1 -1
  218. package/networks/support/Circuit.d.ts +2 -4
  219. package/networks/support/CircuitLocation.d.ts +1 -7
  220. package/networks/support/CircuitLocation.js +1 -1
  221. package/networks/support/CircuitPathConnectivityElement.js +1 -1
  222. package/networks/support/CircuitSection.d.ts +2 -4
  223. package/networks/support/Subcircuit.d.ts +2 -2
  224. package/package.json +4 -4
  225. package/renderers/FlowRenderer.d.ts +1 -0
  226. package/renderers/support/colorRampUtils.js +1 -1
  227. package/rest/featureService/types.d.ts +2 -2
  228. package/rest/imageService.d.ts +36 -19
  229. package/rest/imageService.js +1 -1
  230. package/rest/knowledgeGraph/GraphSearch.d.ts +0 -1
  231. package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +0 -1
  232. package/rest/networks/circuits/support/QueryCircuitsParameters.js +1 -1
  233. package/rest/networks/circuits/support/VerifyCircuitsParameters.d.ts +30 -0
  234. package/rest/networks/circuits/support/VerifyCircuitsParameters.js +1 -1
  235. package/rest/networks/circuits/verifyCircuits.js +1 -1
  236. package/rest/networks/support/Association.js +1 -1
  237. package/rest/networks/support/NetworkElement.d.ts +2 -1
  238. package/rest/networks/support/TelecomNetworkElement.js +1 -1
  239. package/rest/networks/support/TraceLocation.d.ts +1 -1
  240. package/rest/query.d.ts +4 -0
  241. package/rest/support/BinParametersBase.d.ts +9 -28
  242. package/rest/support/DateBinParameters.d.ts +0 -17
  243. package/rest/support/TopFeaturesQuery.d.ts +1 -0
  244. package/smartMapping/raster/support/adapters/ImageryLayerAdapter.js +1 -1
  245. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  246. package/support/revision.js +1 -1
  247. package/symbols/CIMSymbol.d.ts +1 -0
  248. package/symbols/LineSymbolMarker.d.ts +2 -2
  249. package/symbols/SimpleFillSymbol.d.ts +2 -1
  250. package/symbols/SimpleLineSymbol.d.ts +4 -4
  251. package/symbols/support/cimSymbolUtils.d.ts +2 -0
  252. package/symbols/types.d.ts +140 -28
  253. package/views/2d/constraints/ZoomConstraint.js +1 -1
  254. package/views/2d/engine/imagery/RasterBitmap.js +1 -1
  255. package/views/2d/engine/imagery/RasterVFContainer.js +1 -1
  256. package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
  257. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  258. package/views/2d/engine/rasterBrushes.js +1 -1
  259. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterProcessorTechnique.js +1 -1
  260. package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +5 -0
  261. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/AspectTechnique.js +1 -1
  262. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BandArithmeticTechnique.js +1 -1
  263. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ColormapToRGBTechnique.js +1 -1
  264. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CompositeBandTechnique.js +1 -1
  265. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ComputeChangeTechnique.js +1 -1
  266. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ContrastBrightnessTechnique.js +1 -1
  267. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ConvolutionTechnique.js +1 -1
  268. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CurvatureTechnique.js +1 -1
  269. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ExtractBandTechnique.js +1 -1
  270. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
  271. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/GrayscaleTechnique.js +1 -1
  272. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/HillshadeTechnique.js +1 -1
  273. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/LocalTechnique.js +1 -1
  274. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/MaskTechnique.js +1 -1
  275. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/NDVITechnique.js +1 -1
  276. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/RemapTechnique.js +1 -1
  277. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ReprojectTechnique.js +1 -1
  278. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ShadedReliefTechnique.js +1 -1
  279. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SlopeTechnique.js +1 -1
  280. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SpectralConversionTechnique.js +5 -0
  281. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
  282. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/MagDirShader.js +5 -0
  283. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/ScalarShader.js +5 -0
  284. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SpectralConversionShader.js +5 -0
  285. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  286. package/views/2d/layers/MediaLayerView2D.js +1 -1
  287. package/views/2d/layers/TileLayerView2D.js +1 -1
  288. package/views/2d/layers/imagery/ImageryVFStrategy.js +1 -1
  289. package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
  290. package/views/2d/types.d.ts +6 -1
  291. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  292. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  293. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  294. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  295. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementRawResult.js +5 -0
  296. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.d.ts +5 -1
  297. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.js +1 -1
  298. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  299. package/views/3d/environment/EnvironmentManager.js +1 -1
  300. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  301. package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
  302. package/views/3d/layers/FlowSubView3D.js +1 -1
  303. package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
  304. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  305. package/views/3d/layers/SceneLayerWorker.js +1 -1
  306. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  307. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  308. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  309. package/views/3d/layers/graphics/emissiveUtils.js +5 -0
  310. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  311. package/views/3d/layers/support/layerUtils.js +1 -1
  312. package/views/3d/state/ViewState.js +1 -1
  313. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  314. package/views/3d/support/mathUtils.js +1 -1
  315. package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
  316. package/views/3d/support/supportedSpatialReference.js +1 -1
  317. package/views/3d/terrain/BlendLayers.glsl.js +5 -0
  318. package/views/3d/terrain/BlendLayersTechnique.js +1 -1
  319. package/views/3d/terrain/OverlayRenderer.js +1 -1
  320. package/views/3d/terrain/RasterColorizer.glsl.js +5 -0
  321. package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
  322. package/views/3d/terrain/terrainUtils.js +1 -1
  323. package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
  324. package/views/3d/webgl-engine/core/shaderLibrary/shading/{Water.glsl.js → WaterColor.glsl.js} +2 -2
  325. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
  326. package/views/3d/webgl-engine/core/shaderLibrary/util/EllipsoidMode.js +1 -1
  327. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  328. package/views/3d/webgl-engine/effects/highlight/HighlightApply.glsl.js +5 -0
  329. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  330. package/views/3d/webgl-engine/effects/highlight/HighlightBlur.glsl.js +5 -0
  331. package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
  332. package/views/3d/webgl-engine/effects/highlight/HighlightDownsample.glsl.js +5 -0
  333. package/views/3d/webgl-engine/effects/highlight/HighlightDownsampleTechnique.js +1 -1
  334. package/views/3d/webgl-engine/effects/highlight/HighlightToSingle.glsl.js +5 -0
  335. package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
  336. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.glsl.js +5 -0
  337. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
  338. package/views/3d/webgl-engine/effects/laserlines/Laserline.glsl.js +5 -0
  339. package/views/3d/webgl-engine/effects/laserlines/LaserlinePath.glsl.js +5 -0
  340. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  341. package/views/3d/webgl-engine/effects/laserlines/LaserlineTechnique.js +1 -1
  342. package/views/3d/webgl-engine/effects/magnifier/Magnifier.glsl.js +5 -0
  343. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  344. package/views/3d/webgl-engine/effects/magnifier/MagnifierTechnique.js +1 -1
  345. package/views/3d/webgl-engine/effects/smaa/BlendWeights.glsl.js +5 -0
  346. package/views/3d/webgl-engine/effects/smaa/Blur.glsl.js +5 -0
  347. package/views/3d/webgl-engine/effects/smaa/EdgeDetect.glsl.js +5 -0
  348. package/views/3d/webgl-engine/effects/smaa/SMAABlendWeightsTechnique.js +1 -1
  349. package/views/3d/webgl-engine/effects/smaa/SMAABlurTechnique.js +1 -1
  350. package/views/3d/webgl-engine/effects/smaa/SMAAEdgeDetectTechnique.js +1 -1
  351. package/views/3d/webgl-engine/effects/ssao/SSAO.glsl.js +5 -0
  352. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  353. package/views/3d/webgl-engine/effects/ssao/SSAOBlur.glsl.js +5 -0
  354. package/views/3d/webgl-engine/effects/ssao/SSAOBlurTechnique.js +1 -1
  355. package/views/3d/webgl-engine/effects/ssao/SSAOTechnique.js +1 -1
  356. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  357. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  358. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  359. package/views/3d/webgl-engine/lib/Texture.glsl.js +5 -0
  360. package/views/3d/webgl-engine/lib/TextureTechnique.js +1 -1
  361. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +5 -0
  362. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  363. package/views/3d/webgl-engine/{shaders → materials}/Path.glsl.js +1 -1
  364. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  365. package/views/3d/webgl-engine/{shaders/WaterSurface.glsl.js → materials/Water.glsl.js} +1 -1
  366. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  367. package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
  368. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  369. package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +31 -23
  370. package/views/3d/webgl.js +1 -1
  371. package/views/VideoView.d.ts +1 -0
  372. package/views/VideoView.js +1 -1
  373. package/views/input/ViewEvents.js +1 -1
  374. package/views/input/recognizers/VerticalTwoFingerDrag.js +1 -1
  375. package/views/input/types.d.ts +94 -0
  376. package/views/interactive/snapping/FeatureSnappingLayerSource.d.ts +1 -0
  377. package/views/interactive/tooltip/components/DrawHeaderActions.js +1 -1
  378. package/views/layers/FeatureLayerViewMixin.d.ts +1 -0
  379. package/views/support/MeasurementWorker.js +1 -1
  380. package/views/support/MeasurementWorkerHandle.js +1 -1
  381. package/views/support/euclideanAreaMeasurementUtils.js +1 -1
  382. package/views/support/measurementUtils.js +1 -1
  383. package/views/support/screenUtils.js +1 -1
  384. package/views/webgl/ShaderBuilder.js +1 -1
  385. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  386. package/widgets/AreaMeasurement2D.d.ts +1 -0
  387. package/widgets/AreaMeasurement2D.js +1 -1
  388. package/widgets/Attachments.d.ts +1 -0
  389. package/widgets/BasemapLayerList.d.ts +1 -0
  390. package/widgets/BasemapLayerList.js +1 -1
  391. package/widgets/BuildingExplorer.d.ts +1 -1
  392. package/widgets/CatalogLayerList.d.ts +1 -0
  393. package/widgets/CatalogLayerList.js +1 -1
  394. package/widgets/Directions.d.ts +1 -0
  395. package/widgets/Directions.js +1 -1
  396. package/widgets/DistanceMeasurement2D.d.ts +1 -0
  397. package/widgets/DistanceMeasurement2D.js +1 -1
  398. package/widgets/Editor/AddAssociationWorkflow.js +1 -1
  399. package/widgets/Editor.d.ts +1 -0
  400. package/widgets/Editor.js +1 -1
  401. package/widgets/FeatureForm.d.ts +1 -0
  402. package/widgets/FeatureForm.js +1 -1
  403. package/widgets/FeatureTable.d.ts +1 -0
  404. package/widgets/FeatureTable.js +1 -1
  405. package/widgets/FloorFilter.d.ts +1 -0
  406. package/widgets/FloorFilter.js +1 -1
  407. package/widgets/LayerList.d.ts +1 -0
  408. package/widgets/LayerList.js +1 -1
  409. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  410. package/widgets/OrientedImageryViewer/adapters/sketch/DataCaptureAdapter.js +1 -1
  411. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  412. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  413. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  414. package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
  415. package/widgets/OrientedImageryViewer/components/OverlayLayersListViewModel.js +1 -1
  416. package/widgets/OrientedImageryViewer/services/TransformationService.js +5 -0
  417. package/widgets/OrientedImageryViewer/support/dataCaptureUtils.js +5 -0
  418. package/widgets/OrientedImageryViewer/support/geometryUtils.js +5 -0
  419. package/widgets/OrientedImageryViewer/support/typeUtils.js +5 -0
  420. package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +43 -1
  421. package/widgets/ScaleRangeSlider.d.ts +1 -0
  422. package/widgets/ScaleRangeSlider.js +1 -1
  423. package/widgets/Sketch.d.ts +1 -0
  424. package/widgets/Sketch.js +1 -1
  425. package/widgets/Slider/SliderViewModel.js +1 -1
  426. package/widgets/Swipe.d.ts +1 -1
  427. package/widgets/TableList.d.ts +2 -0
  428. package/widgets/TableList.js +1 -1
  429. package/widgets/TimeSlider.d.ts +1 -0
  430. package/widgets/TimeSlider.js +1 -1
  431. package/widgets/UtilityNetworkAssociations.d.ts +2 -0
  432. package/widgets/UtilityNetworkAssociations.js +1 -1
  433. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  434. package/widgets/UtilityNetworkTrace.d.ts +2 -0
  435. package/widgets/UtilityNetworkTrace.js +1 -1
  436. package/widgets/UtilityNetworkValidateTopology.d.ts +2 -0
  437. package/widgets/UtilityNetworkValidateTopology.js +1 -1
  438. package/widgets/ValuePicker.d.ts +1 -0
  439. package/widgets/ValuePicker.js +1 -1
  440. package/widgets/support/SnappingControls.d.ts +1 -0
  441. package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
  442. package/widgets/support/UtilityNetworkAssociations/utils/createAssociation.js +1 -1
  443. package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +0 -1
  444. package/assets/esri/core/workers/chunks/03d037f9f04f165aac63.js +0 -1
  445. package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +0 -1
  446. package/assets/esri/core/workers/chunks/0dcf1f3b6aa84cbe03a9.js +0 -1
  447. package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +0 -1
  448. package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +0 -1
  449. package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +0 -1
  450. package/assets/esri/core/workers/chunks/21163137e345badb1aaf.js +0 -1
  451. package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +0 -1
  452. package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +0 -1
  453. package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +0 -1
  454. package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +0 -1
  455. package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +0 -1
  456. package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +0 -1
  457. package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +0 -1
  458. package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +0 -1
  459. package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +0 -1
  460. package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +0 -1
  461. package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +0 -1
  462. package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +0 -1
  463. package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +0 -1
  464. package/assets/esri/core/workers/chunks/6d9e92d9c2503d5dc8dd.js +0 -1
  465. package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +0 -1
  466. package/assets/esri/core/workers/chunks/7f7c4ffbdf7b20dc7a54.js +0 -1
  467. package/assets/esri/core/workers/chunks/804c9666d0dc548b9f79.js +0 -1
  468. package/assets/esri/core/workers/chunks/8258b1c8ba6d44ba19c3.js +0 -1
  469. package/assets/esri/core/workers/chunks/8f2fc50eb988c0228b05.js +0 -1
  470. package/assets/esri/core/workers/chunks/8f3abaabc61858e929a5.js +0 -1
  471. package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +0 -1
  472. package/assets/esri/core/workers/chunks/a270e34bb248114ec280.js +0 -1
  473. package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +0 -1
  474. package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +0 -1
  475. package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +0 -1
  476. package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +0 -1
  477. package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +0 -1
  478. package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +0 -1
  479. package/assets/esri/core/workers/chunks/d6d9d56b3733622deab6.js +0 -1
  480. package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +0 -1
  481. package/assets/esri/core/workers/chunks/e271065410ba5c872f53.js +0 -1
  482. package/assets/esri/core/workers/chunks/e8a0654cebafa22b5b56.js +0 -1
  483. package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +0 -1
  484. package/assets/esri/core/workers/chunks/f25eb512592a84a508c1.js +0 -1
  485. package/assets/esri/core/workers/chunks/f64ec13167eb51da2f9b.js +0 -1
  486. package/layers/graphics/sources/ParquetSource.d.ts +0 -45
  487. package/views/2d/engine/imagery/BrushVectorField.js +0 -5
  488. package/views/3d/analysis/AreaMeasurement/support/utils.js +0 -5
  489. package/views/3d/analysis/VolumeMeasurement/volumeMeasurementUtils.js +0 -5
  490. package/views/3d/webgl-engine/core/shaderLibrary/raster/RasterColorizer.glsl.js +0 -5
  491. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +0 -5
  492. package/views/3d/webgl-engine/core/shaderLibrary/util/TextureOnly.glsl.js +0 -5
  493. package/views/3d/webgl-engine/shaders/BlendWeights.glsl.js +0 -5
  494. package/views/3d/webgl-engine/shaders/Blur.glsl.js +0 -5
  495. package/views/3d/webgl-engine/shaders/EdgeDetect.glsl.js +0 -5
  496. package/views/3d/webgl-engine/shaders/HighlightApply.glsl.js +0 -5
  497. package/views/3d/webgl-engine/shaders/HighlightBlur.glsl.js +0 -5
  498. package/views/3d/webgl-engine/shaders/HighlightDownsample.glsl.js +0 -5
  499. package/views/3d/webgl-engine/shaders/HighlightToSingle.glsl.js +0 -5
  500. package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +0 -5
  501. package/views/3d/webgl-engine/shaders/Laserlines.glsl.js +0 -5
  502. package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +0 -5
  503. package/views/3d/webgl-engine/shaders/SSAO.glsl.js +0 -5
  504. package/views/3d/webgl-engine/shaders/SSAOBlur.glsl.js +0 -5
  505. package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +0 -5
  506. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShader.glsl.js +0 -5
  507. package/widgets/OrientedImageryViewer/dataCaptureUtils.js +0 -5
  508. /package/chunks/{Laserlines.glsl.js → Laserline.glsl.js} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6606],{6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>x,KV:()=>f});var n=i(31635),o=i(93637),r=i(91429),s=i(89317),l=i(69540),p=i(7762),a=i(25482),u=i(83960),y=i(13069);const d={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let m=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"id",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"maxScale",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"minScale",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilter")],m);var c=i(41560),h=i(43937);let g=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(m)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,c.mW)(this,t))}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,r.MZ)({type:p.A.ofType(m),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,r.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,r.MZ)(x)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,r.MZ)(f)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,r.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},x={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},f={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},10184(e,t,i){i.d(t,{A:()=>u});var n=i(31635),o=i(69540),r=i(25482),s=i(88930),l=i(91429),p=i(73133),a=i(93223);let u=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,a.e)(p.j,{nonNullable:!0})],u.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],u.prototype,"value",void 0),u=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],u)},17036(e,t,i){i.d(t,{p:()=>p});var n=i(44208),o=i(53966),r=i(20437),s=i(95466),l=i(30524);function p(){return{fields:{type:[r.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},28787(e,t,i){i.d(t,{A:()=>l});var n=i(31635),o=i(25482),r=i(10107),s=i(64108);let l=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"description",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"label",void 0),(0,n.Cg)([(0,r.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"visibilityExpression",void 0),l=(0,n.Cg)([(0,s.$)("esri.form.elements.Element")],l)},58769(e,t,i){i.d(t,{A:()=>Q});var n=i(31635),o=i(91429),r=i(28787),s=i(25482);let l=class extends s.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],l);const p=l;let a=class extends p{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let d=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],d);const m=d;var c;let h=c=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new c({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],h.prototype,"type",void 0),h=c=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],h);const g=h;var w,x=i(36005),f=i(43937);function v(e){return null!=e?e:null}function C(e){return null!=e?e:null}let M=w=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return v(t.max)}writeMax(e,t){t.max=C(e)}readMin(e,t){return v(t.min)}writeMin(e,t){t.min=C(e)}clone(){return new w({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],M.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],M.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],M.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],M.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],M.prototype,"type",void 0),M=w=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],M);const b=M;var Z;function j(e){return null!=e?e:null}function E(e){return null!=e?e:null}let I=Z=class extends p{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="datetimeoffset-picker"}readMax(e,t){return j(t.max)}writeMax(e,t){t.max=E(e)}readMin(e,t){return j(t.min)}writeMin(e,t){t.min=E(e)}readTimeResolution(e,t){return j(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=E(e)}clone(){return new Z({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],I.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],I.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],I.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],I.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],I.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],I.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["datetimeoffset-picker"],json:{read:!1,write:!0}})],I.prototype,"type",void 0),I=Z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],I);const T=I;var S;function O(e){return null!=e?new Date(e):null}function F(e){return e?e.getTime():null}let N=S=class extends p{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return O(t.max)}writeMax(e,t){t.max=F(e)}readMin(e,t){return O(t.min)}writeMin(e,t){t.min=F(e)}clone(){return new S({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],N.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],N.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],N.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],N.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],N.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],N.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],N.prototype,"type",void 0),N=S=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],N);const A=N;var K;let R=K=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new K({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],R.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],R.prototype,"type",void 0),R=K=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],R);const $=R;var k;let V=k=class extends p{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new k({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],V.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],V.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],V.prototype,"type",void 0),V=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],V);const L=V;var B;let D=B=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new B({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=B=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],D);const _=D;var U;let W=U=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new U({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],W.prototype,"type",void 0),W=U=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],W);const q=W;var G;function P(e){return null!=e?e:null}function J(e){return null!=e?e:null}let z=G=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return P(t.max)}writeMax(e,t){t.max=J(e)}readMin(e,t){return P(t.min)}writeMin(e,t){t.min=J(e)}readTimeResolution(e,t){return P(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=J(e)}clone(){return new G({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],z.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],z.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],z.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],z.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],z.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],z.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],z.prototype,"type",void 0),z=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],z);const H={base:p,key:"type",typeMap:{"barcode-scanner":m,"combo-box":g,"date-picker":b,"datetime-picker":A,"datetimeoffset-picker":T,"radio-buttons":$,switch:L,"text-area":_,"text-box":q,"time-picker":z}};var X,Y=i(8631);let Q=X=class extends r.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new X({description:this.description,domain:this.domain,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input,label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:Y.g,json:{read:{reader:Y.r},write:!0}})],Q.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],Q.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:H,json:{read:{source:"inputType"},write:{target:"inputType"}}})],Q.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],Q.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"valueExpression",void 0),Q=X=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],Q)},78247(e,t,i){i.d(t,{A:()=>pe});var n,o=i(31635),r=i(25482),s=i(4718),l=i(3483),p=i(91429),a=i(36005);let u=n=class extends r.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,p.$K)("esri.form.ExpressionInfo")],u);const y=u;var d=i(79901),m=i(43937),c=i(28787),h=i(56507),g=i(69540);let w=class extends((0,g.OU)(r.o)){constructor(e){super(e),this.type=null}};(0,o.Cg)([(0,p.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.Input")],w);const x=w,f=["any","capture","upload"];let v=class extends x{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],v.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],v.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],v.prototype,"maxDuration",void 0),v=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AudioInput")],v);const C=v;let M=class extends x{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,p.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxFileSize",void 0),M=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.DocumentInput")],M);const b=M;let Z=class extends x{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,p.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let E=class extends x{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,p.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],E.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],E.prototype,"inputMethod",void 0),E=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.SignatureInput")],E);const I=E;let T=class extends x{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],T.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],T.prototype,"maxDuration",void 0),T=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.VideoInput")],T);const S=T;function O(e){return{nestableTypes:{base:x,key:"type",typeMap:{audio:C,document:b,image:j,signature:I,video:S}},allTypes:{base:x,key:"type",typeMap:{attachment:e,audio:C,document:b,image:j,signature:I,video:S}}}}let F=class extends x{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,h.aq)(t.nestableTypes,e)):null}(e,N)}readInputs(e,t){return function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,N)}writeInputs(e,t){t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,N)}};(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],F.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],F.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:{isRequired:!0}}})],F.prototype,"inputTypes",null),(0,o.Cg)([(0,p.wg)("inputTypes")],F.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],F.prototype,"readInputs",null),(0,o.Cg)([(0,m.K)("inputTypes")],F.prototype,"writeInputs",null),F=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],F);const N=O(F);var A;const K=O(F);let R=A=class extends c.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression="{attachmentKeyword}_{now}",this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new A({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:{isRequired:!0}}})],R.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"displayFilename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,p.MZ)({types:K.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],R.prototype,"input",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],R.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"useOriginalFilename",void 0),R=A=(0,o.Cg)([(0,p.$K)("esri.form.elements.AttachmentElement")],R);const $=R;var k,V=i(58769),L=i(49852);let B=k=class extends c.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new k({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,s.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"displayCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["list"],json:{write:!0}})],B.prototype,"displayType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],B.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:[L.A],json:{write:!0}})],B.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"relationshipId",void 0),(0,o.Cg)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],B.prototype,"type",void 0),B=k=(0,o.Cg)([(0,p.$K)("esri.form.elements.RelationshipElement")],B);const D=B;var _;let U=_=class extends c.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new _({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"text",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"textFormat",void 0),(0,o.Cg)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],U.prototype,"type",void 0),U=_=(0,o.Cg)([(0,p.$K)("esri.form.elements.TextElement")],U);const W=U;var q=i(83342);let G=class extends((0,g.OU)(c.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,p.MZ)({type:[q.A],json:{write:{isRequired:!0}}})],G.prototype,"associationTypes",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],G.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],G.prototype,"type",void 0),G=(0,o.Cg)([(0,p.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],G);const P=G,J=e=>"field"===e.type,z=e=>"group"===e.type,H=e=>"text"===e.type;function X(e){return{typesWithGroup:{base:c.A,key:"type",typeMap:{attachment:$,field:V.A,group:e,relationship:D,text:W,utilityNetworkAssociations:P}},typesWithoutGroup:{base:c.A,key:"type",typeMap:{attachment:$,field:V.A,relationship:D,text:W,utilityNetworkAssociations:P}}}}function Y(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,h.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends c.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Y(t.formElements,ne,!1)}writeElements(e,t){t.formElements=Q(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,s.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,d.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,m.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,p.$K)("esri.form.elements.GroupElement")],ie);const ne=X(ie),oe=ie;var re,se=i(30524);const le=X(oe);let pe=re=class extends r.o{constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,le)}readElements(e,t){return Y(t.formElements,le)}writeElements(e,t){t.formElements=Q(e,le)}clone(){return new re({description:this.description,expressionInfos:(0,s.o8)(this.expressionInfos),elements:(0,s.o8)(this.elements),title:this.title,preserveFieldValuesWhenHidden:this.preserveFieldValuesWhenHidden})}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:r,title:s}=this;if(ye(i,e,n),ye(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=ue(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,r).map(t=>(0,se.Dx)(i,e,null,t));await Promise.all(l);for(const n of o)ae(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function ae(e,t,i){const{fieldsIndex:n}=t;if(!n||n.fields.length!==e.size)switch(ye(e,n,i.label),ye(e,n,i.description),i.type){case"field":(0,se.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>ae(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,se.rq)(e,n,o.keyField)}(0,se._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ye(e,n,i.text)}}function ue(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!H(i))if(z(i))(0,l.FB)(t,ue(i.elements));else if((0,l.kb)(t,i.editableExpression),J(i)){const{requiredExpression:e,valueExpression:n}=i;(0,l.FB)(t,[e,n])}return t}function ye(e,t,i){(0,se._w)(e,t,(0,se.nw)(i))}(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],pe.prototype,"description",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],pe.prototype,"elements",null),(0,o.Cg)([(0,p.wg)("elements")],pe.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],pe.prototype,"readElements",null),(0,o.Cg)([(0,m.K)("elements")],pe.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:[y],json:{write:!0}})],pe.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],pe.prototype,"title",void 0),pe=re=(0,o.Cg)([(0,p.$K)("esri.form.FormTemplate")],pe)},82935(e,t,i){i.d(t,{B:()=>d,e:()=>m});var n=i(31635),o=i(91429),r=i(89317),s=i(30524),l=i(96184),p=i(73133),a=i(79677),u=i(10184),y=i(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:r.K}}},m=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,o=p.j.fromJSON(i.timeOffsetUnits);return n&&o?new u.A({value:n,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,y.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,o.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,o.MZ)(d)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],i),i}},83960(e,t,i){i.d(t,{X_:()=>r,oW:()=>l,zx:()=>s});var n=i(34727),o=i(86211);function r(e,t){const i=t||e.extent,n=e.width,r=(0,o.GA)(i?.spatialReference);return i&&n?i.width/n*r*o.dy*96:0}function s(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},96184(e,t,i){i.d(t,{A:()=>m});var n=i(31635),o=i(69540),r=i(25482),s=i(91429),l=i(79677),p=i(10184),a=i(56400),u=i(36005),y=i(43937);function d(e,t){return p.A.fromJSON({value:e,unit:t})}let m=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,u.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,y.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,n.Cg)([(0,u.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,n.Cg)([(0,y.K)("interval")],m.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,a.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],m)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6606],{6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>x,KV:()=>f});var n=i(31635),o=i(93637),r=i(91429),s=i(89317),l=i(69540),p=i(7762),a=i(25482),u=i(83960),y=i(13069);const d={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let m=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"id",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"maxScale",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"minScale",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilter")],m);var c=i(41560),h=i(43937);let g=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(m)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,c.mW)(this,t))}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,r.MZ)({type:p.A.ofType(m),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,r.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,r.MZ)(x)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,r.MZ)(f)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,r.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},x={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},f={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},10184(e,t,i){i.d(t,{A:()=>u});var n=i(31635),o=i(69540),r=i(25482),s=i(88930),l=i(91429),p=i(73133),a=i(93223);let u=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,a.e)(p.j,{nonNullable:!0})],u.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],u.prototype,"value",void 0),u=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],u)},17036(e,t,i){i.d(t,{p:()=>p});var n=i(44208),o=i(53966),r=i(20437),s=i(95466),l=i(30524);function p(){return{fields:{type:[r.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},28787(e,t,i){i.d(t,{A:()=>l});var n=i(31635),o=i(25482),r=i(10107),s=i(64108);let l=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"description",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"label",void 0),(0,n.Cg)([(0,r.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"visibilityExpression",void 0),l=(0,n.Cg)([(0,s.$)("esri.form.elements.Element")],l)},58769(e,t,i){i.d(t,{A:()=>Q});var n=i(31635),o=i(91429),r=i(28787),s=i(25482);let l=class extends s.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],l);const p=l;let a=class extends p{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let d=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],d);const m=d;var c;let h=c=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new c({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],h.prototype,"type",void 0),h=c=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],h);const g=h;var w,x=i(36005),f=i(43937);function v(e){return null!=e?e:null}function C(e){return null!=e?e:null}let M=w=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return v(t.max)}writeMax(e,t){t.max=C(e)}readMin(e,t){return v(t.min)}writeMin(e,t){t.min=C(e)}clone(){return new w({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],M.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],M.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],M.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],M.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],M.prototype,"type",void 0),M=w=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],M);const b=M;var Z;function j(e){return null!=e?e:null}function E(e){return null!=e?e:null}let I=Z=class extends p{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="datetimeoffset-picker"}readMax(e,t){return j(t.max)}writeMax(e,t){t.max=E(e)}readMin(e,t){return j(t.min)}writeMin(e,t){t.min=E(e)}readTimeResolution(e,t){return j(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=E(e)}clone(){return new Z({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],I.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],I.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],I.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],I.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],I.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],I.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],I.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["datetimeoffset-picker"],json:{read:!1,write:!0}})],I.prototype,"type",void 0),I=Z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],I);const T=I;var S;function O(e){return null!=e?new Date(e):null}function F(e){return e?e.getTime():null}let N=S=class extends p{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return O(t.max)}writeMax(e,t){t.max=F(e)}readMin(e,t){return O(t.min)}writeMin(e,t){t.min=F(e)}clone(){return new S({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],N.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],N.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],N.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],N.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],N.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],N.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],N.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],N.prototype,"type",void 0),N=S=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],N);const A=N;var K;let R=K=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new K({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],R.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],R.prototype,"type",void 0),R=K=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],R);const $=R;var k;let V=k=class extends p{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new k({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],V.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],V.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],V.prototype,"type",void 0),V=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],V);const L=V;var B;let D=B=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new B({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=B=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],D);const _=D;var U;let W=U=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new U({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],W.prototype,"type",void 0),W=U=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],W);const q=W;var G;function P(e){return null!=e?e:null}function J(e){return null!=e?e:null}let z=G=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return P(t.max)}writeMax(e,t){t.max=J(e)}readMin(e,t){return P(t.min)}writeMin(e,t){t.min=J(e)}readTimeResolution(e,t){return P(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=J(e)}clone(){return new G({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],z.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],z.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],z.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],z.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],z.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],z.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],z.prototype,"type",void 0),z=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],z);const H={base:p,key:"type",typeMap:{"barcode-scanner":m,"combo-box":g,"date-picker":b,"datetime-picker":A,"datetimeoffset-picker":T,"radio-buttons":$,switch:L,"text-area":_,"text-box":q,"time-picker":z}};var X,Y=i(8631);let Q=X=class extends r.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new X({description:this.description,domain:this.domain,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input,label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:Y.g,json:{read:{reader:Y.r},write:!0}})],Q.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],Q.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:H,json:{read:{source:"inputType"},write:{target:"inputType"}}})],Q.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],Q.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"valueExpression",void 0),Q=X=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],Q)},78247(e,t,i){i.d(t,{A:()=>pe});var n,o=i(31635),r=i(25482),s=i(4718),l=i(3483),p=i(91429),a=i(36005);let u=n=class extends r.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,p.$K)("esri.form.ExpressionInfo")],u);const y=u;var d=i(79901),m=i(43937),c=i(28787),h=i(56507),g=i(69540);let w=class extends((0,g.OU)(r.o)){constructor(e){super(e),this.type=null}};(0,o.Cg)([(0,p.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.Input")],w);const x=w,f=["any","capture","upload"];let v=class extends x{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],v.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],v.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],v.prototype,"maxDuration",void 0),v=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AudioInput")],v);const C=v;let M=class extends x{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,p.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxFileSize",void 0),M=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.DocumentInput")],M);const b=M;let Z=class extends x{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,p.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let E=class extends x{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,p.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],E.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],E.prototype,"inputMethod",void 0),E=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.SignatureInput")],E);const I=E;let T=class extends x{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],T.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],T.prototype,"maxDuration",void 0),T=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.VideoInput")],T);const S=T;function O(e){return{nestableTypes:{base:x,key:"type",typeMap:{audio:C,document:b,image:j,signature:I,video:S}},allTypes:{base:x,key:"type",typeMap:{attachment:e,audio:C,document:b,image:j,signature:I,video:S}}}}let F=class extends x{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,h.aq)(t.nestableTypes,e)):null}(e,N)}readInputs(e,t){return function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,N)}writeInputs(e,t){t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,N)}};(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],F.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],F.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:{isRequired:!0}}})],F.prototype,"inputTypes",null),(0,o.Cg)([(0,p.wg)("inputTypes")],F.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],F.prototype,"readInputs",null),(0,o.Cg)([(0,m.K)("inputTypes")],F.prototype,"writeInputs",null),F=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],F);const N=O(F);var A;const K=O(F);let R=A=class extends c.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression="{attachmentKeyword}_{now}",this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new A({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:{isRequired:!0}}})],R.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"displayFilename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,p.MZ)({types:K.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],R.prototype,"input",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],R.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"useOriginalFilename",void 0),R=A=(0,o.Cg)([(0,p.$K)("esri.form.elements.AttachmentElement")],R);const $=R;var k,V=i(58769),L=i(49852);let B=k=class extends c.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new k({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,s.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"displayCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["list"],json:{write:!0}})],B.prototype,"displayType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],B.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:[L.A],json:{write:!0}})],B.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"relationshipId",void 0),(0,o.Cg)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],B.prototype,"type",void 0),B=k=(0,o.Cg)([(0,p.$K)("esri.form.elements.RelationshipElement")],B);const D=B;var _;let U=_=class extends c.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new _({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"text",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"textFormat",void 0),(0,o.Cg)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],U.prototype,"type",void 0),U=_=(0,o.Cg)([(0,p.$K)("esri.form.elements.TextElement")],U);const W=U;var q=i(83342);let G=class extends((0,g.OU)(c.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,p.MZ)({type:[q.A],json:{write:{isRequired:!0}}})],G.prototype,"associationTypes",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],G.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],G.prototype,"type",void 0),G=(0,o.Cg)([(0,p.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],G);const P=G,J=e=>"field"===e.type,z=e=>"group"===e.type,H=e=>"text"===e.type;function X(e){return{typesWithGroup:{base:c.A,key:"type",typeMap:{attachment:$,field:V.A,group:e,relationship:D,text:W,utilityNetworkAssociations:P}},typesWithoutGroup:{base:c.A,key:"type",typeMap:{attachment:$,field:V.A,relationship:D,text:W,utilityNetworkAssociations:P}}}}function Y(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,h.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends c.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Y(t.formElements,ne,!1)}writeElements(e,t){t.formElements=Q(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,s.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,d.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,m.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,p.$K)("esri.form.elements.GroupElement")],ie);const ne=X(ie),oe=ie;var re,se=i(30524);const le=X(oe);let pe=re=class extends r.o{constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,le)}readElements(e,t){return Y(t.formElements,le)}writeElements(e,t){t.formElements=Q(e,le)}clone(){return new re({description:this.description,expressionInfos:(0,s.o8)(this.expressionInfos),elements:(0,s.o8)(this.elements),title:this.title,preserveFieldValuesWhenHidden:this.preserveFieldValuesWhenHidden})}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:r,title:s}=this;if(ye(i,e,n),ye(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=ue(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,r).map(t=>(0,se.Dx)(i,e,null,t));await Promise.all(l);for(const n of o)ae(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function ae(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ye(e,n,i.label),ye(e,n,i.description),i.type){case"field":(0,se.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>ae(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,se.rq)(e,n,o.keyField)}(0,se._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ye(e,n,i.text)}}function ue(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!H(i))if(z(i))(0,l.FB)(t,ue(i.elements));else if((0,l.kb)(t,i.editableExpression),J(i)){const{requiredExpression:e,valueExpression:n}=i;(0,l.FB)(t,[e,n])}return t}function ye(e,t,i){(0,se._w)(e,t,(0,se.nw)(i))}(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],pe.prototype,"description",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],pe.prototype,"elements",null),(0,o.Cg)([(0,p.wg)("elements")],pe.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],pe.prototype,"readElements",null),(0,o.Cg)([(0,m.K)("elements")],pe.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:[y],json:{write:!0}})],pe.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],pe.prototype,"title",void 0),pe=re=(0,o.Cg)([(0,p.$K)("esri.form.FormTemplate")],pe)},82935(e,t,i){i.d(t,{B:()=>d,e:()=>m});var n=i(31635),o=i(91429),r=i(89317),s=i(30524),l=i(96184),p=i(73133),a=i(79677),u=i(10184),y=i(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:r.K}}},m=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,o=p.j.fromJSON(i.timeOffsetUnits);return n&&o?new u.A({value:n,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,y.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,o.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,o.MZ)(d)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],i),i}},83960(e,t,i){i.d(t,{X_:()=>r,oW:()=>l,zx:()=>s});var n=i(34727),o=i(86211);function r(e,t){const i=t||e.extent,n=e.width,r=(0,o.GA)(i?.spatialReference);return i&&n?i.width/n*r*o.dy*96:0}function s(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},96184(e,t,i){i.d(t,{A:()=>m});var n=i(31635),o=i(69540),r=i(25482),s=i(91429),l=i(79677),p=i(10184),a=i(56400),u=i(36005),y=i(43937);function d(e,t){return p.A.fromJSON({value:e,unit:t})}let m=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,u.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,y.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,n.Cg)([(0,u.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,n.Cg)([(0,y.K)("interval")],m.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,a.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],m)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8766],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),o=r(91429),l=r(99157);let a=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(31635),i=r(93637),s=r(91429),o=r(89317),l=r(69540),a=r(7762),u=r(25482),p=r(83960),c=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],h);var f=r(41560),y=r(43937);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,p.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A.ofType(h),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),h=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(s,d).sort(),f=p(e);if(f&&o.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const n of h){const i=u(e,n),s=u(t,n);let o;if((m||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(r&&r[n]&&"function"==typeof r[n])o=r[n]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&p(i)===p(s)?c(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=y?y.diff[n]=o:y={type:"partial",diff:{[n]:o}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},8303(e,t,r){r.d(t,{A:()=>I});var n=r(31635),i=r(92602),s=r(70333),o=r(11254),l=r(60999),a=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),h=r(91429),f=r(77548),y=r(20655),m=r(80812),g=r(41318),v=r(10407),w=r(36005),b=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let o,l;if(i)o=r.portal.url;else try{o=await(0,f.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!o||!(0,d.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const a=!0,u=!1,p=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new m.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,c.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=y.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,p=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||y.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:m.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,b.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],I),I},x={credential:null,user:null}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,l,a,u,p,c,d,h,f,y){return[e,t,r,n,i,s,o,l,a,u,p,c,d,h,f,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,o,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===i&&r===o)return!0;const t=r+3*l;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=o;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10184(e,t,r){r.d(t,{A:()=>p});var n=r(31635),i=r(69540),s=r(25482),o=r(88930),l=r(91429),a=r(73133),u=r(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(a.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],p)},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>o,OM:()=>u,Sm:()=>p,Y:()=>l,bK:()=>a,mm:()=>d,sQ:()=>c});var n=r(91218),i=r(16930),s=r(28735);function o(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?o(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},15481(e,t,r){r.r(t),r.d(t,{default:()=>ne});var n=r(31635),i=r(37838),s=r(25728),o=r(74887),l=r(84952),a=r(91429),u=r(5443),p=r(16930),c=r(50498),d=r(55156),h=r(60950),f=r(89808),y=r(99959);const m=Symbol("isGeoJSONGraphicOrigin");var g;class v extends y.A{get[(g=m,h.ym)](){return this.layer}get[d.e](){return this.layer}get[f.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="geojson",this.layer=e}get id(){return this.layer.id}}var w=r(4146),b=r(49186),I=r(44208),x=r(92474),M=r(53966),T=r(83027),C=r(39829),A=r(64714),S=r(22671);let _=class extends x.x_{constructor(){super(...arguments),this.type="geojson",this.refresh=(0,o.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}applyEdits(e){return this.load().then(()=>this._applyEdits(e))}openPorts(){return this.load().then(()=>this._connection.openPorts())}queryFeatures(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t)).then(e=>S.A.fromJSON(e))}queryFeaturesJSON(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t))}queryFeatureCount(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t))}queryObjectIds(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryObjectIds",e?e.toJSON():null,t))}queryExtent(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryExtent",e?e.toJSON():null,t)).then(e=>({count:e.count,extent:u.A.fromJSON(e.extent)}))}querySnapping(e,t={}){return this.load(t).then(()=>this._connection.invoke("querySnapping",e,t))}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?.toJSON(),t)}_applyEdits(e){if(!this._connection)throw new b.A("geojson-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,r=[],n=[],i=[];if(e.addFeatures)for(const t of e.addFeatures)r.push(this._serializeFeature(t));if(e.deleteFeatures)for(const r of e.deleteFeatures)"objectId"in r&&null!=r.objectId?n.push(r.objectId):"attributes"in r&&null!=r.attributes[t]&&n.push(r.attributes[t]);if(e.updateFeatures)for(const t of e.updateFeatures)i.push(this._serializeFeature(t));return this._connection.invoke("applyEdits",{adds:r,updates:i,deletes:n}).then(({extent:e,timeExtent:t,featureEditResults:r})=>(this.sourceJSON.extent=e,t&&(this.sourceJSON.timeInfo.timeExtent=[t.start,t.end]),this._createEditsResult(r)))}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:""};return{objectId:e.objectId,globalId:e.globalId,error:t?new b.A("geojson-layer-source:edit-failure",t.description,{code:t.code}):null}}_serializeFeature(e){const{attributes:t}=e,r=this._geometryForSerialization(e);return r?{geometry:r.toJSON(),attributes:t}:{attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:"mesh"===t.type||"extent"===t.type?C.A.fromExtent(t.extent):t}async _startWorker(e){this._connection=await(0,T.h)("GeoJSONSourceWorker",{strategy:(0,I.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:r,hasZ:n,geometryType:i,objectIdField:s,url:o,timeInfo:l,customParameters:a}=this.layer,u="defaults"===this.layer.originOf("spatialReference"),p={url:o,customParameters:a,fields:t&&t.map(e=>e.toJSON()),geometryType:c.gy.toJSON(i),hasZ:n,objectIdField:s,timeInfo:l?l.toJSON():null,spatialReference:u?null:r&&r.toJSON()},d=await this._connection.invoke("load",p,{signal:e});for(const e of d.warnings)M.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});d.featureErrors.length&&M.A.getLogger(this.layer).warn("#load()",`Encountered ${d.featureErrors.length} validation errors while loading features. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{errors:d.featureErrors}),this.sourceJSON=d.layerDefinition,this.capabilities=(0,A.f)(this.sourceJSON.hasZ,!0)}};(0,n.Cg)([(0,a.MZ)()],_.prototype,"capabilities",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"sourceJSON",void 0),_=(0,n.Cg)([(0,a.$K)("esri.layers.graphics.sources.GeoJSONSource")],_);var F=r(63074),E=r(69208),O=r(6455),R=r(87718),j=r(56658),Z=r(16131),P=r(32756),N=r(8303),D=r(54310),$=r(25036),U=r(82935),k=r(63396),G=r(10873),L=r(15426),J=r(29005),q=r(20437),z=r(17036),B=r(30524),V=r(46499),K=r(39383),H=r(41214),Q=r(61956),Y=r(30291),W=r(79677),X=r(10184),ee=r(56400);const te=(0,z.p)();let re=class extends((0,P.fY)((0,O.FJ)((0,E.d)((0,j.J)((0,R.F)((0,F.dM)((0,U.e)((0,k.d)((0,$.j)((0,D.J)((0,Z.q)((0,N.A)((0,s.M)(w.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.copyright=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.editingEnabled=!1,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new v(this),this.hasZ=void 0,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="GeoJSON",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new _({layer:this}),this.spatialReference=p.A.WGS84,this.templates=null,this.title="GeoJSON",this.type="geojson"}destroy(){this.source?.destroy()}load(e){const t=this.loadFromPortal({supportedTypes:["GeoJson"],supportsData:!1},e).catch(o.QP).then(()=>this.source.load(e)).then(()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),["objectIdField","fields","timeInfo"].forEach(e=>this.revertToOrigin(e,"service")),(0,B.yp)(this.renderer,this.fieldsIndex),(0,B.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}get capabilities(){return this.source?this.source.capabilities:null}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}get parsedUrl(){return(0,l.An)(this.url)}set renderer(e){(0,B.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,l.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async applyEdits(e,t){const{applyEdits:n}=await Promise.all([r.e(9938),r.e(2356)]).then(r.bind(r,69938));await this.load();const i=await n(this,this.source,e,t);return this.read({extent:this.source.sourceJSON.extent,timeInfo:this.source.sourceJSON.timeInfo},{origin:"service",ignoreDefaults:!0}),i}createPopupTemplate(e){return(0,Y.tn)(this,e)}createQuery(){const e=new Q.A,t=this.capabilities?.data;e.returnGeometry=!0,t&&t.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:n}=this;return e.timeExtent=null!=r&&null!=n?n.offset(-r.value,r.unit):n||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(Q.A.from(e)||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryObjectIds(e,t){return this.load().then(()=>this.source.queryObjectIds(Q.A.from(e)||this.createQuery(),t))}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(Q.A.from(e)||this.createQuery(),t))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(Q.A.from(e)||this.createQuery(),t))}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();(0,L.ZJ)(e,i,"GeoJSONLayer");const s=await Promise.all([r.e(4575),r.e(7136)]).then(r.bind(r,14575)),o=await n.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this;return o}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,a.MZ)({type:W.A})],re.prototype,"timeExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:X.A})],re.prototype,"timeOffset",void 0),(0,n.Cg)([(0,a.MZ)(G.zQ)],re.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],re.prototype,"capabilities",null),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"copyright",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"createQueryVersion",null),(0,n.Cg)([(0,a.MZ)((0,ee.P6)("dateFieldsTimeReference"))],re.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],re.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"displayField",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,a.MZ)(G.Yj)],re.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,a.MZ)({type:[q.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],re.prototype,"fields",void 0),(0,n.Cg)([(0,a.MZ)(te.fieldsIndex)],re.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,a.MZ)({type:u.A,json:{name:"extent"}})],re.prototype,"fullExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:["point","polygon","polyline","multipoint"],json:{read:{reader:c.gy.read}}})],re.prototype,"geometryType",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],re.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"hasZ",void 0),(0,n.Cg)([(0,a.MZ)(G.id)],re.prototype,"id",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],re.prototype,"isTable",null),(0,n.Cg)([(0,a.MZ)(G.kF)],re.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,a.MZ)({type:[V.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:K.w},write:!0}})],re.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,a.MZ)(G.fV)],re.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:["show","hide"]})],re.prototype,"listMode",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.objectIdField",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"objectIdField"}}}})],re.prototype,"objectIdField",void 0),(0,n.Cg)([(0,a.MZ)(G.ke)],re.prototype,"opacity",void 0),(0,n.Cg)([(0,a.MZ)({type:["GeoJSON"]})],re.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,a.MZ)(te.outFields)],re.prototype,"outFields",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"parsedUrl",null),(0,n.Cg)([(0,a.MZ)(G.M6)],re.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],re.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,a.MZ)({types:H.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:H.XJ}}}})],re.prototype,"renderer",null),(0,n.Cg)([(0,a.MZ)(G.PY)],re.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"source",void 0),(0,n.Cg)([(0,a.MZ)({type:p.A})],re.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.MZ)({type:[J.A]})],re.prototype,"templates",void 0),(0,n.Cg)([(0,a.MZ)()],re.prototype,"title",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},readOnly:!0})],re.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)(G.OZ)],re.prototype,"url",null),re=(0,n.Cg)([(0,a.$K)("esri.layers.GeoJSONLayer")],re);const ne=re},17036(e,t,r){r.d(t,{p:()=>a});var n=r(44208),i=r(53966),s=r(20437),o=r(95466),l=r(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},22671(e,t,r){r.d(t,{A:()=>v});var n,i=r(31635),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),p=r(16930),c=r(60408),d=r(65864),h=r(50498),f=r(20437),y=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=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,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=p.A.fromJSON(t.spatialReference)),n}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 n(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 n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.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:[n,i],scale:[s,o]}=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*s+n,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=p.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=n);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(l[0]),i=r(l[1]),s.push([n,i])}return s.length>0?s: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 n=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(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),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>u});var n=r(31635),i=r(69540),s=r(66552),o=r(25482),l=r(91429);const a=new s.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,i.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>h,D3:()=>c,XJ:()=>d,lc:()=>p,mX:()=>y,rU:()=>f,tH:()=>b});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function p(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=p(e.labelExpression),t.type="conventional"),t}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var n=r(31635),i=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},37539(e,t,r){r.d(t,{pO:()=>y,jd:()=>d,Tp:()=>h,w5:()=>c});var n=r(34727),i=r(86211),s=r(73941),o=r(79258);Math.PI;const l=o.$O.radius,a=o.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var p=r(21325);const c={2:{5:y,7:null,9:null,10:y,1:M,6:null,8:null,0:null,3:g,11:v,2:y,4:_},5:{5:y,7:null,9:null,10:y,1:M,6:null,8:null,0:null,3:g,11:v,2:y,4:_},7:{5:null,7:y,9:null,10:y,1:null,6:x,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:I,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){const i=e[t]/Z,s=j-2*Math.atan(Math.exp(-e[t+1]/Z)),o=Z+(e[t+2]??0),l=Math.cos(s)*o;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:y,11:function(e,t,r,n){m(e,t,r,n),v(r,n,r,n)},2:m,4:function(e,t,r,n){m(e,t,r,n),_(r,n,r,n)}},4:{5:F,7:null,9:null,10:F,1:function(e,t,r,n){F(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){F(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){F(e,t,r,n),v(r,n,r,n)},2:F,4:y},1:{5:S,7:null,9:null,10:S,1:y,6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),v(r,n,r,n)},2:S,4:function(e,t,r,n){S(e,t,r,n),_(r,n,r,n)}},6:{5:null,7:A,9:null,10:A,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:M,6:x,8:I,0:null,3:g,11:v,2:y,4:_},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),g(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),_(r,n,r,n)}}};function d(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const r=f(e,E.source),n=f(t,E.dest);return 0===r&&0===n?(0,p.aI)(e,t)?E.projector=y:E.projector=null:E.projector=c[r][n],E}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,p.oT)(e)?t.spatialReferenceId=2:(0,p.K8)(e)?t.spatialReferenceId=3:(0,p.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,p.q8)(e)?t.spatialReferenceId=7:(0,p.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function m(e,t,r,n){r[n]=R*(e[t]/Z),r[n+1]=R*(j-2*Math.atan(Math.exp(-e[t+1]/Z))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,l=(0,n.qE)(O*e[t+1],-o,o),a=Math.sin(l);r[i++]=O*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function v(e,t,r,n){r[n]=e[t]*P,r[n+1]=e[t+1]*P,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*N,r[n+1]=e[t+1]*N,r[n+2]=e[t+2]??0}function b(e,t,r,n,i){const s=i+(e[t+2]??0),o=O*e[t],l=O*e[t+1],a=Math.cos(l)*s;r[n]=Math.cos(o)*a,r[n+1]=Math.sin(o)*a,r[n+2]=Math.sin(l)*s}function I(e,t,r,n){b(e,t,r,n,o.Sw.radius)}function x(e,t,r,n){b(e,t,r,n,o.sH.radius)}function M(e,t,r,n){b(e,t,r,n,o.$O.radius)}function T(e,t,r,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),p=(0,n.YN)(a/(0===u?1:u)),c=Math.atan2(l,o);r[i++]=R*c,r[i++]=R*p,r[i]=u-s}function C(e,t,r,n){T(e,t,r,n,o.Sw.radius)}function A(e,t,r,n){T(e,t,r,n,o.sH.radius)}function S(e,t,r,n){T(e,t,r,n,o.$O.radius)}function _(e,t,r,n){!function(e,t,r,n,i){const s=O*e[t],o=O*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),p=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(p+l)*u*Math.cos(s),r[n++]=(p+l)*u*Math.sin(s),r[n++]=(p*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,o.$O)}function F(e,t,r,n){const i=u,s=e[t],l=e[t+1],a=e[t+2]??0;let p,c,d,h,f,y,m,g,v,w,b,I,x,M,T,C,A,S,_,F,E;p=Math.abs(a),c=s*s+l*l,d=Math.sqrt(c),h=c+a*a,f=Math.sqrt(h),F=Math.atan2(l,s),y=a*a/h,m=c/h,M=i.a2/f,T=i.a3-i.a4/f,m>.3?(g=p/f*(1+m*(i.a1+M+y*T)/f),_=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/f*(1-y*(i.a5-M-m*T)/f),_=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),b=1-o.$O.eccentricitySquared*w,I=o.$O.radius/Math.sqrt(b),x=i.a6*I,M=d-I*v,T=p-x*g,A=v*M+g*T,C=v*T-g*M,S=C/(x/b+A),_+=S,E=A+C*S/2,a<0&&(_=-_),r[n++]=R*F,r[n++]=R*_,r[n]=E}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},O=(0,n.kU)(1),R=(0,n.KJ)(1),j=.5*Math.PI,Z=o.$O.radius,P=Z*Math.PI/180,N=180/(Z*Math.PI)},41366(e,t,r){r.d(t,{K:()=>c,Q:()=>a});var n=r(31635),i=r(66552),s=r(53966),o=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&p||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),s=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.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 n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=p(e),r=p(r),t=c(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const l=parseInt(i,10),a=parseInt(s,10);return new e(l,a,r)}}},52106(e,t,r){r.d(t,{A:()=>I});var n,i=r(31635),s=r(37838),o=r(69540),l=r(51447),a=r(25482),u=r(53966),p=r(36708),c=r(24326),d=r(91429),h=r(12195),f=r(65864),y=r(50498),m=r(55156),g=r(60950),v=r(54339),w=r(33910);function b(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,o.OU)(a.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,g.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,f.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],I.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:f.rS}})],I.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:s.A,value:null})],I.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],I.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],I)},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},55674(e,t,r){r.d(t,{Ad:()=>h,Gj:()=>m,QY:()=>d,lL:()=>g,xR:()=>f});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function h(e,t){return y.create(e,t,null,["$feature","$view"])}function f(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const p={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,p);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const h=new o;return h.immutable=!1,h.setField("scale",0),new y(e,s,l,c,t,h,d,o)}constructor(e,t,r,n,i,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},63396(e,t,r){r.d(t,{d:()=>x});var n=r(31635),i=r(91429),s=r(60950),o=r(99959);class l extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[s.ym](){return this.trackInfoProvider.trackInfo}}var a=r(37838),u=r(69540),p=r(25482),c=r(93637),d=r(50820),h=r(10873),f=r(46499),y=r(41214);let m=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[f.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(h.kF)],m.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),w=r(10184),b=r(43937);let I=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,c.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],I.prototype,"fields",void 0),(0,n.Cg)([(0,b.K)("fields")],I.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],I.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(h.M6)],I.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],I.prototype,"timeField",void 0),I=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],I);const x=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:I})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>p,e2:()=>d,f:()=>h});var n=r(44208),i=r(4718),s=r(99352),o=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function p(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${c(t)} = null;`;for(const t in e)r+=`this${c(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function c(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function h(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){r.d(t,{d:()=>s});var n=r(31635),i=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>c,Ej:()=>h,Ie:()=>g,Jt:()=>v,Ne:()=>f,RF:()=>p,aI:()=>I,fA:()=>o,gE:()=>a,hZ:()=>m,iT:()=>d,is:()=>b,qv:()=>x,vI:()=>y,vY:()=>l,v_:()=>M,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=M){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,r,n=s()){return m(n,x),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,s,o,l,a]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=s,t[9]=r,t[10]=l,t[11]=a,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,x):s(x)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function I(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],M=[0,0,0,0,0,0];s()},73133(e,t,r){r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},73681(e,t,r){r.d(t,{n:()=>a});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const h=await(0,l.xR)(e.expression,null,c);if(!h)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!o||!o.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const y=new u(r,f);return new a(f,p,h,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>h});var n=r(31635),i=r(91429),s=r(89317),o=r(30524),l=r(96184),a=r(73133),u=r(79677),p=r(10184),c=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},h=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=a.j.fromJSON(r.timeOffsetUnits);return n&&i?new p.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,c.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>l,zx:()=>o});var n=r(34727),i=r(86211);function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*96:0}function o(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>z,isEqualBaseGCS:()=>q,isLoaded:()=>F,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>O,load:()=>j,project:()=>Z,projectAsync:()=>L,projectExtent:()=>te,projectMany:()=>P,projectMultipoint:()=>H,projectOrLoad:()=>D,projectOrLoadMany:()=>$,projectPoint:()=>V,projectPolygon:()=>X,projectPolyline:()=>Y,projectWithoutEngine:()=>B,requiresLoad:()=>R,test:()=>G,tryProject:()=>N,unload:()=>k});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),l=r(51850),a=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),h=r(86738),f=r(39829),y=r(82799),m=r(16930),g=r(159),v=r(9762),w=r(37539);function b(e,t,r,n,i,s){return I[0]=e,I[1]=t,I[2]=r,(0,v.projectBuffer)(I,n,0,i,s,0)}const I=(0,l.vt)();var x=r(21325);let M=null,T=null,C=null,A=null,S={};const _=new o.I;function F(){return!!(T?.isLoaded()&&C?.isLoaded()&&A?.isLoaded())}function E(){return!!F()||((0,s.gc)(_),j(),!1)}function O(e,t){return!e||!t||J(e,t)||E()}function R(e,t){return!J(e,t)&&!F()}async function j(e){null==M&&(M=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(T=e,T.load())),r.e(758).then(r.bind(r,8377)).then(e=>(C=e,C.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(A=e,A.load()))])),await M,(0,i.Te)(e),_.notify()}function Z(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),P(e,e[0].spatialReference,t,r)):((0,a.f)(e),P([e],e.spatialReference,t,r)[0])}function P(e,t,r,n){if(null==t||null==r)return e;if(J(t,r,n))return e.map(e=>B(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return P(e.map(e=>B(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return P(e,t,m.A.WGS84).map(e=>B(e,m.A.WGS84,r));if(!F())throw new U;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:A.getTransformation(t,r,n.areaOfInterestExtent)||new g.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=S[e];i||(i=A.getTransformation(t,r)||new g.A,S[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?T.executeMany(e,r,n):C.executeMany(e,r,n)}function N(e,t,r){try{return Z(e,t,r)}catch(e){return null}}function D(e,t){const r=$([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function $(e,t,r){if(!F())for(const r of e)if(null!=r&&!(0,x.aI)(r.spatialReference,t)&&(0,x.fn)(r.spatialReference)&&(0,x.fn)(t)&&!J(r.spatialReference,t))return(0,s.gc)(_),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?Z(e,t,r):null)}}class U extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function k(){M=null,T=null,C=null,A=null,S={}}const G={get loadPromise(){return M}};async function L(e,t,r){if((0,i.Te)(r),!e)return e;const n=$(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),L(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function J(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,w.jd)(e,t))}function q(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const r=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),n=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return r&&n}async function z(e,t,r,n){if(F())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!J(t,r,i))return j(n)}else if(e&&t&&!J(e,t,r))return j(n);return(0,i.NO)(n)}function B(e,t,r){return e?"x"in e?K(e,t,new h.A,r,0):"xmin"in e?re(e,t,new p.A,r,0):"rings"in e?ee(e,t,new f.A,r,0):"paths"in e?W(e,t,new y.A,r,0):"points"in e?Q(e,t,new d.A,r,0):null:null}function V(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,r,n)}function K(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function H(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){const{points:s,hasZ:o,hasM:l}=e,a=[],p=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(c,t,0,c,n,0,p))return null;const d=o||(0,u.xP)(n);for(let e=0;e<p;++e){const t=3*e,r=c[t],n=c[t+1];d&&l?a.push([r,n,c[t+2],s[e][3]]):d?a.push([r,n,c[t+2]]):l?a.push([r,n,s[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=o,r.hasM=l,r}function Y(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{paths:s,hasZ:o,hasM:l}=e,a=[];if(!ne(s,o??!1,l??!1,t,a,n,i))return null;const p=o||(0,u.xP)(n);return r.paths=a,r.spatialReference=n,r.hasZ=p,r.hasM=l,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:s,hasZ:o,hasM:l}=e,a=[];if(!ne(s,o??!1,l??!1,t,a,n,i))return null;const p=o||(0,u.xP)(n);return r.rings=a,r.spatialReference=n,r.hasZ=p,r.hasM=l,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:p,hasM:c}=e;if(!b(s,o,p?e.zmin:i,t,ie,n))return null;const d=p||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),b(l,a,p?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,o=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;i.length=0;const p=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)p&&r?e.push([l[a++],l[a++],l[a++],n[3]]):p?e.push([l[a++],l[a++],l[a++]]):r?(e.push([l[a++],l[a++],n[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ie=(0,l.vt)()},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(31635),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>h});var n=r(31635),i=r(69540),s=r(25482),o=r(91429),l=r(79677),a=r(10184),u=r(56400),p=r(36005),c=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let h=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,c.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,n.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,n.Cg)([(0,c.K)("interval")],h.prototype,"writeInterval",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,n.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,n.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,n.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],h)},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),s=r(69622),o=r(91429);let l=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8766],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),o=r(91429),l=r(99157);let a=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(31635),i=r(93637),s=r(91429),o=r(89317),l=r(69540),a=r(7762),u=r(25482),p=r(83960),c=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:d})],f.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],f);var h=r(41560),y=r(43937);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,p.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,h.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A.ofType(f),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof n.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=a(e),i=a(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(s,d).sort(),h=p(e);if(h&&o.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const n of f){const i=u(e,n),s=u(t,n);let o;if((m||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(r&&r[n]&&"function"==typeof r[n])o=r[n]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&p(i)===p(s)?c(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=y?y.diff[n]=o:y={type:"partial",diff:{[n]:o}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},8303(e,t,r){r.d(t,{A:()=>I});var n=r(31635),i=r(92602),s=r(70333),o=r(11254),l=r(60999),a=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),f=r(91429),h=r(77548),y=r(20655),m=r(80812),g=r(41318),v=r(10407),w=r(36005),b=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let o,l;if(i)o=r.portal.url;else try{o=await(0,h.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!o||!(0,d.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const a=!0,u=!1,p=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new m.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,c.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=M.credential===t?M.user:await this._fetchEditingUser(e);return M.credential=t,M.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=y.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,p=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||y.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,f.MZ)({type:m.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,b.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],I),I},M={credential:null,user:null}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,l,a,u,p,c,d,f,h,y){return[e,t,r,n,i,s,o,l,a,u,p,c,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,o,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===i&&r===o)return!0;const t=r+3*l;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=o;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10184(e,t,r){r.d(t,{A:()=>p});var n=r(31635),i=r(69540),s=r(25482),o=r(88930),l=r(91429),a=r(73133),u=r(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(a.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,n.Cg)([(0,l.$K)("esri.time.TimeInterval")],p)},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>o,OM:()=>u,Sm:()=>p,Y:()=>l,bK:()=>a,mm:()=>d,sQ:()=>c});var n=r(91218),i=r(16930),s=r(28735);function o(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?o(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},15481(e,t,r){r.r(t),r.d(t,{default:()=>ne});var n=r(31635),i=r(37838),s=r(25728),o=r(74887),l=r(84952),a=r(91429),u=r(5443),p=r(16930),c=r(50498),d=r(55156),f=r(60950),h=r(89808),y=r(99959);const m=Symbol("isGeoJSONGraphicOrigin");var g;class v extends y.A{get[(g=m,f.ym)](){return this.layer}get[d.e](){return this.layer}get[h.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="geojson",this.layer=e}get id(){return this.layer.id}}var w=r(4146),b=r(49186),I=r(44208),M=r(92474),x=r(53966),T=r(83027),A=r(39829),C=r(64714),S=r(22671);let _=class extends M.x_{constructor(){super(...arguments),this.type="geojson",this.refresh=(0,o.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}applyEdits(e){return this.load().then(()=>this._applyEdits(e))}openPorts(){return this.load().then(()=>this._connection.openPorts())}queryFeatures(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t)).then(e=>S.A.fromJSON(e))}queryFeaturesJSON(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t))}queryFeatureCount(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t))}queryObjectIds(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryObjectIds",e?e.toJSON():null,t))}queryExtent(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryExtent",e?e.toJSON():null,t)).then(e=>({count:e.count,extent:u.A.fromJSON(e.extent)}))}querySnapping(e,t={}){return this.load(t).then(()=>this._connection.invoke("querySnapping",e,t))}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?.toJSON(),t)}_applyEdits(e){if(!this._connection)throw new b.A("geojson-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,r=[],n=[],i=[];if(e.addFeatures)for(const t of e.addFeatures)r.push(this._serializeFeature(t));if(e.deleteFeatures)for(const r of e.deleteFeatures)"objectId"in r&&null!=r.objectId?n.push(r.objectId):"attributes"in r&&null!=r.attributes[t]&&n.push(r.attributes[t]);if(e.updateFeatures)for(const t of e.updateFeatures)i.push(this._serializeFeature(t));return this._connection.invoke("applyEdits",{adds:r,updates:i,deletes:n}).then(({extent:e,timeExtent:t,featureEditResults:r})=>(this.sourceJSON.extent=e,t&&(this.sourceJSON.timeInfo.timeExtent=[t.start,t.end]),this._createEditsResult(r)))}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:""};return{objectId:e.objectId,globalId:e.globalId,error:t?new b.A("geojson-layer-source:edit-failure",t.description,{code:t.code}):null}}_serializeFeature(e){const{attributes:t}=e,r=this._geometryForSerialization(e);return r?{geometry:r.toJSON(),attributes:t}:{attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:"mesh"===t.type||"extent"===t.type?A.A.fromExtent(t.extent):t}async _startWorker(e){this._connection=await(0,T.h)("GeoJSONSourceWorker",{strategy:(0,I.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:r,hasZ:n,geometryType:i,objectIdField:s,url:o,timeInfo:l,customParameters:a}=this.layer,u="defaults"===this.layer.originOf("spatialReference"),p={url:o,customParameters:a,fields:t&&t.map(e=>e.toJSON()),geometryType:c.gy.toJSON(i),hasZ:n,objectIdField:s,timeInfo:l?l.toJSON():null,spatialReference:u?null:r&&r.toJSON()},d=await this._connection.invoke("load",p,{signal:e});for(const e of d.warnings)x.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});d.featureErrors.length&&x.A.getLogger(this.layer).warn("#load()",`Encountered ${d.featureErrors.length} validation errors while loading features. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{errors:d.featureErrors}),this.sourceJSON=d.layerDefinition,this.capabilities=(0,C.f)(this.sourceJSON.hasZ,!0)}};(0,n.Cg)([(0,a.MZ)()],_.prototype,"capabilities",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,n.Cg)([(0,a.MZ)()],_.prototype,"sourceJSON",void 0),_=(0,n.Cg)([(0,a.$K)("esri.layers.graphics.sources.GeoJSONSource")],_);var F=r(63074),E=r(69208),O=r(6455),R=r(87718),j=r(56658),Z=r(16131),P=r(32756),N=r(8303),D=r(54310),$=r(25036),U=r(82935),k=r(63396),L=r(10873),G=r(15426),J=r(29005),q=r(20437),z=r(17036),B=r(30524),V=r(46499),K=r(39383),H=r(41214),Q=r(61956),Y=r(30291),W=r(79677),X=r(10184),ee=r(56400);const te=(0,z.p)();let re=class extends((0,P.fY)((0,O.FJ)((0,E.d)((0,j.J)((0,R.F)((0,F.dM)((0,U.e)((0,k.d)((0,$.j)((0,D.J)((0,Z.q)((0,N.A)((0,s.M)(w.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.copyright=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.editingEnabled=!1,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new v(this),this.hasZ=void 0,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="GeoJSON",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new _({layer:this}),this.spatialReference=p.A.WGS84,this.templates=null,this.title="GeoJSON",this.type="geojson"}destroy(){this.source?.destroy()}load(e){const t=this.loadFromPortal({supportedTypes:["GeoJson"],supportsData:!1},e).catch(o.QP).then(()=>this.source.load(e)).then(()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),["objectIdField","fields","timeInfo"].forEach(e=>this.revertToOrigin(e,"service")),(0,B.yp)(this.renderer,this.fieldsIndex),(0,B.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}get capabilities(){return this.source?this.source.capabilities:null}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}get parsedUrl(){return(0,l.An)(this.url)}set renderer(e){(0,B.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,l.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async applyEdits(e,t){const{applyEdits:n}=await Promise.all([r.e(9938),r.e(2356)]).then(r.bind(r,69938));await this.load();const i=await n(this,this.source,e,t);return this.read({extent:this.source.sourceJSON.extent,timeInfo:this.source.sourceJSON.timeInfo},{origin:"service",ignoreDefaults:!0}),i}createPopupTemplate(e){return(0,Y.tn)(this,e)}createQuery(){const e=new Q.A,t=this.capabilities?.data;e.returnGeometry=!0,t&&t.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:n}=this;return e.timeExtent=null!=r&&null!=n?n.offset(-r.value,r.unit):n||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(Q.A.from(e)||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryObjectIds(e,t){return this.load().then(()=>this.source.queryObjectIds(Q.A.from(e)||this.createQuery(),t))}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(Q.A.from(e)||this.createQuery(),t))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(Q.A.from(e)||this.createQuery(),t))}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();(0,G.ZJ)(e,i,"GeoJSONLayer");const s=await Promise.all([r.e(4575),r.e(7136)]).then(r.bind(r,14575)),o=await n.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this;return o}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,a.MZ)({type:W.A})],re.prototype,"timeExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:X.A})],re.prototype,"timeOffset",void 0),(0,n.Cg)([(0,a.MZ)(L.zQ)],re.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],re.prototype,"capabilities",null),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"copyright",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"createQueryVersion",null),(0,n.Cg)([(0,a.MZ)((0,ee.P6)("dateFieldsTimeReference"))],re.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],re.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:String})],re.prototype,"displayField",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,a.MZ)(L.Yj)],re.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,a.MZ)({type:[q.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],re.prototype,"fields",void 0),(0,n.Cg)([(0,a.MZ)(te.fieldsIndex)],re.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,a.MZ)({type:u.A,json:{name:"extent"}})],re.prototype,"fullExtent",void 0),(0,n.Cg)([(0,a.MZ)({type:["point","polygon","polyline","multipoint"],json:{read:{reader:c.gy.read}}})],re.prototype,"geometryType",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],re.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"hasZ",void 0),(0,n.Cg)([(0,a.MZ)(L.id)],re.prototype,"id",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],re.prototype,"isTable",null),(0,n.Cg)([(0,a.MZ)(L.kF)],re.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,a.MZ)({type:[V.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:K.w},write:!0}})],re.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,a.MZ)(L.fV)],re.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:["show","hide"]})],re.prototype,"listMode",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.objectIdField",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"objectIdField"}}}})],re.prototype,"objectIdField",void 0),(0,n.Cg)([(0,a.MZ)(L.ke)],re.prototype,"opacity",void 0),(0,n.Cg)([(0,a.MZ)({type:["GeoJSON"]})],re.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,a.MZ)(te.outFields)],re.prototype,"outFields",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"parsedUrl",null),(0,n.Cg)([(0,a.MZ)(L.M6)],re.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,a.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],re.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,a.MZ)({types:H.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:H.XJ}}}})],re.prototype,"renderer",null),(0,n.Cg)([(0,a.MZ)(L.PY)],re.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"source",void 0),(0,n.Cg)([(0,a.MZ)({type:p.A})],re.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.MZ)({type:[J.A]})],re.prototype,"templates",void 0),(0,n.Cg)([(0,a.MZ)()],re.prototype,"title",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},readOnly:!0})],re.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)(L.OZ)],re.prototype,"url",null),re=(0,n.Cg)([(0,a.$K)("esri.layers.GeoJSONLayer")],re);const ne=re},17036(e,t,r){r.d(t,{p:()=>a});var n=r(44208),i=r(53966),s=r(20437),o=r(95466),l=r(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},22671(e,t,r){r.d(t,{A:()=>v});var n,i=r(31635),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),p=r(16930),c=r(60408),d=r(65864),f=r(50498),h=r(20437),y=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=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,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=p.A.fromJSON(t.spatialReference)),n}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 n(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 n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.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:[n,i],scale:[s,o]}=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*s+n,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=p.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=n);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(l[0]),i=r(l[1]),s.push([n,i])}return s.length>0?s: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 n=(0,c.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,c.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(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),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>u});var n=r(31635),i=r(69540),s=r(66552),o=r(25482),l=r(91429);const a=new s.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,i.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>c,XJ:()=>d,lc:()=>p,mX:()=>y,rU:()=>h,tH:()=>b});var n=r(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function p(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=p(e.labelExpression),t.type="conventional"),t}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var n=r(31635),i=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},37539(e,t,r){r.d(t,{pO:()=>y,jd:()=>d,Tp:()=>f,w5:()=>c});var n=r(34727),i=r(86211),s=r(73941),o=r(79258);Math.PI;const l=o.$O.radius,a=o.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var p=r(21325);const c={2:{5:y,7:null,9:null,10:y,1:x,6:null,8:null,0:null,3:g,11:v,2:y,4:_},5:{5:y,7:null,9:null,10:y,1:x,6:null,8:null,0:null,3:g,11:v,2:y,4:_},7:{5:null,7:y,9:null,10:y,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:I,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){const i=e[t]/Z,s=j-2*Math.atan(Math.exp(-e[t+1]/Z)),o=Z+(e[t+2]??0),l=Math.cos(s)*o;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:y,11:function(e,t,r,n){m(e,t,r,n),v(r,n,r,n)},2:m,4:function(e,t,r,n){m(e,t,r,n),_(r,n,r,n)}},4:{5:F,7:null,9:null,10:F,1:function(e,t,r,n){F(e,t,r,n),x(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){F(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){F(e,t,r,n),v(r,n,r,n)},2:F,4:y},1:{5:S,7:null,9:null,10:S,1:y,6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),v(r,n,r,n)},2:S,4:function(e,t,r,n){S(e,t,r,n),_(r,n,r,n)}},6:{5:null,7:C,9:null,10:C,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:x,6:M,8:I,0:null,3:g,11:v,2:y,4:_},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),x(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),g(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),_(r,n,r,n)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const r=h(e,E.source),n=h(t,E.dest);return 0===r&&0===n?(0,p.aI)(e,t)?E.projector=y:E.projector=null:E.projector=c[r][n],E}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,p.oT)(e)?t.spatialReferenceId=2:(0,p.K8)(e)?t.spatialReferenceId=3:(0,p.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function m(e,t,r,n){r[n]=R*(e[t]/Z),r[n+1]=R*(j-2*Math.atan(Math.exp(-e[t+1]/Z))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,l=(0,n.qE)(O*e[t+1],-o,o),a=Math.sin(l);r[i++]=O*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function v(e,t,r,n){r[n]=e[t]*P,r[n+1]=e[t+1]*P,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*N,r[n+1]=e[t+1]*N,r[n+2]=e[t+2]??0}function b(e,t,r,n,i){const s=i+(e[t+2]??0),o=O*e[t],l=O*e[t+1],a=Math.cos(l)*s;r[n]=Math.cos(o)*a,r[n+1]=Math.sin(o)*a,r[n+2]=Math.sin(l)*s}function I(e,t,r,n){b(e,t,r,n,o.Sw.radius)}function M(e,t,r,n){b(e,t,r,n,o.sH.radius)}function x(e,t,r,n){b(e,t,r,n,o.$O.radius)}function T(e,t,r,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),p=(0,n.YN)(a/(0===u?1:u)),c=Math.atan2(l,o);r[i++]=R*c,r[i++]=R*p,r[i]=u-s}function A(e,t,r,n){T(e,t,r,n,o.Sw.radius)}function C(e,t,r,n){T(e,t,r,n,o.sH.radius)}function S(e,t,r,n){T(e,t,r,n,o.$O.radius)}function _(e,t,r,n){!function(e,t,r,n,i){const s=O*e[t],o=O*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),p=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(p+l)*u*Math.cos(s),r[n++]=(p+l)*u*Math.sin(s),r[n++]=(p*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,o.$O)}function F(e,t,r,n){const i=u,s=e[t],l=e[t+1],a=e[t+2]??0;let p,c,d,f,h,y,m,g,v,w,b,I,M,x,T,A,C,S,_,F,E;p=Math.abs(a),c=s*s+l*l,d=Math.sqrt(c),f=c+a*a,h=Math.sqrt(f),F=Math.atan2(l,s),y=a*a/f,m=c/f,x=i.a2/h,T=i.a3-i.a4/h,m>.3?(g=p/h*(1+m*(i.a1+x+y*T)/h),_=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/h*(1-y*(i.a5-x-m*T)/h),_=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),b=1-o.$O.eccentricitySquared*w,I=o.$O.radius/Math.sqrt(b),M=i.a6*I,x=d-I*v,T=p-M*g,C=v*x+g*T,A=v*T-g*x,S=A/(M/b+C),_+=S,E=C+A*S/2,a<0&&(_=-_),r[n++]=R*F,r[n++]=R*_,r[n]=E}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},O=(0,n.kU)(1),R=(0,n.KJ)(1),j=.5*Math.PI,Z=o.$O.radius,P=Z*Math.PI/180,N=180/(Z*Math.PI)},41366(e,t,r){r.d(t,{K:()=>c,Q:()=>a});var n=r(31635),i=r(66552),s=r(53966),o=r(91429),l=r(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field",c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&p||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var n=r(34727),i=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(s&&((0,n.gg)(t,s[0])||(0,n.ZH)(r,s[1])))return"";const o=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),s=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.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 n of e.filters)a(n.minScale,n.maxScale,t,r)&&(yield n)}}function a(e,t,r,i){return e=p(e),r=p(r),t=c(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const l=parseInt(i,10),a=parseInt(s,10);return new e(l,a,r)}}},52106(e,t,r){r.d(t,{A:()=>I});var n,i=r(31635),s=r(37838),o=r(69540),l=r(51447),a=r(25482),u=r(53966),p=r(36708),c=r(24326),d=r(91429),f=r(12195),h=r(65864),y=r(50498),m=r(55156),g=r(60950),v=r(54339),w=r(33910);function b(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,o.OU)(a.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,g.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,h.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],I.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:h.rS}})],I.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:s.A,value:null})],I.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],I.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],I)},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>m,QY:()=>d,lL:()=>g,xR:()=>h});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const p={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,p);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new y(e,s,l,c,t,f,d,o)}constructor(e,t,r,n,i,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},63396(e,t,r){r.d(t,{d:()=>M});var n=r(31635),i=r(91429),s=r(60950),o=r(99959);class l extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[s.ym](){return this.trackInfoProvider.trackInfo}}var a=r(37838),u=r(69540),p=r(25482),c=r(93637),d=r(50820),f=r(10873),h=r(46499),y=r(41214);let m=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[h.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(f.kF)],m.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),w=r(10184),b=r(43937);let I=class extends((0,u.OU)(p.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,c.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],I.prototype,"fields",void 0),(0,n.Cg)([(0,b.K)("fields")],I.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],I.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(f.M6)],I.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],I.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],I.prototype,"timeField",void 0),I=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],I);const M=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:I})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>p,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),s=r(99352),o=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function p(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${c(t)} = null;`;for(const t in e)r+=`this${c(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function c(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){r.d(t,{d:()=>s});var n=r(31635),i=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>c,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>h,RF:()=>p,aI:()=>I,fA:()=>o,gE:()=>a,hZ:()=>m,iT:()=>d,is:()=>b,qv:()=>M,vI:()=>y,vY:()=>l,v_:()=>x,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,r,n=s()){return m(n,M),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[r,n,s,o,l,a]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=a,t[6]=r,t[7]=l,t[8]=s,t[9]=r,t[10]=l,t[11]=a,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,M):s(M)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function I(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];s()},73133(e,t,r){r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},73681(e,t,r){r.d(t,{n:()=>a});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,l.xR)(e.expression,null,c);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const y=new u(r,h);return new a(h,p,f,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>f});var n=r(31635),i=r(91429),s=r(89317),o=r(30524),l=r(96184),a=r(73133),u=r(79677),p=r(10184),c=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=a.j.fromJSON(r.timeOffsetUnits);return n&&i?new p.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,c.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>l,zx:()=>o});var n=r(34727),i=r(86211);function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*96:0}function o(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>q,initializeProjection:()=>B,isEqualBaseGCS:()=>z,isLoaded:()=>E,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>R,load:()=>Z,project:()=>P,projectAsync:()=>J,projectExtent:()=>re,projectMany:()=>N,projectMultipoint:()=>Q,projectOrLoad:()=>$,projectOrLoadMany:()=>U,projectPoint:()=>K,projectPolygon:()=>ee,projectPolyline:()=>W,projectWithoutEngine:()=>V,requiresLoad:()=>j,test:()=>G,tryProject:()=>D,unload:()=>L});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),l=r(51850),a=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),m=r(16930),g=r(98764),v=r(159),w=r(9762),b=r(37539);function I(e,t,r,n,i,s){return M[0]=e,M[1]=t,M[2]=r,(0,w.projectBuffer)(M,n,0,i,s,0)}const M=(0,l.vt)();var x=r(21325);let T=null,A=null,C=null,S=null,_={};const F=new o.I;function E(){return!!(A?.isLoaded()&&C?.isLoaded()&&S?.isLoaded())}function O(){return!!E()||((0,s.gc)(F),Z(),!1)}function R(e,t){return!e||!t||q(e,t)||O()}function j(e,t){return!q(e,t)&&!E()}async function Z(e){null==T&&(T=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(A=e,A.load())),r.e(758).then(r.bind(r,8377)).then(e=>(C=e,C.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(S=e,S.load()))])),await T,(0,i.Te)(e),F.notify()}function P(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),N(e,e[0].spatialReference,t,r)):((0,a.f)(e),N([e],e.spatialReference,t,r)[0])}function N(e,t,r,n){if(null==t||null==r)return e;if(q(t,r,n))return e.map(e=>V(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>V(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return N(e,t,m.A.WGS84).map(e=>V(e,m.A.WGS84,r));if(!E())throw new k;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:S.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=_[e];i||(i=S.getTransformation(t,r)||new v.A,_[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?A.executeMany(e,r,n):C.executeMany(e,r,n)}function D(e,t,r){try{return P(e,t,r)}catch(e){return null}}function $(e,t){const r=U([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function U(e,t,r){if(!E())for(const r of e)if(null!=r&&!(0,x.aI)(r.spatialReference,t)&&(0,x.fn)(r.spatialReference)&&(0,x.fn)(t)&&!q(r.spatialReference,t))return(0,s.gc)(F),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?P(e,t,r):null)}}class k extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function L(){T=null,A=null,C=null,S=null,_={}}const G={get loadPromise(){return T}};async function J(e,t,r){if((0,i.Te)(r),!e)return e;const n=U(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),J(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function q(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,b.jd)(e,t))}function z(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const r=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),n=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return r&&n}async function B(e,t,r,n){if(E())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!q(t,r,i))return Z(n)}else if(e&&t&&!q(e,t,r))return Z(n);return(0,i.NO)(n)}function V(e,t,r){return e?"x"in e?H(e,t,new f.A,r,0):"xmin"in e?ne(e,t,new p.A,r,0):"rings"in e?te(e,t,new h.A,r,0):"paths"in e?X(e,t,new y.A,r,0):"points"in e?Y(e,t,new d.A,r,0):null:null}function K(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,r,n)}function H(e,t,r,n,i){oe[0]=e.x,oe[1]=e.y;const s=e.z;return oe[2]=void 0!==s?s:i,(0,w.projectBuffer)(oe,t,0,oe,n,0)?(r.x=oe[0],r.y=oe[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=oe[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,p=[];for(const e of s)p.push(e[0],e[1],o?e[2]:i);if(!(0,w.projectBuffer)(p,t,0,p,n,0,u))return null;const c=se(o,n);for(let e=0;e<u;++e){const t=3*e,r=p[t],n=p[t+1];c&&l?a.push([r,n,p[t+2],s[e][3]]):c?a.push([r,n,p[t+2]]):l?a.push([r,n,s[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=o,r.hasM=l,r}function W(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{paths:s,hasZ:o,hasM:l}=e,a=[];if(!ie(s,o??!1,l??!1,t,a,n,i))return null;const u=se(o,n);return r.paths=a,r.spatialReference=n,r.hasZ=u,r.hasM=l,r}function ee(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,n)}function te(e,t,r,n,i){const{rings:s,hasZ:o,hasM:l}=e,a=[];if(!ie(s,o??!1,l??!1,t,a,n,i))return null;const u=se(o,n);return r.rings=a,r.spatialReference=n,r.hasZ=u,r.hasM=l,r}function re(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ne(e,e.spatialReference,t,r,n)}function ne(e,t,r,n,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:p}=e;if(!I(s,o,u?e.zmin:i,t,oe,n))return null;const c=se(u,n);return r.xmin=oe[0],r.ymin=oe[1],c&&(r.zmin=oe[2]),I(l,a,u?e.zmax:i,t,oe,n)?(r.xmax=oe[0],r.ymax=oe[1],c&&(r.zmax=oe[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ie(e,t,r,n,i,s,o=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;i.length=0;const u=se(t,s);for(const t of e){const e=new Array;for(const n of t)u&&r?e.push([l[a++],l[a++],l[a++],n[3]]):u?e.push([l[a++],l[a++],l[a++]]):r?(e.push([l[a++],l[a++],n[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}function se(e,t){return e||(0,u.xP)(t)||(0,x.aI)(t,g.Y0)}const oe=(0,l.vt)()},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(31635),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>f});var n=r(31635),i=r(69540),s=r(25482),o=r(91429),l=r(79677),a=r(10184),u=r(56400),p=r(36005),c=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,c.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,c.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],f)},98764(e,t,r){r.d(t,{GD:()=>o,Y0:()=>u,lO:()=>p});var n=r(73941),i=r(16930),s=r(21325);const o=new i.A(n.fv),l=new i.A(n.FY),a=new i.A(n.LJ),u=new i.A(n.Ro);function p(e){const t=c.get(e);if(t)return t;let r=o;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,s.tl)(t)||(0,s.tl)(n)?r=l:((0,s.ZL)(t)||(0,s.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?r=l:e===f&&(r=a)}}}return c.set(e,r),r}const c=new Map,d=l.wkt.toUpperCase(),f=a.wkt.toUpperCase()},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),s=r(69622),o=r(91429);let l=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);