@arcgis/core 4.34.0-next.56 → 4.34.0-next.58

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 (365) hide show
  1. package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +4 -0
  2. package/analysis/VolumeMeasurement/{CutFillOptions.js → VolumeMeasurementCutFillOptions.js} +1 -1
  3. package/analysis/VolumeMeasurementAnalysis.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/00ee6f84119bc55a222f.js +1 -0
  6. package/assets/esri/core/workers/chunks/02a31483e09652a1a1a2.js +1 -0
  7. package/assets/esri/core/workers/chunks/047d6f7b1677cc7ab271.js +1 -0
  8. package/assets/esri/core/workers/chunks/04e652df94790f5ca08a.js +1 -0
  9. package/assets/esri/core/workers/chunks/06b65105b15abf4d0fbf.js +1 -0
  10. package/assets/esri/core/workers/chunks/0b53bc76d38e85902748.js +1 -0
  11. package/assets/esri/core/workers/chunks/0d946a226b846b3c0849.js +1 -0
  12. package/assets/esri/core/workers/chunks/{9b5e04d87116ce2b68b2.js → 0e4976f92b66793137c4.js} +1 -1
  13. package/assets/esri/core/workers/chunks/0fb2dcbd54175e75d94d.js +971 -0
  14. package/assets/esri/core/workers/chunks/14c6461ffd36319e1d74.js +1 -0
  15. package/assets/esri/core/workers/chunks/1612d1c1d78c122dfef6.js +1 -0
  16. package/assets/esri/core/workers/chunks/17abab49db1813d3e192.js +1 -0
  17. package/assets/esri/core/workers/chunks/182383fd00008606bfaa.js +1 -0
  18. package/assets/esri/core/workers/chunks/18f878ec695617650a96.js +1 -0
  19. package/assets/esri/core/workers/chunks/19e5e011f929b6b940fe.js +1 -0
  20. package/assets/esri/core/workers/chunks/1c61cf137a989bc52bb8.js +1 -0
  21. package/assets/esri/core/workers/chunks/{dd2b5f115d156b5b212e.js → 22ec2b0a853911692dc8.js} +1 -1
  22. package/assets/esri/core/workers/chunks/232c76f122b1f519e099.js +1 -0
  23. package/assets/esri/core/workers/chunks/26975e5b3fb7f2ed45a4.js +1 -0
  24. package/assets/esri/core/workers/chunks/27334cda1b877abcba1b.js +1 -0
  25. package/assets/esri/core/workers/chunks/{d0124b0dd62b331afe58.js → 2cd27b06226e30aec5da.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{19391d60c76a1dc7c262.js → 2f7e192ee2066f863e1d.js} +1 -1
  27. package/assets/esri/core/workers/chunks/327b0da744426ce40e60.js +1 -0
  28. package/assets/esri/core/workers/chunks/373c9e17e2834dfc1839.js +1 -0
  29. package/assets/esri/core/workers/chunks/{722931d1a60be461e521.js → 3e7c9a43e52ed6a1b018.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{10b46438885916d18425.js → 3f634580055b30dbfc8e.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{0e8d3d38e9b1f6abf6f2.js → 3fd09a7c05583a57a317.js} +1 -1
  32. package/assets/esri/core/workers/chunks/4050ddb580d364d9e205.js +353 -0
  33. package/assets/esri/core/workers/chunks/462b30fc40a5f337ba10.js +1 -0
  34. package/assets/esri/core/workers/chunks/4753793daf0b7ff8b5ff.js +1 -0
  35. package/assets/esri/core/workers/chunks/497214e9e82b936fc94e.js +1 -0
  36. package/assets/esri/core/workers/chunks/4ac127cefa3aa5e93e78.js +1 -0
  37. package/assets/esri/core/workers/chunks/4b1daffa97fd90a554a0.js +1 -0
  38. package/assets/esri/core/workers/chunks/4d7fcec769369c576847.js +1 -0
  39. package/assets/esri/core/workers/chunks/516864fb68025acc7db6.js +1 -0
  40. package/assets/esri/core/workers/chunks/54b43876ae6fb078eb38.js +1 -0
  41. package/assets/esri/core/workers/chunks/{5c556468e2a598ab793a.js → 55bb794bcdd9cc788322.js} +1 -1
  42. package/assets/esri/core/workers/chunks/56b4dcd04c844eaacd60.js +1 -0
  43. package/assets/esri/core/workers/chunks/5787101b2b814c5d2439.js +33 -0
  44. package/assets/esri/core/workers/chunks/5b7e5ec6aea1f7f9b005.js +1 -0
  45. package/assets/esri/core/workers/chunks/{ff42b24b48019a03d841.js → 5cb238318a24b70d5ac3.js} +1 -1
  46. package/assets/esri/core/workers/chunks/5cfec58c7c31e6d8c6ea.js +1 -0
  47. package/assets/esri/core/workers/chunks/5de7c2a80bd9c81cefe2.js +1 -0
  48. package/assets/esri/core/workers/chunks/5e1afea05b624b315d9f.js +1 -0
  49. package/assets/esri/core/workers/chunks/5ed7e139c72cd2b3ddba.js +1 -0
  50. package/assets/esri/core/workers/chunks/5f079be7f322768aef21.js +1 -0
  51. package/assets/esri/core/workers/chunks/6531f33d6710960079e9.js +1 -0
  52. package/assets/esri/core/workers/chunks/{ad93a2621f75270f06cb.js → 69fbe363bb130fdd8146.js} +1 -1
  53. package/assets/esri/core/workers/chunks/700b5a536f97233bc4af.js +1 -0
  54. package/assets/esri/core/workers/chunks/757717416d909059df2f.js +1 -0
  55. package/assets/esri/core/workers/chunks/7597ef10d1699e7088e5.js +1 -0
  56. package/assets/esri/core/workers/chunks/781e424a383c71ca904d.js +1 -0
  57. package/assets/esri/core/workers/chunks/79933271a76a1756584f.js +1 -0
  58. package/assets/esri/core/workers/chunks/{c2f184e9f579152aa29a.js → 7b17f52019762aa21af8.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{6130bc641aa7c1bcaaa8.js → 7c23be93d394f1bee941.js} +1 -1
  60. package/assets/esri/core/workers/chunks/7c86af4f60cea383ed96.js +1 -0
  61. package/assets/esri/core/workers/chunks/7eda1c400658b6a99be8.js +1 -0
  62. package/assets/esri/core/workers/chunks/80bd5988180f4618fd61.js +1 -0
  63. package/assets/esri/core/workers/chunks/{b47688e3263099540873.js → 81e518dd62bd95611d00.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{a778a72456fefdf40115.js → 81eb7785d626aa975033.js} +1 -1
  65. package/assets/esri/core/workers/chunks/8374d87176486c1fc90e.js +1 -0
  66. package/assets/esri/core/workers/chunks/893e5eb5c028c4704317.js +1 -0
  67. package/assets/esri/core/workers/chunks/{6dc0009889f2b7cc8cff.js → 897f9775f06ddbf6486f.js} +1 -1
  68. package/assets/esri/core/workers/chunks/8c0e11f781607239749d.js +1 -0
  69. package/assets/esri/core/workers/chunks/8c2fcfcfbb6b70f7bada.js +1 -0
  70. package/assets/esri/core/workers/chunks/90540fdfb0c5f68aa959.js +1 -0
  71. package/assets/esri/core/workers/chunks/{c7d4c296011c5393bcaa.js → 9275313e0f1f521b2658.js} +1 -1
  72. package/assets/esri/core/workers/chunks/9280edff80fd87860a5e.js +1 -0
  73. package/assets/esri/core/workers/chunks/944d1608f935516951c4.js +1 -0
  74. package/assets/esri/core/workers/chunks/94f1005222bff1870ef1.js +1 -0
  75. package/assets/esri/core/workers/chunks/{e6bf4f3f6868dc9028e3.js → 96102a9296afd1bfe1a9.js} +1 -1
  76. package/assets/esri/core/workers/chunks/977582cb3c8f17a2cb4c.js +1 -0
  77. package/assets/esri/core/workers/chunks/{853b9f29b4d62fa621b9.js → 997a2a1a51039ce7e4e3.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{4e2b125e6e3945985a54.js → 9f93513037a6e87433c4.js} +1 -1
  79. package/assets/esri/core/workers/chunks/a16b471c3706ee37f9b6.js +1 -0
  80. package/assets/esri/core/workers/chunks/a2150baf0661e2f28011.js +1 -0
  81. package/assets/esri/core/workers/chunks/a244afea77127e54dd3a.js +1 -0
  82. package/assets/esri/core/workers/chunks/{ab3c018c406dcd81ef9e.js → a2f4b6d8da93f106852c.js} +1 -1
  83. package/assets/esri/core/workers/chunks/a532614aa65fb52dee7b.js +1 -0
  84. package/assets/esri/core/workers/chunks/{adf11d31f95481f89a55.js → a700f57af6856cb5313c.js} +1 -1
  85. package/assets/esri/core/workers/chunks/ae1cb4c65d72217ae4d4.js +1 -0
  86. package/assets/esri/core/workers/chunks/af5ae7c36e1178077cbc.js +1 -0
  87. package/assets/esri/core/workers/chunks/{97ae2fdb6cb98249f5fa.js → b29144ee58b43f769d9a.js} +1 -1
  88. package/assets/esri/core/workers/chunks/b30de4936caa654d7817.js +1 -0
  89. package/assets/esri/core/workers/chunks/b6c6f82df3b60c2f831f.js +1 -0
  90. package/assets/esri/core/workers/chunks/{faf4002f9547a0cc4e33.js → bafd9b0f6e817252cb31.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{22334a464f798b5279b2.js → bb2ab663e3e5597f2104.js} +1 -1
  92. package/assets/esri/core/workers/chunks/bb67d491f62a5cce96cd.js +1 -0
  93. package/assets/esri/core/workers/chunks/bc9f54a6b577c43189fd.js +1 -0
  94. package/assets/esri/core/workers/chunks/{6fe738748ce837811ff4.js → bd4125d163f372a7e978.js} +1 -1
  95. package/assets/esri/core/workers/chunks/bf6b76027c60b4ffa507.js +1 -0
  96. package/assets/esri/core/workers/chunks/{854bfda25bb406814929.js → c34a164a8ece4cb33e81.js} +1 -1
  97. package/assets/esri/core/workers/chunks/c4ff5c78fc8668af9c05.js +1 -0
  98. package/assets/esri/core/workers/chunks/c696615cae5daefa2d98.js +1 -0
  99. package/assets/esri/core/workers/chunks/c71dac67f95d694bf67e.js +1 -0
  100. package/assets/esri/core/workers/chunks/{e982cf44906eb26164f2.js → c75b0243e5bb84738419.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{3490d47cac7c8dec70cd.js → c9c109d43a1e5160955d.js} +2 -2
  102. package/assets/esri/core/workers/chunks/cc748d4f4adb9c584aa4.js +1 -0
  103. package/assets/esri/core/workers/chunks/d707538b150d79050336.js +1 -0
  104. package/assets/esri/core/workers/chunks/d71836cf70b9604832f1.js +1 -0
  105. package/assets/esri/core/workers/chunks/d83bdc13c3cad3eee7be.js +1 -0
  106. package/assets/esri/core/workers/chunks/{2cda605c302176905e84.js → db7678104b18534482e3.js} +1 -1
  107. package/assets/esri/core/workers/chunks/dbcef57073075e9cfdfe.js +1 -0
  108. package/assets/esri/core/workers/chunks/de4da985c398c8bcf2e7.js +1 -0
  109. package/assets/esri/core/workers/chunks/{cb57cdff976d2d4b0b41.js → e1b25b1ce3bd4f0f2cda.js} +1 -1
  110. package/assets/esri/core/workers/chunks/e36d538915261ee0373f.js +1 -0
  111. package/assets/esri/core/workers/chunks/e97250ae8da4bd0d6bc9.js +1 -0
  112. package/assets/esri/core/workers/chunks/ed8863c3d334f438b625.js +1 -0
  113. package/assets/esri/core/workers/chunks/f636ca5c811c3a2a962f.js +1 -0
  114. package/assets/esri/core/workers/chunks/f6d91256c4e5f8a0d5c0.js +1 -0
  115. package/assets/esri/core/workers/chunks/f718f630a8b81496c646.js +1 -0
  116. package/assets/esri/core/workers/chunks/{4d5abcf57a6ded4750ba.js → fa0f94318173db2034de.js} +1 -1
  117. package/assets/esri/core/workers/chunks/fd1fdb97a294a1b7041d.js +1 -0
  118. package/assets/esri/core/workers/chunks/ff14b632f147cb68ed59.js +1 -0
  119. package/assets/esri/core/workers/chunks/{d42fd0effc560eefb14b.js → ff2614d96ca5228e9685.js} +1 -1
  120. package/assets/esri/core/workers/chunks/{ff8a4bf1bceb362d67ab.js → ff7962063d132c1ec814.js} +1 -1
  121. package/assets/esri/themes/base/widgets/_Editor.scss +5 -3
  122. package/assets/esri/themes/base/widgets/_SelectionToolbar.scss +6 -0
  123. package/assets/esri/themes/dark/main.css +1 -1
  124. package/assets/esri/themes/light/main.css +1 -1
  125. package/assets/esri/themes/light/view.css +1 -1
  126. package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar.json +1 -1
  127. package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar_en.json +1 -1
  128. package/chunks/ColorMaterial.glsl.js +1 -1
  129. package/chunks/ComponentShader.glsl.js +2 -2
  130. package/chunks/CutFillDepth.glsl.js +15 -0
  131. package/chunks/CutFillReduction.glsl.js +12 -0
  132. package/chunks/CutFillTargetDepth.glsl.js +6 -0
  133. package/chunks/DefaultMaterial.glsl.js +1 -1
  134. package/chunks/HUDMaterial.glsl.js +4 -4
  135. package/chunks/ImageMaterial.glsl.js +2 -2
  136. package/chunks/NativeLine.glsl.js +1 -1
  137. package/chunks/Path.glsl.js +6 -6
  138. package/chunks/Pattern.glsl.js +1 -1
  139. package/chunks/RealisticTree.glsl.js +1 -1
  140. package/chunks/RibbonLine.glsl.js +2 -2
  141. package/chunks/ShadedColorMaterial.glsl.js +1 -1
  142. package/chunks/SimpleAtmosphere.glsl.js +1 -1
  143. package/chunks/Terrain.glsl.js +4 -4
  144. package/chunks/WaterSurface.glsl.js +3 -3
  145. package/chunks/offsetOperator.js +1 -1
  146. package/config.js +1 -1
  147. package/core/Clonable.js +1 -1
  148. package/effects/FocusArea.js +1 -1
  149. package/geometry/Multipoint.js +1 -1
  150. package/geometry/operators/offsetOperator.js +1 -1
  151. package/geometry/support/boundsUtils.js +1 -1
  152. package/geometry/support/contains.js +1 -1
  153. package/geometry/support/curves/circleUtils.js +1 -1
  154. package/geometry/support/curves/circularArcUtils.js +1 -1
  155. package/geometry/support/curves/curveUtils.js +1 -1
  156. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  157. package/geometry/support/curves/rotate.js +5 -0
  158. package/geometry/support/extentUtils.js +1 -1
  159. package/geometry/support/rotate.js +1 -1
  160. package/graphic/ImageryGraphicOrigin.js +5 -0
  161. package/graphic/ImageryTileGraphicOrigin.js +5 -0
  162. package/graphic/WCSGraphicOrigin.js +5 -0
  163. package/graphic/isImageryGraphicOrigin.js +5 -0
  164. package/graphic/isImageryTileGraphicOrigin.js +5 -0
  165. package/graphic/isWCSGraphicOrigin.js +5 -0
  166. package/interfaces.d.ts +14 -17
  167. package/kernel.js +1 -1
  168. package/layers/CatalogLayer.js +1 -1
  169. package/layers/FeatureLayer.js +1 -1
  170. package/layers/GroundLayer.js +5 -0
  171. package/layers/ImageryLayer.js +1 -1
  172. package/layers/ImageryTileLayer.js +1 -1
  173. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  174. package/layers/IntegratedMeshLayer.js +1 -1
  175. package/layers/PointCloudLayer.js +1 -1
  176. package/layers/SceneLayer.js +1 -1
  177. package/layers/WCSLayer.js +1 -1
  178. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  179. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  180. package/layers/graphics/hydratedFeatures.js +1 -1
  181. package/layers/mixins/ArcGISImageService.js +1 -1
  182. package/layers/support/SceneFilter.js +1 -1
  183. package/package.json +2 -2
  184. package/support/revision.js +1 -1
  185. package/views/2d/engine/Stage.js +1 -1
  186. package/views/2d/engine/webgl/Profiler.js +1 -1
  187. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  188. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  189. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  190. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  191. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementComputation.js → VolumeMeasurementCutFillComputation.js} +1 -1
  192. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementController.js → VolumeMeasurementCutFillController.js} +1 -1
  193. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementVisualization.js → VolumeMeasurementCutFillVisualization.js} +1 -1
  194. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  195. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  196. package/views/3d/layers/CSVLayerView3D.js +1 -1
  197. package/views/3d/layers/CatalogFootprintLayerView3D.js +1 -1
  198. package/views/3d/layers/FeatureLayerView3D.js +1 -1
  199. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  200. package/views/3d/layers/GeoJSONLayerView3D.js +1 -1
  201. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  202. package/views/3d/layers/GraphicsView3D.js +1 -1
  203. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  204. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  205. package/views/3d/layers/OGCFeatureLayerView3D.js +1 -1
  206. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  207. package/views/3d/layers/RouteLayerView3D.js +1 -1
  208. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  209. package/views/3d/layers/SceneLayerView3D.js +1 -1
  210. package/views/3d/layers/StreamLayerView3D.js +1 -1
  211. package/views/3d/layers/WFSLayerView3D.js +1 -1
  212. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  213. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  214. package/views/3d/layers/graphics/Labeler.js +1 -1
  215. package/views/3d/layers/graphics/QueryEngine.js +1 -1
  216. package/views/3d/layers/graphics/StreamController.js +1 -1
  217. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorkerHandle.js +1 -1
  218. package/views/3d/layers/graphics/pipeline/rendering/DirectRenderer.js +1 -1
  219. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  220. package/views/3d/layers/support/Tiles3DIntersectionHandler.js +1 -1
  221. package/views/3d/terrain/OverlayRenderTargets.js +1 -1
  222. package/views/3d/terrain/OverlayRenderer.js +1 -1
  223. package/views/3d/terrain/TerrainRenderer.js +1 -1
  224. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  225. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  226. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +2 -2
  227. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  228. package/views/3d/webgl-engine/core/FBOCacheFormats.js +1 -1
  229. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  230. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  231. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutputConfiguration.js +1 -1
  232. package/views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js +1 -1
  233. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +4 -4
  234. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js +2 -0
  235. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js +1 -1
  236. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js +1 -1
  237. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +1 -1
  238. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  239. package/views/3d/webgl-engine/effects/geometry/ObjectAndLayerIDRenderNode.js +1 -1
  240. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  241. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  242. package/views/3d/webgl-engine/lib/CutFillDepth.js +5 -0
  243. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  244. package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
  245. package/views/3d/webgl-engine/lib/Material.js +1 -1
  246. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  247. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  248. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  249. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  250. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  251. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  252. package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
  253. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  254. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  255. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  256. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  257. package/views/3d/webgl-engine/materials/renderers/VaoRenderer.js +1 -1
  258. package/views/3d/webgl-engine/shaders/CutFillDepth.glsl.js +5 -0
  259. package/views/3d/webgl-engine/shaders/CutFillDepthTechnique.js +5 -0
  260. package/views/3d/webgl-engine/shaders/CutFillReduction.glsl.js +5 -0
  261. package/views/3d/webgl-engine/shaders/CutFillReductionTechnique.js +5 -0
  262. package/views/3d/webgl-engine/shaders/CutFillTargetDepth.glsl.js +5 -0
  263. package/views/3d/webgl-engine/shaders/CutFillTargetDepthTechnique.js +5 -0
  264. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  265. package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +1 -1
  266. package/views/3d/webgl.js +1 -1
  267. package/views/GroundView.js +1 -1
  268. package/views/draw/support/Box.js +1 -1
  269. package/views/draw/support/Reshape.js +1 -1
  270. package/views/draw/support/drawUtils.js +1 -1
  271. package/views/interactive/editGeometry/operations/RotateVertex.js +1 -1
  272. package/views/interactive/editGeometry/operations/curveOperationUtils.js +1 -1
  273. package/views/layers/ImageryLayerView.js +1 -1
  274. package/views/layers/ImageryTileLayerView.js +1 -1
  275. package/widgets/Editor/EditorViewModel.js +1 -1
  276. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  277. package/widgets/Sketch.js +1 -1
  278. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  279. package/widgets/support/SelectionToolbar/VisibleElements.js +1 -1
  280. package/widgets/support/SelectionToolbar.js +1 -1
  281. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  282. package/analysis/VolumeMeasurement/CutFillOptions.d.ts +0 -4
  283. package/assets/esri/core/workers/chunks/01e8b9dc77a57d1c2a52.js +0 -1
  284. package/assets/esri/core/workers/chunks/027cfcde29fe87aa2ffe.js +0 -1
  285. package/assets/esri/core/workers/chunks/03ee4d63aa8de44958ab.js +0 -1
  286. package/assets/esri/core/workers/chunks/07eea90733834313e9fa.js +0 -1
  287. package/assets/esri/core/workers/chunks/0a4586e596413ef7a4b5.js +0 -1
  288. package/assets/esri/core/workers/chunks/0a6d33d013628f671aea.js +0 -1
  289. package/assets/esri/core/workers/chunks/1166ed298cf5ca7ad444.js +0 -1
  290. package/assets/esri/core/workers/chunks/13797036850dcc3671c3.js +0 -1
  291. package/assets/esri/core/workers/chunks/18ceea59e469a0f2721b.js +0 -1
  292. package/assets/esri/core/workers/chunks/1a2278b9fe9666342728.js +0 -1
  293. package/assets/esri/core/workers/chunks/1e01aaebdeffdfc0c6bd.js +0 -1
  294. package/assets/esri/core/workers/chunks/1eee7cf11df01a52c1bf.js +0 -1
  295. package/assets/esri/core/workers/chunks/222f981e876f60ae282f.js +0 -1
  296. package/assets/esri/core/workers/chunks/24ac204d8a045aa821be.js +0 -1
  297. package/assets/esri/core/workers/chunks/27197b0a2ffb2b6104ea.js +0 -1
  298. package/assets/esri/core/workers/chunks/277941bec15525dbd3a0.js +0 -1
  299. package/assets/esri/core/workers/chunks/2c0241a5958aef9cda61.js +0 -1
  300. package/assets/esri/core/workers/chunks/2cb14d040e67a261b31c.js +0 -1
  301. package/assets/esri/core/workers/chunks/31c088966ccfff2ea1db.js +0 -1
  302. package/assets/esri/core/workers/chunks/3245d20ea4bb779f87ef.js +0 -1
  303. package/assets/esri/core/workers/chunks/3264d58aeef8cf074b86.js +0 -1
  304. package/assets/esri/core/workers/chunks/4162c633efefc63c5506.js +0 -1
  305. package/assets/esri/core/workers/chunks/435169b455fd2846799b.js +0 -1
  306. package/assets/esri/core/workers/chunks/46a470bea2a3601182dc.js +0 -1
  307. package/assets/esri/core/workers/chunks/4874aabdb5c60ca66216.js +0 -1
  308. package/assets/esri/core/workers/chunks/4b58da6cb91f7bf6af8b.js +0 -1
  309. package/assets/esri/core/workers/chunks/4fc267552939583a81a0.js +0 -1
  310. package/assets/esri/core/workers/chunks/527557b603400189d49a.js +0 -1
  311. package/assets/esri/core/workers/chunks/554c789f4e875d7e6fd5.js +0 -1
  312. package/assets/esri/core/workers/chunks/5900dde7a201a7d47469.js +0 -1
  313. package/assets/esri/core/workers/chunks/5b2ff220aebe464dac23.js +0 -1
  314. package/assets/esri/core/workers/chunks/5d331f7628514a572f82.js +0 -1
  315. package/assets/esri/core/workers/chunks/5f28470304b57e24d94c.js +0 -1
  316. package/assets/esri/core/workers/chunks/5f518931a660b3c4f519.js +0 -1
  317. package/assets/esri/core/workers/chunks/6530449cd1975deb61f1.js +0 -1
  318. package/assets/esri/core/workers/chunks/65e1f5b20a585e04655a.js +0 -1
  319. package/assets/esri/core/workers/chunks/66f3659ba18f92cd623e.js +0 -1
  320. package/assets/esri/core/workers/chunks/67355372ac5fd8a15d18.js +0 -1
  321. package/assets/esri/core/workers/chunks/6801b92bce7a918fda6f.js +0 -1
  322. package/assets/esri/core/workers/chunks/6940bb6524938894a246.js +0 -1
  323. package/assets/esri/core/workers/chunks/6b11476b2004b4db576e.js +0 -1
  324. package/assets/esri/core/workers/chunks/719450ccd455f503d81a.js +0 -1
  325. package/assets/esri/core/workers/chunks/71cac356874b36f9a383.js +0 -1
  326. package/assets/esri/core/workers/chunks/77ee4afaa4a1c7047940.js +0 -1
  327. package/assets/esri/core/workers/chunks/790e97ddbe318bc75415.js +0 -1
  328. package/assets/esri/core/workers/chunks/7b560ac0be93c6aa9940.js +0 -1
  329. package/assets/esri/core/workers/chunks/7bdfc7c7ce1d94c00745.js +0 -353
  330. package/assets/esri/core/workers/chunks/83737d86584bf1b32368.js +0 -1
  331. package/assets/esri/core/workers/chunks/855f25ce748aaef44b1a.js +0 -1
  332. package/assets/esri/core/workers/chunks/862fe2f96d4b777ff5b8.js +0 -1
  333. package/assets/esri/core/workers/chunks/87f68c2b9361bd3f8cac.js +0 -1
  334. package/assets/esri/core/workers/chunks/8fa50cac57b6e1ecec76.js +0 -1
  335. package/assets/esri/core/workers/chunks/9307108821d82c131654.js +0 -1
  336. package/assets/esri/core/workers/chunks/97a38d700f2cb8807d51.js +0 -1
  337. package/assets/esri/core/workers/chunks/9928e432b884c75c3436.js +0 -1
  338. package/assets/esri/core/workers/chunks/9b10e70f28873cff44f5.js +0 -1
  339. package/assets/esri/core/workers/chunks/9e9be7f6ea32957f1088.js +0 -33
  340. package/assets/esri/core/workers/chunks/9f178cf73c63caaea190.js +0 -1
  341. package/assets/esri/core/workers/chunks/a999f804fc2f00b2e7ae.js +0 -1
  342. package/assets/esri/core/workers/chunks/ae73ac81bd10614c2b53.js +0 -1
  343. package/assets/esri/core/workers/chunks/af4412e79275c5a87539.js +0 -1
  344. package/assets/esri/core/workers/chunks/b8158c681456d4cf2395.js +0 -1
  345. package/assets/esri/core/workers/chunks/c86e339e45900c54c9f5.js +0 -1
  346. package/assets/esri/core/workers/chunks/c91217d977a6baaee74a.js +0 -1
  347. package/assets/esri/core/workers/chunks/ca7c9756802214e41c56.js +0 -1
  348. package/assets/esri/core/workers/chunks/cb8f2ce22274990b359c.js +0 -1
  349. package/assets/esri/core/workers/chunks/cbec768cd98caff212f2.js +0 -1
  350. package/assets/esri/core/workers/chunks/d3a7747f23e91d1f1b5e.js +0 -1
  351. package/assets/esri/core/workers/chunks/d3ae88fcde2d7fb3e2e2.js +0 -1
  352. package/assets/esri/core/workers/chunks/d81c4afad4abe2d1d0b9.js +0 -1
  353. package/assets/esri/core/workers/chunks/d87fdc64a5cc6be4bd69.js +0 -1
  354. package/assets/esri/core/workers/chunks/db5d3feeb61ccb5ede98.js +0 -1
  355. package/assets/esri/core/workers/chunks/dfb12f42b8d319ffa5fc.js +0 -1
  356. package/assets/esri/core/workers/chunks/e666ca4d14b6490485d6.js +0 -1
  357. package/assets/esri/core/workers/chunks/ead1acf95c3385630da8.js +0 -1001
  358. package/assets/esri/core/workers/chunks/f1c50f37a81c672263a1.js +0 -1
  359. package/assets/esri/core/workers/chunks/f3e3c2340452c1d60c95.js +0 -1
  360. package/assets/esri/core/workers/chunks/f4d7cbd33ef8710d7316.js +0 -1
  361. package/assets/esri/core/workers/chunks/f74b0cdc1c2b56bac5f0.js +0 -1
  362. package/assets/esri/core/workers/chunks/f807e7fc90e0e7ce6b67.js +0 -1
  363. package/assets/esri/core/workers/chunks/ff323db554c9e09749e8.js +0 -1
  364. package/assets/esri/core/workers/chunks/ff4e15a872de94d2b438.js +0 -1
  365. /package/assets/esri/core/workers/chunks/{3490d47cac7c8dec70cd.js.LICENSE.txt → c9c109d43a1e5160955d.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[573,2042,7136],{4197:(e,t,r)=>{r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var i=r(34275),n=r(9093);function s(e){return e<=i.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,n.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},9093:(e,t,r)=>{function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>n,vt:()=>i,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:n,create:i,fromValues:function(e,t,r,i,n,s,o,l,a,u,p,c,h,f,y,m){return[e,t,r,i,n,s,o,l,a,u,p,c,h,f,y,m]}},Symbol.toStringTag,{value:"Module"}))},13069:(e,t,r)=>{r.d(t,{AG:()=>l,lk:()=>n,vD:()=>o,yS:()=>s});const i="randomUUID"in crypto;function n(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${n().toUpperCase()}}`}function o(){return`{${n()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},17136:(e,t,r)=>{r.d(t,{O7:()=>S,el:()=>T});var i=r(92602),n=r(49186),s=r(53966),o=r(39829),l=r(82799),a=r(80754),u=r(21325),p=r(28735),c=r(78888),h=r(65864),f=r(2272),y=r(84952),m=r(92300);const d=()=>s.A.getLogger("esri.geometry.support.normalizeUtils");function g(e){return"polygon"===e[0].type}function v(e){return"polyline"===e[0].type}function M(e,t,r){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof o.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw d().error(e),new n.A("internal:geometry",e)}const r=(0,a.r8)(e),i=[];for(const e of r){const r=[];i.push(r),r.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const n=e[i][0],s=e[i][1],o=e[i+1][0],l=e[i+1][1],a=Math.sqrt((o-n)*(o-n)+(l-s)*(l-s)),u=(l-s)/a,p=(o-n)/a,c=a/t;if(c>1){for(let e=1;e<=c-1;e++){const i=e*t,o=p*i+n,l=u*i+s;r.push([o,l])}const e=(a+Math.floor(c-1)*t)/2,i=p*e+n,o=u*e+s;r.push([i,o])}r.push([o,l])}}return function(e){return"polygon"===e.type}(e)?new o.A({rings:i,spatialReference:e.spatialReference}):new l.A({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,p.ci)(t,!0)}return r&&(e=(0,a.kS)(e,r)),e}function b(e,t,r){if(Array.isArray(e)){const i=e[0];if(i>t){const r=(0,a.kd)(i,t);e[0]=i+r*(-2*t)}else if(i<r){const t=(0,a.kd)(i,r);e[0]=i+t*(-2*r)}}else{const i=e.x;if(i>t){const r=(0,a.kd)(i,t);e=e.clone().offset(r*(-2*t),0)}else if(i<r){const t=(0,a.kd)(i,r);e=e.clone().offset(t*(-2*r),0)}}return e}function _(e,t){let r=-1;for(let i=0;i<t.cutIndexes.length;i++){const n=t.cutIndexes[i],s=t.geometries[i],o=(0,a.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(r=>{if(r[0]<180)return!0;{let r=0;for(let e=0;e<t.length;e++){const i=t[e][0];r=i>r?i:r}r=Number(r.toFixed(9));const i=-360*(0,a.kd)(r,180);for(let r=0;r<t.length;r++){const t=s.getPoint(e,r);s.setPoint(e,r,t.clone().offset(i,0))}return!0}})}if(n===r){if(g(e))for(const t of(0,a.r8)(s))e[n]=e[n].addRing(t);else if(v(e))for(const t of(0,a.r8)(s))e[n]=e[n].addPath(t)}else r=n,e[n]=s}return e}async function T(e,t,r){if(!Array.isArray(e))return T([e],t);t&&"string"!=typeof t&&d().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const n="string"==typeof t?t:t?.url??i.A.geometryServiceUrl;let s,g,v,S,A,w,F,x,C=0;const N=[],O=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,g=(0,u.Vp)(s),v=s.isWebMercator,w=v?102100:4326,S=a.j7[w].maxX,A=a.j7[w].minX,F=a.j7[w].plus180Line,x=a.j7[w].minus180Line),g)if("mesh"===t.type)O.push(t);else if("point"===t.type)O.push(b(t.clone(),S,A));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>b(e,S,A)),O.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,g);O.push(e.rings?new o.A(e):e)}else if(t.extent){const e=t.extent,r=(0,a.kd)(e.xmin,A)*(2*S);let i=0===r?t.clone():(0,a.kS)(t.clone(),r);e.offset(r,0);let{xmin:n,xmax:s}=e;n=Number(n.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(F)&&s!==S?(C=s>C?s:C,i=M(i,v),N.push(i),O.push("cut")):e.intersects(x)&&n!==A?(C=s*(2*S)>C?s*(2*S):C,i=M(i,v,360),N.push(i),O.push("cut")):O.push(i)}else O.push(t.clone());else O.push(t);else O.push(t);let R=(0,a.kd)(C,S),Z=-90;const I=R,G=new l.A;for(;R>0;){const e=360*R-180;G.addPath([[e,Z],[e,-1*Z]]),Z*=-1,R--}if(N.length>0&&I>0){const t=_(N,await async function(e,t,r,i){const n=(0,f.Dl)(e),s=t[0].spatialReference,o={...i,responseType:"json",query:{...n.query,f:"json",sr:(0,u.YX)(s),target:JSON.stringify({geometryType:(0,h.$B)(t[0]),geometries:t}),cutter:JSON.stringify(r)}},l=await(0,c.A)(n.path+"/cut",o),{cutIndexes:a,geometries:p=[]}=l.data;return{cutIndexes:a,geometries:p.map(e=>{const t=(0,h.rS)(e);return t.spatialReference=s,t})}}(n,N,G,r)),i=[],s=[];for(let r=0;r<O.length;r++){const n=O[r];if("cut"!==n)s.push(n);else{const n=t.shift(),o=e[r];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&n.rings.length>=o.rings.length?(i.push(n),s.push("simplify")):s.push(v?(0,p.Gh)(n):n)}}if(!i.length)return s;const o=await async function(e,t,r){const i="string"==typeof e?(0,y.An)(e):e,n=t[0].spatialReference,s=(0,h.$B)(t[0]),o={...r,query:{...i.query,f:"json",sr:(0,u.YX)(n),geometries:JSON.stringify((0,m.X)(t))}},{data:l}=await(0,c.A)(i.path+"/simplify",o);return(0,m.V)(l.geometries,s,n)}(n,i,r),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(v?(0,p.Gh)(o.shift()):o.shift())}return l}const j=[];for(let e=0;e<O.length;e++){const t=O[e];if("cut"!==t)j.push(t);else{const e=N.shift();j.push(!0===v?(0,p.Gh)(e):e)}}return j}function S(e,t,r){const i=(0,u.Vp)(r);if(null==i)return e;const[n,s]=i.valid,o=2*s;let l=0,a=0;t>s?l=Math.ceil(Math.abs(t-s)/o):t<n&&(l=-Math.ceil(Math.abs(t-n)/o)),e>s?a=Math.ceil(Math.abs(e-s)/o):e<n&&(a=-Math.ceil(Math.abs(e-n)/o));let p=e+(l-a)*o;const c=p-t;return c>s?p-=o:c<n&&(p+=o),p}},22671:(e,t,r)=>{r.d(t,{A:()=>v});var i,n=r(31635),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(10107),p=(r(44208),r(53966),r(36005)),c=r(40608),h=r(43937),f=r(16930),y=r(65864),m=r(50498),d=r(20437);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,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=f.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=f.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,y.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,y.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,y.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,p.w)("features")],v.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[d.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,h.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:m.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,p.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:f.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,n.Cg)([(0,h.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,c.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},50498:(e,t,r)=>{r.d(t,{Ye:()=>c,gy:()=>p,yR:()=>h});var i=r(66552),n=r(5443),s=r(91075),o=r(48526),l=r(86738),a=r(39829),u=r(82799);const p=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:s.A,key:"type",typeMap:{extent:n.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}}},52106:(e,t,r)=>{r.d(t,{A:()=>b});var i,n=r(31635),s=r(13874),o=r(69540),l=r(51447),a=r(25482),u=r(53966),p=r(36708),c=r(24326),h=r(10107),f=(r(44208),r(87811),r(40608)),y=r(12195),m=r(65864),d=r(50498),g=r(54339),v=r(33910);function M(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let b=class extends((0,o.O)(a.o)){static{i=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const r of[t,this.sourceLayer,this.layer])if(r&&"object"==typeof r){if("popupTemplate"in r&&r.popupTemplate)return r.popupTemplate;if(e&&"defaultPopupTemplate"in r&&null!=r.defaultPopupTemplate)return r.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=this.sourceLayer??this.layer;return e?(0,g.r)(this,e):null}getGlobalId(){const e=this.sourceLayer??this.layer;return e&&"globalIdField"in e&&e.globalIdField?this.getAttribute(e.globalIdField):null}toJSON(){return{aggregateGeometries:M(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,y.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(n.action=i),"attributes"===e&&(n.attributeName=i),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,n.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,m.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],b.prototype,"aggregateGeometries",null),(0,n.Cg)([(0,h.MZ)({value:null})],b.prototype,"attributes",null),(0,n.Cg)([(0,h.MZ)({value:null,types:d.yR,json:{read:m.rS}})],b.prototype,"geometry",null),(0,n.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"isAggregate",void 0),(0,n.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"layer",void 0),(0,n.Cg)([(0,h.MZ)({clonable:"reference"})],b.prototype,"origin",void 0),(0,n.Cg)([(0,h.MZ)({type:s.A,value:null})],b.prototype,"popupTemplate",null),(0,n.Cg)([(0,h.MZ)({clonable:"reference"})],b.prototype,"sourceLayer",void 0),(0,n.Cg)([(0,h.MZ)({value:null,types:v.Es})],b.prototype,"symbol",null),(0,n.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],b.prototype,"_version",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,value:!0})],b.prototype,"visible",null),b=i=(0,n.Cg)([(0,f.$)("esri.Graphic")],b)},54339:(e,t,r)=>{function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>n})},70328:(e,t,r)=>{r.d(t,{BI:()=>M,DC:()=>c,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>y,RF:()=>p,aI:()=>_,fA:()=>o,gE:()=>a,hZ:()=>d,iT:()=>h,is:()=>b,qv:()=>T,vI:()=>m,vY:()=>l,v_:()=>S,vt:()=>s,w1:()=>u});var i=r(5443),n=(r(19419),r(4197));function s(e=S){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,i,n,o,l=s()){return l[0]=e,l[1]=t,l[2]=r,l[3]=i,l[4]=n,l[5]=o,l}function l(e,t=s()){return function(e,t,r,i=s()){return d(i,T),function(e,t,r=0,i=t.length/3){let n=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function a(e,t=(0,n.jh)(24)){const[r,i,s,o,l,a]=e;return t[0]=r,t[1]=i,t[2]=s,t[3]=r,t[4]=i,t[5]=a,t[6]=r,t[7]=l,t[8]=s,t[9]=r,t[10]=l,t[11]=a,t[12]=o,t[13]=i,t[14]=s,t[15]=o,t[16]=i,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function y(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function m(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function 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 g(e){return e?d(e,T):s(T)}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 M(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function _(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const T=[1/0,1/0,1/0,-1/0,-1/0,-1/0],S=[0,0,0,0,0,0];s()},71756:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var i,n=r(31635),s=r(78888),o=r(49186),l=r(81583),a=r(92071),u=r(74887),p=r(84952),c=r(10107),h=r(79901),f=(r(44208),r(87811),r(36005)),y=r(40608),m=r(43937),d=r(16930),g=r(4146),v=r(52136),M=r(89186),b=r(98534),_=r(18768),T=r(63074),S=r(69208),A=r(16131),w=r(8303),F=r(54310),x=r(25036),C=r(91921),N=r(60694),O=r(10873),R=r(33446),Z=r(15775),I=r(88625);const G=["Canvas/World_Dark_Gray_Base","Canvas/World_Dark_Gray_Reference","Canvas/World_Light_Gray_Base","Canvas/World_Light_Gray_Reference","Elevation/World_Hillshade","Elevation/World_Hillshade_Dark","Ocean/World_Ocean_Base","Ocean/World_Ocean_Reference","Ocean_Basemap","Reference/World_Boundaries_and_Places","Reference/World_Boundaries_and_Places_Alternate","Reference/World_Transportation","World_Imagery","World_Street_Map","World_Topo_Map"];let j=i=class extends((0,T.dM)((0,x.j)((0,C.I)((0,M.f)((0,b.V)((0,A.q)((0,w.A)((0,_.b)((0,a.P)((0,F.J)((0,v.p)((0,S.d)(g.A))))))))))))){constructor(...e){super(...e),this.listMode="show",this.elevationInfo=new I.A({mode:"on-the-ground"}),this.isReference=null,this.operationalLayerType="ArcGISTiledMapServiceLayer",this.resampling=!0,this.sourceJSON=null,this.spatialReference=null,this.path=null,this.sublayers=null,this.type="tile",this.url=null}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:["Map Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get attributionDataUrl(){const e=this.parsedUrl?.path.toLowerCase();return e?this._getDefaultAttribution(this._getMapName(e)):null}get hasAttributionData(){return super.hasAttributionData}readSpatialReference(e,t){return(e=e||t.tileInfo?.spatialReference)&&d.A.fromJSON(e)}writeSublayers(e,t,r,i){if(!this.loaded||!e)return;const n=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),s=[],o={writeSublayerStructure:!1,...i};n.forEach(e=>{const t=e.write({},o);s.push(t)}),s.some(e=>Object.keys(e).length>1)&&(t.layers=s)}get tileServers(){return this._getDefaultTileServers(this.parsedUrl?.path)}castTileServers(e){return Array.isArray(e)?e.map(e=>(0,p.An)(e).path):null}fetchTile(e,t,r,i={}){const{signal:n}=i,o=this.getTileUrl(e,t,r),l={responseType:"image",signal:n,query:{...this.refreshParameters}};return(0,s.A)(o,l).then(e=>e.data)}async fetchImageBitmapTile(e,t,r,n={}){const{signal:o}=n;if(this.fetchTile!==i.prototype.fetchTile){const i=await this.fetchTile(e,t,r,n);return(0,R.C)(i,e,t,r,o)}const l=this.getTileUrl(e,t,r),a={responseType:"blob",signal:o,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(l,a);return(0,R.C)(u,e,t,r,o)}getTileUrl(e,t,r){const i=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,n=(0,p.x0)({...this.parsedUrl?.query,blankTile:!i&&null,...this.customParameters,token:this.apiKey}),s=this.tileServers;return`${s&&s.length?s[t%s.length]:this.parsedUrl?.path}/tile/${e}/${t}/${r}${n?"?"+n:""}`}loadAll(){return(0,l.g)(this,e=>{e(this.allSublayers)})}_fetchService(e){return new Promise((t,r)=>{if(this.sourceJSON){if(null!=this.sourceJSON.bandCount&&null!=this.sourceJSON.pixelSizeX)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");return void t({data:this.sourceJSON})}if(!this.parsedUrl)throw new o.A("tile-layer:undefined-url","layer's url is not defined");const i=(0,N.qg)(this.parsedUrl.path);if(null!=i&&"ImageServer"===i.serverType)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");(0,s.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(t,r)}).then(t=>{let r=this.url;if(t.ssl&&(r=this.url=r.replace(/^http:/i,"https:")),this.sourceJSON=t.data,this.read(t.data,{origin:"service",url:this.parsedUrl}),10.1===this.version&&!(0,N.Wo)(r))return this._fetchServerVersion(r,e).then(e=>{this.read({currentVersion:e})}).catch(()=>{})})}_fetchServerVersion(e,t){if(!(0,N.Fi)(e))return Promise.reject();const r=e.replace(/(.*\/rest)\/.*/i,"$1")+"/info";return(0,s.A)(r,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{if(e.data?.currentVersion)return e.data.currentVersion;throw new o.A("tile-layer:version-not-available","Server did not provide a version")})}_getMapName(e){const t=e.match(/^(?:https?:)?\/\/(server\.arcgisonline\.com|services\.arcgisonline\.com|ibasemaps-api\.arcgis\.com)\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/mapserver/i);return t?t[2]:void 0}_getDefaultAttribution(e){if(null==e)return null;let t;e=e.toLowerCase();for(let r=0,i=G.length;r<i;r++)if(t=G[r],t.toLowerCase().includes(e))return(0,p.s2)("//static.arcgis.com/attribution/"+t);return null}_getDefaultTileServers(e){if(null==e)return[];const t=-1!==e.search(/^(?:https?:)?\/\/server\.arcgisonline\.com/i),r=-1!==e.search(/^(?:https?:)?\/\/services\.arcgisonline\.com/i);return t||r?[e,e.replace(t?/server\.arcgisonline/i:/services\.arcgisonline/i,t?"services.arcgisonline":"server.arcgisonline")]:[]}get hasOverriddenFetchTile(){return!this.fetchTile[L]}};(0,n.Cg)([(0,c.MZ)({readOnly:!0})],j.prototype,"attributionDataUrl",null),(0,n.Cg)([(0,c.MZ)({type:["show","hide","hide-children"]})],j.prototype,"listMode",void 0),(0,n.Cg)([(0,c.MZ)({json:{read:!0,write:!0}})],j.prototype,"blendMode",void 0),(0,n.Cg)([(0,c.MZ)()],j.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,c.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],j.prototype,"isReference",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0,type:["ArcGISTiledMapServiceLayer"]})],j.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,c.MZ)({type:Boolean})],j.prototype,"resampling",void 0),(0,n.Cg)([(0,c.MZ)()],j.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,c.MZ)({type:d.A})],j.prototype,"spatialReference",void 0),(0,n.Cg)([(0,f.w)("spatialReference",["spatialReference","tileInfo"])],j.prototype,"readSpatialReference",null),(0,n.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],j.prototype,"path",void 0),(0,n.Cg)([(0,c.MZ)({readOnly:!0})],j.prototype,"sublayers",void 0),(0,n.Cg)([(0,m.K)("sublayers",{layers:{type:[Z.A]}})],j.prototype,"writeSublayers",null),(0,n.Cg)([(0,c.MZ)({json:{read:!1,write:!1}})],j.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,c.MZ)()],j.prototype,"tileServers",null),(0,n.Cg)([(0,h.w)("tileServers")],j.prototype,"castTileServers",null),(0,n.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],j.prototype,"type",void 0),(0,n.Cg)([(0,c.MZ)(O.OZ)],j.prototype,"url",void 0),j=i=(0,n.Cg)([(0,y.$)("esri.layers.TileLayer")],j);const L=Symbol("default-fetch-tile");j.prototype.fetchTile[L]=!0;const P=j},80754:(e,t,r)=>{r.d(t,{j7:()=>o,kS:()=>a,kd:()=>l,r8:()=>u});var i=r(82799),n=r(16930),s=r(65864);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:n.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:n.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const r=u(e);for(const e of r)for(const r of e)r[0]+=t;return e}function u(e){return(0,s.Bi)(e)?e.rings:e.paths}},92300:(e,t,r)=>{r.d(t,{V:()=>s,X:()=>n});var i=r(65864);function n(e){return{geometryType:(0,i.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function s(e,t,r){const n=(0,i.xD)(t);return e.map(e=>{const t=n.fromJSON(e);return t.spatialReference=r,t})}},95466:(e,t,r)=>{r.d(t,{A:()=>f});var i=r(49186),n=r(53966),s=r(91869),o=r(3330),l=r(12195),a=r(30524),u=r(98623),p=r(56400),c=r(96285);const h=new Map;class f{static fromJSON(e){return new f(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new f(e.fields??[],g(e))}static fromLayerJSON(e){return new f(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const r=[];for(const e of this.fields){const t=e?.name,i=m(t);if(t&&i){const n=y(t);this._fieldsMap.set(t,e),this._fieldsMap.set(n,e),this._normalizedFieldsMap.set(i,e),r.push(`${n}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.te)(e)||(0,a.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}r.sort(),this.uid=r.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.te)(e)||(0,a.Xz)(e)||e.nullable||void 0!==(0,a.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(y(e))??this._normalizedFieldsMap.get(m(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(n.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):d.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?o.GB.instance:t===u.n$?c.mQ.utcInstance:(0,s.tE)(h,t,()=>c.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function y(e){return e.trim().toLowerCase()}function m(e){return(0,a.rS)(e)?.toLowerCase()??""}const d=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:n}=e,s=(i?"startField"in i?i.startField:i.startTimeField:"")??"",o=(i?"endField"in i?i.endField:i.endTimeField:"")??"",l=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,p.ZS)(e.dateFieldsTimeReference):null,a=n?function(e){return"timeZone"in e}(n)?n.timeZone??l:n.dateFieldsTimeReference?(0,p.ZS)(n.dateFieldsTimeReference):l??u.n$:null,c=i?function(e){return"timeZone"in e}(i)?i.timeZone??l:i.timeReference?(0,p.ZS)(i.timeReference):l:null,h=new Map([[y(n?.creationDateField??""),a],[y(n?.editDateField??""),a],[y(s),c],[y(o),c]]);for(const{name:i,type:n}of e.fields)if(d.has(n))t.set(i,u.L5);else if("date"!==n&&"esriFieldTypeDate"!==n)t.set(i,null);else if(r)t.set(i,u.L5);else{const e=h.get(y(i??""))??l;t.set(i,e)}return t}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9936],{41560:(e,t,n)=>{n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],p(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),p(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=c(e),n=c(n),t=p(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},64714:(e,t,n)=>{n.d(t,{F0:()=>a,Vx:()=>c,e2:()=>f,f:()=>d});var r=n(44208),i=n(4718),o=n(99352),s=n(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function c(e,t){if((0,r.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let n=`this${p(t)} = null;`;for(const t in e)n+=`this${p(t)} = ${JSON.stringify(e[t])};`;const r=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${n};\n }\n }\n `)();return()=>new r}catch(n){return()=>({[t]:null,...e})}}function p(e){return l.test(e)?`.${e}`:`["${e}"]`}function f(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function d(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},67482:(e,t,n)=>{function r(e){return null!=a(e)||null!=s(e)}function i(e){return l.test(e)}function o(e){return a(e)??s(e)}function s(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let n=!0;if(c&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,r=0;for(;!t&&r<=e.length;)t=!u.test(e[r]),r++;n=!t}}return n}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const n=t.groups,r=+n.year,i=+n.month-1,o=+n.day,s=+(n.hours??"0"),a=+(n.minutes??"0"),u=+(n.seconds??"0");if(s>23)return null;if(a>59)return null;if(u>59)return null;const c=n.ms??"0",p=c?+c.padEnd(3,"0").slice(0,3):0;let f;if(n.isUTC||!n.offsetSign)f=Date.UTC(r,i,o,s,a,u,p);else{const e=+n.offsetHours,t=+n.offsetMinutes;f=6e4*("+"===n.offsetSign?-1:1)*(60*e+t)+Date.UTC(r,i,o,s,a,u,p)}return Number.isNaN(f)?null:f}n.d(t,{Br:()=>i,Cq:()=>r,_U:()=>o});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,c=!Number.isNaN(new Date("technology 10").getTime())},75321:(e,t,n)=>{n.d(t,{GA:()=>P,GL:()=>A,I:()=>x,J0:()=>k,Ki:()=>N,Px:()=>j,QE:()=>T,bV:()=>S,bW:()=>C,vJ:()=>F});var r=n(78888),i=n(49186),o=n(53966),s=n(84952),a=n(16930),l=n(21325),u=n(28735),c=n(90708),p=n(58512),f=n(85113),d=n(64714),m=n(82832),y=n(95466),g=n(98453),h=n(98623);const w=()=>o.A.getLogger("esri.layers.ogc.ogcFeatureUtils"),b="startindex",I=new Set([b,"offset"]),F="http://www.opengis.net/def/crs/",T=`${F}OGC/1.3/CRS84`;async function A(e,t,n={},o=5){const{links:a}=e,l=$(a,"items","application/geo+json")||$(a,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if(null==l)throw new i.A("ogc-feature-layer:missing-items-page","Missing items url");const{apiKey:u,customParameters:c,signal:p}=n,m=(0,s.s2)(l.href,e.landingPage.url),I={limit:o,...c,token:u},F=(0,s.a6)(m,I),{data:T}=await(0,r.A)(F,{signal:p,headers:{accept:"application/geo+json"}}),A=D(F,o,T.links)??b;(0,f.sO)(T);const S=(0,f.BM)(T,{geometryType:t.geometryType}),j=t.fields||S.fields||[],N=null!=t.hasZ?t.hasZ:S.hasZ,P=S.geometryType,k=t.objectIdField||S.objectIdFieldName||"OBJECTID";let C=t.timeInfo;const x=j.find(({name:e})=>e===k);if(x)x.editable=!1,x.nullable=!1;else{if(!S.objectIdFieldType)throw new i.A("ogc-feature-layer:missing-feature-id","Collection geojson require a feature id as a unique identifier");j.unshift({name:k,alias:k,type:"number"===S.objectIdFieldType?"esriFieldTypeOID":"esriFieldTypeString",editable:!1,nullable:!1})}if(k!==S.objectIdFieldName){const e=j.find(({name:e})=>e===S.objectIdFieldName);e&&(e.type="esriFieldTypeInteger")}j===S.fields&&S.unknownFields.length>0&&w().warn({name:"ogc-feature-layer:unknown-field-types",message:"Some fields types couldn't be inferred from the features and were dropped",details:{unknownFields:S.unknownFields}});for(const e of j){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),"esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable),!e.name)throw new i.A("ogc-feature-layer:invalid-field-name","field name is missing",{field:e});if(!g.m.jsonValues.includes(e.type))throw new i.A("ogc-feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e})}if(C){const e=new y.A(j);if(C.startTimeField){const t=e.get(C.startTimeField);t?(C.startTimeField=t.name,t.type="esriFieldTypeDate"):C.startTimeField=null}if(C.endTimeField){const t=e.get(C.endTimeField);t?(C.endTimeField=t.name,t.type="esriFieldTypeDate"):C.endTimeField=null}if(C.trackIdField){const t=e.get(C.trackIdField);t?C.trackIdField=t.name:(C.trackIdField=null,w().warn({name:"ogc-feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:C}}))}C.timeReference||={timeZoneIANA:h.n$},C.startTimeField||C.endTimeField||(w().warn({name:"ogc-feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing",details:{timeInfo:C}}),C=void 0)}return{drawingInfo:P?(0,d.F0)(P):null,extent:G(e),geometryType:P,fields:j,hasZ:!!N,objectIdField:k,paginationParameter:A,timeInfo:C}}async function S(e,t={}){const{links:n,url:o}=e,a=$(n,"data","application/json")||$(n,"http://www.opengis.net/def/rel/ogc/1.0/data","application/json");if(null==a)throw new i.A("ogc-feature-layer:missing-collections-page","Missing collections url");const{apiKey:l,customParameters:u,signal:c}=t,p=(0,s.s2)(a.href,o),{data:f}=await(0,r.A)(p,{signal:c,headers:{accept:"application/json"},query:{...u,token:l}});for(const t of f.collections)t.landingPage=e;return f}async function j(e,t={}){const{links:n,url:o}=e,a=$(n,"conformance","application/json")||$(n,"http://www.opengis.net/def/rel/ogc/1.0/conformance","application/json");if(null==a)throw new i.A("ogc-feature-layer:missing-conformance-page","Missing conformance url");const{apiKey:l,customParameters:u,signal:c}=t,p=(0,s.s2)(a.href,o),{data:f}=await(0,r.A)(p,{signal:c,headers:{accept:"application/json"},query:{...u,token:l}});return f}async function N(e,t={}){const{apiKey:n,customParameters:i,signal:o}=t,{data:s}=await(0,r.A)(e,{signal:o,headers:{accept:"application/json"},query:{...i,token:n}});return s.url=e,s}async function P(e,t={}){const{links:n,url:i}=e,o=$(n,"service-desc","application/vnd.oai.openapi+json;version=3.0");if(null==o)return w().warn("ogc-feature-layer:missing-openapi-page","The OGC API-Features server does not have an OpenAPI page."),null;const{apiKey:a,customParameters:l,signal:u}=t,c=(0,s.s2)(o.href,i),{data:p}=await(0,r.A)(c,{signal:u,headers:{accept:"application/vnd.oai.openapi+json;version=3.0"},query:{...l,token:a}});return p}function k(e){const t=/^http:\/\/www\.opengis.net\/def\/crs\/(?<authority>.*)\/(?<version>.*)\/(?<code>.*)$/i.exec(e),n=t?.groups;if(!n)return null;const{authority:r,code:i}=n;switch(r.toLowerCase()){case"ogc":switch(i.toLowerCase()){case"crs27":return a.A.GCS_NAD_1927.wkid;case"crs83":return 4269;case"crs84":case"crs84h":return a.A.WGS84.wkid;default:return null}case"esri":case"epsg":{const e=Number.parseInt(i,10);return Number.isNaN(e)?null:e}default:return null}}async function C(e,t,n){const r=await x(e,t,n);return(0,c.ZF)(r)}async function x(e,t,n){const{collection:{links:o,landingPage:{url:d}},layerDefinition:g,maxRecordCount:h,queryParameters:{apiKey:w,customParameters:b},spatialReference:I,supportedCrs:F}=e,T=$(o,"items","application/geo+json")||$(o,"http://www.opengis.net/def/rel/ogc/1.0/items","application/geo+json");if(null==T)throw new i.A("ogc-feature-layer:missing-items-page","Missing items url");const{geometry:A,num:S,start:j,timeExtent:N,where:P}=t;if(t.objectIds)throw new i.A("ogc-feature-layer:query-by-objectids-not-supported","Queries with object ids are not supported");const k=a.A.fromJSON(I),C=t.outSpatialReference??k,x=C.isWGS84?null:v(C,F),M=O(A,F),G=function(e){if(null==e)return null;const{start:t,end:n}=e;return`${null!=t?t.toISOString():".."}/${null!=n?n.toISOString():".."}`}(N),D=null!=(_=P)&&_&&"1=1"!==_?_:null,E=S??(null==j?h:10),R=0===j?void 0:j,{fields:q,geometryType:B,hasZ:W,objectIdField:Z,paginationParameter:L}=g,U=(0,s.s2)(T.href,d),{data:V}=await(0,r.A)(U,{...n,query:{...b,...M,crs:x,datetime:G,query:D,limit:E,[L]:R,token:w},headers:{accept:"application/geo+json"}}),z=(0,f.bd)(V,{geometryType:B,hasZ:W,objectIdField:Z}),H=z.length===E&&!!$(V.links??[],"next","application/geo+json"),J=new y.A(q);var _;for(const e of z){const t={};(0,m.MB)(J,t,e.attributes,!0);for(const e of J.fields)e.nullable&&!(e.name in t)&&(t[e.name]=null);t[Z]=e.attributes[Z],e.attributes=t}if(!x&&C.isWebMercator)for(const e of z)if(null!=e.geometry&&null!=B){const t=(0,c.zv)(e.geometry,B,W,!1);t.spatialReference=a.A.WGS84,e.geometry=(0,c.Ux)((0,u.Cv)(t,C))}for(const e of z)e.objectId=e.attributes[Z];const K=x||!x&&C.isWebMercator?C.toJSON():l.KK,Q=new p.A;return Q.exceededTransferLimit=H,Q.features=z,Q.fields=q,Q.geometryType=B,Q.hasZ=W,Q.spatialReference=K,Q}function v(e,t){const{isWebMercator:n,wkid:r}=e;if(!r)return null;const i=n?t[3857]??t[102100]??t[102113]??t[900913]:t[e.wkid];return i?`${F}${i}`:null}function M(e){if(null==e)return"";const{xmin:t,ymin:n,xmax:r,ymax:i}=e;return`${t},${n},${r},${i}`}function O(e,t){if(!function(e){return null!=e&&"extent"===e.type}(e))return null;const{spatialReference:n}=e;if(!n||n.isWGS84)return{bbox:M(e)};const r=v(n,t);return null!=r?{bbox:M(e),"bbox-crs":r}:n.isWebMercator?{bbox:M((0,u.Cv)(e,a.A.WGS84))}:null}function G(e){const t=e.extent?.spatial;if(!t)return null;const n=t.bbox[0],r=4===n.length,[i,o]=n,s=r?void 0:n[2];return{xmin:i,ymin:o,xmax:r?n[2]:n[3],ymax:r?n[3]:n[4],zmin:s,zmax:r?void 0:n[5],spatialReference:a.A.WGS84.toJSON()}}function $(e,t,n){return e.find(({rel:e,type:r})=>e===t&&r===n)??e.find(({rel:e,type:n})=>e===t&&!n)}function D(e,t,n){if(!n)return;const r=$(n,"next","application/geo+json"),i=(0,s.An)(r?.href)?.query;if(!i)return;const o=(0,s.An)(e).query,a=Object.keys(o??{}),l=Object.entries(i).filter(([e])=>!a.includes(e)).find(([e,n])=>I.has(e.toLowerCase())&&Number.parseInt(n,10)===t),u=l?.[0];return u}},82832:(e,t,n)=>{n.d(t,{$1:()=>g,CR:()=>y,MB:()=>f,PC:()=>h,Yx:()=>l,bP:()=>c});var r=n(67482),i=n(21325),o=n(30524);class s{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new s(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function c(e){return new u(e)}const p=new Set;function f(e,t,n,r=!1){p.clear();for(const i in n){const s=e.get(i);if(!s)continue;const a=d(s,n[i]);if(p.add(s.name),s&&(r||s.editable)){const e=(0,o.CJ)(s,a);if(e)return l((0,o.uo)(e,s,a));t[s.name]=a}}for(const t of e.requiredFields??[])if(!p.has(t.name))return l(`missing required field "${t.name}"`);return null}function d(e,t){let n=t;return(0,o.WA)(e)&&"string"==typeof t?n=parseFloat(t):(0,o.yM)(e)&&null!=t&&"string"!=typeof t?n=String(t):(0,o.vE)(e)&&"string"==typeof t&&(n=(0,r._U)(t)),(0,o.WX)(n)}let m;function y(e,t){if(!e||!(0,i.fn)(t))return e;if("rings"in e||"paths"in e){if(null==m)throw new TypeError("geometry engine not loaded");return m.simplify(t,e)}return e}async function g(e,t){!(0,i.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==m&&(m=await Promise.all([n.e(9930),n.e(7559)]).then(n.bind(n,47559))),m}()}const h={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},85113:(e,t,n)=>{n.d(t,{BM:()=>S,bd:()=>j,sO:()=>A,xD:()=>c});var r=n(67482),i=n(49186),o=n(21325),s=n(43334),a=n(92722),l=n(30524);const u={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function c(e){return u[e]}function*p(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*f(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function d(e){for(const t of e)if(t.length>2)return!0;return!1}function m(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n],i=e[(n+1)%e.length];t+=r[0]*i[1]-i[0]*r[1]}return t<=0}function y(e){const t=e[0],n=e[e.length-1];return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]||e.push(t),e}function g(e,t,n){switch(t.type){case"LineString":case"MultiPoint":return function(e,t,n){return b(e,t.coordinates,n),e}(e,t,n);case"MultiLineString":return function(e,t,n){for(const r of t.coordinates)b(e,r,n);return e}(e,t,n);case"MultiPolygon":return function(e,t,n){for(const r of t.coordinates){h(e,r[0],n);for(let t=1;t<r.length;t++)w(e,r[t],n)}return e}(e,t,n);case"Point":return function(e,t,n){return F(e,t.coordinates,n),e}(e,t,n);case"Polygon":return function(e,t,n){const r=t.coordinates;h(e,r[0],n);for(let t=1;t<r.length;t++)w(e,r[t],n);return e}(e,t,n)}}function h(e,t,n){const r=y(t);!function(e){return!m(e)}(r)?b(e,r,n):I(e,r,n)}function w(e,t,n){const r=y(t);!function(e){return m(e)}(r)?b(e,r,n):I(e,r,n)}function b(e,t,n){for(const r of t)F(e,r,n);e.lengths.push(t.length)}function I(e,t,n){for(let r=t.length-1;r>=0;r--)F(e,t[r],n);e.lengths.push(t.length)}function F(e,t,n){const[r,i,o]=t;e.coords.push(r,i),n.hasZ&&e.coords.push(o||0)}function T(e){switch(typeof e){case"string":return(0,r.Br)(e)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function A(e,t=4326){if(!e)throw new i.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new i.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:n}=e;if(!n)return;const r="string"==typeof n?n:"name"===n.type?n.properties.name:"EPSG"===n.type?n.properties.code:null,s=(0,o.oT)({wkid:t})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${t})$`,"i");if(!r||!s.test(r))throw new i.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:n})}function S(e,t={}){const n=[],r=new Set,i=new Set;let o,s=!1,a=null,u=!1,{geometryType:m=null}=t;for(const t of p(e)){const{geometry:e,properties:p,id:y}=t;if((!e||(m||(m=c(e.type)),c(e.type)===m))&&(s||(s=d(f(e))),u||(u=null!=y,u&&(o=typeof y,p&&(a=Object.keys(p).filter(e=>p[e]===y)))),p&&a&&u&&null!=y&&(a.length>1?a=a.filter(e=>p[e]===y):1===a.length&&(a=p[a[0]]===y?a:[])),p))for(const e in p){if(r.has(e))continue;const t=T(p[e]);if("unknown"===t){i.add(e);continue}i.delete(e),r.add(e);const o=(0,l.rS)(e);o&&n.push({name:o,alias:e,type:t})}}const y=(0,l.rS)(1===a?.length&&a[0]||null)??void 0;if(y)for(const e of n)if(e.name===y&&(0,l.WA)(e)){e.type="esriFieldTypeOID";break}return{fields:n,geometryType:m,hasZ:s,objectIdFieldName:y,objectIdFieldType:o,unknownFields:Array.from(i)}}function j(e,t){return Array.from(function*(e,t={}){const{geometryType:n,objectIdField:r}=t;for(const i of e){const{geometry:e,properties:o,id:l}=i;if(e&&c(e.type)!==n)continue;const u=o||{};let p;r&&(p=u[r],null==l||p||(u[r]=p=l));const f=new s.Om(e?g(new a.A,e,t):null,u,null,p);yield f}}(p(e),t))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1312],{24212:(t,e,n)=>{function i(t,e){return function(t,e){return e?.mode?e.mode:function(t){return t?u:c}(t).mode}(null==t||(t.hasZ??!1),e)}function r(t,e,n){return n&&n.mode!==e?`${t} only support ${e} elevation mode`:null}function o(t,e,n){return n?.mode===e?`${t} do not support ${e} elevation mode`:null}function a(t,e){return null!=e?.featureExpressionInfo&&"0"!==e.featureExpressionInfo.expression?`${t} do not support featureExpressionInfo`:null}function s(t,e){e&&t.warn(".elevationInfo=",e)}n.d(e,{$7:()=>o,B:()=>r,XF:()=>s,tW:()=>a,w7:()=>i}),n(83047),n(16271);const u={mode:"absolute-height",offset:0},c={mode:"on-the-ground",offset:null}},38954:(t,e,n)=>{n.d(e,{A:()=>m,B:()=>d,C:()=>l,D:()=>f,E:()=>R,F:()=>O,H:()=>F,a:()=>D,b:()=>y,c:()=>a,d:()=>c,e:()=>w,f:()=>u,g:()=>M,h:()=>S,i:()=>s,j:()=>g,k:()=>A,l:()=>o,m:()=>E,n:()=>_,o:()=>L,q:()=>z,r:()=>b,s:()=>x,t:()=>I,u:()=>v,v:()=>C,w:()=>h,x:()=>j,y:()=>P,z:()=>p});var i=n(51850),r=n(34304);function o(t){const e=t[0],n=t[1],i=t[2];return Math.sqrt(e*e+n*n+i*i)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function s(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function m(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function p(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function M(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t}function g(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+i*i+r*r)}function x(t,e){const n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return n*n+i*i+r*r}function A(t){const e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],i=e[1],r=e[2];let o=n*n+i*i+r*r;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function w(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],u=n[2];return t[0]=r*u-o*s,t[1]=o*a-i*u,t[2]=i*s-r*a,t}function E(t,e,n,i){const r=e[0],o=e[1],a=e[2];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=a+i*(n[2]-a),t}function I(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12],t[1]=n[1]*i+n[5]*r+n[9]*o+n[13],t[2]=n[2]*i+n[6]*r+n[10]*o+n[14],t}function L(t,e,n){const i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t}function C(t,e,n){const i=n[0],r=n[1],o=n[2],a=n[3],s=e[0],u=e[1],c=e[2],l=r*c-o*u,f=o*s-i*c,h=i*u-r*s,d=r*h-o*f,m=o*l-i*h,p=i*f-r*l,M=2*a;return t[0]=s+l*M+2*d,t[1]=u+f*M+2*m,t[2]=c+h*M+2*p,t}const T=(0,i.vt)(),q=(0,i.vt)();function z(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e,n){const i=n[0]-e[0],r=n[1]-e[1],o=n[2]-e[2];let a=i*i+r*r+o*o;return a>0?(a=1/Math.sqrt(a),t[0]=i*a,t[1]=r*a,t[2]=o*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const D=c,Z=l,N=f,O=g,j=x,F=o,P=A;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:u,angle:function(t,e){_(T,t),_(q,e);const n=w(T,q);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,i,r,o){const a=1-o,s=a*a,u=o*o,c=s*a,l=3*o*s,f=3*u*a,h=u*o;return t[0]=e[0]*c+n[0]*l+i[0]*f+r[0]*h,t[1]=e[1]*c+n[1]*l+i[1]*f+r[1]*h,t[2]=e[2]*c+n[2]*l+i[2]*f+r[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:a,cross:S,crossAndNormalize:function(t,e,n){const i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],u=n[2],c=r*u-o*s,l=o*a-i*u,f=i*s-r*a,h=Math.sqrt(c*c+l*l+f*f);return t[0]=c/h,t[1]=l/h,t[2]=f/h,t},direction:R,dist:O,distance:g,div:N,divide:f,dot:w,equals:function(t,e){if(t===e)return!0;const n=t[0],i=t[1],o=t[2],a=e[0],s=e[1],u=e[2],c=(0,r.FD)();return Math.abs(n-a)<=c*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-s)<=c*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(o-u)<=c*Math.max(1,Math.abs(o),Math.abs(u))},exactEquals:z,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,i,r,o){const a=o*o,s=a*(2*o-3)+1,u=a*(o-2)+o,c=a*(o-1),l=a*(3-2*o);return t[0]=e[0]*s+n[0]*u+i[0]*c+r[0]*l,t[1]=e[1]*s+n[1]*u+i[1]*c+r[1]*l,t[2]=e[2]*s+n[2]*u+i[2]*c+r[2]*l,t},inverse:b,len:F,length:o,lerp:E,max:p,min:m,mul:Z,multiply:l,negate:v,normalize:_,random:function(t,e=1){const n=r.Ov,i=2*n()*Math.PI,o=2*n()-1,a=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(i)*a,t[1]=Math.sin(i)*a,t[2]=o*e,t},rotateX:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0],o[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),o[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),o[1]=r[1],o[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,i){const r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),o[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),o[2]=r[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:M,scaleAndAdd:y,set:s,sign:d,sqrDist:j,sqrLen:P,squaredDistance:x,squaredLength:A,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:D,subtract:c,transformMat3:L,transformMat4:I,transformQuat:C},Symbol.toStringTag,{value:"Module"}))},61528:(t,e,n)=>{n.r(e),n.d(e,{default:()=>D});var i,r=n(31635),o=n(78888),a=n(49186),s=n(53966),u=n(34727),c=n(92071),l=n(74887),f=n(36708),h=n(10107),d=(n(44208),n(87811),n(36005)),m=n(40608),p=n(87024),M=n(38954),y=n(51850),g=n(73941),x=n(5443),A=n(16930),v=n(9762),b=n(4146),_=n(52136),w=n(18768),S=n(69208),E=n(16131),I=n(8303),L=n(25036),C=n(10873),T=n(58325),q=n(24212),z=n(97159);let R=class extends((0,w.b)((0,E.q)((0,I.A)((0,L.j)((0,c.P)((0,S.d)((0,_.p)(b.A)))))))){static{i=this}readModifications(t,e,n){this._modificationsSource={url:(0,z.f)(t,n),context:n}}initialize(){this.addHandles((0,f.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,f.OH))}constructor(t){super(t),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new A.A({wkid:4326,vcsWkid:115700}),this.fullExtent=new x.A(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this.rootTilesetJSON=null}set elevationInfo(t){null!=t&&"absolute-height"!==t.mode||this._set("elevationInfo",t),this._validateElevationInfo(t)}_verifyArray(t,e){if(!Array.isArray(t)||t.length<e)return!1;for(const e of t)if("number"!=typeof e)return!1;return!0}static{this.googleIMFullExtent={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850}}_initFullExtent(){const t=this.rootTilesetJSON?.root?.boundingVolume;if(!t)return;const{spatialReference:e}=this;if(t.box){const n=t?.box;if(n[3]>Z&&n[7]>Z&&n[11]>Z)return void(this.fullExtent=new x.A({...i.googleIMFullExtent,spatialReference:e}))}const n=this.rootTilesetJSON?.root?.transform,r=(0,y.vt)();if(t.region&&this._verifyArray(t.region,6)){const n=t.region,i=(0,u.KJ)(n[0]),r=(0,u.KJ)(n[1]),o=n[4],a=(0,u.KJ)(n[2]),s=(0,u.KJ)(n[3]),c=n[5];this.fullExtent=new x.A({xmin:i,ymin:r,zmin:o,xmax:a,ymax:s,zmax:c,spatialReference:e})}else if(t.sphere&&this._verifyArray(t.sphere,4)){const i=t.sphere,o=(0,y.fA)(i[0],i[1],i[2]),a=i[3]/Math.sqrt(3),s=(0,y.vt)();(0,M.d)(s,o,(0,y.fA)(a,a,a));const u=(0,y.vt)();if((0,M.f)(u,o,(0,y.fA)(a,a,a)),n&&this._verifyArray(n,16)){const t=n;(0,M.t)(r,s,t),(0,M.c)(s,r),(0,M.t)(r,u,t),(0,M.c)(u,r)}(0,v.projectBuffer)(s,g.Ro,0,s,A.A.WGS84,0),(0,v.projectBuffer)(u,g.Ro,0,u,A.A.WGS84,0);const c=(0,y.vt)(),l=(0,y.vt)();(0,M.A)(c,s,u),(0,M.z)(l,s,u),this.fullExtent=new x.A({xmin:c[0],ymin:c[1],zmin:c[2],xmax:l[0],ymax:l[1],zmax:l[2],spatialReference:e})}else if(t.box&&this._verifyArray(t.box,12)){const i=t.box,r=(0,y.fA)(i[0],i[1],i[2]),o=(0,y.fA)(i[3],i[4],i[5]),a=(0,y.fA)(i[6],i[7],i[8]),s=(0,y.fA)(i[9],i[10],i[11]),u=[];for(let t=0;t<8;++t)u.push((0,y.vt)());if((0,M.f)(u[0],r,o),(0,M.f)(u[0],u[0],a),(0,M.f)(u[0],u[0],s),(0,M.a)(u[1],r,o),(0,M.f)(u[1],u[1],a),(0,M.f)(u[1],u[1],s),(0,M.f)(u[2],r,o),(0,M.a)(u[2],u[2],a),(0,M.f)(u[2],u[2],s),(0,M.a)(u[3],r,o),(0,M.a)(u[3],u[3],a),(0,M.f)(u[3],u[3],s),(0,M.f)(u[4],r,o),(0,M.f)(u[4],u[4],a),(0,M.a)(u[4],u[4],s),(0,M.a)(u[5],r,o),(0,M.f)(u[5],u[5],a),(0,M.a)(u[5],u[5],s),(0,M.f)(u[6],r,o),(0,M.a)(u[6],u[6],a),(0,M.a)(u[6],u[6],s),(0,M.a)(u[7],r,o),(0,M.a)(u[7],u[7],a),(0,M.a)(u[7],u[7],s),n&&this._verifyArray(n,16)){const t=n;for(let e=0;e<8;++e)(0,M.t)(u[e],u[e],t)}const c=(0,y.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),l=(0,y.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let t=0;t<8;++t)(0,v.projectBuffer)(u[t],g.Ro,0,u[t],A.A.WGS84,0),(0,M.A)(l,l,u[t]),(0,M.z)(c,c,u[t]);this.fullExtent=new x.A({xmin:l[0],ymin:l[1],zmin:l[2],xmax:c[0],ymax:c[1],zmax:c[2],spatialReference:e})}}async load(t){return this.addResolvingPromise(this._doLoad(t)),this}async _doLoad(t){const e=null!=t?t.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:t=>{if(t.typeKeywords?.includes("IntegratedMesh"))return!0;throw new a.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},t)}catch(t){(0,l.QP)(t)}if(null!=this._modificationsSource){const e=await T.A.fromUrl(this._modificationsSource.url,this.spatialReference,t);this.setAtOrigin("modifications",e,this._modificationsSource.context.origin),this._modificationsSource=null}if(this.url){const t=(0,o.A)(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(t=>{this.rootTilesetJSON=t.data,this._initFullExtent()},t=>{(0,l.QP)(t),s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)});await t}}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},t=>{s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})}async fetchAttributionData(){return this.load().then(()=>({}))}_validateElevationInfo(t){const e="Integrated mesh 3d tiles layers";(0,q.XF)(s.A.getLogger(this),(0,q.B)(e,"absolute-height",t)),(0,q.XF)(s.A.getLogger(this),(0,q.tW)(e,t))}get isGroundReplacement(){return!!this.url?.match(/.+\.googleapis.com/)}};(0,r.Cg)([(0,h.MZ)({type:["IntegratedMesh3DTilesLayer"]})],R.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,h.MZ)({type:T.A,clonable:t=>t.clone()}),(0,p.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],R.prototype,"modifications",void 0),(0,r.Cg)([(0,d.w)(["web-scene","portal-item"],"modifications")],R.prototype,"readModifications",null),(0,r.Cg)([(0,h.MZ)({type:A.A})],R.prototype,"spatialReference",void 0),(0,r.Cg)([(0,h.MZ)({type:x.A})],R.prototype,"fullExtent",void 0),(0,r.Cg)([(0,h.MZ)(C.Yj)],R.prototype,"elevationInfo",null),(0,r.Cg)([(0,h.MZ)({type:["show","hide"]})],R.prototype,"listMode",void 0),(0,r.Cg)([(0,h.MZ)(C.OZ)],R.prototype,"url",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],R.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],R.prototype,"path",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],R.prototype,"minScale",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],R.prototype,"maxScale",void 0),R=i=(0,r.Cg)([(0,m.$)("esri.layers.IntegratedMesh3DTilesLayer")],R);const D=R,Z=7645211},76553:(t,e,n)=>{function i(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{H:()=>i})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[871],{159:(e,t,n)=>{n.d(t,{A:()=>u});var r,i=n(31635),o=n(65008),s=n(10107),l=(n(44208),n(53966),n(87811),n(40608)),a=n(99157);let u=r=class extends o.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,i.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,l.$)("esri.geometry.operators.support.GeographicTransformation")],u)},1626:(e,t,n)=>{n.d(t,{A:()=>p});var r,i=n(31635),o=n(4718),s=n(10107),l=(n(44208),n(53966),n(36005)),a=n(40608),u=n(43937),c=n(2485),f=n(72606);let p=r=class extends f.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,n,r){const i=e?.map(e=>e.toJSON(r)),{weights:o}=this;if(i&&o?.length&&i.length===o?.length){const e=100/o.reduce((e,t)=>e+t);let t=0;i.forEach((n,r)=>{n.start=t,t+=o[r]*e,n.stop=t})}t.colorRamps=i}readWeights(e,t){const n=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!n?.some(e=>e<0))return n}clone(){return new r({colorRamps:(0,o.o8)(this.colorRamps)})}};(0,i.Cg)([(0,s.MZ)({type:[c.A],json:{write:{isRequired:!0}}})],p.prototype,"colorRamps",void 0),(0,i.Cg)([(0,u.K)("colorRamps")],p.prototype,"writeColorRamps",null),(0,i.Cg)([(0,s.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[Number]})],p.prototype,"weights",void 0),(0,i.Cg)([(0,l.w)("weights",["colorRamps"])],p.prototype,"readWeights",null),p=r=(0,i.Cg)([(0,a.$)("esri.rest.support.MultipartColorRamp")],p)},2485:(e,t,n)=>{n.d(t,{A:()=>p});var r,i=n(31635),o=n(68197),s=n(4718),l=n(10107),a=n(56507),u=n(93223),c=n(40608),f=n(72606);let p=r=class extends f.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new r({fromColor:(0,s.o8)(this.fromColor),toColor:(0,s.o8)(this.toColor),algorithm:this.algorithm})}};(0,i.Cg)([(0,u.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],p.prototype,"algorithm",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"fromColor",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"toColor",void 0),(0,i.Cg)([(0,l.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=r=(0,i.Cg)([(0,c.$)("esri.rest.support.AlgorithmicColorRamp")],p)},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(37539);function i(e,t,n,i,o,s,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===s)return!0;const t=n+3*l;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r];return!0}const u=n+3*l;for(let t=n,r=s;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},20437:(e,t,n)=>{n.d(t,{A:()=>m});var r,i=n(31635),o=n(66552),s=n(25482),l=n(10107),a=n(56507),u=(n(44208),n(87811),n(93223)),c=n(36005),f=n(40608),p=n(80451),h=n(98453);const d=new o.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=class extends s.o{static{r=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?d.fromJSON(n.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,i.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,i.Cg)([(0,l.MZ)()],m.prototype,"description",void 0),(0,i.Cg)([(0,c.w)("description")],m.prototype,"readDescription",null),(0,i.Cg)([(0,l.MZ)({types:p.gK,json:{read:{reader:p.rS},write:!0}})],m.prototype,"domain",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,i.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],m.prototype,"length",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,i.Cg)([(0,u.e)(h.m)],m.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],m.prototype,"valueType",void 0),(0,i.Cg)([(0,c.w)("valueType",["description"])],m.prototype,"readValueType",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],m.prototype,"visible",void 0),m=r=(0,i.Cg)([(0,f.$)("esri.layers.support.Field")],m)},21312:(e,t,n)=>{n.d(t,{A:()=>m});var r,i=n(31635),o=n(10107),s=(n(44208),n(53966),n(87811),n(93223)),l=n(36005),a=n(40608),u=n(43937),c=n(5443),f=n(86738),p=n(82434);function h(e,t,n){const{x:r,y:i}=t;if(n<2)return{x:e[0]+r*e[2]+i*e[4],y:e[1]+r*e[3]+i*e[5]};if(2===n){const t=r*r,n=i*i,o=r*i;return{x:e[0]+r*e[2]+i*e[4]+t*e[6]+o*e[8]+n*e[10],y:e[1]+r*e[3]+i*e[5]+t*e[7]+o*e[9]+n*e[11]}}const o=r*r,s=i*i,l=r*i,a=o*r,u=o*i,c=r*s,f=i*s;return{x:e[0]+r*e[2]+i*e[4]+o*e[6]+l*e[8]+s*e[10]+a*e[12]+u*e[14]+c*e[16]+f*e[18],y:e[1]+r*e[3]+i*e[5]+o*e[7]+l*e[9]+s*e[11]+a*e[13]+u*e[15]+c*e[17]+f*e[19]}}function d(e,t,n){const{xmin:r,ymin:i,xmax:o,ymax:s,spatialReference:l}=t;let a=[];if(n<2)a.push({x:r,y:s}),a.push({x:o,y:s}),a.push({x:r,y:i}),a.push({x:o,y:i});else{let e=10;for(let t=0;t<e;t++)a.push({x:r,y:i+(s-i)*t/(e-1)}),a.push({x:o,y:i+(s-i)*t/(e-1)});e=8;for(let t=1;t<=e;t++)a.push({x:r+(o-r)*t/e,y:i}),a.push({x:r+(o-r)*t/e,y:s})}a=a.map(t=>h(e,t,n));const u=a.map(e=>e.x),f=a.map(e=>e.y);return new c.A({xmin:Math.min.apply(null,u),xmax:Math.max.apply(null,u),ymin:Math.min.apply(null,f),ymax:Math.max.apply(null,f),spatialReference:l})}let m=r=class extends p.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:n,coeffY:r}=t;if(!n?.length||!r?.length||n.length!==r.length)return null;const i=[];for(let e=0;e<n.length;e++)i.push(n[e]),i.push(r[e]);return i}writeForwardCoefficients(e,t,n){const r=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?r.push(e[t]):i.push(e[t]);t.coeffX=r,t.coeffY=i}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,n,r,i,o,s]=e,l=r*s-o*i,a=o*i-r*s;return[(o*n-t*s)/l,(r*n-t*i)/a,s/l,i/a,-o/l,-r/a]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:n,inverseCoeffY:r}=t;if(!n?.length||!r?.length||n.length!==r.length)return null;const i=[];for(let e=0;e<n.length;e++)i.push(n[e]),i.push(r[e]);return i}writeInverseCoefficients(e,t,n){const r=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?r.push(e[t]):i.push(e[t]);t.inverseCoeffX=r,t.inverseCoeffY=i}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=h(this.forwardCoefficients,e,this.polynomialOrder);return new f.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return d(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=h(this.inverseCoefficients,e,this.polynomialOrder);return new f.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return d(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new r({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],m.prototype,"polynomialOrder",void 0),(0,i.Cg)([(0,o.MZ)()],m.prototype,"forwardCoefficients",void 0),(0,i.Cg)([(0,l.w)("forwardCoefficients",["coeffX","coeffY"])],m.prototype,"readForwardCoefficients",null),(0,i.Cg)([(0,u.K)("forwardCoefficients")],m.prototype,"writeForwardCoefficients",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],m.prototype,"inverseCoefficients",null),(0,i.Cg)([(0,l.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],m.prototype,"readInverseCoefficients",null),(0,i.Cg)([(0,u.K)("inverseCoefficients")],m.prototype,"writeInverseCoefficients",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,s.e)({PolynomialXform:"polynomial"})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,a.$)("esri.layers.support.rasterTransforms.PolynomialTransform")],m)},30139:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var r,i=n(5443),o=n(86738),s=n(159),l=n(14140),a=n(51244),u=n(28435),c=n(6049),f=n(70834),p=n(6952),h=n(14636),d=n(73037),m=n(31635),y=(n(53966),n(44208),n(87811),n(49186),n(93223)),g=n(40608),w=n(82434);let v=r=class extends w.A{constructor(){super(...arguments),this.type="identity"}clone(){return new r}};(0,m.Cg)([(0,y.e)({IdentityXform:"identity"})],v.prototype,"type",void 0),v=r=(0,m.Cg)([(0,g.$)("esri.layers.support.rasterTransforms.IdentityTransform")],v);var b=n(21312);const x={GCSShiftXform:d.A,IdentityXform:v,PolynomialXform:b.A};function M(e){const t=e?.type;if(!t)return null;const n=x[e?.type];if(n){const t=new n;return t.read(e),t}return null}var C=n(85676),S=n(4095);function k(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:n}=e.getTransferableObject();return{result:t,transferList:n}}class A{convertVectorFieldData(e){const t=l.A.fromJSON(e.pixelBlock),n=k((0,h.FI)(t,e.type));return Promise.resolve(n)}convertPixelBlockToFeatures(e){const t=(0,u.L)({pixelBlock:l.A.fromJSON(e.pixelBlock),extent:i.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}computeStatisticsHistograms(e){const t=l.A.fromJSON(e.pixelBlock),n=(0,p.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(n)}async decode(e){return k(await(0,a.D)(e.data,e.options))}symbolize(e){e.pixelBlock=l.A.fromJSON(e.pixelBlock),e.extent=e.extent?i.A.fromJSON(e.extent):null;const t=k(this.symbolizer.symbolize(e));return Promise.resolve(t)}highlightPixels(e){const t=l.A.fromJSON(e.pixelBlock),n=l.A.fromJSON(e.renderedPixelBlock);return(0,u._F)(t,n,e.highlightOptions),Promise.resolve(n.toJSON())}async updateSymbolizer(e){this.symbolizer=C.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,c.vt)(e.rasterFunctionJSON)}async process(e){return k(this.rasterFunction.process({extent:i.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?l.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?o.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds}))}stretch(e){const t=k(this.symbolizer.simpleStretch(l.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,p.f4)(l.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,u.lD)(l.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),n=[];let r;return t&&(r=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:i,transferList:o}=e.getTransferableObject();r.set(t,i),o.forEach(e=>{n.includes(e)||n.push(e)})}})),Promise.resolve({result:r,transferList:n})}clipTile(e){const t=l.A.fromJSON(e.pixelBlock),n=k((0,u.J$)({...e,pixelBlock:t}));return Promise.resolve(n)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new l.A(e):null),n=(0,u.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let r,i=n;e.coefs&&(i=(0,u.$i)(n,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(r=(0,u.QF)(e.destDimension,e.gcsGrid),i=(0,h.Y2)(i,e.isUV?"vector-uv":"vector-magdir",r));const{result:o,transferList:s}=k(i);return{result:{pixelBlock:o,localNorthDirections:r},transferList:s}}async createFlowMesh(e,t){const n={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:r,indexData:i}=await(0,S.CW)(e.meshType,e.simulationSettings,n,t.signal);return{result:{vertexBuffer:r.buffer,indexBuffer:i.buffer},transferList:[r.buffer,i.buffer]}}async getProjectionOffsetGrid(e){const t=i.A.fromJSON(e.projectedExtent),n=i.A.fromJSON(e.srcBufferExtent);let r=null;e.datumTransformationSteps?.length&&(r=new s.A({steps:e.datumTransformationSteps})),await(0,f.Hh)();const o=e.rasterTransform?M(e.rasterTransform):null;return(0,f.l0)({...e,projectedExtent:t,srcBufferExtent:n,datumTransformation:r,rasterTransform:o})}}},31635:(e,t,n)=>{function r(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function i(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;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&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.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:()=>s,mS:()=>i}),Object.create,Object.create;var o="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 s(e){function t(t){e.error=e.hasError?new o(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}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}()}},34304:(e,t,n)=>{n.d(t,{DF:()=>a,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,s=Math.PI/180,l=180/Math.PI;function a(e){return e*s}function u(e){return e*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){r=e},toDegree:u,toRadian:a},Symbol.toStringTag,{value:"Module"}))},37539:(e,t,n)=>{n.d(t,{pO:()=>m,jd:()=>p,Tp:()=>h,w5:()=>f});var r=n(34727),i=n(83047),o=n(73941),s=n(79258);Math.PI;const l=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const f={2:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:w,2:m,4:R},5:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:w,2:m,4:R},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:y,7:null,9:null,10:y,1:function(e,t,n,r){const i=e[t]/_,o=N-2*Math.atan(Math.exp(-e[t+1]/_)),s=_+e[t+2],l=Math.cos(o)*s;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:m,11:function(e,t,n,r){y(e,t,n,r),w(n,r,n,r)},2:y,4:function(e,t,n,r){y(e,t,n,r),R(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(e,t,n,r){j(e,t,n,r),C(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){j(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){j(e,t,n,r),w(n,r,n,r)},2:j,4:m},1:{5:O,7:null,9:null,10:O,1:m,6:null,8:null,0:null,3:function(e,t,n,r){O(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){O(e,t,n,r),w(n,r,n,r)},2:O,4:function(e,t,n,r){O(e,t,n,r),R(n,r,n,r)}},6:{5:null,7:A,9:null,10:A,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:k,10:k,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:C,6:M,8:x,0:null,3:g,11:w,2:m,4:R},11:{5:v,7:null,9:null,10:v,1:function(e,t,n,r){v(e,t,n,r),C(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){v(e,t,n,r),g(n,r,n,r)},11:m,2:v,4:function(e,t,n,r){v(e,t,n,r),R(n,r,n,r)}}};function p(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=d(e,I.source),r=d(t,I.dest);return 0===n&&0===r?(0,c.aI)(e,t)?I.projector=m:I.projector=null:I.projector=f[n][r],I}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.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])}function y(e,t,n,r){n[r]=P*(e[t]/_),n[r+1]=P*(N-2*Math.atan(Math.exp(-e[t+1]/_))),n[r+2]=e[t+2]}function g(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,l=(0,r.qE)(T*e[t+1],-s,s),a=Math.sin(l);n[i++]=T*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]}(e,t,n,i,s.$O)}function w(e,t,n,r){n[r]=e[t]*z,n[r+1]=e[t+1]*z,n[r+2]=e[t+2]}function v(e,t,n,r){n[r]=e[t]*Z,n[r+1]=e[t+1]*Z,n[r+2]=e[t+2]}function b(e,t,n,r,i){const o=i+e[t+2],s=T*e[t+1],l=T*e[t],a=Math.cos(s)*o;n[r]=Math.cos(l)*a,n[r+1]=Math.sin(l)*a,n[r+2]=Math.sin(s)*o}function x(e,t,n,r){b(e,t,n,r,s.Sw.radius)}function M(e,t,n,r){b(e,t,n,r,s.sH.radius)}function C(e,t,n,r){b(e,t,n,r,s.$O.radius)}function S(e,t,n,i,o){const s=e[t],l=e[t+1],a=e[t+2],u=Math.sqrt(s*s+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),f=Math.atan2(l,s);n[i++]=P*f,n[i++]=P*c,n[i]=u-o}function k(e,t,n,r){S(e,t,n,r,s.Sw.radius)}function A(e,t,n,r){S(e,t,n,r,s.sH.radius)}function O(e,t,n,r){S(e,t,n,r,s.$O.radius)}function R(e,t,n,r){!function(e,t,n,r,i){const o=T*e[t],s=T*e[t+1],l=e[t+2],a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,s.$O)}function j(e,t,n,r){const i=u,o=e[t],l=e[t+1],a=e[t+2];let c,f,p,h,d,m,y,g,w,v,b,x,M,C,S,k,A,O,R,j,I;c=Math.abs(a),f=o*o+l*l,p=Math.sqrt(f),h=f+a*a,d=Math.sqrt(h),j=Math.atan2(l,o),m=a*a/h,y=f/h,C=i.a2/d,S=i.a3-i.a4/d,y>.3?(g=c/d*(1+y*(i.a1+C+m*S)/d),R=Math.asin(g),v=g*g,w=Math.sqrt(1-v)):(w=p/d*(1-m*(i.a5-C-y*S)/d),R=Math.acos(w),v=1-w*w,g=Math.sqrt(v)),b=1-s.$O.eccentricitySquared*v,x=s.$O.radius/Math.sqrt(b),M=i.a6*x,C=p-x*w,S=c-M*g,A=w*C+g*S,k=w*S-g*C,O=k/(M/b+A),R+=O,I=A+k*O/2,a<0&&(R=-R),n[r++]=P*j,n[r++]=P*R,n[r]=I}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},T=(0,r.kU)(1),P=(0,r.KJ)(1),N=.5*Math.PI,_=s.$O.radius,z=_*Math.PI/180,Z=180/(_*Math.PI)},39357:(e,t,n)=>{n.d(t,{H:()=>a});var r,i=n(31635),o=n(25482),s=n(10107),l=(n(44208),n(53966),n(87811),n(40608));let a=r=class extends o.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=r=(0,i.Cg)([(0,l.$)("esri.layers.support.CodedValue")],a)},40876:(e,t,n)=>{n.d(t,{Eq:()=>h,G1:()=>m,TS:()=>o,Tf:()=>w,V6:()=>i,Vm:()=>d,ay:()=>a,c1:()=>y,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!r[e]||!!r[e.toLowerCase()]}function o(e){return r[e]??r[e.toLowerCase()]}function s(e){return[...o(e)]}function l(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function a(e,t,n,r=1){const i=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return[Math.round(255*l(s,o,i+1/3)),Math.round(255*l(s,o,i)),Math.round(255*l(s,o,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const l=[0,0,0,1];let a;return o&&(a=s&r,s>>=n,l[3]=i*a/255),a=s&r,s>>=n,l[2]=i*a,a=s&r,s>>=n,l[1]=i*a,a=s&r,s>>=n,l[0]=i*a,l}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function f(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),p(t)}return p(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?m(e[3]):1,e}function h(e){let t=i(e)?o(e):null;return t??=f(e),t??=c(e),t}function d(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return g(e,0,1)}function y(e){return Math.round(g(e,0,255))}function g(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const w=2.2},51850:(e,t,n)=>{function r(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function o(e,t,n){return[e,t,n]}function s(e,t,n){return[e,t,n]}function l(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 a(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(t,{CN:()=>s,Cb:()=>y,Cw:()=>d,JP:()=>m,Un:()=>h,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>p,vt:()=>r});const p=[0,0,0],h=a(),d=u(),m=c(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:d,UNIT_Y:m,UNIT_Z:y,ZEROS:p,clone:i,create:r,freeze:s,fromArray:l,fromValues:o,ones:a,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},53177:(e,t,n)=>{n.d(t,{A:()=>f});var r,i=n(31635),o=n(4718),s=n(10107),l=(n(44208),n(53966),n(93223)),a=n(40608),u=n(39357),c=n(76357);let f=class extends c.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,o.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,s.MZ)({type:[u.H],json:{write:{isRequired:!0}}})],f.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.e)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=r=(0,i.Cg)([(0,a.$)("esri.layers.support.CodedValueDomain")],f)},62815:(e,t,n)=>{n.d(t,{N:()=>s});var r=n(83047),i=n(73941),o=n(21325);function s(e,t,n){if(null==t||null==n||n.vcsWkid||(0,o.aI)(t,n)||(0,i.xP)(t)||(0,i.xP)(n))return null;const s=(0,r.G9)(t)/(0,r.G9)(n);if(1===s)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,s);default:return null}}},65864:(e,t,n)=>{n.d(t,{$B:()=>m,Bi:()=>h,Rg:()=>p,U9:()=>c,ZC:()=>u,fT:()=>f,rS:()=>d,xD:()=>g});var r=n(5443),i=n(91075),o=n(48526),s=n(86738),l=n(39829),a=n(82799);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function c(e){return void 0!==e.points}function f(e){return void 0!==e.x&&void 0!==e.y}function p(e){return void 0!==e.paths||void 0!==e.curvePaths}function h(e){return void 0!==e.rings||void 0!==e.curveRings}function d(e){return null==e?null:e instanceof i.A?e:f(e)?s.A.fromJSON(e):p(e)?a.A.fromJSON(e):h(e)?l.A.fromJSON(e):c(e)?o.A.fromJSON(e):u(e)?r.A.fromJSON(e):null}function m(e){return e?f(e)?"esriGeometryPoint":p(e)?"esriGeometryPolyline":h(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":c(e)?"esriGeometryMultipoint":null:null}const y={esriGeometryPoint:s.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:l.A};function g(e){return e&&y[e]||null}},68197:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(40876),i=n(34727),o=n(56507);function s(e){return(0,i.qE)((0,o.Vr)(e),0,255)}function l(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class a{static blendColors(e,t,n,r=new a){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?a.fromArray(n,t):null}static fromHex(e,t=new a){const n=(0,r.oW)(e);return n?a.fromArray(n,t):null}static fromArray(e,t=new a){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?a.fromArray(n,t):null}static fromJSON(e){return null!=e?new a([e[0],e[1],e[2],(e[3]??255)/255]):void 0}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return null!=e?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?a.fromString(e,this):Array.isArray(e)?a.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof a||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,o=`#${l(this.r,r)}${l(this.g,r)}${l(this.b,r)}${i?l(Math.round(255*this.a),r):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=s(this.r),n=s(this.g),r=s(this.b);return 0===e||1!==this.a?[t,n,r,s(255*this.a)]:[t,n,r]}clone(){return new a(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}a.prototype.declaredClass="esri.Color"},72606:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(31635),i=n(25482),o=n(10107),s=(n(44208),n(53966),n(87811),n(40608));let l=class extends i.o{constructor(e){super(e),this.type=null}};(0,r.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,s.$)("esri.rest.support.ColorRamp")],l)},73037:(e,t,n)=>{n.d(t,{A:()=>u});var r,i=n(31635),o=n(10107),s=(n(44208),n(53966),n(87811),n(93223)),l=n(40608),a=n(82434);let u=r=class extends a.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new r({tolerance:this.tolerance})}};(0,i.Cg)([(0,s.e)({GCSShiftXform:"gcs-shift"})],u.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)()],u.prototype,"tolerance",void 0),u=r=(0,i.Cg)([(0,l.$)("esri.layers.support.rasterTransforms.GCSShiftTransform")],u)},76357:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(31635),i=n(66552),o=n(25482),s=n(10107),l=(n(44208),n(53966),n(87811),n(93223)),a=n(40608);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let c=class extends o.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,l.e)(u),(0,s.MZ)({json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),c=(0,r.Cg)([(0,a.$)("esri.layers.support.Domain")],c)},80451:(e,t,n)=>{n.d(t,{rS:()=>d,gK:()=>h}),n(44208);var r,i=n(53177),o=n(76357),s=n(31635),l=(n(53966),n(87811),n(49186),n(93223)),a=n(40608);let u=class extends o.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,s.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,a.$)("esri.layers.support.InheritedDomain")],u);var c,f=n(10107);let p=class extends o.A{static{c=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new c({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,f.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],p.prototype,"maxValue",void 0),(0,s.Cg)([(0,f.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],p.prototype,"minValue",void 0),(0,s.Cg)([(0,l.e)({range:"range"})],p.prototype,"type",void 0),p=c=(0,s.Cg)([(0,a.$)("esri.layers.support.RangeDomain")],p);const h={key:"type",base:o.A,typeMap:{range:p,"coded-value":i.A,inherited:u}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return p.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},82434:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(31635),i=n(25482),o=n(10107),s=(n(44208),n(53966),n(87811),n(40608));let l=class extends i.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"affectsPixelSize",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],l.prototype,"spatialReference",void 0),l=(0,r.Cg)([(0,s.$)("esri.layers.support.rasterTransforms.BaseRasterTransform")],l)},87317:(e,t,n)=>{n.d(t,{a:()=>v,b:()=>d,c:()=>c,d:()=>i,e:()=>b,f:()=>p,g:()=>s,h:()=>y,i:()=>h,l:()=>g,n:()=>m,s:()=>o,t:()=>w});var r=n(34304);function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function a(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function f(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.sqrt(n*n+r*r+i*i+o*o)}function p(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return n*n+r*r+i*i+o*o}function h(e){const t=e[0],n=e[1],r=e[2],i=e[3];return Math.sqrt(t*t+n*n+r*r+i*i)}function d(e){const t=e[0],n=e[1],r=e[2],i=e[3];return t*t+n*n+r*r+i*i}function m(e,t){const n=t[0],r=t[1],i=t[2],o=t[3];let s=n*n+r*r+i*i+o*o;return s>0&&(s=1/Math.sqrt(s),e[0]=n*s,e[1]=r*s,e[2]=i*s,e[3]=o*s),e}function y(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function g(e,t,n,r){const i=t[0],o=t[1],s=t[2],l=t[3];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e[3]=l+r*(n[3]-l),e}function w(e,t,n){const r=t[0],i=t[1],o=t[2],s=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*s,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*s,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*s,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*s,e}function v(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function b(e,t){const n=e[0],i=e[1],o=e[2],s=e[3],l=t[0],a=t[1],u=t[2],c=t[3],f=(0,r.FD)();return Math.abs(n-l)<=f*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(i-a)<=f*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-u)<=f*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))}const x=l,M=a,C=u,S=f,k=p,A=h,O=d;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:i,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:S,distance:f,div:C,divide:u,dot:y,equals:b,exactEquals:v,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:A,length:h,lerp:g,max:function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},min:function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},mul:M,multiply:a,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:m,random:function(e,t=1){const n=r.Ov;let i,o,s,l,a,u;do{i=2*n()-1,o=2*n()-1,a=i*i+o*o}while(a>=1);do{s=2*n()-1,l=2*n()-1,u=s*s+l*l}while(u>=1);const c=Math.sqrt((1-a)/u);return e[0]=t*i,e[1]=t*o,e[2]=t*s*c,e[3]=t*l*c,e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e},scale:c,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},set:o,sqrDist:k,sqrLen:O,squaredDistance:p,squaredLength:d,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:x,subtract:l,transformMat4:w,transformQuat:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],l=n[1],a=n[2],u=n[3],c=u*r+l*o-a*i,f=u*i+a*r-s*o,p=u*o+s*i-l*r,h=-s*r-l*i-a*o;return e[0]=c*u+h*-s+f*-a-p*-l,e[1]=f*u+h*-l+p*-s-c*-a,e[2]=p*u+h*-a+c*-l-f*-s,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},91829:(e,t,n)=>{function r(){return[0,0,0,0]}function i(e){return[e[0],e[1],e[2],e[3]]}function o(e,t,n,r){return[e,t,n,r]}function s(e,t,n,r){return[e,t,n,r]}function l(e,t=[0,0,0,0]){const n=Math.min(4,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function a(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function c(){return o(0,1,0,0)}function f(){return o(0,0,1,0)}function p(){return o(0,0,0,1)}n.d(t,{CN:()=>s,Un:()=>d,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0,0],d=a(),m=u(),y=c(),g=f(),w=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:w,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:h,clone:i,create:r,freeze:s,fromArray:l,fromValues:o,ones:a,unitW:p,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},93223:(e,t,n)=>{n.d(t,{e:()=>o});var r=n(66552),i=n(10107);function o(e,t={}){const n=e instanceof r.J?e:new r.J(e,t),{alwaysWriteDefaults:o,default:s,ignoreUnknown:l=!0,name:a,nonNullable:u,readOnly:c=!1}=t;return(0,i.MZ)({type:l?n.apiValues:String,json:{type:n.jsonValues,default:s,name:a,read:!c&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:o}},nonNullable:u,readOnly:c})}},95349:(e,t,n)=>{n.d(t,{g:()=>s,r:()=>l});var r=n(2485),i=n(72606),o=n(1626);const s={key:"type",base:i.A,typeMap:{algorithmic:r.A,multipart:o.A}};function l(e){return e?.type?"algorithmic"===e.type?r.A.fromJSON(e):"multipart"===e.type?o.A.fromJSON(e):null:null}},95488:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(11406);class i 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()}}}},98453:(e,t,n)=>{n.d(t,{m:()=>r});const r=new(n(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},98988:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>U,getTransformation:()=>G,getTransformations:()=>B,initializeProjection:()=>X,isEqualBaseGCS:()=>W,isLoaded:()=>T,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>N,load:()=>z,project:()=>Z,projectExtent:()=>oe,projectMany:()=>q,projectMultipoint:()=>Q,projectOrLoad:()=>F,projectOrLoadMany:()=>J,projectPoint:()=>H,projectPolygon:()=>re,projectPolyline:()=>te,projectWithZConversion:()=>L,projectWithoutEngine:()=>K,requiresLoad:()=>_,test:()=>D,tryProjectWithZConversion:()=>$,unload:()=>V});var r=n(49186),i=n(74887),o=n(62788),s=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),f=n(48526),p=n(83290),h=n(86738),d=n(39829),m=n(82799),y=n(16930),g=n(9762),w=n(37539);function v(e,t,n,r,i,o){return b[0]=e,b[1]=t,b[2]=n,(0,g.projectBuffer)(b,r,0,i,o,0)}const b=(0,l.vt)();let x=0;class M{static fromGE(e){const t=new M;return t._wkt=e.wkt,t._wkid=e.wkid,t._isInverse=e.isInverse,t}constructor(e){this.uid=x++,e?(this._wkt=null!=e.wkt?e.wkt:null,this._wkid=null!=e.wkid?e.wkid:-1,this._isInverse=null!=e.isInverse&&!0===e.isInverse):(this._wkt=null,this._wkid=-1,this._isInverse=!1)}get wkt(){return this._wkt}set wkt(e){this._wkt=e,this.uid=x++}get wkid(){return this._wkid}set wkid(e){this._wkid=e,this.uid=x++}get isInverse(){return this._isInverse}set isInverse(e){this._isInverse=e,this.uid=x++}getInverse(){const e=new M;return e._wkt=this.wkt,e._wkid=this._wkid,e._isInverse=!this.isInverse,e}}class C{static cacheKey(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}static fromGE(e){const t=new C;let n="";for(const r of e.steps){const e=M.fromGE(r);t.steps.push(e),n+=e.uid.toString()+","}return t._cachedProjection={},t._gtlistentry=null,t._chain=n,t}constructor(e){if(this.steps=[],this._cachedProjection={},this._chain="",this._gtlistentry=null,e?.steps)for(const t of e.steps)t instanceof M?this.steps.push(t):this.steps.push(new M({wkid:t.wkid,wkt:t.wkt,isInverse:t.isInverse}))}getInverse(){const e=new C;e.steps=[];for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}getGTListEntry(){let e="";for(const t of this.steps)e+=t.uid.toString()+",";return e!==this._chain&&(this._gtlistentry=null,this._cachedProjection={},this._chain=e),this._gtlistentry}assignCachedGe(e,t,n){this._cachedProjection[C.cacheKey(e,t)]=n}getCachedGeTransformation(e,t){let n="";for(const e of this.steps)n+=e.uid.toString()+",";n!==this._chain&&(this._gtlistentry=null,this._cachedProjection={},this._chain=n);const r=this._cachedProjection[C.cacheKey(e,t)];return void 0===r?null:r}}var S=n(21325),k=n(62815);let A=null,O=null,R=null,j={};const I=new s.I;function T(){return!!A&&(0,p.i)()}function P(){return!!T()||((0,o.gc)(I),z(),!1)}function N(e,t){return!e||!t||U(e,t)||P()}function _(e,t){return!U(e,t)&&!T()}function z(e){return null==R&&(R=Promise.all([(0,p.l)(),n.e(9930).then(n.bind(n,49930)).then(e=>e.g),n.e(2731).then(n.bind(n,12731))])),R.then(([,t,{hydratedAdapter:n}])=>{(0,i.Te)(e),O=n,A=t.default,A._enableProjection(p.p),I.notify()})}function Z(e,t,n=null,r=null){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),q(O,e,e[0].spatialReference,t,n,r)):((0,a.f)(e),q(O,[e],e.spatialReference,t,n,r)[0])}function q(e,t,n,r,i=null,o=null){if(null==n||null==r)return t;if(U(n,r,i))return t.map(e=>K(e,n,r));if(null==i&&(0,u.jA)(n))return t.map(e=>K(e,n,y.A.WGS84)).map(e=>$(e,r));if(null==i&&(0,u.jA)(r))return t.map(e=>$(e,y.A.WGS84)).map(e=>K(e,y.A.WGS84,r));if(null==i){const e=C.cacheKey(n,r);void 0!==j[e]?i=j[e]:(null==(i=G(n,r,void 0))&&(i=new C),j[e]=i)}if(null==A||null==e)throw new E;return null!=o?A._project(e,t,n,r,i,o):A._project(e,t,n,r,i)}function F(e,t){const n=J([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 J(e,t){if(!T())for(const n of e)if(null!=n&&!(0,S.aI)(n.spatialReference,t)&&(0,S.fn)(n.spatialReference)&&(0,S.fn)(t)&&!U(n.spatialReference,t))return(0,o.gc)(I),{pending:z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?$(e,t):null)}}function G(e,t,n=null){if(null==e||null==t)return null;if(null==A||null==O)throw new E;const r=A._getTransformation(O,e,t,n,n?.spatialReference);return null!==r?C.fromGE(r):null}function B(e,t,n=null){if(null==A||null==O)throw new E;const r=A._getTransformationBySuitability(O,e,t,n,n?.spatialReference);if(null!==r){const e=[];for(const t of r)e.push(C.fromGE(t));return e}return[]}class E extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function V(){A=null,O=null,R=null,j={}}const D={get loadPromise(){return R}};function $(e,t){try{const n=Z(e,t);if(null==n)return null;"xmin"in e&&"xmin"in n&&(n.zmin=e.zmin,n.zmax=e.zmax);const r=(0,k.N)(n.type,e.spatialReference,t);return null!=r&&r(n),n}catch(e){if(!(e instanceof E))throw e;return null}}async function L(e,t,n){const r=e.spatialReference;return null!=r&&null!=t&&await X(r,t,null,n),$(e,t)}function U(e,t,n){return!n&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,w.jd)(e,t))}function W(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const n=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),r=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return n&&r}async function X(e,t,n,r){if(T())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,geographicTransformation:i}of e)if(t&&n&&!U(t,n,i))return z(r)}else if(e&&t&&!U(e,t,n))return z(r);return(0,i.NO)(r)}function K(e,t,n){return e?"x"in e?Y(e,t,new h.A,n,0):"xmin"in e?se(e,t,new c.A,n,0):"rings"in e?ie(e,t,new d.A,n,0):"paths"in e?ne(e,t,new m.A,n,0):"points"in e?ee(e,t,new f.A,n,0):null:null}function H(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ae[0]=e.x,ae[1]=e.y;const o=e.z;return ae[2]=void 0!==o?o:i,(0,g.projectBuffer)(ae,t,0,ae,r,0)?(n.x=ae[0],n.y=ae[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ae[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,i){const{points:o,hasZ:s,hasM:l}=e,a=[],c=o.length,f=[];for(const e of o)f.push(e[0],e[1],s?e[2]:i);if(!(0,g.projectBuffer)(f,t,0,f,r,0,c))return null;const p=s||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=f[t],r=f[t+1];p&&l?a.push([n,r,f[t+2],o[e][3]]):p?a.push([n,r,f[t+2]]):l?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=s,n.hasM=l,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,i){const{paths:o,hasZ:s,hasM:l}=e,a=[];if(!le(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.paths=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function re(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,i){const{rings:o,hasZ:s,hasM:l}=e,a=[];if(!le(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.rings=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function oe(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,r)}function se(e,t,n,r,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:c,hasM:f}=e;if(!v(o,s,c?e.zmin:i,t,ae,r))return null;const p=c||(0,u.xP)(r);return n.xmin=ae[0],n.ymin=ae[1],p&&(n.zmin=ae[2]),v(l,a,c?e.zmax:i,t,ae,r)?(n.xmax=ae[0],n.ymax=ae[1],p&&(n.zmax=ae[2]),f&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function le(e,t,n,r,i,o,s=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:s);if(!(0,g.projectBuffer)(l,r,0,l,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const r of t)c&&n?e.push([l[a++],l[a++],l[a++],r[3]]):c?e.push([l[a++],l[a++],l[a++]]):n?(e.push([l[a++],l[a++],r[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ae=(0,l.vt)()},99157:(e,t,n)=>{n.d(t,{A:()=>a});var r,i=n(31635),o=n(65008),s=n(10107),l=(n(44208),n(53966),n(87811),n(40608));let a=r=class extends o.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,i.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,l.$)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2603],{34304:(t,n,a)=>{a.d(n,{DF:()=>c,FD:()=>o,Ov:()=>e,ct:()=>i});let r=1e-6;function o(){return r}const e=Math.random,u=Math.PI/180,s=180/Math.PI;function c(t){return t*u}function i(t){return t*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:e,equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:o,setEpsilon:function(t){r=t},toDegree:i,toRadian:c},Symbol.toStringTag,{value:"Module"}))},58083:(t,n,a)=>{a.d(n,{$0:()=>d,$h:()=>S,B8:()=>i,C:()=>e,D_:()=>s,N9:()=>x,O7:()=>D,Tl:()=>M,X_:()=>v,aI:()=>F,e$:()=>l,eL:()=>b,hM:()=>q,hZ:()=>u,hs:()=>f,kN:()=>m,l:()=>y,lw:()=>h,mg:()=>c,o1:()=>O,sC:()=>_,t2:()=>I,t5:()=>T,tZ:()=>P,ut:()=>N});var r=a(51850),o=a(34304);function e(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,a,r,o,e,u,s,c,i,h,M,f,l,b,m,d){return t[0]=n,t[1]=a,t[2]=r,t[3]=o,t[4]=e,t[5]=u,t[6]=s,t[7]=c,t[8]=i,t[9]=h,t[10]=M,t[11]=f,t[12]=l,t[13]=b,t[14]=m,t[15]=d,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function c(t,n){if(t===n){const a=n[1],r=n[2],o=n[3],e=n[6],u=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=a,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=e,t[11]=n[14],t[12]=o,t[13]=u,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function i(t,n){const a=n[0],r=n[1],o=n[2],e=n[3],u=n[4],s=n[5],c=n[6],i=n[7],h=n[8],M=n[9],f=n[10],l=n[11],b=n[12],m=n[13],d=n[14],q=n[15],x=a*s-r*u,g=a*c-o*u,p=a*i-e*u,_=r*c-o*s,v=r*i-e*s,y=o*i-e*c,O=h*m-M*b,D=h*d-f*b,S=h*q-l*b,T=M*d-f*m,R=M*q-l*m,I=f*q-l*d;let F=x*I-g*R+p*T+_*S-v*D+y*O;return F?(F=1/F,t[0]=(s*I-c*R+i*T)*F,t[1]=(o*R-r*I-e*T)*F,t[2]=(m*y-d*v+q*_)*F,t[3]=(f*v-M*y-l*_)*F,t[4]=(c*S-u*I-i*D)*F,t[5]=(a*I-o*S+e*D)*F,t[6]=(d*p-b*y-q*g)*F,t[7]=(h*y-f*p+l*g)*F,t[8]=(u*R-s*S+i*O)*F,t[9]=(r*S-a*R-e*O)*F,t[10]=(b*v-m*p+q*x)*F,t[11]=(M*p-h*v-l*x)*F,t[12]=(s*D-u*T-c*O)*F,t[13]=(a*T-r*D+o*O)*F,t[14]=(m*g-b*_-d*x)*F,t[15]=(h*_-M*g+f*x)*F,t):null}function h(t,n,a){const r=n[0],o=n[1],e=n[2],u=n[3],s=n[4],c=n[5],i=n[6],h=n[7],M=n[8],f=n[9],l=n[10],b=n[11],m=n[12],d=n[13],q=n[14],x=n[15];let g=a[0],p=a[1],_=a[2],v=a[3];return t[0]=g*r+p*s+_*M+v*m,t[1]=g*o+p*c+_*f+v*d,t[2]=g*e+p*i+_*l+v*q,t[3]=g*u+p*h+_*b+v*x,g=a[4],p=a[5],_=a[6],v=a[7],t[4]=g*r+p*s+_*M+v*m,t[5]=g*o+p*c+_*f+v*d,t[6]=g*e+p*i+_*l+v*q,t[7]=g*u+p*h+_*b+v*x,g=a[8],p=a[9],_=a[10],v=a[11],t[8]=g*r+p*s+_*M+v*m,t[9]=g*o+p*c+_*f+v*d,t[10]=g*e+p*i+_*l+v*q,t[11]=g*u+p*h+_*b+v*x,g=a[12],p=a[13],_=a[14],v=a[15],t[12]=g*r+p*s+_*M+v*m,t[13]=g*o+p*c+_*f+v*d,t[14]=g*e+p*i+_*l+v*q,t[15]=g*u+p*h+_*b+v*x,t}function M(t,n,a){const r=a[0],o=a[1],e=a[2];if(n===t)t[12]=n[0]*r+n[4]*o+n[8]*e+n[12],t[13]=n[1]*r+n[5]*o+n[9]*e+n[13],t[14]=n[2]*r+n[6]*o+n[10]*e+n[14],t[15]=n[3]*r+n[7]*o+n[11]*e+n[15];else{const a=n[0],u=n[1],s=n[2],c=n[3],i=n[4],h=n[5],M=n[6],f=n[7],l=n[8],b=n[9],m=n[10],d=n[11];t[0]=a,t[1]=u,t[2]=s,t[3]=c,t[4]=i,t[5]=h,t[6]=M,t[7]=f,t[8]=l,t[9]=b,t[10]=m,t[11]=d,t[12]=a*r+i*o+l*e+n[12],t[13]=u*r+h*o+b*e+n[13],t[14]=s*r+M*o+m*e+n[14],t[15]=c*r+f*o+d*e+n[15]}return t}function f(t,n,a){const r=a[0],o=a[1],e=a[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*o,t[5]=n[5]*o,t[6]=n[6]*o,t[7]=n[7]*o,t[8]=n[8]*e,t[9]=n[9]*e,t[10]=n[10]*e,t[11]=n[11]*e,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function l(t,n,a,r){let u=r[0],s=r[1],c=r[2],i=Math.sqrt(u*u+s*s+c*c);if(i<=(0,o.FD)())return void e(t,n);i=1/i,u*=i,s*=i,c*=i;const h=Math.sin(a),M=Math.cos(a),f=1-M,l=n[0],b=n[1],m=n[2],d=n[3],q=n[4],x=n[5],g=n[6],p=n[7],_=n[8],v=n[9],y=n[10],O=n[11],D=u*u*f+M,S=s*u*f+c*h,T=c*u*f-s*h,R=u*s*f-c*h,I=s*s*f+M,F=c*s*f+u*h,N=u*c*f+s*h,P=s*c*f-u*h,j=c*c*f+M;t[0]=l*D+q*S+_*T,t[1]=b*D+x*S+v*T,t[2]=m*D+g*S+y*T,t[3]=d*D+p*S+O*T,t[4]=l*R+q*I+_*F,t[5]=b*R+x*I+v*F,t[6]=m*R+g*I+y*F,t[7]=d*R+p*I+O*F,t[8]=l*N+q*P+_*j,t[9]=b*N+x*P+v*j,t[10]=m*N+g*P+y*j,t[11]=d*N+p*P+O*j,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function b(t,n,a){const r=Math.sin(a),o=Math.cos(a),e=n[4],u=n[5],s=n[6],c=n[7],i=n[8],h=n[9],M=n[10],f=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=e*o+i*r,t[5]=u*o+h*r,t[6]=s*o+M*r,t[7]=c*o+f*r,t[8]=i*o-e*r,t[9]=h*o-u*r,t[10]=M*o-s*r,t[11]=f*o-c*r,t}function m(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function d(t,n,a){if(0===n)return s(t);let r=a[0],e=a[1],u=a[2],c=Math.sqrt(r*r+e*e+u*u);if(c<=(0,o.FD)())return null;c=1/c,r*=c,e*=c,u*=c;const i=Math.sin(n),h=Math.cos(n),M=1-h;return t[0]=r*r*M+h,t[1]=e*r*M+u*i,t[2]=u*r*M-e*i,t[3]=0,t[4]=r*e*M-u*i,t[5]=e*e*M+h,t[6]=u*e*M+r*i,t[7]=0,t[8]=r*u*M+e*i,t[9]=e*u*M-r*i,t[10]=u*u*M+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function q(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=a,t[7]=0,t[8]=0,t[9]=-a,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function x(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=a,t[2]=0,t[3]=0,t[4]=-a,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n,a){const r=n[0],o=n[1],e=n[2],u=n[3],s=r+r,c=o+o,i=e+e,h=r*s,M=r*c,f=r*i,l=o*c,b=o*i,m=e*i,d=u*s,q=u*c,x=u*i;return t[0]=1-(l+m),t[1]=M+x,t[2]=f-q,t[3]=0,t[4]=M-x,t[5]=1-(h+m),t[6]=b+d,t[7]=0,t[8]=f+q,t[9]=b-d,t[10]=1-(h+l),t[11]=0,t[12]=a[0],t[13]=a[1],t[14]=a[2],t[15]=1,t}const p=(0,r.vt)();function _(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function v(t,n){const a=n[0],r=n[1],o=n[2],e=n[4],u=n[5],s=n[6],c=n[8],i=n[9],h=n[10];return t[0]=Math.sqrt(a*a+r*r+o*o),t[1]=Math.sqrt(e*e+u*u+s*s),t[2]=Math.sqrt(c*c+i*i+h*h),t}function y(t,n){const a=n[0]+n[5]+n[10];let r=0;return a>0?(r=2*Math.sqrt(a+1),t[3]=.25*r,t[0]=(n[6]-n[9])/r,t[1]=(n[8]-n[2])/r,t[2]=(n[1]-n[4])/r):n[0]>n[5]&&n[0]>n[10]?(r=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/r,t[0]=.25*r,t[1]=(n[1]+n[4])/r,t[2]=(n[8]+n[2])/r):n[5]>n[10]?(r=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/r,t[0]=(n[1]+n[4])/r,t[1]=.25*r,t[2]=(n[6]+n[9])/r):(r=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/r,t[0]=(n[8]+n[2])/r,t[1]=(n[6]+n[9])/r,t[2]=.25*r),t}function O(t,n,a,r){const o=n[0],e=n[1],u=n[2],s=n[3],c=o+o,i=e+e,h=u+u,M=o*c,f=o*i,l=o*h,b=e*i,m=e*h,d=u*h,q=s*c,x=s*i,g=s*h,p=r[0],_=r[1],v=r[2];return t[0]=(1-(b+d))*p,t[1]=(f+g)*p,t[2]=(l-x)*p,t[3]=0,t[4]=(f-g)*_,t[5]=(1-(M+d))*_,t[6]=(m+q)*_,t[7]=0,t[8]=(l+x)*v,t[9]=(m-q)*v,t[10]=(1-(M+b))*v,t[11]=0,t[12]=a[0],t[13]=a[1],t[14]=a[2],t[15]=1,t}function D(t,n,a,r,o){const e=n[0],u=n[1],s=n[2],c=n[3],i=e+e,h=u+u,M=s+s,f=e*i,l=e*h,b=e*M,m=u*h,d=u*M,q=s*M,x=c*i,g=c*h,p=c*M,_=r[0],v=r[1],y=r[2],O=o[0],D=o[1],S=o[2],T=(1-(m+q))*_,R=(l+p)*_,I=(b-g)*_,F=(l-p)*v,N=(1-(f+q))*v,P=(d+x)*v,j=(b+g)*y,A=(d-x)*y,w=(1-(f+m))*y;return t[0]=T,t[1]=R,t[2]=I,t[3]=0,t[4]=F,t[5]=N,t[6]=P,t[7]=0,t[8]=j,t[9]=A,t[10]=w,t[11]=0,t[12]=a[0]+O-(T*O+F*D+j*S),t[13]=a[1]+D-(R*O+N*D+A*S),t[14]=a[2]+S-(I*O+P*D+w*S),t[15]=1,t}function S(t,n,a,r,o,e,u){const s=1/(a-n),c=1/(o-r),i=1/(e-u);return t[0]=2*e*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*e*c,t[6]=0,t[7]=0,t[8]=(a+n)*s,t[9]=(o+r)*c,t[10]=(u+e)*i,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*e*2*i,t[15]=0,t}function T(t,n,a,r){const e=n[0],u=n[1],c=n[2];let i=e-a[0],h=u-a[1],M=c-a[2];const f=(0,o.FD)();if(Math.abs(i)<f&&Math.abs(h)<f&&Math.abs(M)<f)return void s(t);let l=1/Math.sqrt(i*i+h*h+M*M);i*=l,h*=l,M*=l;const b=r[0],m=r[1],d=r[2];let q=m*M-d*h,x=d*i-b*M,g=b*h-m*i;l=Math.sqrt(q*q+x*x+g*g),l?(l=1/l,q*=l,x*=l,g*=l):(q=0,x=0,g=0);let p=h*g-M*x,_=M*q-i*g,v=i*x-h*q;l=Math.sqrt(p*p+_*_+v*v),l?(l=1/l,p*=l,_*=l,v*=l):(p=0,_=0,v=0),t[0]=q,t[1]=p,t[2]=i,t[3]=0,t[4]=x,t[5]=_,t[6]=h,t[7]=0,t[8]=g,t[9]=v,t[10]=M,t[11]=0,t[12]=-(q*e+x*u+g*c),t[13]=-(p*e+_*u+v*c),t[14]=-(i*e+h*u+M*c),t[15]=1}function R(t,n,a){return t[0]=n[0]-a[0],t[1]=n[1]-a[1],t[2]=n[2]-a[2],t[3]=n[3]-a[3],t[4]=n[4]-a[4],t[5]=n[5]-a[5],t[6]=n[6]-a[6],t[7]=n[7]-a[7],t[8]=n[8]-a[8],t[9]=n[9]-a[9],t[10]=n[10]-a[10],t[11]=n[11]-a[11],t[12]=n[12]-a[12],t[13]=n[13]-a[13],t[14]=n[14]-a[14],t[15]=n[15]-a[15],t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function F(t,n){if(t===n)return!0;const a=t[0],r=t[1],e=t[2],u=t[3],s=t[4],c=t[5],i=t[6],h=t[7],M=t[8],f=t[9],l=t[10],b=t[11],m=t[12],d=t[13],q=t[14],x=t[15],g=n[0],p=n[1],_=n[2],v=n[3],y=n[4],O=n[5],D=n[6],S=n[7],T=n[8],R=n[9],I=n[10],F=n[11],N=n[12],P=n[13],j=n[14],A=n[15],w=(0,o.FD)();return Math.abs(a-g)<=w*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(r-p)<=w*Math.max(1,Math.abs(r),Math.abs(p))&&Math.abs(e-_)<=w*Math.max(1,Math.abs(e),Math.abs(_))&&Math.abs(u-v)<=w*Math.max(1,Math.abs(u),Math.abs(v))&&Math.abs(s-y)<=w*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(c-O)<=w*Math.max(1,Math.abs(c),Math.abs(O))&&Math.abs(i-D)<=w*Math.max(1,Math.abs(i),Math.abs(D))&&Math.abs(h-S)<=w*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(M-T)<=w*Math.max(1,Math.abs(M),Math.abs(T))&&Math.abs(f-R)<=w*Math.max(1,Math.abs(f),Math.abs(R))&&Math.abs(l-I)<=w*Math.max(1,Math.abs(l),Math.abs(I))&&Math.abs(b-F)<=w*Math.max(1,Math.abs(b),Math.abs(F))&&Math.abs(m-N)<=w*Math.max(1,Math.abs(m),Math.abs(N))&&Math.abs(d-P)<=w*Math.max(1,Math.abs(d),Math.abs(P))&&Math.abs(q-j)<=w*Math.max(1,Math.abs(q),Math.abs(j))&&Math.abs(x-A)<=w*Math.max(1,Math.abs(x),Math.abs(A))}function N(t){const n=(0,o.FD)(),a=t[0],r=t[1],e=t[2],u=t[4],s=t[5],c=t[6],i=t[8],h=t[9],M=t[10];return Math.abs(1-(a*a+u*u+i*i))<=n&&Math.abs(1-(r*r+s*s+h*h))<=n&&Math.abs(1-(e*e+c*c+M*M))<=n}function P(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const j=h,A=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,a){return t[0]=n[0]+a[0],t[1]=n[1]+a[1],t[2]=n[2]+a[2],t[3]=n[3]+a[3],t[4]=n[4]+a[4],t[5]=n[5]+a[5],t[6]=n[6]+a[6],t[7]=n[7]+a[7],t[8]=n[8]+a[8],t[9]=n[9]+a[9],t[10]=n[10]+a[10],t[11]=n[11]+a[11],t[12]=n[12]+a[12],t[13]=n[13]+a[13],t[14]=n[14]+a[14],t[15]=n[15]+a[15],t},adjoint:function(t,n){const a=n[0],r=n[1],o=n[2],e=n[3],u=n[4],s=n[5],c=n[6],i=n[7],h=n[8],M=n[9],f=n[10],l=n[11],b=n[12],m=n[13],d=n[14],q=n[15];return t[0]=s*(f*q-l*d)-M*(c*q-i*d)+m*(c*l-i*f),t[1]=-(r*(f*q-l*d)-M*(o*q-e*d)+m*(o*l-e*f)),t[2]=r*(c*q-i*d)-s*(o*q-e*d)+m*(o*i-e*c),t[3]=-(r*(c*l-i*f)-s*(o*l-e*f)+M*(o*i-e*c)),t[4]=-(u*(f*q-l*d)-h*(c*q-i*d)+b*(c*l-i*f)),t[5]=a*(f*q-l*d)-h*(o*q-e*d)+b*(o*l-e*f),t[6]=-(a*(c*q-i*d)-u*(o*q-e*d)+b*(o*i-e*c)),t[7]=a*(c*l-i*f)-u*(o*l-e*f)+h*(o*i-e*c),t[8]=u*(M*q-l*m)-h*(s*q-i*m)+b*(s*l-i*M),t[9]=-(a*(M*q-l*m)-h*(r*q-e*m)+b*(r*l-e*M)),t[10]=a*(s*q-i*m)-u*(r*q-e*m)+b*(r*i-e*s),t[11]=-(a*(s*l-i*M)-u*(r*l-e*M)+h*(r*i-e*s)),t[12]=-(u*(M*d-f*m)-h*(s*d-c*m)+b*(s*f-c*M)),t[13]=a*(M*d-f*m)-h*(r*d-o*m)+b*(r*f-o*M),t[14]=-(a*(s*d-c*m)-u*(r*d-o*m)+b*(r*c-o*s)),t[15]=a*(s*f-c*M)-u*(r*f-o*M)+h*(r*c-o*s),t},copy:e,determinant:function(t){const n=t[0],a=t[1],r=t[2],o=t[3],e=t[4],u=t[5],s=t[6],c=t[7],i=t[8],h=t[9],M=t[10],f=t[11],l=t[12],b=t[13],m=t[14],d=t[15];return(n*u-a*e)*(M*d-f*m)-(n*s-r*e)*(h*d-f*b)+(n*c-o*e)*(h*m-M*b)+(a*s-r*u)*(i*d-f*l)-(a*c-o*u)*(i*m-M*l)+(r*c-o*s)*(i*b-h*l)},equals:F,exactEquals:I,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const a=n[0],r=n[1],o=n[2],e=n[3],u=a+a,s=r+r,c=o+o,i=a*u,h=r*u,M=r*s,f=o*u,l=o*s,b=o*c,m=e*u,d=e*s,q=e*c;return t[0]=1-M-b,t[1]=h+q,t[2]=f-d,t[3]=0,t[4]=h-q,t[5]=1-i-b,t[6]=l+m,t[7]=0,t[8]=f+d,t[9]=l-m,t[10]=1-i-M,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const a=p,r=-n[0],o=-n[1],e=-n[2],u=n[3],s=n[4],c=n[5],i=n[6],h=n[7],M=r*r+o*o+e*e+u*u;return M>0?(a[0]=2*(s*u+h*r+c*e-i*o)/M,a[1]=2*(c*u+h*o+i*r-s*e)/M,a[2]=2*(i*u+h*e+s*o-c*r)/M):(a[0]=2*(s*u+h*r+c*e-i*o),a[1]=2*(c*u+h*o+i*r-s*e),a[2]=2*(i*u+h*e+s*o-c*r)),g(t,n,a),t},fromRotation:d,fromRotationTranslation:g,fromRotationTranslationScale:O,fromRotationTranslationScaleOrigin:D,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:m,fromXRotation:q,fromYRotation:function(t,n){const a=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-a,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=a,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:x,frustum:S,getRotation:y,getScale:v,getTranslation:_,hasIdentityRotation:P,identity:s,invert:i,invertOrIdentity:function(t,n){return i(t,n)||s(t),t},isOrthoNormal:N,lookAt:T,mul:j,multiply:h,multiplyScalar:function(t,n,a){return t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a,t[3]=n[3]*a,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=n[11]*a,t[12]=n[12]*a,t[13]=n[13]*a,t[14]=n[14]*a,t[15]=n[15]*a,t},multiplyScalarAndAdd:function(t,n,a,r){return t[0]=n[0]+a[0]*r,t[1]=n[1]+a[1]*r,t[2]=n[2]+a[2]*r,t[3]=n[3]+a[3]*r,t[4]=n[4]+a[4]*r,t[5]=n[5]+a[5]*r,t[6]=n[6]+a[6]*r,t[7]=n[7]+a[7]*r,t[8]=n[8]+a[8]*r,t[9]=n[9]+a[9]*r,t[10]=n[10]+a[10]*r,t[11]=n[11]+a[11]*r,t[12]=n[12]+a[12]*r,t[13]=n[13]+a[13]*r,t[14]=n[14]+a[14]*r,t[15]=n[15]+a[15]*r,t},ortho:function(t,n,a,r,o,e,u){const s=1/(n-a),c=1/(r-o),i=1/(e-u);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*i,t[11]=0,t[12]=(n+a)*s,t[13]=(o+r)*c,t[14]=(u+e)*i,t[15]=1,t},perspective:function(t,n,a,r,o){const e=1/Math.tan(n/2);let u;return t[0]=e/a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=o&&o!==1/0?(u=1/(r-o),t[10]=(o+r)*u,t[14]=2*o*r*u):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,n,a,r){const o=Math.tan(n.upDegrees*Math.PI/180),e=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),c=2/(u+s),i=2/(o+e);return t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=-(u-s)*c*.5,t[9]=(o-e)*i*.5,t[10]=r/(a-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*a/(a-r),t[15]=0,t},rotate:l,rotateX:b,rotateY:function(t,n,a){const r=Math.sin(a),o=Math.cos(a),e=n[0],u=n[1],s=n[2],c=n[3],i=n[8],h=n[9],M=n[10],f=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=e*o-i*r,t[1]=u*o-h*r,t[2]=s*o-M*r,t[3]=c*o-f*r,t[8]=e*r+i*o,t[9]=u*r+h*o,t[10]=s*r+M*o,t[11]=c*r+f*o,t},rotateZ:function(t,n,a){const r=Math.sin(a),o=Math.cos(a),e=n[0],u=n[1],s=n[2],c=n[3],i=n[4],h=n[5],M=n[6],f=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=e*o+i*r,t[1]=u*o+h*r,t[2]=s*o+M*r,t[3]=c*o+f*r,t[4]=i*o-e*r,t[5]=h*o-u*r,t[6]=M*o-s*r,t[7]=f*o-c*r,t},scale:f,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:A,subtract:R,targetTo:function(t,n,a,r){const o=n[0],e=n[1],u=n[2],s=r[0],c=r[1],i=r[2];let h=o-a[0],M=e-a[1],f=u-a[2],l=h*h+M*M+f*f;l>0&&(l=1/Math.sqrt(l),h*=l,M*=l,f*=l);let b=c*f-i*M,m=i*h-s*f,d=s*M-c*h;return l=b*b+m*m+d*d,l>0&&(l=1/Math.sqrt(l),b*=l,m*=l,d*=l),t[0]=b,t[1]=m,t[2]=d,t[3]=0,t[4]=M*d-f*m,t[5]=f*b-h*d,t[6]=h*m-M*b,t[7]=0,t[8]=h,t[9]=M,t[10]=f,t[11]=0,t[12]=o,t[13]=e,t[14]=u,t[15]=1,t},translate:M,transpose:c},Symbol.toStringTag,{value:"Module"}))},87317:(t,n,a)=>{a.d(n,{a:()=>g,b:()=>b,c:()=>h,d:()=>o,e:()=>p,f:()=>f,g:()=>u,h:()=>d,i:()=>l,l:()=>q,n:()=>m,s:()=>e,t:()=>x});var r=a(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function e(t,n,a,r,o){return t[0]=n,t[1]=a,t[2]=r,t[3]=o,t}function u(t,n,a){return t[0]=n[0]+a[0],t[1]=n[1]+a[1],t[2]=n[2]+a[2],t[3]=n[3]+a[3],t}function s(t,n,a){return t[0]=n[0]-a[0],t[1]=n[1]-a[1],t[2]=n[2]-a[2],t[3]=n[3]-a[3],t}function c(t,n,a){return t[0]=n[0]*a[0],t[1]=n[1]*a[1],t[2]=n[2]*a[2],t[3]=n[3]*a[3],t}function i(t,n,a){return t[0]=n[0]/a[0],t[1]=n[1]/a[1],t[2]=n[2]/a[2],t[3]=n[3]/a[3],t}function h(t,n,a){return t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a,t[3]=n[3]*a,t}function M(t,n){const a=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],e=n[3]-t[3];return Math.sqrt(a*a+r*r+o*o+e*e)}function f(t,n){const a=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],e=n[3]-t[3];return a*a+r*r+o*o+e*e}function l(t){const n=t[0],a=t[1],r=t[2],o=t[3];return Math.sqrt(n*n+a*a+r*r+o*o)}function b(t){const n=t[0],a=t[1],r=t[2],o=t[3];return n*n+a*a+r*r+o*o}function m(t,n){const a=n[0],r=n[1],o=n[2],e=n[3];let u=a*a+r*r+o*o+e*e;return u>0&&(u=1/Math.sqrt(u),t[0]=a*u,t[1]=r*u,t[2]=o*u,t[3]=e*u),t}function d(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function q(t,n,a,r){const o=n[0],e=n[1],u=n[2],s=n[3];return t[0]=o+r*(a[0]-o),t[1]=e+r*(a[1]-e),t[2]=u+r*(a[2]-u),t[3]=s+r*(a[3]-s),t}function x(t,n,a){const r=n[0],o=n[1],e=n[2],u=n[3];return t[0]=a[0]*r+a[4]*o+a[8]*e+a[12]*u,t[1]=a[1]*r+a[5]*o+a[9]*e+a[13]*u,t[2]=a[2]*r+a[6]*o+a[10]*e+a[14]*u,t[3]=a[3]*r+a[7]*o+a[11]*e+a[15]*u,t}function g(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function p(t,n){const a=t[0],o=t[1],e=t[2],u=t[3],s=n[0],c=n[1],i=n[2],h=n[3],M=(0,r.FD)();return Math.abs(a-s)<=M*Math.max(1,Math.abs(a),Math.abs(s))&&Math.abs(o-c)<=M*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(e-i)<=M*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(u-h)<=M*Math.max(1,Math.abs(u),Math.abs(h))}const _=s,v=c,y=i,O=M,D=f,S=l,T=b;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:o,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:O,distance:M,div:y,divide:i,dot:d,equals:p,exactEquals:g,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:S,length:l,lerp:q,max:function(t,n,a){return t[0]=Math.max(n[0],a[0]),t[1]=Math.max(n[1],a[1]),t[2]=Math.max(n[2],a[2]),t[3]=Math.max(n[3],a[3]),t},min:function(t,n,a){return t[0]=Math.min(n[0],a[0]),t[1]=Math.min(n[1],a[1]),t[2]=Math.min(n[2],a[2]),t[3]=Math.min(n[3],a[3]),t},mul:v,multiply:c,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:m,random:function(t,n=1){const a=r.Ov;let o,e,u,s,c,i;do{o=2*a()-1,e=2*a()-1,c=o*o+e*e}while(c>=1);do{u=2*a()-1,s=2*a()-1,i=u*u+s*s}while(i>=1);const h=Math.sqrt((1-c)/i);return t[0]=n*o,t[1]=n*e,t[2]=n*u*h,t[3]=n*s*h,t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t},scale:h,scaleAndAdd:function(t,n,a,r){return t[0]=n[0]+a[0]*r,t[1]=n[1]+a[1]*r,t[2]=n[2]+a[2]*r,t[3]=n[3]+a[3]*r,t},set:e,sqrDist:D,sqrLen:T,squaredDistance:f,squaredLength:b,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:_,subtract:s,transformMat4:x,transformQuat:function(t,n,a){const r=n[0],o=n[1],e=n[2],u=a[0],s=a[1],c=a[2],i=a[3],h=i*r+s*e-c*o,M=i*o+c*r-u*e,f=i*e+u*o-s*r,l=-u*r-s*o-c*e;return t[0]=h*i+l*-u+M*-c-f*-s,t[1]=M*i+l*-s+f*-u-h*-c,t[2]=f*i+l*-c+h*-s-M*-u,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},91829:(t,n,a)=>{function r(){return[0,0,0,0]}function o(t){return[t[0],t[1],t[2],t[3]]}function e(t,n,a,r){return[t,n,a,r]}function u(t,n,a,r){return[t,n,a,r]}function s(t,n=[0,0,0,0]){const a=Math.min(4,t.length);for(let r=0;r<a;++r)n[r]=t[r];return n}function c(){return e(1,1,1,1)}function i(){return e(1,0,0,0)}function h(){return e(0,1,0,0)}function M(){return e(0,0,1,0)}function f(){return e(0,0,0,1)}a.d(n,{CN:()=>u,Un:()=>b,ci:()=>s,fA:()=>e,o8:()=>o,uY:()=>l,vt:()=>r});const l=[0,0,0,0],b=c(),m=i(),d=h(),q=M(),x=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:b,UNIT_W:x,UNIT_X:m,UNIT_Y:d,UNIT_Z:q,ZEROS:l,clone:o,create:r,freeze:u,fromArray:s,fromValues:e,ones:c,unitW:f,unitX:i,unitY:h,unitZ:M,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[431],{431:(t,e,n)=>{n.d(e,{o6:()=>I,HY:()=>B,hx:()=>T,Jb:()=>F});var r=n(9318);function i(t,e,n){const r=e/3,i=new Uint32Array(n+1),s=new Uint32Array(n+1),o=(t,e)=>{t<e?i[t+1]++:s[e+1]++};for(let e=0;e<r;e++){const n=t[3*e],r=t[3*e+1],i=t[3*e+2];o(n,r),o(r,i),o(i,n)}let a=0,c=0;for(let t=0;t<n;t++){const e=i[t+1],n=s[t+1];i[t+1]=a,s[t+1]=c,a+=e,c+=n}const u=new Uint32Array(6*r),f=i[n],l=(t,e,n)=>{if(t<e){const r=i[t+1]++;u[2*r]=e,u[2*r+1]=n}else{const r=s[e+1]++;u[2*f+2*r]=t,u[2*f+2*r+1]=n}};for(let e=0;e<r;e++){const n=t[3*e],r=t[3*e+1],i=t[3*e+2];l(n,r,e),l(r,i,e),l(i,n,e)}const h=(t,e)=>{const n=2*t,r=e-t;for(let t=1;t<r;t++){const e=u[n+2*t],r=u[n+2*t+1];let i=t-1;for(;i>=0&&u[n+2*i]>e;i--)u[n+2*i+2]=u[n+2*i],u[n+2*i+3]=u[n+2*i+1];u[n+2*i+2]=e,u[n+2*i+3]=r}};for(let t=0;t<n;t++)h(i[t],i[t+1]),h(f+s[t],f+s[t+1]);const d=new Int32Array(3*r),_=(e,n)=>e===t[3*n]?0:e===t[3*n+1]?1:e===t[3*n+2]?2:-1,p=(t,e)=>{const n=_(t,e);d[3*e+n]=-1},E=(t,e,n,r)=>{const i=_(t,e);d[3*e+i]=r;const s=_(n,r);d[3*r+s]=e};for(let t=0;t<n;t++){let e=i[t];const n=i[t+1];let r=s[t];const o=s[t+1];for(;e<n&&r<o;){const n=u[2*e],i=u[2*f+2*r];n===i?(E(t,u[2*e+1],i,u[2*f+2*r+1]),e++,r++):n<i?(p(t,u[2*e+1]),e++):(p(i,u[2*f+2*r+1]),r++)}for(;e<n;)p(t,u[2*e+1]),e++;for(;r<o;)p(u[2*f+2*r],u[2*f+2*r+1]),r++}return d}var s=n(1843),o=n(3055),a=n(87811),c=n(38954),u=n(51850),f=n(34727);function l(t,e,n,r,i,s=2){const o=1/(Math.abs(n)+Math.abs(r)+Math.abs(i)),a=n*o,c=r*o,u=i<=0?(a>=0?1:-1)*(1-Math.abs(c)):a,f=i<=0?(c>=0?1:-1)*(1-Math.abs(a)):c,l=e*s;t[l]=h(u),t[l+1]=h(f)}function h(t){return(0,f.qE)(Math.round(32767*t),-32767,32767)}n(11868),n(34275);class d{updateSettings(t){this.settings=t,this._edgeHashFunction=t.reducedPrecision?g:A}write(t,e,n){R.seed=this._edgeHashFunction(n);const r=R.getIntRange(0,255),i=R.getIntRange(0,this.settings.variants-1),s=R.getFloat(),o=255*(.5*function(t){return Math.abs(t)**1.2*Math.sign(t)}(-(1-Math.min(s/.7,1))+Math.max(0,s-.7)/(1-.7))+.5);t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex),t.variantOffset.set(e,r),t.variantStroke.set(e,i),t.variantExtension.set(e,o)}}const _=new Float32Array(6),p=new Uint32Array(_.buffer),E=new Uint32Array(1);function A(t){return _[0]=t.position0[0],_[1]=t.position0[1],_[2]=t.position0[2],_[3]=t.position1[0],_[4]=t.position1[1],_[5]=t.position1[2],E[0]=31*(31*(31*(31*(31*(166811+p[0])+p[1])+p[2])+p[3])+p[4])+p[5],E[0]}function g(t){const e=_;e[0]=N(t.position0[0]),e[1]=N(t.position0[1]),e[2]=N(t.position0[2]),e[3]=N(t.position1[0]),e[4]=N(t.position1[1]),e[5]=N(t.position1[2]),E[0]=5381;for(let t=0;t<p.length;t++)E[0]=31*E[0]+p[t];return E[0]}const m=1e4;function N(t){return Math.round(t*m)/m}const S=(0,u.vt)(),R=new a.A;var y=n(93406);function I(t){const e=T(t.data,t.skipDeduplicate,t.indices,t.indicesLength);return U.updateSettings(t.writerSettings),G.updateSettings(t.writerSettings),(0,y.K)(e,U,G)}function T(t,e,n,s){if(e){const e=i(n,s,t.count);return new w(n,s,e,t)}const a=(0,r.b)(t.buffer,t.stride/4,{originalIndices:n}),c=i(a.indices,s,a.uniqueCount);return{faces:a.indices,facesLength:a.indices.length,neighbors:c,vertices:o.I$.createView(a.buffer)}}class w{constructor(t,e,n,r){this.faces=t,this.facesLength=e,this.neighbors=n,this.vertices=r}}const U=new class{constructor(){this._commonWriter=new d}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return o.gr.createBuffer(t)}write(t,e,n){this._commonWriter.write(t,e,n),(0,c.f)(S,n.faceNormal0,n.faceNormal1),(0,c.n)(S,S);const{typedBuffer:r,typedBufferStride:i}=t.normalCompressed;l(r,e,S[0],S[1],S[2],i)}},G=new class{constructor(){this._commonWriter=new d}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return o.In.createBuffer(t)}write(t,e,n){this._commonWriter.write(t,e,n);{const{typedBuffer:r,typedBufferStride:i}=t.normalCompressed;l(r,e,n.faceNormal0[0],n.faceNormal0[1],n.faceNormal0[2],i)}{const{typedBuffer:r,typedBufferStride:i}=t.normal2Compressed;l(r,e,n.faceNormal1[0],n.faceNormal1[1],n.faceNormal1[2],i)}}},F=(0,s.BP)().vec3f("position0").vec3f("position1"),B=(0,s.BP)().vec3f("position0").vec3f("position1").u16("componentIndex")},1843:(t,e,n)=>{n.d(e,{BP:()=>l,l5:()=>h});var r=n(20498),i=n(13030),s=n(90239),o=n(4431),a=n(620),c=n(85079);class u{constructor(t,e){this.layout=t,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e;for(const e of t.fields.keys()){const n=t.fields.get(e);this[e]=new n.constructor(this.buffer,n.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.buffer.byteLength/this.stride}get byteLength(){return this.buffer.byteLength}getField(t,e){const n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new u(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){const i=this.stride;if(i%4==0){const s=new Uint32Array(t.buffer,e*i,r*i/4);new Uint32Array(this.buffer,n*i,r*i/4).set(s)}else{const s=new Uint8Array(t.buffer,e*i,r*i);new Uint8Array(this.buffer,n*i,r*i).set(s)}return this}get cachedMemory(){return this.byteLength}dispose(){}}class f{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>this._fields.set(t[0],{...t[1],constructor:p(t[1].constructor)})))}freeze(){return this}get locations(){return(0,c.Xk)((0,o.U)(this))}vec2f16(t,e){return this._appendField(t,r.SX?i.ZD:i.gH,e),this}vec2f(t,e){return this._appendField(t,i.gH,e),this}vec2f64(t,e){return this._appendField(t,i.si,e),this}vec3f16(t,e){return this._appendField(t,r.SX?i.EC:i.xs,e),this}vec3f(t,e){return this._appendField(t,i.xs,e),this}vec3f64(t,e){return this._appendField(t,i.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.SX?i.jz:i.Eq,e),this}vec4f(t,e){return this._appendField(t,i.Eq,e),this}vec4f64(t,e){return this._appendField(t,i.Aj,e),this}mat3f(t,e){return this._appendField(t,i.jZ,e),this}mat3f64(t,e){return this._appendField(t,i.j0,e),this}mat4f(t,e){return this._appendField(t,i.Sx,e),this}mat4f64(t,e){return this._appendField(t,i.E$,e),this}vec4u8(t,e){return this._appendField(t,i.XP,e),this}f16(t,e){return this._appendField(t,r.SX?i.XW:i.Y$,e),this}f32(t,e){return this._appendField(t,i.Y$,e),this}f64(t,e){return this._appendField(t,i.qB,e),this}u8(t,e){return this._appendField(t,i.SL,e),this}u16(t,e){return this._appendField(t,i.h,e),this}i8(t,e){return this._appendField(t,i.bf,e),this}vec2i8(t,e){return this._appendField(t,i.D6,e),this}vec2i16(t,e){return this._appendField(t,i.mJ,e),this}vec2u8(t,e){return this._appendField(t,i.LC,e),this}vec2u16(t,e){return this._appendField(t,i.Yi,e),this}vec4u16(t,e){return this._appendField(t,i.Uz,e),this}u32(t,e){return this._appendField(t,i.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,a.vA)(!1,`${t} already added to vertex buffer layout`);const r=e.ElementCount*(0,s.GJ)(e.ElementType),i=this._stride;this._fields.set(t,{constructor:e,size:r,offset:i,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{const r=(0,s.GJ)(n.constructor.ElementType);t=Math.floor((t+r-1)/r)*r,n.offset=t,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new u(this,t)}createView(t){return new u(this,t)}clone(){const t=new f;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t.BufferType=this.BufferType,t}get stride(){return this._stride}get fields(){return this._fields}}function l(){return new f}class h{constructor(t){this.fields=new Array,t.fields.forEach((t,e)=>{const n={...t,constructor:_(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}const d=[i.Y$,i.gH,i.xs,i.Eq,i.jZ,i.Sx,i.qB,i.si,i.Xm,i.Aj,i.j0,i.E$,i.SL,i.LC,i.eI,i.XP,i.h,i.Yi,i.nS,i.Uz,i.P,i.An,i.H$,i.ml,i.bf,i.D6,i.m8,i.TX,i.Qt,i.mJ,i.Vp,i.E7,i.My,i.UL,i.zD,i.Y4];function _(t){return`${t.ElementType}_${t.ElementCount}`}function p(t){return E.get(t)}const E=new Map;d.forEach(t=>E.set(_(t),t))},3055:(t,e,n)=>{n.d(e,{I$:()=>o,In:()=>f,gr:()=>u});var r=n(4431),i=n(1843),s=n(85079);const o=(0,i.BP)().vec3f("position").u16("componentIndex").freeze(),a=(0,i.BP)().vec2u8("sideness").freeze(),c=(0,r.U)(a),u=(0,i.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").u16("componentIndex").u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),f=(0,i.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").vec2i16("normal2Compressed").u16("componentIndex").u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),l=(0,r.U)(u,1),h=(0,r.U)(f,1);(0,s._u)([c,l]),(0,s._u)([c,h])},4431:(t,e,n)=>{n.d(e,{U:()=>s}),n(44208);var r=n(63907),i=n(74038);function s(t,e=0){const n=t.stride;return Array.from(t.fields.keys()).map(s=>{const o=t.fields.get(s),a=o.constructor.ElementCount,c=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(o.constructor.ElementType),u=o.offset,f=o.optional?.glNormalized??!1;return new i._(s,a,c,u,n,f,e)})}},9318:(t,e,n)=>{n.d(e,{b:()=>s});var r=n(34727),i=n(97146);function s(t,e,n){const s=Array.isArray(t),f=s?t.length/e:t.byteLength/(4*e),l=s?t:new Uint32Array(t,0,f*e),h=n?.minReduction??0,d=n?.originalIndices||null,_=d?d.length:0,p=n?.componentOffsets||null;let E=0;if(p)for(let t=0;t<p.length-1;t++){const e=p[t+1]-p[t];e>E&&(E=e)}else E=f;const A=Math.floor(1.1*E)+1;(null==u||u.length<2*A)&&(u=new Uint32Array((0,r.cU)(2*A)));for(let t=0;t<2*A;t++)u[t]=0;let g=0;const m=!!p&&!!d,N=m?_:f;let S=(0,i.my)(f);const R=new Uint32Array(_),y=1.96;let I=0!==h?Math.ceil(4*y*y/(h*h)*h*(1-h)):N,T=1,w=p?p[1]:N;for(let t=0;t<N;t++){if(t===I){const e=1-g/t;if(e+y*Math.sqrt(e*(1-e)/t)<h)return null;I*=2}if(t===w){for(let t=0;t<2*A;t++)u[t]=0;if(d)for(let t=p[T-1];t<p[T];t++)R[t]=S[d[t]];w=p[++T]}const n=m?d[t]:t,r=n*e,i=c(l,r,e);let s=i%A,a=g;for(;0!==u[2*s+1];){if(u[2*s]===i){const t=u[2*s+1]-1;if(o(l,r,t*e,e)){a=S[t];break}}s++,s>=A&&(s-=A)}a===g&&(u[2*s]=i,u[2*s+1]=n+1,g++),S[n]=a}if(0!==h&&1-g/f<h)return null;if(m){for(let t=p[T-1];t<R.length;t++)R[t]=S[d[t]];S=(0,i.uW)(R)}const U=s?new Array(g):new Uint32Array(g*e);g=0;for(let t=0;t<N;t++)S[t]===g&&(a(l,(m?d[t]:t)*e,U,g*e,e),g++);if(d&&!m){const t=new Uint32Array(_);for(let e=0;e<t.length;e++)t[e]=S[d[e]];S=(0,i.uW)(t)}return{buffer:Array.isArray(U)?U:U.buffer,indices:S,uniqueCount:g}}function o(t,e,n,r){for(let i=0;i<r;i++)if(t[e+i]!==t[n+i])return!1;return!0}function a(t,e,n,r,i){for(let s=0;s<i;s++)n[r+s]=t[e+s]}function c(t,e,n){let r=0;for(let i=0;i<n;i++)r=t[e+i]+r|0,r=r+(r<<11)+(r>>>2)|0;return r>>>0}let u=null},11868:(t,e,n)=>{n.d(e,{Wz:()=>s,oe:()=>i});var r=n(34275);function i(t,e=!1){return t<=r.y9?e?new Array(t).fill(0):new Array(t):new Float32Array(t)}function s(t){return(Array.isArray(t)?t.length:t.byteLength/8)<=r.y9?Array.from(t):new Float32Array(t)}},34727:(t,e,n)=>{n.d(e,{$8:()=>R,Cc:()=>o,Hx:()=>p,Io:()=>S,KJ:()=>u,Sp:()=>h,XM:()=>f,YN:()=>l,ZH:()=>_,cU:()=>i,gg:()=>d,hs:()=>a,kU:()=>c,or:()=>I,pF:()=>w,pq:()=>T,qE:()=>s});const r=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return Math.min(Math.max(t,e),n)}function o(t,e,n){return t+(e-t)*n}function a(t,e,n,r,i){return o(r,i,(t-e)/(n-e))}function c(t){return t*Math.PI/180}function u(t){return 180*t/Math.PI}function f(t){return Math.acos(s(t,-1,1))}function l(t){return Math.asin(s(t,-1,1))}function h(t,e,n=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=n}function d(t,e,n=1e-6){return!h(t,e,n)&&t>e}function _(t,e,n=1e-6){return!h(t,e,n)&&t<e}function p(t,e,n=1e-6){return h(t,e,n)||t>e}const E=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function A(t){return E.setFloat64(0,t),E.getBigInt64(0)}const g=1000000n,m=N(1);function N(t){const e=A(t=Math.abs(t)),n=function(t){return E.setBigInt64(0,t),E.getFloat64(0)}(e<=g?g:e-g);return Math.abs(t-n)}function S(t,e,n=m){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=n&&N(Math.min(Math.abs(t),Math.abs(e)))<n)return Math.abs(t-e)<=n;const r=A(t),i=A(e);return r<0==i<0&&!((r<i?i-r:r-i)>g)}function R(t){return y(Math.max(-T,Math.min(t,T)))}function y(t){return r[0]=t,r[0]}function I(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(h(e,1)&&h(n,1)&&h(r,1))}const T=y(34028234663852886e22);function w(t,e,n){if(void 0===n||0===+n)return Math[t](e);if(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0)return NaN;let r=e.toString().split("e");return r=(e=Math[t](+(r[0]+"e"+(r[1]?+r[1]-n:-n)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+n:n))}},51850:(t,e,n)=>{function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function s(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function c(){return s(1,1,1)}function u(){return s(1,0,0)}function f(){return s(0,1,0)}function l(){return s(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>E,Cw:()=>_,JP:()=>p,Un:()=>d,ci:()=>a,fA:()=>s,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0],d=c(),_=u(),p=f(),E=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:_,UNIT_Y:p,UNIT_Z:E,ZEROS:h,clone:i,create:r,freeze:o,fromArray:a,fromValues:s,ones:c,unitX:u,unitY:f,unitZ:l,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},63907:(t,e,n)=>{n.d(e,{CQ:()=>p,Fq:()=>d,H0:()=>s,SB:()=>c,WR:()=>r,XN:()=>o,iE:()=>a,ld:()=>u,nI:()=>_,pe:()=>i,r6:()=>l,vt:()=>f,yI:()=>h});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},s={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},o=Object.values(s),a={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},c={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},u={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},f={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},l=36064,h=36065,d=36066,_=33306,p={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},74038:(t,e,n)=>{n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,o=0){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=o}}},85079:(t,e,n)=>{function r(t){let e=0;return new Map(t.map(({name:t,count:n})=>{const r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r}))}function i(t){const e=new Map;let n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}n.d(e,{Xk:()=>r,_u:()=>i})},90239:(t,e,n)=>{function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}n.d(e,{GJ:()=>r})},93406:(t,e,n)=>{n.d(e,{K:()=>c});var r=n(34727),i=n(15142),s=n(38954),o=n(51850);const a=-1;function c(t,e,n){const r=t.vertices.position,i=t.vertices.componentIndex,o=p.position0,c=p.position1,l=p.faceNormal0,d=p.faceNormal1,{edges:_,normals:E}=f(t),A=_.length/4,g=e.allocate(A);let m=0;const N=A,y=n?.allocate(N);let T=0,w=0,U=0;h.length=0;for(let t=0;t<A;++t){const e=4*t;r.getVec(_.data[e],o),r.getVec(_.data[e+1],c);const n=h.pushNew();n.index=4*t,n.length=(0,s.j)(o,c)}h.sort((t,e)=>e.length-t.length);const G=new Array,F=new Array;h.forAll(({length:t,index:f})=>{const h=_.data[f],A=_.data[f+1],N=_.data[f+2],B=_.data[f+3],v=B===a;if(r.getVec(h,o),r.getVec(A,c),v){const t=3*N;(0,s.i)(l,E.data[t],E.data[t+1],E.data[t+2]),(0,s.c)(d,l),p.componentIndex=i.get(h),p.cosAngle=(0,s.e)(l,d)}else{let t=3*N;if((0,s.i)(l,E.data[t],E.data[t+1],E.data[t+2]),t=3*B,(0,s.i)(d,E.data[t],E.data[t+1],E.data[t+2]),p.componentIndex=i.get(h),p.cosAngle=(0,s.e)(l,d),function(t,e){return t.cosAngle>e}(p,R))return;p.cosAngle<-.9999&&(0,s.c)(d,l)}w+=t,U++,v||function(t,e){return t.cosAngle<e}(p,I)?(e.write(g,m++,p),G.push(t)):u(p,S)&&(y&&n&&n.write(y,T++,p),F.push(t))});const B=new Float32Array(G.reverse()),v=new Float32Array(F.reverse()),M=y&&n?{instancesData:y.slice(0,T),lodInfo:{lengths:v}}:void 0;return{regular:{instancesData:g.slice(0,m),lodInfo:{lengths:B}},silhouette:M,averageEdgeLength:w/U}}function u(t,e){const n=(0,r.XM)(t.cosAngle);return(0,s.E)(A,t.position1,t.position0),n*((0,s.e)((0,s.h)(E,t.faceNormal0,t.faceNormal1),A)>0?-1:1)>e}function f(t){const e=t.faces.length/3,n=t.faces,r=t.neighbors,i=t.vertices.position;d.length=_.length=0;for(let t=0;t<e;t++){const e=3*t,o=r[e],c=r[e+1],u=r[e+2],f=n[e],l=n[e+1],h=n[e+2];i.getVec(f,g),i.getVec(l,m),i.getVec(h,N),(0,s.d)(m,m,g),(0,s.d)(N,N,g),(0,s.h)(g,m,N),(0,s.n)(g,g),_.pushArray(g),(o===a||f<l)&&(d.push(f),d.push(l),d.push(t),d.push(o)),(c===a||l<h)&&(d.push(l),d.push(h),d.push(t),d.push(c)),(u===a||h<f)&&(d.push(h),d.push(f),d.push(t),d.push(u))}return{edges:d,normals:_}}class l{constructor(){this.index=0,this.length=0}}const h=new i.A({allocator:t=>t||new l,deallocator:null}),d=new i.A({deallocator:null}),_=new i.A({deallocator:null}),p=new class{constructor(){this.position0=(0,o.vt)(),this.position1=(0,o.vt)(),this.faceNormal0=(0,o.vt)(),this.faceNormal1=(0,o.vt)(),this.componentIndex=0,this.cosAngle=0}},E=(0,o.vt)(),A=(0,o.vt)(),g=(0,o.vt)(),m=(0,o.vt)(),N=(0,o.vt)(),S=(0,r.kU)(4),R=Math.cos(S),y=(0,r.kU)(35),I=Math.cos(y)},97146:(t,e,n)=>{n.d(e,{Dg:()=>s,my:()=>o,tM:()=>f,uW:()=>i});var r=n(34275);function i(t){return s(t,!0)}function s(t,e){if(Array.isArray(t)){if(t.length<r.y9)return t}else if(t.length<r.y9)return Array.from(t);let n=!0,i=!0;return t.some((t,e)=>(n=n&&0===t,i=i&&t===e,!n&&!i)),n?function(t){if(1===t)return c;if(t<r.y9)return new Array(t).fill(0);if(t>h.length){const e=Math.max(2*h.length,t);h=new Uint8Array(e)}return new Uint8Array(h.buffer,0,t)}(t.length):i?f(t.length):(0,r.iu)(t)&&t.BYTES_PER_ELEMENT===Uint16Array.BYTES_PER_ELEMENT?t:function(t,e){for(const n of t){if(n>=65536)return(0,r.iu)(t)?t:new Uint32Array(t);n>=256&&(e=!1)}return e?new Uint8Array(t):new Uint16Array(t)}(t,!e)}function o(t){return t<=r.y9?new Array(t):t<=65536?new Uint16Array(t):new Uint32Array(t)}let a=l(131072);const c=[0],u=(()=>{const t=new Uint16Array(65536);for(let e=0;e<t.length;++e)t[e]=e;return t})();function f(t){return 1===t?c:t<r.y9?Array.from(new Uint16Array(u.buffer,0,t)):t<u.length?new Uint16Array(u.buffer,0,t):(t>a.length&&(a=l(Math.max(2*a.length,t))),new Uint32Array(a.buffer,0,t))}function l(t){const e=new Uint32Array(t);for(let t=0;t<e.length;t++)e[t]=t;return e}let h=new Uint8Array(65536)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6650],{69052:(e,t,i)=>{i.d(t,{hr:()=>s,ie:()=>a,uC:()=>l});var n=i(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,i=!1){return r(this.range,this.min,this.max,e,t,i)}clamp(e,t=0){return(0,n.qE)(e-t,this.min,this.max)+t}monotonic(e,t,i){return e<t?t:t+o(this.range,e-t,i)}minimalMonotonic(e,t,i){return r(this.range,e,e+this.range,t,i)}center(e,t,i){return t=this.monotonic(e,t,i),this.normalize((e+t)/2,i)}diff(e,t,i){return this.monotonic(e,t,i)-e}shortestSignedDiff(e,t){e=this.normalize(e);const i=(t=this.normalize(t))-e,n=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(i)<Math.abs(n)?i:n}contains(e,t,i){return t=this.minimalMonotonic(e,t),(i=this.minimalMonotonic(e,i))>e&&i<t}}function r(e,t,i,n,s=0,r=!1){return(n-=s)<t?n+=o(e,t-n):n>i&&(n-=o(e,n-i)),r&&n===i&&(n=t),n+s}function o(e,t,i=0){return Math.ceil((t-i)/e)*e+i}const l=new s(0,2*Math.PI),a=(new s(-Math.PI,Math.PI),new s(0,360))},96650:(e,t,i)=>{i.r(t),i.d(t,{default:()=>E});var n=i(31635),s=i(29133),r=i(69540),o=i(69052),l=i(25482),a=i(97768),u=i(10107),h=i(79901),d=(i(44208),i(87811),i(40608)),p=i(56507),c=i(86738);let w=class extends((0,l.T)(r.P)){constructor(e){super(e),this.observer=null,this.farDistance=1e3,this.heading=0,this.tilt=90,this.horizontalFieldOfView=45,this.verticalFieldOfView=45,this.feature=null}get valid(){return null!=this.observer&&this.farDistance>0}equals(e){return(0,a.CM)(this.observer,e.observer)&&this.farDistance===e.farDistance&&this.heading===e.heading&&this.tilt===e.tilt&&this.horizontalFieldOfView===e.horizontalFieldOfView&&this.verticalFieldOfView===e.verticalFieldOfView&&(0,s.xH)(this.feature,e.feature)}};(0,n.Cg)([(0,u.MZ)({type:c.A,json:{write:{isRequired:!0}}})],w.prototype,"observer",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],w.prototype,"farDistance",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),(0,h.w)(e=>o.ie.normalize((0,p.GB)(e),void 0,!0))],w.prototype,"heading",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],w.prototype,"tilt",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}})],w.prototype,"horizontalFieldOfView",void 0),(0,n.Cg)([(0,u.MZ)({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],w.prototype,"verticalFieldOfView",void 0),(0,n.Cg)([(0,u.MZ)(s.N1)],w.prototype,"feature",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],w.prototype,"valid",null),w=(0,n.Cg)([(0,d.$)("esri.analysis.Viewshed")],w);var y=i(79608),g=i(4576),m=i(7762),v=i(62885),f=i(34727),M=i(36708),x=(i(53966),i(5443)),C=i(98988);const b=m.A.ofType(w);let Z=class extends y.A{constructor(e){super(e),this.type="viewshed",this._extent=null}initialize(){this.addHandles((0,M.wB)(()=>this._computeExtent(),e=>{null==e.pending&&(this._extent=e.extent)},M.pc))}get viewsheds(){return this._get("viewsheds")||new b}set viewsheds(e){this._set("viewsheds",(0,v.V)(e,this.viewsheds,b))}get spatialReference(){for(const e of this.viewsheds)if(null!=e.observer)return e.observer.spatialReference;return null}get extent(){return this._extent}get valid(){return this.viewsheds.every(e=>e.valid)}async waitComputeExtent(){const e=this._computeExtent();null!=e.pending&&await e.pending}_computeExtent(){const{spatialReference:e}=this;if(null==e)return{pending:null,extent:null};const t=this.viewsheds.filter(e=>null!=e.observer),i=t.map(e=>e.observer).toArray(),n=(0,C.projectOrLoadMany)(i,e);return null!=n.pending?{pending:n.pending,extent:null}:{pending:null,extent:n.geometries.map((e,i)=>{const n=t.at(i);return null!=e&&null!=n?this._computeViewshedExtent(this.viewsheds.at(i),e):null}).filter(e=>null!=e).reduce((e,t)=>function(e,t){return null==e?t:null==t?e:e.union(t)}(e,t),null)}}_computeViewshedExtent(e,t){const{farDistance:i,heading:n,tilt:s,horizontalFieldOfView:r,verticalFieldOfView:l}=e,{spatialReference:a}=t,u=r/2,h=l/2,d=i/a.metersPerUnit,p=[o.ie.normalize(n-u),n,o.ie.normalize(n+u)],c=x.A.fromPoint(t),w=e=>{const t=p.map(t=>o.ie.normalize(t-e));if(t[0]>t[2]||360===r)return d;const i=t.map(e=>Math.abs(e>180?360-e:e)).reduce((e,t)=>e>t?t:e);return i>90?0:d*Math.cos((0,f.kU)(i))};c.xmax+=w(90),c.xmin-=w(-90),c.ymax+=w(0),c.ymin-=w(180);const y=t.z;if(null!=y){let e=y,t=y;const n=s-90,r=(0,f.qE)(n+h,-90,90),o=(0,f.qE)(n-h,-90,90),l=a?.isGeographic?i:d;e+=l*V(r),t+=l*V(o);const p=O(h)*l,w=V(n)*p*(1-O(u));s<90&&(e-=w),s>90&&(t-=w),c.zmax=Math.max(e,y),c.zmin=Math.min(t,y)}return c}equals(e){return this===e||super.equals(e)&&(0,g.aI)(this.viewsheds.toArray(),e.viewsheds.toArray(),(e,t)=>e.equals(t))}clear(){this.viewsheds.removeAll()}};function O(e){return Math.cos((0,f.kU)(e))}function V(e){return Math.sin((0,f.kU)(e))}(0,n.Cg)([(0,u.MZ)({type:["viewshed"]})],Z.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)({cast:v.H,type:b,nonNullable:!0})],Z.prototype,"viewsheds",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],Z.prototype,"spatialReference",null),(0,n.Cg)([(0,u.MZ)()],Z.prototype,"_extent",void 0),(0,n.Cg)([(0,u.MZ)()],Z.prototype,"extent",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],Z.prototype,"valid",null),Z=(0,n.Cg)([(0,d.$)("esri.analysis.ViewshedAnalysis")],Z);var z=i(92071),R=i(43937),q=i(4146),N=i(16131);let A=class extends((0,N.q)((0,z.P)(q.A))){constructor(e){super(e),this.type="viewshed",this.operationalLayerType="ViewshedLayer",this.source=new Z,this.opacity=1}initialize(){this.addHandles((0,M.wB)(()=>this.source,(e,t)=>{null!=t&&t.parent===this&&(t.parent=null),null!=e&&(e.parent=this)},M.pc))}async load(){return this.addResolvingPromise(this.source.waitComputeExtent()),this}get spatialReference(){return this.source.spatialReference}get fullExtent(){return this.source.extent}releaseAnalysis(e){this.source===e&&(this.source=new Z)}get analysis(){return this.source}set analysis(e){this.source=e}get viewsheds(){return this.source.viewsheds}set viewsheds(e){this.source.viewsheds=e}writeViewsheds(e,t,i,n){t.viewsheds=e.filter(e=>e.valid).toJSON(n)}};(0,n.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0})],A.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)({type:["ViewshedLayer"]})],A.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,u.MZ)({type:Z,nonNullable:!0})],A.prototype,"source",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],A.prototype,"spatialReference",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],A.prototype,"fullExtent",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],A.prototype,"opacity",void 0),(0,n.Cg)([(0,u.MZ)({type:["show","hide"]})],A.prototype,"listMode",void 0),(0,n.Cg)([(0,u.MZ)({type:m.A.ofType(w),json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{ignoreOrigin:!0}}}}})],A.prototype,"viewsheds",null),(0,n.Cg)([(0,R.K)("web-scene","viewsheds")],A.prototype,"writeViewsheds",null),A=(0,n.Cg)([(0,d.$)("esri.layers.ViewshedLayer")],A);const E=A}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4342],{22671:(e,t,r)=>{r.d(t,{A:()=>w});var n,i=r(31635),s=r(52106),o=r(66552),a=r(25482),l=r(4718),c=r(10107),u=(r(44208),r(53966),r(36005)),d=r(40608),p=r(43937),h=r(16930),f=r(65864),m=r(50498),y=r(20437);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=n=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,f.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=h.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[s,o]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const c=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,a,l);for(const{geometry:e}of t)null!=e&&c&&c(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=h.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),a=s.geometry?.spatialReference;null==o.geometry||a||(o.geometry.spatialReference=n);const l=s.aggregateGeometries,c=o.aggregateGeometries;if(l&&null!=c)for(const e in c){const t=c[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(a[0]),i=r(a[1]),s.push([n,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,f.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,f.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,f.Bi)(e)?e.rings:e.paths;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],a+=i[1]):(o=i[0],a=i[1]),i[0]=t(o),i[1]=r(a)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],a+=n[1]):(o=n[0],a=n[1]),n[0]=t(o),n[1]=r(a)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,c.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,i.Cg)([(0,u.w)("features")],w.prototype,"readFeatures",null),(0,i.Cg)([(0,c.MZ)({type:[y.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,i.Cg)([(0,p.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,i.Cg)([(0,c.MZ)({types:m.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,u.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,c.MZ)({type:h.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,p.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,c.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=n=(0,i.Cg)([(0,d.$)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},32756:(e,t,r)=>{r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>c});var n=r(31635),i=r(93637),s=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),a=r(91880);function l(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new a.A;return i.read(n,r),[i]}const c={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(c)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,o.$)("esri.layers.mixins.OrderedLayer")],r),r}},33143:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(31635),i=r(69540),s=r(25482),o=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),l=r(40608),c=r(43937),u=r(80451),d=r(29005);let p=class extends((0,i.O)(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,u.rS)(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,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"domains",void 0),(0,n.Cg)([(0,a.w)("domains")],p.prototype,"readDomains",null),(0,n.Cg)([(0,c.K)("domains")],p.prototype,"writeDomains",null),(0,n.Cg)([(0,o.MZ)({type:[d.A],json:{write:!0}})],p.prototype,"templates",void 0),p=(0,n.Cg)([(0,l.$)("esri.layers.support.FeatureType")],p)},46140:(e,t,r)=>{r.d(t,{R:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,s]=t.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(i,10),l=parseInt(s,10);return new e(a,l,r)}}},55674:(e,t,r)=>{r.d(t,{Ad:()=>h,Gj:()=>y,QY:()=>p,lL:()=>g,xR:()=>f});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),c=r(43668),u=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function h(e,t){return m.create(e,t,null,["$feature","$view"])}function f(e,t,r){return m.create(e,t,r,["$feature","$view","$config"])}class m{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,c.l)();let a;try{a=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const u={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,u);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const h=new o;return h.immutable=!1,h.setField("scale",0),new m(e,s,a,d,t,h,p,o)}constructor(e,t,r,n,i,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new y,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class y{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.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}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===u.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??u.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)}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:()=>i});var n=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(null!=i)for(const e of r.features)i(e.geometry)}},73681:(e,t,r)=>{r.d(t,{n:()=>l});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.R.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const h=await(0,a.xR)(e.expression,null,d);if(!h)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!o||!o.greaterEqual(4,0);f&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new c(r,f);return new l(f,u,h,m)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class c extends a.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]}}},91880:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(31635),s=r(66552),o=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(40608));const c=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:c.apiValues,json:{type:c.jsonValues,read:c.read,write:c.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,l.$)("esri.layers.support.OrderByInfo")],u)}}]);