@arcgis/core 5.1.0-next.18 → 5.1.0-next.19

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 (662) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +6 -6
  4. package/WebScene.d.ts +1 -1
  5. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  6. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  7. package/analysis/LengthDimension.d.ts +4 -4
  8. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  9. package/analysis/SliceAnalysis.d.ts +1 -1
  10. package/analysis/SlicePlane.d.ts +1 -1
  11. package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +1 -1
  12. package/analysis/VolumeMeasurementAnalysis.d.ts +1 -1
  13. package/applications/Components/applySetUtils.d.ts +1 -1
  14. package/applications/WebEditor/geometryUtils.d.ts +26 -0
  15. package/applications/WebEditor/geometryUtils.js +2 -0
  16. package/assets/esri/core/workers/RemoteClient.js +1 -1
  17. package/assets/esri/core/workers/chunks/045e4e520d6dffe06ba7.js +1 -0
  18. package/assets/esri/core/workers/chunks/05d6cd51ca970705e46a.js +1 -0
  19. package/assets/esri/core/workers/chunks/{fd125618f513bc2f5206.js → 08d73543c713984f6ecf.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{982e709d2cef971ecd82.js → 0d9d33f29124d464a4cb.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{07317f6b57c1314db442.js → 0e1d559d05229ef92e35.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{2762149a922275136171.js → 112227b862b935123ddf.js} +2 -2
  23. package/assets/esri/core/workers/chunks/128cdb4a02549abc68b5.js +1 -0
  24. package/assets/esri/core/workers/chunks/1336f685bae5f1251558.js +1 -0
  25. package/assets/esri/core/workers/chunks/{b71e4f48377fefe2537d.js → 15d46482ec096e3ce161.js} +1 -1
  26. package/assets/esri/core/workers/chunks/1794db88a2006711eff3.js +1 -0
  27. package/assets/esri/core/workers/chunks/{a327f36561f093dc0fab.js → 19fcc74d34cbbaa56a41.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{d0d1378e714ff0e43e26.js → 1cfa8d404d42b9eccf78.js} +1 -1
  29. package/assets/esri/core/workers/chunks/1e916e552ce7d53692d2.js +1 -0
  30. package/assets/esri/core/workers/chunks/2011da6dfc4bb89829c6.js +1 -0
  31. package/assets/esri/core/workers/chunks/{1e29a114c1cfe21121c4.js → 203ef5459fc5dde12851.js} +1 -1
  32. package/assets/esri/core/workers/chunks/215c54520d0da638fe57.js +1 -0
  33. package/assets/esri/core/workers/chunks/22045f85e503ae0ec8f4.js +1 -0
  34. package/assets/esri/core/workers/chunks/{78fc7ef00cc4931ef47d.js → 2351b713ba3d05de0728.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{0a4ebb5dca630a4ab0dd.js → 236f8137ae505c8f0764.js} +1 -1
  36. package/assets/esri/core/workers/chunks/249630af2fb01257eb75.js +1 -0
  37. package/assets/esri/core/workers/chunks/{1f30558e3ad6ac68bdb8.js → 25d34552bfb255af9467.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{7cd4280d24b24045bd7e.js → 27e14277128446e76b45.js} +1 -1
  39. package/assets/esri/core/workers/chunks/3214763f268622f09986.js +1 -0
  40. package/assets/esri/core/workers/chunks/32a1ccc145c9f6091e13.js +1 -0
  41. package/assets/esri/core/workers/chunks/34691b147318b2cfdd45.js +1 -0
  42. package/assets/esri/core/workers/chunks/{18c05353d6d8950d1491.js → 36215b2c0b1020743458.js} +1 -1
  43. package/assets/esri/core/workers/chunks/3d3b1ce112be6ea31d93.js +1 -0
  44. package/assets/esri/core/workers/chunks/{2badadf8032e166b34ec.js → 3f3c63420644f9522ab1.js} +1 -1
  45. package/assets/esri/core/workers/chunks/41108f58f0f439ebba3f.js +1 -0
  46. package/assets/esri/core/workers/chunks/{bc9997d15ec0a86793c6.js → 415957a42e45eb21aa84.js} +1 -1
  47. package/assets/esri/core/workers/chunks/43c797bfc2191b51875b.js +1 -0
  48. package/assets/esri/core/workers/chunks/460a82f3e4838b13e3b4.js +1 -0
  49. package/assets/esri/core/workers/chunks/4ad6f80488aa218b95e3.js +1 -0
  50. package/assets/esri/core/workers/chunks/4e9863a11d09900baf30.js +1 -0
  51. package/assets/esri/core/workers/chunks/4fe210314813ea1f7a26.js +1 -0
  52. package/assets/esri/core/workers/chunks/5028de543cc1b8e60e65.js +1 -0
  53. package/assets/esri/core/workers/chunks/52705ccbb452a3edb064.js +1 -0
  54. package/assets/esri/core/workers/chunks/{17b39b88547968048113.js → 531c55f3b8e708ccf767.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{72acfb74fd9ab9bae923.js → 53e348f5585fa8c53fe8.js} +2 -2
  56. package/assets/esri/core/workers/chunks/54c545f44b7ce21fb604.js +1 -0
  57. package/assets/esri/core/workers/chunks/558e9fed2e58cbbf9947.js +1 -0
  58. package/assets/esri/core/workers/chunks/{b50d2d3379654de1f2f3.js → 58134617fb7530836b81.js} +1 -1
  59. package/assets/esri/core/workers/chunks/58c4be467a922fe37f01.js +1 -0
  60. package/assets/esri/core/workers/chunks/{ec4e2f18453e1cb68fed.js → 5f10f39835cb40179000.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{7b1964255722e756eba3.js → 5f9eeab833a6c08c76c4.js} +1 -1
  62. package/assets/esri/core/workers/chunks/651b46aeabf22ff53a38.js +1 -0
  63. package/assets/esri/core/workers/chunks/65f86594c42ff82095fe.js +1 -0
  64. package/assets/esri/core/workers/chunks/{90316fb569389d48920f.js → 666f201d222c50ab8428.js} +1 -1
  65. package/assets/esri/core/workers/chunks/677f5e444ff588ab670f.js +1 -0
  66. package/assets/esri/core/workers/chunks/{323f6077a659416c4cee.js → 6a9a96aa811c1d3b6edb.js} +1 -1
  67. package/assets/esri/core/workers/chunks/6bf7d8de86b9eb76f920.js +1 -0
  68. package/assets/esri/core/workers/chunks/6c0b7890c8eec7febe28.js +1 -0
  69. package/assets/esri/core/workers/chunks/{25c189e894927099c239.js → 6c85396c90941a042c33.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{18b0776aef1536867ab8.js → 6f337c3ccd84d90a35e5.js} +1 -1
  71. package/assets/esri/core/workers/chunks/711bec78dc00fad0f78d.js +1 -0
  72. package/assets/esri/core/workers/chunks/7382c9882525101eddad.js +1 -0
  73. package/assets/esri/core/workers/chunks/778ab9e4c3928b0d7d74.js +1 -0
  74. package/assets/esri/core/workers/chunks/{a3e8b7185d63a0f85931.js → 79c69ae86a1f4a56f7c7.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{0420fb4b3592f8a26b1f.js → 7d2b1e5402a88b6bee85.js} +1 -1
  76. package/assets/esri/core/workers/chunks/7ec83fc059325e207825.js +1 -0
  77. package/assets/esri/core/workers/chunks/7f385e9c88df3395e678.js +1 -0
  78. package/assets/esri/core/workers/chunks/{66ed527cd8ad11d008be.js → 80d51d58db09b9f96cb5.js} +1 -1
  79. package/assets/esri/core/workers/chunks/81a45d7e9dadf678b584.js +1 -0
  80. package/assets/esri/core/workers/chunks/81c758bdc07ed9d9a132.js +1 -0
  81. package/assets/esri/core/workers/chunks/{8670d9d11950f3c61b79.js → 83711695e16912e9b9c5.js} +1 -1
  82. package/assets/esri/core/workers/chunks/8c3bf66f8543cedc72ef.js +1 -0
  83. package/assets/esri/core/workers/chunks/8cade3af17a8bb6d4e37.js +1 -0
  84. package/assets/esri/core/workers/chunks/920d6330df72e2f01d19.js +1 -0
  85. package/assets/esri/core/workers/chunks/9dc7abca1d1eb9ba5b58.js +1 -0
  86. package/assets/esri/core/workers/chunks/9e054c264b17f04b7efa.js +1 -0
  87. package/assets/esri/core/workers/chunks/a143a6f8e2f21548b244.js +1 -0
  88. package/assets/esri/core/workers/chunks/a48a6232fa33084cb686.js +1 -0
  89. package/assets/esri/core/workers/chunks/a4947d5d2fa6b7bd399b.js +1 -0
  90. package/assets/esri/core/workers/chunks/a49f1172b17c14527acf.js +1 -0
  91. package/assets/esri/core/workers/chunks/{6af14a0217077d9ab47f.js → aaf3ed508d30ed583915.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{ab9156be67332338bbe4.js → aceec85ce64a3e6d8761.js} +1 -1
  93. package/assets/esri/core/workers/chunks/b10b3eb8c2ed9be14ab2.js +1 -0
  94. package/assets/esri/core/workers/chunks/b315b3771d0d19681aa5.js +1 -0
  95. package/assets/esri/core/workers/chunks/{91858b02da40ff251ab2.js → b397a9f87082705301a4.js} +2 -2
  96. package/assets/esri/core/workers/chunks/b40e4ed067da65c3d7ce.js +1 -0
  97. package/assets/esri/core/workers/chunks/b4b16914950792c46bd3.js +1 -0
  98. package/assets/esri/core/workers/chunks/{360b3499e2a671c309ce.js → b6969a42602517a6ef1c.js} +1 -1
  99. package/assets/esri/core/workers/chunks/baad696d84ab78b3d00e.js +2 -0
  100. package/assets/esri/core/workers/chunks/{2e7d4a437717606bc39c.js → bc2dcbdc414d157ab727.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{1aa2187597f7c4adb67f.js → bcb254cb7297fec88679.js} +1 -1
  102. package/assets/esri/core/workers/chunks/{2d1a772abd730b61854f.js → bd2125e0a68378533641.js} +1 -1
  103. package/assets/esri/core/workers/chunks/{6bd910e0480451a8d6aa.js → bde2c3199f667b63dbe8.js} +1 -1
  104. package/assets/esri/core/workers/chunks/bf595eb10f99b8a96baa.js +1 -0
  105. package/assets/esri/core/workers/chunks/c0b6706f86665cec85f8.js +1 -0
  106. package/assets/esri/core/workers/chunks/{12fd2e26e949d90abfbd.js → c3c6d337ff53e5d921e8.js} +1 -1
  107. package/assets/esri/core/workers/chunks/c461c19e4fdbdd2e94d4.js +1 -0
  108. package/assets/esri/core/workers/chunks/{4214f46bee613dea72f3.js → c66aa57b6360963bd938.js} +1 -1
  109. package/assets/esri/core/workers/chunks/c873ac660e7d5dc88781.js +1 -0
  110. package/assets/esri/core/workers/chunks/c99f36159b5ed6f9267e.js +1 -0
  111. package/assets/esri/core/workers/chunks/cb5f4820277f3fc7ff2f.js +1 -0
  112. package/assets/esri/core/workers/chunks/cbcb3530375e280bfeac.js +1 -0
  113. package/assets/esri/core/workers/chunks/cf4202ad468501ef24cf.js +1 -0
  114. package/assets/esri/core/workers/chunks/d03d50f3247327257d8b.js +1 -0
  115. package/assets/esri/core/workers/chunks/{a5af20f3d484d2d3bafe.js → d2017b0b27b9e4ada922.js} +1 -1
  116. package/assets/esri/core/workers/chunks/d2d9c1f32a75befe168b.js +1 -0
  117. package/assets/esri/core/workers/chunks/{5c12a9b0db317620dce2.js → d39f5d57f7e35c00ca16.js} +1 -1
  118. package/assets/esri/core/workers/chunks/d5b4487a983921572e58.js +1 -0
  119. package/assets/esri/core/workers/chunks/d78b2f85ec9212a973e8.js +1 -0
  120. package/assets/esri/core/workers/chunks/d9dc8d9fc8ab2706f96b.js +1 -0
  121. package/assets/esri/core/workers/chunks/{09cf8aed89a1ea1f8b28.js → da42da04a9df651b06cc.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{a82587f69c4bbcac7e0b.js → dc7df2072c0ebed5602c.js} +1 -1
  123. package/assets/esri/core/workers/chunks/dd24cddc406f610d2483.js +1 -0
  124. package/assets/esri/core/workers/chunks/dd3789e71270a4640551.js +1 -0
  125. package/assets/esri/core/workers/chunks/de5719ef663224860af5.js +1 -0
  126. package/assets/esri/core/workers/chunks/de6438fdbe38d32c4ad5.js +1 -0
  127. package/assets/esri/core/workers/chunks/ded71a656e2626a411f9.js +1 -0
  128. package/assets/esri/core/workers/chunks/df1fa0f7e8f7e2bcc2e6.js +1 -0
  129. package/assets/esri/core/workers/chunks/{b705f837caa76cee81fc.js → e09722903e63f6cc2540.js} +1 -1
  130. package/assets/esri/core/workers/chunks/e2e03622936d2b35afc0.js +1 -0
  131. package/assets/esri/core/workers/chunks/e33f5780fb45ac7ca889.js +1 -0
  132. package/assets/esri/core/workers/chunks/{eb9e913fe0dfcc71cf92.js → e4611ebd7dba7692a914.js} +1 -1
  133. package/assets/esri/core/workers/chunks/e52793690dff1a199647.js +1 -0
  134. package/assets/esri/core/workers/chunks/{c13efb74aa4602f6a1ee.js → e56a10a475ce128b5fce.js} +1 -1
  135. package/assets/esri/core/workers/chunks/{9531f17cecd50431cce2.js → e8ae71e482b8d5f54a72.js} +1 -1
  136. package/assets/esri/core/workers/chunks/ea633a6a3b9ea8ce965d.js +1 -0
  137. package/assets/esri/core/workers/chunks/eae1c098c16e2faaf90d.js +1 -0
  138. package/assets/esri/core/workers/chunks/{f7e25a85a79c4e3c1c9f.js → ec63c0fa21cd3c872633.js} +1 -1
  139. package/assets/esri/core/workers/chunks/ece363681bb09072f379.js +1 -0
  140. package/assets/esri/core/workers/chunks/edaae0fc63d16b0f675d.js +2 -0
  141. package/assets/esri/core/workers/chunks/{8650fbe1db55b7280c00.js → ef4237dc7b67c9039826.js} +1 -1
  142. package/assets/esri/core/workers/chunks/ef9106ee818ec732b670.js +1 -0
  143. package/assets/esri/core/workers/chunks/f121a0bf33c03abfa0b6.js +1 -0
  144. package/assets/esri/core/workers/chunks/{a2f38e86acf45272dbc2.js → f7506c9d57b2ae0c5fd3.js} +1 -1
  145. package/assets/esri/core/workers/chunks/fab7e3e07d700d7bb651.js +1 -0
  146. package/assets/esri/core/workers/chunks/fcc8d0b60f7c2397e550.js +1 -0
  147. package/assets/esri/core/workers/chunks/fe5aec7e2da4465422b4.js +1 -0
  148. package/assets/esri/themes/base/widgets/_BasemapGallery.scss +1 -0
  149. package/assets/esri/themes/base/widgets/_Editor.scss +1 -0
  150. package/assets/esri/themes/dark/main.css +1 -1
  151. package/assets/esri/themes/light/main.css +1 -1
  152. package/assets/esri/themes/light/view.css +1 -1
  153. package/chunks/Envelope.js +1 -1
  154. package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +1 -1
  155. package/chunks/GeodeticUtils.js +1 -1
  156. package/chunks/Geometry.js +1 -1
  157. package/chunks/MultiPathImpl.js +1 -1
  158. package/chunks/OperatorGeodesicBuffer.js +1 -1
  159. package/chunks/OperatorGeodeticArea.js +1 -1
  160. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  161. package/chunks/OperatorGeodeticLength.js +1 -1
  162. package/chunks/OperatorIntegrate.js +2 -0
  163. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  164. package/chunks/OperatorProximityGeodesic.js +1 -1
  165. package/chunks/OperatorShapePreservingLength.js +1 -1
  166. package/chunks/OperatorShapePreservingProject.js +1 -1
  167. package/chunks/Point2D.js +1 -1
  168. package/chunks/SpatialReference.js +1 -1
  169. package/chunks/containsOperator.js +1 -1
  170. package/chunks/disjointOperator.js +1 -1
  171. package/chunks/relateOperator.js +1 -1
  172. package/config.js +1 -1
  173. package/core/has.js +1 -1
  174. package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +0 -31
  175. package/{layers/graphics/editingSupport.d.ts → editing/types.d.ts} +8 -8
  176. package/editing/types.js +2 -0
  177. package/effects/FocusAreas.d.ts +1 -1
  178. package/form/elements/FieldElement.d.ts +1 -1
  179. package/form/elements/GroupElement.d.ts +1 -1
  180. package/form/elements/TextElement.d.ts +1 -1
  181. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  182. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  183. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  184. package/geometry/Mesh.d.ts +7 -7
  185. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  186. package/geometry/operators/areaOperator.d.ts +1 -1
  187. package/geometry/operators/bufferOperator.d.ts +1 -1
  188. package/geometry/operators/centroidOperator.d.ts +1 -1
  189. package/geometry/operators/clipOperator.d.ts +1 -1
  190. package/geometry/operators/containsOperator.d.ts +1 -1
  191. package/geometry/operators/convexHullOperator.d.ts +1 -1
  192. package/geometry/operators/crossesOperator.d.ts +1 -1
  193. package/geometry/operators/cutOperator.d.ts +1 -1
  194. package/geometry/operators/densifyOperator.d.ts +1 -1
  195. package/geometry/operators/differenceOperator.d.ts +1 -1
  196. package/geometry/operators/disjointOperator.d.ts +1 -1
  197. package/geometry/operators/distanceOperator.d.ts +1 -1
  198. package/geometry/operators/extendOperator.js +1 -1
  199. package/geometry/operators/generalizeOperator.d.ts +1 -1
  200. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  201. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  202. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  203. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  204. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  205. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  206. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  207. package/geometry/operators/gx/operatorIntegrate.js +1 -1
  208. package/geometry/operators/gx/operatorIntersection.js +1 -1
  209. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  210. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  211. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  212. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  213. package/geometry/operators/intersectionOperator.d.ts +1 -1
  214. package/geometry/operators/intersectsOperator.d.ts +1 -1
  215. package/geometry/operators/isNearOperator.d.ts +1 -1
  216. package/geometry/operators/json/containsOperator.js +1 -1
  217. package/geometry/operators/json/disjointOperator.js +1 -1
  218. package/geometry/operators/lengthOperator.d.ts +1 -1
  219. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  220. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  221. package/geometry/operators/offsetOperator.d.ts +5 -5
  222. package/geometry/operators/overlapsOperator.d.ts +1 -1
  223. package/geometry/operators/proximityOperator.d.ts +1 -1
  224. package/geometry/operators/reshapeOperator.js +1 -1
  225. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  226. package/geometry/operators/simplifyOperator.d.ts +1 -1
  227. package/geometry/operators/support/GeographicTransformation.d.ts +6 -4
  228. package/geometry/operators/support/GeographicTransformation.js +1 -1
  229. package/geometry/operators/support/GeographicTransformationStep.d.ts +5 -3
  230. package/geometry/operators/support/GeographicTransformationStep.js +1 -1
  231. package/geometry/operators/support/Transformation.d.ts +6 -6
  232. package/geometry/operators/support/jsonConverter.js +1 -1
  233. package/geometry/operators/support/projectionTransformation.js +1 -1
  234. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  235. package/geometry/operators/touchesOperator.d.ts +1 -1
  236. package/geometry/operators/unionOperator.d.ts +1 -1
  237. package/geometry/operators/withinOperator.d.ts +1 -1
  238. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  239. package/geometry/support/zscale.js +1 -1
  240. package/graphic/KnowledgeGraphGraphicOrigin.d.ts +0 -1
  241. package/graphic/LinkChartGraphicOrigin.js +1 -1
  242. package/interfaces.d.ts +60 -60
  243. package/kernel.js +1 -1
  244. package/layers/BuildingSceneLayer.d.ts +4 -4
  245. package/layers/CSVLayer.d.ts +319 -542
  246. package/layers/CSVLayer.js +1 -1
  247. package/layers/CatalogLayer.d.ts +2 -2
  248. package/layers/ElevationLayer.d.ts +1 -1
  249. package/layers/FeatureLayer.d.ts +15 -15
  250. package/layers/FeatureLayer.js +1 -1
  251. package/layers/GeoJSONLayer.d.ts +6 -6
  252. package/layers/GeoRSSLayer.d.ts +1 -1
  253. package/layers/GraphicsLayer.d.ts +2 -2
  254. package/layers/ImageryLayer.d.ts +3 -3
  255. package/layers/ImageryTileLayer.d.ts +2 -2
  256. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  257. package/layers/IntegratedMeshLayer.d.ts +7 -7
  258. package/layers/MapImageLayer.d.ts +1 -1
  259. package/layers/MediaLayer.d.ts +1 -1
  260. package/layers/OGCFeatureLayer.d.ts +2 -2
  261. package/layers/OrientedImageryLayer.d.ts +6 -6
  262. package/layers/OrientedImageryLayer.js +1 -1
  263. package/layers/PointCloudLayer.d.ts +1 -1
  264. package/layers/SceneLayer.d.ts +7 -7
  265. package/layers/StreamLayer.d.ts +2 -2
  266. package/layers/SubtypeGroupLayer.d.ts +5 -5
  267. package/layers/VectorTileLayer.d.ts +2 -2
  268. package/layers/VideoLayer.d.ts +1 -1
  269. package/layers/VoxelLayer.d.ts +8 -8
  270. package/layers/WFSLayer.d.ts +6 -6
  271. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  272. package/layers/graphics/applyEditsUtils.js +1 -1
  273. package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
  274. package/layers/graphics/data/QueryEngineResult.js +1 -1
  275. package/layers/graphics/editingSupport.js +1 -1
  276. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  277. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  278. package/layers/graphics/sources/support/CSVSourceWorker.js +1 -1
  279. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  280. package/layers/graphics/sources/support/QueryTask.js +1 -1
  281. package/layers/mixins/ArcGISImageService.js +1 -1
  282. package/layers/mixins/BlendLayer.d.ts +6 -6
  283. package/layers/mixins/EditBusLayer.d.ts +1 -1
  284. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  285. package/layers/orientedImagery/transformations/utils.js +1 -1
  286. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  287. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  288. package/layers/raster/datasets/ImageServerRaster.js +1 -1
  289. package/layers/raster/functions/ExtractBandFunction.js +1 -1
  290. package/layers/support/DimensionalDefinition.d.ts +2 -2
  291. package/layers/support/FeatureEffect.d.ts +4 -4
  292. package/layers/support/FeatureFilter.d.ts +17 -17
  293. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  294. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  295. package/layers/support/LabelClass.d.ts +2 -2
  296. package/layers/support/RasterFunction.d.ts +1 -1
  297. package/layers/support/SceneFilter.d.ts +2 -2
  298. package/layers/support/SceneModification.d.ts +3 -3
  299. package/layers/support/SubtypeSublayer.d.ts +5 -5
  300. package/layers/support/arcgisLayerUrl.js +1 -1
  301. package/layers/support/capabilities.js +1 -1
  302. package/layers/support/featurePopupQueryUtils.js +1 -1
  303. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  304. package/networks/support/Circuit.d.ts +11 -2
  305. package/networks/support/CircuitSection.d.ts +3 -2
  306. package/networks/support/TraceConfiguration.d.ts +5 -4
  307. package/networks/support/UNTraceConfiguration.d.ts +6 -5
  308. package/networks/support/jsonTypes.d.ts +305 -0
  309. package/package.json +3 -3
  310. package/popup/content/AttachmentsContent.d.ts +1 -1
  311. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  312. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  313. package/popup/content/FieldsContent.d.ts +1 -1
  314. package/popup/content/ImageMediaInfo.d.ts +1 -1
  315. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  316. package/popup/content/MediaContent.d.ts +1 -1
  317. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  318. package/popup/content/RelationshipContent.d.ts +1 -1
  319. package/popup/content/TextContent.d.ts +1 -1
  320. package/portal/schemas/definitions.js +1 -1
  321. package/portal/support/urlUtils.js +1 -1
  322. package/renderers/DotDensityRenderer.d.ts +3 -3
  323. package/renderers/FlowRenderer.d.ts +6 -6
  324. package/renderers/HeatmapRenderer.d.ts +3 -3
  325. package/renderers/PieChartRenderer.d.ts +1 -1
  326. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  327. package/renderers/Renderer.d.ts +2 -2
  328. package/renderers/SimpleRenderer.d.ts +1 -1
  329. package/renderers/VectorFieldRenderer.d.ts +1 -1
  330. package/renderers/mixins/VisualVariablesMixin.d.ts +8 -8
  331. package/rest/featureService/FeatureService.js +1 -1
  332. package/rest/featureService/types.d.ts +7 -1
  333. package/rest/query/operations/editsZScale.js +1 -1
  334. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  335. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  336. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  337. package/rest/support/DateBinParameters.d.ts +1 -1
  338. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  339. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  340. package/rest/support/Query.d.ts +3 -2
  341. package/rest/types.d.ts +1 -3
  342. package/smartMapping/labels/clusters.d.ts +1 -1
  343. package/smartMapping/popup/clusters.d.ts +2 -2
  344. package/smartMapping/popup/templates.d.ts +1 -1
  345. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  346. package/smartMapping/renderers/color.d.ts +12 -12
  347. package/smartMapping/renderers/predominance.d.ts +3 -3
  348. package/smartMapping/renderers/relationship.d.ts +15 -15
  349. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  350. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  351. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  352. package/smartMapping/support/utils.js +1 -1
  353. package/smartMapping/symbology/color.d.ts +4 -4
  354. package/smartMapping/symbology/flow.d.ts +2 -2
  355. package/smartMapping/symbology/types.d.ts +18 -18
  356. package/support/revision.js +1 -1
  357. package/symbols/CIMSymbol.d.ts +1 -1
  358. package/symbols/FillSymbol3DLayer.d.ts +3 -3
  359. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  360. package/symbols/LabelSymbol3D.d.ts +2 -2
  361. package/symbols/LineStyleMarker3D.d.ts +7 -7
  362. package/symbols/LineSymbol3D.d.ts +2 -2
  363. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  364. package/symbols/LineSymbolMarker.d.ts +6 -6
  365. package/symbols/MarkerSymbol.d.ts +1 -1
  366. package/symbols/MeshSymbol3D.d.ts +2 -2
  367. package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
  368. package/symbols/PathSymbol3DLayer.d.ts +14 -14
  369. package/symbols/PictureFillSymbol.d.ts +1 -1
  370. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  371. package/symbols/PointSymbol3D.d.ts +3 -3
  372. package/symbols/PolygonSymbol3D.d.ts +8 -26
  373. package/symbols/PolygonSymbol3D.js +1 -1
  374. package/symbols/SimpleFillSymbol.d.ts +8 -8
  375. package/symbols/SimpleLineSymbol.d.ts +20 -20
  376. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  377. package/symbols/Symbol3DLayer.d.ts +16 -16
  378. package/symbols/TextSymbol.d.ts +1 -1
  379. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  380. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  381. package/symbols/WebStyleSymbol.d.ts +1 -1
  382. package/symbols/callouts/Callout3D.d.ts +1 -1
  383. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  384. package/symbols/cim/CIMCursor.js +1 -1
  385. package/symbols/cim/CIMSymbolHelper.js +1 -1
  386. package/symbols/cim/cimAnalyzer.js +1 -1
  387. package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
  388. package/symbols/cim/placements/PlacementAtExtremities.js +1 -1
  389. package/symbols/cim/placements/PlacementAtMeasuredUnits.js +1 -1
  390. package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
  391. package/symbols/cim/placements/PlacementOnLine.js +1 -1
  392. package/symbols/cim/placements/PlacementOnVertices.js +1 -1
  393. package/symbols/cim/types.d.ts +30 -23
  394. package/symbols/edges/Edges3D.d.ts +1 -1
  395. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  396. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  397. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  398. package/symbols/support/ElevationInfo.d.ts +2 -2
  399. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  400. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  401. package/symbols/support/Symbol3DEmissive.d.ts +24 -13
  402. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  403. package/symbols/support/previewSymbol3D.js +1 -1
  404. package/versionManagement/VersionManagementService.d.ts +3 -2
  405. package/views/2d/analysis/DistanceMeasurement/utils.js +1 -1
  406. package/views/2d/engine/webgl/shaderGraph/techniques/GraphicInstanceStore.js +1 -1
  407. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedPolyShader.js +1 -1
  408. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
  409. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
  410. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  411. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  412. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  413. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  414. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  415. package/views/2d/types.d.ts +3 -3
  416. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  417. package/views/3d/environment/Environment.d.ts +4 -4
  418. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  419. package/views/3d/environment/RainyWeather.d.ts +1 -1
  420. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  421. package/views/3d/environment/SunLighting.d.ts +1 -1
  422. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  423. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  424. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  425. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  426. package/views/3d/support/MemoryController.js +1 -1
  427. package/views/3d/support/orientedBoundingBox.js +1 -1
  428. package/views/3d/webgl/RenderNode.d.ts +46 -57
  429. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  430. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  431. package/views/3d/webgl.d.ts +8 -5
  432. package/views/DOMContainer.js +1 -1
  433. package/views/Magnifier.d.ts +3 -3
  434. package/views/MapView.d.ts +7 -7
  435. package/views/SceneView.d.ts +34 -37
  436. package/views/View.d.ts +2 -2
  437. package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
  438. package/views/draw/DrawOperation.js +1 -1
  439. package/views/draw/DrawTool.js +1 -1
  440. package/views/draw/plugins/BezierSegmentPlugin.js +1 -1
  441. package/views/draw/plugins/CircularArcSegmentPlugin.js +1 -1
  442. package/views/draw/plugins/FreehandSegmentPlugin.js +1 -1
  443. package/views/draw/plugins/MultipointPlugin.js +1 -1
  444. package/views/draw/plugins/PointPlugin.js +1 -1
  445. package/views/draw/plugins/PolygonPlugin.js +1 -1
  446. package/views/draw/plugins/PolylinePlugin.js +1 -1
  447. package/views/draw/plugins/ShapePlugin.js +1 -1
  448. package/views/draw/support/managers/TooltipManager.js +1 -1
  449. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  450. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  451. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  452. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  453. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  454. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  455. package/views/interactive/tooltip/content/TooltipContentDynamic.js +1 -1
  456. package/views/interactive/tooltip/infos/DynamicTooltipInfo.js +1 -1
  457. package/views/layers/FeatureLikeLayerView.js +1 -1
  458. package/views/support/HighlightOptions.d.ts +1 -1
  459. package/views/support/flow/dataUtils.js +1 -1
  460. package/views/ui/DefaultUI.d.ts +2 -2
  461. package/webscene/Environment.d.ts +10 -10
  462. package/webscene/Glow.d.ts +13 -2
  463. package/webscene/background/ColorBackground.d.ts +1 -1
  464. package/webscene/spec-certification/spec.js +1 -1
  465. package/widgets/AreaMeasurement2D.d.ts +1 -1
  466. package/widgets/AreaMeasurement3D.d.ts +2 -2
  467. package/widgets/Attachments.d.ts +1 -1
  468. package/widgets/Attribution.d.ts +1 -1
  469. package/widgets/BasemapGallery.d.ts +1 -1
  470. package/widgets/BasemapLayerList.d.ts +3 -3
  471. package/widgets/BasemapToggle.d.ts +1 -1
  472. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  473. package/widgets/Bookmarks.d.ts +2 -2
  474. package/widgets/BuildingExplorer.d.ts +1 -1
  475. package/widgets/CatalogLayerList.d.ts +3 -3
  476. package/widgets/Compass.d.ts +2 -2
  477. package/widgets/CoordinateConversion.d.ts +1 -1
  478. package/widgets/Daylight.d.ts +5 -5
  479. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  480. package/widgets/Directions/DirectionsViewModel.d.ts +12 -0
  481. package/widgets/Directions/DirectionsViewModel.js +1 -1
  482. package/widgets/Directions.d.ts +4 -4
  483. package/widgets/Directions.js +1 -1
  484. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  485. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  486. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  487. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  488. package/widgets/Editor.d.ts +2 -2
  489. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  490. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  491. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  492. package/widgets/ElevationProfile.d.ts +3 -3
  493. package/widgets/Expand.d.ts +1 -1
  494. package/widgets/FeatureForm.d.ts +1 -1
  495. package/widgets/FeatureTable/ActionColumn.d.ts +1 -1
  496. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  497. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  498. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  499. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  500. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  501. package/widgets/FeatureTable.d.ts +9 -9
  502. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  503. package/widgets/FeatureTemplates.d.ts +8 -8
  504. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  505. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  506. package/widgets/Features.d.ts +1 -1
  507. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  508. package/widgets/Histogram.d.ts +2 -2
  509. package/widgets/HistogramRangeSlider.d.ts +1 -1
  510. package/widgets/Home/HomeViewModel.d.ts +2 -1
  511. package/widgets/Home/HomeViewModel.js +1 -1
  512. package/widgets/Home.d.ts +1 -1
  513. package/widgets/Home.js +1 -1
  514. package/widgets/LayerList.d.ts +4 -4
  515. package/widgets/Legend.d.ts +8 -8
  516. package/widgets/LineOfSight.d.ts +1 -1
  517. package/widgets/Locate.d.ts +2 -2
  518. package/widgets/Measurement.d.ts +1 -1
  519. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  520. package/widgets/NavigationToggle.d.ts +3 -3
  521. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  522. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  523. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  524. package/widgets/OrientedImageryViewer/components/ImageLocationViewModel.js +1 -1
  525. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  526. package/widgets/OrientedImageryViewer/constants.js +1 -1
  527. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  528. package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
  529. package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
  530. package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
  531. package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
  532. package/widgets/OrientedImageryViewer/services/TransformationService.js +1 -1
  533. package/widgets/OrientedImageryViewer/types.js +1 -1
  534. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  535. package/widgets/OrientedImageryViewer.js +1 -1
  536. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  537. package/widgets/Popup.d.ts +5 -5
  538. package/widgets/Print/CustomTemplate.d.ts +1 -1
  539. package/widgets/Print/TemplateOptions.d.ts +4 -4
  540. package/widgets/ScaleRangeSlider.d.ts +1 -1
  541. package/widgets/Search/SearchViewModel.d.ts +4 -4
  542. package/widgets/Search.d.ts +5 -5
  543. package/widgets/ShadowCast.d.ts +3 -3
  544. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  545. package/widgets/Sketch/SketchViewModel.js +1 -1
  546. package/widgets/Sketch/support/PluginManager.js +1 -1
  547. package/widgets/Sketch.d.ts +43 -43
  548. package/widgets/Slice.d.ts +2 -2
  549. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  550. package/widgets/Slider.d.ts +9 -9
  551. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  552. package/widgets/Swipe.d.ts +2 -2
  553. package/widgets/TableList.d.ts +1 -1
  554. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +8 -8
  555. package/widgets/TimeSlider/types.d.ts +1 -1
  556. package/widgets/TimeSlider.d.ts +11 -11
  557. package/widgets/Track.d.ts +2 -2
  558. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  559. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  560. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  561. package/widgets/ValuePicker.d.ts +5 -5
  562. package/widgets/VideoPlayer.d.ts +1 -1
  563. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  564. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  565. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  566. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  567. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  568. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  569. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  570. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  571. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  572. package/widgets/support/GridControls.d.ts +1 -1
  573. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  574. package/widgets/support/SnappingControls.d.ts +6 -6
  575. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +0 -1
  576. package/assets/esri/core/workers/chunks/08616877b58b518e7461.js +0 -1
  577. package/assets/esri/core/workers/chunks/089cef7124173a5cd5f9.js +0 -1
  578. package/assets/esri/core/workers/chunks/0baa0d66003d23cc76a7.js +0 -1
  579. package/assets/esri/core/workers/chunks/0baf2cf9d8998045a605.js +0 -1
  580. package/assets/esri/core/workers/chunks/0bf742d48f434c4c575f.js +0 -1
  581. package/assets/esri/core/workers/chunks/0cc68540194bd9f7aa3c.js +0 -1
  582. package/assets/esri/core/workers/chunks/0e216f0075fd531c3a2b.js +0 -1
  583. package/assets/esri/core/workers/chunks/1219b588f983b4f35033.js +0 -1
  584. package/assets/esri/core/workers/chunks/13e913aa5f5113fceb16.js +0 -1
  585. package/assets/esri/core/workers/chunks/15ba0296403dd4152b88.js +0 -1
  586. package/assets/esri/core/workers/chunks/15e5471277a48f482383.js +0 -1
  587. package/assets/esri/core/workers/chunks/16abc548724e428c325a.js +0 -1
  588. package/assets/esri/core/workers/chunks/1d124a55f6804be19e09.js +0 -1
  589. package/assets/esri/core/workers/chunks/1ede5fa7a16839ed9444.js +0 -1
  590. package/assets/esri/core/workers/chunks/25267253ba578eba38cf.js +0 -1
  591. package/assets/esri/core/workers/chunks/27aa21da934ecaca381a.js +0 -1
  592. package/assets/esri/core/workers/chunks/27d1f8279df34d8b15b5.js +0 -1
  593. package/assets/esri/core/workers/chunks/2907e9a7216b5a29729b.js +0 -1
  594. package/assets/esri/core/workers/chunks/2b0891ba57ba66b913ce.js +0 -1
  595. package/assets/esri/core/workers/chunks/2bb7bb7901bd343201fc.js +0 -1
  596. package/assets/esri/core/workers/chunks/2c7e5b78d94e5850537b.js +0 -1
  597. package/assets/esri/core/workers/chunks/2d52b137ee64469a46b2.js +0 -1
  598. package/assets/esri/core/workers/chunks/2eb7df99170b7bb2a914.js +0 -1
  599. package/assets/esri/core/workers/chunks/36b8dd092697ef544f40.js +0 -1
  600. package/assets/esri/core/workers/chunks/395ee51a863757ea8124.js +0 -1
  601. package/assets/esri/core/workers/chunks/3b0cfe3db8d90e02d6c6.js +0 -1
  602. package/assets/esri/core/workers/chunks/454150571b5b664b576a.js +0 -1
  603. package/assets/esri/core/workers/chunks/4740d319f233b7f528fe.js +0 -1
  604. package/assets/esri/core/workers/chunks/4742a8c19b86a5f859f0.js +0 -1
  605. package/assets/esri/core/workers/chunks/49d58bacb5b397246978.js +0 -1
  606. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +0 -1
  607. package/assets/esri/core/workers/chunks/59f955c7d6b0589e7cc6.js +0 -1
  608. package/assets/esri/core/workers/chunks/5a347b1d87eb6f710136.js +0 -1
  609. package/assets/esri/core/workers/chunks/5b97cdeb5949822fbef3.js +0 -1
  610. package/assets/esri/core/workers/chunks/5cd614f50e8925eeeaf4.js +0 -1
  611. package/assets/esri/core/workers/chunks/620d7cd0b0885122aa0f.js +0 -1
  612. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +0 -1
  613. package/assets/esri/core/workers/chunks/7017c2e621236c7a7da4.js +0 -1
  614. package/assets/esri/core/workers/chunks/731e6eaad319865fb780.js +0 -1
  615. package/assets/esri/core/workers/chunks/7407a1e0cef508116a0b.js +0 -1
  616. package/assets/esri/core/workers/chunks/752c43cdd38dfde912d2.js +0 -1
  617. package/assets/esri/core/workers/chunks/78936c591fd49ff955a9.js +0 -1
  618. package/assets/esri/core/workers/chunks/796f5265747ce8be910e.js +0 -1
  619. package/assets/esri/core/workers/chunks/7b7288c431933a75daca.js +0 -1
  620. package/assets/esri/core/workers/chunks/7e6309bfed6692e8d2d7.js +0 -2
  621. package/assets/esri/core/workers/chunks/7f60309d211c49721265.js +0 -1
  622. package/assets/esri/core/workers/chunks/7f9b0ef7f9b3f3fd3df9.js +0 -1
  623. package/assets/esri/core/workers/chunks/8177e95596b71bf020aa.js +0 -1
  624. package/assets/esri/core/workers/chunks/9bb04d5f2e6f6e4585a0.js +0 -1
  625. package/assets/esri/core/workers/chunks/a03196e6579d738251fc.js +0 -1
  626. package/assets/esri/core/workers/chunks/a0b715cf03895082b773.js +0 -1
  627. package/assets/esri/core/workers/chunks/a115984b794a7f90b2c0.js +0 -1
  628. package/assets/esri/core/workers/chunks/a5e91cf150f6cf6a5d2a.js +0 -1
  629. package/assets/esri/core/workers/chunks/a60a84c8c45f6d03443f.js +0 -1
  630. package/assets/esri/core/workers/chunks/aec827b50df6edc54808.js +0 -1
  631. package/assets/esri/core/workers/chunks/aef2832902b270f1a594.js +0 -1
  632. package/assets/esri/core/workers/chunks/b0b24fb60a21b995b348.js +0 -1
  633. package/assets/esri/core/workers/chunks/bb830d93e97dceac350f.js +0 -1
  634. package/assets/esri/core/workers/chunks/bd05e68b00b9878d0266.js +0 -1
  635. package/assets/esri/core/workers/chunks/bd12ca39198e6efbefbb.js +0 -1
  636. package/assets/esri/core/workers/chunks/bdd246cc50ccd5c10987.js +0 -1
  637. package/assets/esri/core/workers/chunks/c080e189764d8bb9cf25.js +0 -1
  638. package/assets/esri/core/workers/chunks/c15f0769a64863cccef0.js +0 -1
  639. package/assets/esri/core/workers/chunks/c516b185b099bf69c0ed.js +0 -1
  640. package/assets/esri/core/workers/chunks/c53048b0f153b251d792.js +0 -1
  641. package/assets/esri/core/workers/chunks/c693e8eb96ab8a4b9cbe.js +0 -1
  642. package/assets/esri/core/workers/chunks/c9babe86c00ae69e63ee.js +0 -2
  643. package/assets/esri/core/workers/chunks/cf09408cb7729126caae.js +0 -1
  644. package/assets/esri/core/workers/chunks/d9c1e1ec5c56f09fb82f.js +0 -1
  645. package/assets/esri/core/workers/chunks/e0565849281ffbe8269e.js +0 -1
  646. package/assets/esri/core/workers/chunks/e1ba6f857ca12f154e77.js +0 -1
  647. package/assets/esri/core/workers/chunks/e4f1e584f89ffb86206b.js +0 -1
  648. package/assets/esri/core/workers/chunks/e60684918100666bb892.js +0 -1
  649. package/assets/esri/core/workers/chunks/e94448b371cd17d7a472.js +0 -1
  650. package/assets/esri/core/workers/chunks/ed78e19b1e400c0db309.js +0 -1
  651. package/assets/esri/core/workers/chunks/ede1d1cc2f315a34f4ca.js +0 -1
  652. package/assets/esri/core/workers/chunks/f17a301516f008abef3a.js +0 -1
  653. package/assets/esri/core/workers/chunks/fc98b8351be567d3eb62.js +0 -1
  654. package/assets/esri/core/workers/chunks/fd5a5b05a1551cdb8c87.js +0 -1
  655. package/assets/esri/core/workers/chunks/fda0f4469d9cda637af4.js +0 -1
  656. package/assets/esri/core/workers/chunks/fe52117fe6982046c9e3.js +0 -1
  657. package/assets/esri/core/workers/chunks/ff961bb6d29ab3fe129d.js +0 -1
  658. /package/assets/esri/core/workers/chunks/{2762149a922275136171.js.LICENSE.txt → 112227b862b935123ddf.js.LICENSE.txt} +0 -0
  659. /package/assets/esri/core/workers/chunks/{72acfb74fd9ab9bae923.js.LICENSE.txt → 53e348f5585fa8c53fe8.js.LICENSE.txt} +0 -0
  660. /package/assets/esri/core/workers/chunks/{7e6309bfed6692e8d2d7.js.LICENSE.txt → b397a9f87082705301a4.js.LICENSE.txt} +0 -0
  661. /package/assets/esri/core/workers/chunks/{91858b02da40ff251ab2.js.LICENSE.txt → baad696d84ab78b3d00e.js.LICENSE.txt} +0 -0
  662. /package/assets/esri/core/workers/chunks/{c9babe86c00ae69e63ee.js.LICENSE.txt → edaae0fc63d16b0f675d.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[561,7705,9397],{5359(e,t,i){i.d(t,{H:()=>r,Z:()=>s});const r=Symbol("isImageryTileGraphicOrigin");function s(e){return!!e&&r in e}},18768(e,t,i){i.d(t,{b:()=>a});var r=i(5482),s=i(53966),n=i(91429),o=i(60694);const a=e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,o.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,o.Jf)(e,s.A.getLogger(this)))}};return(0,r.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}},25943(e,t,i){i.d(t,{d:()=>C});var r,s=i(5482),n=i(11254),o=i(69622),a=i(49186),l=i(36563),c=(i(44208),i(66344)),h=i(15142),u=i(74887),p=i(36708),d=i(76030),f=i(84952),m=i(91429),g=i(72802),y=i(4718),v=i(69397),w=i(34275);class b{constructor(e){!function(e){if(!e?.location)throw new a.A("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new a.A("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new a.A("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new a.A("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new a.A("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")}(e);const{location:t,data:i}=e;this.location=Object.freeze((0,y.o8)(t));const r=this.location.width,s=this.location.height;let n=!0,o=!0;const l=function(e,t=!1){return e<=w.y9?t?new Array(e).fill(0):new Array(e):new Uint32Array(e)}(Math.ceil(r*s/32));let c=0;for(let e=0;e<i.length;e++){const t=e%32;i[e]?(o=!1,l[c]|=1<<t):n=!1,31===t&&++c}o?(this._availability="unavailable",this.byteSize=40):n?(this._availability="available",this.byteSize=40):(this._availability=l,this.byteSize=40+(0,v.Qf)(l))}getAvailability(e,t){if("unavailable"===this._availability||"available"===this._availability)return this._availability;const i=(e-this.location.top)*this.location.width+(t-this.location.left),r=i%32,s=i>>5,n=this._availability;return s<0||s>n.length?"unknown":n[s]&1<<r?"available":"unavailable"}static fromDefinition(e,t){const i=e.service.request||n.A,{row:r,col:s,width:o,height:l}=e,c={query:{f:"json"}};return t=t?{...c,...t}:c,i(function(e){let t;if(e.service.tileServers?.length){const i=e.service.tileServers;t=`${i&&i.length?i[e.row%i.length]:e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}else t=`${e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`;const i=e.service.query;return i&&(t=`${t}?${i}`),t}(e),t).then(e=>e.data).catch(e=>{if(422===e?.details?.httpStatus)return{location:{top:r,left:s,width:o,height:l},valid:!0,data:new Array(o*l).fill(0)};throw e}).then(e=>{if(e.location&&(e.location.top!==r||e.location.left!==s||e.location.width!==o||e.location.height!==l))throw new a.A("tilemap:location-mismatch","Tilemap response for different location than requested",{response:e,definition:{top:r,left:s,width:o,height:l}});return b.fromJSON(e)})}static fromJSON(e){return Object.freeze(new b(e))}}function A(e){return`${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}function _(e,t,i){return new a.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:i})}let C=class extends o.A{static{r=this}constructor(e){super(e),this._pendingTilemapRequests={},this.request=n.A,this.size=32,this._prefetchingEnabled=!0}initialize(){this._tilemapCache=new c.q(2097152),this.addHandles((0,p.wB)(()=>{const{layer:e}=this;return[e?.parsedUrl,e?.tileServers,e?.apiKey,e?.customParameters]},()=>this._initializeTilemapDefinition(),p.Vh))}get effectiveMinLOD(){return this.minLOD??this.layer.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.layer.tileInfo.lods[this.layer.tileInfo.lods.length-1].level}getAvailability(e,t,i){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return"unavailable";const r=this._tilemapFromCache(e,t,i,this._tmpTilemapDefinition);return r?r.getAvailability(t,i):"unknown"}fetchAvailability(e,t,i,r){return!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD?Promise.reject(_(e,t,i)):this._fetchTilemap(e,t,i,r).catch(e=>e).then(r=>{if(r instanceof b){const s=r.getAvailability(t,i);if("unavailable"===s)throw _(e,t,i);return s}if((0,u.zf)(r))throw r;return"unknown"})}fetchAvailabilityUpsample(e,t,i,r,s){r.level=e,r.row=t,r.col=i;const n=this.layer.tileInfo;n.updateTileInfo(r);const o=this.fetchAvailability(e,t,i,s).catch(e=>{if((0,u.zf)(e))throw e;if(n.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r,s);throw e});return this._fetchAvailabilityUpsamplePrefetch(e,t,i,s,o),o}async _fetchAvailabilityUpsamplePrefetch(e,t,i,s,n){if(!this._prefetchingEnabled)return;const o=`prefetch-${e}-${t}-${i}`;if(this.hasHandles(o))return;const a=new AbortController;n.then(()=>a.abort(),()=>a.abort());let c=!1;const h=(0,l.hA)(()=>{c||(c=!0,a.abort())});if(this.addHandles(h,o),await(0,d.md)(10,a.signal).catch(()=>{}),c||(c=!0,this.removeHandles(o)),(0,u.G4)(a))return;const p=new g.U(e,t,i),f={...s,signal:a.signal},m=this.layer.tileInfo;for(let e=0;r._prefetches.length<r._maxPrefetch&&m.upsampleTile(p);++e){const e=this.fetchAvailability(p.level,p.row,p.col,f);r._prefetches.push(e);const t=()=>{r._prefetches.removeUnordered(e)};e.then(t,t)}}static{this._maxPrefetch=4}static{this._prefetches=new h.A({initialSize:r._maxPrefetch})}static cleanupTilemapCache(){this._prefetches.prune()}_fetchTilemap(e,t,i,r){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return Promise.reject(new a.A("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`));const s=this._tmpTilemapDefinition,n=this._tilemapFromCache(e,t,i,s);if(n)return Promise.resolve(n);const o=r?.signal;return r={...r,signal:null},new Promise((e,t)=>{(0,u.u7)(o,()=>t((0,u.NK)()));const i=A(s);let n=this._pendingTilemapRequests[i];if(!n){n=b.fromDefinition(s,r).then(e=>(this._tilemapCache.put(i,e,e.byteSize),e));const e=()=>{delete this._pendingTilemapRequests[i]};this._pendingTilemapRequests[i]=n,n.then(e,e)}n.then(e,t)})}_initializeTilemapDefinition(){if(!this.layer.parsedUrl)return;const{parsedUrl:e,apiKey:t,customParameters:i}=this.layer;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:e.path,query:(0,f.x0)({...e.query,...i,token:t??e.query?.token}),tileServers:this.layer.tileServers,request:this.request},width:this.size,height:this.size,level:0,row:0,col:0}}_tilemapFromCache(e,t,i,r){r.level=e,r.row=t-t%this.size,r.col=i-i%this.size;const s=A(r);return this._tilemapCache.get(s)}get test(){}};(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],C.prototype,"layer",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],C.prototype,"minLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],C.prototype,"maxLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],C.prototype,"request",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],C.prototype,"size",void 0),C=r=(0,s.Cg)([(0,m.$K)("esri.layers.support.TilemapCache")],C)},56551(e,t,i){i.d(t,{H:()=>u});var r=i(5482),s=i(91429),n=i(69540),o=i(25482),a=i(56507),l=i(94359),c=i(93223);let h=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=void 0,this.method="none",this.value=void 0,this.bandIds=void 0,this.renderer=void 0}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],h.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({type:["raster-function-template","variable","none"],json:{write:{isRequired:!0}}}),(0,c.e)({rasterFunctionTemplate:"raster-function-template",variable:"variable",none:"none"})],h.prototype,"method",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],h.prototype,"value",void 0),(0,r.Cg)([(0,s.MZ)({type:[a.jz],json:{write:{isRequired:!0}}})],h.prototype,"bandIds",void 0),(0,r.Cg)([(0,s.MZ)({types:l.uy,json:{write:!0,origins:{"web-scene":{types:l.Gj,write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],h.prototype,"renderer",void 0),h=(0,r.Cg)([(0,s.$K)("esri.renderers.support.RasterPresetRenderer")],h);const u=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.activePresetRendererName=null,this.presetRenderers=null}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"layerDefinition.activePresetRendererName",write:{allowNull:!0}}})],i.prototype,"activePresetRendererName",void 0),(0,r.Cg)([(0,s.MZ)({type:[h],json:{name:"layerDefinition.presetRenderers",write:!0}})],i.prototype,"presetRenderers",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.RasterPresetRendererMixin")],i),i}},69397(e,t,i){i.d(t,{Qf:()=>l,Qh:()=>o,RS:()=>s,Ul:()=>d,lM:()=>n,qK:()=>h});var r=i(34275);const s=16;function n(e){if(!e)return 0;let t=h;for(const i in e)e.hasOwnProperty(i)&&(t+=a(e[i],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return l(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return c(e,8);let i=u;for(let r=0;r<t;r++)i+=a(e[r]);return i}(e);let t=h;for(const i in e)e.hasOwnProperty(i)&&(t+=a(e[i]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):h;case"string":return function(e){return 32+e.length}(e);case"number":return s;case"boolean":return 4;default:return 8}}function l(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+p:Array.isArray(t)?c(t,s):0:0),0)}function c(e,t){return u+e.length*t}const h=32,u=16,p=145,d=64},72802(e,t,i){i.d(t,{U:()=>s});var r=i(19419);class s{constructor(e,t,i,s=(0,r.vt)()){this._level=e,this._row=t,this._col=i,this.extent=s}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new s(e.level,e.row,e.col,e.extent)}}},82371(e,t,i){i.d(t,{E9:()=>f,Tw:()=>p,X6:()=>d});var r=i(11254),s=i(5443),n=i(86738),o=i(16930),a=i(87186),l=i(20223),c=i(2272),h=i(22671);async function u(e,t,i){const u=(0,c.Dl)(e),{rasterFunction:p,sourceJSON:d}=t||{},f=p?JSON.stringify(p.rasterFunctionDefinition||p):null,m=(0,c.lF)({...u.query,renderingRule:f,f:"json"}),g=(0,c.jV)(m,i);e=u.path;const y=d||await(0,r.A)(e,g).then(e=>e.data),v=y.hasRasterAttributeTable?(0,r.A)(`${e}/rasterAttributeTable`,g):null,w=y.hasColormap?(0,r.A)(`${e}/colormap`,g):null,b=y.hasHistograms?(0,r.A)(`${e}/histograms`,g):null,A=y.currentVersion>=10.3?(0,r.A)(`${e}/keyProperties`,g):null,_=y.hasMultidimensions?(0,r.A)(`${e}/multidimensionalInfo`,g):null,C=y.currentVersion>=10.81?(0,r.A)(`${e}/statistics`,g):null,R=await Promise.allSettled([v,w,b,A,_,C]),S=s.A.fromJSON(y.extent),M=Math.ceil(S.width/y.pixelSizeX-.1),O=Math.ceil(S.height/y.pixelSizeY-.1),x=o.A.fromJSON(y.spatialReference||y.extent.spatialReference),I="fulfilled"===R[0].status?R[0].value?.data:null,T=I?.features?.length?h.A.fromJSON(I):null,P="fulfilled"===R[1].status?R[1].value?.data.colormap:null,z=P?.length?P:null,D="fulfilled"===R[2].status?R[2].value?.data.histograms:null,F=D?.[0]?.counts?.length?D:null,N="fulfilled"===R[3].status?R[3].value?.data??{}:{},Z="fulfilled"===R[4].status?R[4].value?.data.multidimensionalInfo:null,L=Z?.variables?.length?Z:null;L&&L.variables.forEach(e=>{e.statistics?.length&&e.statistics.forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation}),e.dimensions?.forEach(e=>{"StdTime"!==e.name||e.recurring||e.unit||(e.unit="ISO8601")})});let j=null;const $="fulfilled"===R[5].status?R[5].value?.data.statistics:null;if($&&$.length===y.bandCount)j=$.map(e=>({avg:e.mean,count:e.count,max:e.max,median:e.median,min:e.min,mode:e.mode,stddev:e.standardDeviation,sum:e.sum}));else if(y.minValues&&y.minValues.length===y.bandCount){j=[];for(let e=0;e<y.minValues.length;e++)j.push({min:y.minValues[e],max:y.maxValues[e],avg:y.meanValues[e],stddev:y.stdvValues[e]})}const{defaultVariable:J,serviceDataType:V}=y;J&&J!==N.DefaultVariable&&(N.DefaultVariable=J),V?.includes("esriImageServiceDataTypeVector")&&!V.includes(N.DataType)&&(N.DataType=V.replace("esriImageServiceDataType",""));let q=y.noDataValue;y.noDataValues?.length&&y.noDataValues.some(e=>e!==q)&&(q=y.noDataValues);const E=y.transposeInfo?new l.A({blockWidth:256,blockHeight:256,pyramidBlockWidth:256,pyramidBlockHeight:256,pyramidScalingFactor:2,compression:"lerc",origin:new n.A({x:y.extent.xmin,y:y.extent.ymax,spatialReference:x}),firstPyramidLevel:1,maximumPyramidLevel:Math.max(0,Math.round(Math.log(Math.max(M,O))/Math.LN2-8)),transposeInfo:y.transposeInfo}):void 0;return new a.A({width:M,height:O,bandCount:y.bandCount,extent:s.A.fromJSON(y.extent),spatialReference:x,pixelSize:new n.A({x:y.pixelSizeX,y:y.pixelSizeY,spatialReference:x}),pixelType:y.pixelType.toLowerCase(),statistics:j,attributeTable:T,colormap:z,histograms:F,keyProperties:N,noDataValue:q,multidimensionalInfo:L,storageInfo:E})}function p(e,t,i){return u(e,{sourceJSON:t},i)}function d(e,t,i){return u(e,{rasterFunction:t},i)}function f(e,t){e.attributeTable||(t.hasRasterAttributeTable=!1),e.histograms||(t.hasHistograms=!1),e.colormap||(t.hasColormap=!1),e.multidimensionalInfo||(t.hasMultidimensions=!1)}},87045(e,t,i){i.d(t,{A:()=>w});var r,s=i(5482),n=i(66552),o=i(25482),a=i(86211),l=i(91429),c=i(56507),h=i(86738),u=i(16930),p=i(21325),d=i(28735),f=i(91806),m=i(72802),g=i(36005),y=i(43937);const v=new n.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=class extends o.o{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:s=256,spatialReference:n=u.A.WebMercator,numLODs:o=24}=e;if(!(0,p.fn)(n)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new f.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift(new f.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new h.A(0,0,n),size:[s,s],spatialReference:n})}const l=(0,p.Vp)(n),c=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:n}):new h.A(l?{x:l.origin[0],y:l.origin[1],spatialReference:n}:{x:0,y:0,spatialReference:n}),d=1/(39.37*(0,a.GA)(n)*96),m=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*d;m.push(new f.A({level:e,scale:t,resolution:r}))}else{let e=(0,p.EA)(n)?512/s*591657527.5917094:256/s*591657527.591555;const i=Math.ceil(o/t);m.push(new f.A({level:0,scale:e,resolution:e*d}));for(let r=1;r<i;r++){const i=e/2**t,s=i*d;m.push(new f.A({level:r,scale:i,resolution:s})),e=i}}return new r({dpi:96,lods:m,origin:c,size:[s,s],spatialReference:n})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,p.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],s=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach(e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,s[e.level]=e})),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],s=t[r+1];if(i<=e)return r;if(s===e)return r+1;if(i>e&&s<e)return r+Math.log(i/e)/Math.log(i/s)}return r}tileAt(e,t,i,r){const s=this.lodAt(e);if(!s)return null;let n,o;if("number"==typeof t)n=t,o=i;else if((0,p.aI)(t.spatialReference,this.spatialReference))n=t.x,o=t.y,r=i;else{const e=(0,d.Cv)(t,this.spatialReference);if(null==e)return null;n=e.x,o=e.y,r=i}const a=s.resolution*this.size[0],l=s.resolution*this.size[1];return r??=new m.U(0,0,0),r.level=e,r.row=Math.floor((this.origin.y-o)/l+.001),r.col=Math.floor((n-this.origin.x)/a+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let i=this.lodAt(e.level);if(!i&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return!1;const r=e.level-i.level,s=i.resolution*this.size[0]/2**r,n=i.resolution*this.size[1]/2**r;return e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*n,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+n,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,s=r*this.size[0],n=r*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*n,e[2]=e[0]+s,e[3]=e[1]+n,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],s=this.lods.length-t;for(let e=0;e<s;e++){const r=e+t,{scale:s,resolution:n}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new f.A({level:e,scale:s,resolution:n}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,s.Cg)([(0,l.MZ)({type:h.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,s.Cg)([(0,g.w)("origin")],w.prototype,"readOrigin",null),(0,s.Cg)([(0,l.MZ)({type:[f.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,s.Cg)([(0,l.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],w.prototype,"size",void 0),(0,s.Cg)([(0,g.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,s.Cg)([(0,y.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],w.prototype,"writeSize",null),(0,s.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=r=(0,s.Cg)([(0,l.$K)("esri.layers.support.TileInfo")],w)},90561(e,t,i){i.r(t),i.d(t,{default:()=>U});var r,s=i(5482),n=i(37838),o=i(69540),a=i(49186),l=i(53966),c=i(25728),h=i(74887),u=i(36708),p=i(91429),d=i(56507),f=i(89808),m=i(99959),g=i(5359);class y extends m.A{get[(r=g.H,f.Q)](){return this.layer}constructor(e){super(),this[r]=!0,this.type="imagery-tile",this.layer=e}get id(){return this.layer.id}}var v=i(4146),w=i(18768),b=i(63074),A=i(69208),_=i(16131),C=i(8303),R=i(72545),S=i(56551),M=i(54310),O=i(25036),x=i(82935),I=i(82806),T=i(7548),P=i(23636),z=i(1003),D=i(99235),F=i(10873),N=i(20437),Z=i(74797),L=i(22796),j=i(87045),$=i(24212),J=i(30291),V=i(88625),q=i(59923);let E=class extends((0,b.dM)((0,O.j)((0,_.q)((0,C.A)((0,S.H)((0,A.d)((0,I.b)((0,R.G)((0,x.e)((0,w.b)((0,M.J)((0,c.M)((0,o.OU)(v.A)))))))))))))){constructor(...e){super(...e),this._primaryRasters=[],this.graphicOrigin=new y(this),this.legendEnabled=!0,this.isReference=null,this.listMode="show",this.sourceJSON=null,this.version=null,this.type="imagery-tile",this.operationalLayerType="ArcGISTiledImageServiceLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.fields=null,this.source=void 0,this._debouncedSaveOperations=(0,h.sg)(async(e,t,r)=>{const{save:s,saveAs:n}=await i.e(9838).then(i.bind(i,59838));switch(e){case 0:return s(this,t);case 1:return n(this,r,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"]},e).catch(h.QP).then(()=>this._openRaster(t))),Promise.resolve(this)}set elevationInfo(e){"relative-to-scene"!==e?.mode&&this._set("elevationInfo",e),this._validateElevationInfo(e)}get defaultPopupTemplate(){return this.createPopupTemplate()}get rasterFields(){const e=[(0,Z.rZ)("Pixel Value"),(0,Z.dy)("Raw Pixel Value")],t=this.raster?.rasterInfo??this.serviceRasterInfo,i=t?.attributeTable;if(i){const t=(0,Z.jC)(i);e.push(...t)}const r=t?.dataType,s=t?.multidimensionalInfo;if(("vector-magdir"===r||"vector-uv"===r)&&null!=s){const t=s.variables[0].unit?.trim(),i=(0,Z.DV)(t),r=(0,Z.y6)();e.push(i,r)}if(s){const t=(0,Z.AL)(s);e.push(...t)}return e}get renderer(){return super.renderer}set renderer(e){super.renderer=e}createPopupTemplate(e){const{rasterFields:t}=this,i=e?.visibleFieldNames??new Set(t.map(({name:e})=>e).filter(e=>e!==Z.F_.rawServicePixelValue)),r=(0,J.tn)({fields:t,title:this.title},{...e,visibleFieldNames:i}),{rasterInfo:s}=this.raster;return r?.fieldInfos&&s&&(0,Z.h4)(r.fieldInfos,s),r}async generateRasterInfo(e,t){const i=(0,d.PZ)(L.A,e);if(await this.load(),!i||"none"===i.functionName?.toLowerCase())return this.serviceRasterInfo;try{const{rasterInfo:e}=await this._openFunctionRaster(i,t);return e}catch(e){if(e instanceof a.A)throw e;throw new a.A("imagery-tile-layer","the given raster function is not supported")}}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}supportsWrite(){const e=this._primaryRasters[0]??this.raster;return!!(this.loaded?"RasterTileServer"===e.datasetFormat&&("Raster"===e.tileType||"Map"===e.tileType):this.url&&/\/ImageServer(\/|\/?$)/i.test(this.url))}write(e,t){return this.supportsWrite()?super.write(e,t):((0,q.U4)(t,this),null)}async hasDataChanged(){try{const e=this._primaryRasters[0]??this.raster,{dataChanged:t,updates:i}=await e.refresh();return t&&(this.serviceRasterInfo!==e.rasterInfo&&this._set("serviceRasterInfo",e.rasterInfo),e.sourceJSON&&this.sourceJSON!==e.sourceJSON&&(this.sourceJSON=e.sourceJSON),i&&this.read(i,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0})),t}catch{return!1}}async _openRaster(e){let t=!1;if(this.raster)await this._openFromRaster(this.raster,e),t=(0,T.qg)(this.raster),!t&&this.rasterFunction&&(this._primaryRasters=[this.raster],await this._initializeWithFunctionRaster(this.rasterFunction));else{const{url:t,rasterFunction:i,source:r}=this;if(!t&&!r)throw new a.A("imagery-tile-layer:open","missing url or source parameter");r?await this._openFromSource(r,e):i?await this._openFromUrlWithRasterFunction(t,i,e):await this._openFromUrl(t,e)}const i=this.raster.rasterInfo;if(!i)throw new a.A("imagery-tile-layer:load","cannot load resources on "+this.url);if(this._set("serviceRasterInfo",t?i:this._primaryRasters[0].rasterInfo),this._set("spatialReference",i.spatialReference),this.sourceJSON=this.sourceJSON||this.raster.sourceJSON,null!=this.sourceJSON){const e="Map"===this.raster.tileType&&null!=this.sourceJSON.minLOD&&null!=this.sourceJSON.maxLOD?this.sourceJSON:{...this.sourceJSON,minScale:0,maxScale:0};this.read(e,{origin:"service"})}else this.read({tileInfo:this.serviceRasterInfo?.storageInfo.tileInfo.toJSON()},{origin:"service"});this.title||(this.title=this.raster.datasetName),"Map"===this.raster.tileType&&(this.popupEnabled=!1),this._configDefaultSettings(),this.addHandles((0,u.wB)(()=>this.customParameters,e=>{this.raster&&(this.raster.ioConfig.customFetchParameters=e)}))}async _openFromRaster(e,t){e.rasterInfo||await e.open({signal:t}),this._primaryRasters=(0,T.pb)(e),this.url||(this.url=this._primaryRasters[0].url)}async _openFromUrlWithRasterFunction(e,t,i){const r=[e];t&&(0,D.UD)(t.toJSON(),r);const s=await Promise.all(r.map(e=>z.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},signal:i}))),n=s.findIndex(e=>null==e);if(n>-1)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${r[n]}`);return this._primaryRasters=s,this._initializeWithFunctionRaster(t)}async _openFromUrl(e,t){const i=await z.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},signal:t});if(null==i)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${e}`);this._primaryRasters=[i],this.raster=i}async _openFromSource(e,t){const i="the tiled imagery data source is not supported",r="coverage"===e.type?.toLowerCase()?"CovJSON":e.extent&&e.pixelBlock?"MEMORY":null;if(!r)throw new a.A("imagery-tile-layer:open",i);"MEMORY"===r&&(e={...e,pixelBlock:void 0,pixelBlocks:[e.pixelBlock]});const s=await z.default.open({url:"",source:e,datasetFormat:r,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},signal:t});if(null==s)throw new a.A("imagery-tile-layer:open",i);this._primaryRasters=[s],this.rasterFunction?await this._initializeWithFunctionRaster(this.rasterFunction):this.raster=s}async _openFunctionRaster(e,t){const i={raster:this._primaryRasters[0]};this._primaryRasters.length>1&&this._primaryRasters.forEach(e=>i[e.url]=e);const r=(0,D.vt)(e.functionDefinition?.toJSON()??e.toJSON(),i),s=new P.A({rasterFunction:r});return await s.open(t),s}async _initializeWithFunctionRaster(e,t){try{this.raster=await this._openFunctionRaster(e,t)}catch(e){e instanceof a.A&&l.A.getLogger(this).error("imagery-tile-layer:open",e.message),l.A.getLogger(this).warn("imagery-tile-layer:open","the raster function cannot be applied and is removed"),this._set("rasterFunction",null),this.raster=this._primaryRasters[0]}}_validateElevationInfo(e){(0,$.XF)(l.A.getLogger(this),(0,$.$7)("ImageryTile layers","relative-to-scene",e)),(0,$.XF)(l.A.getLogger(this),(0,$.tW)("ImageryTile layers",e))}};(0,s.Cg)([(0,p.MZ)({clonable:!1})],E.prototype,"_primaryRasters",void 0),(0,s.Cg)([(0,p.MZ)({type:V.A,value:null,json:{name:"layerDefinition.elevationInfo",write:!0,origins:{"portal-item":{read:!1,write:!1},"web-map":{read:!1,write:!1}}}})],E.prototype,"elevationInfo",null),(0,s.Cg)([(0,p.MZ)({type:j.A})],E.prototype,"tileInfo",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,clonable:!1})],E.prototype,"graphicOrigin",void 0),(0,s.Cg)([(0,p.MZ)(F.fV)],E.prototype,"legendEnabled",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],E.prototype,"isReference",void 0),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,s.Cg)([(0,p.MZ)({json:{read:!0,write:!0}})],E.prototype,"blendMode",void 0),(0,s.Cg)([(0,p.MZ)({type:L.A,json:{name:"renderingRule",write:!0}})],E.prototype,"rasterFunction",void 0),(0,s.Cg)([(0,p.MZ)()],E.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,json:{origins:{service:{read:{source:"currentVersion"}}}}})],E.prototype,"version",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],E.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({type:["ArcGISTiledImageServiceLayer"]})],E.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,value:!0,json:{read:{source:"disablePopup",reader:(e,t)=>!t.disablePopup},write:{target:"disablePopup",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}},writer(e,t,i){t[i]=!e}}}})],E.prototype,"popupEnabled",void 0),(0,s.Cg)([(0,p.MZ)({type:n.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}}}}})],E.prototype,"popupTemplate",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],E.prototype,"defaultPopupTemplate",null),(0,s.Cg)([(0,p.MZ)(F.PY)],E.prototype,"screenSizePerspectiveEnabled",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,type:[N.A]})],E.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,type:[N.A]})],E.prototype,"rasterFields",null),(0,s.Cg)([(0,p.MZ)({constructOnly:!0})],E.prototype,"source",void 0),E=(0,s.Cg)([(0,p.$K)("esri.layers.ImageryTileLayer")],E);const U=E},91806(e,t,i){i.d(t,{A:()=>l});var r,s=i(5482),n=i(25482),o=i(91429),a=i(56507);let l=class extends n.o{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"cols",void 0),(0,s.Cg)([(0,o.MZ)({type:a.jz,json:{write:!0}})],l.prototype,"level",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"levelValue",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"origin",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"resolution",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"rows",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"scale",void 0),l=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.LOD")],l)}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see c9babe86c00ae69e63ee.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7780],{5600(t,e,s){s.d(e,{c:()=>i,o:()=>o});class i{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}const o=(t,e)=>{const s=e>n?r:e/a;let i=0;const o=setInterval(()=>{i+=s,i>=e&&(clearInterval(o),t())},s);return o},n=4e3,r=2e3,a=4},7667(t,e,s){s.d(e,{C:()=>a,D:()=>c,a:()=>p,b:()=>h,c:()=>g,g:()=>y,s:()=>$}),Object(function(){var t=new Error("Cannot find module '../cdn/main.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(57814),o=s(34857);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100},h=25;function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),o=t=>{a!==t&&i(t),a=t};let a=s();i(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>o(t.matches?"dark":"light")),new MutationObserver(()=>o(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}let d;const u={focusTrapStack:[],logLevel:"info"};function p(){return d||(d={...u,...globalThis.calciteConfig??{}}),d}const f="5.0.0";o.S$||("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",l,{once:!0})),queueMicrotask(function(){const t=p();t&&t.version||(console.info(`Using Calcite Components ${f} [Date: 2026-02-05, Revision: 6b3745a33]`),Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t)});const m=(0,i.le)({defaultAssetPath:"https://js.arcgis.com/calcite-components/5.0.0/",hydratedAttribute:"calcite-hydrated"}),{customElement:g,getAssetPath:y,setAssetPath:$}=m},11654(t,e,s){s.d(e,{C:()=>c,a:()=>l,b:()=>h,s:()=>d});var i=s(36839),o=s(53660),n=s(34857),r=s(5600),a=s(99729);class c extends o.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=n.s6,this.T=[],this.#t=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=l in t&&"function"==typeof t.destroy,n.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${l} prop.`)}void 0!==this.#s&&clearTimeout(this.#s),(0,o.p)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,i.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,i.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,i.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,i.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),(0,a.a)(t)}#s;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#s=void 0,this.destroyed=!0;for(const t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():(0,i.UF)(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(void 0!==this.#s&&clearTimeout(this.#s),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){const t=()=>{this.#e.destroy()};this.#s=(0,r.o)(t,h)}}S(t,e){const s=this.T;this.V=n.s6,this.T=[],s.forEach(s=>s(t,e))}#t;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#t.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#t.get(t):void 0}}let h=1e3;const l="autoDestroyDisabled";function d(t){h=t}},11758(t,e,s){s.d(e,{_:()=>p,K:()=>g});var i=s(95862),o=s(27654),n=s(57106);const r=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),r(t,e);return!0},a=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},c=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function h(t){void 0!==this._$AN?(a(this),this._$AM=t,c(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)r(i[t],!1),a(i[t]);else null!=i&&(r(i,!1),a(i));else r(this,t)}const d=t=>{t.type==n.OA.CHILD&&(t._$AP??=l,t._$AQ??=h)};class u extends n.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),c(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(r(this,t),a(this))}setValue(t){if((0,o.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new f;class f{}const m=new WeakMap,g=(0,n.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=m.get(e);void 0===s&&(s=new WeakMap,m.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?m.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},14490(t,e,s){s.d(e,{V:()=>r});var i=s(95862),o=s(57106),n=s(27654);const r=(0,o.u$)(class extends o.WL{constructor(t){if(super(t),t.type!==o.OA.PROPERTY&&t.type!==o.OA.ATTRIBUTE&&t.type!==o.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,r=t.name;if(t.type===o.OA.PROPERTY){if(e===s[r])return i.c0}else if(t.type===o.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return i.c0}else if(t.type===o.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return i.c0;return(0,n.mY)(t),e}})},27654(t,e,s){s.d(e,{Rt:()=>n,mY:()=>a});var i=s(95862);const{I:o}=i.ge,n=t=>void 0===t.strings,r={},a=(t,e=r)=>t._$AH=e},34857(t,e,s){s.d(e,{WF:()=>r,AH:()=>i.AH,qy:()=>o.qy,S$:()=>c,Ec:()=>i.Ec,s6:()=>o.s6,JW:()=>o.JW});var i=s(65616),o=s(95862);const n=globalThis;class r extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const a=n.litElementPolyfillSupport;a?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.1");const c=!1},35895(t,e,s){s.d(e,{G3:()=>r,Rm:()=>n});const i=new Set;const o=t=>"string"==typeof t?t:"el"in t?t.el.localName:"localName"in t?t.localName:t.declaredClass,n=(t,e,s,n)=>{const r=o(e);if(n?.once){const e=`${t}${r}${s}`;if(i.has(e))return;i.add(e)}let a;if(n?.detail){a={};for(const[t,e]of Object.entries(n.detail))if("object"!=typeof e&&"function"!=typeof e||null===e)a[t]=e;else{const s=new WeakRef(e);Object.defineProperty(a,t,{get:()=>s.deref()})}console[t](`[${r}]: ${s}`,a)}else console[t](`[${r}]: ${s}`)},r=t=>{const e=`[${o(t)}] `;return t=>{const s=t instanceof Error&&t.message?t:new Error(String(t));s.message=`${e}${s.message}`,setTimeout(()=>{throw t})}}},36839(t,e,s){s.d(e,{UF:()=>i,ao:()=>o});const i=(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},o=async(t,e,...s)=>{try{const i=t?.call(e,...s);return await i}catch(e){console.error(e,t)}}},36889(t,e,s){s.d(e,{Yt:()=>i,Zj:()=>c,eg:()=>a});const i=(t,e,s)=>(0,n(e).subscribe)(e=>{const i=e.some(e=>((t,e)=>{let s=t;for(;s;){if(s===e)return!0;if(!s.parentNode)return!1;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(t,e.target));i&&s()}),o={},n=t=>{const e=t.join(","),s=o[e];if(void 0!==s)return s;const i=new Set,n=new MutationObserver(t=>i.forEach(e=>e(t)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(i.add(t),()=>{i.delete(t),0===i.size&&(n.disconnect(),o[e]=void 0)})};return o[e]=r,r},r=(t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const i=s.getRootNode?.();if(i===globalThis.document)return;s=i.host}};function a(t){const e=r(t,".calcite-mode-dark, .calcite-mode-light, .calcite-mode-auto");return e?.classList.contains("calcite-mode-dark")||e?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const c=(t,e,s)=>{const i=r(t,`[${e}]`);return i?.getAttribute(e)??s}},53660(t,e,s){s.d(e,{C:()=>f,G:()=>g,c:()=>u,p:()=>h,t:()=>d});var i=s(36839),o=s(99729),n=s(34857),r=s(5600),a=s(35895);let c;const h=()=>{c?.forEach(({callbacks:t},e)=>{const s=Object.keys(e);t.forEach(t=>t(s))}),c=void 0},l=(t,e,s)=>{const o=t.manager;return o.V!==n.s6&&o.V!==s&&o.S(void 0,void 0),0===o.T.length&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=s,o.T.push((t,o)=>(0,i.UF)(e,void 0,s===o?t:void 0)),s},d=(t=[(0,o.r)(),...(0,o.d)()],e,s)=>{const n=Array.isArray(t)?t:[t];let r=n.length+1;const a=t=>{r-=1,void 0!==t&&(r=Math.min(r,0)),0===r&&e(t)};n.forEach(t=>((t,e,s)=>{const o=Object.keys(t),n=o.length;void 0===c&&queueMicrotask(h),c??=new Map;let r=c.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},c.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(t=>t(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(o=>{const r=t=>(0,i.UF)(e,null,t),a=o[n];void 0===a?r(void 0):t[a]===s?r(a):r(void 0)}),s})(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!1}),s));for(const t of n)if("manager"in t&&t.manager.component===t){l(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!0}),s);break}return s},u=((t="",e={},s=(0,o.r)())=>{const i={emit:i=>{""===t&&h();const o=new CustomEvent(t,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(o),o}};return""===t&&d(void 0,e=>t=e.key,i),i}).bind(null,"");var p;p=o.c;class f{constructor(t){this.#i=[],this.#o=[],this.#n=[],this.#r=[],this.#a=[],this.#c=[],this.#h=[],this.#l=[],this.#d=[],this.#u=!1,this.P=new r.c,this.connectedCalled=!1,this.loadedCalled=!1,this[p]=!0,this.#p=[];const e=this,s=t??(0,o.r)(new.target.name);e.#e=s,e.ready=e.P.promise,e.#f=y(e),e.component=s,e.#e.addController(e),void 0===e.#e.manager||((0,o.b)(e),queueMicrotask(()=>e.catchUpLifecycle()))}#i;#o;#n;#r;#a;#c;#h;#l;#d;#u;#e;catchUpLifecycle(){const{manager:t}=this.#e;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#u||this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch((0,a.G3)(this.#e))}#f;get exports(){return this.#f}set exports(t){const e=this.#f;e!==t&&(this.#f=t,this.#p.forEach(i.UF),this.connectedCalled&&!1!==this.O&&this.#e.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#f=e?y(t):t,this.#p.forEach(i.UF)}#p;watchExports(t){const e=()=>t(this.#f);return this.#p.push(e),()=>{this.#p.splice(this.#p.indexOf(e),1)}}get use(){return(0,o.a)(this.#e),o.u}get useRef(){return(0,o.a)(this.#e),o.k}get useRefSync(){return(0,o.a)(this.#e),o.l}controllerRemoved(){this.#e.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#i.push(t)}onDisconnected(t){this.#o.push(t)}onLoad(t){this.#n.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#a.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#h.push(t)}onLifecycle(t){this.#l.push(t),this.connectedCalled&&this.#e.el.isConnected&&this.#m(t)}triggerConnected(){const t=this;t.hostConnected&&(0,i.UF)(t.hostConnected,t),t.#i.forEach(i.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,i.UF)(t.hostDisconnected,t),t.#o.forEach(i.UF),t.#d.forEach(i.UF),t.#d=[]}async triggerLoad(){if(this.#u)return;this.#u=!0;const t=this;t.hostLoad&&await(0,i.ao)(t.hostLoad,t),this.#n.length>0&&await Promise.allSettled(this.#n.map(i.ao)),this.P.resolve(this.#f)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,i.UF)(this.hostLoaded,this),this.#r.forEach(i.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,i.UF)(this.hostUpdate,this,t),this.#a.forEach(m,t)}triggerUpdated(t){this.hostUpdated&&(0,i.UF)(this.hostUpdated,this,t),this.#c.forEach(m,t)}triggerDestroy(){this.hostDestroy&&(0,i.UF)(this.hostDestroy,this),this.#h.forEach(i.UF)}triggerLifecycle(){this.hostLifecycle&&this.#m(()=>this.hostLifecycle()),this.#l.forEach(this.#m,this)}#m(t){(0,o.a)(this.#e);const e=(0,i.UF)(t);(Array.isArray(e)?e:[e]).forEach(t=>{"function"==typeof t?this.#d.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#d.push(t.remove)})}}function m(t){(0,i.UF)(t,void 0,this)}const g=f,y=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,i){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,i):void 0}});return e}},57106(t,e,s){s.d(e,{OA:()=>i,WL:()=>n,u$:()=>o});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},57814(t,e,s){s.d(e,{WF:()=>U,le:()=>S,s6:()=>O,CP:()=>T,zl:()=>L,Bq:()=>P,pf:()=>x});var i=s(53660),o=s(65616);o.W3,o.Ec;var n=s(5600);const r=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},a={};function c(){}const h=Object.defineProperty,l=globalThis.HTMLElement??c;class d extends l{constructor(){super(),this.#g={},this.#y=[],this.I=new n.c,this.H=new n.c,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(e=>{Object.hasOwn(t,e)&&(t.#g[e]=t[e],delete t[e])}),e.A?t.#$({a:e.A}):e.B.then(async s=>{await e.K.p,t.#$(await(s.default?.then(t=>"function"==typeof t?{a:t}:t)??s))}).catch(e=>{t.H.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static F(){for(const t of this.C??[])h(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#g[t]},set(e){this.#g[t]=e}});for(const t of this.E??[])h(this.prototype,t,{async value(...e){this.#v||await this.H.promise;const s=this.#v;return await s[t](...e)},configurable:!0});for(const t of this.D??[])h(this.prototype,t,{value(...e){return this.#v[t](...e)},configurable:!0})}#v;#g;#y;get manager(){return this.#v?.manager}attributeChangedCallback(t,e,s){this.#v?.attributeChangedCallback(t,e,s),this.#v||this.#y.push(t)}connectedCallback(){this.#v?this.#v.connectedCallback?.():queueMicrotask(()=>this.G=r(this))}disconnectedCallback(){this.#v?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#$(t){const e=this.constructor,s=e.L,i=this.#g,o=Object.values(t).find(t=>t.L===s),n=`${s}--lazy`;let r=o;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);p(r),!e.A&&(e.A=o,customElements.define(n,o)),o.N=this;const a=document.createElement(n);o.N=void 0,this.#v=a,this.#g=a,this.#y.forEach(t=>a.attributeChangedCallback(t,null,this.getAttribute(t))),Object.entries(i).forEach(u,a);const c=this.isConnected;(c||this.G)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}addController(){}requestUpdate(){this.#v?.requestUpdate()}}function u([t,e]){this[t]=e}const p=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},h(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var f=s(36839);const m=/[A-Z]+(?![a-z])|[A-Z]/gu;crypto;var g=s(34857),y=s(99729),$=s(11654),v=s(95862),A=s(57106);const _=(0,A.u$)(class extends A.WL{constructor(t){if(super(t),t.type!==A.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return v.c0}}),b="important",E=" !"+b,C=(0,A.u$)(class extends A.WL{constructor(t){if(super(t),t.type!==A.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(E);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?b:""):s[t]=i}}return v.c0}});s(14490);var w=s(11758);class U extends g.WF{constructor(){super(),this.M=[],this.manager=new $.C(this);const t=this,e=t.constructor,s=e.N,i=e.K.o,o=U.prototype.shouldUpdate;t.#A=s?.H??new n.c,t.I=s?.I??new n.c,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#_=t.enableUpdating,t.enableUpdating=c,t.shouldUpdate!==o&&(t.#b=t.shouldUpdate,t.shouldUpdate=o),i&&(t.#E=new Map,e.elementProperties.forEach((e,s)=>t.#E.set(s,i()))),g.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===a;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,o=i?.hasChanged??g.Ec,n={attribute:!!(1&s&&"string"==typeof t)&&(r=t,r.replace(m,(t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),c:!1,...i,hasChanged(t,e){const s=o(t,e);return n.c=s,s}};var r;super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){const o=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return o.t?.(this.#E.get(t)),n.get?.call(this)},set(e){const o=this.manager;if(s.readOnly&&!y.s&&(o.R||o.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#E?.get(t)?.notify(),o.T.length>0&&((0,i.p)(),o?.S(t,e))}}}static{this.lumina=!0}#E;#b;#_;#A;#C;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=this.constructor.K.c?.(()=>this.requestUpdate());this.#C=t;const e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#w().catch(t=>{this.#A.reject(t),setTimeout(()=>{throw t})})):t&&this.requestUpdate()}#U(t){try{this.#C.clear(),this.constructor.K.r(this.#C,()=>super.update(t))}catch(t){throw this.#C.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#C?.destroy(),this.#C=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===a?this.el:this.el.attachShadow(s));if(this.isConnected){const t=i.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map(t=>"styleSheet"in t?t.styleSheet:t)]}return i}async#w(){const t=this.el.G??r(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,f.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate(t=>t.has($.a)&&this.manager.U()),this.#_(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();const s=this.J.filter(t=>!t.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async t=>await t.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,f.UF)(t.hostLoaded,t);this.loaded?.(),this.#A.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#b?.(t)??!0}update(t){this.#C?this.#U(t):super.update(t)}listen(t,e,s){const i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){const o=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,o,i),()=>t.removeEventListener(e,o,i)))}async componentOnReady(){return await this.#A.promise,this}addController(t){this.M.push(t),!(y.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const S=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},i={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=i,e.L=t,customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),i},T=t=>"object"==typeof t&&null!=t?_(t):t,L=t=>"object"==typeof t&&null!=t?C(t):t;class k extends A.WL{#S;#T;constructor(t){super(t);const e=this;this.#T=function(t){return e.#S.call(this,t)}}render(t){return"function"==typeof t?(this.#S=t,(0,w.K)(this.#T)):(0,w.K)(t)}}(0,A.u$)(k);const O=g.s6;function P(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const x={toAttribute:t=>!0===t?"":!1===t?null:t}},63084(t,e,s){s.d(e,{Qu:()=>n,qu:()=>o});var i=s(7667);let o=!1;const n=t=>{o=!0,(0,i.s)(t)}},65616(t,e,s){s.d(e,{mN:()=>w,AH:()=>c,W3:()=>b,Ec:()=>E});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(s,t,n)},h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:m,getPrototypeOf:g}=Object,y=globalThis,$=y.trustedTypes,v=$?$.emptyScript:"",A=y.reactiveElementPolyfillSupport,_=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},E=(t,e)=>!d(t,e),C={attribute:!0,type:String,converter:b,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class w extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const n=i?.call(this);o?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(_("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_("properties"))){const t=this.properties,e=[...f(t),...m(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:b).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=i;const n=o.fromAttribute(e,t.type);this[i]=n??this._$Ej?.get(i)??n,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const i=this.constructor,o=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??E)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==o||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[_("elementProperties")]=new Map,w[_("finalized")]=new Map,A?.({ReactiveElement:w}),(y.reactiveElementVersions??=[]).push("2.1.1")},95862(t,e,s){s.d(e,{JW:()=>w,XX:()=>B,c0:()=>S,ej:()=>U,ge:()=>F,qy:()=>C,s6:()=>T});const i=globalThis,o=i.trustedTypes,n=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,h=`<${c}>`,l=document,d=()=>l.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],m="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,$=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,_=/"/g,b=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),C=E(1),w=E(2),U=E(3),S=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),L=new WeakMap,k=l.createTreeWalker(l,129);function O(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,i=[];let o,n=2===e?"<svg>":3===e?"<math>":"",c=g;for(let e=0;e<s;e++){const s=t[e];let l,d,u=-1,p=0;for(;p<s.length&&(c.lastIndex=p,d=c.exec(s),null!==d);)p=c.lastIndex,c===g?"!--"===d[1]?c=y:void 0!==d[1]?c=$:void 0!==d[2]?(b.test(d[2])&&(o=RegExp("</"+d[2],"g")),c=v):void 0!==d[3]&&(c=v):c===v?">"===d[0]?(c=o??g,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,l=d[1],c=void 0===d[3]?v:'"'===d[3]?_:A):c===_||c===A?c=v:c===y||c===$?c=g:(c=v,o=void 0);const f=c===v&&t[e+1].startsWith("/>")?" ":"";n+=c===g?s+h:u>=0?(i.push(l),s.slice(0,u)+r+s.slice(u)+a+f):s+a+(-2===u?e:f)}return[O(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,h=0;const l=t.length-1,u=this.parts,[p,f]=P(t,e);if(this.el=x.createElement(p,s),k.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=k.nextNode())&&u.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(r)){const e=f[h++],s=i.getAttribute(t).split(a),o=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?H:"?"===o[1]?j:"@"===o[1]?I:N}),i.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:n}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],d()),k.nextNode(),u.push({type:2,index:++n});i.append(t[e],d())}}}else if(8===i.nodeType)if(i.data===c)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)u.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=l.createElement("template");return s.innerHTML=t,s}}function M(t,e,s=t,i){if(e===S)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const n=u(e)?void 0:e._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),void 0===n?o=void 0:(o=new n(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=M(t,o._$AS(t,e.values),o,i)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??l).importNode(e,!0);k.currentNode=i;let o=k.nextNode(),n=0,r=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new W(o,this,t)),this._$AV.push(e),a=s[++r]}n!==a?.index&&(o=k.nextNode(),n++)}return k.currentNode=l,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),u(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==T&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=x.createElement(O(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new R(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new x(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new D(this.O(d()),this.O(d()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(void 0===o)t=M(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const i=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=M(this,i[s+r],e,r),a===S&&(a=this._$AH[r]),n||=!u(a)||a!==this._$AH[r],a===T?t=T:t!==T&&(t+=(a??"")+o[r+1]),this._$AH[r]=a}n&&!i&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}class j extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}}class I extends N{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??T)===S)return;const s=this._$AH,i=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==T&&(s===T||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const F={M:r,P:a,A:c,C:1,L:P,R,D:f,V:M,I:D,H:N,N:j,U:I,B:H,F:W},z=i.litHtmlPolyfillSupport;z?.(x,D),(i.litHtmlVersions??=[]).push("3.3.1");const B=(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new D(e.insertBefore(d(),t),t,void 0,s??{})}return o._$AI(t),o}},99729(t,e,s){s.d(e,{a:()=>r,b:()=>h,c:()=>i,d:()=>l,f:()=>y,i:()=>o,j:()=>u,k:()=>f,l:()=>m,r:()=>a,s:()=>g,u:()=>p});const i=Symbol.for("controller"),o=t=>"function"==typeof t?.then;let n;const r=t=>{n!==t&&(n=t,queueMicrotask(()=>n===t?n=void 0:0))},a=t=>n;let c=[];const h=t=>{if(void 0===t)return void(c=[]);const e=c.indexOf(t);c=-1===e?[...c,t]:c.slice(0,e+1),queueMicrotask(()=>c=[])},l=()=>c;let d;const u=t=>{d!==t&&(d=t,queueMicrotask(()=>d===t?d=void 0:0))},p=async(t,e)=>{const s=m(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports(s=>e(s,t))}return s.exports},f=async t=>{const e=m(t);return await e.ready,e},m=t=>{const e=a().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(i in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=d;return d=void 0,t})();return void 0!==s?s:void 0};let g=!1;const y=t=>{g=!0;try{return t()}finally{g=!1}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2288],{159(e,n,t){t.d(n,{A:()=>l});var r,o=t(5482),i=t(69622),a=t(91429),s=t(99157);let l=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let n=this.steps.length-1;n>=0;n--){const t=this.steps[n];e.steps.push(t.getInverse())}return e}};(0,o.Cg)([(0,a.MZ)({type:[s.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},9762(e,n,t){t.r(n),t.d(n,{projectBuffer:()=>o});var r=t(49208);function o(e,n,t,o,i,a,s=Math.floor(e.length/3)){const l=(0,r.jd)(n,i);if(null==l)return!1;if(l===r.pO){if(e===o&&t===a)return!0;const n=t+3*s;for(let r=t,i=a;r<n;r++,i++)o[i]=e[r]??0;return!0}const u=t+3*s;for(let n=t,r=a;n<u;n+=3,r+=3)l(e,n,o,r);return!0}},23150(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(91429),i=t(82799),a=t(54238);let s=class extends a.A{constructor(e){super(e),this.originId=null,this.destinationId=null,this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],s.prototype,"originId",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],s.prototype,"destinationId",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],s.prototype,"layoutGeometry",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Relationship")],s)},25927(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(91429),i=t(86738),a=t(54238);let s=class extends a.A{constructor(e){super(e),this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],s.prototype,"layoutGeometry",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Entity")],s)},34403(e,n,t){t.d(n,{TP:()=>a});var r=t(79258);Math.PI;const o=r.$O.radius,i=r.$O.eccentricitySquared,a={a1:o*i,a2:o*i*o*i,a3:o*i*i/2,a4:o*i*o*i*2.5,a5:o*i+o*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},40662(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e)}};a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.ObjectValue")],a)},42095(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(25482),i=t(91429),a=t(77901);let s=class extends o.o{constructor(e){super(e),this.path=[]}};(0,r.Cg)([(0,i.MZ)({type:[a.A],json:{write:!0}})],s.prototype,"path",void 0),s=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.Path")],s)},42538(e,n,t){t.d(n,{A:()=>l});var r=t(5482),o=t(91429),i=t(16930),a=t(69622);let s=class extends a.A{constructor(e){super(e),this.openCypherQuery=""}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"openCypherQuery",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQuery")],s);let l=class extends s{constructor(e){super(e),this.bindParameters=null,this.bindGeometryQuantizationParameters=null,this.outputQuantizationParameters=null,this.outputSpatialReference=null,this.provenanceBehavior=null}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"bindParameters",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"bindGeometryQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"outputQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A})],l.prototype,"outputSpatialReference",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"provenanceBehavior",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQueryStreaming")],l)},49208(e,n,t){t.d(n,{Tp:()=>p,jd:()=>c,pO:()=>d,w5:()=>u});var r=t(34727),o=t(86211),i=t(73941),a=t(79258),s=t(34403),l=t(21325);const u={2:{5:d,7:null,9:null,10:d,1:A,6:null,8:null,0:null,3:g,11:m,2:d,4:C},5:{5:d,7:null,9:null,10:d,1:A,6:null,8:null,0:null,3:g,11:m,2:d,4:C},7:{5:null,7:d,9:null,10:d,1:null,6:v,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:R,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,n,t,r){const o=e[n]/Z,i=O-2*Math.atan(Math.exp(-e[n+1]/Z)),a=Z+(e[n+2]??0),s=Math.cos(i)*a;t[r]=Math.cos(o)*s,t[r+1]=Math.sin(o)*s,t[r+2]=Math.sin(i)*a},6:null,8:null,0:null,3:d,11:function(e,n,t,r){h(e,n,t,r),m(t,r,t,r)},2:h,4:function(e,n,t,r){h(e,n,t,r),C(t,r,t,r)}},4:{5:I,7:null,9:null,10:I,1:function(e,n,t,r){I(e,n,t,r),A(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){I(e,n,t,r),g(t,r,t,r)},11:function(e,n,t,r){I(e,n,t,r),m(t,r,t,r)},2:I,4:d},1:{5:x,7:null,9:null,10:x,1:d,6:null,8:null,0:null,3:function(e,n,t,r){x(e,n,t,r),g(t,r,t,r)},11:function(e,n,t,r){x(e,n,t,r),m(t,r,t,r)},2:x,4:function(e,n,t,r){x(e,n,t,r),C(t,r,t,r)}},6:{5:null,7:j,9:null,10:j,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,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:A,6:v,8:R,0:null,3:g,11:m,2:d,4:C},11:{5:y,7:null,9:null,10:y,1:function(e,n,t,r){y(e,n,t,r),A(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){y(e,n,t,r),g(t,r,t,r)},11:d,2:y,4:function(e,n,t,r){y(e,n,t,r),C(t,r,t,r)}}};function c(e,n){return p(e,n)?.projector}function p(e,n){if(null==e||null==n)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===n)return k;const t=f(e,k.source),r=f(n,k.dest);return 0===t&&0===r?(0,l.aI)(e,n)?k.projector=d:k.projector=null:k.projector=u[t][r],k}function f(e,n){return e?n.spatialReference===e?n.spatialReferenceId:(n.spatialReference=e,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?n.spatialReferenceId=1:(0,l.oT)(e)?n.spatialReferenceId=2:(0,l.K8)(e)?n.spatialReferenceId=3:(0,l.r1)(e)?n.spatialReferenceId=11:e.wkt===i.Ro.wkt?n.spatialReferenceId=4:4490===e.wkid?n.spatialReferenceId=5:e.wkt===i.FY.wkt?n.spatialReferenceId=6:e.wkt===i.LJ.wkt?n.spatialReferenceId=8:(0,i.q8)(e)?n.spatialReferenceId=7:(0,i.KQ)(e)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function d(e,n,t,r){e!==t&&(t[r++]=e[n++],t[r++]=e[n++],t[r]=e[n]??0)}function h(e,n,t,r){t[r]=G*(e[n]/Z),t[r+1]=G*(O-2*Math.atan(Math.exp(-e[n+1]/Z))),t[r+2]=e[n+2]??0}function g(e,n,t,o){!function(e,n,t,o,i){const a=.4999999*Math.PI,s=(0,r.qE)(P*e[n+1],-a,a),l=Math.sin(s);t[o++]=P*e[n]*i.radius,t[o++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),t[o]=e[n+2]??0}(e,n,t,o,a.$O)}function m(e,n,t,r){t[r]=e[n]*$,t[r+1]=e[n+1]*$,t[r+2]=e[n+2]??0}function y(e,n,t,r){t[r]=e[n]*b,t[r+1]=e[n+1]*b,t[r+2]=e[n+2]??0}function w(e,n,t,r,o){const i=o+(e[n+2]??0),a=P*e[n],s=P*e[n+1],l=Math.cos(s)*i;t[r]=Math.cos(a)*l,t[r+1]=Math.sin(a)*l,t[r+2]=Math.sin(s)*i}function R(e,n,t,r){w(e,n,t,r,a.Sw.radius)}function v(e,n,t,r){w(e,n,t,r,a.sH.radius)}function A(e,n,t,r){w(e,n,t,r,a.$O.radius)}function M(e,n,t,o,i){const a=e[n],s=e[n+1],l=e[n+2]??0,u=Math.sqrt(a*a+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),p=Math.atan2(s,a);t[o++]=G*p,t[o++]=G*c,t[o]=u-i}function S(e,n,t,r){M(e,n,t,r,a.Sw.radius)}function j(e,n,t,r){M(e,n,t,r,a.sH.radius)}function x(e,n,t,r){M(e,n,t,r,a.$O.radius)}function C(e,n,t,r){!function(e,n,t,r,o){const i=P*e[n],a=P*e[n+1],s=e[n+2]??0,l=Math.sin(a),u=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);t[r++]=(c+s)*u*Math.cos(i),t[r++]=(c+s)*u*Math.sin(i),t[r++]=(c*(1-o.eccentricitySquared)+s)*l}(e,n,t,r,a.$O)}function I(e,n,t,r){const o=s.TP,i=e[n],l=e[n+1],u=e[n+2]??0;let c,p,f,d,h,g,m,y,w,R,v,A,M,S,j,x,C,I,k,P,O;c=Math.abs(u),p=i*i+l*l,f=Math.sqrt(p),d=p+u*u,h=Math.sqrt(d),P=Math.atan2(l,i),g=u*u/d,m=p/d,S=o.a2/h,j=o.a3-o.a4/h,m>.3?(y=c/h*(1+m*(o.a1+S+g*j)/h),k=Math.asin(y),R=y*y,w=Math.sqrt(1-R)):(w=f/h*(1-g*(o.a5-S-m*j)/h),k=Math.acos(w),R=1-w*w,y=Math.sqrt(R)),v=1-a.$O.eccentricitySquared*R,A=a.$O.radius/Math.sqrt(v),M=o.a6*A,S=f-A*w,j=c-M*y,C=w*S+y*j,x=w*j-y*S,I=x/(M/v+C),k+=I,O=C+x*I/2,u<0&&(k=-k),t[r++]=G*P,t[r++]=G*k,t[r]=O}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},P=(0,r.kU)(1),G=(0,r.KJ)(1),O=.5*Math.PI,Z=a.$O.radius,$=Z*Math.PI/180,b=180/(Z*Math.PI)},54238(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e),this.typeName=null,this.id=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"typeName",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"id",void 0),a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphNamedObject")],a)},77901(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(25482),i=t(91429);let a=class extends o.o{constructor(e){super(e),this.properties={}}};(0,r.Cg)([(0,i.MZ)({json:{write:!0}})],a.prototype,"properties",void 0),a=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.GraphObject")],a)},80672(e,n,t){t.d(n,{R:()=>o});var r=t(20655);function o(e,n){return null===e?n:new r.A({url:e.field("url")})}},91218(e,n,t){t.r(n),t.d(n,{canProjectWithoutEngine:()=>E,initializeProjection:()=>U,isEqualBaseGCS:()=>Q,isLoaded:()=>Z,isLoadedOrLoad:()=>$,isLoadedOrLoadFor:()=>b,load:()=>K,project:()=>q,projectAsync:()=>F,projectExtent:()=>oe,projectMany:()=>D,projectMultipoint:()=>X,projectOrLoad:()=>z,projectOrLoadMany:()=>B,projectPoint:()=>H,projectPolygon:()=>te,projectPolyline:()=>ee,projectWithoutEngine:()=>Y,requiresLoad:()=>T,test:()=>W,tryProject:()=>N,unload:()=>J});var r=t(49186),o=t(74887),i=t(62788),a=t(95488),s=t(51850),l=t(21276),u=t(73941),c=t(5443),p=t(91075),f=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),y=t(98764),w=t(159),R=t(9762),v=t(49208);function A(e,n,t,r,o,i){return M[0]=e,M[1]=n,M[2]=t,(0,R.projectBuffer)(M,r,0,o,i,0)}const M=(0,s.vt)();var S=t(60408),j=t(21325),x=t(52006);let C=null,I=null,k=null,P=null,G={};const O=new a.I;function Z(){return!!(I?.isLoaded()&&k?.isLoaded()&&P?.isLoaded())}function $(){return!!Z()||((0,i.gc)(O),K(),!1)}function b(e,n){return!e||!n||E(e,n)||$()}function T(e,n){return!E(e,n)&&!Z()}async function K(e){null==C&&(C=Promise.all([t.e(3276).then(t.bind(t,83276)).then(e=>(I=e,I.load())),t.e(8377).then(t.bind(t,8377)).then(e=>(k=e,k.load())),t.e(2158).then(t.bind(t,12158)).then(e=>(P=e,P.load()))])),await C,(0,o.Te)(e),O.notify()}function q(e,n,t){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),D(e,e[0].spatialReference,n,t)):((0,l.f)(e),D([e],e.spatialReference,n,t)[0])}function D(e,n,t,r){if(null==n||null==t)return e;if(E(n,t,r))return e.map(e=>Y(e,n,t));if(null==r?.geographicTransformation&&(0,u.jA)(n))return D(e.map(e=>Y(e,n,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(t))return D(e,n,m.A.WGS84).map(e=>Y(e,m.A.WGS84,t));if(!Z())throw new L;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:P.getTransformation(n,t,r.areaOfInterestExtent)||new w.A};else if(!r?.areaOfInterestExtent){const e=function(e,n){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??""].join()}(n,t);let o=G[e];o||(o=P.getTransformation(n,t)||new w.A,G[e]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=n),e[0]instanceof p.A?I.executeMany(e,t,r):k.executeMany(e,t,r)}function N(e,n,t){try{return q(e,n,t)}catch(e){return null}}function z(e,n){const t=B([e],n);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function B(e,n,t){if(!Z())for(const t of e)if(null!=t&&!(0,j.aI)(t.spatialReference,n)&&(0,j.fn)(t.spatialReference)&&(0,j.fn)(n)&&!E(t.spatialReference,n))return(0,i.gc)(O),{pending:K(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,j.aI)(e.spatialReference,n)?e:(0,j.fn)(e.spatialReference)&&(0,j.fn)(n)?q(e,n,t):null)}}class L extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function J(){C=null,I=null,k=null,P=null,G={}}const W={get loadPromise(){return C}};async function F(e,n,t){if((0,o.Te)(t),!e)return e;const r=B(Array.isArray(e)?e:[e],n,t);if(r.pending)return await r.pending,(0,o.Te)(t),F(e,n,t);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function E(e,n,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,j.aI)(e,n)||(0,j.fn)(e)&&(0,j.fn)(n)&&!!(0,v.jd)(e,n))}function Q(e,n){if((0,j.aI)(e,n))return!0;if(!(0,j.fn)(e)||!(0,j.fn)(n))return!1;const t=(0,j.oT)(e)||(0,j.K8)(e)||(0,j.x1)(e),r=(0,j.oT)(n)||(0,j.K8)(n)||(0,j.x1)(n);return t&&r}async function U(e,n,t,r){if(Z())return(0,o.NO)(r);if(Array.isArray(e)){for(const{source:n,dest:t,options:o}of e)if(n&&t&&!E(n,t,o))return K(r)}else if(e&&n&&!E(e,n,t))return K(r);return(0,o.NO)(r)}function Y(e,n,t){return e?(0,S.fT)(e)?V(e,n,new d.A,t,0):(0,S.ZC)(e)?ie(e,n,new c.A,t,0):(0,S.Bi)(e)?re(e,n,new h.A,t,0):(0,S.Rg)(e)?ne(e,n,new g.A,t,0):(0,S.U9)(e)?_(e,n,new f.A,t,0):null:null}function H(e,n,t=n.spatialReference,r=0){return null!=t&&null!=e.spatialReference&&null!=V(e,e.spatialReference,n,t,r)}function V(e,n,t,r,o){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:o,(0,R.projectBuffer)(ue,n,0,ue,r,0)?(t.x=ue[0],t.y=ue[1],t.spatialReference=r,void 0!==i||(0,u.xP)(r)?(t.z=ue[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===e.m?(t.m=void 0,t.hasM=!1):(t.m=e.m,t.hasM=!0),t):null}function X(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=_(e,e.spatialReference,n,t,r)}function _(e,n,t,r,o){const{points:i,hasZ:a,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],a?e[2]:o);if(!(0,R.projectBuffer)(c,n,0,c,r,0,u))return null;const p=le(a,r);for(let e=0;e<u;++e){const n=3*e,t=c[n],r=c[n+1];p&&s?l.push([t,r,c[n+2],i[e][3]]):p?l.push([t,r,c[n+2]]):s?l.push([t,r,i[e][2]]):l.push([t,r])}return t.points=l,t.spatialReference=r,t.hasZ=a,t.hasM=s,t}function ee(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ne(e,e.spatialReference,n,t,r)}function ne(e,n,t,r,o){const{curvePaths:i,paths:a,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,n,t.curvePaths=[],r,o):ae(a,s??!1,l??!1,n,t.paths,r,o)))return null;const u=le(s,r);return t.spatialReference=r,t.hasZ=u,t.hasM=l,t}function te(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=re(e,e.spatialReference,n,t,r)}function re(e,n,t,r,o){const{curveRings:i,rings:a,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,n,t.curveRings=[],r,o):ae(a,s??!1,l??!1,n,t.rings,r,o))?(t.spatialReference=r,t.hasZ=le(s,r),t.hasM=l,t):null}function oe(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ie(e,e.spatialReference,n,t,r)}function ie(e,n,t,r,o){const{xmin:i,ymin:a,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,a,u?e.zmin:o,n,ue,r))return null;const p=le(u,r);return t.xmin=ue[0],t.ymin=ue[1],p&&(t.zmin=ue[2]),A(s,l,u?e.zmax:o,n,ue,r)?(t.xmax=ue[0],t.ymax=ue[1],p&&(t.zmax=ue[2]),c&&(t.mmin=e.mmin,t.mmax=e.mmax),t.spatialReference=r,t):null}function ae(e,n,t,r,o,i,a=0){const s=new Array;for(const t of e)for(const e of t)s.push(e[0],e[1],n?e[2]:a);if(!(0,R.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;o.length=0;const u=n?3:2,c=le(n,i);for(const n of e){const e=new Array;for(const r of n){const n=s.slice(l,l+=3);c||n.pop(),t&&n.push(r[u]),e.push(n)}o.push(e)}return!0}function se(e,n,t,r,o,i,a=0){const s=new Array;for(const t of e)for(const e of t){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[t,r]=e.c;s.push(t[0],t[1],n?t[2]:a,r[0],r[1],a);continue}if((0,x.n1)(e)){const[t,r,o]=e.b;s.push(t[0],t[1],n?t[2]:a,r[0],r[1],a,o[0],o[1],a);continue}const t=e;s.push(t[0],t[1],n?t[2]:a)}if(!(0,R.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;o.length=0;const u=n?3:2,c=le(n,i);for(const n of e){const e=new Array;for(const r of n){const n=s.slice(l,l+=3);if(c||n.pop(),t&&n.push((0,x.yP)(r)[u]),(0,x.FG)(r))return!1;if((0,x.aO)(r)){const t=s[l++],r=s[l++];++l,e.push({c:[n,[t,r]]});continue}if((0,x.n1)(r)){const t=s[l++],r=s[l++];++l;const o=s[l++],i=s[l++];++l,e.push({b:[n,[t,r],[o,i]]});continue}e.push(n)}o.push(e)}return!0}function le(e,n){return e||(0,u.xP)(n)||(0,j.aI)(n,y.Y0)}const ue=(0,s.vt)()},92288(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>q});var r=t(92602),o=t(47609),i=t(66395),a=t(85935),s=t(78878),l=t(80672),u=t(91075),c=t(91218),p=t(16930),f=t(28735),d=t(20655),h=t(80812),g=t(11254),m=t(56507),y=t(60408),w=t(2272),R=t(92300),v=t(5482),A=t(25482),M=t(91429),S=t(21325);let j=class extends A.o{constructor(e){super(e),this.geometries=[],this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const e=this.geometries.map(e=>e.toJSON()),n=this.geometries[0],t={};return t.outSR=(0,S.YX)(this.outSpatialReference),t.inSR=(0,S.YX)(n.spatialReference),t.geometries=JSON.stringify({geometryType:(0,y.$B)(n),geometries:e}),this.transformation&&(t.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(t.transformForward=this.transformForward),t}};(0,v.Cg)([(0,M.MZ)()],j.prototype,"geometries",void 0),(0,v.Cg)([(0,M.MZ)({type:p.A,json:{read:{source:"outSR"}}})],j.prototype,"outSpatialReference",void 0),(0,v.Cg)([(0,M.MZ)()],j.prototype,"transformation",void 0),(0,v.Cg)([(0,M.MZ)()],j.prototype,"transformForward",void 0),j=(0,v.Cg)([(0,M.$K)("esri.rest.support.ProjectParameters")],j);const x=(0,m.dp)(j);var C=t(25927),I=t(42538),k=t(40662),P=t(42095),G=t(23150),O=t(54218);let Z=null;async function $(e,n){const r=new h.default({portal:e,id:n});return await r.load(),null===Z&&(Z=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(2555),t.e(490)]).then(t.bind(t,2555))),await Z.fetchKnowledgeGraph(r.url)}function b(e,n,t,r,o){if(null===e)return null;if((0,O.Kg)(e)||(0,O.Et)(e))return e;if((0,s.e)(e))return e.toJSDate();if((0,s.e)(e))return e.toJSDate();if((0,s.f)(e))return e.toStorageFormat();if((0,s.g)(e))return e.toStorageString();if((0,s.n)(e)){const i={};for(const a of e.keys())i[a]=b(e.field(a),n,t,r,o),i[a]instanceof u.A&&o.push({container:i,indexer:a});return i}if((0,O.cy)(e)){const i=e.map(e=>b(e,n,t,r,o));for(let e=0;e<i.length;e++)i[e]instanceof u.A&&o.push({container:i,indexer:e});return i}return(0,s.h)(e)?e.spatialReference.isWGS84?e:e.spatialReference.isWebMercator&&n?(0,f.ci)(e):e:void 0}function T(e,n){if(!e)return null;const t={};for(const r in e)t[r]=K(e[r],n);return t}function K(e,n){return null===e?null:(0,O.cy)(e)?e.map(e=>K(e,n)):e instanceof C.A?{graphTypeName:e.typeName,id:e.id,graphType:"entity",properties:T(e.properties,n)}:e instanceof k.A?{graphType:"object",properties:T(e.properties,n)}:e instanceof G.A?{graphTypeName:e.typeName,id:e.id,graphType:"relationship",originId:e.originId??null,destinationId:e.destinationId??null,properties:T(e.properties,n)}:e instanceof P.A?{graphType:"path",path:e.path?e.path.map(e=>K(e,n)):null}:(0,s.h)(e)?function(e,n){if(!e)return e;if(e.spatialReference.isWGS84&&n.spatialReference.isWebMercator)return(0,f.Gh)(e);if(e.spatialReference.equals(n.spatialReference))return e;throw new a.D$(n,"WrongSpatialReference",null)}(e,n):(0,O.Kg)(e)||(0,O.Et)(e)||(0,O.$P)(e)?e:null}function q(e){"async"===e.mode&&(e.functions.knowledgegraphbyportalitem=function(n,t){return e.standardFunctionAsync(n,t,(e,r,i)=>{if((0,s.B)(i,2,2,n,t),null===i[0])throw new a.D$(n,"PortalRequired",t);if(i[0]instanceof o.A){const e=(0,s.s)(i[1]);let t;return t=n.services?.portal?n.services.portal:d.A.getDefault(),$((0,l.R)(i[0],t),e)}if(!1===(0,O.Kg)(i[0]))throw new a.D$(n,"InvalidParameter",t);const u=(0,s.s)(i[0]);return $(n.services?.portal??d.A.getDefault(),u)})},e.signatures.push({name:"knowledgegraphbyportalitem",min:2,max:2}),e.functions.querygraph=function(n,o){return e.standardFunctionAsync(n,o,async(e,l,u)=>{(0,s.B)(u,2,4,n,o);const f=u[0];if(!(0,s.o)(f))throw new a.D$(n,"InvalidParameter",o);const d=u[1];if(!(0,O.Kg)(d))throw new a.D$(n,"InvalidParameter",o);null===Z&&(Z=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(2555),t.e(490)]).then(t.bind(t,2555)));let h=null;const m=(0,s.J)(u[2],null);if(!(m instanceof i.A||null===m))throw new a.D$(n,"InvalidParameter",o);if(m){let e=[];h=b(m,!0,!1,n,e),e=e.filter(e=>!e.container[e.indexer].spatialReference.isWGS84),e.length>0&&await async function(e){const n=r.A.geometryServiceUrl??"";if(!n){(0,c.isLoaded)()||await(0,c.load)();for(const n of e)n.container[n.indexer]=(0,c.project)(n.container[n.indexer],p.A.WGS84);return}const t=e.map(e=>e.container[e.indexer]),o=new j({geometries:t,outSpatialReference:p.A.WGS84}),i=await async function(e,n){n=x(n);const t=(0,w.Dl)(e),r={...t.query,f:"json",...n.toJSON()},o=n.outSpatialReference,i=(0,y.$B)(n.geometries[0]),a=(0,w.jV)(r,void 0);return(0,g.A)(t.path+"/project",a).then(({data:{geometries:e}})=>(0,R.V)(e,i,o))}(n,o);for(let n=0;n<i.length;n++){const t=e[n];t.container[t.indexer]=i[n]}}(e)}const v=(0,s.J)(u[3],!1),A=new I.A({openCypherQuery:d,bindParameters:h,provenanceBehavior:v?"include":"exclude"});(f?.serviceDefinition?.currentVersion??11.3)>11.2&&(A.outputSpatialReference=n.spatialReference);const M=(await Z.executeQueryStreaming(f,A)).resultRowsStream.getReader(),S=[];try{for(;;){const{done:e,value:t}=await M.read();if(e)break;if((0,O.cy)(t))for(const e of t)S.push(K(e,n));else{const e=[];for(const r of t)e.push(K(t[r],n));S.push(e)}}}catch(e){throw e}return i.A.convertJsonToArcade(S,(0,s.K)(n),!1,!0)})},e.signatures.push({name:"querygraph",min:2,max:4}))}},92300(e,n,t){t.d(n,{V:()=>a,X:()=>i});var r=t(60408),o=t(65864);function i(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function a(e,n,t){const r=(0,o.xD)(n);return e.map(e=>{const n=r.fromJSON(e);return n.spatialReference=t,n})}},98764(e,n,t){t.d(n,{GD:()=>a,Y0:()=>u,lO:()=>c});var r=t(73941),o=t(16930),i=t(21325);const a=new o.A(r.fv),s=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(e){const n=p.get(e);if(n)return n;let t=a;if(e)if(e===s)t=s;else if(e===l)t=l;else{const n=e.wkid,r=e.latestWkid;if(null!=n||null!=r)(0,i.tl)(n)||(0,i.tl)(r)?t=s:((0,i.ZL)(n)||(0,i.ZL)(r))&&(t=l);else{const n=e.wkt2??e.wkt;if(n){const e=n.toUpperCase();e===f?t=s:e===d&&(t=l)}}}return p.set(e,t),t}const p=new Map,f=s.wkt.toUpperCase(),d=l.wkt.toUpperCase()},99157(e,n,t){t.d(n,{A:()=>s});var r,o=t(5482),i=t(69622),a=t(91429);let s=r=class extends i.A{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,o.Cg)([(0,a.MZ)()],s.prototype,"isInverse",void 0),(0,o.Cg)([(0,a.MZ)()],s.prototype,"wkt",void 0),(0,o.Cg)([(0,a.MZ)()],s.prototype,"wkid",void 0),s=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],s)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1072,3447,9062],{1873(e,t,r){r.d(t,{$y:()=>R,Ak:()=>V,FM:()=>h,G_:()=>p,Rw:()=>j,Vb:()=>d,b3:()=>Z,gJ:()=>u,jM:()=>A,lv:()=>O,oZ:()=>S,qg:()=>y,sU:()=>L,z9:()=>c,zS:()=>E});var i=r(9760),n=r(84892);const s=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,o=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),l=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),a=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function d(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!i}function c(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,i=r.filter(e=>null!=e).sort(),n=i.length,s={count:n,min:i[0],max:i[n-1]};return e.supportsNullCount&&(s.nullcount=r.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=y(r,e.percentileParams)),s}function p(e){const{values:t,useSampleStdDev:r,supportsNullCount:i,outStatisticTypes:n}=e;let s=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,l=null,a=null,u=null,d=null,c=0;const p=null==e.minValue?-1/0:e.minValue,h=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=p&&e<=h&&(l=null===l?e:l+e,s=Math.min(s,e),o=Math.max(o,e),c++):"string"==typeof e&&c++;if(c&&null!=l){a=l/c;let e=0;for(const r of t)Number.isFinite(r)&&r>=p&&r<=h&&(e+=(r-a)**2);d=r?c>1?e/(c-1):0:c>0?e/c:0,u=Math.sqrt(d)}else s=null,o=null;const f={avg:a,count:c,max:o,min:s,stddev:u,sum:l,variance:d};return i&&(f.nullcount=t.length-c),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(f.median=y(t,e.percentileParams)),f}function y(e,t){const{fieldType:r,value:i,orderBy:n,isDiscrete:s}=t,o=h(r,"desc"===n,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>o(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const l=(e.length-1)*i,a=Math.floor(l),u=a+1,d=l%1,c=e[a],p=e[u];return u>=e.length||s||"string"==typeof c||"string"==typeof p?c:c*(1-d)+p*d}function h(e,t,r="case-sensitive"){if(e){if(o.has(e))return F(t);if(l.has(e))return C(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:v}(t);const i=C(t,"case-sensitive"===r);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(T(e),T(t))}const i=t?1:-1,n=F(t),s=C(t,"case-sensitive"===r),a=g(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?s(e,t):a(e,t)??i}const f=(e,t)=>null==e?null==t?0:1:null==t?-1:null,m=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function g(e){return e?f:m}const v=(e,t)=>m(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>f(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),b=(e,t)=>m(e,t)??(e===t?0:e<t?-1:1),_=(e,t)=>f(e,t)??(e===t?0:e<t?1:-1);function C(e,t){if(t)return e?_:b;const r=g(e);return e?(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=r(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const M=(e,t)=>f(e,t)??t-e,x=(e,t)=>m(e,t)??e-t;function F(e){return e?M:x}function T(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function S(e,t,r){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:a.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return r?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function Z(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function I(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function O(e,t,r,i){const n=e.count,s=[];if(r&&t){const e=[],r=I(t[0]);for(const n of r)if(t[1]){const r=I(t[1]);for(const s of r)if(t[2]){const r=I(t[2]);for(const t of r)e.push(`${u(n)}${i}${u(s)}${i}${u(t)}`)}else e.push(`${u(n)}${i}${u(s)}`)}else e.push(n);for(const t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(const e in n){const t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function E(e,t,r,i){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(n=e/i*100);break;case"field":Number.isFinite(r)&&0!==r&&(n=e/r);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function j(e,t,r){const s=function(e){const{breakCount:t,field:r,normalizationField:n,normalizationType:s}=e,o=e.classificationMethod||"equal-interval",l="standard-deviation"===o?e.standardDeviationInterval||1:void 0,a="defined-interval"===o?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:r,classificationMethod:o,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:l,definedInterval:a})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,r){const i=t??-1/0,n=r??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=n)}(e,t.minValue,t.maxValue),(0,n.t)({definition:s,values:e,normalizationTotal:t.normalizationTotal},r)}function A(e,t){let r=e.classBreaks;const i=r.length,n=r[0]?.minValue,o=r[i-1]?.maxValue,l="standard-deviation"===t,a=s;return r=r.map(e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(l&&t){const e=t.match(a),i=e?.map(e=>+e.trim())??[];2===i.length?(r.minStdDev=i[0],r.maxStdDev=i[1],i[0]<0&&i[1]>0&&(r.hasAvg=!0)):1===i.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=i[0]):t.includes(">")&&(r.minStdDev=i[0],r.maxStdDev=null))}return r}),{minValue:n,maxValue:o,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function R(e,t){const r=L(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const i=r.intervals,n=r.min??0,s=r.max??0,o=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=n&&t<=s){const e=V(i,t);e>-1&&o[e].count++}return{bins:o,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function L(e,t,r=!1){const{field:i,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,normalizationType:l,normalizationField:a,normalizationTotal:u,minValue:c,maxValue:y}=t,h=t.numBins||10;let f=null,m=null,g=null;if(n&&"equal-interval"!==n||l){const{classBreaks:t}=j(e,{field:i,normalizationType:l,normalizationField:a,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:o,minValue:c,maxValue:y,numClasses:h},null!=c&&null!=y?[c,y]:void 0);f=t[0]?.minValue,m=t[t.length-1]?.maxValue,g=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=c&&null!=y)f=c,m=y;else{const t=p({values:e,minValue:c,maxValue:y,useSampleStdDev:!l,supportsNullCount:d({normalizationType:l,normalizationField:a,minValue:c,maxValue:y})});f=t.min??null,m=t.max??null}g=function(e,t,r){const i=(t-e)/r,n=[];let s,o=e;for(let e=1;e<=r;e++)s=o+i,s=Number(s.toFixed(16)),n.push([o,e===r?t:s]),o=s;return n}(f??0,m??0,h)}if(r&&g.length){const e=g.at(-1)[1];g.push([e,e])}return{min:f,max:m,intervals:g}}function V(e,t){let r=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){r=i;break}return r}},22671(e,t,r){r.d(t,{A:()=>v});var i,n=r(5482),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),d=r(16930),c=r(60408),p=r(65864),y=r(50498),h=r(20437),f=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,p.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=d.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[s,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+i,e=>n-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=d.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=i);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(o)}return n}_quantizePoints(e,t,r){let i,n;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===i&&o===n||(s.push([e-i,o-n]),i=e,n=o)}else i=t(l[0]),n=r(l[1]),s.push([i,n])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,c.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],o=this._quantizePoints(s,t,r);o&&n.push(o)}return n.length>0?((0,c.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,n.Cg)([(0,f.w)("features")],v.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:y.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,f.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:d.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},32587(e,t,r){r.d(t,{A:()=>s});var i=r(62788),n=r(95488);class s{constructor(e){this._observable=new n.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,i.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,i.gc)(this._observable),this._map.entries()}forEach(e,t){(0,i.gc)(this._observable),this._map.forEach((r,i)=>e.call(t,r,i,this),t)}get(e){return(0,i.gc)(this._observable),this._map.get(e)}has(e){return(0,i.gc)(this._observable),this._map.has(e)}keys(){return(0,i.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),i=e(t,r);i!==t&&this.set(r,i)}})}values(){return(0,i.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,i.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>a});var i=r(5482),n=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(25482),o=r(91429),l=r(8631),a=r(29005),u=r(36005),d=r(43937);let c=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],c.prototype,"readDomains",null),(0,i.Cg)([(0,d.K)("domains")],c.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],c)},44794(e,t,r){r.d(t,{v:()=>l});var i=r(4718),n=r(62788),s=r(95488);class o{constructor(e,t){this._observable=new s.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function l(e,t=i.gh){return new o(e,t)}},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);class n{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new n(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),o=/^\s*\d+\s*$/;if(!r?.match||!o.test(r))throw new i.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new i.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),a=parseInt(s,10);return new n(l,a,t)}}},55674(e,t,r){r.d(t,{Ad:()=>y,Gj:()=>m,QY:()=>p,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),l=r(65864),a=r(95466),u=r(43668),d=r(98623);const c=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return f.create(e,t,null,["$feature","$view"])}function h(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const a=s.scriptUsesGeometryEngine(l);a&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,a);const d={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(l,d);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const y=new o;return y.immutable=!1,y.setField("scale",0),new f(e,s,l,c,t,y,p,o)}constructor(e,t,r,i,n,s,o,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new a.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===d.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??d.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},58501(e,t,r){r.d(t,{q:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},61760(e,t,r){r.d(t,{PU:()=>o,YW:()=>a,ex:()=>n,hv:()=>l,zp:()=>s}),r(34727);var i=r(90629);r(78955),r(91829);const n=2.4;function s(e){return(0,i.PN)(e*n)}function o(e){return(0,i.Lz)(e)/n}function l(e,t,r){const i=Math.sqrt(e**2+t**2)/r;return i>1?0:3/(Math.PI*r**2)*(1-i**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62815(e,t,r){r.d(t,{N:()=>o,d:()=>l});var i=r(86211),n=r(73941),s=r(21325);function o(e,t,r){const i=l(t,r);if(1!==i)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return}}function l(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,i.G9)(e)/(0,i.G9)(t)}},73681(e,t,r){r.d(t,{n:()=>a});var i=r(49186),n=r(53966),s=r(46140),o=r(95466),l=r(55674);class a{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,d=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const y=await(0,l.xR)(e.expression,null,c);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const f=new u(r,h);return new a(h,d,y,f)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},83508(e,t,r){r.r(t),r.d(t,{default:()=>fe});var i=r(5482),n=r(11254),s=r(7762),o=r(49186),l=r(91869),a=r(25728),u=r(74887),d=r(84952),c=r(91429),p=r(4146),y=r(36563),h=r(66344),f=r(32587),m=r(36708),g=r(44794),v=r(56507),w=r(63074),b=r(25036),_=r(10873),C=r(91880),M=r(1873);let x=class extends((0,b.j)((0,w.dM)((0,a.M)(p.A)))){constructor(e){super(e),this._layerCache=new h.q(20,e=>e.destroy()),this._oidToReference=new f.A,this._layerToReference=new Map,this.legendEnabled=!0,this.layers=new s.A,this.maximumVisibleSublayers=10,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.title="Layers in view",this.type="catalog-dynamic-group",this.visible=!0}initialize(){this.addHandles([this.layers.on("after-add",({item:e})=>{e.parent=this}),this.layers.on("after-remove",({item:e})=>{e.parent=null}),(0,m.wB)(()=>this._orderBy,()=>{this._updateLayerSortValues(),this._sortAllLayers()})])}load(e){return this.addResolvingPromise(this.parent.load()),Promise.resolve(this)}destroy(){this._layerCache.destroy(),this._oidToReference.clear(),this._layerToReference.clear()}get _orderBy(){return this.parent?this.parent.orderBy?.find(e=>!e.valueExpression&&e.field)??new C.A({field:this.parent.objectIdField}):null}get _referenceComparator(){const e=this._orderBy;if(!this.parent||!e)return()=>0;const t=this.parent.fieldsIndex.get(e.field),r=(0,M.FM)(t?.toJSON().type,"descending"===e.order,"case-sensitive"),i=(0,M.FM)("esriFieldTypeOID","descending"===e.order);return(e,t)=>r(t.sortValue,e.sortValue)||i(t.objectId,e.objectId)}get fullExtent(){return this.parent?.fullExtent??null}get updating(){return(0,l.Bs)(this._oidToReference,({pending:e})=>null!=e)}acquireLayer(e){if(this.destroyed)return(0,y.hA)();const t=this._getLayerReference(e);return t.count++,(0,y.hA)(()=>{t.count--,t.count||this._destroyLayerReference(t)})}_getLayerReference(e){const t=e.getObjectId();return(0,l.tE)(this._oidToReference,t,()=>{const t=e.getObjectId(),r=`${t}`,i=e.getAttribute(this.parent.itemSourceField),n=new F(e,t,i),s=this._layerCache.pop(r);return s?(this._addLayer(n,s),n):(n.pending=this.parent.createLayerFromFootprint(e).then(e=>{n.count?this._addLayer(n,e):(this.destroyed||this._layerCache.get(r)||this._layerCache.put(r,e),n.layer=null)}).catch(()=>{}).finally(()=>{n.pending=null}),n)})}_destroyLayerReference(e){e.layer&&(this._layerToReference.delete(e.layer),this.layers.remove(e.layer),this.destroyed?e.layer.destroy():this._layerCache.put(`${e.objectId}`,e.layer),e.layer=null),this._oidToReference.delete(e.objectId)}_addLayer(e,t){e.layer=t,t.persistenceEnabled=!1,this._layerToReference.set(t,e),this._updateLayerSortValue(e),this.layers.add(t),this._sortAllLayers()}_updateLayerSortValues(){for(const e of this._layerToReference.values())this._updateLayerSortValue(e)}_updateLayerSortValue(e){this._orderBy&&(e.sortValue=e.footprint.getAttribute(this._orderBy.field))}_sortAllLayers(){this.layers.sort((e,t)=>this._referenceComparator(this._layerToReference.get(e),this._layerToReference.get(t)))}};(0,i.Cg)([(0,c.MZ)()],x.prototype,"_orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"_referenceComparator",null),(0,i.Cg)([(0,c.MZ)(_.fV)],x.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"],json:{write:!0}})],x.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:v.jz,range:{min:0,max:50},json:{write:!0,default:10}})],x.prototype,"maximumVisibleSublayers",void 0),(0,i.Cg)([(0,c.MZ)(_.ke)],x.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1})],x.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],x.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],x.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],x.prototype,"updating",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],x.prototype,"visible",void 0),x=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogDynamicGroupLayer")],x);class F{constructor(e,t,r){this.footprint=e,this.objectId=t,this.itemSource=r,this.count=0,this.layer=null,this.sortValue=void 0,this._pending=(0,g.v)(null)}get pending(){return this._pending.value}set pending(e){this._pending.value=e}}var T=r(37838),S=r(4718),Z=r(78247),I=r(55156),O=r(60950),E=r(89808),j=r(99959);const A=Symbol("isCatalogGraphicOrigin");var R;class L extends j.A{get[(R=A,O.ym)](){return this.layer}get[I.e](){return this.layer}get[E.Q](){return this.layer}constructor(e){super(),this[R]=!0,this.type="catalog",this.layer=e}get id(){return this.layer.id}}var V=r(87718),D=r(30524),P=r(46499),N=r(39383),z=r(96576),q=r(41214),G=r(30291),$=r(94985);let k=class extends((0,b.j)((0,V.F)((0,w.dM)((0,a.M)(p.A))))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.elevationInfo=null,this.formTemplate=null,this.graphicOrigin=new L(this),this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.opacity=1,this.parent=null,this.persistenceEnabled=!0,this.popupEnabled=!0,this.popupTemplate=null,this.title="Footprints",this.type="catalog-footprint",this.visible=!0}load(e){return this.addResolvingPromise(this._doLoad(e)),Promise.resolve(this)}async _doLoad(e){await this.parent.load(e),(0,D.yp)(this.renderer,this.fieldsIndex),this.addHandles([this.parent.on("apply-edits",e=>this.emit("apply-edits",e)),this.parent.on("edits",e=>this.emit("edits",e)),this.parent.on("refresh",e=>this.emit("refresh",e))])}get apiKey(){return this.parent?.apiKey}get capabilities(){return this.parent?.capabilities}get customParameters(){return this.parent?.customParameters}get dateFieldsTimeZone(){return this.parent?.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this.parent?.datesInUnknownTimezone??!1}get definitionExpression(){return this.parent?.definitionExpression}get editingInfo(){return this.parent?.editingInfo}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get createQueryVersion(){return this.parent?.createQueryVersion}get defaultPopupTemplate(){return this.createPopupTemplate()}get displayField(){return this.parent?.displayField}get displayFilterEnabled(){return this.parent?.displayFilterEnabled??!0}get displayFilterInfo(){return this.parent?.displayFilterInfo??null}get effectiveEditingEnabled(){return!1}get fields(){return this.parent?.fields}get fieldsIndex(){return this.parent?.fieldsIndex}get fullExtent(){return this.parent?.fullExtent}get geometryFieldsInfo(){return this.parent?.geometryFieldsInfo}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?.globalIdField}get hasM(){return this.parent?.hasM??!1}get hasZ(){return this.parent?.hasZ??!1}get objectIdField(){return this.parent?.objectIdField}get orderBy(){return this.parent?.orderBy??null}get outFields(){return this.parent?.outFields}get parsedUrl(){return this.parent?.parsedUrl??null}get preferredTimeZone(){return this.parent?.preferredTimeZone??null}set renderer(e){(0,D.yp)(e,this.fieldsIndex),this._set("renderer",e)}get renderer(){return this._isOverridden("renderer")?this._get("renderer"):function(){const e=new $.A({style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[96,96,96,.75],width:.75}});return new z.A({symbol:e})}()}get returnM(){return this.parent?.returnM}get returnZ(){return this.parent?.returnZ}get source(){return this.parent?.source}get timeExtent(){return this.parent?.timeExtent}get timeInfo(){return this.parent?.timeInfo}get timeOffset(){return this.parent?.timeOffset}get typeIdField(){return this.parent?.typeIdField}get types(){return this.parent?.types}get useViewTime(){return this.parent?.useViewTime??!0}get version(){return this.parent?.version}async applyEdits(e,t){return await this.load(),this.parent.applyEdits(e,t)}createPopupTemplate(e){const t={fields:this.fields,objectIdField:this.objectIdField,title:this.title};return(0,G.tn)(t,e)}createQuery(){return this.parent?.createQuery()}getField(e){return this.parent?.getField(e)}getFieldDomain(e,t){return this.parent?.getFieldDomain(e,t)}async queryExtent(e,t){return await this.load(),this.parent.queryExtent(e,t)}async queryFeatures(e,t){return await this.load(),this.parent.queryFeatures(e,t)}async queryFeatureCount(e,t){return await this.load(),this.parent.queryFeatureCount(e,t)}async queryObjectIds(e,t){return await this.load(),this.parent.queryObjectIds(e,t)}async queryAttributeBins(e,t){return await this.load(),this.parent.queryAttributeBins(e,t)}};(0,i.Cg)([(0,c.MZ)(_.zQ)],k.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"apiKey",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"capabilities",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"customParameters",null),(0,i.Cg)([(0,c.MZ)()],k.prototype,"dateFieldsTimeZone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"datesInUnknownTimezone",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"definitionExpression",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"editingInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveCapabilities",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],k.prototype,"charts",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"displayField",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,nonNullable:!0,json:{name:"enableEditing",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,S.o8)(_.Yj);return e.json.origins["web-map"]={read:!1,write:!1},e})())],k.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fields",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fieldsIndex",null),(0,i.Cg)([(0,c.MZ)({type:Z.A,json:{name:"formInfo",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],k.prototype,"formTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryFieldsInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"geometryType",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"globalIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],k.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"hasZ",null),(0,i.Cg)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:[P.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:N.w,write:!0}})],k.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,c.MZ)(_.kF)],k.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,c.MZ)(_.fV)],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"],json:{write:!0}})],k.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,S.o8)(_.hG);return e.json.origins.service.read=!1,e})())],k.prototype,"maxScale",void 0),(0,i.Cg)([(0,c.MZ)((()=>{const e=(0,S.o8)(_.hn);return e.json.origins.service.read=!1,e})())],k.prototype,"minScale",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"objectIdField",null),(0,i.Cg)([(0,c.MZ)(_.ke)],k.prototype,"opacity",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"orderBy",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"outFields",null),(0,i.Cg)([(0,c.MZ)({clonable:!1})],k.prototype,"parent",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"parsedUrl",null),(0,i.Cg)([(0,c.MZ)(_.M6)],k.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:T.A,json:{name:"popupInfo",write:!0}})],k.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"preferredTimeZone",null),(0,i.Cg)([(0,c.MZ)({types:q.Hg,json:{origins:{"web-scene":{types:q.XJ}},name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy(e,t){return{ignoreOrigin:this.originIdOf(t)<3}}}}})],k.prototype,"renderer",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnM",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"returnZ",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"source",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeExtent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeInfo",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"timeOffset",null),(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],k.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"typeIdField",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"types",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],k.prototype,"useViewTime",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),k=(0,i.Cg)([(0,c.$K)("esri.layers.catalog.CatalogFootprintLayer")],k);var B=r(72593),U=r(52136),J=r(18768),Q=r(69208),K=r(6455),Y=r(47685),H=r(10086),W=r(16131),X=r(32756),ee=r(8303),te=r(54310),re=r(82935),ie=r(15426),ne=r(33143),se=r(17036),oe=r(91908),le=r(20655),ae=r(80812),ue=r(39131),de=r(61956);const ce=(0,se.p)();function pe(e,t,r,i){const n=e.write({},i);(function(e){if(null==e)return!0;const t=Object.keys(e);return!t.length||1===t.length&&"id"===t[0]})(n)||(t[r]=n)}let ye=class extends((0,K.FJ)((0,H.j)((0,Y.w6)((0,w.dM)((0,X.fY)((0,re.e)((0,b.j)((0,te.J)((0,J.b)((0,W.q)((0,ee.A)((0,a.M)((0,Q.d)((0,U.p)(p.A))))))))))))))){constructor(e){super(e),this.legendEnabled=!0,this._portals=new Map,this._layerToFootprint=new WeakMap,this.drawOrderField="cd_draworder",this.dynamicGroupLayer=new x({parent:this}),this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.footprintLayer=new k({parent:this}),this.itemNameField="cd_itemname",this.itemSourceField="cd_itemsource",this.itemTypeField="cd_itemtype",this.layers=new s.A([this.dynamicGroupLayer,this.footprintLayer]),this.maxScaleField="cd_maxscale",this.minScaleField="cd_minscale",this.orderBy=null,this.outFields=null,this.supportedSourceTypes=new Set(["Catalog Layer"]),this.source=new B.default({layer:this,supportedSourceTypes:this.supportedSourceTypes}),this.type="catalog",this.typeIdField=null,this.types=null}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(u.QP).then(async()=>{const{url:e,source:r,portalItem:i}=this;if(!e)throw new o.A("catalog-layer:missing-url","Catalog layer must be created with a url");if(null==this.layerId){const r=await this._fetchFirstValidLayerId(t);if(null==r)throw new o.A("catalog-layer:missing-layerId","There is no Catalog Layer in the service",{service:e});this.layerId=r}await r.load({signal:t});const{sourceJSON:n}=r;n&&(this.sourceJSON=n,this.read(n,{origin:"service",portalItem:i,portal:i?.portal,url:this.parsedUrl}))}).then(()=>{const e=[this.itemNameField,this.itemSourceField,this.itemTypeField,this.minScaleField,this.maxScaleField],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new o.A("catalog-layer:missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}).then(()=>(0,ie.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}destroy(){this.footprintLayer.destroy(),this.dynamicGroupLayer.destroy();for(const e of this._portals.values())e.destroy();this._portals.clear()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return!1}async applyEdits(e,t){return(0,ie.ct)(this,e,t)}async createLayerFromFootprint(e){const t=await this._createLayer(e);return this._configureLayer(t,e),this._layerToFootprint.set(t,e),t}createFootprintFromLayer(e){return this._layerToFootprint.get(e)?.clone()}createQuery(){const e=new de.A,t=this.capabilities?.query;e.returnGeometry=!0,t&&(e.compactGeometryEnabled=t.supportsCompactGeometry,e.defaultSpatialReferenceEnabled=t.supportsDefaultSpatialReference),e.outFields=["*"];const{timeOffset:r,timeExtent:i}=this;return e.timeExtent=null!=r&&null!=i?i.offset(-r.value,r.unit):i||null,e.where=this.definitionExpression||"1=1",e}getFeatureType(e){return(0,ie.xd)(this.types,this.typeIdField,e)}getFieldDomain(e,t){const r=t?.feature,i=this.getFeatureType(r);if(i){const t=i.domains&&i.domains[e];if(t&&"inherited"!==t.type)return t}return this.getField(e)?.domain}async hasDataChanged(){return(0,ie.jp)(this)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(de.A.from(e)??r.createQuery(),t),n=r.footprintLayer.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r.footprintLayer,e.origin=n;return i}async queryObjectIds(e,t){return(await this.load()).source.queryObjectIds(de.A.from(e)??this.createQuery(),t)}async queryFeatureCount(e,t){return(await this.load()).source.queryFeatureCount(de.A.from(e)??this.createQuery(),t)}async queryExtent(e,t){return(await this.load()).source.queryExtent(de.A.from(e)??this.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,oe.D)(this,e)}read(e,t){if(super.read(e,t),e){const{footprintLayer:r,dynamicGroupLayer:i}=e;r&&this.footprintLayer.read(r,t),i&&this.dynamicGroupLayer.read(i,t)}}async queryAttributeBins(e,t){const{source:i,capabilities:n}=await this.load();(0,ie.ZJ)(e,n,"CatalogLayer");const s=await r.e(6956).then(r.bind(r,14575)),o=await i.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this.footprintLayer;return o}async _fetchFirstValidLayerId(e){const{data:t}=await(0,n.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(this.applyPreferredHost(t),Array.isArray(t?.layers))return t.layers.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}async _createLayer(e){const t=e.getAttribute(this.itemSourceField);if(!t)throw new o.A("catalog-layer:item-source-missing",`The footprint is missing the "${this.itemSourceField}" attribute`);const i=JSON.parse(t);if(function(e){return"object"==typeof e&&null!=e&&"itemId"in e&&"portalUrl"in e}(i)){const{itemId:e,portalUrl:t}=i,r=(0,ue.qG)(t),n=this.portalItem?.portal,s=le.A.getDefault();let o,a=!0;n&&(0,d.ut)(t,n.url)?o=n:(0,d.ut)(t,s.url)?o=s:(o=(0,l.tE)(this._portals,r,()=>new le.A({url:r})),a=!1);const u=await p.A.fromPortalItem(new ae.default({id:e,portal:o}));return a||await he(u),u}if(function(e){return"object"==typeof e&&null!=e&&"url"in e}(i))return p.A.fromArcGISServerUrl({url:i.url});const{default:n}=await r.e(7546).then(r.bind(r,45165));return new n}_configureLayer(e,t){const r=t.getAttribute(this.itemNameField);r&&(e.title=r);const i=t.getAttribute(this.maxScaleField);null!=i&&"maxScale"in e&&(e.maxScale=i);const n=t.getAttribute(this.minScaleField);null!=n&&"minScale"in e&&(e.minScale=n)}};async function he(e){if("portalItem"in e&&e.portalItem){try{await e.load()}catch{}e.portalItem=null,"group"===e.type&&await Promise.allSettled([...e.layers.map(e=>he(e)),...e.tables.map(e=>he(e))])}}(0,i.Cg)([(0,c.MZ)(_.fV)],ye.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"createQueryVersion",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"drawOrderField",void 0),(0,i.Cg)([(0,c.MZ)({type:x,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"dynamicGroupLayer",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"editingEnabled",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.elevationInfo",read:!1,write:!1}}}})],ye.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,c.MZ)({...ce.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],ye.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)(ce.fieldsIndex)],ye.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.floorInfo",read:!1,write:!1}}}})],ye.prototype,"floorInfo",void 0),(0,i.Cg)([(0,c.MZ)({type:k,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:pe}}})],ye.prototype,"footprintLayer",void 0),(0,i.Cg)([(0,c.MZ)(_.id)],ye.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemNameField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemSourceField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"itemTypeField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"layers",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],ye.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"maxScaleField",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"minScaleField",void 0),(0,i.Cg)([(0,c.MZ)({value:"CatalogLayer",type:["CatalogLayer"]})],ye.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({json:{origins:{"web-scene":{name:"layerDefinition.orderBy",write:!0,read:!0}}}})],ye.prototype,"orderBy",void 0),(0,i.Cg)([(0,c.MZ)(ce.outFields)],ye.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ye.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!1}})],ye.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],ye.prototype,"typeIdField",void 0),(0,i.Cg)([(0,c.MZ)({type:[ne.A]})],ye.prototype,"types",void 0),ye=(0,i.Cg)([(0,c.$K)("esri.layers.CatalogLayer")],ye);const fe=ye},87718(e,t,r){r.d(t,{F:()=>T,Y:()=>F});var i,n=r(5482),s=r(91429),o=r(49186),l=r(25482),a=r(93637),u=r(76369),d=r(66552),c=r(4718),p=r(50498),y=r(61956),h=r(79677);const f=new d.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),m=new d.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let g=i=class extends l.o{constructor(e){super(e),this.where=null,this.geometry=null,this.spatialRelationship="intersects",this.distance=void 0,this.objectIds=null,this.units=null,this.timeExtent=null}createQuery(e={}){const{where:t,geometry:r,spatialRelationship:i,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new y.A({geometry:(0,c.o8)(r),objectIds:(0,c.o8)(s),spatialRelationship:i,timeExtent:(0,c.o8)(n),where:t,units:o,distance:l,...e})}clone(){const{where:e,geometry:t,spatialRelationship:r,timeExtent:n,objectIds:s,units:o,distance:l}=this;return new i({geometry:(0,c.o8)(t),objectIds:(0,c.o8)(s),spatialRelationship:r,timeExtent:(0,c.o8)(n),where:e,units:o,distance:l})}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],g.prototype,"where",void 0),(0,n.Cg)([(0,s.MZ)({types:p.yR,json:{write:!0}})],g.prototype,"geometry",void 0),(0,n.Cg)([(0,s.MZ)({type:f.apiValues,json:{name:"spatialRel",read:{reader:f.read},write:{allowNull:!1,writer:f.write,overridePolicy(){return{enabled:null!=this.geometry}}}}})],g.prototype,"spatialRelationship",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"distance",void 0),(0,n.Cg)([(0,s.MZ)({type:[Number],json:{write:!0}})],g.prototype,"objectIds",void 0),(0,n.Cg)([(0,s.MZ)({type:m.apiValues,json:{read:m.read,write:{writer:m.write,overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],g.prototype,"units",void 0),(0,n.Cg)([(0,s.MZ)({type:h.A,json:{write:!0}})],g.prototype,"timeExtent",void 0),g=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureFilter")],g);const v=g;var w;const b={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}},_={read:{reader:u.LF},write:{writer:u.M9,overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}},C={name:"showExcludedLabels",default:!0};let M=w=class extends l.o{constructor(e){super(e),this.filter=null,this.includedEffect=null,this.excludedEffect=null,this.excludedLabelsVisible=!1}write(e,t){const r=super.write(e,t);if(t?.origin){if(r.filter){const e=Object.keys(r.filter);if(e.length>1||"where"!==e[0])return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",{layer:t.layer,effect:this})),null}if("showExcludedLabels"in r)return t.messages?.push(new o.A("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:t.layer,effect:this})),null}return r}clone(){return new w({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};(0,n.Cg)([(0,s.MZ)({type:v,json:{write:{allowNull:!0,writer(e,t,r,i){const n=e?.write({},i);n&&0!==Object.keys(n).length?(0,a.sM)(r,n,t):(0,a.sM)(r,null,t)}}}})],M.prototype,"filter",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":b,"portal-item":b}}})],M.prototype,"includedEffect",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.LF,write:{writer:u.M9,allowNull:!0},origins:{"web-map":_,"portal-item":_}}})],M.prototype,"excludedEffect",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0,name:"showExcludedLabels",origins:{"web-map":C,"portal-item":C}}})],M.prototype,"excludedLabelsVisible",void 0),M=w=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureEffect")],M);const x={write:{allowNull:!0}},F={type:M,json:{origins:{"web-map":x,"portal-item":x}}},T=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.featureEffect=null}};return(0,n.Cg)([(0,s.MZ)(F)],r.prototype,"featureEffect",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.FeatureEffectLayer")],r),r}},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96520(e,t,r){r.d(t,{u:()=>o});var i=r(86211),n=r(21325);function s(e,t,r){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=r)}function o(e,t,r){if(!e&&!t||!r)return;const n=(0,i.G9)(r);l(e,r,n),l(t,r,n)}function l(e,t,r){if(e)for(const i of e)a(i.geometry,t,r)}function a(e,t,r){if(!e?.spatialReference||(0,n.aI)(e.spatialReference,t))return;const o=(0,i.G9)(e.spatialReference)/r;if(1!==o)if("x"in e)null!=e.z&&(e.z*=o);else if("rings"in e)s(e,e.rings,o);else if("paths"in e)s(e,e.paths,o);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=o)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1918,6061,6312,7837,7992,8125,9169,9397],{159(e,t,n){n.d(t,{A:()=>u});var r,s=n(5482),i=n(69622),o=n(91429),a=n(99157);let u=r=class extends i.A{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,s.Cg)([(0,o.MZ)({type:[a.A],nonNullable:!0})],u.prototype,"steps",void 0),u=r=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(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 u(e){return[...e]}function c(e){const t=(0,s.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},5482(e,t,n){function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function o(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function s(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(e){return t(e),s()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},5808(e,t,n){n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},7817(e,t,n){n.d(t,{e:()=>i,l:()=>a,s:()=>o});var r=n(86211),s=n(78125);function i(e,t={}){const{unit:n}=t;let i=(0,s.fromGeometry)(e).calculateLength2D();if(i&&n){const t=(0,s.getSpatialReference)(e);i=(0,r.PQ)(i,t,n)}return i}const o=!0,a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:o},Symbol.toStringTag,{value:"Module"}))},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(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:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(e,t,n,r,s,i,o,a,u,c,l,h,f,m,p,g){return[e,t,n,r,s,i,o,a,u,c,l,h,f,m,p,g]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>s});var r=n(49208);function s(e,t,n,s,i,o,a=Math.floor(e.length/3)){const u=(0,r.jd)(t,i);if(null==u)return!1;if(u===r.pO){if(e===s&&n===o)return!0;const t=n+3*a;for(let r=n,i=o;r<t;r++,i++)s[i]=e[r]??0;return!0}const c=n+3*a;for(let t=n,r=o;t<c;t+=3,r+=3)u(e,t,s,r);return!0}},10222(e,t,n){n.d(t,{e:()=>i,s:()=>a});var r=n(81150),s=n(78125);function i(e){const t=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),!1),t)}const o=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(e){const t=e.map(s.fromGeometry),n=(0,s.getSpatialReference)(e);return(0,r.zo)(t,(0,s.fromSpatialReference)(n),!1).map(e=>(0,s.toGeometry)(e,n))},isSimple:function(e){return(0,r.Pg)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)((0,s.getSpatialReference)(e)),!1)},supportsCurves:o},Symbol.toStringTag,{value:"Module"}))},11918(e,t,n){n.r(t),n.d(t,{execute:()=>d,isLoaded:()=>p,load:()=>g,supportsCurves:()=>m});var r=n(86211),s=n(83290);let i;function o(){return!!i&&(0,s.i)()}async function a(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6859),n.e(2764)]).then(n.bind(n,12764)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,s.l)()]);i=new e.OperatorGeodeticDistance,t(s.p)}}function u(e,t,n,r){return i.execute(e,t,n,r,null)}var c=n(5808);let l,h,f,m;function p(){return!!l&&o()}async function g(){if(!p()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)),a()]);l=e.fromGeometry,h=e.fromSpatialReference,f=e.getSpatialReference,m=i.supportsCurves()}}function d(e,t,n={}){const{curveType:s="geodesic",unit:i}=n,o=f(e);let a=u(l(e),l(t),h(o),c.O[s]);return a&&i&&(a=(0,r.oU)(a,"meters",i)),a}},15546(e,t,n){n.d(t,{a:()=>o,c:()=>i});var r=n(55537),s=n(83661);function i(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return a(e);case r.G.enumPolyline:return h(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new s.K(0),n=new s.K(0),r=e.getImpl(),i=r.getAttributeStreamRef(0),o=r.getPointCount(),a=new s.P;for(let e=0;e<o;e++)i.queryPoint2D(2*e,a),t.add(a.x),n.add(a.y);const u=new s.P;return u.setCoords(t.getResult(),n.getResult()),u.divThis(o)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return s.P.construct(Number.NaN,Number.NaN)}return s.P.construct(Number.NaN,Number.NaN)}function o(e,t){return a(e,t)}function a(e,t=-1){const n=new s.K(0),r=new s.K(0),i=e.getImpl();let o;const a=i.hasNonLinearSegments();let h;const f=i.getXY(0);if(-1===t){if(h=i.calculateArea2D(),0===h)return l(e);a&&(o=i.querySegmentIterator());for(let e=0,t=i.getPathCount();e<t;e++)u(f,i,e,n,r),a&&c(f,o,n,r)}else{if(h=i.calculateRingArea2D(t),0===h)return l(e,t);a&&(o=i.querySegmentIterator(),o.resetToPath(t)),u(f,i,t,n,r),a&&c(f,o,n,r)}const m=new s.P,p=new s.P;return m.setCoords(n.getResult(),r.getResult()),p.assign(m.mul(1/h).add(f)),p}function u(e,t,n,r,i){const o=t.getPathStart(n),a=t.getPathEnd(n);if(a-o<3)return;const u=t.getAttributeStreamRef(0),c=u.readPoint2D(2*o),l=u.readPoint2D(2*(o+1));l.subThis(c);const h=new s.K(0),f=t.hasNonLinearSegments(),m=1/3,p=new s.P;for(let e=o+2;e<a;e++){u.queryPoint2D(2*e,p),p.subThis(c);const t=.5*p.crossProduct(l);f&&h.add(t);const n=m*t;r.add((l.x+p.x)*n),i.add((l.y+p.y)*n),l.setCoordsPoint2D(p)}const g=f?h.getResult():t.calculateRingArea2D(n),d=c.sub(e).mul(g);r.add(d.x),i.add(d.y)}function c(e,t,n,s){let i;for(t.nextPath()||(0,r.d)("centroid");null!==(i=t.nextCurve());){const t=i.calculateWeightedAreaCentroid2D(e);n.add(t.x),s.add(t.y)}}function l(e,t=-1){return h(e.getImpl(),t)}function h(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new s.K(0),r=new s.K(0);for(let t=0;t<e.getPathCount();++t){const s=e.getXY(e.getPathStart(t));n.add(s.x),r.add(s.y)}return s.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new s.K(0),i=new s.K(0),o=e.querySegmentIterator();for(-1!==t&&o.resetToPath(t);o.nextPath();){const n=o.getPathIndex(),s=e.getXY(e.getPathStart(n));for(;o.hasNextSegment();){const e=o.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(s.mul(t));r.add(n.x),i.add(n.y)}const a=s.mul(e.calculatePathLength2D(n));if(r.add(a.x),i.add(a.y),-1!==t)break}const a=new s.P;return a.setCoords(r.getResult(),i.getResult()),a.mul(1/n)}},16346(e,t,n){n.d(t,{d:()=>l,e:()=>u});var r=n(55537),s=n(26640),i=n(86211),o=n(78125);const a=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,i,o,a){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.c)(e),(0,r.c)(t);const u=e,c=t;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const l=new s.D(a,n).calculate(u,c,i,o);return Number.isFinite(l)?l:Number.NaN}};function u(e,t,n={}){const{unit:r}=n;let s=a.execute((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),null);if(s&&r){const t=(0,o.getSpatialReference)(e);s=(0,i.PQ)(s,t,r)}return s}const c=a.supportsCurves(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:u,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},17799(e,t,n){n.d(t,{T9:()=>a,d_:()=>s,gT:()=>i});var r=n(86211);function s(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function i(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function o(e,t,n="arithmetic"){return{type:(0,r.t$)(t),value:e,unit:t,rotationType:n}}function a(e,t){return null==e?t:null==t||e.value>(0,r.oU)(t.value,t.unit,e.unit)?e:t}s(0,"meters"),i(0,"square-meters"),o(0,"radians"),o(0,"degrees"),o(0,"degrees","geographic")},21276(e,t,n){n.d(t,{H:()=>i,f:()=>s});var r=n(49186);function s(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(s)}},26640(e,t,n){n.d(t,{D:()=>M,m:()=>l,s:()=>y,w:()=>d});var r=n(5482),s=n(55537),i=n(88885),o=n(15756),a=n(83661),u=n(79187),c=n(95213);function l(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function h(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function f(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function m(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function p(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function g(e,t){const n=l();m(n,e),m(e,t),m(t,n)}function d(e,t,n,r,i,a){if(e.getGeometryType()===s.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,o.l)(e,t.getEndXY(),0))return f(i,t.getEndXY(),-1,Number.NaN),f(a,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===s.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,o.l)(t,e.getEndXY(),0))return f(i,e.getEndXY(),-1,Number.NaN),f(a,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function y(e){const t=e.getPathCount(),n=(0,a.d)(e.getSegmentCount(),0);let r=0;for(let s=0;s<t;++s){const t=r+e.getSegmentCountPath(s);for(let i=r,o=e.getPathStart(s);i<t;++i,++o)n[i]=o;r=t}return(0,i.s)(e.getPointCount(),n),n}function v(e,t){return!!Number.isNaN(t)||e<=t}function x(e){const t=new i.P;return t.addEnvelope(e,!1),t}class M{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==c.P.type||t.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const s=h(new a.P,(0,a.j)(),Number.NaN),i=h(new a.P,(0,a.j)(),Number.NaN),o=this._ExecuteBruteForce(e,t,s,i);return v(o,this.m_maxDistance)?(null!==n&&m(n,s),null!==r&&m(r,i),o):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=h(new a.P,(0,a.j)(),Number.NaN),s=h(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,s)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case s.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case s.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointPoint(e,t,n,r);case s.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const s=e.getXY(),i=t.getXY();return f(n,s,0,0),f(r,i,0,0),Math.sqrt(a.P.sqrDistance(s,i))}distancePointMultipoint(e,t,n,r){const s=e.getXY();let i=this.m_maxSqrDistance,o=i,u=!1;const c=t.getPointCount(),l=new a.P;for(let e=0;e<c;++e)if(t.queryXY(e,l),o=a.P.sqrDistance(s,l),this.m_bIsNearCalc){if(o<=i)return 0}else if(!(o>i)&&(!u&&o===i||o<i)&&(i=o,f(n,s,0,0),f(r,l,e,0),u=!0,0===i))return 0;return u?Math.sqrt(i):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const i=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=e.getXY();if(!i&&t.getGeometryType()===s.G.enumPolygon&&0!==(0,o.l)(t,c,0))return f(n,c,0,0),f(r,c,-1,Number.NaN),0;t.getImpl().getAccelerators();let l=this.m_maxSqrDistance,h=l,m=-1;const p=new u.Envelope2D,g=t.querySegmentIterator();let d=!1;for(;g.nextPath();)for(;g.hasNextSegment();){const e=g.nextSegment();e.queryEnvelope(p);const t=p.sqrDistance(c);if(t>l)continue;if(!this.m_bIsNearCalc&&d&&t===l)continue;m=e.getClosestCoordinate(c,!1);const s=e.getCoord2D(m);if(h=a.P.sqrDistance(c,s),this.m_bIsNearCalc){if(h<=l)return 0}else if(!(h>l)&&(!d||h<l)&&(l=h,f(n,c,0,0),f(r,s,g.getStartPointIndex(),m),d=!0,0===l))return 0}return d?Math.sqrt(l):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const s=e.getXY();f(n,s,0,0),f(r,s,-1,Number.NaN);const i=t.asEnvelope2D();return i.contains(s)?0:Math.sqrt(i.sqrDistance(s,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipointMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,s,i,o){const u={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===i&&1===o){const r=Math.trunc((0,a.s)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)())),i=Math.trunc((0,a.s)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)()));if((r>=4||i>=4)&&this.distanceMultipointMultipoint(e,t,n,s,r,i)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const l=[e],h=[t],m=this.swapGeometriesIfBGtA(l,h);m&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o=(0,a.c)(i,i=o),g(n,s)),(0,r.mS)(u,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!m),!1);const p=l[0].getImpl(),d=h[0].getImpl(),y=p.getPointCount(),v=d.getPointCount(),x=v>1;let M=!1;const P=new a.P,_=new a.P;for(let e=0;e<y;e+=i){if(p.queryXY(e,P),x){const e=this.m_env2DgeometryB.sqrDistance(P);if(this.m_bIsNearCalc){if(e>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(P)<=c)return 0}else if(e>=c)continue}for(let t=0;t<v;t+=o){d.queryXY(t,_);const r=a.P.sqrDistance(P,_);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||M&&r===c)&&(!M||r<c)&&(f(n,P,e,0),f(s,_,t,0),M=!0,c=r,0===c))return M?Math.sqrt(c):Number.POSITIVE_INFINITY}}return M?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(e){u.error=e,u.hasError=!0}finally{(0,r.hk)(u)}}distanceMultipointMultipath(e,t,n,r){let i=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===s.G.enumPolygon;const c=t.querySegmentIterator();c.stripAttributes();const l=new u.Envelope2D,h=new a.P;let m=this.m_maxSqrDistance;const p=e.getImpl(),g=p.getPointCount(),d=g>1;let y=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();if(e.queryLooseEnvelope(l),d){const e=l.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m||y&&e===m)continue}for(let s=0;s<g;s++){if(p.queryXY(s,h),i&&0!==(0,o.l)(t,h,0))return f(n,h,-1,Number.NaN),f(r,h,s,0),0;{const e=l.sqrDistance(h);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m)continue}const a=e.getClosestCoordinate(h,!1),u=e.getCoord2D(a);h.subThis(u);const g=h.sqrLength();if(this.m_bIsNearCalc){if(g<=m)return 0}else if(!(g>m)&&(!y||g<m)&&(m=g,f(n,p.getXY(s),s,0),f(r,u,c.getStartPointIndex(),a),y=!0,0===m))return 0}i=!1}return y?Math.sqrt(m):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,x(e),r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(x(e),t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const s=e.asEnvelope2D(),i=t.asEnvelope2D();return Math.sqrt(s.sqrDistanceEnvelope(i,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipathMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,s){const o={stack:[],error:void 0,hasError:!1};try{const c=[e],h=[t],f=this.swapGeometriesIfAGtB(c,h);f&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),g(n,s)),(0,r.mS)(o,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!f),!1);const v=c[0],x=h[0],M=v.querySegmentIterator();M.stripAttributes();const P=x.querySegmentIterator();if(P.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),t=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,x,n,s,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=l(),t=l();if(d(v,x,M,P,e,t))return m(n,e),m(s,t),0}const _=y(v),w=[],N=new i.S,S=new u.Envelope2D,b=new u.Envelope2D,C=new u.Envelope2D;let I=this.m_maxSqrDistance,A=!0,R=!1;for(let e=0,t=_.length;e<t;++e){v.querySegment(_[e],N,!0);const t=N.get();if(t.queryEnvelope(S),!(S.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>I)){if(this.m_bIsNearCalc&&S.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=I)return 0;for(;P.nextPath();){if(this.progress_(),A)x.queryPathEnvelope(P.getPathIndex(),C),w[P.getPathIndex()]=C.clone();else if(S.sqrDistanceEnvelope(w[P.getPathIndex()],null,null)>I)continue;for(;P.hasNextSegment();){const r=P.nextSegment();if(r.queryEnvelope(b),S.sqrDistanceEnvelope(b,null,null)<=I){const i=!S.isIntersecting(b),o=[0],a=[0];let u=t.distance(r,i,o,a);if(u*=u,this.m_bIsNearCalc&&u<=this.m_maxSqrDistance)return 0;if(u<I||u===I&&_[e]<n.index){if(R=!0,p(n,t,_[e],o[0]),p(s,r,P.getStartPointIndex(),a[0]),0===u)return 0;I=u}}}}P.resetToFirstPath(),A=!1}}return R?Math.sqrt(I):Number.POSITIVE_INFINITY}catch(e){o.error=e,o.hasError=!0}finally{(0,r.hk)(o)}}swapGeometriesIfAGtB(e,t){return(0,s.v)(e[0])>(0,s.v)(t[0])&&(t[0]=(0,a.c)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}},27993(e,t,n){n.d(t,{F:()=>a});var r=n(91218),s=n(16930),i=n(9762),o=n(65806);function a(e,t,n,s){return!(null==t||null==s||e.length<2)&&((0,r.canProjectWithoutEngine)(t,s)?(0,i.projectBuffer)(e,t,0,n,s,0,1):(u.x=e[0],u.y=e[1],u.z=e[2],u.spatialReference=t,(0,o.g)(u,n,s)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:s.A.WGS84,type:"point"}},28735(e,t,n){n.d(t,{Cv:()=>d,Gh:()=>x,ci:()=>M,je:()=>y,jg:()=>h,tD:()=>v,y7:()=>g,yw:()=>l});var r=n(4718),s=n(21276),i=n(16930),o=n(79258),a=n(21325);function u(e){return 57.29577951308232*e}function c(e){return.017453292519943*e}function l(e){return e/o.$O.radius}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const m=[0,0];function p(e,t,n,r,s){const i=e,o=s;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,m,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,m,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,m,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let s;for(let i=0;i<e.length;i++){const o=e[i];s=[],n.push(s);for(let e=0;e<o.length;e++)s.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&s[e].push(o[e][2]),o[e].length>3&&s[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let s=0;s<e.length;s++)n[s]=t(e[s][0],e[s][1],[0,0],r),e[s].length>2&&n[s].push(e[s][2]),e[s].length>3&&n[s].push(e[s][3]);o.points=n}return s}function g(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,a.aI)(r,n)||(0,a.K8)(r)&&(0,a.oT)(n)||(0,a.K8)(n)&&(0,a.oT)(r))}function d(e,t){if(null==e)return null;const n=e.spatialReference,s=t&&(f(t)?t:t.spatialReference);return g(n,s)?(0,a.aI)(n,s)?(0,r.o8)(e):(0,a.K8)(s)?p(e,y,i.A.WebMercator,!1,(0,r.o8)(e)):(0,a.oT)(s)?p(e,v,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function y(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=c(t);return n[0]=c(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function v(e,t,n=[0,0],r=!1){if(e===a.Mc[0])n[0]=-180;else if(e===a.Mc[1])n[0]=180;else{const t=u(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=u(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function x(e,t=!1,n=(0,r.o8)(e)){return(0,s.f)(e),(0,s.f)(n),p(e,y,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,s.f)(e),(0,s.f)(n),p(e,v,i.A.WGS84,t,n)}},32728(e,t,n){n.d(t,{YH:()=>o,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),s=n(51850);function i(e,t){const n=Math.sqrt(t[0]*t[0]+t[4]*t[4]+t[8]*t[8]),s=Math.sqrt(t[1]*t[1]+t[5]*t[5]+t[9]*t[9]),i=Math.sqrt(t[2]*t[2]+t[6]*t[6]+t[10]*t[10]);return(0,r.hZ)(e,n,s,i),e}function o(e,t,n){n=n||e;const s=(0,r.Om)(e,t);(0,r.hZ)(n,e[0]-s*t[0],e[1]-s*t[1],e[2]-s*t[2]),(0,r.S8)(n,n)}function a(e,t,n,i=(0,s.vt)()){const o=(0,r.Bw)(e),a=(0,r.Bw)(t),l=(0,r.Om)(e,t)/(o*a);if(l<.9999999999999999){const s=Math.acos(l),h=((1-n)*o+n*a)/Math.sin(s),f=h/o*Math.sin((1-n)*s),m=h/a*Math.sin(n*s);return(0,r.hs)(u,e,f),(0,r.hs)(c,t,m),(0,r.WQ)(i,u,c)}return(0,r.Cc)(i,e,t,n)}(0,s.vt)(),(0,s.vt)(),(0,s.vt)();const u=(0,s.vt)(),c=(0,s.vt)()},34304(e,t,n){n.d(t,{DF:()=>u,FD:()=>s,Ov:()=>i,ct:()=>c});let r=1e-6;function s(){return r}const i=Math.random,o=Math.PI/180,a=180/Math.PI;function u(e){return e*o}function c(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:s,setEpsilon:function(e){r=e},toDegree:c,toRadian:u},Symbol.toStringTag,{value:"Module"}))},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const s=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:s*i,a2:s*i*s*i,a3:s*i*i/2,a4:s*i*s*i*2.5,a5:s*i+s*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},35223(e,t,n){n.d(t,{Hh:()=>o,fz:()=>u,g7:()=>a,s1:()=>i});var r=n(83290);let s;function i(){return!!s&&(0,r.i)()}async function o(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticLength,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},35522(e,t,n){n.d(t,{$A:()=>S,Bw:()=>i,C:()=>o,Cc:()=>b,DI:()=>_,Il:()=>B,Io:()=>v,Ln:()=>y,Om:()=>N,Qr:()=>h,Re:()=>c,S8:()=>w,T9:()=>g,WQ:()=>u,Z0:()=>C,_S:()=>m,aI:()=>O,ei:()=>I,gL:()=>A,hG:()=>x,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>p,lo:()=>z,lw:()=>l,m3:()=>M,oW:()=>G,t2:()=>E,tn:()=>f,uE:()=>Y,xg:()=>j,ze:()=>P});var r=n(51850),s=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(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 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 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 h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function m(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 g(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 d(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 v(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function x(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function P(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function _(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],s=t[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function N(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function S(e,t,n){const r=t[0],s=t[1],i=t[2],o=n[0],a=n[1],u=n[2];return e[0]=s*u-i*a,e[1]=i*o-r*u,e[2]=r*a-s*o,e}function b(e,t,n,r){const s=t[0],i=t[1],o=t[2];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function C(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12],e[1]=n[1]*r+n[5]*s+n[9]*i+n[13],e[2]=n[2]*r+n[6]*s+n[10]*i+n[14],e}function I(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=r*n[0]+s*n[3]+i*n[6],e[1]=r*n[1]+s*n[4]+i*n[7],e[2]=r*n[2]+s*n[5]+i*n[8],e}function A(e,t,n){const r=n[0],s=n[1],i=n[2],o=n[3],a=t[0],u=t[1],c=t[2],l=s*c-i*u,h=i*a-r*c,f=r*u-s*a,m=s*f-i*h,p=i*l-r*f,g=r*h-s*l,d=2*o;return e[0]=a+l*d+2*m,e[1]=u+h*d+2*p,e[2]=c+f*d+2*g,e}const R=(0,r.vt)(),D=(0,r.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 n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],u=t[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function G(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],i=n[2]-t[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=s*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const T=c,q=l,Z=h,j=v,z=x,B=i,Y=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(e,t){w(R,e),w(D,t);const n=N(R,D);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(e,t,n,r,s,i){const o=1-i,a=o*o,u=i*i,c=a*o,l=3*i*a,h=3*u*o,f=u*i;return e[0]=t[0]*c+n[0]*l+r[0]*h+s[0]*f,e[1]=t[1]*c+n[1]*l+r[1]*h+s[1]*f,e[2]=t[2]*c+n[2]*l+r[2]*h+s[2]*f,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:o,cross:S,crossAndNormalize:function(e,t,n){const r=t[0],s=t[1],i=t[2],o=n[0],a=n[1],u=n[2],c=s*u-i*a,l=i*o-r*u,h=r*a-s*o,f=Math.sqrt(c*c+l*l+h*h);return e[0]=c/f,e[1]=l/f,e[2]=h/f,e},direction:G,dist:j,distance:v,div:Z,divide:h,dot:N,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,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),l=o*(3-2*i);return e[0]=t[0]*a+n[0]*u+r[0]*c+s[0]*l,e[1]=t[1]*a+n[1]*u+r[1]*c+s[1]*l,e[2]=t[2]*a+n[2]*u+r[2]*c+s[2]*l,e},inverse:_,len:B,length:i,lerp:b,max:g,min:p,mul:q,multiply:l,negate:P,normalize:w,random:function(e,t=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:d,scaleAndAdd:y,set:a,sign:m,sqrDist:z,sqrLen:Y,squaredDistance:x,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:T,subtract:c,transformMat3:I,transformMat4:C,transformQuat:A},Symbol.toStringTag,{value:"Module"}))},39663(e,t,n){n.d(t,{e:()=>f,g:()=>m,l:()=>h});var r=n(86211),s=n(35223),i=n(5808);let o,a,u,c;function l(){return!!o&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);o=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(o(e),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},48265(e,t,n){n.d(t,{c:()=>u,e:()=>o});var r=n(15546),s=n(78125);const i=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function o(e){const t=i.execute((0,s.fromGeometry)(e),null);return(0,s.toPoint)(t,(0,s.getSpatialReference)(e))}const a=i.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>l,pO:()=>m,w5:()=>c});var r=n(34727),s=n(86211),i=n(73941),o=n(79258),a=n(34403),u=n(21325);const c={2:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:b},5:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:b},7:{5:null,7:m,9:null,10:m,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:x,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 s=e[t]/E,i=D-2*Math.atan(Math.exp(-e[t+1]/E)),o=E+(e[t+2]??0),a=Math.cos(i)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:m,11:function(e,t,n,r){p(e,t,n,r),d(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),b(n,r,n,r)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,n,r){C(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),d(n,r,n,r)},2:C,4:m},1:{5:S,7:null,9:null,10:S,1:m,6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){S(e,t,n,r),d(n,r,n,r)},2:S,4:function(e,t,n,r){S(e,t,n,r),b(n,r,n,r)}},6:{5:null,7:N,9:null,10:N,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:P,6:M,8:x,0:null,3:g,11:d,2:m,4:b},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),g(n,r,n,r)},11:m,2:y,4:function(e,t,n,r){y(e,t,n,r),b(n,r,n,r)}}};function l(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(I.source.spatialReference===e&&I.dest.spatialReference===t)return I;const n=f(e,I.source),r=f(t,I.dest);return 0===n&&0===r?(0,u.aI)(e,t)?I.projector=m:I.projector=null:I.projector=c[n][r],I}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,s.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,u.oT)(e)?t.spatialReferenceId=2:(0,u.K8)(e)?t.spatialReferenceId=3:(0,u.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(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]=R*(e[t]/E),n[r+1]=R*(D-2*Math.atan(Math.exp(-e[t+1]/E))),n[r+2]=e[t+2]??0}function g(e,t,n,s){!function(e,t,n,s,i){const o=.4999999*Math.PI,a=(0,r.qE)(A*e[t+1],-o,o),u=Math.sin(a);n[s++]=A*e[t]*i.radius,n[s++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[s]=e[t+2]??0}(e,t,n,s,o.$O)}function d(e,t,n,r){n[r]=e[t]*O,n[r+1]=e[t+1]*O,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function v(e,t,n,r,s){const i=s+(e[t+2]??0),o=A*e[t],a=A*e[t+1],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i}function x(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){v(e,t,n,r,o.sH.radius)}function P(e,t,n,r){v(e,t,n,r,o.$O.radius)}function _(e,t,n,s,i){const o=e[t],a=e[t+1],u=e[t+2]??0,c=Math.sqrt(o*o+a*a+u*u),l=(0,r.YN)(u/(0===c?1:c)),h=Math.atan2(a,o);n[s++]=R*h,n[s++]=R*l,n[s]=c-i}function w(e,t,n,r){_(e,t,n,r,o.Sw.radius)}function N(e,t,n,r){_(e,t,n,r,o.sH.radius)}function S(e,t,n,r){_(e,t,n,r,o.$O.radius)}function b(e,t,n,r){!function(e,t,n,r,s){const i=A*e[t],o=A*e[t+1],a=e[t+2]??0,u=Math.sin(o),c=Math.cos(o),l=s.radius/Math.sqrt(1-s.eccentricitySquared*u*u);n[r++]=(l+a)*c*Math.cos(i),n[r++]=(l+a)*c*Math.sin(i),n[r++]=(l*(1-s.eccentricitySquared)+a)*u}(e,t,n,r,o.$O)}function C(e,t,n,r){const s=a.TP,i=e[t],u=e[t+1],c=e[t+2]??0;let l,h,f,m,p,g,d,y,v,x,M,P,_,w,N,S,b,C,I,A,D;l=Math.abs(c),h=i*i+u*u,f=Math.sqrt(h),m=h+c*c,p=Math.sqrt(m),A=Math.atan2(u,i),g=c*c/m,d=h/m,w=s.a2/p,N=s.a3-s.a4/p,d>.3?(y=l/p*(1+d*(s.a1+w+g*N)/p),I=Math.asin(y),x=y*y,v=Math.sqrt(1-x)):(v=f/p*(1-g*(s.a5-w-d*N)/p),I=Math.acos(v),x=1-v*v,y=Math.sqrt(x)),M=1-o.$O.eccentricitySquared*x,P=o.$O.radius/Math.sqrt(M),_=s.a6*P,w=f-P*v,N=l-_*y,b=v*w+y*N,S=v*N-y*w,C=S/(_/M+b),I+=C,D=b+S*C/2,c<0&&(I=-I),n[r++]=R*A,n[r++]=R*I,n[r]=D}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},A=(0,r.kU)(1),R=(0,r.KJ)(1),D=.5*Math.PI,E=o.$O.radius,O=E*Math.PI/180,G=180/(E*Math.PI)},49590(e,t,n){n.d(t,{e:()=>f,g:()=>m,l:()=>h});var r=n(86211),s=n(86742),i=n(5808);let o,a,u,c;function l(){return!!o&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);o=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(o(e),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"square-meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function a(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>d,Cw:()=>p,JP:()=>g,Un:()=>m,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0],m=u(),p=c(),g=l(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:d,ZEROS:f,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:u,unitX:c,unitY:l,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function u(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>c,Bi:()=>a,Pv:()=>l,Rg:()=>o,U9:()=>s,W0:()=>h,ZC:()=>r,fT:()=>i,uW:()=>u})},61691(e,t,n){n.d(t,{G:()=>r});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},65708(e,t,n){n.d(t,{a:()=>o,e:()=>i});var r=n(86211),s=n(78125);function i(e,t={}){const{unit:n}=t;let i=(0,s.fromGeometry)(e).calculateArea2D();if(i&&n){const t=(0,s.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const o=(0,r.B5)(t);o!==n&&(o?i=(0,r.oU)(i,o,n):(i=Math.sqrt(i),i*=(0,r.GA)(t),i**=2,i=(0,r.oU)(i,"square-meters",n)))}return i}const o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}))},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),s=n(91218),i=n(9762);function o(e,t,n,r){if((0,s.canProjectWithoutEngine)(e.spatialReference,n))return a[0]=e.x,a[1]=e.y,a[2]=e.z??0,(0,i.projectBuffer)(a,e.spatialReference,0,t,n,0);const o=(0,s.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const a=(0,r.vt)()},69396(e,t,n){n.r(t),n.d(t,{area2D:()=>T,areaHorizontal:()=>L,autoArea2D:()=>B,autoDistance2DBetweenPoints:()=>V,autoLength2D:()=>Y,autoSize2D:()=>F,distance2DBetweenPoints:()=>z,geodeticArea:()=>I,geodeticDistanceBetweenPoints:()=>G,geodeticLength:()=>O,length2D:()=>j,preloadGeodetic:()=>A});var r=n(17799),s=n(86211),i=n(35522),o=n(51850),a=n(73941),u=n(86738),c=n(39829),l=n(82799),h=n(91218),f=n(16930),m=n(98764),p=n(65708),g=n(48265),d=n(16346),y=n(49590),v=n(11918),x=n(39663),M=n(7817),P=n(10222),_=n(27993);function w(e,t,n,r,s){(0,i.C)(N,e),(0,i.WQ)(S,e,t),(0,_.F)(N,n,N,s),(0,_.F)(S,n,S,s),(0,i.Re)(r,S,N),(0,i.S8)(r,r)}const N=(0,o.vt)(),S=(0,o.vt)();var b=n(21325),C=n(32728);async function I({geometryJSON:e,options:t}){await Promise.allSettled([(0,y.l)(),t?.returnLength?(0,x.l)():void 0]);const n=R(e,t),i=t?.unit??"square-meters",o=(0,P.e)(n)??n,a=(0,y.e)(o,{unit:i,...t}),u=(0,r.gT)(a,i),c=t?.lengthUnit??(0,s.Bd)(i);return{area:u,centroid:t?.returnCentroid?D(o).toJSON():void 0,length:t?.returnLength?await E(o,{unit:c}):void 0}}function A(){(0,y.l)(),(0,x.l)(),(0,v.load)()}function R(e,t){const n="rings"in e?c.A.fromJSON(e):l.A.fromJSON(e);if(t?.stagedPoint){const e=u.A.fromJSON(t.stagedPoint),r=("rings"in n?n.rings:n.paths).at(-1);if(r){const{x:t,y:s,z:i,m:o}=e,a=n.hasZ&&n.hasM?[t,s,i??0,o??0]:n.hasZ?[t,s,i??0]:n.hasM?[t,s,o??0]:[t,s];r.push(a)}}return n}function D(e){return(0,g.e)(e)}async function E(e,t){await(0,x.l)();const n=t?.unit??"meters";return(0,r.d_)((0,x.e)(e,{...t,unit:n}),n)}function O({geometryJSON:e,options:t}){return E(R(e,t),t)}async function G({geometry1JSON:e,geometry2JSON:t,options:n}){await(0,v.load)();const s=u.A.fromJSON(e),i=u.A.fromJSON(t),o=n?.unit??"meters";return(0,r.d_)((0,v.execute)(s,i,{...n,unit:o}),o)}function T({geometryJSON:e,options:t}){return q(R(e,t),t)}function q(e,t){const n=t?.unit??"square-meters",i=t?.lengthUnit??(0,s.Bd)(n),o=(0,P.e)(e)??e,a=(0,p.e)(o,{unit:n,...t});return{area:(0,r.gT)(a,n),centroid:t?.returnCentroid?D(o).toJSON():void 0,length:t?.returnLength?Z(o,{unit:i}):void 0}}function Z(e,t){const n=t?.unit??"meters";return(0,r.d_)((0,M.e)(e,{...t,unit:n}),n)}function j({geometryJSON:e,options:t}){return Z(R(e,t),t)}function z({geometry1JSON:e,geometry2JSON:t,options:n}){const s=u.A.fromJSON(e),i=u.A.fromJSON(t),o=n?.unit??"meters";return(0,r.d_)((0,d.e)(s,i,{...n,unit:o}),o)}async function B(e){return k(e.geometryJSON.spatialReference,I,T)(e)}async function Y(e){return k(e.geometryJSON.spatialReference,O,j)(e)}async function V(e){return k(e.geometry1JSON.spatialReference,G,z)(e)}async function F(e){const t=k(e.topLeftJSON.spatialReference,G,z),{topLeftJSON:n,topRightJSON:s,bottomRightJSON:i,bottomLeftJSON:o,options:a}=e,[u,c,l,h]=await Promise.all([t({geometry1JSON:o,geometry2JSON:i,options:a}),t({geometry1JSON:n,geometry2JSON:s,options:a}),t({geometry1JSON:i,geometry2JSON:s,options:a}),t({geometry1JSON:o,geometry2JSON:n,options:a})]);return{width:(0,r.T9)(u,c),height:(0,r.T9)(h,l)}}function k(e,t,n){switch(function(e){return(0,b.EA)(e)||(0,b.K8)(e)?0:1}(e)){case 0:return t;case 1:return n}}function L(e){const{geometryJSON:t}=e,n=function(e){return e?(0,a.B3)(e)?(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e)||(0,a.jA)(e)||(0,b.aI)(e,m.Y0)?{mode:1,spatialReference:m.Y0}:{mode:0,spatialReference:e}:{mode:1,spatialReference:(0,m.lO)(e)}:null}(t.spatialReference);if(!n)throw new Error("Cannot compute horizontal area without a valid spatial reference.");switch(n.mode){case 0:return T(e);case 1:return function(e,{geometryJSON:t,options:n}){const r=R(t,n),s=$,i=W,o=U,a=(0,b.aI)(r.spatialReference,e.spatialReference)?r.clone():(0,h.projectWithoutEngine)(r,r.spatialReference,e.spatialReference);if(!a)throw new Error(`Cannot project geometry from ${r.spatialReference?.wkid??"unknown"} to ${e.spatialReference.wkid}.`);J(a,s,i,o);const{area:u,centroid:c,length:l}=q(a,n);return{area:u,centroid:X(c,s,i,o,e.spatialReference,r.spatialReference),length:l}}(n,e)}}function X(e,t,n,r,s,o){if(!e)return e;(0,i.hs)(n,n,e.x),(0,i.hs)(r,r,e.y);const a=K;return(0,i.WQ)(a,n,r),(0,i.WQ)(a,a,t),e.x=a[0],e.y=a[1],e.z=a[2],e.spatialReference=s,(0,h.projectWithoutEngine)(e,e.spatialReference,o)?.toJSON()??void 0}function J(e,t,n,r){let s=0;(0,i.hZ)(t,0,0,0);for(const n of e.rings)for(const e of n)t[0]+=e[0],t[1]+=e[1],t[2]+=e[2],s++;(0,i.hs)(t,t,1/s);const o=H;(0,i.S8)(o,t);const a=Q,u=Math.atan2(o[1],o[0]);(0,i.hZ)(a,-Math.sin(u),Math.cos(u),0),(0,b.aI)(e.spatialReference,m.Y0)&&(w(t,o,m.GD,o,e.spatialReference),w(t,a,m.GD,a,e.spatialReference)),(0,C.YH)(a,o,n),(0,i.$A)(r,n,o);const c=K;for(const s of e.rings)for(const e of s){(0,i.hZ)(c,e[0],e[1],e[2]),(0,i.Re)(c,c,t);const s=(0,i.Om)(n,c),o=(0,i.Om)(r,c);e[0]=s,e[1]=o}e.hasZ=!1,e.spatialReference=f.A.WebMercator}const W=(0,o.vt)(),U=(0,o.vt)(),$=(0,o.vt)(),K=(0,o.vt)(),H=(0,o.vt)(),Q=(0,o.vt)()},69397(e,t,n){n.d(t,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,lM:()=>i,qK:()=>l});var r=n(34275);const s=16;function i(e){if(!e)return 0;let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=a(e[n],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return c(e,8);let n=h;for(let r=0;r<t;r++)n+=a(e[r]);return n}(e);let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=a(e[n]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):l;case"string":return function(e){return 32+e.length}(e);case"number":return s;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+f:Array.isArray(t)?c(t,s):0:0),0)}function c(e,t){return h+e.length*t}const l=32,h=16,f=145,m=64},70328(e,t,n){n.d(t,{BI:()=>x,DC:()=>h,Ej:()=>m,Ie:()=>y,Jt:()=>v,Ne:()=>p,RF:()=>l,aI:()=>P,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>f,is:()=>M,qv:()=>_,vI:()=>g,vY:()=>a,v_:()=>w,vt:()=>i,w1:()=>c});var r=n(5443),s=(n(19419),n(4197));function i(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,s,o,a=i()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(e,t=i()){return function(e,t,n,r=i()){return d(r,_),function(e,t,n=0,r=t.length/3){let s=e[0],i=e[1],o=e[2],a=e[3],u=e[4],c=e[5];for(let e=0;e<r;e++)s=Math.min(s,t[n+3*e]),i=Math.min(i,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),c=Math.max(c,t[n+3*e+2]);e[0]=s,e[1]=i,e[2]=o,e[3]=a,e[4]=u,e[5]=c}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,s.jh)(24)){const[n,r,i,o,a,u]=e;return t[0]=n,t[1]=r,t[2]=i,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=a,t[8]=i,t[9]=n,t[10]=a,t[11]=u,t[12]=o,t[13]=r,t[14]=i,t[15]=o,t[16]=r,t[17]=u,t[18]=o,t[19]=a,t[20]=i,t[21]=o,t[22]=a,t[23]=u,t}function c(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 l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(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 f(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 m(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 g(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 d(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?d(e,_):i(_)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function x(e,t,n,r,s){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=s,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function P(e,t,n){if(null==e||null==t)return e===t;if(!M(e)||!M(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 _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];i()},76061(e,t,n){n.d(t,{S:()=>s});var r=n(61691);class s extends r.G{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(e,t,n){n.r(t),n.d(t,{fromExtent:()=>d,fromGeometry:()=>g,fromMultipoint:()=>y,fromPoint:()=>v,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>P,fromSpatialReference:()=>_,getSpatialReference:()=>p,toExtent:()=>N,toGeometry:()=>w,toMultipoint:()=>S,toPoint:()=>b,toPolygon:()=>C,toPolyline:()=>I});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),l=n(39829),h=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function g(e){switch(e.type){case"point":return v(e);case"multipoint":return y(e);case"polyline":return M(e);case"polygon":return x(e);case"extent":return d(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(m)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function y(e){if(!e.getCacheValue(m)){const t=new o.M,n=new i.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,i=r.length;e<i;e++){const i=r[e];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),t.add(n)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function v(e){if(!e.getCacheValue(m)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function x(e){if(!e.getCacheValue(m)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,i=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,i=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function P(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function _(e){return(0,f.fromSpatialReference)(e)}function w(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return b(e,t);case s.G.enumEnvelope:return N(e,t);case s.G.enumMultiPoint:return S(e,t);case s.G.enumPolyline:return I(e,t);case s.G.enumPolygon:return C(e,t)}return null}function N(e,t){if(e.isEmpty())return null;const n=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(2,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(1,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(m,e),n}function S(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:t});return c.setCacheValue(m,e),c}function b(e,t){if(e instanceof r.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(m,e),n}function C(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}function I(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}},81150(e,t,n){n.d(t,{Pg:()=>u,fz:()=>c,g7:()=>o,zo:()=>a});var r=n(76061),s=(n(55537),n(88885),n(15756));n(95213);const i=new s.f;function o(e,t,n){return i.execute(e,t,n,null)}function a(e,t,n){const s=i.executeMany(new r.S(e),t,n,null);return Array.from(s)}function u(e,t,n){return i.isSimpleAsFeature(e,t,n,null,null)}function c(){return i.supportsCurves()}},86738(e,t,n){n.d(t,{A:()=>x});var r=n(5482),s=n(69622),i=n(53966),o=n(91429),a=n(56507),u=n(91075),c=n(16930),l=n(21325),h=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,l.K8)(n))return(0,h.tD)(e,t,r);if((0,l.EA)(n))return r[0]=e,r[1]=t,r}return null}const m=[0,0];var p,g=n(43937),d=n(36005);const y=[0,0];function v(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let x=p=class extends u.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",s.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,s){let o;if(Array.isArray(e))o=e,s=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(s=o.spatialReference)&&"esri.geometry.SpatialReference"!==s.declaredClass&&(s=new c.A(s)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&s?.isWebMercator){const n=(0,h.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else v(n)?(s=n,n=null):v(r)&&(s=r,r=null);const a={x:e,y:t};return null==a.x&&null!=a.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=s&&(a.spatialReference=s),null!=n&&(a.z=n),null!=r&&(a.m=r),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return e=this,f(e,m)?.[1]??null;var e}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return e=this,f(e,m)?.[0]??null;var e}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,h.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new p;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return p.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:s,spatialReference:i}=this,{z:o,m:a}=e;let{x:u,y:c,spatialReference:l}=e;if(!i.equals(l))if(i.isWebMercator&&l.isWGS84)[u,c]=(0,h.je)(u,c),l=i;else{if(!i.isWGS84||!l.isWebMercator)return!1;[u,c]=(0,h.tD)(u,c),l=i}return t===u&&n===c&&r===o&&s===a&&i.wkid===l.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,l.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,s=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/s),t-=i*s):t<n&&(i=Math.ceil(Math.abs(t-n)/s),t+=i*s),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,s=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+s*s)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],x.prototype,"x",void 0),(0,r.Cg)([(0,g.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,d.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=p=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},86742(e,t,n){n.d(t,{Hh:()=>o,fz:()=>u,g7:()=>a,s1:()=>i});var r=n(83290);let s;function i(){return!!s&&(0,r.i)()}async function o(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6859),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticArea,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},87992(e,t,n){n.d(t,{JR:()=>S,ME:()=>_,MY:()=>b,NO:()=>P,Nh:()=>N,V2:()=>D,_s:()=>E,e6:()=>G,gh:()=>w,tr:()=>q,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),l=n(50954),h=n(79567),f=n(52006),m=n(49663),p=n(46068),g=n(92722);class d{constructor({type:e,spatialReference:t,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:l,segmentParams:h,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=l,this.segmentParams=h,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:e,segmentCountArc:t,segmentCountBezier:n}=this;return e&&e-t-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function e(e){return e?s.Ul+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){const{type:e,vertexCount:t,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=D(e,t,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:l}=this;if(a.vertexXY.set(u.subarray(0,2*t),0),a.vertexZ?.set(c.subarray(0,t),0),a.vertexM?.set(l.subarray(0,t),0),this.isMultipart()){const{partOffsets:e,partFlags:t}=this;a.partFlags.set(t.subarray(0,n+1)),a.partOffsets.set(e.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:e,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(e.subarray(0,t),0),a.segmentIndices.set(n.subarray(0,t),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,u.aI)(this.spatialReference,e.spatialReference))return!1;if(this.vertexCount!==e.vertexCount||this.partCount!==e.partCount)return!1;if(this.hasZ!==e.hasZ||this.hasM!==e.hasM)return!1;if(this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;const n=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,n)=>Math.abs(e-n)>t||isNaN(e)!==isNaN(n);for(let t=0;t<this.vertexCount;++t)if(n(this.vertexXY[2*t],e.vertexXY[2*t])||n(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(n(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(e){this.geometry=e,this.value=new v(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(e){this.geometry=e,this.index=-1,this._readVertex=A(e),this._segments=new x(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class x{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===e.geometry.type,this.value=new M(e.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(e)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;const t=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){const e=t[n++],r=t[n++],s=t[n++],i=t[n++];return{b:[this.end,[e,r],[s,i]]}}const r=t[n++],s=t[n++],i=t[n++],o=t[n++],a=t[n++],u=t[n++];n++,n++;const c=t[n++],l=t[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[c,l]]};const h=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],h,f,o,s,i]}}}function P(e,t){const n={stack:[],error:void 0,hasError:!1};try{return t??=(0,o.Ie)(),(0,r.mS)(n,new C(e,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(t,function(e){let t;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=e,u=I(e);if(e.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new C(e,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const t of e.parts){let e=t.startVertex;for(const{curve:n}of t.segments)(0,h.e)(s,e,n),e=(0,f.yP)(n)}const[i,a,c,l]=s;t={xmin:i,ymin:a,xmax:c,ymax:l,spatialReference:u}}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}else{let e,r,i,o;e=r=1/0,i=o=-1/0;for(let t=0;t<n;++t){const n=s[2*t],a=s[2*t+1];e=Math.min(e,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}t={xmin:e,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let e=1/0,n=-1/0;for(const t of i)e=Math.min(e,t),n=Math.max(n,t);t.zmin=e,t.zmax=n}if(a){let e=1/0,n=-1/0;for(const t of a)e=Math.min(e,t),n=Math.max(n,t);t.mmin=e,t.mmax=n}return t}(e)),t}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}function _(e){let t,n,r;if((0,a.fT)(e)){r="point";const{x:s,y:i,z:o,m:a}=e,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],t=1}else(0,a.U9)(e)?(r="multipoint",n=[e.points],t=e.points.length):(0,a.Rg)(e)?(r="polyline",n=e.curvePaths??e.paths,t=n.reduce((e,t)=>e+t.length,0)):(r="polygon",n=e.curveRings??e.rings,t=n.reduce((e,t)=>(0===t.length||(e+=t.length,R(t[0],(0,f.yP)(t.at(-1)))&&--e),e),0));const s=D(r,t,r.includes("point")?0:n.length,(0,a.Pv)(e),(0,a.W0)(e),(0,f.Ed)(e)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:c,vertexM:l}=s;function h(e){u[2*p]=e[0],u[2*p+1]=e[1],i&&(c[p]=e[2]),o&&(l[p]=e[m]),++p}s.spatialReference=e.spatialReference??void 0;const m=s.hasZ?3:2;let p=0;if(!s.isMultipart()){if(!i&&!o){for(const[e,t]of n[0])u[2*p]=e,u[2*p+1]=t,++p;return s}for(const e of n[0])h(e);return s}const g="polygon"===r,{partOffsets:d}=s;let y=0;if(!s.hasCurves()){for(const e of n){if(d[y++]=p,0===e.length)continue;let t=e.length;if(g&&R(e[0],e.at(-1))&&--t,i||o)for(let n=0;n<t;++n)h(e[n]);else for(let n=0;n<t;++n){const[t,r]=e[n];u[2*p]=t,u[2*p+1]=r,++p}}return d[y]=p,s}function v(e){const t=x+e;if(t<=(s.segmentParams?.length??0))return;let n=t*Z;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let x=0;for(const e of n){if(s.partOffsets[y++]=p,0===e.length)continue;const t=e[0];let n=t;for(let t=1;t<e.length;++t){const r=e[t];h(n);const i=p-1;(0,f.wY)(r)?(v(10),++s.segmentCountArc,x=E(n,r,s,i,x),n=r.a[0]):(0,f.DA)(r)?(v(10),++s.segmentCountArc,x=O(n,r,s,i,x),n=r.a[0]):(0,f.aO)(r)?(v(10),++s.segmentCountArc,x=G(n,r,s,i,x),n=r.c[0]):(0,f.n1)(r)?(v(4),++s.segmentCountBezier,x=q(0,r,s,i,x),n=r.b[0]):n=r}g&&R(t,n)||h(n)}return s.partOffsets[y]=p,s}function w(e){const t=A(e),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=e,o=I(e);if("point"===e.type){const[t,n]=e.vertexXY,r=e.vertexZ?.[0],s=e.vertexM?.[0];return{x:t,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===e.type){const e=[];for(;a<n;)e.push(t(a++));return{points:e,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===e.type;if(!e.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=e.partOffsets[s+1],i=new Array;for(;a<r;)i.push(t(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const c=new Array;for(const{segments:t,startVertex:n}of e.parts){const e=[n];for(const{curve:n}of t)e.push(n);c.push(e)}return u?{rings:[],curveRings:c,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:i,spatialReference:o}}function N(e,{lengths:t,coords:n,hasZ:r,hasM:s},i){const o=e.includes("point")?0:t.length,a="polygon"===e,u="point"===e?1:t.reduce((e,t)=>e+t,0)-(a?o:0);r??=!1,s??=!1;const c=D(e,u,o,r,s,!1,0,0);if(c.spatialReference=i??void 0,!c.isMultipart()){for(let e=0,t=0;e<u;++e)c.vertexXY[2*e]=n[t++],c.vertexXY[2*e+1]=n[t++],r&&(c.vertexZ[e]=n[t++]),s&&(c.vertexM[e]=n[t++]);return c}const l=2+Number(r)+Number(s);let h=0,f=0;c.partOffsets[0]=0;for(const e of t){const t=c.partOffsets[f],i=t+e-Number(a);c.partOffsets[++f]=i;for(let e=t;e<i;++e)c.vertexXY[2*e]=n[h++],c.vertexXY[2*e+1]=n[h++],r&&(c.vertexZ[e]=n[h++]),s&&(c.vertexM[e]=n[h++]);a&&(h+=l)}return c}function S({type:e,vertexCount:t,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const c=new g.A([],[],a,u);i=Math.max(i,1);const l="polygon"===e;let h=0;for(let e=0;e<i;++e){const i=o?.[e+1]??t,f=c.coords.length;for(let e=h;e<i;++e)c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e]);if(l){const e=h;c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e])}c.lengths.push((c.coords.length-f)/c.stride),h=i}return"point"===e&&(c.lengths.length=0),c}function b(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;const t=e.getText()||void 0,n=e.isCustomWkid()?0:e.getOldID();if(n<=0)return{wkt:t};let r=e.getLatestID();(r<=0||r===n)&&(r=void 0);const s=e.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:t};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:t};let o=e.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:t,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(e.getSpatialReference()),e=e.getGeometry()),new d({...e.toFlatGeometry(),spatialReference:t})}class C{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(const n of t)e[n]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function I({spatialReference:e}){return e instanceof i.A?e.toJSON():e}function A({vertexXY:e,vertexZ:t,vertexM:n}){return t?n?r=>[e[2*r],e[2*r+1],t[r],n[r]]:n=>[e[2*n],e[2*n+1],t[n]]:n?t=>[e[2*t],e[2*t+1],n[t]]:t=>[e[2*t],e[2*t+1]]}function R(e,t){return e.every((e,n)=>e===t[n])}function D(e,t,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:e,vertexCount:t,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*t;r&&(c+=Float64Array.BYTES_PER_ELEMENT*t),s&&(c+=Float64Array.BYTES_PER_ELEMENT*t),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(c+=t*Int8Array.BYTES_PER_ELEMENT,c+=t*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(c);let h=0;return u.vertexXY=new Float64Array(l,h,2*t),h+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(l,h,t),h+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(l,h,t),h+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(l,h,u.segmentParamCount),h+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,h,t),u.segmentIndices.fill(j),h+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,h,n+1),h+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,h,n+1),h+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(l,h,t),u.segmentFlags.fill(1),h+=u.segmentFlags.byteLength),u}function E(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,c],l,h,f,m,g]=t.a;let d=4;h||(d|=1),l||(d|=2);const y=(0,p.SW)(e,t),[v,x]=(0,p.Uk)(y,.5);return s[o++]=d,s[o++]=m,s[o++]=g,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=v,s[o++]=x,o}function O(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.i)(e,t);return T(a,4,...(0,c.mq)(a,.5),s,o)}function G(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,T((0,l.pM)(e,t),0,...t.c[1],s,o)}function T(e,t,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:c,radius:l}=e;return u>c||(t|=1),Math.abs(c-u)<=Math.PI||(t|=2),s[i++]=t,s[i++]=l,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=c-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function q(e,{b:[t,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},c,l){return o[c]=2,a[c]=l,u[l++]=n,u[l++]=r,u[l++]=s,u[l++]=i,l}const Z=1.61803,j=-1},91075(e,t,n){n.d(t,{A:()=>u});var r=n(5482),s=n(25482),i=n(91429),o=n(16930),a=n(36005);let u=class extends s.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],u.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],u.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],u.prototype,"readSpatialReference",null),u=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],u)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>X,initializeProjection:()=>W,isEqualBaseGCS:()=>J,isLoaded:()=>E,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>G,load:()=>q,project:()=>Z,projectAsync:()=>L,projectExtent:()=>se,projectMany:()=>j,projectMultipoint:()=>H,projectOrLoad:()=>B,projectOrLoadMany:()=>Y,projectPoint:()=>$,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>U,requiresLoad:()=>T,test:()=>k,tryProject:()=>z,unload:()=>F});var r=n(49186),s=n(74887),i=n(62788),o=n(95488),a=n(51850),u=n(21276),c=n(73941),l=n(5443),h=n(91075),f=n(48526),m=n(86738),p=n(39829),g=n(82799),d=n(16930),y=n(98764),v=n(159),x=n(9762),M=n(49208);function P(e,t,n,r,s,i){return _[0]=e,_[1]=t,_[2]=n,(0,x.projectBuffer)(_,r,0,s,i,0)}const _=(0,a.vt)();var w=n(60408),N=n(21325),S=n(52006);let b=null,C=null,I=null,A=null,R={};const D=new o.I;function E(){return!!(C?.isLoaded()&&I?.isLoaded()&&A?.isLoaded())}function O(){return!!E()||((0,i.gc)(D),q(),!1)}function G(e,t){return!e||!t||X(e,t)||O()}function T(e,t){return!X(e,t)&&!E()}async function q(e){null==b&&(b=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(C=e,C.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(A=e,A.load()))])),await b,(0,s.Te)(e),D.notify()}function Z(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,u.H)(e),j(e,e[0].spatialReference,t,n)):((0,u.f)(e),j([e],e.spatialReference,t,n)[0])}function j(e,t,n,r){if(null==t||null==n)return e;if(X(t,n,r))return e.map(e=>U(e,t,n));if(null==r?.geographicTransformation&&(0,c.jA)(t))return j(e.map(e=>U(e,t,d.A.WGS84)),d.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,c.jA)(n))return j(e,t,d.A.WGS84).map(e=>U(e,d.A.WGS84,n));if(!E())throw new V;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:A.getTransformation(t,n,r.areaOfInterestExtent)||new v.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 s=R[e];s||(s=A.getTransformation(t,n)||new v.A,R[e]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?C.executeMany(e,n,r):I.executeMany(e,n,r)}function z(e,t,n){try{return Z(e,t,n)}catch(e){return null}}function B(e,t){const n=Y([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 Y(e,t,n){if(!E())for(const n of e)if(null!=n&&!(0,N.aI)(n.spatialReference,t)&&(0,N.fn)(n.spatialReference)&&(0,N.fn)(t)&&!X(n.spatialReference,t))return(0,i.gc)(D),{pending:q(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,N.aI)(e.spatialReference,t)?e:(0,N.fn)(e.spatialReference)&&(0,N.fn)(t)?Z(e,t,n):null)}}class V extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function F(){b=null,C=null,I=null,A=null,R={}}const k={get loadPromise(){return b}};async function L(e,t,n){if((0,s.Te)(n),!e)return e;const r=Y(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,s.Te)(n),L(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function X(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,N.aI)(e,t)||(0,N.fn)(e)&&(0,N.fn)(t)&&!!(0,M.jd)(e,t))}function J(e,t){if((0,N.aI)(e,t))return!0;if(!(0,N.fn)(e)||!(0,N.fn)(t))return!1;const n=(0,N.oT)(e)||(0,N.K8)(e)||(0,N.x1)(e),r=(0,N.oT)(t)||(0,N.K8)(t)||(0,N.x1)(t);return n&&r}async function W(e,t,n,r){if(E())return(0,s.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:s}of e)if(t&&n&&!X(t,n,s))return q(r)}else if(e&&t&&!X(e,t,n))return q(r);return(0,s.NO)(r)}function U(e,t,n){return e?(0,w.fT)(e)?K(e,t,new m.A,n,0):(0,w.ZC)(e)?ie(e,t,new l.A,n,0):(0,w.Bi)(e)?re(e,t,new p.A,n,0):(0,w.Rg)(e)?te(e,t,new g.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function $(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,n,r)}function K(e,t,n,r,s){ce[0]=e.x,ce[1]=e.y;const i=e.z;return ce[2]=void 0!==i?i:s,(0,x.projectBuffer)(ce,t,0,ce,r,0)?(n.x=ce[0],n.y=ce[1],n.spatialReference=r,void 0!==i||(0,c.xP)(r)?(n.z=ce[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 H(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,s){const{points:i,hasZ:o,hasM:a}=e,u=[],c=i.length,l=[];for(const e of i)l.push(e[0],e[1],o?e[2]:s);if(!(0,x.projectBuffer)(l,t,0,l,r,0,c))return null;const h=ue(o,r);for(let e=0;e<c;++e){const t=3*e,n=l[t],r=l[t+1];h&&a?u.push([n,r,l[t+2],i[e][3]]):h?u.push([n,r,l[t+2]]):a?u.push([n,r,i[e][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=o,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,s){const{curvePaths:i,paths:o,hasZ:a,hasM:u}=e;if(!(i?ae(i,a??!1,u??!1,t,n.curvePaths=[],r,s):oe(o,a??!1,u??!1,t,n.paths,r,s)))return null;const c=ue(a,r);return n.spatialReference=r,n.hasZ=c,n.hasM=u,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,s){const{curveRings:i,rings:o,hasZ:a,hasM:u}=e;return(i?ae(i,a??!1,u??!1,t,n.curveRings=[],r,s):oe(o,a??!1,u??!1,t,n.rings,r,s))?(n.spatialReference=r,n.hasZ=ue(a,r),n.hasM=u,n):null}function se(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,s){const{xmin:i,ymin:o,xmax:a,ymax:u,hasZ:c,hasM:l}=e;if(!P(i,o,c?e.zmin:s,t,ce,r))return null;const h=ue(c,r);return n.xmin=ce[0],n.ymin=ce[1],h&&(n.zmin=ce[2]),P(a,u,c?e.zmax:s,t,ce,r)?(n.xmax=ce[0],n.ymax=ce[1],h&&(n.zmax=ce[2]),l&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,s,i,o=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:o);if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,i);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);l||t.pop(),n&&t.push(r[c]),e.push(t)}s.push(e)}return!0}function ae(e,t,n,r,s,i,o=0){const a=new Array;for(const n of e)for(const e of n){if((0,S.FG)(e))return!1;if((0,S.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,S.n1)(e)){const[n,r,s]=e.b;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,s[0],s[1],o);continue}const n=e;a.push(n[0],n[1],t?n[2]:o)}if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,i);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);if(l||t.pop(),n&&t.push((0,S.yP)(r)[c]),(0,S.FG)(r))return!1;if((0,S.aO)(r)){const n=a[u++],r=a[u++];++u,e.push({c:[t,[n,r]]});continue}if((0,S.n1)(r)){const n=a[u++],r=a[u++];++u;const s=a[u++],i=a[u++];++u,e.push({b:[t,[n,r],[s,i]]});continue}e.push(t)}s.push(e)}return!0}function ue(e,t){return e||(0,c.xP)(t)||(0,N.aI)(t,y.Y0)}const ce=(0,a.vt)()},92722(e,t,n){n.d(t,{A:()=>s});var r=n(69397);class s{constructor(e=[],t=[],n=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:n,hasM:r}){return new s(e,t,n||!1,r||!1)}static fromRect([e,t,n,r]){const i=n-e,o=r-t;return new s([5],[e,t,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*t],i=this.coords[r*t+1];for(let o=1;o<n;o+=1){const n=r*(t+o),a=this.coords[n],u=this.coords[n+1];e+=-.5*(a-s)*(u+i),s=a,i=u}t+=n}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(t+s);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){const e=this.clone(),{coords:t,lengths:n}=e;let r=0;const{stride:s}=this;for(const e of n){for(let n=1;n<e;n++){const e=s*(r+n);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}r+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return e?(e.set(i),new s(t,e)):new s(t,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const n=new Array(t*e);for(let t=0,r=0;t<n.length;t+=e)n[r++]=this.coords[t],n[r++]=this.coords[t+1];return new s(this.lengths,n,!1,!1)}}},95488(e,t,n){n.d(t,{I:()=>s});var r=n(11406);class s extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>c,lO:()=>l});var r=n(73941),s=n(16930),i=n(21325);const o=new s.A(r.fv),a=new s.A(r.FY),u=new s.A(r.LJ),c=new s.A(r.Ro);function l(e){const t=h.get(e);if(t)return t;let n=o;if(e)if(e===a)n=a;else if(e===u)n=u;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=a:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=u);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=a:e===m&&(n=u)}}}return h.set(e,n),n}const h=new Map,f=a.wkt.toUpperCase(),m=u.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>a});var r,s=n(5482),i=n(69622),o=n(91429);let a=r=class extends i.A{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,s.Cg)([(0,o.MZ)()],a.prototype,"isInverse",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=r=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);