@arcgis/core 5.1.0-next.121 → 5.1.0-next.123

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 (411) hide show
  1. package/applications/SceneViewer/layerUtils.d.ts +9 -1
  2. package/applications/SceneViewer/layerUtils.js +1 -1
  3. package/arcgisGlobal.d.ts +3 -0
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/{aef0ac417b282a90d214.js → 03e93c18efc67a25ca63.js} +1 -1
  6. package/assets/esri/core/workers/chunks/04895de94657e7f3d7e1.js +1 -0
  7. package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → 06df187a116709f69952.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +1 -0
  9. package/assets/esri/core/workers/chunks/0f75c19d8e296a32e329.js +1 -0
  10. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +1 -0
  11. package/assets/esri/core/workers/chunks/{163ce1be8bfe20e77f97.js → 184d896fe66340129acd.js} +1 -1
  12. package/assets/esri/core/workers/chunks/18f980465db5a86153d1.js +1 -0
  13. package/assets/esri/core/workers/chunks/1996f0a930abdd97b855.js +1 -0
  14. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +1 -0
  15. package/assets/esri/core/workers/chunks/1cb1f125dccbf8c8cac9.js +1 -0
  16. package/assets/esri/core/workers/chunks/1d7e1bbd321d6f99776c.js +1 -0
  17. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +1 -0
  18. package/assets/esri/core/workers/chunks/{da29cf0e64065631a470.js → 24810c36ae09bb4e83dc.js} +1 -1
  19. package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +1 -0
  20. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +1 -0
  21. package/assets/esri/core/workers/chunks/2dbc2fd0f2dde505c465.js +1 -0
  22. package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +1 -0
  23. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +1 -0
  24. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +1 -0
  25. package/assets/esri/core/workers/chunks/313773bd9c82d1858929.js +1 -0
  26. package/assets/esri/core/workers/chunks/{1c029b03ed836f393a50.js → 3248001d9dfb9153699e.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +1 -0
  28. package/assets/esri/core/workers/chunks/{716a4d7e8b908b81870b.js → 32f26757e36704923286.js} +1 -1
  29. package/assets/esri/core/workers/chunks/3529afab0c2444275d91.js +1 -0
  30. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +1 -0
  31. package/assets/esri/core/workers/chunks/390fda094fa8695d98cf.js +1 -0
  32. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +30 -0
  33. package/assets/esri/core/workers/chunks/3b3f91a61e3f29af1fb2.js +1 -0
  34. package/assets/esri/core/workers/chunks/{f815106d439ff1f76e51.js → 3b837b512999e6ab24bc.js} +1 -1
  35. package/assets/esri/core/workers/chunks/3d20c86f1fe877bf884b.js +1 -0
  36. package/assets/esri/core/workers/chunks/3e65b4b18760bde8ceee.js +1 -0
  37. package/assets/esri/core/workers/chunks/3ff7aa216cd794d951e8.js +1 -0
  38. package/assets/esri/core/workers/chunks/{8e1865392681d390ab2e.js → 401ee7fa500adad77db1.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{60915a3708a34da1977e.js → 426156137f279d979ddd.js} +1 -1
  40. package/assets/esri/core/workers/chunks/434c1dd3f48e6f0802fc.js +1 -0
  41. package/assets/esri/core/workers/chunks/4517630bf869205bab87.js +1 -0
  42. package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +1 -0
  43. package/assets/esri/core/workers/chunks/4e293c4006bdc7cc4c08.js +1 -0
  44. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +1 -0
  45. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +1 -0
  46. package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +1 -0
  47. package/assets/esri/core/workers/chunks/58a7cdebc3d182c15ec6.js +1 -0
  48. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +1 -0
  49. package/assets/esri/core/workers/chunks/5bfae465872760e7af6d.js +1 -0
  50. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +1 -0
  51. package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +1 -0
  52. package/assets/esri/core/workers/chunks/5dd441db1e74dc9b56e9.js +1 -0
  53. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +1 -0
  54. package/assets/esri/core/workers/chunks/661f7e3f88727dc4801c.js +1 -0
  55. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +1 -0
  56. package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +1 -0
  57. package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +1 -0
  58. package/assets/esri/core/workers/chunks/{f02fe24177e56a7e42b2.js → 688fe64be39e9ac35ffd.js} +1 -1
  59. package/assets/esri/core/workers/chunks/69e98de578f467a35054.js +1 -0
  60. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +1 -0
  61. package/assets/esri/core/workers/chunks/6aabde21b0b376d95888.js +1 -0
  62. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +1 -0
  63. package/assets/esri/core/workers/chunks/{bcb021a167580bb1619f.js → 6ef3b8d67b498d655a99.js} +1 -1
  64. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +1 -0
  65. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +1 -0
  66. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +1 -0
  67. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +1 -0
  68. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +1 -0
  69. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +1 -0
  70. package/assets/esri/core/workers/chunks/{542f5469f7b42026b24f.js → 7cb1afb32ec043e23ec2.js} +1 -1
  71. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +1 -0
  72. package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +1 -0
  73. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +1 -0
  74. package/assets/esri/core/workers/chunks/{8477b5fdd99c6ac5c27b.js → 851705cf276eae8d4d37.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{b79428c5093614174e76.js → 8b0a01ebc86ab226f01f.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{452c01cecbbd1e370098.js → 8f93e6fc11a158d4f1ee.js} +1 -1
  77. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +1 -0
  78. package/assets/esri/core/workers/chunks/{359d3acb3953e64e5a78.js → 93ceb74ac88ef460fe5f.js} +1 -1
  79. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +1 -0
  80. package/assets/esri/core/workers/chunks/96e46424c3fb1dd9ce3b.js +1 -0
  81. package/assets/esri/core/workers/chunks/976ab2be6c244768c08a.js +1 -0
  82. package/assets/esri/core/workers/chunks/985fceacd6ec137bd490.js +1 -0
  83. package/assets/esri/core/workers/chunks/{e785f76c1a75cb1d1e1f.js → 99101789035f1787c630.js} +1 -1
  84. package/assets/esri/core/workers/chunks/99e5296192ab98fd0d99.js +1 -0
  85. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +1 -0
  86. package/assets/esri/core/workers/chunks/a043e8c49ac8e4d1d0a6.js +1 -0
  87. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +1 -0
  88. package/assets/esri/core/workers/chunks/a2247f4c3116efb16c4f.js +1 -0
  89. package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +1 -0
  90. package/assets/esri/core/workers/chunks/a442534ac0956a68b769.js +1 -0
  91. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +1 -0
  92. package/assets/esri/core/workers/chunks/{8bdca6f06c8b5fedd917.js → a5abba59e738c3240c22.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{06858a0e1033e4a95337.js → a643a4751bbf4430bde2.js} +3 -3
  94. package/assets/esri/core/workers/chunks/aa118c1bcd922b8ac328.js +1 -0
  95. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +1 -0
  96. package/assets/esri/core/workers/chunks/ab62724b80b3c478a597.js +1 -0
  97. package/assets/esri/core/workers/chunks/ac33b10fe65f9e9e824f.js +1 -0
  98. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +1 -0
  99. package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → af75e91b88e747aa76ac.js} +1 -1
  100. package/assets/esri/core/workers/chunks/b22a1c98271c2e4d8808.js +1 -0
  101. package/assets/esri/core/workers/chunks/b44cf254585210578eab.js +1 -0
  102. package/assets/esri/core/workers/chunks/{2bcd4d395bfe6a19ccc8.js → b606af35a4fb893b762c.js} +1 -1
  103. package/assets/esri/core/workers/chunks/{9f4681713f03365a2a53.js → b666027b9022fa346a79.js} +1 -1
  104. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +1 -0
  105. package/assets/esri/core/workers/chunks/bb867fec068e26bb0c8e.js +1 -0
  106. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +1 -0
  107. package/assets/esri/core/workers/chunks/c357c0a08b99c1e7f290.js +1 -0
  108. package/assets/esri/core/workers/chunks/{4a23b27bfbcfa08fd9a7.js → c3cf9e6e91f71c9cc5f3.js} +1 -1
  109. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +1 -0
  110. package/assets/esri/core/workers/chunks/c60b4f2dd5fccdf362a7.js +1 -0
  111. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +1 -0
  112. package/assets/esri/core/workers/chunks/c755bfd90c9654170e67.js +1 -0
  113. package/assets/esri/core/workers/chunks/c80fc1b3048e8d58a1f8.js +1 -0
  114. package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +1 -0
  115. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +1 -0
  116. package/assets/esri/core/workers/chunks/ccffaba50674adba7a0f.js +1 -0
  117. package/assets/esri/core/workers/chunks/{24646a1176ce34039155.js → cdf6ad970dc1893dac58.js} +1 -1
  118. package/assets/esri/core/workers/chunks/d13e003c9293cb7e2852.js +1 -0
  119. package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +1 -0
  120. package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +1 -0
  121. package/assets/esri/core/workers/chunks/{22ac25e8f730218d7e69.js → d36b407f5ad5eabac530.js} +10 -14
  122. package/assets/esri/core/workers/chunks/d52864823067e57a719a.js +1 -0
  123. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +1 -0
  124. package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +1 -0
  125. package/assets/esri/core/workers/chunks/d9d0a07245ee5117d2a0.js +1 -0
  126. package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +1 -0
  127. package/assets/esri/core/workers/chunks/dd920a6f6422fa213eba.js +1 -0
  128. package/assets/esri/core/workers/chunks/e1505ec80b068011bdc5.js +1 -0
  129. package/assets/esri/core/workers/chunks/e16b7ff4bf24fb99f7ea.js +1 -0
  130. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +1 -0
  131. package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +1 -0
  132. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +1 -0
  133. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +1 -0
  134. package/assets/esri/core/workers/chunks/{e178cd0e9178d6716410.js → e5837e5ac6ef761f26a2.js} +1 -1
  135. package/assets/esri/core/workers/chunks/e6a7272b59a4c2e34dca.js +1 -0
  136. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +1 -0
  137. package/assets/esri/core/workers/chunks/eabeaab5c4810f999a4d.js +1 -0
  138. package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +1 -0
  139. package/assets/esri/core/workers/chunks/ec723f8777b935c5e81a.js +1 -0
  140. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +1 -0
  141. package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +1 -0
  142. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +1 -0
  143. package/assets/esri/core/workers/chunks/{485d20152495c27b8074.js → f2a268c69f2a5566381b.js} +1 -1
  144. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +1 -0
  145. package/assets/esri/core/workers/chunks/{de3d8f83f3ea09b315a0.js → f622ae3887c85535e8ab.js} +1 -1
  146. package/assets/esri/core/workers/chunks/f69df22a5c64389ebe28.js +1 -0
  147. package/assets/esri/core/workers/chunks/{f60292d97bcdbf19165b.js → f6d047358d14328f3622.js} +1 -1
  148. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +1 -0
  149. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +1 -0
  150. package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +1 -0
  151. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +1 -0
  152. package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → faad127dc07e54e7f6d1.js} +1 -1
  153. package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +1 -0
  154. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +1 -0
  155. package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +1 -0
  156. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  157. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  158. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  159. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  160. package/chunks/GaussianSplatComposition.glsl.js +1 -1
  161. package/chunks/GlobalIllumination.glsl.js +1 -1
  162. package/chunks/GlowComposition.glsl.js +2 -2
  163. package/chunks/OITBlend.glsl.js +3 -3
  164. package/chunks/OITBlendEmission.glsl.js +2 -2
  165. package/chunks/OITDimOpaque.glsl.js +2 -2
  166. package/chunks/SlicePlaneMaterial.glsl.js +4 -4
  167. package/chunks/bundle2.js +1 -1
  168. package/chunks/lyr3DMain.js +1 -1
  169. package/chunks/lyr3DWorker.js +1 -1
  170. package/chunks/vxlLayer.js +1 -1
  171. package/config.js +1 -1
  172. package/core/has.js +1 -1
  173. package/core/sql.d.ts +1 -1
  174. package/geometry/Extent.d.ts +0 -13
  175. package/geometry/Geometry.d.ts +10 -8
  176. package/geometry/Point.d.ts +15 -71
  177. package/graphic/AnnotationGraphicOrigin.d.ts +34 -0
  178. package/graphic/AnnotationGraphicOrigin.js +2 -0
  179. package/graphic/DimensionFeatureGraphicOrigin.d.ts +34 -0
  180. package/graphic/DimensionFeatureGraphicOrigin.js +2 -0
  181. package/identity/IdentityManagerBase.js +1 -1
  182. package/interfaces.d.ts +8 -0
  183. package/kernel.js +1 -1
  184. package/layers/AnnotationLayer.d.ts +263 -32
  185. package/layers/AnnotationLayer.js +1 -1
  186. package/layers/DimensionFeatureLayer.d.ts +263 -32
  187. package/layers/DimensionFeatureLayer.js +1 -1
  188. package/layers/FeatureLayer.d.ts +1 -1
  189. package/layers/GeoJSONLayer.d.ts +7 -7
  190. package/layers/ParquetLayer.d.ts +22 -2
  191. package/layers/SceneLayer.d.ts +4 -2
  192. package/layers/SceneLayer.js +1 -1
  193. package/layers/catalog/CatalogFootprintLayer.d.ts +40 -10
  194. package/layers/graphics/sources/parquet/FileProvider.js +1 -1
  195. package/layers/graphics/sources/parquet/ParquetFileInfo.js +2 -0
  196. package/layers/graphics/sources/parquet/ParquetFileStatistics.js +2 -0
  197. package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +1 -1
  198. package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +1 -1
  199. package/layers/graphics/sources/parquet/UrlsFileProvider.js +1 -1
  200. package/layers/graphics/sources/parquet/createFileProvider.js +1 -1
  201. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  202. package/layers/mixins/FeatureLayerBase.d.ts +40 -16
  203. package/layers/mixins/TemporalLayer.d.ts +4 -2
  204. package/layers/support/AnnotationSublayer.d.ts +44 -0
  205. package/layers/support/AnnotationSublayer.js +2 -0
  206. package/layers/support/GeometryEncodingLocation.d.ts +1 -1
  207. package/layers/support/GeometryEncodingWkb.d.ts +3 -2
  208. package/layers/support/ParquetFilesData.d.ts +13 -3
  209. package/layers/support/ParquetPortalItemData.d.ts +12 -1
  210. package/layers/support/arcgisLayers.js +1 -1
  211. package/layers/support/commonProperties.js +1 -1
  212. package/layers/support/featureLayerUtils.js +1 -1
  213. package/layers/support/layerUtils.js +1 -1
  214. package/layers/support/parquetUtils.js +1 -1
  215. package/layers/support/tiles3DUtils.js +1 -1
  216. package/libs/parquet/parquet.js +1 -1
  217. package/package.json +1 -1
  218. package/request/types.d.ts +18 -20
  219. package/rest/support/Query.d.ts +1 -0
  220. package/support/revision.js +1 -1
  221. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  222. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  223. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
  224. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  225. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
  226. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
  227. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  228. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  229. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  230. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  231. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  232. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  233. package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
  234. package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
  235. package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
  236. package/views/2d/layers/graphics/GraphicStore.js +1 -1
  237. package/views/3d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles3D.js +1 -1
  238. package/views/3d/layers/FlowSubView3D.js +1 -1
  239. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  240. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  241. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  242. package/views/3d/terrain/OverlayManager.js +1 -1
  243. package/views/3d/terrain/TerrainRenderer.js +1 -1
  244. package/views/3d/webgl/RenderNode.d.ts +25 -4
  245. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  246. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  247. package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
  248. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  249. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  250. package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
  251. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  252. package/views/3d/webgl-engine/effects/emissive/emissions.js +1 -1
  253. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  254. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  255. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  256. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  257. package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
  258. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  259. package/views/3d/webgl-engine/lib/RendererBase.js +1 -1
  260. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  261. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  262. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  263. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +2 -2
  264. package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
  265. package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +6 -10
  266. package/views/layers/FeatureLikeLayerView.d.ts +25 -1
  267. package/views/layers/FeatureLikeLayerView.js +1 -1
  268. package/views/types.d.ts +1 -1
  269. package/views/webgl/RenderingContext.js +1 -1
  270. package/views/webgl/renderState.js +1 -1
  271. package/webdoc/support/webdocSaveUtils.js +1 -1
  272. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -2
  273. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  274. package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +1 -1
  275. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  276. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +2 -6
  277. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  278. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  279. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  280. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  281. package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
  282. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  283. package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +1 -1
  284. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  285. package/widgets/BatchAttributeForm.d.ts +9 -1
  286. package/widgets/BatchAttributeForm.js +1 -1
  287. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  288. package/widgets/FeatureTable/Grid/Column.js +1 -1
  289. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  290. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  291. package/widgets/FeatureTable/Grid/GroupColumn.js +1 -1
  292. package/widgets/FeatureTable.js +1 -1
  293. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  294. package/widgets/Print/PrintViewModel.js +1 -1
  295. package/widgets/support/ContingentValuesManager.js +1 -1
  296. package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +0 -1
  297. package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +0 -1
  298. package/assets/esri/core/workers/chunks/09a4139fc6d069ab6928.js +0 -1
  299. package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +0 -1
  300. package/assets/esri/core/workers/chunks/0a780a883abfcdf0b900.js +0 -1
  301. package/assets/esri/core/workers/chunks/0fbf9bf52ecb4cd8293b.js +0 -1
  302. package/assets/esri/core/workers/chunks/119d352dd586f2bb61ec.js +0 -1
  303. package/assets/esri/core/workers/chunks/130784a27661de6b52a5.js +0 -1
  304. package/assets/esri/core/workers/chunks/145364aa20b4435294c2.js +0 -1
  305. package/assets/esri/core/workers/chunks/1595dc499a06b23b6a96.js +0 -1
  306. package/assets/esri/core/workers/chunks/16713986893adfbc9331.js +0 -1
  307. package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +0 -1
  308. package/assets/esri/core/workers/chunks/1c64e10f966e26af6fed.js +0 -1
  309. package/assets/esri/core/workers/chunks/201007cf1a91e2b126fc.js +0 -1
  310. package/assets/esri/core/workers/chunks/20d0adc678f11981059c.js +0 -1
  311. package/assets/esri/core/workers/chunks/227eff8aa4a6f5f03bc2.js +0 -1
  312. package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +0 -1
  313. package/assets/esri/core/workers/chunks/238478cfe493fd4a6100.js +0 -1
  314. package/assets/esri/core/workers/chunks/24647e7424798dccdaf5.js +0 -1
  315. package/assets/esri/core/workers/chunks/249616ea2d90d40a8299.js +0 -1
  316. package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +0 -1
  317. package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +0 -1
  318. package/assets/esri/core/workers/chunks/2c8584ec1c3c9fd5aba2.js +0 -1
  319. package/assets/esri/core/workers/chunks/2d374cc8c54a722a7afe.js +0 -1
  320. package/assets/esri/core/workers/chunks/2e11b4e9d66474a60064.js +0 -1
  321. package/assets/esri/core/workers/chunks/2fa080539d039c92ce08.js +0 -1
  322. package/assets/esri/core/workers/chunks/3109b05fe4fc40d4f25b.js +0 -1
  323. package/assets/esri/core/workers/chunks/31442f25d550ead58fc4.js +0 -1
  324. package/assets/esri/core/workers/chunks/32323b0e0fcecd8f640e.js +0 -1
  325. package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +0 -1
  326. package/assets/esri/core/workers/chunks/33e0130e6a40fc768978.js +0 -1
  327. package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +0 -1
  328. package/assets/esri/core/workers/chunks/388e71e8f2ec41bfa5a9.js +0 -1
  329. package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +0 -1
  330. package/assets/esri/core/workers/chunks/3aacaa1be5efeac23a37.js +0 -1
  331. package/assets/esri/core/workers/chunks/3b765a8cac9e92f644f2.js +0 -1
  332. package/assets/esri/core/workers/chunks/3bf6d55511cd7722eb93.js +0 -1
  333. package/assets/esri/core/workers/chunks/3e012cd3ca4451f89f59.js +0 -1
  334. package/assets/esri/core/workers/chunks/40910c69307e2d2d3f28.js +0 -1
  335. package/assets/esri/core/workers/chunks/40c4e14e7bb505ef10a3.js +0 -1
  336. package/assets/esri/core/workers/chunks/4193c0cca441be05c80e.js +0 -1
  337. package/assets/esri/core/workers/chunks/423a9882abd4a6dadf86.js +0 -1
  338. package/assets/esri/core/workers/chunks/428561df7ba6f02e2d80.js +0 -1
  339. package/assets/esri/core/workers/chunks/45323491f9005629c602.js +0 -1
  340. package/assets/esri/core/workers/chunks/46d0a25d33b5b328cfce.js +0 -1
  341. package/assets/esri/core/workers/chunks/47dd2bfecc5c4b5f10f0.js +0 -1
  342. package/assets/esri/core/workers/chunks/4845df00f6ebcce6ea3e.js +0 -1
  343. package/assets/esri/core/workers/chunks/4a9dd9f8aa98882218f3.js +0 -1
  344. package/assets/esri/core/workers/chunks/4bfffdfbe6d467f143a4.js +0 -1
  345. package/assets/esri/core/workers/chunks/518046d2b95a7590a092.js +0 -1
  346. package/assets/esri/core/workers/chunks/54dad475dc806a38c287.js +0 -1
  347. package/assets/esri/core/workers/chunks/552945a73a95cd2a9f54.js +0 -1
  348. package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +0 -1
  349. package/assets/esri/core/workers/chunks/58155f24f8ed6aca7a21.js +0 -1
  350. package/assets/esri/core/workers/chunks/5838f46d341d2fde42ee.js +0 -1
  351. package/assets/esri/core/workers/chunks/592a599f514de373dead.js +0 -1
  352. package/assets/esri/core/workers/chunks/597eb2e040c86cc3c4fc.js +0 -1
  353. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  354. package/assets/esri/core/workers/chunks/5f9bacee6fbf9ac1bca0.js +0 -1
  355. package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +0 -1
  356. package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +0 -1
  357. package/assets/esri/core/workers/chunks/62fc3c367f736c73b0d7.js +0 -1
  358. package/assets/esri/core/workers/chunks/643c33a98f2d30a92001.js +0 -1
  359. package/assets/esri/core/workers/chunks/64daa2a714e59d22bbd4.js +0 -1
  360. package/assets/esri/core/workers/chunks/6a5356ebed70e0f8f979.js +0 -1
  361. package/assets/esri/core/workers/chunks/6c9933f948efd7923aa1.js +0 -1
  362. package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +0 -1
  363. package/assets/esri/core/workers/chunks/76589434d573111a8fb4.js +0 -1
  364. package/assets/esri/core/workers/chunks/767ea5b455b3823afd09.js +0 -1
  365. package/assets/esri/core/workers/chunks/77859a61d059738d057f.js +0 -1
  366. package/assets/esri/core/workers/chunks/78aa5bc6af2758da20d0.js +0 -1
  367. package/assets/esri/core/workers/chunks/7b564226def99fcf79d8.js +0 -1
  368. package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +0 -1
  369. package/assets/esri/core/workers/chunks/7cadfd7444a2a05cf2fb.js +0 -1
  370. package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +0 -1
  371. package/assets/esri/core/workers/chunks/8419934bec7723b0feef.js +0 -1
  372. package/assets/esri/core/workers/chunks/84b0b6e099d949e0fea5.js +0 -1
  373. package/assets/esri/core/workers/chunks/866709e1e55796999f3c.js +0 -1
  374. package/assets/esri/core/workers/chunks/92ab5886aa2d8b9b179f.js +0 -1
  375. package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +0 -1
  376. package/assets/esri/core/workers/chunks/9b676606bf839b7aa433.js +0 -1
  377. package/assets/esri/core/workers/chunks/9dcfaca1f4fa8c8026ac.js +0 -1
  378. package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +0 -30
  379. package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +0 -1
  380. package/assets/esri/core/workers/chunks/a0fa60a24e58f7a47e41.js +0 -1
  381. package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +0 -1
  382. package/assets/esri/core/workers/chunks/a2ac139d0975085279a6.js +0 -1
  383. package/assets/esri/core/workers/chunks/a806ac351ef5da04c250.js +0 -1
  384. package/assets/esri/core/workers/chunks/ab94c9f62462d7a98f6a.js +0 -1
  385. package/assets/esri/core/workers/chunks/abdb05754c50776c3edd.js +0 -1
  386. package/assets/esri/core/workers/chunks/ad488985824fbb830ed6.js +0 -1
  387. package/assets/esri/core/workers/chunks/b0ac4b0b7aec70cfe6eb.js +0 -1
  388. package/assets/esri/core/workers/chunks/b23009d9f8eb7c20ce45.js +0 -1
  389. package/assets/esri/core/workers/chunks/bfbd1ca28ed2f263e58f.js +0 -1
  390. package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +0 -1
  391. package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +0 -1
  392. package/assets/esri/core/workers/chunks/ca6907e14b1dde4d5c07.js +0 -1
  393. package/assets/esri/core/workers/chunks/ce0e627a5e1cb78adce8.js +0 -1
  394. package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +0 -1
  395. package/assets/esri/core/workers/chunks/d21480b078ec9680d4c4.js +0 -1
  396. package/assets/esri/core/workers/chunks/d427d8091f18aa7b3867.js +0 -1
  397. package/assets/esri/core/workers/chunks/d81291dac1932350eccd.js +0 -1
  398. package/assets/esri/core/workers/chunks/da3c54e27a808f4fcc18.js +0 -1
  399. package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +0 -1
  400. package/assets/esri/core/workers/chunks/dd58286dde3b20356f84.js +0 -1
  401. package/assets/esri/core/workers/chunks/df412ef1b6dff43970fd.js +0 -1
  402. package/assets/esri/core/workers/chunks/dfeddb7b17fa9eaae64c.js +0 -1
  403. package/assets/esri/core/workers/chunks/e4e0c5a45cf32973d5d5.js +0 -1
  404. package/assets/esri/core/workers/chunks/e638391801ad83fe4a68.js +0 -1
  405. package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +0 -1
  406. package/assets/esri/core/workers/chunks/e7712467db46e1385cf4.js +0 -1
  407. package/assets/esri/core/workers/chunks/ed2cb60e4f17f46fb78d.js +0 -1
  408. package/assets/esri/core/workers/chunks/edb55329305becdb204f.js +0 -1
  409. package/assets/esri/core/workers/chunks/f1fb2f12371f4c562079.js +0 -1
  410. package/assets/esri/core/workers/chunks/f3dfe1bd1146a6927407.js +0 -1
  411. package/assets/esri/core/workers/chunks/ff48334528d2554db4fe.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1687],{31687(e,t,_){_.r(t),_.d(t,{ColumnDescriptor:()=>r,ColumnId:()=>n,DisplayEncoding:()=>i,DisplayOptimizationXZBuilder:()=>s,DisplayOptimizationZBuilder:()=>o,Extent:()=>a,FieldMetadata:()=>c,GeometryField:()=>u,GeometryInfo:()=>l,GeometryType:()=>g,MultiscaleGeometryField:()=>p,PageEncodingDescriptor:()=>b,ParquetChunk:()=>w,ParquetFile:()=>d,ParquetPatchChunk:()=>f,QuantizedGeometryBuffer:()=>y,Query:()=>h,QueryStream:()=>m,RangeProviderJs:()=>z,RowGroup:()=>F,RowGroupId:()=>q,default:()=>Oe,enableTracing:()=>x,initSync:()=>ke,queryIntersectsXYStatistics:()=>v,queryIntersectsXZStatistics:()=>S});class r{static __wrap(e){e>>>=0;const t=Object.create(r.prototype);return t.__wbg_ptr=e,T.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,T.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_columndescriptor_free(e,0)}compressedSize(){return ve.columndescriptor_compressedSize(this.__wbg_ptr)}compression(){let e,t;try{const _=ve.columndescriptor_compression(this.__wbg_ptr);return e=_[0],t=_[1],ae(_[0],_[1])}finally{ve.__wbindgen_free(e,t,1)}}distinctCount(){const e=ve.columndescriptor_distinctCount(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}encodings(){return ve.columndescriptor_encodings(this.__wbg_ptr)}logicalType(){const e=ve.columndescriptor_logicalType(this.__wbg_ptr);let t;return 0!==e[0]&&(t=ae(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],1*e[1],1)),t}maxValue(){return ve.columndescriptor_maxValue(this.__wbg_ptr)}minValue(){return ve.columndescriptor_minValue(this.__wbg_ptr)}name(){let e,t;try{const _=ve.columndescriptor_name(this.__wbg_ptr);return e=_[0],t=_[1],ae(_[0],_[1])}finally{ve.__wbindgen_free(e,t,1)}}nullCount(){const e=ve.columndescriptor_nullCount(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}numValues(){return ve.columndescriptor_numValues(this.__wbg_ptr)}pageEncodings(){const e=ve.columndescriptor_pageEncodings(this.__wbg_ptr);let t;return 0!==e[0]&&(t=te(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],4*e[1],4)),t}physicalType(){const e=ve.columndescriptor_physicalType(this.__wbg_ptr);return O[e]}uncompressedSize(){return ve.columndescriptor_uncompressedSize(this.__wbg_ptr)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class n{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_columnid_free(e,0)}}Symbol.dispose&&(n.prototype[Symbol.dispose]=n.prototype.free);const i=Object.freeze({PBF:0,0:"PBF"});class s{static __wrap(e){e>>>=0;const t=Object.create(s.prototype);return t.__wbg_ptr=e,M.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_displayoptimizationxzbuilder_free(e,0)}addLevel(e){J(e,p);var t=e.__destroy_into_raw();ve.displayoptimizationxzbuilder_addLevel(this.__wbg_ptr,t)}static new(){const e=ve.displayoptimizationxzbuilder_new();return s.__wrap(e)}setCodeField(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;ve.displayoptimizationxzbuilder_setCodeField(this.__wbg_ptr,t,_)}setEncoding(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se,r=ve.displayoptimizationxzbuilder_setEncoding(this.__wbg_ptr,t,_);if(r[1])throw me(r[0])}setFullExtent(e){ve.displayoptimizationxzbuilder_setFullExtent(this.__wbg_ptr,e)}setGeometryType(e){ve.displayoptimizationxzbuilder_setGeometryType(this.__wbg_ptr,e)}setHasM(e){ve.displayoptimizationxzbuilder_setHasM(this.__wbg_ptr,e)}setHasZ(e){ve.displayoptimizationxzbuilder_setHasZ(this.__wbg_ptr,e)}setMaxLevel(e){ve.displayoptimizationxzbuilder_setMaxLevel(this.__wbg_ptr,e)}setSpatialReference(e,t){var _=be(t)?0:he(t,ve.__wbindgen_malloc,ve.__wbindgen_realloc),r=Se;const n=ve.displayoptimizationxzbuilder_setSpatialReference(this.__wbg_ptr,be(e)?4294967297:e>>>0,_,r);if(n[1])throw me(n[0])}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class o{static __wrap(e){e>>>=0;const t=Object.create(o.prototype);return t.__wbg_ptr=e,A.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,A.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_displayoptimizationzbuilder_free(e,0)}static new(){const e=ve.displayoptimizationzbuilder_new();return o.__wrap(e)}setCodeField(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;ve.displayoptimizationzbuilder_setCodeField(this.__wbg_ptr,t,_)}setCooordinatePrecision(e){ve.displayoptimizationzbuilder_setCooordinatePrecision(this.__wbg_ptr,e)}setFullExtent(e){ve.displayoptimizationzbuilder_setFullExtent(this.__wbg_ptr,e)}setHasM(e){ve.displayoptimizationzbuilder_setHasM(this.__wbg_ptr,e)}setHasZ(e){ve.displayoptimizationzbuilder_setHasZ(this.__wbg_ptr,e)}setSpatialReference(e,t){var _=be(t)?0:he(t,ve.__wbindgen_malloc,ve.__wbindgen_realloc),r=Se;const n=ve.displayoptimizationzbuilder_setSpatialReference(this.__wbg_ptr,be(e)?4294967297:e>>>0,_,r);if(n[1])throw me(n[0])}setXColumn(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;ve.displayoptimizationzbuilder_setXColumn(this.__wbg_ptr,t,_)}setYColumn(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;ve.displayoptimizationzbuilder_setYColumn(this.__wbg_ptr,t,_)}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class a{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,j.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_extent_free(e,0)}get xmax(){return ve.__wbg_get_extent_xmax(this.__wbg_ptr)}get xmin(){return ve.__wbg_get_extent_xmin(this.__wbg_ptr)}get ymax(){return ve.__wbg_get_extent_ymax(this.__wbg_ptr)}get ymin(){return ve.__wbg_get_extent_ymin(this.__wbg_ptr)}set xmax(e){ve.__wbg_set_extent_xmax(this.__wbg_ptr,e)}set xmin(e){ve.__wbg_set_extent_xmin(this.__wbg_ptr,e)}set ymax(e){ve.__wbg_set_extent_ymax(this.__wbg_ptr,e)}set ymin(e){ve.__wbg_set_extent_ymin(this.__wbg_ptr,e)}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class c{static __wrap(e){e>>>=0;const t=Object.create(c.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_fieldmetadata_free(e,0)}get type(){const e=ve.fieldmetadata_esri_type(this.__wbg_ptr);return C[e]}get logicalType(){const e=ve.fieldmetadata_logical_type(this.__wbg_ptr);let t;return 0!==e[0]&&(t=ae(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],1*e[1],1)),t}get name(){let e,t;try{const _=ve.fieldmetadata_name(this.__wbg_ptr);return e=_[0],t=_[1],ae(_[0],_[1])}finally{ve.__wbindgen_free(e,t,1)}}get physicalType(){const e=ve.fieldmetadata_physical_type(this.__wbg_ptr);let t;return 0!==e[0]&&(t=ae(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],1*e[1],1)),t}get is_nested(){return 0!==ve.__wbg_get_fieldmetadata_is_nested(this.__wbg_ptr)}set is_nested(e){ve.__wbg_set_fieldmetadata_is_nested(this.__wbg_ptr,e)}}Symbol.dispose&&(c.prototype[Symbol.dispose]=c.prototype.free);class u{static __wrap(e){e>>>=0;const t=Object.create(u.prototype);return t.__wbg_ptr=e,L.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_geometryfield_free(e,0)}static fromLocation(e,t,_,r){const n=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),i=Se,s=he(t,ve.__wbindgen_malloc,ve.__wbindgen_realloc),o=Se,a=ve.geometryfield_fromLocation(n,i,s,o,_,r);if(a[2])throw me(a[1]);return u.__wrap(a[0])}static fromNative(e,t,_){const r=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),n=Se,i=ve.geometryfield_fromNative(r,n,t,_);if(i[2])throw me(i[1]);return u.__wrap(i[0])}static fromWkb(e,t,_){const r=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),n=Se,i=ve.geometryfield_fromWkb(r,n,t,_);if(i[2])throw me(i[1]);return u.__wrap(i[0])}}Symbol.dispose&&(u.prototype[Symbol.dispose]=u.prototype.free);class l{static __wrap(e){e>>>=0;const t=Object.create(l.prototype);return t.__wbg_ptr=e,G.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,G.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_geometryinfo_free(e,0)}static new(){const e=ve.geometryinfo_new();if(e[2])throw me(e[1]);return l.__wrap(e[0])}setGeometry(e){J(e,u);var t=e.__destroy_into_raw();ve.geometryinfo_setGeometry(this.__wbg_ptr,t)}setOptmizationXZ(e){J(e,s);var t=e.__destroy_into_raw();const _=ve.geometryinfo_setOptmizationXZ(this.__wbg_ptr,t);if(_[1])throw me(_[0])}setOptmizationZ(e){J(e,o);var t=e.__destroy_into_raw();const _=ve.geometryinfo_setOptmizationZ(this.__wbg_ptr,t);if(_[1])throw me(_[0])}}Symbol.dispose&&(l.prototype[Symbol.dispose]=l.prototype.free);const g=Object.freeze({Point:0,0:"Point",Polygon:1,1:"Polygon",Polyline:2,2:"Polyline",Multipoint:3,3:"Multipoint"});class p{static __wrap(e){e>>>=0;const t=Object.create(p.prototype);return t.__wbg_ptr=e,E.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_multiscalegeometryfield_free(e,0)}get level(){return ve.__wbg_get_multiscalegeometryfield_level(this.__wbg_ptr)}get scale(){return ve.__wbg_get_multiscalegeometryfield_scale(this.__wbg_ptr)}has_field(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;return 0!==ve.multiscalegeometryfield_has_field(this.__wbg_ptr,t,_)}static new(e,t,_,r,n){const i=he(_,ve.__wbindgen_malloc,ve.__wbindgen_realloc),s=Se,o=fe(r,ve.__wbindgen_malloc),a=Se,c=fe(n,ve.__wbindgen_malloc),u=Se,l=ve.multiscalegeometryfield_new(e,t,i,s,o,a,c,u);return p.__wrap(l)}set level(e){ve.__wbg_set_multiscalegeometryfield_level(this.__wbg_ptr,e)}set scale(e){ve.__wbg_set_multiscalegeometryfield_scale(this.__wbg_ptr,e)}}Symbol.dispose&&(p.prototype[Symbol.dispose]=p.prototype.free);class b{static __wrap(e){e>>>=0;const t=Object.create(b.prototype);return t.__wbg_ptr=e,U.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_pageencodingdescriptor_free(e,0)}count(){return ve.pageencodingdescriptor_count(this.__wbg_ptr)}encoding(){let e,t;try{const _=ve.pageencodingdescriptor_encoding(this.__wbg_ptr);return e=_[0],t=_[1],ae(_[0],_[1])}finally{ve.__wbindgen_free(e,t,1)}}pageType(){let e,t;try{const _=ve.pageencodingdescriptor_pageType(this.__wbg_ptr);return e=_[0],t=_[1],ae(_[0],_[1])}finally{ve.__wbindgen_free(e,t,1)}}}Symbol.dispose&&(b.prototype[Symbol.dispose]=b.prototype.free);class w{static __wrap(e){e>>>=0;const t=Object.create(w.prototype);return t.__wbg_ptr=e,D.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_parquetchunk_free(e,0)}boundsXMax(e){const t=ve.parquetchunk_boundsXMax(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}boundsXMin(e){const t=ve.parquetchunk_boundsXMin(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}boundsYMax(e){const t=ve.parquetchunk_boundsYMax(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}boundsYMin(e){const t=ve.parquetchunk_boundsYMin(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}static deserialize(e){const t=de(e,ve.__wbindgen_malloc),_=Se,r=ve.parquetchunk_deserialize(t,_);return w.__wrap(r)}hasColumn(e){return 0!==ve.parquetchunk_hasColumn(this.__wbg_ptr,e)}insertPatch(e){J(e,f);var t=e.__destroy_into_raw();ve.parquetchunk_insertPatch(this.__wbg_ptr,t)}insertPatchBytes(e){const t=de(e,ve.__wbindgen_malloc),_=Se;ve.parquetchunk_insertPatchBytes(this.__wbg_ptr,t,_)}readAttribute(e,t){return ve.parquetchunk_readAttribute(this.__wbg_ptr,e,t)}readCoordsUnsafe(e){return ve.parquetchunk_readCoordsUnsafe(this.__wbg_ptr,e)}readIdsUnsafe(){return ve.parquetchunk_readIdsUnsafe(this.__wbg_ptr)}readLengthsUnsafe(e){return ve.parquetchunk_readLengthsUnsafe(this.__wbg_ptr,e)}readX(e){const t=ve.parquetchunk_readX(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}readY(e){const t=ve.parquetchunk_readY(this.__wbg_ptr,e);return 0===t[0]?void 0:t[1]}rowGroup(){return ve.parquetchunk_rowGroup(this.__wbg_ptr)>>>0}rowId(e){return ve.parquetchunk_rowId(this.__wbg_ptr,e)}serialize(){const e=ve.parquetchunk_serialize(this.__wbg_ptr);var t=_e(e[0],e[1]).slice();return ve.__wbindgen_free(e[0],1*e[1],1),t}size(){return ve.parquetchunk_size(this.__wbg_ptr)>>>0}transformGeometry(e,t,_,r,n,i){J(e,y);const s=ve.parquetchunk_transformGeometry(this.__wbg_ptr,e.__wbg_ptr,t,_,r,n,i);return 16777215===s?void 0:0!==s}}Symbol.dispose&&(w.prototype[Symbol.dispose]=w.prototype.free);class d{static __wrap(e){e>>>=0;const t=Object.create(d.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_parquetfile_free(e,0)}byteLength(){return ve.parquetfile_byteLength(this.__wbg_ptr)}compressionCodecs(){const e=ve.parquetfile_compressionCodecs(this.__wbg_ptr);var t=te(e[0],e[1]).slice();return ve.__wbindgen_free(e[0],4*e[1],4),t}createChunkPatch(e,t,_,r){const n=we(t,ve.__wbindgen_malloc),i=Se,s=ye(_,ve.__wbindgen_malloc),o=Se;return ve.parquetfile_createChunkPatch(this.__wbg_ptr,e,n,i,s,o,be(r)?0:N(r))}createdBy(){const e=ve.parquetfile_createdBy(this.__wbg_ptr);let t;return 0!==e[0]&&(t=ae(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],1*e[1],1)),t}executeQuery(e,t){return J(e,h),ve.parquetfile_executeQuery(this.__wbg_ptr,e.__wbg_ptr,be(t)?0:N(t))}fields(e){const t=ve.parquetfile_fields(this.__wbg_ptr,e);var _=te(t[0],t[1]).slice();return ve.__wbindgen_free(t[0],4*t[1],4),_}static fromBinary(e,t){const _=de(e,ve.__wbindgen_malloc),r=Se;let n=0;return be(t)||(J(t,l),n=t.__destroy_into_raw()),ve.parquetfile_fromBinary(_,r,n)}static fromUrl(e,t,_,r){const n=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),i=Se;let s=0;return be(r)||(J(r,l),s=r.__destroy_into_raw()),ve.parquetfile_fromUrl(n,i,t,_,s)}getColumnDescriptor(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se,n=ve.parquetfile_getColumnDescriptor(this.__wbg_ptr,t,_);return r.__wrap(n)}getColumnDescriptors(){const e=ve.parquetfile_getColumnDescriptors(this.__wbg_ptr);var t=te(e[0],e[1]).slice();return ve.__wbindgen_free(e[0],4*e[1],4),t}getColumnId(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se,r=ve.parquetfile_getColumnId(this.__wbg_ptr,t,_);return 4294967297===r?void 0:r}keyValueMetadata(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se,r=ve.parquetfile_keyValueMetadata(this.__wbg_ptr,t,_);let n;return 0!==r[0]&&(n=ae(r[0],r[1]).slice(),ve.__wbindgen_free(r[0],1*r[1],1)),n}keys(){const e=ve.parquetfile_keys(this.__wbg_ptr);let t;return 0!==e[0]&&(t=te(e[0],e[1]).slice(),ve.__wbindgen_free(e[0],4*e[1],4)),t}numColumns(){return ve.parquetfile_numColumns(this.__wbg_ptr)>>>0}numFields(){return ve.parquetfile_numFields(this.__wbg_ptr)>>>0}numRows(){return ve.parquetfile_numRows(this.__wbg_ptr)>>>0}readAttribute(e,t,_){return ve.parquetfile_readAttribute(this.__wbg_ptr,e,t,_)}rowGroups(){const e=ve.parquetfile_rowGroups(this.__wbg_ptr);var t=te(e[0],e[1]).slice();return ve.__wbindgen_free(e[0],4*e[1],4),t}updateChunkFields(e,t,_){J(e,w);const r=ye(t,ve.__wbindgen_malloc),n=Se;return ve.parquetfile_updateChunkFields(this.__wbg_ptr,e.__wbg_ptr,r,n,be(_)?0:N(_))}version(){return ve.parquetfile_version(this.__wbg_ptr)}}Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);class f{static __wrap(e){e>>>=0;const t=Object.create(f.prototype);return t.__wbg_ptr=e,B.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,B.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_parquetpatchchunk_free(e,0)}static deserialize(e){const t=de(e,ve.__wbindgen_malloc),_=Se,r=ve.parquetpatchchunk_deserialize(t,_);return f.__wrap(r)}serialize(){const e=ve.parquetpatchchunk_serialize(this.__wbg_ptr);var t=_e(e[0],e[1]).slice();return ve.__wbindgen_free(e[0],1*e[1],1),t}}Symbol.dispose&&(f.prototype[Symbol.dispose]=f.prototype.free);class y{static __wrap(e){e>>>=0;const t=Object.create(y.prototype);return t.__wbg_ptr=e,X.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_quantizedgeometrybuffer_free(e,0)}static new(){const e=ve.quantizedgeometrybuffer_new();return y.__wrap(e)}readCoordsUnsafe(){return ve.quantizedgeometrybuffer_readCoordsUnsafe(this.__wbg_ptr)}readLengthsUnsafe(){return ve.quantizedgeometrybuffer_readLengthsUnsafe(this.__wbg_ptr)}}Symbol.dispose&&(y.prototype[Symbol.dispose]=y.prototype.free);class h{static __wrap(e){e>>>=0;const t=Object.create(h.prototype);return t.__wbg_ptr=e,Z.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_query_free(e,0)}static new(){const e=ve.query_new();return h.__wrap(e)}setExtent(e){ve.query_setExtent(this.__wbg_ptr,e)}setIds(e){const t=we(e,ve.__wbindgen_malloc),_=Se;ve.query_setIds(this.__wbg_ptr,t,_)}setOutFields(e){const t=ye(e,ve.__wbindgen_malloc),_=Se;ve.query_setOutFields(this.__wbg_ptr,t,_)}setOutSpatialReference(e){const t=ve.query_setOutSpatialReference(this.__wbg_ptr,e);if(t[1])throw me(t[0])}setQuantizationTransform(e){ve.query_setQuantizationTransform(this.__wbg_ptr,e)}setReturnGeometry(e){ve.query_setReturnGeometry(this.__wbg_ptr,e)}setScale(e){ve.query_setScale(this.__wbg_ptr,e)}setWhere(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se;ve.query_setWhere(this.__wbg_ptr,t,_)}setWhereEvaluator(e){ve.query_setWhereEvaluator(this.__wbg_ptr,e)}setWhereFields(e){const t=ye(e,ve.__wbindgen_malloc),_=Se;ve.query_setWhereFields(this.__wbg_ptr,t,_)}}Symbol.dispose&&(h.prototype[Symbol.dispose]=h.prototype.free);class m{static __wrap(e){e>>>=0;const t=Object.create(m.prototype);return t.__wbg_ptr=e,Y.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_querystream_free(e,0)}next(e){return ve.querystream_next(this.__wbg_ptr,be(e)?0:N(e))}}Symbol.dispose&&(m.prototype[Symbol.dispose]=m.prototype.free);class z{static __wrap(e){e>>>=0;const t=Object.create(z.prototype);return t.__wbg_ptr=e,H.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_rangeproviderjs_free(e,0)}static new(e,t){const _=ve.rangeproviderjs_new(e,t);return z.__wrap(_)}static withFetch(){const e=ve.rangeproviderjs_withFetch();return z.__wrap(e)}}Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);class F{static __wrap(e){e>>>=0;const t=Object.create(F.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_rowgroup_free(e,0)}columnDescriptorForAttribute(e){const t=he(e,ve.__wbindgen_malloc,ve.__wbindgen_realloc),_=Se,n=ve.rowgroup_columnDescriptorForAttribute(this.__wbg_ptr,t,_);return r.__wrap(n)}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class q{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const e=this.__destroy_into_raw();ve.__wbg_rowgroupid_free(e,0)}}function x(){ve.enableTracing()}function v(e,t,_,r,n,i,s){const o=ve.queryIntersectsXYStatistics(e,t,_,r,n,i,s);if(o[2])throw me(o[1]);return 0!==o[0]}function S(e,t,_,r,n,i,s){const o=ve.queryIntersectsXZStatistics(e,t,_,r,n,i,s);if(o[2])throw me(o[1]);return 0!==o[0]}function R(){const e={__proto__:null,__wbg___wbindgen_is_function_3baa9db1a987f47d:function(e){return"function"==typeof e},__wbg___wbindgen_is_undefined_29a43b4d42920abd:function(e){return void 0===e},__wbg___wbindgen_number_get_c7f42aed0525c451:function(e,t){const _="number"==typeof t?t:void 0;ne().setFloat64(e+8,be(_)?0:_,!0),ne().setInt32(e+0,!be(_),!0)},__wbg___wbindgen_string_get_7ed5322991caaec5:function(e,t){const _="string"==typeof t?t:void 0;var r=be(_)?0:he(_,ve.__wbindgen_malloc,ve.__wbindgen_realloc),n=Se;ne().setInt32(e+4,n,!0),ne().setInt32(e+0,r,!0)},__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw new Error(ae(e,t))},__wbg__wbg_cb_unref_b46c9b5a9f08ec37:function(e){e._wbg_cb_unref()},__wbg_aborted_072e5543dce0fc05:function(e){return e.aborted},__wbg_apply_4c35bd236dda9c14:function(){return pe(function(e,t,_){return e.apply(t,_)},arguments)},__wbg_call_a24592a6f349a97e:function(){return pe(function(e,t,_){return e.call(t,_)},arguments)},__wbg_call_bb28efe6b2f55b86:function(){return pe(function(e,t,_,r){return e.call(t,_,r)},arguments)},__wbg_columndescriptor_new:function(e){return r.__wrap(e)},__wbg_error_a6fa202b58aa1cd3:function(e,t){let _,r;try{_=e,r=t,console.error(ae(e,t))}finally{ve.__wbindgen_free(_,r,1)}},__wbg_fieldmetadata_new:function(e){return c.__wrap(e)},__wbg_get_6011fa3a58f61074:function(){return pe(function(e,t){return Reflect.get(e,t)},arguments)},__wbg_get_8360291721e2339f:function(e,t){return e[t>>>0]},__wbg_length_9f1775224cf1d815:function(e){return e.length},__wbg_new_0c7403db6e782f19:function(e){return new Uint8Array(e)},__wbg_new_227d7c05414eb861:function(){return new Error},__wbg_new_5e360d2ff7b9e1c3:function(e,t){return new Error(ae(e,t))},__wbg_new_682678e2f47e32bc:function(){return new Array},__wbg_new_8bc2b540bbfdbb81:function(e){return new Uint32Array(e)},__wbg_new_from_slice_158b7b5c2056cc2c:function(e,t){return new Int16Array(ee(e,t))},__wbg_new_from_slice_3115b094b1002246:function(e,t){return new Float64Array(K(e,t))},__wbg_new_no_args_a5300b4b3ea60351:function(e,t){return new Function(ae(e,t))},__wbg_new_typed_323f37fd55ab048d:function(e,t){try{var _={a:e,b:t};return new Promise((e,t)=>{const r=_.a;_.a=0;try{return function(e,t,_,r){ve.wasm_bindgen__convert__closures_____invoke__h40273f30e88f7d49(e,t,_,r)}(r,_.b,e,t)}finally{_.a=r}})}finally{_.a=0}},__wbg_new_with_length_223c4ea248649e55:function(e){return new Array(e>>>0)},__wbg_pageencodingdescriptor_new:function(e){return b.__wrap(e)},__wbg_parquetchunk_new:function(e){return w.__wrap(e)},__wbg_parquetfile_new:function(e){return d.__wrap(e)},__wbg_parquetpatchchunk_new:function(e){return f.__wrap(e)},__wbg_prototypesetcall_a6b02eb00b0f4ce2:function(e,t,_){Uint8Array.prototype.set.call(_e(e,t),_)},__wbg_push_471a5b068a5295f6:function(e,t){return e.push(t)},__wbg_querystream_new:function(e){return m.__wrap(e)},__wbg_queueMicrotask_5d15a957e6aa920e:function(e){queueMicrotask(e)},__wbg_queueMicrotask_f8819e5ffc402f36:function(e){return e.queueMicrotask},__wbg_resolve_e6c466bc1052f16c:function(e){return Promise.resolve(e)},__wbg_rowgroup_new:function(e){return F.__wrap(e)},__wbg_set_3bf1de9fab0cd644:function(e,t,_){e[t>>>0]=_},__wbg_set_name_f49c6e6bbfc8a63b:function(e,t,_){e.name=ae(t,_)},__wbg_stack_3b0d974bbf31e44f:function(e,t){const _=he(t.stack,ve.__wbindgen_malloc,ve.__wbindgen_realloc),r=Se;ne().setInt32(e+4,r,!0),ne().setInt32(e+0,_,!0)},__wbg_static_accessor_GLOBAL_8cfadc87a297ca02:function(){const e=void 0===_.g?null:_.g;return be(e)?0:N(e)},__wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf:function(){const e="undefined"==typeof globalThis?null:globalThis;return be(e)?0:N(e)},__wbg_static_accessor_SELF_e445c1c7484aecc3:function(){const e="undefined"==typeof self?null:self;return be(e)?0:N(e)},__wbg_static_accessor_WINDOW_f20e8576ef1e0f17:function(){const e="undefined"==typeof window?null:window;return be(e)?0:N(e)},__wbg_then_792e0c862b060889:function(e,t,_){return e.then(t,_)},__wbg_then_8e16ee11f05e4827:function(e,t){return e.then(t)},__wbg_valueOf_25e11684e38026ef:function(e){return e.valueOf()},__wbg_valueOf_91a54faf8ce0976a:function(e){return e.valueOf()},__wbindgen_cast_0000000000000001:function(e,t){return function(e,t,_){const r={a:e,b:t,cnt:1},n=(...e)=>{r.cnt++;const t=r.a;r.a=0;try{return _(t,r.b,...e)}finally{r.a=t,n._wbg_cb_unref()}};return n._wbg_cb_unref=()=>{0===--r.cnt&&(ve.__wbindgen_destroy_closure(r.a,r.b),r.a=0,$.unregister(r))},$.register(n,r,r),n}(e,t,k)},__wbindgen_cast_0000000000000002:function(e){return e},__wbindgen_cast_0000000000000003:function(e){return e},__wbindgen_cast_0000000000000004:function(e,t){return K(e,t)},__wbindgen_cast_0000000000000005:function(e,t){return ee(e,t)},__wbindgen_cast_0000000000000006:function(e,t){return function(e,t){return e>>>=0,ue().subarray(e/4,e/4+t)}(e,t)},__wbindgen_cast_0000000000000007:function(e,t){return _e(e,t)},__wbindgen_cast_0000000000000008:function(e,t){return ae(e,t)},__wbindgen_cast_0000000000000009:function(e,t){var _=_e(e,t).slice();return ve.__wbindgen_free(e,1*t,1),_},__wbindgen_init_externref_table:function(){const e=ve.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}};return{__proto__:null,"./bundle_bg.js":e}}function k(e,t,_){const r=ve.wasm_bindgen__convert__closures_____invoke__h0f8118aa5481cebe(e,t,_);if(r[1])throw me(r[0])}Symbol.dispose&&(q.prototype[Symbol.dispose]=q.prototype.free);const O=["boolean","int32","int64","int96","float","double","byte-array","fixed-byte-array"],C=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],T="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_columndescriptor_free(e>>>0,1)),I="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_columnid_free(e>>>0,1)),M="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_displayoptimizationxzbuilder_free(e>>>0,1)),A="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_displayoptimizationzbuilder_free(e>>>0,1)),j="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_extent_free(e>>>0,1)),P="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_fieldmetadata_free(e>>>0,1)),L="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_geometryfield_free(e>>>0,1)),G="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_geometryinfo_free(e>>>0,1)),E="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_multiscalegeometryfield_free(e>>>0,1)),U="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_pageencodingdescriptor_free(e>>>0,1)),D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_parquetchunk_free(e>>>0,1)),W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_parquetfile_free(e>>>0,1)),B="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_parquetpatchchunk_free(e>>>0,1)),X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_quantizedgeometrybuffer_free(e>>>0,1)),Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_query_free(e>>>0,1)),Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_querystream_free(e>>>0,1)),H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_rangeproviderjs_free(e>>>0,1)),V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_rowgroup_free(e>>>0,1)),Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbg_rowgroupid_free(e>>>0,1));function N(e){const t=ve.__externref_table_alloc();return ve.__wbindgen_externrefs.set(t,e),t}function J(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ve.__wbindgen_destroy_closure(e.a,e.b));function K(e,t){return e>>>=0,se().subarray(e/8,e/8+t)}function ee(e,t){return e>>>=0,(null!==oe&&0!==oe.byteLength||(oe=new Int16Array(ve.memory.buffer)),oe).subarray(e/2,e/2+t)}function te(e,t){e>>>=0;const _=ne(),r=[];for(let n=e;n<e+4*t;n+=4)r.push(ve.__wbindgen_externrefs.get(_.getUint32(n,!0)));return ve.__externref_drop_slice(e,t),r}function _e(e,t){return e>>>=0,ge().subarray(e/1,e/1+t)}let re=null;function ne(){return(null===re||!0===re.buffer.detached||void 0===re.buffer.detached&&re.buffer!==ve.memory.buffer)&&(re=new DataView(ve.memory.buffer)),re}let ie=null;function se(){return null!==ie&&0!==ie.byteLength||(ie=new Float64Array(ve.memory.buffer)),ie}let oe=null;function ae(e,t){return function(e,t){return qe+=t,qe>=Fe&&(ze=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),ze.decode(),qe=t),ze.decode(ge().subarray(e,e+t))}(e>>>=0,t)}let ce=null;function ue(){return null!==ce&&0!==ce.byteLength||(ce=new Uint32Array(ve.memory.buffer)),ce}let le=null;function ge(){return null!==le&&0!==le.byteLength||(le=new Uint8Array(ve.memory.buffer)),le}function pe(e,t){try{return e.apply(this,t)}catch(e){const t=N(e);ve.__wbindgen_exn_store(t)}}function be(e){return null==e}function we(e,t){const _=t(4*e.length,4)>>>0;return ue().set(e,_/4),Se=e.length,_}function de(e,t){const _=t(1*e.length,1)>>>0;return ge().set(e,_/1),Se=e.length,_}function fe(e,t){const _=t(8*e.length,8)>>>0;return se().set(e,_/8),Se=e.length,_}function ye(e,t){const _=t(4*e.length,4)>>>0;for(let t=0;t<e.length;t++){const r=N(e[t]);ne().setUint32(_+4*t,r,!0)}return Se=e.length,_}function he(e,t,_){if(void 0===_){const _=xe.encode(e),r=t(_.length,1)>>>0;return ge().subarray(r,r+_.length).set(_),Se=_.length,r}let r=e.length,n=t(r,1)>>>0;const i=ge();let s=0;for(;s<r;s++){const t=e.charCodeAt(s);if(t>127)break;i[n+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),n=_(n,r,r=s+3*e.length,1)>>>0;const t=ge().subarray(n+s,n+r);s+=xe.encodeInto(e,t).written,n=_(n,r,s,1)>>>0}return Se=s,n}function me(e){const t=ve.__wbindgen_externrefs.get(e);return ve.__externref_table_dealloc(e),t}let ze=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});ze.decode();const Fe=2146435072;let qe=0;const xe=new TextEncoder;"encodeInto"in xe||(xe.encodeInto=function(e,t){const _=xe.encode(e);return t.set(_),{read:e.length,written:_.length}});let ve,Se=0;function Re(e,t){return ve=e.exports,re=null,ie=null,oe=null,ce=null,le=null,ve.__wbindgen_start(),ve}function ke(e){if(void 0!==ve)return ve;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module:e}=e):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const t=R();return e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e)),Re(new WebAssembly.Instance(e,t))}async function Oe(e){if(void 0!==ve)return ve;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const t=R();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:_,module:r}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(!e.ok||!function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1}(e.type)||"application/wasm"===e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const _=await e.arrayBuffer();return await WebAssembly.instantiate(_,t)}{const _=await WebAssembly.instantiate(e,t);return _ instanceof WebAssembly.Instance?{instance:_,module:e}:_}}(await e,t);return Re(_)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4580],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),o=n(34727),s=n(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,o=`#${l(this.r,r)}${l(this.g,r)}${l(this.b,r)}${i?l(Math.round(255*this.a),r):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),n=a(this.g),r=a(this.b);return 0===e||1!==this.a?[t,n,r,a(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>v});var r,i,o=n(5482),s=n(37838),a=n(69540),l=n(51447),u=n(25482),c=n(53966),f=n(36708),h=n(24326),d=n(91429),p=n(12195),m=n(65864),g=n(50498),y=n(55156),M=n(60950),b=n(54339),I=n(94128),w=n(33910);function C(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let v=class extends((0,a.OU)(u.o)){static{r=I.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.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 i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,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,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,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 n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.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(){const e={aggregateGeometries:C(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,p.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,f.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,f.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,o.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,m.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],v.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,d.MZ)({value:null})],v.prototype,"attributes",null),(0,o.Cg)([(0,d.MZ)({value:null,types:g.yR,json:{read:m.rS}})],v.prototype,"geometry",null),(0,o.Cg)([(0,d.MZ)()],v.prototype,"distance",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean})],v.prototype,"isAggregate",void 0),(0,o.Cg)([(0,d.MZ)({clonable:!1})],v.prototype,"layer",void 0),(0,o.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"origin",void 0),(0,o.Cg)([(0,d.MZ)({type:s.A,value:null})],v.prototype,"popupTemplate",null),(0,o.Cg)([(0,d.MZ)({clonable:"reference"})],v.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,d.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],v.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,d.MZ)({value:null,types:w.Es})],v.prototype,"symbol",null),(0,o.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],v.prototype,"_version",void 0),(0,o.Cg)([(0,d.MZ)({type:Boolean,value:!0})],v.prototype,"visible",null),v=i=(0,o.Cg)([(0,d.$K)("esri.Graphic")],v)},40876(e,t,n){n.d(t,{Eq:()=>d,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>p,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>I});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!r[e]||!!r[e.toLowerCase()]}function o(e){return r[e]??r[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const i=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&r,s>>=n,a[3]=i*l/255),l=s&r,s>>=n,a[2]=i*l,l=s&r,s>>=n,a[1]=i*l,l=s&r,s>>=n,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function f(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(e[3]):1,e}function d(e){let t=i(e)?o(e):null;return t??=f(e),t??=c(e),t}function p(e){const t=d(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const M=2.2,b=1/M;function I(e){return e**b}},66344(e,t,n){n.d(t,{q:()=>a});const r=!!(0,n(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class i{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const n=this._db.get(e.id+t);return n?.size??0}put(e,t,n,i,s){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==n&&this._notifyRemove(t,a.entry,a.size,0)),i>this._maxSize)return void this._notifyRemove(t,n,i,0);if(void 0===n)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return r||console.warn(`Refusing to cache entry with size ${i} for key ${t}`),void this._notifyRemove(t,n,0,0);const l=1+Math.max(s,-4)- -3;this._db.set(t,new o(n,i,l)),this._size+=i,e.size+=i,this._checkSize()}updateSize(e,t){t=e.id+t;const n=this._db.get(t);if(!n)return;this._size-=n.size,e.size-=n.size;let r=n.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,n.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}n.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const n=this._db.get(t);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(t),++this._hit,n.entry;++this._miss}get(e,t){t=e.id+t;const n=this._db.get(t);if(void 0!==n)return this._db.delete(t),n.lives=n.lifetime,this._db.set(t,n),++this._hit,n.entry;++this._miss}peek(e,t){const n=this._db.get(e.id+t);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},n=new Array;this._db.forEach((e,r)=>{const i=e.lifetime;n[i]=(n[i]||0)+e.size,this._clients.forEach(n=>{const{id:i,name:o}=n;if(r.startsWith(i)){const n=t[o]||0;t[o]=n+e.size}})});const r={};this._clients.forEach(e=>{const n=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const i=t[n]||0;t[n]=i,r[n]=Math.round(100*e.hitRate)+"%"}else r[n]="0%"});const i=Object.keys(t);i.sort((e,n)=>t[n]-t[e]),i.forEach(n=>e[n]=Math.round(t[n]/2**20)+"MB / "+r[n]);for(let t=n.length-1;t>=0;--t){const r=n[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,n)=>{n.startsWith(t)&&(this._size-=e.size,this._db.delete(n),this._notifyRemove(n,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,n]of this._db)t.startsWith(e.id)&&(yield n.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,n,r){const i=this._clients.get(e.split(s)[0])?.removeFunc,o=i?.(t,r,n);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const n=t??this;if(n.size<=e)return;const r=t?.id;let i=!0;for(;i;){i=!1;for(const[o,a]of this._db)if(0===a.lifetime&&(!r||o.startsWith(r))){const r=t??this._clients.get(o.split(s)[0]);if(this._purgeItem(o,a,r),n.size<=.9*e)return;i||=this._db.has(o)}}for(const[i,o]of this._db)if(!r||i.startsWith(r)){const r=t??this._clients.get(i.split(s)[0]);if(this._purgeItem(i,o,r),n.size<=.9*e)return}}_purgeItem(e,t,n){if(this._db.delete(e),t.lives<=1){this._size-=t.size,n&&(n.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,n&&(n.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new i(0);class o{constructor(e,t,n){this.entry=e,this.size=t,this.lifetime=n,this.lives=n}}const s=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new i(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,n=1){this._storage.put(this,e,t,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,n){n.d(t,{Ui:()=>h});var r=n(69622),i=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof r.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function f(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=l(e),i=l(t);if(0===r.length&&0===i.length)return;if(!r.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 o=i.filter(e=>!r.includes(e)),h=r.filter(e=>!i.includes(e)),d=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,h).sort(),p=c(e);if(p&&s.has(p)&&d.length)return{type:"complete",oldValue:e,newValue:t};let m;const g=a(e)&&a(t);for(const r of d){const i=u(e,r),o=u(t,r);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?f(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=m?m.diff[r]=s:m={type:"partial",diff:{[r]:s}})}}return m}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:f(e,t)}},9093(e,t,n){function r(){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]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,s,a,l,u,c,f,h,d,p,m){return[e,t,n,r,i,o,s,a,l,u,c,f,h,d,p,m]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>x,Bw:()=>o,C:()=>s,Cc:()=>_,DI:()=>C,Il:()=>q,Io:()=>M,Ln:()=>y,Om:()=>S,Qr:()=>f,Re:()=>u,S8:()=>v,T9:()=>m,WQ:()=>l,Z0:()=>k,_S:()=>d,aI:()=>P,ei:()=>A,fw:()=>T,g7:()=>F,gL:()=>z,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>N,jk:()=>p,lo:()=>V,lw:()=>c,m3:()=>I,oW:()=>L,t2:()=>j,tn:()=>h,uE:()=>D,xg:()=>Z,ze:()=>w});var r=n(51850),i=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function f(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function d(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function I(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function C(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function v(e,t){const n=t[0],r=t[1],i=t[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function x(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2];return e[0]=i*l-o*a,e[1]=o*s-r*l,e[2]=r*a-i*s,e}function _(e,t,n,r){const i=t[0],o=t[1],s=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e}function k(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12],e[1]=n[1]*r+n[5]*i+n[9]*o+n[13],e[2]=n[2]*r+n[6]*i+n[10]*o+n[14],e}function A(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function z(e,t,n){return T(e,t,n[0],n[1],n[2],n[3])}function T(e,t,n,r,i,o){const s=t[0],a=t[1],l=t[2],u=r*l-i*a,c=i*s-n*l,f=n*a-r*s,h=r*f-i*c,d=i*u-n*f,p=n*c-r*u,m=2*o;return e[0]=s+u*m+2*h,e[1]=a+c*m+2*d,e[2]=l+f*m+2*p,e}function F(e,t){v(R,e),v(E,t);const n=S(R,E);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),E=(0,r.vt)();function j(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function P(e,t){if(e===t)return!0;const n=e[0],r=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function L(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],o=n[2]-t[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=r*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const N=u,O=c,G=f,Z=M,V=b,q=o,D=I;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:F,bezier:function(e,t,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,f=3*l*s,h=l*o;return e[0]=t[0]*u+n[0]*c+r[0]*f+i[0]*h,e[1]=t[1]*u+n[1]*c+r[1]*f+i[1]*h,e[2]=t[2]*u+n[2]*c+r[2]*f+i[2]*h,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:s,cross:x,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,f=r*a-i*s,h=Math.sqrt(u*u+c*c+f*f);return e[0]=u/h,e[1]=c/h,e[2]=f/h,e},direction:L,dist:Z,distance:M,div:G,divide:f,dot:S,equals:P,exactEquals:j,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+n[0]*l+r[0]*u+i[0]*c,e[1]=t[1]*a+n[1]*l+r[1]*u+i[1]*c,e[2]=t[2]*a+n[2]*l+r[2]*u+i[2]*c,e},inverse:C,len:q,length:o,lerp:_,max:m,min:p,mul:O,multiply:c,negate:w,normalize:v,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*s,e[1]=Math.sin(r)*s,e[2]=o*t,e},rotateX:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:a,sign:d,sqrDist:V,sqrLen:D,squaredDistance:b,squaredLength:I,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:N,subtract:u,transformMat3:A,transformMat4:k,transformQuat:z,transformQuatValues:T},Symbol.toStringTag,{value:"Module"}))},90629(e,t,n){n.d(t,{Lz:()=>i,PN:()=>o,cr:()=>s,gs:()=>l,r_:()=>u,tc:()=>a}),n(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function o(e){return e?72*e/96:0}function s(e){if("string"==typeof e){const t=e.match(r);if(t){const n=Number(t[1]),r=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),s="px"===r?o(n):n;return i?-s:s}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function a(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)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 o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429);let l=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,s,a=Math.floor(e.length/3)){const l=(0,r.jd)(t,o);if(null==l)return!1;if(l===r.pO){if(e===i&&n===s)return!0;const t=n+3*a;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*a;for(let t=n,r=s;t<u;t+=3,r+=3)l(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>f,jd:()=>c,pO:()=>d,w5:()=>u});var r=n(34727),i=n(86211),o=n(73941),s=n(79258),a=n(34403),l=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:w,6:null,8:null,0:null,3:m,11:g,2:d,4:_},5:{5:d,7:null,9:null,10:d,1:w,6:null,8:null,0:null,3:m,11:g,2:d,4:_},7:{5:null,7:d,9:null,10:d,1:null,6:I,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const i=e[t]/R,o=F-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:d,11:function(e,t,n,r){p(e,t,n,r),g(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),_(n,r,n,r)}},4:{5:k,7:null,9:null,10:k,1:function(e,t,n,r){k(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){k(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){k(e,t,n,r),g(n,r,n,r)},2:k,4:d},1:{5:x,7:null,9:null,10:x,1:d,6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),g(n,r,n,r)},2:x,4:function(e,t,n,r){x(e,t,n,r),_(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:v,10:v,1:null,6:null,8:d,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:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:w,6:I,8:b,0:null,3:m,11:g,2:d,4:_},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),m(n,r,n,r)},11:d,2:y,4:function(e,t,n,r){y(e,t,n,r),_(n,r,n,r)}}};function c(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(A.source.spatialReference===e&&A.dest.spatialReference===t)return A;const n=h(e,A.source),r=h(t,A.dest);return 0===n&&0===r?(0,l.aI)(e,t)?A.projector=d:A.projector=null:A.projector=u[n][r],A}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,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function d(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=T*(e[t]/R),n[r+1]=T*(F-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function m(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(z*e[t+1],-s,s),l=Math.sin(a);n[i++]=z*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function g(e,t,n,r){n[r]=e[t]*E,n[r+1]=e[t+1]*E,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*j,n[r+1]=e[t+1]*j,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const o=i+(e[t+2]??0),s=z*e[t],a=z*e[t+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function b(e,t,n,r){M(e,t,n,r,s.Sw.radius)}function I(e,t,n,r){M(e,t,n,r,s.sH.radius)}function w(e,t,n,r){M(e,t,n,r,s.$O.radius)}function C(e,t,n,i,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),f=Math.atan2(a,s);n[i++]=T*f,n[i++]=T*c,n[i]=u-o}function v(e,t,n,r){C(e,t,n,r,s.Sw.radius)}function S(e,t,n,r){C(e,t,n,r,s.sH.radius)}function x(e,t,n,r){C(e,t,n,r,s.$O.radius)}function _(e,t,n,r){!function(e,t,n,r,i){const o=z*e[t],s=z*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,n,r,s.$O)}function k(e,t,n,r){const i=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,f,h,d,p,m,g,y,M,b,I,w,C,v,S,x,_,k,A,z,F;c=Math.abs(u),f=o*o+l*l,h=Math.sqrt(f),d=f+u*u,p=Math.sqrt(d),z=Math.atan2(l,o),m=u*u/d,g=f/d,v=i.a2/p,S=i.a3-i.a4/p,g>.3?(y=c/p*(1+g*(i.a1+v+m*S)/p),A=Math.asin(y),b=y*y,M=Math.sqrt(1-b)):(M=h/p*(1-m*(i.a5-v-g*S)/p),A=Math.acos(M),b=1-M*M,y=Math.sqrt(b)),I=1-s.$O.eccentricitySquared*b,w=s.$O.radius/Math.sqrt(I),C=i.a6*w,v=h-w*M,S=c-C*y,_=M*v+y*S,x=M*S-y*v,k=x/(C/I+_),A+=k,F=_+x*k/2,u<0&&(A=-A),n[r++]=T*z,n[r++]=T*A,n[r]=F}const A={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},z=(0,r.kU)(1),T=(0,r.KJ)(1),F=.5*Math.PI,R=s.$O.radius,E=R*Math.PI/180,j=180/(R*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>B,isEqualBaseGCS:()=>H,isLoaded:()=>R,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>j,load:()=>L,project:()=>N,projectAsync:()=>U,projectExtent:()=>ie,projectMany:()=>O,projectMultipoint:()=>Q,projectOrLoad:()=>Z,projectOrLoadMany:()=>V,projectPoint:()=>J,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>P,test:()=>$,tryProject:()=>G,unload:()=>D});var r=n(49186),i=n(17676),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),d=n(86738),p=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),b=n(9762),I=n(49208);function w(e,t,n,r,i,o){return C[0]=e,C[1]=t,C[2]=n,(0,b.projectBuffer)(C,r,0,i,o,0)}const C=(0,a.vt)();var v=n(60408),S=n(21325),x=n(52006);let _=null,k=null,A=null,z=null,T={};const F=new s.I;function R(){return!!(k?.isLoaded()&&A?.isLoaded()&&z?.isLoaded())}function E(){return!!R()||((0,o.gc)(F),L(),!1)}function j(e,t){return!e||!t||W(e,t)||E()}function P(e,t){return!W(e,t)&&!R()}async function L(e){null==_&&(_=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(k=e,k.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(A=e,A.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(z=e,z.load()))])),await _,(0,i.Te)(e),F.notify()}function N(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),O(e,e[0].spatialReference,t,n)):((0,l.f)(e),O([e],e.spatialReference,t,n)[0])}function O(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return O(e.map(e=>K(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return O(e,t,g.A.WGS84).map(e=>K(e,g.A.WGS84,n));if(!R())throw new q;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:z.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.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,n);let i=T[e];i||(i=z.getTransformation(t,n)||new M.A,T[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?k.executeMany(e,n,r):A.executeMany(e,n,r)}function G(e,t,n){try{return N(e,t,n)}catch(e){return null}}function Z(e,t){const n=V([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function V(e,t,n){if(!R())for(const n of e)if(null!=n&&!(0,S.aI)(n.spatialReference,t)&&(0,S.fn)(n.spatialReference)&&(0,S.fn)(t)&&!W(n.spatialReference,t))return(0,o.gc)(F),{pending:L(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?N(e,t,n):null)}}class q extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){_=null,k=null,A=null,z=null,T={}}const $={get loadPromise(){return _}};async function U(e,t,n){if((0,i.Te)(n),!e)return e;const r=V(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),U(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,I.jd)(e,t))}function H(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const n=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),r=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return n&&r}async function B(e,t,n,r){if(R())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!W(t,n,i))return L(r)}else if(e&&t&&!W(e,t,n))return L(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,v.fT)(e)?Y(e,t,new d.A,n,0):(0,v.ZC)(e)?oe(e,t,new c.A,n,0):(0,v.Bi)(e)?re(e,t,new p.A,n,0):(0,v.Rg)(e)?te(e,t,new m.A,n,0):(0,v.U9)(e)?X(e,t,new h.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const f=le(s,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];f&&a?l.push([n,r,c[t+2],o[e][3]]):f?l.push([n,r,c[t+2]]):a?l.push([n,r,o[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,n.curvePaths=[],r,i):se(s,a??!1,l??!1,t,n.paths,r,i)))return null;const u=le(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,n.curveRings=[],r,i):se(s,a??!1,l??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=le(a,r),n.hasM=l,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!w(o,s,u?e.zmin:i,t,ue,r))return null;const f=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],f&&(n.zmin=ue[2]),w(a,l,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],f&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s);continue}if((0,x.n1)(e)){const[n,r,i]=e.b;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s,i[0],i[1],s);continue}const n=e;a.push(n[0],n[1],t?n[2]:s)}if(!(0,b.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,x.yP)(r)[u]),(0,x.FG)(r))return!1;if((0,x.aO)(r)){const n=a[l++],r=a[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,x.n1)(r)){const n=a[l++],r=a[l++];++l;const i=a[l++],o=a[l++];++l,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,S.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,n){n.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=f.get(e);if(t)return t;let n=s;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=a:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?n=a:e===d&&(n=l)}}}return f.set(e,n),n}const f=new Map,h=a.wkt.toUpperCase(),d=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const n=o(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function u(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>f,Ej:()=>d,Ie:()=>y,Jt:()=>M,Ne:()=>p,RF:()=>c,aI:()=>w,fA:()=>s,gE:()=>l,hZ:()=>g,iT:()=>h,is:()=>I,qv:()=>C,vI:()=>m,vY:()=>a,v_:()=>v,vt:()=>o,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=v){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,n,r=o()){return g(r,C),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),l=Math.max(l,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[n,r,o,s,a,l]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=n,t[7]=a,t[8]=o,t[9]=n,t[10]=a,t[11]=l,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{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 c(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 f(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 h(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 d(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 p(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function m(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function g(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 y(e){return e?g(e,C):o(C)}function M(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 b(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function I(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!I(e)||!I(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],v=[0,0,0,0,0,0];o()},34403(e,t,n){n.d(t,{TP:()=>s});var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},50498(e,t,n){n.d(t,{Ye:()=>f,gy:()=>c,iI:()=>d,yR:()=>h});var r=n(66552),i=n(5443),o=n(91075),s=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),f=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},d=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},52136(e,t,n){n.d(t,{p:()=>o});var r=n(5482),i=n(91429);const o=e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},47685(e,t,n){n.d(t,{Mk:()=>d,Zk:()=>f,w6:()=>g});var r=n(5482),i=n(65529),o=n(4718),s=n(91429),a=n(20816);const l=new i.bk;function u(e){return l.on("apply-edits",new WeakRef(e))}function c(e){return l.on("update-moment",new WeakRef(e))}function f(e,t,n=null,r=!1){const i=Promise.withResolvers();return r=null==t||r,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:n,mayReceiveServiceEdits:r,result:i.promise}),i}const h=Symbol();function d(e){return null!=e&&"object"==typeof e&&h in e}function p(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function m(e,t,n){const r=new URL(e).host,i=a.Z3.get(r),o=e=>!e||e===i;return o(t)&&o(n)||t===n}const g=e=>{var t;const n=e;let i=class extends n{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:n,gdbVersion:r,mayReceiveServiceEdits:i,result:s}=e,a=t===this.url,l=null!=n&&null!=this.layerId&&n===this.layerId,u=p(this),c=p(this)&&m(t,r,this.gdbVersion);if(!a||u&&!c||!l&&!i)return;const f=s.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,o.o8)(e)),e;const n=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(n){const{adds:t,updates:r,deletes:i}=n.editedFeatures,s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:i?i.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:r?r.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return this.emit("edits",s),s}const i={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,o.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,o.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,i.historicMoment)&&this.emit("edits",i),i}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));this.emit("apply-edits",{result:f})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:n,moment:r}=e,i=t===this.url,o=p(this),s=p(this)&&m(t,n,this.gdbVersion),a=p(this)&&!m(t,this.gdbVersion,null);i&&o&&s&&a&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,n){return"historicMoment"in this&&this.historicMoment!==n&&(0,a.w5)(e,t)}};return(0,r.Cg)([(0,s.MZ)()],i.prototype,"lastEditsEventDate",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.EditBusLayer")],i),i}},28032(e,t,n){n.d(t,{A:()=>l});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),a=n(56400);let l=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,s.MZ)()],l.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],l.prototype,"timeZone",void 0),l=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],l)},29005(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),a=n(91429);const l=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},37352(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(7762),s=n(25482),a=n(91429);let l=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),a=n(91429);const l=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},41560(e,t,n){n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],f(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=f(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),f(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){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 r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=c(e),n=c(n),t=f(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function f(e){return e||0}},32730(e,t,n){n.d(t,{BI:()=>d,D3:()=>f,XJ:()=>h,lc:()=>c,mX:()=>m,rU:()=>p,tH:()=>I,vK:()=>w,zA:()=>C});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function f(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function h(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=c(e.labelExpression),t.type="conventional"),t}function d(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return m(t.expression);case"arcade":return t.expression}return null}function p(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return I(t.expression)}return null}function m(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(a,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function I(e){if(!e)return null;let t=y.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const w=Symbol("LabelClassInstance");function C(e){return null!=e&&"object"==typeof e&&w in e}},5757(e,t,n){n.d(t,{B:()=>i,P:()=>r});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}},98205(e,t,n){n.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>i,uY:()=>r});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const n=t||s(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},41366(e,t,n){n.d(t,{K:()=>f,Q:()=>l});var r=n(5482),i=n(66552),o=n(53966),s=n(91429),a=n(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",f=e=>{const t=e;let n=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,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},28076(e,t,n){n.d(t,{D:()=>i});var r=n(13337);const i={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,n){n.d(t,{h:()=>r});const r={Relative:0,Absolute:1}},93397(e,t,n){n.d(t,{$w:()=>m,Bu:()=>x,DW:()=>w,FH:()=>F,FM:()=>a,Kn:()=>b,MM:()=>f,Nl:()=>_,O2:()=>k,UE:()=>A,YC:()=>E,YF:()=>z,_1:()=>v,_d:()=>I,_h:()=>s,bs:()=>R,e6:()=>u,gQ:()=>o,jn:()=>d,lW:()=>c,ll:()=>N,mA:()=>h,oI:()=>D,pM:()=>C,pV:()=>M,pk:()=>P,rB:()=>L,xo:()=>S,yX:()=>q,z9:()=>y,zb:()=>T,zr:()=>p});var r=n(28076);function i(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function o(e,t){const n=[];let r=0,o=-1;do{if(o=e.indexOf("[",r),o>=r){if(o>r){const t=e.slice(r,o);n.push([t,null,i(t)])}if(r=o+1,o=e.indexOf("]",r),o>=r){if(o>r){const i=t[e.slice(r,o)];i&&n.push([null,i,!1])}r=o+1}}}while(-1!==o);if(r<e.length){const t=e.slice(r);n.push([t,null,i(t)])}return n}function s(e,t,n){let r="",i=null;for(const n of t){const[t,o,s]=n;if(null!=t&&""!==t)s?i=t:(null!=i&&(r+=i,i=null),r+=t);else{const t=e.readAttribute(o);null!=t&&""!==t&&(null!==i&&(r+=i,i=null),r+=t)}}return l(r,n)}function a(e,t,n,r){let i="",o=null;for(const r of t){const[t,s,a]=r;if(null!=t&&""!==t)a?o=t:(null!=o&&(i+=o,o=null),i+=t);else{let t=s;null!=n&&(t=j(s,n));const r=e.attributes[t];null!=r&&""!==r&&(null!=o&&(i+=o,o=null),i+=r)}}return l(i,r)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function f(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function h(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function d(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function p(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class g{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function y(e){return new g(e)}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function I(e){let t="normal",n="normal";if(e){const r=e.toLowerCase();r.includes("italic")?t="italic":r.includes("oblique")&&(t="oblique"),r.includes("bold")?n="bold":r.includes("light")&&(n="lighter")}return{style:t,weight:n}}function w(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function C(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=C(t);if(null!=e)return e}break;case"CIMTextSymbol":return C(e.symbol);case"CIMSolidFill":return e.color}return null}function v(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=v(e);if(null!=t)return t}break}case"CIMTextSymbol":return v(e.symbol);case"CIMSolidStroke":return e.color}}function S(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=S(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return S(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function x(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function _(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function k(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const A=e=>e.includes("data:image/svg+xml");function z(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function T(e,t,n,r,i,o,s=!0){const{infos:a}=o;let l=1,u=0,c=0,f=0,h=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:n,rotation:r,size:i,frameHeight:o,rotateClockWise:d,scaleSymbolsProportionally:p}of a)h=e?1:l,c=Z(t,n,u,h,c),f=G(t,n,u,h,f),o&&(p||s)&&(l*=i/o),u=V(r,d,u);const d=Z(r,i,u,h,c),p=G(r,i,u,h,f);return{size:e*l,rotation:V(t,n,u),offsetX:d,offsetY:p}}function F(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function R(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return R(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return R(e.symbol)}}return"Normal"}function E(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=n.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(n.markerPlacement&&p(n.markerPlacement)){const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=n.height;null!=e&&e>t&&(t=e)}}return t}}}function j(e,t){if(null!==t){const n=t.get(e);return n?n.name:e}return e}function P(e){return e.map(e=>({...e,propertyName:z(e.propertyName)}))}function L(e){const t={};for(const n in e){const r=e[n];t[z(n)]=r}return t}function N(e){if(!e)return 0;let t=0;for(const n of e)t+=O(n);return t}function O(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function G(e,t,n,r,i){const o=n*Math.PI/180;if(o){const n=Math.cos(o);return(Math.sin(o)*e+n*t)*r+i}return t*r+i}function Z(e,t,n,r,i){const o=n*Math.PI/180;return o?(Math.cos(o)*e-Math.sin(o)*t)*r+i:e*r+i}function V(e,t,n){return t?n-e:n+e}function q(e,t){return Math.max(Math.min((e??t)/100,1),0)}function D(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,n){n.d(t,{Cb:()=>o,HW:()=>c,JR:()=>i,JZ:()=>l,WR:()=>a,b6:()=>f,fT:()=>r,nC:()=>u,yM:()=>s});const r=[252,146,31,255],i=[153,153,153,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},f={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},20816(e,t,n){n.d(t,{TA:()=>i,We:()=>a,Z3:()=>o,ZJ:()=>l,w5:()=>u});var r=n(11254);const i=(0,n(13069).vD)(),o=new Map,s=new Map;async function a(e,t,n){if(!e||!n)return!1;if(!t)return!0;const i=new URL(e).host;let s=o.get(i);if(!s){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");s=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return s===t}async function l(e,t,r=!1){if(!e||!t)return!0;const o=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=s.get(o)?.entries();if(a)for(const[e,s]of a)if(s.name===t){const t=!s.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([n.e(2186).then(n.bind(n,32186)),n.e(2558).then(n.bind(n,32558))]),a=await t(o,e,new r({sessionId:i,moment:s.moment}));return a.success&&s.stack?.clearForwardEdits(),a.success}return t}return!0}function u(e,t){if(!e)return!1;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=s.get(n)?.entries();if(r)for(const[e,n]of r)if(n.name===t)return"edit"===n.lockType;return!1}new Map}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5779],{68197(e,t,r){r.d(t,{A:()=>u});var i=r(40876),n=r(4576),o=r(34727),s=r(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,i=new u){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,i.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,i.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,n.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,n=4===r||8===r,o=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${n?l(Math.round(255*this.a),i):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),r=a(this.g),i=a(this.b);return 0===e||1!==this.a?[t,r,i,a(255*this.a)]:[t,r,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}u.prototype.declaredClass="esri.Color"},52106(e,t,r){r.d(t,{A:()=>C});var i,n,o=r(5482),s=r(37838),a=r(69540),l=r(51447),u=r(25482),c=r(53966),d=r(36708),p=r(24326),h=r(91429),f=r(12195),m=r(65864),g=r(50498),y=r(55156),M=r(60950),b=r(54339),v=r(94128),I=r(33910);function w(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let C=class extends((0,a.OU)(u.o)){static{i=v.Z}static{n=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.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,statisticsAggregatedIds:this.statisticsAggregatedIds,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,M.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,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.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(){const e={aggregateGeometries:w(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}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,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(n.action=i),"attributes"===e&&(n.attributeName=i),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,d.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,d.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,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,m.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],C.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],C.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:g.yR,json:{read:m.rS}})],C.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)()],C.prototype,"distance",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],C.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:I.Es})],C.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=n=(0,o.Cg)([(0,h.$K)("esri.Graphic")],C)},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>n,Vm:()=>f,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>v});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!i[e]||!!i[e.toLowerCase()]}function o(e){return i[e]??i[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const i=6*r;return i<1?e+(t-e)*i:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,i=1){const n=(e%360+360)%360/360,o=r<=.5?r*(t+1):r+t-r*t,s=2*r-o;return[Math.round(255*a(s,o,n+1/3)),Math.round(255*a(s,o,n)),Math.round(255*a(s,o,n-1/3)),i]}function u(e){const t=e.length>5,r=t?8:4,i=(1<<r)-1,n=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&i,s>>=r,a[3]=n*l/255),l=s&i,s>>=r,a[2]=n*l,l=s&i,s>>=r,a[1]=n*l,l=s&i,s>>=r,a[0]=n*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,i+16*i,(n+16*n)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),p(t)}return p(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(e[3]):1,e}function h(e){let t=n(e)?o(e):null;return t??=d(e),t??=c(e),t}function f(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const M=2.2,b=1/M;function v(e){return e**b}},66344(e,t,r){r.d(t,{q:()=>a});const i=!!(0,r(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const r=this._db.get(e.id+t);return r?.size??0}put(e,t,r,n,s){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==r&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,r,n,0);if(void 0===r)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return i||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,r,0,0);const l=1+Math.max(s,-4)- -3;this._db.set(t,new o(r,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const r=this._db.get(t);if(!r)return;this._size-=r.size,e.size-=r.size;let i=r.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,r.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}r.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const r=this._db.get(t);if(r)return this._size-=r.size,e.size-=r.size,this._db.delete(t),++this._hit,r.entry;++this._miss}get(e,t){t=e.id+t;const r=this._db.get(t);if(void 0!==r)return this._db.delete(t),r.lives=r.lifetime,this._db.set(t,r),++this._hit,r.entry;++this._miss}peek(e,t){const r=this._db.get(e.id+t);return r?++this._hit:++this._miss,r?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},r=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;r[n]=(r[n]||0)+e.size,this._clients.forEach(r=>{const{id:n,name:o}=r;if(i.startsWith(n)){const r=t[o]||0;t[o]=r+e.size}})});const i={};this._clients.forEach(e=>{const r=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[r]||0;t[r]=n,i[r]=Math.round(100*e.hitRate)+"%"}else i[r]="0%"});const n=Object.keys(t);n.sort((e,r)=>t[r]-t[e]),n.forEach(r=>e[r]=Math.round(t[r]/2**20)+"MB / "+i[r]);for(let t=r.length-1;t>=0;--t){const i=r[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,r)=>{r.startsWith(t)&&(this._size-=e.size,this._db.delete(r),this._notifyRemove(r,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,r]of this._db)t.startsWith(e.id)&&(yield r.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,r,i){const n=this._clients.get(e.split(s)[0])?.removeFunc,o=n?.(t,i,r);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const r=t??this;if(r.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[o,a]of this._db)if(0===a.lifetime&&(!i||o.startsWith(i))){const i=t??this._clients.get(o.split(s)[0]);if(this._purgeItem(o,a,i),r.size<=.9*e)return;n||=this._db.has(o)}}for(const[n,o]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(s)[0]);if(this._purgeItem(n,o,i),r.size<=.9*e)return}}_purgeItem(e,t,r){if(this._db.delete(e),t.lives<=1){this._size-=t.size,r&&(r.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,r&&(r.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class o{constructor(e,t,r){this.entry=e,this.size=t,this.lifetime=r,this.lives=r}}const s=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,r=1){this._storage.put(this,e,t,r,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},9093(e,t,r){function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(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:()=>n,vt:()=>i,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:n,create:i,fromValues:function(e,t,r,i,n,o,s,a,l,u,c,d,p,h,f,m){return[e,t,r,i,n,o,s,a,l,u,c,d,p,h,f,m]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>x,Bw:()=>o,C:()=>s,Cc:()=>A,DI:()=>w,Il:()=>D,Io:()=>M,Ln:()=>y,Om:()=>S,Qr:()=>d,Re:()=>u,S8:()=>C,T9:()=>m,WQ:()=>l,Z0:()=>_,_S:()=>h,aI:()=>O,ei:()=>k,fw:()=>P,g7:()=>z,gL:()=>T,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>L,jk:()=>f,lo:()=>U,lw:()=>c,m3:()=>v,oW:()=>j,t2:()=>E,tn:()=>p,uE:()=>q,xg:()=>G,ze:()=>I});var i=r(51850),n=r(34304);function o(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function d(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function p(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function m(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function g(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function y(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function M(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function b(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function v(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function I(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function w(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function C(e,t){const r=t[0],i=t[1],n=t[2];let o=r*r+i*i+n*n;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function x(e,t,r){const i=t[0],n=t[1],o=t[2],s=r[0],a=r[1],l=r[2];return e[0]=n*l-o*a,e[1]=o*s-i*l,e[2]=i*a-n*s,e}function A(e,t,r,i){const n=t[0],o=t[1],s=t[2];return e[0]=n+i*(r[0]-n),e[1]=o+i*(r[1]-o),e[2]=s+i*(r[2]-s),e}function _(e,t,r){const i=t[0],n=t[1],o=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*o+r[12],e[1]=r[1]*i+r[5]*n+r[9]*o+r[13],e[2]=r[2]*i+r[6]*n+r[10]*o+r[14],e}function k(e,t,r){const i=t[0],n=t[1],o=t[2];return e[0]=i*r[0]+n*r[3]+o*r[6],e[1]=i*r[1]+n*r[4]+o*r[7],e[2]=i*r[2]+n*r[5]+o*r[8],e}function T(e,t,r){return P(e,t,r[0],r[1],r[2],r[3])}function P(e,t,r,i,n,o){const s=t[0],a=t[1],l=t[2],u=i*l-n*a,c=n*s-r*l,d=r*a-i*s,p=i*d-n*c,h=n*u-r*d,f=r*c-i*u,m=2*o;return e[0]=s+u*m+2*p,e[1]=a+c*m+2*h,e[2]=l+d*m+2*f,e}function z(e,t){C(R,e),C(F,t);const r=S(R,F);return r>1?0:r<-1?Math.PI:Math.acos(r)}const R=(0,i.vt)(),F=(0,i.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const r=e[0],i=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,n.FD)();return Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-a)<=u*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function j(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],o=r[2]-t[2];let s=i*i+n*n+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=i*s,e[1]=n*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,Z=c,N=d,G=M,U=b,D=o,q=v;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:l,angle:z,bezier:function(e,t,r,i,n,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,d=3*l*s,p=l*o;return e[0]=t[0]*u+r[0]*c+i[0]*d+n[0]*p,e[1]=t[1]*u+r[1]*c+i[1]*d+n[1]*p,e[2]=t[2]*u+r[2]*c+i[2]*d+n[2]*p,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:s,cross:x,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],o=t[2],s=r[0],a=r[1],l=r[2],u=n*l-o*a,c=o*s-i*l,d=i*a-n*s,p=Math.sqrt(u*u+c*c+d*d);return e[0]=u/p,e[1]=c/p,e[2]=d/p,e},direction:j,dist:G,distance:M,div:N,divide:d,dot:S,equals:O,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+r[0]*l+i[0]*u+n[0]*c,e[1]=t[1]*a+r[1]*l+i[1]*u+n[1]*c,e[2]=t[2]*a+r[2]*l+i[2]*u+n[2]*c,e},inverse:w,len:D,length:o,lerp:A,max:m,min:f,mul:Z,multiply:c,negate:I,normalize:C,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,o=2*r()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(i)*s,e[1]=Math.sin(i)*s,e[2]=o*t,e},rotateX:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[0],o[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),o[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),o[1]=n[1],o[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),o[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),o[2]=n[2],e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:a,sign:h,sqrDist:U,sqrLen:q,squaredDistance:b,squaredLength:v,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:k,transformMat4:_,transformQuat:T,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},13069(e,t,r){r.d(t,{AG:()=>a,lk:()=>n,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function n(){if(i)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 o(){return`{${n().toUpperCase()}}`}function s(){return`{${n()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),o=r(69540),s=r(25482),a=r(91429),l=r(99157);let u=i=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,n.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,n.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>l});var i,n=r(5482),o=r(69540),s=r(25482),a=r(91429);let l=i=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,n.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],l.prototype,"isInverse",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=i=(0,n.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>n});var i=r(49208);function n(e,t,r,n,o,s,a=Math.floor(e.length/3)){const l=(0,i.jd)(t,o);if(null==l)return!1;if(l===i.pO){if(e===n&&r===s)return!0;const t=r+3*a;for(let i=r,o=s;i<t;i++,o++)n[o]=e[i]??0;return!0}const u=r+3*a;for(let t=r,i=s;t<u;t+=3,i+=3)l(e,t,n,i);return!0}},49208(e,t,r){r.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var i=r(34727),n=r(86211),o=r(73941),s=r(79258),a=r(34403),l=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:m,11:g,2:h,4:A},5:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:m,11:g,2:h,4:A},7:{5:null,7:h,9:null,10:h,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,r,i){const n=e[t]/R,o=z-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),a=Math.cos(o)*s;r[i]=Math.cos(n)*a,r[i+1]=Math.sin(n)*a,r[i+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,r,i){f(e,t,r,i),g(r,i,r,i)},2:f,4:function(e,t,r,i){f(e,t,r,i),A(r,i,r,i)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,r,i){_(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){_(e,t,r,i),m(r,i,r,i)},11:function(e,t,r,i){_(e,t,r,i),g(r,i,r,i)},2:_,4:h},1:{5:x,7:null,9:null,10:x,1:h,6:null,8:null,0:null,3:function(e,t,r,i){x(e,t,r,i),m(r,i,r,i)},11:function(e,t,r,i){x(e,t,r,i),g(r,i,r,i)},2:x,4:function(e,t,r,i){x(e,t,r,i),A(r,i,r,i)}},6:{5:null,7:S,9:null,10:S,1:null,6:h,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:h,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:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:I,6:v,8:b,0:null,3:m,11:g,2:h,4:A},11:{5:y,7:null,9:null,10:y,1:function(e,t,r,i){y(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){y(e,t,r,i),m(r,i,r,i)},11:h,2:y,4:function(e,t,r,i){y(e,t,r,i),A(r,i,r,i)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===t)return k;const r=p(e,k.source),i=p(t,k.dest);return 0===r&&0===i?(0,l.aI)(e,t)?k.projector=h:k.projector=null:k.projector=u[r][i],k}function p(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,n.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function f(e,t,r,i){r[i]=P*(e[t]/R),r[i+1]=P*(z-2*Math.atan(Math.exp(-e[t+1]/R))),r[i+2]=e[t+2]??0}function m(e,t,r,n){!function(e,t,r,n,o){const s=.4999999*Math.PI,a=(0,i.qE)(T*e[t+1],-s,s),l=Math.sin(a);r[n++]=T*e[t]*o.radius,r[n++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[n]=e[t+2]??0}(e,t,r,n,s.$O)}function g(e,t,r,i){r[i]=e[t]*F,r[i+1]=e[t+1]*F,r[i+2]=e[t+2]??0}function y(e,t,r,i){r[i]=e[t]*E,r[i+1]=e[t+1]*E,r[i+2]=e[t+2]??0}function M(e,t,r,i,n){const o=n+(e[t+2]??0),s=T*e[t],a=T*e[t+1],l=Math.cos(a)*o;r[i]=Math.cos(s)*l,r[i+1]=Math.sin(s)*l,r[i+2]=Math.sin(a)*o}function b(e,t,r,i){M(e,t,r,i,s.Sw.radius)}function v(e,t,r,i){M(e,t,r,i,s.sH.radius)}function I(e,t,r,i){M(e,t,r,i,s.$O.radius)}function w(e,t,r,n,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,i.YN)(l/(0===u?1:u)),d=Math.atan2(a,s);r[n++]=P*d,r[n++]=P*c,r[n]=u-o}function C(e,t,r,i){w(e,t,r,i,s.Sw.radius)}function S(e,t,r,i){w(e,t,r,i,s.sH.radius)}function x(e,t,r,i){w(e,t,r,i,s.$O.radius)}function A(e,t,r,i){!function(e,t,r,i,n){const o=T*e[t],s=T*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=n.radius/Math.sqrt(1-n.eccentricitySquared*l*l);r[i++]=(c+a)*u*Math.cos(o),r[i++]=(c+a)*u*Math.sin(o),r[i++]=(c*(1-n.eccentricitySquared)+a)*l}(e,t,r,i,s.$O)}function _(e,t,r,i){const n=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,d,p,h,f,m,g,y,M,b,v,I,w,C,S,x,A,_,k,T,z;c=Math.abs(u),d=o*o+l*l,p=Math.sqrt(d),h=d+u*u,f=Math.sqrt(h),T=Math.atan2(l,o),m=u*u/h,g=d/h,C=n.a2/f,S=n.a3-n.a4/f,g>.3?(y=c/f*(1+g*(n.a1+C+m*S)/f),k=Math.asin(y),b=y*y,M=Math.sqrt(1-b)):(M=p/f*(1-m*(n.a5-C-g*S)/f),k=Math.acos(M),b=1-M*M,y=Math.sqrt(b)),v=1-s.$O.eccentricitySquared*b,I=s.$O.radius/Math.sqrt(v),w=n.a6*I,C=p-I*M,S=c-w*y,A=M*C+y*S,x=M*S-y*C,_=x/(w/v+A),k+=_,z=A+x*_/2,u<0&&(k=-k),r[i++]=P*T,r[i++]=P*k,r[i]=z}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},T=(0,i.kU)(1),P=(0,i.KJ)(1),z=.5*Math.PI,R=s.$O.radius,F=R*Math.PI/180,E=180/(R*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>K,initializeProjection:()=>J,isEqualBaseGCS:()=>B,isLoaded:()=>R,isLoadedOrLoad:()=>F,isLoadedOrLoadFor:()=>E,load:()=>j,project:()=>L,projectAsync:()=>V,projectExtent:()=>ne,projectMany:()=>Z,projectMultipoint:()=>Q,projectOrLoad:()=>G,projectOrLoadMany:()=>U,projectPoint:()=>W,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>O,test:()=>$,tryProject:()=>N,unload:()=>q});var i=r(49186),n=r(17676),o=r(62788),s=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),d=r(91075),p=r(48526),h=r(86738),f=r(39829),m=r(82799),g=r(16930),y=r(98764),M=r(159),b=r(9762),v=r(49208);function I(e,t,r,i,n,o){return w[0]=e,w[1]=t,w[2]=r,(0,b.projectBuffer)(w,i,0,n,o,0)}const w=(0,a.vt)();var C=r(60408),S=r(21325),x=r(52006);let A=null,_=null,k=null,T=null,P={};const z=new s.I;function R(){return!!(_?.isLoaded()&&k?.isLoaded()&&T?.isLoaded())}function F(){return!!R()||((0,o.gc)(z),j(),!1)}function E(e,t){return!e||!t||K(e,t)||F()}function O(e,t){return!K(e,t)&&!R()}async function j(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(_=e,_.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(k=e,k.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(T=e,T.load()))])),await A,(0,n.Te)(e),z.notify()}function L(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),Z(e,e[0].spatialReference,t,r)):((0,l.f)(e),Z([e],e.spatialReference,t,r)[0])}function Z(e,t,r,i){if(null==t||null==r)return e;if(K(t,r,i))return e.map(e=>H(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return Z(e.map(e=>H(e,t,g.A.WGS84)),g.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return Z(e,t,g.A.WGS84).map(e=>H(e,g.A.WGS84,r));if(!R())throw new D;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:T.getTransformation(t,r,i.areaOfInterestExtent)||new M.A};else if(!i?.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 n=P[e];n||(n=T.getTransformation(t,r)||new M.A,P[e]=n),i={geographicTransformation:n,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?_.executeMany(e,r,i):k.executeMany(e,r,i)}function N(e,t,r){try{return L(e,t,r)}catch(e){return null}}function G(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(!R())for(const r of e)if(null!=r&&!(0,S.aI)(r.spatialReference,t)&&(0,S.fn)(r.spatialReference)&&(0,S.fn)(t)&&!K(r.spatialReference,t))return(0,o.gc)(z),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?L(e,t,r):null)}}class D extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){A=null,_=null,k=null,T=null,P={}}const $={get loadPromise(){return A}};async function V(e,t,r){if((0,n.Te)(r),!e)return e;const i=U(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,n.Te)(r),V(e,t,r);const o=i.geometries??[];return Array.isArray(e)?o:o[0]}function K(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,v.jd)(e,t))}function B(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const r=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),i=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return r&&i}async function J(e,t,r,i){if(R())return(0,n.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:n}of e)if(t&&r&&!K(t,r,n))return j(i)}else if(e&&t&&!K(e,t,r))return j(i);return(0,n.NO)(i)}function H(e,t,r){return e?(0,C.fT)(e)?Y(e,t,new h.A,r,0):(0,C.ZC)(e)?oe(e,t,new c.A,r,0):(0,C.Bi)(e)?ie(e,t,new f.A,r,0):(0,C.Rg)(e)?te(e,t,new m.A,r,0):(0,C.U9)(e)?X(e,t,new p.A,r,0):null:null}function W(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,i)}function Y(e,t,r,i,n){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:n,(0,b.projectBuffer)(ue,t,0,ue,i,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=i,void 0!==o||(0,u.xP)(i)?(r.z=ue[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,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,n){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:n);if(!(0,b.projectBuffer)(c,t,0,c,i,0,u))return null;const d=le(s,i);for(let e=0;e<u;++e){const t=3*e,r=c[t],i=c[t+1];d&&a?l.push([r,i,c[t+2],o[e][3]]):d?l.push([r,i,c[t+2]]):a?l.push([r,i,o[e][2]]):l.push([r,i])}return r.points=l,r.spatialReference=i,r.hasZ=s,r.hasM=a,r}function ee(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,i)}function te(e,t,r,i,n){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,r.curvePaths=[],i,n):se(s,a??!1,l??!1,t,r.paths,i,n)))return null;const u=le(a,i);return r.spatialReference=i,r.hasZ=u,r.hasM=l,r}function re(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,i)}function ie(e,t,r,i,n){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,r.curveRings=[],i,n):se(s,a??!1,l??!1,t,r.rings,i,n))?(r.spatialReference=i,r.hasZ=le(a,i),r.hasM=l,r):null}function ne(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=oe(e,e.spatialReference,t,r,i)}function oe(e,t,r,i,n){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!I(o,s,u?e.zmin:n,t,ue,i))return null;const d=le(u,i);return r.xmin=ue[0],r.ymin=ue[1],d&&(r.zmin=ue[2]),I(a,l,u?e.zmax:n,t,ue,i)?(r.xmax=ue[0],r.ymax=ue[1],d&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function se(e,t,r,i,n,o,s=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(a,i,0,a,o,0))return!1;let l=0;n.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const i of t){const t=a.slice(l,l+=3);c||t.pop(),r&&t.push(i[u]),e.push(t)}n.push(e)}return!0}function ae(e,t,r,i,n,o,s=0){const a=new Array;for(const r of e)for(const e of r){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[r,i]=e.c;a.push(r[0],r[1],t?r[2]:s,i[0],i[1],s);continue}if((0,x.n1)(e)){const[r,i,n]=e.b;a.push(r[0],r[1],t?r[2]:s,i[0],i[1],s,n[0],n[1],s);continue}const r=e;a.push(r[0],r[1],t?r[2]:s)}if(!(0,b.projectBuffer)(a,i,0,a,o,0))return!1;let l=0;n.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const i of t){const t=a.slice(l,l+=3);if(c||t.pop(),r&&t.push((0,x.yP)(i)[u]),(0,x.FG)(i))return!1;if((0,x.aO)(i)){const r=a[l++],i=a[l++];++l,e.push({c:[t,[r,i]]});continue}if((0,x.n1)(i)){const r=a[l++],i=a[l++];++l;const n=a[l++],o=a[l++];++l,e.push({b:[t,[r,i],[n,o]]});continue}e.push(t)}n.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,S.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var i=r(73941),n=r(16930),o=r(21325);const s=new n.A(i.fv),a=new n.A(i.FY),l=new n.A(i.LJ),u=new n.A(i.Ro);function c(e){const t=d.get(e);if(t)return t;let r=s;if(e)if(e===a)r=a;else if(e===l)r=l;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,o.tl)(t)||(0,o.tl)(i)?r=a:((0,o.ZL)(t)||(0,o.ZL)(i))&&(r=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===p?r=a:e===h&&(r=l)}}}return d.set(e,r),r}const d=new Map,p=a.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,r){r.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var i=r(34275),n=r(9093);function o(e){return e<=i.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const r=o(e.length+t.length);for(let t=0;t<e.length;++t)r[t]=e[t];for(let i=0;i<t.length;++i)r[e.length+i]=t[i];return r}function u(e){return[...e]}function c(e){const t=(0,n.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>d,Ej:()=>h,Ie:()=>y,Jt:()=>M,Ne:()=>f,RF:()=>c,aI:()=>I,fA:()=>s,gE:()=>l,hZ:()=>g,iT:()=>p,is:()=>v,qv:()=>w,vI:()=>m,vY:()=>a,v_:()=>C,vt:()=>o,w1:()=>u}),r(35522);var i=r(5443),n=(r(19419),r(4197));function o(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,i,n,s,a=o()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=n,a[5]=s,a}function a(e,t=o()){return function(e,t,r,i=o()){return g(i,w),function(e,t,r=0,i=t.length/3){let n=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function l(e,t=(0,n.jh)(24)){const[r,i,o,s,a,l]=e;return t[0]=r,t[1]=i,t[2]=o,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=o,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=i,t[14]=o,t[15]=s,t[16]=i,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.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 c(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 d(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 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[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 m(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 g(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 y(e){return e?g(e,w):o(w)}function M(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 b(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function v(e){return 6===e.length}function I(e,t,r){if(null==e||null==t)return e===t;if(!v(e)||!v(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];o()},34403(e,t,r){r.d(t,{TP:()=>s});var i=r(79258);Math.PI;const n=i.$O.radius,o=i.$O.eccentricitySquared,s={a1:n*o,a2:n*o*n*o,a3:n*o*o/2,a4:n*o*n*o*2.5,a5:n*o+n*o*o/2,a6:1-o};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},83960(e,t,r){r.d(t,{X_:()=>o,oW:()=>a,zx:()=>s});var i=r(34727),n=r(86211);function o(e,t){const r=t||e.extent,i=e.width,o=(0,n.GA)(r?.spatialReference);return r&&i?r.width/i*o*n.dy*96:0}function s(e,t,r){return function(e,t){return 0===t||(0,i.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,i.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,i.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,r){r.d(t,{Ye:()=>d,gy:()=>c,iI:()=>h,yR:()=>p});var i=r(66552),n=r(5443),o=r(91075),s=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),d=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:o.A,key:"type",typeMap:{extent:n.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},h=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,r){r.d(t,{I:()=>n,e:()=>i});const i=Symbol("idFieldsProviderSymbol");function n(e){return(t=e)&&i in t?e[i]:void 0;var t}},79457(e,t,r){r.r(t),r.d(t,{default:()=>le});var i=r(5482),n=r(37838),o=r(11254),s=r(69540),a=r(49186),l=r(36563),u=r(4718),c=r(53966),d=r(25728),p=r(17676),h=r(84952),f=r(91429),m=r(56507),g=r(5443),y=r(16930),M=r(50498),b=r(55156),v=r(60950),I=r(89808),w=r(99959);const C=Symbol("isStreamGraphicOrigin");var S;class x extends w.A{get[(S=C,v.ym)](){return this.layer}get[b.e](){return this.layer}get[I.Q](){return this.layer}constructor(e){super(),this[S]=!0,this.type="stream",this.layer=e}get id(){return this.layer.id}}var A,_=r(4146),k=r(18768),T=r(63074),P=r(69208),z=r(6455),R=r(87718),F=r(56658),E=r(34287),O=r(8303),j=r(54310),L=r(25036),Z=r(82935),N=r(63396),G=r(10873),U=r(25747),D=r(15426),q=r(20437),$=r(17036),V=r(30524),K=r(9916),B=r(46499),J=r(39383),H=r(25482);let W=class extends H.o{static{A=this}constructor(e){super(e),this.age=null,this.ageReceived=null,this.displayCount=null,this.maxObservations=1}clone(){return new A({age:this.age,ageReceived:this.ageReceived,displayCount:this.displayCount,maxObservations:this.maxObservations})}};(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"age",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"ageReceived",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"displayCount",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"maxObservations",void 0),W=A=(0,i.Cg)([(0,f.$K)("esri.layers.support.PurgeOptions")],W);var Y=r(72691),Q=r(65494),X=r(8947),ee=r(41214),te=r(97552),re=r(30291),ie=r(88625),ne=r(59923),oe=r(36005);const se=(0,$.p)();let ae=class extends((0,z.FJ)((0,F.J)((0,R.F)((0,T.dM)((0,Z.e)((0,N.d)((0,L.j)((0,j.J)((0,k.b)((0,E.q)((0,O.A)((0,d.M)((0,P.d)((0,s.OU)(_.A))))))))))))))){constructor(...e){super(...e),this.copyright=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.geometryDefinition=null,this.geometryType=null,this.graphicOrigin=new x(this),this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.maxReconnectionAttempts=0,this.maxReconnectionInterval=20,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.operationalLayerType="ArcGISStreamLayer",this.outFields=["*"],this.popupEnabled=!0,this.popupTemplate=null,this.purgeOptions=new W,this.refreshInterval=0,this.screenSizePerspectiveEnabled=!0,this.source=null,this.sourceJSON=null,this.spatialReference=y.A.WGS84,this.type="stream",this.url=null,this.updateInterval=300,this.useViewTime=!0,this.webSocketUrl=null,this._debouncedSaveOperations=(0,p.sg)(async(e,t,i)=>{const{save:n,saveAs:o}=await r.e(7301).then(r.bind(r,87301));switch(e){case 0:return n(this,t);case 1:return o(this,i,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){if(!("WebSocket"in globalThis))return this.addResolvingPromise(Promise.reject(new a.A("stream-layer:websocket-unsupported","WebSocket is not supported in this browser. StreamLayer will not have real-time connection with the stream service."))),Promise.resolve(this);const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Stream Service","Feed"]},e).catch(p.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get defaultPopupTemplate(){return this.createPopupTemplate()}set featureReduction(e){const t=this._normalizeFeatureReduction(e);this._set("featureReduction",t)}set renderer(e){(0,V.yp)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,t,r){t=t.layerDefinition||t;const i=t.drawingInfo?.renderer;if(i){const e=(0,Q.L)(i,t,r)||void 0;return e||c.A.getLogger(this).error("Failed to create renderer",{rendererDefinition:t.drawingInfo.renderer,layer:this,context:r}),e}return(0,D.PD)(t,r)}async connect(e){const[{createConnection:t}]=await Promise.all([Promise.all([r.e(893),r.e(4401)]).then(r.bind(r,60986)),this.load()]),i=e?.spatialReference?.toJSON()??this.spatialReference.toJSON(),n=t(this.getStreamConnectionSource(e),i),o=(0,l.vE)([this.on("send-message-to-socket",e=>n.sendMessageToSocket(e)),this.on("send-message-to-client",e=>n.sendMessageToClient(e))]);return n.once("destroy",o.remove),n}getStreamConnectionSource(e){const{customParameters:t=null,definitionExpression:r=null,geometryDefinition:i=null,maxReconnectionAttempts:n=0,maxReconnectionInterval:o=20}=e||this.createConnectionParameters(),s=this.geometryType?M.gy.toJSON(this.geometryType):null,l=this.spatialReference.toJSON();if(this.source){if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","TrackIdField required for Kusto data source.");return{type:"kusto",database:this.database,table:this.source.table,trackIdField:this.timeInfo.trackIdField,geometryEncoding:this.source.geometryEncoding.toJSON(),sourceSpatialReference:l,refreshInterval:this.source.refreshInterval}}return this.webSocketUrl?{type:"custom",url:(0,h.An)(this.webSocketUrl),customParameters:t,definitionExpression:r,geometryDefinition:i,geometryType:s,maxReconnectionAttempts:n,maxReconnectionInterval:o,sourceSpatialReference:l}:this.parsedUrl?{type:"geoevent",url:this.parsedUrl,customParameters:t,definitionExpression:r,geometryDefinition:i,geometryType:s,maxReconnectionAttempts:n,maxReconnectionInterval:o,sourceSpatialReference:l}:{type:"client",geometryType:s,sourceSpatialReference:this.spatialReference.toJSON()}}createConnectionParameters(){return{spatialReference:this.spatialReference,customParameters:this.customParameters,definitionExpression:this.definitionExpression,geometryDefinition:this.geometryDefinition,maxReconnectionAttempts:this.maxReconnectionAttempts,maxReconnectionInterval:this.maxReconnectionInterval}}createPopupTemplate(e){return(0,re.tn)(this,e)}createQuery(){const e=new te.A;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){if(!this.fields)return null;let r=null;return this.fields.some(t=>(t.name===e&&(r=t.domain),!!r)),r}getField(e){return this.fieldsIndex.get(e)}serviceSupportsSpatialReference(e){return!0}sendMessageToSocket(e){this.emit("send-message-to-socket",e)}sendMessageToClient(e){this.emit("send-message-to-client",e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){return this.webSocketUrl?((0,ne.U4)(t,this,"a custom websocket connection cannot be written to web scenes and web maps"),null):this.source?((0,ne.U4)(t,this,"a custom source cannot be written to web scenes and web maps"),null):this.parsedUrl?super.write(e,t):((0,ne.U4)(t,this,"a client-side only connection without a url cannot be written to web scenes and web maps"),null)}async _fetchService(e){if(this.source){const e=await(0,K.ZF)(this.source.workspace,this.source.database,this.source.table,{fields:this.fields,source:this.source,database:this.database});if(this.database=e.database,!e.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(this.fields=e.fields,!e.source)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto source.",{layerInfo:e});if(!e.source.geometryEncoding)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto geometry encoding.",{layerInfo:e});this.source=e.source}if(this.parsedUrl){if(!this.sourceJSON){const{data:t}=await(0,o.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,...this.parsedUrl.query},responseType:"json",signal:e});this.sourceJSON=t}}else{if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","The stream layer trackIdField must be specified.");if(!this.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(!this.objectIdField){const e=this.fields.find(e=>"oid"===e.type)?.name;e&&(this.objectIdField=e)}if(this.fields.some(e=>e.name===this.objectIdField)||this.fields.push(new q.A({name:this.objectIdField,alias:this.objectIdField,type:"oid"})),!this.geometryType)throw new a.A("stream-layer:missing-metadata","The stream layer geometryType must be specified.")}return this.read(this.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,V.yp)(this.renderer,this.fieldsIndex),(0,V.sv)(this.timeInfo,this.fieldsIndex),this.objectIdField||(this.objectIdField=Y.DN),(0,X.L)(this,{origin:"service"})}};(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"copyright",void 0),(0,i.Cg)([(0,f.MZ)()],ae.prototype,"database",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,f.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ae.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"displayField",void 0),(0,i.Cg)([(0,f.MZ)({type:ie.A})],ae.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,f.MZ)({json:{origins:{"web-map":{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],ae.prototype,"featureReduction",null),(0,i.Cg)([(0,f.MZ)(se.fields)],ae.prototype,"fields",void 0),(0,i.Cg)([(0,f.MZ)(se.fieldsIndex)],ae.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,f.MZ)({type:g.A,json:{name:"layerDefinition.definitionGeometry",write:!0}})],ae.prototype,"geometryDefinition",void 0),(0,i.Cg)([(0,f.MZ)({type:M.gy.apiValues,json:{read:{reader:M.gy.read}}})],ae.prototype,"geometryType",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],ae.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,f.MZ)(G.kF)],ae.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,f.MZ)({type:[B.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:J.w},write:!0}})],ae.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,f.MZ)(G.fV)],ae.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:["show","hide"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],ae.prototype,"listMode",void 0),(0,i.Cg)([(0,f.MZ)({type:m.jz})],ae.prototype,"maxReconnectionAttempts",void 0),(0,i.Cg)([(0,f.MZ)({type:m.jz})],ae.prototype,"maxReconnectionInterval",void 0),(0,i.Cg)([(0,f.MZ)(G.hG)],ae.prototype,"maxScale",void 0),(0,i.Cg)([(0,f.MZ)(G.hn)],ae.prototype,"minScale",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"objectIdField",void 0),(0,i.Cg)([(0,f.MZ)({value:"ArcGISStreamLayer",type:["ArcGISStreamLayer"]})],ae.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"outFields",void 0),(0,i.Cg)([(0,f.MZ)(G.M6)],ae.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:n.A,json:{name:"popupInfo",write:!0}})],ae.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,f.MZ)({type:W})],ae.prototype,"purgeOptions",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"refreshInterval",void 0),(0,i.Cg)([(0,f.MZ)({types:ee.Hg,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{name:"layerDefinition.drawingInfo.renderer",types:ee.XJ,write:!0}},write:{target:"layerDefinition.drawingInfo.renderer"}}})],ae.prototype,"renderer",null),(0,i.Cg)([(0,oe.w)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,oe.w)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],ae.prototype,"readRenderer",null),(0,i.Cg)([(0,f.MZ)((()=>{const e=(0,u.o8)(G.PY);return e.json.origins["portal-item"]={read:!1,write:!1},e})())],ae.prototype,"screenSizePerspectiveEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:U.A,json:{write:!1}})],ae.prototype,"source",void 0),(0,i.Cg)([(0,f.MZ)()],ae.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,f.MZ)({type:y.A,json:{origins:{service:{read:{source:"spatialReference"}}}}})],ae.prototype,"spatialReference",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1}})],ae.prototype,"type",void 0),(0,i.Cg)([(0,f.MZ)(G.OZ)],ae.prototype,"url",void 0),(0,i.Cg)([(0,f.MZ)({type:Number})],ae.prototype,"updateInterval",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"useViewTime",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"webSocketUrl",void 0),ae=(0,i.Cg)([(0,f.$K)("esri.layers.StreamLayer")],ae);const le=ae},54339(e,t,r){function i(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 i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function n(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:()=>i,r:()=>n})},18768(e,t,r){r.d(t,{b:()=>a});var i=r(5482),n=r(53966),o=r(91429),s=r(60694);const a=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,s.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,s.Jf)(e,n.A.getLogger(this)))}};return(0,i.Cg)([(0,o.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,o.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.ArcGISService")],r),r}},69208(e,t,r){r.d(t,{d:()=>o});var i=r(5482),n=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},6455(e,t,r){r.d(t,{FJ:()=>y,Dp:()=>M,KV:()=>b});var i=r(5482),n=r(93637),o=r(91429),s=r(89317),a=r(69540),l=r(7762),u=r(25482),c=r(83960),d=r(13069);const p={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,d.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:p})],h.prototype,"maxScale",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:p})],h.prototype,"minScale",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,i.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],h);var f=r(41560),m=r(43937);let g=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,i){const n=e.toArray();"scale"===this.mode&&n.sort((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),i=e.maxScale-t.maxScale;return 0===r?i:r}),t[r]=n.map(e=>e.toJSON(i))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,o.MZ)({type:l.A.ofType(h),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,i.Cg)([(0,m.K)("filters")],g.prototype,"writeFilters",null),(0,i.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,i.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],g);const y=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,i.Cg)([(0,o.MZ)(M)],r.prototype,"displayFilterEnabled",void 0),(0,i.Cg)([(0,o.MZ)(b)],r.prototype,"displayFilterInfo",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},M={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,r){(0,n.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},b={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},8303(e,t,r){r.d(t,{A:()=>w});var i=r(5482),n=r(92602),o=r(70333),s=r(11254),a=r(60999),l=r(49186),u=r(36563),c=r(53966),d=r(97768),p=r(17676),h=r(84952),f=r(91429),m=r(77548),g=r(20655),y=r(80812),M=r(41318),b=r(10407),v=r(36005),I=r(43937);const w=e=>{const t=e;let w=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,d.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 y.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:i}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await r.e(1204).then(r.bind(r,41204)),i=new AbortController,n=(0,u.rE)(i);return this.addHandles(n,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,p.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!o.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let s,a;if(n)s=r.portal.url;else try{s=await(0,m.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!s||!(0,h.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const l=!0,u=!1,c=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new y.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,p.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,b.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.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=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=g.A.getDefault();if(n&&n.loaded&&(0,h.S8)(n.restUrl)===(0,h.S8)(i))return n.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?M.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&i&&!(0,h.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.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,i.Cg)([(0,f.MZ)({type:y.default})],w.prototype,"portalItem",null),(0,i.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],w.prototype,"readPortalItem",null),(0,i.Cg)([(0,I.K)("web-document","portalItem",{itemId:{type:String}})],w.prototype,"writePortalItem",null),(0,i.Cg)([(0,f.MZ)({clonable:!1})],w.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasUpdateItemPrivileges",void 0),w=(0,i.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],w),w},C={credential:null,user:null}},82935(e,t,r){r.d(t,{B:()=>p,e:()=>h});var i=r(5482),n=r(91429),o=r(89317),s=r(30524),a=r(96184),l=r(73133),u=r(79677),c=r(10184),d=r(36005);const p={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.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 i=r.timeOffset,n=l.j.fromJSON(r.timeOffsetUnits);return i&&n?new c.A({value:i,unit:n}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,n.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,d.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,n.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,n.MZ)(p)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TemporalLayer")],r),r}},63396(e,t,r){r.d(t,{d:()=>w});var i=r(5482),n=r(91429),o=r(60950),s=r(99959);class a extends s.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[o.ym](){return this.trackInfoProvider.trackInfo}}var l=r(37838),u=r(69540),c=r(25482),d=r(93637),p=r(50820),h=r(10873),f=r(46499),m=r(41214);let g=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,i.Cg)([(0,n.MZ)({type:[f.A],json:{write:!0}})],g.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,n.MZ)(h.kF)],g.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,n.MZ)({types:m.Hg,json:{write:!0}})],g.prototype,"renderer",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"visible",void 0),g=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackPartInfo")],g);var y=r(96576),M=r(59868),b=r(10184),v=r(43937);let I=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new g({renderer:new y.A({symbol:M.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new g({renderer:new y.A({symbol:M.UK.clone()})}),this.trackLines=new g({renderer:new y.A({symbol:M.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const i=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,d.sM)(r,i,t)}};(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"enabled",void 0),(0,i.Cg)([(0,n.MZ)({type:[p.A],json:{write:!0}})],I.prototype,"fields",void 0),(0,i.Cg)([(0,v.K)("fields")],I.prototype,"writeFields",null),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"latestObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:b.A,json:{write:!0}})],I.prototype,"maxDisplayDuration",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDisplayObservationsPerTrack",void 0),(0,i.Cg)([(0,n.MZ)(h.M6)],I.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,n.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"previousObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"trackLines",void 0),(0,i.Cg)([(0,n.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],I.prototype,"timeField",void 0),I=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackInfo")],I);const w=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,i.Cg)([(0,n.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,i.Cg)([(0,n.MZ)({type:I})],r.prototype,"trackInfo",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TrackableLayer")],r),r}},30279(e,t,r){r.d(t,{A:()=>u});var i=r(5482),n=r(69540),o=r(25482),s=r(10107),a=r(64108),l=r(62044);let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({types:l.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,i.Cg)([(0,a.$)("esri.layers.support.FieldConfiguration")],u)},9075(e,t,r){r.d(t,{A:()=>a});var i=r(5482),n=r(69540),o=r(25482),s=r(91429);let a=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,i.Cg)([(0,s.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"xField",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"yField",void 0),a=(0,i.Cg)([(0,s.$K)("esri.layers.support.GeometryEncodingLocation")],a)},96184(e,t,r){r.d(t,{A:()=>h});var i=r(5482),n=r(69540),o=r(25482),s=r(91429),a=r(79677),l=r(10184),u=r(56400),c=r(36005),d=r(43937);function p(e,t){return l.A.fromJSON({value:e,unit:t})}let h=class extends((0,n.OU)(o.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?a.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?p(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?p(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,i.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,i.Cg)([(0,d.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,i.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,i.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,i.Cg)([(0,d.K)("interval")],h.prototype,"writeInterval",null),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,i.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,i.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,i.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],h)},16194(e,t,r){r.d(t,{QX:()=>l,sS:()=>c,xY:()=>u});var i=r(4718),n=r(30279),o=r(62044),s=r(30524),a=r(41227);function l(e){const{popupTemplate:t,fieldsIndex:r}=e,i=t?.fieldInfos;if(!i?.length||!r)return;const s=[];for(const e of i){const{fieldName:t,label:i}=e,a=r.get(t);if(!a)continue;const l=i&&i!==a.alias?i:null,u=(0,o.iu)(e,a);(l||u)&&s.push(new n.A({name:a.name,alias:l,fieldFormat:u}))}return s.length?s:null}function u(e){const{fields:t}=e;if(!t?.length)return;const r=[];for(const e of t){const t=(0,o.qH)(e)?(0,o.$P)(e):null;t&&r.push(new n.A({name:e.name,fieldFormat:t}))}return r.length?r:null}function c(e,t){const{popupTemplate:r,fieldsIndex:n}=e;if(!r||!n)return;const s=function(e,t,r){t??=[],r=(0,i.o8)(r)??[];let n=!1;const s=new Map;for(const r of t){const t=e.fieldsIndex.get(r.name);t&&s.set(t.name,r)}for(const t of r){const r=e.fieldsIndex.get(t.fieldName);if(!r)continue;const i=s.get(r.name);t.label=i?.alias||r.alias,t.format=(0,o.qH)(r)&&i?.fieldFormat?(0,o.PK)(i.fieldFormat,r):null,n=!0,s.delete(r.name)}for(const t of s.values()){const i=d(e,t);i&&(r.push(i),n=!0)}return n?r:null}(e,t,r.fieldInfos);if(!s)return;const a=r.clone();return a.fieldInfos=s,a}function d(e,t){const{name:r,alias:i,fieldFormat:n}=t,l=e.fieldsIndex.get(r);if(!l||!i&&!n)return;const u=i||l.alias,c=(0,o.qH)(l)&&n?(0,o.PK)(n,l):null;return new a.A({fieldName:l.name,label:u,format:c,visible:!1,isEditable:(0,s.R$)(l,e)})}},17036(e,t,r){r.d(t,{p:()=>l});var i=r(44208),n=r(53966),o=r(20437),s=r(95466),a=r(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,i.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(", ");n.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 r=this.fieldsIndex?.has(t);r||n.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},54625(e,t,r){r.d(t,{A0:()=>s,bD:()=>o,i_:()=>n});var i=r(30524);function n(e,t,r){t=(0,i.rS)(t)?.toLowerCase(),r=(0,i.rS)(r)?.toLowerCase();const n=e.map(e=>e.toLowerCase()),a=t?e[n.indexOf(t)]:null,l=r?e[n.indexOf(r)]:null;return{longitudeFieldName:a||e[n.indexOf(s.find(e=>n.includes(e)))],latitudeFieldName:l||e[n.indexOf(o.find(e=>n.includes(e)))]}}const o=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],s=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},5757(e,t,r){r.d(t,{B:()=>n,P:()=>i});const i=Symbol("PopupTemplateInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>l,mm:()=>p,sQ:()=>d});var i=r(91218),n=r(16930),o=r(28735);function s(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,p.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?s(e,t):u(e,t)}async function d(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,o.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const p={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:i}=e,n=t.user?.privileges;let o=!n||n.includes("features:user:edit"),s=!!r&&!!n?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},8947(e,t,r){r.d(t,{L:()=>s});var i=r(60999),n=r(17676),o=r(67076);async function s(e,t,r){const s=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(s&&"unique-value"===s.type&&s.styleOrigin){const a=await(0,i.Ke)(s.populateFromStyle());if((0,n.Te)(r),!1===a.ok){const r=a.error;t?.messages&&t.messages.push(new o.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${r.message}`,{error:r,context:t})),e.clear("renderer",t?.origin)}}}},98205(e,t,r){r.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>n,uY:()=>i});const i=Symbol("SizeVariableInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const r=t||s(e),i=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},41366(e,t,r){r.d(t,{K:()=>d,Q:()=>l});var i=r(5482),n=r(66552),o=r(53966),s=r(91429),a=r(93223);const l=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=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&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},28076(e,t,r){r.d(t,{D:()=>n});var i=r(13337);const n={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,r){r.d(t,{h:()=>i});const i={Relative:0,Absolute:1}},93397(e,t,r){r.d(t,{$w:()=>m,Bu:()=>x,DW:()=>I,FH:()=>z,FM:()=>a,Kn:()=>b,MM:()=>d,Nl:()=>A,O2:()=>_,UE:()=>k,YC:()=>F,YF:()=>T,_1:()=>C,_d:()=>v,_h:()=>s,bs:()=>R,e6:()=>u,gQ:()=>o,jn:()=>h,lW:()=>c,ll:()=>L,mA:()=>p,oI:()=>q,pM:()=>w,pV:()=>M,pk:()=>O,rB:()=>j,xo:()=>S,yX:()=>D,z9:()=>y,zb:()=>P,zr:()=>f});var i=r(28076);function n(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function o(e,t){const r=[];let i=0,o=-1;do{if(o=e.indexOf("[",i),o>=i){if(o>i){const t=e.slice(i,o);r.push([t,null,n(t)])}if(i=o+1,o=e.indexOf("]",i),o>=i){if(o>i){const n=t[e.slice(i,o)];n&&r.push([null,n,!1])}i=o+1}}}while(-1!==o);if(i<e.length){const t=e.slice(i);r.push([t,null,n(t)])}return r}function s(e,t,r){let i="",n=null;for(const r of t){const[t,o,s]=r;if(null!=t&&""!==t)s?n=t:(null!=n&&(i+=n,n=null),i+=t);else{const t=e.readAttribute(o);null!=t&&""!==t&&(null!==n&&(i+=n,n=null),i+=t)}}return l(i,r)}function a(e,t,r,i){let n="",o=null;for(const i of t){const[t,s,a]=i;if(null!=t&&""!==t)a?o=t:(null!=o&&(n+=o,o=null),n+=t);else{let t=s;null!=r&&(t=E(s,r));const i=e.attributes[t];null!=i&&""!==i&&(null!=o&&(n+=o,o=null),n+=i)}}return l(n,i)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function d(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function p(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function h(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function f(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class g{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function y(e){return new g(e)}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function v(e){let t="normal",r="normal";if(e){const i=e.toLowerCase();i.includes("italic")?t="italic":i.includes("oblique")&&(t="oblique"),i.includes("bold")?r="bold":i.includes("light")&&(r="lighter")}return{style:t,weight:r}}function I(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function w(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=w(t);if(null!=e)return e}break;case"CIMTextSymbol":return w(e.symbol);case"CIMSolidFill":return e.color}return null}function C(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=C(e);if(null!=t)return t}break}case"CIMTextSymbol":return C(e.symbol);case"CIMSolidStroke":return e.color}}function S(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=S(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return S(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function x(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function A(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function _(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const k=e=>e.includes("data:image/svg+xml");function T(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function P(e,t,r,i,n,o,s=!0){const{infos:a}=o;let l=1,u=0,c=0,d=0,p=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:r,rotation:i,size:n,frameHeight:o,rotateClockWise:h,scaleSymbolsProportionally:f}of a)p=e?1:l,c=G(t,r,u,p,c),d=N(t,r,u,p,d),o&&(f||s)&&(l*=n/o),u=U(i,h,u);const h=G(i,n,u,p,c),f=N(i,n,u,p,d);return{size:e*l,rotation:U(t,r,u),offsetX:h,offsetY:f}}function z(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function R(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return R(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return R(e.symbol)}}return"Normal"}function F(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=r.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(r.markerPlacement&&f(r.markerPlacement)){const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=r.height;null!=e&&e>t&&(t=e)}}return t}}}function E(e,t){if(null!==t){const r=t.get(e);return r?r.name:e}return e}function O(e){return e.map(e=>({...e,propertyName:T(e.propertyName)}))}function j(e){const t={};for(const r in e){const i=e[r];t[T(r)]=i}return t}function L(e){if(!e)return 0;let t=0;for(const r of e)t+=Z(r);return t}function Z(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function N(e,t,r,i,n){const o=r*Math.PI/180;if(o){const r=Math.cos(o);return(Math.sin(o)*e+r*t)*i+n}return t*i+n}function G(e,t,r,i,n){const o=r*Math.PI/180;return o?(Math.cos(o)*e-Math.sin(o)*t)*i+n:e*i+n}function U(e,t,r){return t?r-e:r+e}function D(e,t){return Math.max(Math.min((e??t)/100,1),0)}function q(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,r){r.d(t,{Cb:()=>o,HW:()=>c,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>i,nC:()=>u,yM:()=>s});const i=[252,146,31,255],n=[153,153,153,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);